Hello,

We have several workstations.
Their configurations are more or less the same : Windows 2000, Tomcat 4.1.24
running on JSDK 1.4.1_07, (some have JSDK 1.4.2_06 too, but Tomcat always
runs on 1.4.1).

I'm running a servlet application, with the latest Xerces and Xalan releases, 
more recent than these in JSDK 1.4.1.
So, I copy these jar files in  $CATALINA_HOME/common/endorsed directory to
override JSDK 1.4.1.
These jar files are also in the /WEB-INF/lib directory.

On some workstations, it is OK.

On others, I get this exception when I'm starting Tomcat (.bat) :

-----------------------------------------------------------------
WebappLoader[]: Deploy JAR /WEB-INF/lib/xercesImpl.jar to 
F:\DEV\Moteur\webApp\WEB-INF\lib\xercesImpl.jar
ContextConfig[]: Exception lors du traitement du JAR indique par le chemin de 
ressource /WEB-INF/lib/xercesImpl.jar
javax.servlet.ServletException: Exception lors du traitement du JAR indique par 
le chemin de ressource /WEB-INF/lib/xercesImpl.jar
javax.servlet.ServletException: Exception lors du traitement du JAR indique par 
le chemin de ressource /WEB-INF/lib/xercesImpl.jar
        at 
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
        at 
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
        at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
        at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3567)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
ContextConfig[]: Cette application est marquee comme non disponible suite aux 
erreurs precedentes
StandardManager[]: Alimentation de la classe du generateur de nombre aleatoire 
java.security.SecureRandom
StandardManager[]: L'alimentation du generateur de nombre aleatoire est termine
StandardContext[]: Erreur de demarrage du contexte suite aux erreurs precedentes

-----------------------------------------------------------------


The only solution is to delete jar files in /WEB-INF/lib directory.
Incredible ? This is the same configurations !
This solution is annoying because the target WAS need these jar files in
/WEB-INF/lib directory.

Can someone explain me these differences ?
Is it because some workstations have previously installed JSDK 1.4.2_06,
that Tomcat uses for installation ?
And how to have only one behavior ?

Thanks a lot for your help.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to