Hi J�r�mie,
Why do you have all this in your classpath ? If you have an application that has specific library requirements, the JARs should be in WEB-INF/lib or at the worst in shared/lib, and will be automatically added to the classpath of the web application. You should avoid modifying the Tomcat classpath. What happens if you have two web applications that need different versions of the same library ? The only way to resolve this problem is to keep the JARs seperate in two seperate WEB-INF/lib directories.
Jahia comes packaged with libraries in the shared/lib directory in Tomcat. This has been tested to work with ALL of our packaged web applications, but NOT with others. It is the SOLE responsability of the Tomcat administrator or installer to make sure there are no library conflicts, since they will probably want to integrate with other applications we can't support because we don't work with them on a regular basis.
For more information about Tomcat's classloaders, please check this link out :
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
Also, you might want to check out the Servlet specification for more information about servlet packaging and classloading :
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html
Regards, Serge Huber.
Dark Jem wrote:
<x-flowed> Hello,
I changed my java. I now use a j2sdk1.4.2_02 but I still get the same error. Do I have to add some files in my classpath? I put my current classpath below. I don't know where to look for an error.
Thanks Regards Jeremie
java.classpath=/MIDDLE/atos-mm/pst-intranet.serv.priv.atos.fr/tomcat1/common/endorsed/xmlParserAPIs.jar:/MIDDLE/atos-mm/pst-in
tranet.serv.priv.atos.fr/tomcat1/shared/lib/log4j-1.2.6.jar:/MIDDLE/atos-mm/pst-intranet.serv.priv.atos.fr/tomcat1/conf:/MIDDL
E/atos-mm/pst-intranet.serv.priv.atos.fr/classes:/MIDDLE/atos-mm/pst-intranet.serv.priv.atos.fr/properties:/usr/java/j2sdk1.4.
2_02/lib/tools.jar:/opt/local/framework/lib/fwk.jar:/opt/local/framework/lib/fwk-jndi.jar:/opt/local/framework/lib/fwk-admin.j
ar:/opt/local/framework/lib/syslog.jar:/MIDDLE/atos-mm/pst-intranet.serv.priv.atos.fr/tomcat1/common/endorsed/xercesImpl.jar
From: Philippe Vollenweider <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: Starting Jahia : Internal Server Error Date: Fri, 16 Jul 2004 11:40:58 +0200
Hello,
Java 1.3.0 is no more supported and it seem that your xml parser makes troubles.
Please upgrade to 1.4.2 version. You will find IBM SDK here:
http://www-106.ibm.com/developerworks/java/jdk/linux140/
Cheers,
Philippe
At 16.07.2004 11:32, you wrote:
Hello,
When starting Jahia I get the following error. I don't understand what kind of error it is.
I'm running under Apache Tomcat/4.1.27 Java 1.3.0, IBM Corporation Linux, v.2.4.20-xfs (x86).
I checked my classpath and it seems clean.
Thanks for your help Regards
J�r�mie
HTTP Status 500 - Internal Server Error
--------------------------------------------------------------------------------
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet Jahia threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1043)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1162)
at java.lang.Thread.run(Thread.java:498)
root cause
java.lang.NullPointerException
at org.jahia.bin.Jahia.checkLicense(Jahia.java:1011)
at org.jahia.bin.Jahia.init(Jahia.java:406)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1043)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1162)
at java.lang.Thread.run(Thread.java:498)
_________________________________________________________________
Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! http://g.msn.fr/FR1000/9493
-------=[ pvollenweider at jahia dot com ]=--------- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company
_________________________________________________________________
Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! http://g.msn.fr/FR1000/9493
</x-flowed>
