Re: SVG: NoClassDefFoundError

2002-10-26 Thread Kjetil Kjernsmo
On Friday 25 October 2002 16:28, Christian Parpart wrote:

> On Thursday 24 October 2002 5:48 pm, Kjetil inspired the electrons to 
say:
> > On Thursday 24 October 2002 13:50, Christian Parpart wrote:
> > > org.apache.cocoon.ProcessingException: Error compiling sitemap:
> > > java.lang.NoClassDefFoundError
> >
> > Hm, I wonder if it is related to the error I'm seeing. Can I ask
> > which SDK you're using, at what platform?
>
> I was first using Sun Java SDK 1.4.1 for Linux (completely gcc3.2
> build), after getting linkage errors by that binary only version
> against the old libstdc++ (wich, of course, does not exist).

Yeah, I've been through that too... I got that fixed by doing some 
symlinks, it worked, but it isn't pretty. I can dig it up I think if 
you want. 

> This error was raised at "sitemap compilation" at the very beginning

Yep. 

> I had to switch to blackdown jdk 1.3.1. Here I got the error
> described. Blackdown JDK (1.3.1) is binary only distributed, too. but
> it seems that it's not linked against libstdc++.

Yep.


> Well, I'm using Gentoo Linux with latest kernel, but this is probably
> not the point; but Yeah, where (TF) are the wizards now?

Well, there is a big volume here, even wizards can't get through 
everything, I'm afraid. I must admit I really miss their kind advice 
(hint, hint!) :-)

Anyway, I found a wizard elsewhere too, and he told me that he had seen 
this error before in Tomcat < 4.0.2 and Cocoon 2.0.1, and the 
workaround back then was to copy certain files from cocoon/WEB-INF/lib 
to $TOMCAT_HOME/common/lib. I did that, more specifically, this is what 
I did:
cp ../../webapps/cocoon/WEB-INF/lib/xml-apis.jar .
cp ../../webapps/cocoon/WEB-INF/lib/xalan* .
cp ../../webapps/cocoon/WEB-INF/lib/batik* .

(obviously, you have to modify to suit you).

That solved that problem, but only to give me another problem I've been 
struggling with, that I've asked for help about in the message I posted 
with the subject: IOException when installing Cocoon 2.1
So, I get an IOException with 2.1 

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: SVG: NoClassDefFoundError

2002-10-25 Thread Christian Parpart
WARNING: Unsanitized content follows.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 24 October 2002 5:48 pm, Kjetil inspired the electrons to say:
> On Thursday 24 October 2002 13:50, Christian Parpart wrote:
> > org.apache.cocoon.ProcessingException: Error compiling sitemap:
> > java.lang.NoClassDefFoundError
>
> Hm, I wonder if it is related to the error I'm seeing. Can I ask which
> SDK you're using, at what platform?

I was first using Sun Java SDK 1.4.1 for Linux (completely gcc3.2 build), 
after getting linkage errors by that binary only version against the old 
libstdc++ (wich, of course, does not exist). 

This error was raised at "sitemap compilation" at the very beginning

I am really not able to easily downgrade to gcc2.x

I had to switch to blackdown jdk 1.3.1. Here I got the error described.
Blackdown JDK (1.3.1) is binary only distributed, too. but it seems that it's 
not linked against libstdc++.

> I've been using various SDK's from various sources, this one is 1.3.1
> from Blackdown on Debian Woody GNU/Linux 2.4.19. I've seen many
> different errors with different SDK's, this one seems to only come with
> some builds of this version...
>
> So, I can't be of any help, but if it is correct that there is some
> relationship here, maybe the wizards can get onto something.

Well, I'm using Gentoo Linux with latest kernel, but this is probably not the 
point; but Yeah, where (TF) are the wizards now?

Greets,
Christian Parpart.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9uVUrPpa2GmDVhK0RAi4cAJ4naBx0jJiLjFQ98gSMkq2ZSvYGzgCcCctb
L352u6qZMqKX/zmQAe3F8lI=
=9V8W
-END PGP SIGNATURE-


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: SVG: NoClassDefFoundError

2002-10-24 Thread Kjetil Kjernsmo
On Thursday 24 October 2002 13:50, Christian Parpart wrote:
>
> org.apache.cocoon.ProcessingException: Error compiling sitemap:
> java.lang.NoClassDefFoundError

Hm, I wonder if it is related to the error I'm seeing. Can I ask which 
SDK you're using, at what platform?

I too get a NoClassDefFoundError on a class that really should be 
found...:

Error:
java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver

Looking for URIResolver:
pooh:/var/lib> find tomcat4/ -name *.jar -exec grep URIResolver {} \;
Binary file tomcat4/webapps/cocoon/WEB-INF/lib/xml-apis.jar matches
Binary file 
tomcat4/webapps/cocoon/WEB-INF/lib/excalibur-xmlutil-20020820.jar 
matches
Binary file tomcat4/webapps/cocoon/WEB-INF/lib/batik-all-1.5b2.jar 
matches
pooh:/var/lib> jar tvf tomcat4/webapps/cocoon/WEB-INF/lib/xml-apis.jar | 
grep URI
   246 Wed Feb 06 10:49:42 CET 2002 
javax/xml/transform/URIResolver.class
Yep, there it is!

I've been using various SDK's from various sources, this one is 1.3.1 
from Blackdown on Debian Woody GNU/Linux 2.4.19. I've seen many 
different errors with different SDK's, this one seems to only come with 
some builds of this version... 

So, I can't be of any help, but if it is correct that there is some 
relationship here, maybe the wizards can get onto something.

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




SVG: NoClassDefFoundError

2002-10-24 Thread Christian Parpart
WARNING: Unsanitized content follows.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

this is very bad, because I have SVG (batik) found in the lib directory of the
standard cocoon.war file. I used default configuration of tomcat (4.0.6) and
cocoon 2.0.2, where's my error? what's wrong?

org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.NoClassDefFoundError
at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
at java.lang.Thread.run(Thread.java:484)
java.lang.NoClassDefFoundError
at org.apache.batik.dom.svg.SAXSVGDocumentFactory.(Unknown Source)
at org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:86)
at
org.apache.cocoon.serialization.SVGSerializer.(SVGSerializer.java:95)

thanks in advance,
Christian Parpart.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9t959Ppa2GmDVhK0RAhO7AJsHz8cHVloBYexhwBti6HgaWKnxawCfWcy9
3msXvIyqb26JjN574T3i2nA=
=bEkz
-END PGP SIGNATURE-


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>