I am trying to use Tomcat 4.0 for deploying a
web-application. I got the war file from a colleague
who was successfully able to deploy it in Tomcat 4.0
on his machine. However when I deploy the war file on
my machine and startup Tomcat, I see the following
errors in my console when a servlet in the war is
being loaded. I am at a loss, since the configuration
file, myDomain.xconf exists in the 'C:\Program
Files\Apache Tomcat 4.0\webapps\my_web_app\'
directory. I think that web-app classloader isn't
loading the servlet. One of its parent classloaders
appears to load the servlet and can't find the xconf
file in its root. How do I rectify this. Please help.

Thanks
Sriram

2002-11-06 07:37:24 WebappLoader[/my_web_app]: Deploy
JAR /WEB-INF/lib/jdom.jar to C:\Program Files\Apache
Tomcat 4.0\webapps\my_web_app\WEB-INF\lib\jdom.jar
2002-11-06 07:37:24 WebappLoader[/my_web_app]: Deploy
JAR /WEB-INF/lib/log4j.jar to C:\Program Files\Apache
Tomcat 4.0\webapps\my_web_app\WEB-INF\lib\log4j.jar
2002-11-06 07:37:24 WebappLoader[/my_web_app]: Deploy
JAR /WEB-INF/lib/velocity-1.2-dev.jar to C:\Program
Files\Apache Tomcat
4.0\webapps\my_web_app\WEB-INF\lib\velocity-1.2-dev.jar
2002-11-06 07:37:24 WebappLoader[/my_web_app]: Deploy
JAR /WEB-INF/lib/xalan.jar to C:\Program Files\Apache
Tomcat 4.0\webapps\my_web_app\WEB-INF\lib\xalan.jar
2002-11-06 07:37:24 WebappLoader[/my_web_app]:
Reloading checks are enabled for this Context
2002-11-06 07:37:24 StandardManager[/my_web_app]:
Seeding random number generator class
java.security.SecureRandom
2002-11-06 07:37:24 StandardManager[/my_web_app]:
Seeding of random number generator has been completed
2002-11-06 07:37:25
StandardWrapper[/my_web_app:default]: Loading
container servlet default
2002-11-06 07:37:25 default: init
2002-11-06 07:37:25 bootstrap: init
2002-11-06 07:37:25 bootstrap: config.domain =
myDomain
2002-11-06 07:37:25 bootstrap: unprocessed subdomains
= null
2002-11-06 07:37:26 bootstrap
class=com.xyz.MyBootstrap
2002-11-06 07:37:26 bootstrap:
config.getInitParameter( myapp.xml.config.map ) = null
2002-11-06 07:37:26 bootstrap:
config.getServletContext().getRealPath('/') =
C:\Program Files\Apache Tomcat 4.0\webapps\my_web_app\
2002-11-06 07:37:26 bootstrap: looking for xml config
map at C:\Program Files\Apache Tomcat
4.0\webapps\my_web_app\\WEB-INF\my_app-xmlconfig-map.xconf
2002-11-06 07:37:26 bootstrap: xml config map exists,
setting into xml config source
2002-11-06 07:37:26 bootstrap: looking for web app map
C:\Program Files\Apache Tomcat
4.0\webapps\my_web_app\WEB-INF\my_app-web-app.xconf
2002-11-06 07:37:26 bootstrap: web app map resource
path=my_app-web-app.xconf
2002-11-06 07:37:26 bootstrap:
classloader=WebappClassLoader
  available:
  delegate: false
  repositories:
    /WEB-INF/classes/
  required:
----------> Parent Classloader:
StandardClassLoader
  available:
  delegate: true
  repositories:
    file:C:\Program Files\Apache Tomcat 4.0\classes\
    file:C:\Program Files\Apache Tomcat
4.0\lib\jasper-compiler.jar
    file:C:\Program Files\Apache Tomcat
4.0\lib\jasper-runtime.jar
    file:C:\Program Files\Apache Tomcat
4.0\lib\naming-factory.jar
  required:
----------> Parent Classloader:
StandardClassLoader
  available:
    Extension[javax.mail, implementationmyDomain=Sun
Microsystems, Inc., implementationmyDomainId=com.sun,
implementationVersion=1.2, specificationmyDomain=Sun
Microsystems, Inc., specificationVersion=1.2]
  delegate: true
  repositories:
    file:C:\Program Files\Apache Tomcat
4.0\common\classes\
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\activation.jar
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\jdbc2_0-stdext.jar
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\jta-spec1_0_1.jar
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\mail.jar
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\naming-common.jar
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\naming-resources.jar
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\servlet.jar
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\tools.jar
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\tyrex-0.9.7.0.jar
    file:C:\Program Files\Apache Tomcat
4.0\common\lib\xerces.jar
  required:
----------> Parent Classloader:
sun.misc.Launcher$AppClassLoader@71732b



2002-11-06 07:37:26 bootstrap: resource web app
map=null
2002-11-06 07:37:26 bootstrap: web app map not found
in the WEB-INF directory, relying on xml config map
setting
2002-11-06 07:37:27 Bootstrap failed to execute.
com.xyz.config.my_appConfigurationException: i/o error
occurred parsing configuration documents
 + java.io.FileNotFoundException: myDomain.xconf (The
system cannot find the file specified)
 at
com.xyz.MyAppBootstrapServlet.init(MyAppBootstrapServlet.java:107)
 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to