cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: Cocoon2 with Tomcat 4.0.1 (in JBuilder 6 Enterprise)
Date Fri, 26 Apr 2002 12:49:14 GMT
> Hello, I get the following when I try to lauch my webapp (Tomcat 4.0.1;
> embedded into JB6). What does this mean regarding Cocoon ? What is wrong
in
> my Tomcat config.? Thank you very much.

I suspect that you have created a WebApp element in JB6 and you are trying
to start it from there. Look at the WEB-INF/web.xml and you'll notice that
JB has replaced it with its own. This brings up the errors you get.

Here is the sequence I use to run Cocoon from JB:
    - copy cocoon.war to <tomcat>/webapps
    - run Tomcat from <tomcat>/bin/startup.bar once, so it deploy the
application
    - try that it works accessing the http://localhost:8080/cocoon/
    - shutdown Tomcat

Then in JB
    - clear the checkbox in Webapp properties telling to build the WAR
    - select a start page (say, /samples/i18n/simple.xml)
    - then choose Web Run from its context menu

This way it works for me.

--
  Konstantin

>
> Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
>
> type Exception
>
> reportmessage 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
Cocoon2
> threw exception
>  at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:871)
>  at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
>  at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:214)
>  at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>  at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>  at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:201)
>  <snip>
>
> root cause java.lang.NoSuchMethodError
>  at
>
org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.j
> ava:202)
>  at
> org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)
>  at
org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:345)
>  at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
>  at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
>  at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
>  at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:214)
>  <snip>
>
>
>
____________________________________________________________________________
__
> ifrance.com, l'email gratuit le plus complet de l'Internet !
> vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
> http://www.ifrance.com/_reloc/email.emailif
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message