You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by peter riegersperger <ri...@subnet.at> on 2003/02/07 22:52:15 UTC

custom generator not working on a fresh install

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all!

We reactivated a Cocoon-based project that I haven't touched for a while, and 
I try to get Cocoon (and that project) running on my notebook.
Included in this project is a custom generator, and this seems to be a bit of 
a problem.

On the development server, all is running fine, but as soon as I add the 
custom generator to the sitemap on my notebook, I get the following error:

org.apache.cocoon.ProcessingException: Error compiling sitemap: 
java.lang.NoClassDefFoundError: 
org/apache/cocoon/generation/AbstractGenerator

Our custom generator extends AbstractGenerator, but why can't Cocoon find it? 
On our server, there's no problem with the custom generator.
(The rest of cocoon is running excellent, as is everything else I modified. 
It's just the mention of the generator)

The server is running on cocoon-2.0.3, I'm using 2.0.4 (Source distribution) 
on my notebook.
All in all, I'm running:
Linux
Tomcat 4.0.4
Cocoon 2.0.4 (the binary distribution)
j2sdk1.4.1_01

First, I built Cocoon with
./build.sh  -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps 
webapp

Then, I copied it to /tomcat/webapps

I copied the following files to tomcat/common/lib:
xalan-2.3.1.jar
xercesImpl-2.0.0.jar
these two where present:
xercesImpl.jar
xmlParserAPIs.jar

I copied the following files to jdk1.4-home/jre/endorsed:
xalan-2.3.1.jar
xercesImpl-2.0.0.jar
xml-apis.jar

The jar with our custom generator is in
cocoon/WEB-INF/lib
and
tomcat/common/lib

I've been fiddling around with this the whole day, and obviously I've 
forgotten something.

I hope anyone can help me, and that this mail makes any sense (after 13 hours 
of copying, deleting and modifying files on a 12"-screen),

rick

ps: In my desperation, I even tried copying the complete cocoon-directory from 
our server, but the error is exactly the same.

- -- 
|-
| peter riegersperger  <ri...@subnet.at>
|-
| ein windows switcher tagebuch:
| http://forum.subnet.at/viewforum.php?f=22
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+RCqZIMP39JYOy9IRAprvAJ0VZEyUTXWrsZyf7fu2xYFLgQTY4wCgnMjo
8a1+kufRaUL4Jgv2FwizdCk=
=mXC4
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: custom generator not working on a fresh install

Posted by Lionel Crine <cr...@4dconcept.fr>.
Usually this error happens when I jar file is missing in the classpath or 
it is a syntax error in the sitemap.

Hope this help.
At 22:09 10/02/2003 +0100, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>hi again!
>
>nobody any idea? i'm getting desperate here, so any hint/pointer/tip would be
>very very welcome!
>
>thanks,
>
>rick
>
>
>
>On Friday 07 February 2003 22:52, peter riegersperger wrote:
> > Hi all!
> >
> > We reactivated a Cocoon-based project that I haven't touched for a while,
> > and I try to get Cocoon (and that project) running on my notebook.
> > Included in this project is a custom generator, and this seems to be a bit
> > of a problem.
> >
> > On the development server, all is running fine, but as soon as I add the
> > custom generator to the sitemap on my notebook, I get the following error:
> >
> > org.apache.cocoon.ProcessingException: Error compiling sitemap:
> > java.lang.NoClassDefFoundError:
> > org/apache/cocoon/generation/AbstractGenerator
> >
> > Our custom generator extends AbstractGenerator, but why can't Cocoon find
> > it? On our server, there's no problem with the custom generator.
> > (The rest of cocoon is running excellent, as is everything else I modified.
> > It's just the mention of the generator)
> >
> > The server is running on cocoon-2.0.3, I'm using 2.0.4 (Source
> > distribution) on my notebook.
> > All in all, I'm running:
> > Linux
> > Tomcat 4.0.4
> > Cocoon 2.0.4 (the source distribution)
> > j2sdk1.4.1_01
> >
> > First, I built Cocoon with
> > ./build.sh  -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps
> > webapp
> >
> > Then, I copied it to /tomcat/webapps
> >
> > I copied the following files to tomcat/common/lib:
> > xalan-2.3.1.jar
> > xercesImpl-2.0.0.jar
> > these two where present:
> > xercesImpl.jar
> > xmlParserAPIs.jar
> >
> > I copied the following files to jdk1.4-home/jre/endorsed:
> > xalan-2.3.1.jar
> > xercesImpl-2.0.0.jar
> > xml-apis.jar
> >
> > The jar with our custom generator is in
> > cocoon/WEB-INF/lib
> > and
> > tomcat/common/lib
> >
> > I've been fiddling around with this the whole day, and obviously I've
> > forgotten something.
> >
> > I hope anyone can help me, and that this mail makes any sense (after 13
> > hours of copying, deleting and modifying files on a 12"-screen),
> >
> > rick
> >
> > ps: In my desperation, I even tried copying the complete cocoon-directory
> > from our server, but the error is exactly the same.
>
>- --
>|-
>| peter riegersperger  <ri...@subnet.at>
>|-
>| ein windows switcher tagebuch:
>| http://forum.subnet.at/viewforum.php?f=22
>|-
>| subnet
>| platform for media art and experimental technologies
>|-
>| http://www.subnet.at/
>|-
>| muehlbacherhofweg 5 // 5020 salzburg // austria
>|-
>| fon/fax +43/662/842 897
>|-
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.7 (GNU/Linux)
>
>iD8DBQE+SBTuIMP39JYOy9IRAkpDAKDEfKf1C8XyBEd600yRj2YxZTx+twCgtKJ1
>iMyuvq4cyWUL+Pn5xjqj+bY=
>=/mC5
>-----END PGP SIGNATURE-----
>
>
>---------------------------------------------------------------------
>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:     <co...@xml.apache.org>
>For additional commands, e-mail:   <co...@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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: custom generator not working on a fresh install

Posted by peter riegersperger <ri...@subnet.at>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi again!

nobody any idea? i'm getting desperate here, so any hint/pointer/tip would be 
very very welcome!

thanks,

rick



On Friday 07 February 2003 22:52, peter riegersperger wrote:
> Hi all!
>
> We reactivated a Cocoon-based project that I haven't touched for a while,
> and I try to get Cocoon (and that project) running on my notebook.
> Included in this project is a custom generator, and this seems to be a bit
> of a problem.
>
> On the development server, all is running fine, but as soon as I add the
> custom generator to the sitemap on my notebook, I get the following error:
>
> org.apache.cocoon.ProcessingException: Error compiling sitemap:
> java.lang.NoClassDefFoundError:
> org/apache/cocoon/generation/AbstractGenerator
>
> Our custom generator extends AbstractGenerator, but why can't Cocoon find
> it? On our server, there's no problem with the custom generator.
> (The rest of cocoon is running excellent, as is everything else I modified.
> It's just the mention of the generator)
>
> The server is running on cocoon-2.0.3, I'm using 2.0.4 (Source
> distribution) on my notebook.
> All in all, I'm running:
> Linux
> Tomcat 4.0.4
> Cocoon 2.0.4 (the source distribution)
> j2sdk1.4.1_01
>
> First, I built Cocoon with
> ./build.sh  -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps
> webapp
>
> Then, I copied it to /tomcat/webapps
>
> I copied the following files to tomcat/common/lib:
> xalan-2.3.1.jar
> xercesImpl-2.0.0.jar
> these two where present:
> xercesImpl.jar
> xmlParserAPIs.jar
>
> I copied the following files to jdk1.4-home/jre/endorsed:
> xalan-2.3.1.jar
> xercesImpl-2.0.0.jar
> xml-apis.jar
>
> The jar with our custom generator is in
> cocoon/WEB-INF/lib
> and
> tomcat/common/lib
>
> I've been fiddling around with this the whole day, and obviously I've
> forgotten something.
>
> I hope anyone can help me, and that this mail makes any sense (after 13
> hours of copying, deleting and modifying files on a 12"-screen),
>
> rick
>
> ps: In my desperation, I even tried copying the complete cocoon-directory
> from our server, but the error is exactly the same.

- -- 
|-
| peter riegersperger  <ri...@subnet.at>
|-
| ein windows switcher tagebuch:
| http://forum.subnet.at/viewforum.php?f=22
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+SBTuIMP39JYOy9IRAkpDAKDEfKf1C8XyBEd600yRj2YxZTx+twCgtKJ1
iMyuvq4cyWUL+Pn5xjqj+bY=
=/mC5
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: custom generator not working on a fresh install

Posted by peter riegersperger <ri...@subnet.at>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 07 February 2003 22:52, peter riegersperger wrote:
[..]
> The server is running on cocoon-2.0.3, I'm using 2.0.4 (Source
> distribution) on my notebook.
> All in all, I'm running:
> Linux
> Tomcat 4.0.4
> Cocoon 2.0.4 (the binary distribution) <-- !!!
> j2sdk1.4.1_01

sorry. I'm using the _source_ distribution (not binary!)

rick

- -- 
|-
| peter riegersperger  <ri...@subnet.at>
|-
| ein windows switcher tagebuch:
| http://forum.subnet.at/viewforum.php?f=22
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+ROGRIMP39JYOy9IRAmE5AJ9cXSstP4qNiIEGHpYCQ+l192n4sACgxmEO
vBf2Mxxl3ixGbRhnZ5RPdAI=
=V5CC
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>