You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jean-Claude Moissinac <mo...@enst.fr> on 2006/12/03 12:40:59 UTC
URL simplification
Hello
In the past, I used the cocoon servlet and I had URL like
http://shadok.enst.fr:8080/adamul/
Now, I have installed cocoon in a Tomcat 5.5 server
The same site is accessible as
http://shadok.enst.fr:8080/cocoon/adamul/
But I would like to retrieve the old URL without /coccon in the middle.
I have tried to configure the context.xml file in the conf directory of my
cocoon, but it doesn't work.
It seems to be related to an error in loading myfaces which appears with the
installation of coccon.
Here is the start of the error message in my tomcat logs:
3/12/2006 11:54:53 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class
org.apache.myfaces.webap
p.StartupServletContextListener
java.lang.ClassNotFoundException:
org.apache.myfaces.webapp.StartupServletContex
tListener
...
Can we help me to find a way?
Re: URL simplification
Posted by Jean-Claude Moissinac <mo...@enst.fr>.
I'm also serving other applications with tomcat.
2006/12/4, Jeroen Reijn <j....@hippo.nl>:
>
> Hi Jean-Claude,
>
> looking at this messsage it seems you are missing a java class. It
> should be in one of the myfaces jars, but i'm not sure why it would be
> different when using tomcat 5.5 instead of cocoon itself.
>
> Did you switch to a different cocoon version or are you also serving
> other applications from your tomcat instance.
>
> Kind regards,
>
> Jeroen Reijn
>
> Jean-Claude Moissinac wrote:
> > Hello
> >
> > In the past, I used the cocoon servlet and I had URL like
> > http://shadok.enst.fr:8080/adamul/
> > Now, I have installed cocoon in a Tomcat 5.5 server
> > The same site is accessible as
> > http://shadok.enst.fr:8080/cocoon/adamul/
> > But I would like to retrieve the old URL without /coccon in the middle.
> >
> > I have tried to configure the context.xml file in the conf directory of
> > my cocoon, but it doesn't work.
> > It seems to be related to an error in loading myfaces which appears with
> > the installation of coccon.
> > Here is the start of the error message in my tomcat logs:
> >
> > 3/12/2006 11:54:53 org.apache.catalina.core.StandardContextlistenerStart
> > SEVERE: Error configuring application listener of class
> > org.apache.myfaces.webap
> > p.StartupServletContextListener
> > java.lang.ClassNotFoundException :
> > org.apache.myfaces.webapp.StartupServletContex
> > tListener
> > ...
> >
> > Can we help me to find a way?
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
--
Jean-Claude Moissinac
Signal and Image processing - Multimedia Group
ENST Paris
FRANCE
E-mail: moissinac@enst.fr
Tel: (+33) 1.45.81.80.88
Fax: (+33) 1.45.81.71.58
http://shadok.enst.fr/jcm
Re: URL simplification
Posted by Jeroen Reijn <j....@hippo.nl>.
Hi Jean-Claude,
looking at this messsage it seems you are missing a java class. It
should be in one of the myfaces jars, but i'm not sure why it would be
different when using tomcat 5.5 instead of cocoon itself.
Did you switch to a different cocoon version or are you also serving
other applications from your tomcat instance.
Kind regards,
Jeroen Reijn
Jean-Claude Moissinac wrote:
> Hello
>
> In the past, I used the cocoon servlet and I had URL like
> http://shadok.enst.fr:8080/adamul/
> Now, I have installed cocoon in a Tomcat 5.5 server
> The same site is accessible as
> http://shadok.enst.fr:8080/cocoon/adamul/
> But I would like to retrieve the old URL without /coccon in the middle.
>
> I have tried to configure the context.xml file in the conf directory of
> my cocoon, but it doesn't work.
> It seems to be related to an error in loading myfaces which appears with
> the installation of coccon.
> Here is the start of the error message in my tomcat logs:
>
> 3/12/2006 11:54:53 org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> org.apache.myfaces.webap
> p.StartupServletContextListener
> java.lang.ClassNotFoundException :
> org.apache.myfaces.webapp.StartupServletContex
> tListener
> ...
>
> Can we help me to find a way?
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org