cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Langham" <mlang...@sundn.de>
Subject AW: C2/Linux: Problems using current IBM JDK
Date Fri, 05 Oct 2001 13:07:06 GMT
Hi Cocoon'ers

After testing a variety of combinations today here are our findings:

Using an older version of the IBM jdk (build cx130-20000623) Cocoon starts
and everything seems to be fine ...

BUT

The current C2.0 version does not run under Suse Linux using the newest IBM
JVM (IBMjdk1.3.0	build: cx130-20010626). The sitemap is compiled but then
cannot be loaded. This effect does not change by updating Tomcat from 3.2.2
to 3.2.3.

The error we receive is:

>>
description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Could not load
class for program 'org/apache/cocoon/www/sitemap_xmap' due to a
java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
<<

And the stacktrace:

>>
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Could not load
class for program 'org/apache/cocoon/www/sitemap_xmap' due to a
java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:278)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:192)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
	at java.lang.Thread.run(Thread.java:498)
org.apache.cocoon.components.language.LanguageException: Could not load
class for program 'org/apache/cocoon/www/sitemap_xmap' due to a
java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap
	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.loadProg
ram(JavaLanguage.java:124)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
e.load(CompiledProgrammingLanguage.java:127)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:324)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:275)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:192)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
	at java.lang.Thread.run(Thread.java:498)
<<

Does anyone have an idea as to why this could be the case?

The effect also remains if we disable the JIT and change the security policy
of tomcat.

So we have absolutely no idea what is happening.

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [mlangham@sundn.de - http://www.sundn.de]
=================================================================


-----Ursprungliche Nachricht-----
Von: Enke Michael [mailto:Michael.Enke@wincor-nixdorf.com]
Gesendet: Donnerstag, 4. Oktober 2001 14:50
An: cocoon-dev@xml.apache.org
Betreff: Re: C2/Linux: Problems using current IBM JDK


Matthew Langham wrote:
>
> We are currently experimenting with different Java JDKs under SuSE Linux
7.2
> and have a problem with the current IBM JDK.
>
> After compilation the sitemap.class cannot be loaded and we get an
> appopriate error message "Cant find class for ...". Nothing further is
> traced.
>
> We have tried the various switches in web.xml and deleted the Work
directory
> first etc.
>
> Any ideas? Anyone else currently running C2 under Suse Linux with the IBM
> JDK - which version are you using? Any gotchas when switching over from a
> running Sun JDK?

I'm running C2 on SuSE 7.2 with IBM-SDK (v1.3.0 is on the SuSE-CD's).
As I remember, the problem was tomcat. I downloaded tomcat3.2.3
and than it was working. (I never tried it with the Sun-SDK.)

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message