Re: tool-maven-plugin
Raoul Pierre <[email protected]> Fri, 07 Oct 2005 16:14:54 +0200
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Mike,
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.
Any idea?
Pierre
- in Tomcat stdlog.out:
GRAVE: Stack for error from register.login-seq, Key: 'Exception lors de=20
l'ex=E9cution du mod=E8le 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)
[...]
- in svc-authentication-persist.log:
DEBUG 2005-10-07 13:02:00.000 [svc-authentication-persist]=20
(/org.keel.services.authentication.defaultauth.LoginHelper.attemptLogin(L=
oginHelper.java:65)
): Attempting login in LoginHelper (persistent) for user root in domain=20
default
ERROR 2005-10-07 13:02:00.000 [svc-authentication-persist]=20
(/org.keel.services.authentication.defaultauth.LoginHelper.attemptLogin(L=
oginHelper.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(DefaultS=
erviceManager.java:78)
at=20
org.apache.avalon.fortress.util.ContextManager$EAServiceManager.lookup(Co=
ntextManager.java:1032)
at=20
org.apache.avalon.fortress.impl.lookup.FortressServiceManager.lookup(Fort=
ressServiceManager.java:76)
at=20
org.keel.core.container.KeelServiceManagerImpl.lookup(KeelServiceManagerI=
mpl.java:54)
at=20
org.keel.core.container.AbstractKeelServiceable.getService(AbstractKeelSe=
rviceable.java:85)
at=20
org.keel.services.authentication.defaultauth.LoginHelper.attemptLogin(Log=
inHelper.java:101)
at=20
org.keel.services.authentication.defaultauth.KeelLoginModule.login(KeelLo=
ginModule.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at=20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:67=
5)
at=20
javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610=
)
at java.security.AccessController.doPrivileged(Native Method)
at=20
javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607=
)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534=
)
at=20
org.keel.services.authentication.AbstractAuthenticationManager.login(Abst=
ractAuthenticationManager.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at=20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at=20
org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.invo=
ke(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.java=
:39)
at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at=20
org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.invo=
ke(PassThroughInvocationHandler.java:68)
at $Proxy45.execute(Unknown Source)
at=20
org.keel.services.model.defaultmodel.DefaultModelRequest.execute(DefaultM=
odelRequest.java:218)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at=20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at=20
org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.invo=
ke(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.java=
:39)
at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at=20
org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.invo=
ke(PassThroughInvocationHandler.java:68)
at $Proxy40.execute(Unknown Source)
at=20
org.keel.services.model.defaultmodel.DefaultModelRequest.execute(DefaultM=
odelRequest.java:218)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at=20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:39)
at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at=20
org.apache.avalon.fortress.impl.factory.PassThroughInvocationHandler.invo=
ke(PassThroughInvocationHandler.java:68)
at $Proxy39.execute(Unknown Source)
at=20
org.keel.servers.direct.KeelDirectServer.execute(KeelDirectServer.java:23=
0)
at=20
org.keel.servers.direct.KeelDirectServer$MultiThreadedProcessor.run(KeelD=
irectServer.java:271)
ERROR 2005-10-07 13:02:00.000 [svc-authentication-persist]=20
(/org.keel.services.authentication.defaultauth.KeelLoginModule.login(Keel=
LoginModule.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(Log=
inHelper.java:173)
at=20
org.keel.services.authentication.defaultauth.KeelLoginModule.login(KeelLo=
ginModule.java:179)
[...]
Michael Nash a =E9crit :
>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 o=
f
>>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, from=
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.co=
m
>>> =20
>>>
>>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.com
>
>
>
> =20
>
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com