cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Ting" <roger...@hotmail.com>
Subject Re: cocoon KILLS Tomcat
Date Thu, 29 Aug 2002 14:19:57 GMT


Hi Babara
What do you mean by jdk and jre not right? I am currently logged into a 
Solaris 5.X system. I installed Cocoon in Windows and it is fine. Just that 
installing on the Solaris Unix without root perm giving me a hell of 
time.Can you tell me what exactly happen you last time and how you solved 
it?

BTW, just set catalina_opts="-Xmx128m"  to give Tomcat more memory
to use Cocoon. That's how i got away for my problem

>From: "Barbara Post" <babs33@ifrance.com>
>Reply-To: cocoon-users@xml.apache.org
>To: <cocoon-users@xml.apache.org>
>Subject: Re: cocoon KILLS Tomcat
>Date: Thu, 29 Aug 2002 15:44:23 +0200
>
>Hi Roger,
>
>Maybe your jasp compiler has a problem or if you use Windows (I guess not)
>check out the registry : maybe your Current Version of JDK and JRE is not
>right...
>
>key : HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft and subkeys.
>
>java -fullversion should be right too.
>
>This was a reason why I ran into major/minor troubles too, but not exactly
>the same.
>
>Babs
>----- Original Message -----
>From: "Roger Ting" <rogermht@hotmail.com>
>To: <cocoon-users@xml.apache.org>
>Sent: Thursday, August 29, 2002 2:13 PM
>Subject: RE: cocoon KILLS Tomcat
>
>
> >
> > Dear Luca,
> > Thnx for your help. Your advice makes sense. Therefore, i
> > add another line catalina_opts="-Xmx128m" to my bash profile.
> >
> > Unfortunately, i run into yet another problem when i want to start
> > Tomcat with Cocoon. The following is the error message:
> > java.lang.UnsupportedClassVersionError:
> > org/apache/cocoon/servlet/CocoonServlet
> > (Unsupported major.minor version 48.0)
> >         at java.lang.ClassLoader.defineClass0(Native Method)
> >         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
> >         at
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
> > 1)
> >         at
> > org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
> > ClassLoader.java:1643)
> >         at
> > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
> > der.java:937)
> >         at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> > der.java:1372)
> >         at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> > der.java:1254)
> >         at
> > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
> > java:867)
> >
> > .........
> >
> >
> > I am using jdk 1.3.1 and Tomcat 4.0.4 and cocoon 2.0.3.
> >
> > Anyone any idea? Anyone encounter this problem before?
> >
> >
> >
> > >From: "Luca Morandini" <luca.morandini1@tin.it>
> > >Reply-To: <lmorandini@ieee.org>
> > >To: <cocoon-users@xml.apache.org>
> > >Subject: RE: cocoon KILLS Tomcat
> > >Date: Wed, 28 Aug 2002 17:46:31 +0200
> > >
> > >Roger,
> > >
> > >have you tried to raise the memory (setting -Xmx in CATALINA_OPTS) ?
> > >
> > >Keep in mind that Cocoon uses a lot of memory at startup (mainly for 
>XSP
> > >compilation).
> > >
> > >Best regards,
> > >
> > >---------------------------------------------
> > >                Luca Morandini
> > >                GIS Consultant
> > >               lmorandini@ieee.org
> > >http://utenti.tripod.it/lmorandini/index.html
> > >---------------------------------------------
> > >
> > >
> > > > -----Original Message-----
> > > > From: Roger Ting [mailto:rogermht@hotmail.com]
> > > > Sent: Wednesday, August 28, 2002 5:35 PM
> > > > To: cocoon-users@xml.apache.org
> > > > Subject: cocoon KILLS Tomcat
> > > >
> > > >
> > > >
> > > >
> > > > I think there is something wrong with Cocoon ..I installed Tomcat
> > > > and it run perfectly.
> > > > However, when i put in the cocoon.war file
> > > > into Tomcat webapps and try to connect to Tomcat again,Tomcat die.
> > > >
> > > > Of course i shutdown Tomcat before trying to install Cocoon.
> > > > When i start Tomcat, it just won't start anymore..
> > > >
> > > > It keep throwing me :
> > > >
> > > > Exception during startup processing
> > > > java.lang.reflect.InvocationTargetException:
>java.lang.OutOfMemoryError:
> > > > unable to create n
> > > > ew native thread
> > > >         at java.lang.Thread.start(Native Method)
> > > >         at
> > > >
> >
> >org.apache.catalina.connector.http.HttpProcessor.threadStart(HttpProcessor.
>java:
> > > > 1152)
> > > >         at
> > > >
> >
> >org.apache.catalina.connector.http.HttpProcessor.start(HttpProcessor.java:1
>225)
> > > >         at
> > > >
> >
> >org.apache.catalina.connector.http.HttpConnector.newProcessor(HttpConnector
>.java
> > > > :920)
> > > >         at
> > > >
> >
> >org.apache.catalina.connector.http.HttpConnector.start(HttpConnector.java:1
>158)
> > > >         at
> > > >
>org.apache.catalina.core.StandardService.start(StandardService.java:395)
> > > >         at
> > > > 
>org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
> > > >         at
>org.apache.catalina.startup.Catalina.start(Catalina.java:781)
> > > >         at
> > >org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
> > > >         at
> > >org.apache.catalina.startup.Catalina.process(Catalina.java:179)
> > > >         at java.lang.reflect.Method.invoke(Native Method)
> > > >         at
> > >org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> > > >
> > > > Anyone have any idea?
> > > >
> > > >
> > > > _________________________________________________________________
> > > > Join the world's largest e-mail service with MSN Hotmail.
> > > > http://www.hotmail.com
> > > >
> > > >
> > > > 
>---------------------------------------------------------------------
> > > > Please check that your question  has not already been answered in 
>the
> > > > FAQ before posting.     
><http://xml.apache.org/cocoon/faq/index.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/faq/index.html>
> > >
> > >To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> > >For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> >
> >
> >
> >
> > _________________________________________________________________
> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question  has not already been answered in the
> > FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>
>
>To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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