You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Matthew Langham <ml...@sundn.de> on 2001/10/02 16:36:36 UTC

C2/Linux: Problems using current IBM JDK

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?

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]
=================================================================


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


Re: AW: C2/Linux: Problems using current IBM JDK

Posted by Enke Michael <Mi...@wincor-nixdorf.com>.
Matthew Langham wrote:
> 
> Hi Michael,
> 
> thanks for your message. We are now testing all combinations :-) and will
> post our results.
> 
> Just one question: Which JDK did you use to compile Cocoon?

With the IBM JDK from SuSE7.2:

me@laptop:~ > java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20001025 (JIT
enabled: jitc))

Michael

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


AW: C2/Linux: Problems using current IBM JDK

Posted by Matthew Langham <ml...@sundn.de>.
Hi Michael,

thanks for your message. We are now testing all combinations :-) and will
post our results.

Just one question: Which JDK did you use to compile Cocoon?

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


AW: AW: C2/Linux: Problems using current IBM JDK

Posted by Matthew Langham <ml...@sundn.de>.
Michael,

>>
Compiling Cocoon with the IBM JDK would be the next thing to do - but what
happens if we run that in a SUN JDK - or Blackdown....
<<
Ok we have now tried that as well. Still no luck.

>>
me@laptop:~ > java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20001025 (JIT
enabled: jitc))
<<

You are using an older IBM JDK (the current one is: cx130-20010626).

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: Matthew Langham [mailto:mlangham@sundn.de]
Gesendet: Freitag, 5. Oktober 2001 15:14
An: cocoon-dev@xml.apache.org
Betreff: AW: AW: C2/Linux: Problems using current IBM JDK


Hi

Compiling Cocoon with the IBM JDK would be the next thing to do - but what
happens if we run that in a SUN JDK - or Blackdown....

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: Michael Hartle [mailto:mhartle@hartle-klug.com]
Gesendet: Freitag, 5. Oktober 2001 15:05
An: cocoon-dev@xml.apache.org
Betreff: Re: AW: C2/Linux: Problems using current IBM JDK


Matthew Langham wrote:

>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.
>
Have you both build and tested cocoon with each JDK version ? IIRC I
once had a similar problem when I tried to run cocoon with a different
JDK than I had build it.

Best regards,

Michael Hartle


---------------------------------------------------------------------
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


AW: AW: C2/Linux: Problems using current IBM JDK

Posted by Matthew Langham <ml...@sundn.de>.
Hi

Compiling Cocoon with the IBM JDK would be the next thing to do - but what
happens if we run that in a SUN JDK - or Blackdown....

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: Michael Hartle [mailto:mhartle@hartle-klug.com]
Gesendet: Freitag, 5. Oktober 2001 15:05
An: cocoon-dev@xml.apache.org
Betreff: Re: AW: C2/Linux: Problems using current IBM JDK


Matthew Langham wrote:

>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.
>
Have you both build and tested cocoon with each JDK version ? IIRC I
once had a similar problem when I tried to run cocoon with a different
JDK than I had build it.

Best regards,

Michael Hartle


---------------------------------------------------------------------
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


Re: AW: C2/Linux: Problems using current IBM JDK

Posted by Michael Hartle <mh...@hartle-klug.com>.
Matthew Langham wrote:

>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.
>
Have you both build and tested cocoon with each JDK version ? IIRC I 
once had a similar problem when I tried to run cocoon with a different 
JDK than I had build it.

Best regards,

Michael Hartle


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


AW: C2/Linux: Problems using current IBM JDK

Posted by Matthew Langham <ml...@sundn.de>.
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


Re: C2/Linux: Problems using current IBM JDK

Posted by Enke Michael <Mi...@wincor-nixdorf.com>.
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


RE: C2/Linux: Problems using current IBM JDK

Posted by Vadim Gritsenko <va...@verizon.net>.
I have Cocoon running on SuSe 7.0, with IBM JDK (one which bundled with WebSphere). 
Details are:.

uname -a:
Linux l004090 2.2.16 #6 SMP Wed May 23 16:39:31 EDT 2001 s390 unknown

java -version:
java version "1.2.2"
Classic VM (J2RE 1.2.2 IBM build c390_x122-20001209 (JIT disabled))

Resin-2.0-2, Cocoon 2.0 CVS 20010915.

http://l004090.zseriespenguins.ihost.com/

Regards,
Vadim

> -----Original Message-----
> From: Matthew Langham [mailto:mlangham@sundn.de]
> Sent: Tuesday, October 02, 2001 10:37 AM
> To: cocoon-dev@xml.apache.org
> Subject: C2/Linux: Problems using current IBM JDK
> 
> 
> 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?
> 
> 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]
> =================================================================
> 
> 
> ---------------------------------------------------------------------
> 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