You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by torgeir <to...@vertech.no> on 2000/08/07 16:52:36 UTC

faq?

Ok, this is maybe a faq. 

I've just compiled slide downloaded with cvs a few days ago, and after
configuring tomcat to include the slide servlet, tomcat doesn't start
anymore, but gives these messages:


Mon, 07 Aug 2000 16:49:27 GMT+02:00 - default - INFO - Auto-Initializing
Domain
Mon, 07 Aug 2000 16:49:28 GMT+02:00 - default - INFO - Domain
configuration : {}

Mon, 07 Aug 2000 16:49:28 GMT+02:00 - default - ERROR - Failed to locate
messages resource org.apache.slide.util.resources.messages
Mon, 07 Aug 2000 16:49:28 GMT+02:00 - default - ERROR - [Missing message
org.apache.slide.common.DomainInitializationFailedError] :
com.sun.xml.parser.SAXParserFactoryImpl
Exception in thread "main"
org.apache.slide.common.DomainInitializationFailedError: [Missing
message org.apache.slide.common.DomainInitializationFailedError] :
com.sun.xml.parser.SAXParserFactoryImpl
        at org.apache.slide.common.Domain.selfInit(Domain.java:425)
        at
org.apache.slide.common.Domain.accessNamespace(Domain.java:126)
        at
org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:394)
        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
        at
org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
        at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:276)
        at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.java:132)
        at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:227)
        at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:201)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:156)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)

Is this my classpath being wrong? I've put these jar files in the
WEB-INF/lib directory:

jaxp.jar, sax2.jar, xerces.jar, xml4j.jar.

Maye I'm using the wrong version of these files. Could someone tell me
which ones is the correct jar files to use with slide?


-- 
-Torgeir

Re: faq?

Posted by Remy Maucherat <re...@apache.org>.
> Ok, this is maybe a faq.
>
> I've just compiled slide downloaded with cvs a few days ago, and after
> configuring tomcat to include the slide servlet, tomcat doesn't start
> anymore, but gives these messages:
>
>
> Mon, 07 Aug 2000 16:49:27 GMT+02:00 - default - INFO - Auto-Initializing
> Domain
> Mon, 07 Aug 2000 16:49:28 GMT+02:00 - default - INFO - Domain
> configuration : {}
>
> Mon, 07 Aug 2000 16:49:28 GMT+02:00 - default - ERROR - Failed to locate
> messages resource org.apache.slide.util.resources.messages

For some reason, it fails to find the messages resource bundle. It should be
in the Slide jar.

> Mon, 07 Aug 2000 16:49:28 GMT+02:00 - default - ERROR - [Missing message
> org.apache.slide.common.DomainInitializationFailedError] :
> com.sun.xml.parser.SAXParserFactoryImpl
> Exception in thread "main"
> org.apache.slide.common.DomainInitializationFailedError: [Missing
> message org.apache.slide.common.DomainInitializationFailedError] :
> com.sun.xml.parser.SAXParserFactoryImpl
>         at org.apache.slide.common.Domain.selfInit(Domain.java:425)
>         at
> org.apache.slide.common.Domain.accessNamespace(Domain.java:126)
>         at
> org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:394)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>         at
> org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
>         at
> org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:276)
>         at
>
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:132)
>         at
> org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:227)
>         at
> org.apache.tomcat.core.ContextManager.init(ContextManager.java:201)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:156)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
>
> Is this my classpath being wrong?

It cannot find a JAXP implementation.

> I've put these jar files in the
> WEB-INF/lib directory:
>
> jaxp.jar, sax2.jar, xerces.jar, xml4j.jar.
>
> Maye I'm using the wrong version of these files. Could someone tell me
> which ones is the correct jar files to use with slide?

You need either :
- jaxp.jar + parser.jar
- Xerces 1.1.2

Remy