Are you running on UNIX or Windows?  Make sure that the batch file
or shell script you're using adds the appropriate XML JARs to the
CLASSPATH.  There should be a section that adds 4 or 5 Tomcat JARs if the
TOMCAT_HOME variable is set.  For Tomcat 3.1 and earlier, it should add
"xml.jar" and for Tomcat 3.2 and later is should add "jaxp.jar" and
"parser.jar".  Some of these were omitted in earlier versions of the
jBoss startup scripts.
        Also, make sure that your TOMCAT_HOME environment variable is set.

Aaron

On Fri, 15 Sep 2000, Michael Harrison wrote:
> I am having problems running tomcat within the same VM as JBoss.  I have
> made all the changes indicated at jboss.og/tomcat.html but still get this
> NoSuchMethodError (see below).  has anyone seen this before or do you have
> suggestion  on what i can do to get around this.
> thnx
> mike
> 
> [Webserver] Starting
> [Webserver] Codebase set to http://localhost:8083/
> [Webserver] Started webserver on port 8083
> [Webserver] Started
> [Tomcat] Starting
> [Tomcat] Started
> [Transaction manager] Starting
> [Transaction manager] Started
> [Default] Shutdown hook added
> [Default] jBoss 2.0 Started
> [Tomcat] Testing if Tomcat is present....
> [Tomcat] OK
> [Default] Starting Tomcat...
> [Tomcat] Tomcat failed
> [Tomcat] java.lang.reflect.InvocationTargetException:
> java.lang.NoSuchMethodError
> [Tomcat]        at
> org.apache.tomcat.startup.Tomcat.getConfigFile(Tomcat.java:116)
> [Tomcat]        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:141)
> [Tomcat]        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
> [Tomcat]        at java.lang.reflect.Method.invoke(Native Method)
> [Tomcat]        at
> org.jboss.tomcat.TomcatService$1.run(TomcatService.java:93)
> [Tomcat]        at java.lang.Thread.run(Unknown Source)
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to