Re: tool-maven-plugin
Michael Nash <[email protected]> Fri, 07 Oct 2005 07:50:54 -0400
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Organization | JGlobal Limited |
| Message-ID | <1128685854.15744.49.camel@139-142-200-104> |
Pierre: I don't see the underlying cause for the persistent service failing to start here - have a look in logs/system.log and logs/svc-persist-default.log, you should find a stack that's giving the underlying cause. Oh - I think I see what it might be: None of the services themselves have been updated to reference the APIs, they're still all pointing to the older version of keel-core.... Let me get on fixing that right away! Mike On Fri, 2005-10-07 at 10:14, Raoul Pierre wrote: > Mike, >=20 > I'm able to build war file with the keel api modules. But when I run it= =20 > I get an error with persistence service (see below). It must be obvious= =20 > but I'm stuck. I checked the dependencies and the config files but=20 > didn't see what was wrong. >=20 > Any idea? >=20 > Pierre >=20 > - in Tomcat stdlog.out: >=20 > GRAVE: Stack for error from register.login-seq, Key: 'Exception lors de= =20 > l'ex=C3=A9cution du mod=C3=A8le Message:=20 > org.apache.avalon.framework.service.ServiceException: Unable to provide= =20 > implementation for org.keel.services.persist.PersistentFactory/*=20 > (Key=3D'org.keel.services.persist.PersistentFactory/*') > org.keel.services.model.ModelException:=20 > org.apache.avalon.framework.service.ServiceException: Unable to provide= =20 > implementation for org.keel.services.persist.PersistentFactory/*=20 > (Key=3D'org.keel.services.persist.PersistentFactory/*') > at org.keel.apps.register.models.Login.execute(Login.java:281) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [...] >=20 > - in svc-authentication-persist.log: >=20 > DEBUG 2005-10-07 13:02:00.000 [svc-authentication-persist]=20 > (/org.keel.services.authentication.defaultauth.LoginHelper.attemptLogin= (LoginHelper.java:65) > ): Attempting login in LoginHelper (persistent) for user root in domai= n=20 > default > ERROR 2005-10-07 13:02:00.000 [svc-authentication-persist]=20 > (/org.keel.services.authentication.defaultauth.LoginHelper.attemptLogin= (LoginHelper.java:172) > ): ServiceException during login > org.apache.avalon.framework.service.ServiceException: Unable to provide= =20 > implementation for org.keel.services.persist.PersistentFactory/*=20 > (Key=3D'org.keel.services.persist.PersistentFactory/*') > at=20 > org.apache.avalon.framework.service.DefaultServiceManager.lookup(Defaul= tServiceManager.java:78) > at=20 > org.apache.avalon.fortress.util.ContextManager$EAServiceManager.lookup(= ContextManager.java:1032) > at=20 > org.apache.avalon.fortress.impl.lookup.FortressServiceManager.lookup(Fo= rtressServiceManager.java:76) > at=20 > org.keel.core.container.KeelServiceManagerImpl.lookup(KeelServiceManage= rImpl.java:54) > at=20 > org.keel.core.container.AbstractKeelServiceable.getService(AbstractKeel= Serviceable.java:85) > at=20 > org.keel.services.authentication.defaultauth.LoginHelper.attemptLogin(L= oginHelper.java:101) > at=20 > org.keel.services.authentication.defaultauth.KeelLoginModule.login(Keel= LoginModule.java:179) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at=20 > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:39) > at=20 > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at javax.security.auth.login.LoginContext.invoke(LoginContext.java:= 675) > at=20 > javax.security.auth.login.LoginContext.access$000(LoginContext.java:129= ) > at javax.security.auth.login.LoginContext$4.run(LoginContext.java:6= 10) > at java.security.AccessController.doPrivileged(Native Method) > at=20 > javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:6= 07) > at javax.security.auth.login.LoginContext.login(LoginContext.java:5= 34) > at=20 > org.keel.services.authentication.AbstractAuthenticationManager.login(Ab= stractAuthenticationManager.java:185) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at=20 > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:39) > at=20 > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at=20 > org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.in= voke(PassThroughInvocationHandler.java:68) > at $Proxy54.login(Unknown Source) > at org.keel.apps.register.models.Login.execute(Login.java:163) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at=20 > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:39) > at=20 > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at=20 > org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.in= voke(PassThroughInvocationHandler.java:68) > at $Proxy45.execute(Unknown Source) > at=20 > org.keel.services.model.defaultmodel.DefaultModelRequest.execute(Defaul= tModelRequest.java:218) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at=20 > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:39) > at=20 > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at=20 > org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.in= voke(PassThroughInvocationHandler.java:68) > at $Proxy39.execute(Unknown Source) > at org.keel.models.util.Sequence.runModel(Sequence.java:433) > at org.keel.models.util.Sequence.runSequence(Sequence.java:299) > at org.keel.models.util.Sequence.execute(Sequence.java:149) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at=20 > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:39) > at=20 > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at=20 > org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.in= voke(PassThroughInvocationHandler.java:68) > at $Proxy40.execute(Unknown Source) > at=20 > org.keel.services.model.defaultmodel.DefaultModelRequest.execute(Defaul= tModelRequest.java:218) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at=20 > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:39) > at=20 > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at=20 > org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.in= voke(PassThroughInvocationHandler.java:68) > at $Proxy39.execute(Unknown Source) > at=20 > org.keel.servers.direct.KeelDirectServer.execute(KeelDirectServer.java:= 230) > at=20 > org.keel.servers.direct.KeelDirectServer$MultiThreadedProcessor.run(Kee= lDirectServer.java:271) > ERROR 2005-10-07 13:02:00.000 [svc-authentication-persist]=20 > (/org.keel.services.authentication.defaultauth.KeelLoginModule.login(Ke= elLoginModule.java:201) > ): Login Exception > javax.security.auth.login.LoginException:=20 > org.apache.avalon.framework.service.ServiceException: Unable to provide= =20 > implementation for org.keel.services.persist.PersistentFactory/*=20 > (Key=3D'org.keel.services.persist.PersistentFactory/*') > at=20 > org.keel.services.authentication.defaultauth.LoginHelper.attemptLogin(L= oginHelper.java:173) > at=20 > org.keel.services.authentication.defaultauth.KeelLoginModule.login(Keel= LoginModule.java:179) > [...] >=20 >=20 > Michael Nash a =C3=A9crit : >=20 > >Pierre: > > > >I've just added code to check for a property > >"keel.maventool.skipversions", this will omit the "version-checking" > >part of the new plugin (and should make it faster than it was before). > > > >Also, the tool now pays attention to the "maven.mode.online" flag. If > >it's "false", MavenTool will be very fast, as it does not try to check > >remote repositories at all. > > > >Mike > > > >On Wed, 2005-10-05 at 05:52, Michael Nash wrote: > > =20 > > > >>Pierre: > >> > >>Yes, that's normal: the maven tool now checks for the latest versions= of > >>all jars, and notes them in the project.xml. Maybe we need an option = to > >>disable this?=20 > >> > >>Mike > >> > >>On Wed, 2005-10-05 at 05:15, Raoul Pierre wrote: > >> =20 > >> > >>>Mike, > >>> > >>>I just updated tool-maven and tool-maven-plugin. The time needed by = a=20 > >>>maven keel:maven increases a lot, i.e. for the same project.file, fr= om 2=20 > >>>min 37 sec to 6 min 52 sec. > >>> > >>>Is it normal? > >>> > >>>Pierre > >>> > >>> > >>>http://keelframework.org/documentation.shtml > >>>Keelgroup mailing list > >>>[email protected] > >>>http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.= com > >>> =20 > >>> > >>http://keelframework.org/documentation.shtml > >>Keelgroup mailing list > >>[email protected] > >>http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.c= om > >> =20 > >> > > > >http://keelframework.org/documentation.shtml > >Keelgroup mailing list > >[email protected] > >http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.co= m > > > > > > > > =20 > > >=20 >=20 >=20 >=20 > http://keelframework.org/documentation.shtml > Keelgroup mailing list > [email protected] > http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com