I am running the tip version 3.2.0beta2 (did a cvs update about 2 hours ago). I am playing with the HttpSession clustering in Jetty. I deployed my test.ear file in the JBoss "all" target (I made a copy of the "all" target and named it "cluster1"). I changed none of the default settings at all. The test.ear file contains a test.war file. The test.war file contains two jsp pages (test.jsp and test2.jsp) and one class (UserInfo) that is used to store http session data and implements Serialiable.
The ear file deploys and works just fine if I remove the <distributable> tag
from the web.xml file. The ear file doesn't deploy when the <distributable>
tag is present because of NullPointerException.
2002-10-02 14:23:34,376 ERROR [org.jboss.deployment.MainDeployer] could not
start deployment:
file:/C:/java/jboss-3.2.0beta2/server/cluster1/tmp/deploy/server/cluster1/de
ploy/test.ear/78.test.ear-contents/test.war
org.jboss.deployment.DeploymentException: - nested throwable:
(java.lang.NullPointerException)
at org.jboss.jetty.Jetty.deploy(Jetty.java:434)
at org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
at
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:812)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:804)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:624)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy7.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:392)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:516)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(
AbstractDeploymentScanner.java:187)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:197)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:177)
+ nested throwable:
Attached to this message is the server.log and the test.ear file that i'm
using for my tests.
The context is /test and the two files under that context are test.jsp and
test2.jsp. Test.jsp creates the UserInfo bean scoped at the session level.
Test2.jsp displays the information in the UserInfo class.
This behaviour occurs on both my W2K and Linux servers both of which are
running JDK 1.3.1_04-b2.
Thanks for any tips,
Dustin
test.ear
Description: Binary data
server.log
Description: Binary data
