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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> >Reply-To: <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >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
> >               [EMAIL PROTECTED]
> >http://utenti.tripod.it/lmorandini/index.html
> >---------------------------------------------
> >
> >
> > > -----Original Message-----
> > > From: Roger Ting [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, August 28, 2002 5:35 PM
> > > To: [EMAIL PROTECTED]
> > > 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:     <[EMAIL PROTECTED]>
> > > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> > >
> >
> >
> >---------------------------------------------------------------------
> >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:     <[EMAIL PROTECTED]>
> >For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>
>
> _________________________________________________________________
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to