Apologies in advance if there are newbie mistakes here, but here's the series of problems I ran into trying to install 3.0.4 out of the box on Win2k.
1. jboss-3.0.4_tomcat-4.0.6, run -c all
gives:
11:55:57,951 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss-3.0.4_tomcat-4.0.6/
server/all/deploy/jbossweb-ejb.jar
11:55:58,632 ERROR [EJBDeployer] Verfiy failed
java.lang.NoClassDefFoundError: org/mortbay/j2ee/session/interfaces/CMPStateHome
(seems to work the same from jboss-3.0.4_tomcat-4.1.12)
2. I found a reference in the forum that said to copy jbossweb.sar from
jboss-3.0.4\server\all\deploy
So I copied that directory into jboss-3.0.4_tomcat-4.0.6\server\all\deploy
and then ran into a port conflict:
12:02:31,407 INFO [Engine] HttpConnector Opening server socket on all host IP addresses
12:02:31,417 ERROR [Engine] HttpConnector httpConnector, io problem:
java.net.BindException: Address in use: JVM_Bind:8080
at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:980)
3. I'm not sure where 8080 got allocated if not JBoss. I'm not running another web server.
So, I changed the file jboss-service.xml in jboss-3.0.4_tomcat-4.1.12\server\all\deploy\jbossweb.sar\META-INF
to use a different port:
...
4. At this point it seems to start up ok, at least I can run jmx-console on port 8080.
Doing a ctl-C shutdown gives these errors:
12:14:32,774 ERROR [AxisService] Stopping failed
java.lang.NullPointerException
at org.jboss.deployment.SubDeployerSupport.stopService(SubDeployerSupport.java:110)
at org.jboss.net.axis.server.AxisService.stopService(AxisService.java:377)
and
12:14:32,784 ERROR [SARDeployer] Could not stop mbean: jboss.web:service=JBossWeb
java.util.ConcurrentModificationException
I'd appreciate any comments on how how to avoid the startup and shutdown errors.
You download tomcat so you shouldn't need jbossweb.sar
or jbossweb-ejb.jar
Both jbossweb and tomcat try to start on 8080
hence your problem.
You will also need to update jboss.net to use
tomcat rather than jbossweb by the sounds of it,
or just remove jboss.net altogether.
Regards,
Adrian