Hi all,

Can anyone tell me if they are managing to run the test suite
successfully on Windows, with similar results to the automated tests?
I'm consistently getting worse results which I can't quite track the
cause of and which is giving me grief. The figures I'm getting from the
basic test suite target are:

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):

[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/ServiceDeployer/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/ServiceDeployer/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(SecurityInterceptor.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(JRMPContainerInvoker.java:460)
[2001-11-03 12:49:36,252,Default,ERROR]         at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.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/ServiceDeployer/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/ServiceDeployer/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.getUsernameAndPassword(UsernamePasswordLoginModule.java:159)
        at
org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:94)
        at
org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.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(JaasSecurityManager.java:385)
        at
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:352)
        at
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.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

Reply via email to