|Number of tests run:   131
|
|--------------------------------------------
|
|Successful tests:      113
|
|Errors:                12
|
|Failures:              6
|
|I need to investigate further to get a clearer idea of what's
|happening, but thought I'd do a quick sanity check with the list first
|in case anyone already knows where things are going awry.
|
|In particular, I get  errors from the JBoss URLClassloader when trying
|to load resources "Did not find the UCL resource <blah>" and the main
|discrepancy seems to be caused by this happening for the roles and
|users properties files in the security EJBSpecUnitTest which
|subsequently fails with 8 errors. Modifying the code to print out which
|classloader it is using seems to indicate that it's tied to the
|"jmx-rmi-adaptor.sar" file. Is this correct? If it is, how does it gain
|access to the application specific files? (I remember some stuff about
|the new classloader architecture from the London course about sharing
|files between classloaders, but not the datails):

I will try to run it myself, the build is pissing me off as I can run one by
one without heavy modification.  I want to finish the JMX invoker first (did
the detaching last week) and then work on that suite, stay tuned, I will
need your help.

FYI the code you want to look at is the ServiceLibraries and URLCl, but just
wait for me, it can get confusing.

marcf
|
|[2001-11-03 12:49:36,132,Default,INFO] Did not find the UCL resource
|'users.properties' in JBoss URLClassloader: keyURL :
|file:/F:/cvs/jboss-all/build/output/jboss-3.0.0alpha/deploy/lib/jmx
|-rmi-adaptor.sar,
|URLS:
|[file:/F:/cvs/jboss-all/build/output/jboss-3.0.0alpha/tmp/deploy/Se
|rviceDeployer/copydeploy.42.jmx-rmi-adaptor.sar,]
|[2001-11-03 12:49:36,182,Default,INFO] Did not find the UCL resource
|'roles.properties' in JBoss URLClassloader: keyURL :
|file:/F:/cvs/jboss-all/build/output/jboss-3.0.0alpha/deploy/lib/jmx
|-rmi-adaptor.sar,
|URLS:
|[file:/F:/cvs/jboss-all/build/output/jboss-3.0.0alpha/tmp/deploy/Se
|rviceDeployer/copydeploy.42.jmx-rmi-adaptor.sar,]
|[2001-11-03 12:49:36,202,SecurityInterceptor,ERROR] Authentication
|exception, principal=null
|[2001-11-03 12:49:36,202,Default,ERROR] java.rmi.RemoteException:
|checkSecurityAssociation; nested exception is:
|       java.lang.SecurityException: Authentication exception,
|principal=null
|[2001-11-03 12:49:36,212,Default,ERROR] java.lang.SecurityException:
|Authentication exception, principal=null
|[2001-11-03 12:49:36,222,Default,ERROR]        at
|org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(
|SecurityInterceptor.java:171)
|[2001-11-03 12:49:36,232,Default,ERROR]        at
|org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterc
|eptor.java:95)
|[2001-11-03 12:49:36,242,Default,ERROR]        at
|org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
|[2001-11-03 12:49:36,242,Default,ERROR]        at
|org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:441)
|[2001-11-03 12:49:36,252,Default,ERROR]        at
|org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(J
|RMPContainerInvoker.java:460)
|[2001-11-03 12:49:36,252,Default,ERROR]        at
|org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProx
|y.java:237)
|[2001-11-03 12:49:36,262,Default,ERROR]        at
|org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
|[2001-11-03 12:49:36,272,Default,ERROR]        at
|$Proxy137.findByPrimaryKey(Unknown Source)
|[2001-11-03 12:49:36,272,Default,ERROR]        at
|org.jboss.test.security.ejb.RunAsMDB.onMessage(RunAsMDB.java:66)
|
|The runAsMDB test in this class appears to be suffering from similar
|problems to the others but be falsely reporting a successful outcome -
|it has a 5 second timeout while trying to receive a message from the
|server and then carries on without reporting that it failed to receive
|anything.
|
|Similar trouble with the Jetty tests, except it appears to manifest
|itself a bit differently - claiming to not find the "handle" method on
|the login CallbackHandler :
|
|[2001-11-03 12:49:21,551,Jetty,INFO] User: jduke is NOT authenticated
|[2001-11-03 12:49:21,551,Jetty,WARN] WARNING: AUTH FAILURE: user jduke
|[2001-11-03 12:49:21,591,Jetty,INFO] +++ JBossUserRealm.getUser,
|username=jduke
|[2001-11-03 12:49:21,591,Jetty,INFO] Authenticating access, username:
|jduke
|[2001-11-03 12:49:21,611,Default,INFO] Did not find the UCL resource
|'users.properties' in JBoss URLClassloader: keyURL :
|file:/F:/cvs/jboss-all/build/output/jboss-3.0.0alpha/deploy/lib/jmx
|-rmi-adaptor.sar,
|URLS:
|[file:/F:/cvs/jboss-all/build/output/jboss-3.0.0alpha/tmp/deploy/Se
|rviceDeployer/copydeploy.42.jmx-rmi-adaptor.sar,]
|[2001-11-03 12:49:21,661,Default,INFO] Did not find the UCL resource
|'roles.properties' in JBoss URLClassloader: keyURL :
|file:/F:/cvs/jboss-all/build/output/jboss-3.0.0alpha/deploy/lib/jmx
|-rmi-adaptor.sar,
|URLS:
|[file:/F:/cvs/jboss-all/build/output/jboss-3.0.0alpha/tmp/deploy/Se
|rviceDeployer/copydeploy.42.jmx-rmi-adaptor.sar,]
|[2001-11-03 12:49:21,681,other,DEBUG] Login failure
|javax.security.auth.login.LoginException: java.lang.NoSuchMethodError
|       at
|org.jboss.security.auth.spi.UsernamePasswordLoginModule.getUsername
|AndPassword(UsernamePasswordLoginModule.java:159)
|       at
|org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(Usern
amePasswordLoginModule.java:94)
|       at
|org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesL
|oginModule.java:110)
|       at java.lang.reflect.Method.invoke(Native Method)
|       at
|javax.security.auth.login.LoginContext.invoke(LoginContext.java:664)
|       at
|javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
|       at
|javax.security.auth.login.LoginContext$4.run(LoginContext.java:599)
|       at java.security.AccessController.doPrivileged(Native Method)
|       at
|javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:596)
|       at
|javax.security.auth.login.LoginContext.login(LoginContext.java:523)
|       at
|org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSec
|urityManager.java:385)
|       at
|org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSec
|urityManager.java:352)
|       at
|org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurity
|Manager.java:208)
|       at
|org.jboss.jetty.JBossUserRealm$User.authenticate(JBossUserRealm.java:64)
|
|I've done several clean builds with recent source but can't seem to
|improve the figures any...
|
|
|Luke.
|
|
|--
| Luke Taylor.                                  Monkey Machine Ltd.
| PGP Key ID: 0x57E9523C                        http://www.mkeym.com
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to