All,
Andy fixed the logger, so I tried to run the testsuite again... And
Oooa! new NPE. This one I can't trace - it's probably rickard's underground
matter... :)
Here it is:
while running locktest (or any other test in the suite):
_____________________________________________
Welcome to the lock test v0.1
_____________________________________________
Deploying the bean...done!
java.lang.NullPointerException
at org.jboss.proxy.Proxy.newProxyInstance(Proxy.java:17)
at org.jboss.proxy.ProxyProxy.readResolve(ProxyProxy.java:83)
at java.lang.reflect.Method.invoke(Native Method)
at
java.io.ObjectStreamClass.invokeMethod(ObjectStreamClass.java:1615)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:393)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:299)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at org.jboss.test.lock.test.Main.go(Main.java:65)
at org.jboss.test.lock.test.Main.main(Main.java:31)
...And on the server side:
[Default] JBoss PRE-2.1 Started
[J2EE Deployer Default] Module locktest.jar is not running
[J2EE Deployer Default] Destroying application locktest.jar
[J2EE Deployer Default] Deploy J2EE application:
file:/C:/doco/jbosstest/bin/../
deploy/locktest.jar
[J2EE Deployer Default] Create application locktest.jar
[J2EE Deployer Default] install module locktest.jar
[J2EE Deployer Default] Starting module locktest.jar
[Container factory]
Deploying:file:/C:/doco/jboss/tmp/deploy/Default/locktest.ja
r/ejb1001.jar
[Verifier] Verifying
file:/C:/doco/jboss/tmp/deploy/Default/locktest.jar/ejb1001
.jar
[Container factory] Deploying EnterpriseEntity
[Container factory] JRMP 1.2.2 CI initialized
[JAWS] Table 'EnterpriseEntity' already exists
[Bean Cache] Cache policy scheduler started
[Container factory] Deployed application:
file:/C:/doco/jboss/tmp/deploy/Default
/locktest.jar/ejb1001.jar
[J2EE Deployer Default] J2EE application:
file:/C:/doco/jbosstest/bin/../deploy/
locktest.jar is deployed.
Strange thing I noticed is that JBoss is using, as default, the 1.2.2 JRMP
Container invoker.. Should'nt it be 1.3?
Hope this somehow helps...
Hugo