-
1. Re: jboss-3RC1-tomcat-403 problem
dmulej Apr 24, 2002 11:39 AM (in response to dmulej)Correction:
War file is running OK on jboss-300Beta-tomcat-402
and NOT on jboss-3RC1-tomcat-403.
Sorry for mistake. -
-
3. Re: jboss-3RC1-tomcat-403 problem
dmulej Apr 25, 2002 5:26 AM (in response to dmulej)Thanks for hint.
But unfortunately problem got from bad to worse:
- I copied jboss-service.xml from URL http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/catalina/src/resources/jboss-service.xml?rev=1.3.2.3&content-type=text/vnd.viewcvs-markup
- I am using j2sdk-1.4.0
- jboss.jar is in classpath (org/jboss/web/AbstractWebContainer is in this jar)
- jboss would not start, here is relevant part of the log:
11:23:37,584 INFO [MainDeployer] Successfully completed deployment of package:
file:/C:/jboss/jboss-tom/catalina/server/lib/servlets-default.jar
11:23:37,724 ERROR [SARDeployer] create operation failed for package file:/C:/jb
oss/jboss-tom/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: could not create mbean; - nested throw
able is: RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCat
alinaServiceSX failed: java.lang.NoClassDefFoundError: org/jboss/web/AbstractWeb
Container
Cause: java.lang.NoClassDefFoundError: org/jboss/web/AbstractWebContainer
RuntimeErrorException: instantiating org.jboss.web.catalina.EmbeddedCatalinaServ
iceSX failed: java.lang.NoClassDefFoundError: org/jboss/web/AbstractWebContainer
Cause: java.lang.NoClassDefFoundError: org/jboss/web/AbstractWebContainer
What am I doing wrong?
-- darko -
4. Re: jboss-3RC1-tomcat-403 problem
dmulej Apr 25, 2002 6:07 AM (in response to dmulej)Correction no 2
Well,
after some meditation I realised what i was doing wrong.
For anyone with similar troubles here is what you have to do:
1. go to http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/catalina/src/resources/jboss-service.xml#rev1.6
2. view last version
3. copy mbean element in %JBOSS_HOME%/server/default/deploy/tomcat4-service.xml
(replace existing one in this file)
4. as of apr 25th the mbean element is
&catalina.home;
<!-- A HTTP Connector on port 8080 -->
<!-- Define an AJP 1.3 Connector on port 8009 -->
-- darko