tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roytman, Alex" <Roytm...@peacetech.com>
Subject Tomcat 4.1.10 Would not load jars from WEB-INF if context is on another drive
Date Mon, 09 Sep 2002 22:18:35 GMT
A very strange regression in tomcat 4.1.10 (worked fine in 4.1.9)

I am running win2000 JDK 1.4.1 (the same with other JDKs)

Tomcat would not find classes deployed as jars in context's WEB-INF/lib directory under some
circumstances:

1. Context explicitly defined in server.xml or in webapps/my-context.xml
2. Context's directory is on another drive (not where tomcat is)

I should add that it works if 
- deployed as war (and context in server.xml specify docBase to this war) OR
- deployed as directory in webapps with no explicit context definition  OR
- deployed to the same drive where tomcat resides. The same type of deployment with explicit
context in server.xml. Directory does not matter as long as it is tomcat's drive

I also should add that context gets mounted and all resources in it are accessible.

What is happening can be seen from log file. First I thought there are some problems with
network drive z: (long name issues or whatever) so I tried c: instead - the same

log file seems to be the same  for all cases:

2002-09-09 17:48:34 WebappLoader[/gctrack]: Deploying class repositories to work directory
D:\java\apache\tomcat41\work\Standalone\localhost\gctrack
2002-09-09 17:48:34 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-common.jar to D:\java\apache\tomcat41\work\Standalone\localhost\gctrack\WEB-INF\lib\pti-common.jar
2002-09-09 17:48:34 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-gctrack-jdo-config.jar
to D:\java\apache\tomcat41\work\Standalone\localhost\gctrack\WEB-INF\lib\pti-gctrack-jdo-config.jar
2002-09-09 17:48:34 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-gctrack-jdo.jar to
D:\java\apache\tomcat41\work\Standalone\localhost\gctrack\WEB-INF\lib\pti-gctrack-jdo.jar
2002-09-09 17:48:34 LdapRealmCatalina[/gctrack]: Loading Role Map [null] ...
2002-09-09 17:48:35 ContextConfig[/gctrack]: WARNING: Security role name staff-hours used
in an <auth-constraint> without being defined in a <security-role>
2002-09-09 17:48:35 ContextConfig[/gctrack]: Configured an authenticator for method FORM
2002-09-09 17:48:35 StandardManager[/gctrack]: Seeding random number generator class java.security.SecureRandom
2002-09-09 17:48:35 StandardManager[/gctrack]: Seeding of random number generator has been
completed
2002-09-09 17:48:35 StandardWrapper[/gctrack:default]: Loading container servlet default
2002-09-09 17:48:35 StandardWrapper[/gctrack:invoker]: Loading container servlet invoker

2002-09-09 17:50:24 WebappLoader[/gctrack]: Deploying class repositories to work directory
D:\java\apache\tomcat41\work\Standalone\localhost\gctrack
2002-09-09 17:50:24 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-common.jar to z:\Projects\Gao\ogc\gctrack\main\web\gctrack\WEB-INF\lib\pti-common.jar
2002-09-09 17:50:24 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-gctrack-jdo-config.jar
to z:\Projects\Gao\ogc\gctrack\main\web\gctrack\WEB-INF\lib\pti-gctrack-jdo-config.jar
2002-09-09 17:50:24 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-gctrack-jdo.jar to
z:\Projects\Gao\ogc\gctrack\main\web\gctrack\WEB-INF\lib\pti-gctrack-jdo.jar
2002-09-09 17:50:25 LdapRealmCatalina[/gctrack]: Loading Role Map [null] ...
2002-09-09 17:50:25 ContextConfig[/gctrack]: WARNING: Security role name staff-hours used
in an <auth-constraint> without being defined in a <security-role>
2002-09-09 17:50:25 ContextConfig[/gctrack]: Configured an authenticator for method FORM
2002-09-09 17:50:25 StandardManager[/gctrack]: Seeding random number generator class java.security.SecureRandom
2002-09-09 17:50:25 StandardManager[/gctrack]: Seeding of random number generator has been
completed
2002-09-09 17:50:25 StandardWrapper[/gctrack:default]: Loading container servlet default
2002-09-09 17:50:25 StandardWrapper[/gctrack:invoker]: Loading container servlet invoker

2002-09-09 17:57:51 WebappLoader[/gctrack]: Deploying class repositories to work directory
D:\java\apache\tomcat41\work\Standalone\localhost\gctrack
2002-09-09 17:57:51 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-common.jar to d:\web\gctrack\WEB-INF\lib\pti-common.jar
2002-09-09 17:57:51 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-gctrack-jdo-config.jar
to d:\web\gctrack\WEB-INF\lib\pti-gctrack-jdo-config.jar
2002-09-09 17:57:51 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-gctrack-jdo.jar to
d:\web\gctrack\WEB-INF\lib\pti-gctrack-jdo.jar
2002-09-09 17:57:52 LdapRealmCatalina[/gctrack]: Loading Role Map [null] ...
2002-09-09 17:57:52 ContextConfig[/gctrack]: WARNING: Security role name staff-hours used
in an <auth-constraint> without being defined in a <security-role>
2002-09-09 17:57:52 ContextConfig[/gctrack]: Configured an authenticator for method FORM
2002-09-09 17:57:52 StandardManager[/gctrack]: Seeding random number generator class java.security.SecureRandom
2002-09-09 17:57:52 StandardManager[/gctrack]: Seeding of random number generator has been
completed
2002-09-09 17:57:52 StandardWrapper[/gctrack:default]: Loading container servlet default
2002-09-09 17:57:52 StandardWrapper[/gctrack:invoker]: Loading container servlet invoker

2002-09-09 18:06:24 WebappLoader[/gctrack]: Deploying class repositories to work directory
D:\java\apache\tomcat41\work\Standalone\localhost\gctrack
2002-09-09 18:06:24 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-common.jar to c:\web\gctrack\WEB-INF\lib\pti-common.jar
2002-09-09 18:06:24 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-gctrack-jdo-config.jar
to c:\web\gctrack\WEB-INF\lib\pti-gctrack-jdo-config.jar
2002-09-09 18:06:24 WebappLoader[/gctrack]: Deploy JAR /WEB-INF/lib/pti-gctrack-jdo.jar to
c:\web\gctrack\WEB-INF\lib\pti-gctrack-jdo.jar
2002-09-09 18:06:25 LdapRealmCatalina[/gctrack]: Loading Role Map [null] ...
2002-09-09 18:06:25 ContextConfig[/gctrack]: WARNING: Security role name staff-hours used
in an <auth-constraint> without being defined in a <security-role>
2002-09-09 18:06:25 ContextConfig[/gctrack]: Configured an authenticator for method FORM
2002-09-09 18:06:25 StandardManager[/gctrack]: Seeding random number generator class java.security.SecureRandom
2002-09-09 18:06:25 StandardManager[/gctrack]: Seeding of random number generator has been
completed
2002-09-09 18:06:25 StandardWrapper[/gctrack:default]: Loading container servlet default
2002-09-09 18:06:25 StandardWrapper[/gctrack:invoker]: Loading container servlet invoker



Alex Roytman
Peace Technology, Inc.
301-206-9696 ext. 103 

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


Mime
View raw message