> -Dtomcat.home=/var/local/jbuilder4/tomcat
> 
> Then I try to step through again and get this:
> 
> /var/local/jbuilder4/jdk1.3/bin/java -classpath
> 
>"/var/local/jbuilder4/tomcat/lib/webserver.jar:/var/local/jbuilder4/tomcat/lib/jasper.jar:/var/local/jbuilder4/tomcat/lib/xml.jar:/var/local/jbuilder4/lib/servlet.jar:/var/local/jbuilder4/lib/webserverglue.jar:/var/local/jbuilder4/jbproject/okapi_servlets/classes:/var/local/jbuilder4/lib/servlet.jar:/var/local/jbuilder4/jdk1.3/jre/lib/javaplugin.jar:/var/local/jbuilder4/jdk1.3/jre/lib/i18n.jar:/var/local/jbuilder4/jdk1.3/jre/lib/ext/indicim.jar:/var/local/jbuilder4/jdk1.3/jre/lib/rt.jar:/var/local/jbuilder4/jdk1.3/lib/tools.jar:/var/local/jbuilder4/jdk1.3/lib/dt.jar:/var/local/jbuilder4/jdk1.3/demo/jfc/Java2D/Java2Demo.jar"
>  
> -Dtomcat.home=/var/local/jbuilder4/tomcat -Xdebug -Xnoagent
> -Djava.compiler=NONE
> -Xrunjdwp:transport=dt_socket,address=myhost@mydomain:1543,suspend=y
> org.apache.tomcat.startup.Tomcat -config /conf/server8080.xml
> FATAL: configuration error
> java.lang.Exception: Can't open config file: /conf/server8080.xml due
> to: java.io.FileNotFoundException: /conf/server8080.xml (No such file or
> directory)
>       at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
>       at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:143)
>       at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
>         
> 
> 
> it just put -Dtomcat.home in as another java parameter, but it looks
> like org.apache.tomcat.startup.Tomcat still can't see it because it
> still looks for server8080.xml in "/". Has anyone had this problem? Is
> there a remedy?
> 
> Thanks!

I don't use the JSP/servlet page, as I defined and use my own copy of 
Tomcat (3.2.1).  In the VM Parameters, I have:
   -Xms256m -Xmx256m -Dtomcat.home=e:\dev\java\jakarta-tomcat-3.2.1
and that works just fine.

Note that I only define tomcat.home and not where the conf file is 
located.  My run class is org.apache.tomcat.startup.Tomcat

Are you using the Tomcat that shipped with JBuilder??

Reply via email to