You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Kari M. Scott" <km...@pandora.binc.net> on 2000/03/06 20:02:57 UTC

problem installing cocoon 1.7


Sorry to rehash this discussion, but I'm just now getting around to
upgrading.  I'm using Red Hat 6.0.

Here's the error:

Publishing Engine could not be initialized.
        java.lang.RuntimeException: Error creating
org.apache.cocoon.formatter.XMLFormatter: make sure the needed classes can
be found in the classpath (org/apache/xml/serialize/SerializerFactory)

Here are the wrapper.classpaths I specify in my jserv.properties file:

wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar
wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/usr/local/jdk118_v1/lib/classes.zip
wrapper.classpath=/usr/local/src/mm.mysql.jdbc-1.2b/mysql_uncomp.jar
wrapper.classpath=/usr/home/kmscott/website/servlet
wrapper.classpath=/usr/local/src/cocoon-1.7/bin/cocoon.jar
wrapper.classpath=/usr/local/src/xerces-1_0_0/xerces.jar
wrapper.classpath=/usr/local/src/xalan/xalan_0_19_5/xalan.jar
wrapper.classpath=/usr/local/src/cocoon-1.7/lib/fop_0_12_1.jar
wrapper.classpath=/usr/local/src/cocoon-1.7/lib/ant.jar
wrapper.classpath=/usr/local/src/cocoon-1.7/lib/servlet_2_2.jar
wrapper.classpath=/usr/local/src/cocoon-1.7/lib/stylebook-1.0-b2.jar
wrapper.classpath=/usr/local/src/cocoon-1.7/lib/xml.jar


Any help would be greatly appreciated.

-Kari



Kari M. Scott
Berbee
5520 Research Park Drive
Madison, WI  53711-5377
kmscott@berbee.com
608.288.3000 ext. 1223
608.298.1223 direct dial
608.288.3037 fax

Berbee...putting the E in business


Re: problem installing cocoon 1.7

Posted by Michel Lehon <na...@hotmail.com>.
From: Michel Lehon <na...@hotmail.com>
> From: Kari M. Scott <km...@pandora.binc.net>
>
> > Sorry to rehash this discussion, but I'm just now getting around to
> > upgrading.  I'm using Red Hat 6.0.
> >
> > Here's the error:
> >
> > Publishing Engine could not be initialized.
> >         java.lang.RuntimeException: Error creating
> > org.apache.cocoon.formatter.XMLFormatter: make sure the needed classes
can
> > be found in the classpath (org/apache/xml/serialize/SerializerFactory)
> >
> > Here are the wrapper.classpaths I specify in my jserv.properties file:
> >
> > wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar
> > wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
> > wrapper.classpath=/usr/local/jdk118_v1/lib/classes.zip
> > wrapper.classpath=/usr/local/src/mm.mysql.jdbc-1.2b/mysql_uncomp.jar
> > wrapper.classpath=/usr/home/kmscott/website/servlet
> > wrapper.classpath=/usr/local/src/cocoon-1.7/bin/cocoon.jar
> > wrapper.classpath=/usr/local/src/xerces-1_0_0/xerces.jar
>
> You must use Xerces 1.0.1.
>
> > wrapper.classpath=/usr/local/src/xalan/xalan_0_19_5/xalan.jar
> > wrapper.classpath=/usr/local/src/cocoon-1.7/lib/fop_0_12_1.jar
>
> > wrapper.classpath=/usr/local/src/cocoon-1.7/lib/ant.jar
> > wrapper.classpath=/usr/local/src/cocoon-1.7/lib/servlet_2_2.jar
> > wrapper.classpath=/usr/local/src/cocoon-1.7/lib/stylebook-1.0-b2.jar
> > wrapper.classpath=/usr/local/src/cocoon-1.7/lib/xml.jar
>
> The last 4 are not needed for Cocoon at run-time, their use is:
> ant.jar + xml.jar + servlet_2_2.jar : build cocoon and generate Javadoc.
> Stylebook-1.0-b2.jar : Generate the docs.
>
> >
> > Any help would be greatly appreciated.
> >
> > -Kari
> >

Answering myself here are a few more details to use Xalan and Xerces with
Cocoon
1°) you MUST use Xerces 1.0.1 or later.
2a°) if you use Xerces 1.0.1 you must use Xalan from the 0.19.x series
(0.19.5 works fine).
2b°) if you use Xerces 1.0.2 you must use Xalan from the 0.20.x series (I
did small tests with 0.20.0 and it seems fine, although I disn't try XSP
yet).


Michel Lehon
Michel.lehon@Outwares.com
SAS Datawarehousing and Web enablement.

Re: problem installing cocoon 1.7

Posted by Michel Lehon <na...@hotmail.com>.
From: Kari M. Scott <km...@pandora.binc.net>

> Sorry to rehash this discussion, but I'm just now getting around to
> upgrading.  I'm using Red Hat 6.0.
>
> Here's the error:
>
> Publishing Engine could not be initialized.
>         java.lang.RuntimeException: Error creating
> org.apache.cocoon.formatter.XMLFormatter: make sure the needed classes can
> be found in the classpath (org/apache/xml/serialize/SerializerFactory)
>
> Here are the wrapper.classpaths I specify in my jserv.properties file:
>
> wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar
> wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
> wrapper.classpath=/usr/local/jdk118_v1/lib/classes.zip
> wrapper.classpath=/usr/local/src/mm.mysql.jdbc-1.2b/mysql_uncomp.jar
> wrapper.classpath=/usr/home/kmscott/website/servlet
> wrapper.classpath=/usr/local/src/cocoon-1.7/bin/cocoon.jar
> wrapper.classpath=/usr/local/src/xerces-1_0_0/xerces.jar

You must use Xerces 1.0.1.

> wrapper.classpath=/usr/local/src/xalan/xalan_0_19_5/xalan.jar
> wrapper.classpath=/usr/local/src/cocoon-1.7/lib/fop_0_12_1.jar

> wrapper.classpath=/usr/local/src/cocoon-1.7/lib/ant.jar
> wrapper.classpath=/usr/local/src/cocoon-1.7/lib/servlet_2_2.jar
> wrapper.classpath=/usr/local/src/cocoon-1.7/lib/stylebook-1.0-b2.jar
> wrapper.classpath=/usr/local/src/cocoon-1.7/lib/xml.jar

The last 4 are not needed for Cocoon at run-time, their use is:
ant.jar + xml.jar + servlet_2_2.jar : build cocoon and generate Javadoc.
Stylebook-1.0-b2.jar : Generate the docs.

>
> Any help would be greatly appreciated.
>
> -Kari
>

Michel Lehon
Michel.lehon@Outwares.com
SAS Datawarehousing and Web enablement.

Re: Servlet engine

Posted by Russell Castagnaro <ru...@synctank.com>.
Ulrich,
I'm using it for several reasons:

   * It is much faster than any other pure java servlet engines out there.
   * The support staff pay special attention to trouble issues and special
     requests.
   * Its relatively inexpensive when compared to Jrun and new atlanta, etc...
   * It is clusterable.
   * It has 'plug ins' for Netscape, IIS and Apache
   * It is very small, which to me means good code.

On the negative side:

   * If you want to use SSL you have to use iserver as a plugin to another
     webserver, since it doesn't have built in support. (Of course I don't
     recommend anyone using software based ssl anymore)

I use/recommend  BEA Weblogic for Enterprise level services and Iserver for web
services.  In some cases I've recommended Iserver as a cluster controller for a
weblogic cluster too.
You are already on the right track since you are looking at Cocoon too.
-rrc
Ulrich Mayring wrote:

> Russell Castagnaro wrote:
> >
> > Iserver is great for this too.
> > http://www.servertec.com
>
> Hi Russell,
>
> I hope that I am not intruding and that you have a minute or so for my
> question.
>
> We are currently looking for a servlet runner with extreme performance
> and stability to replace JServ, so I looked at iServer and it doesn't
> sound too bad. What are, in your mind, the strong points of iServer? Why
> are you using it? Are there other products I should look at?
>
> thanks in advance for any pointers,
>
> Ulrich
>
> --
> Ulrich Mayring
> DENIC eG, Softwareentwicklung
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

--

Russell Castagnaro
Chief Mentor
SyncTank Solutions
http://www.synctank.com

Earth is the cradle of mankind; one does not remain in the cradle forever
-Tsiolkovsky



Re: Servlet engine

Posted by Ulrich Mayring <ul...@denic.de>.
Russell Castagnaro wrote:
> 
> Iserver is great for this too.
> http://www.servertec.com

Hi Russell,

I hope that I am not intruding and that you have a minute or so for my
question.

We are currently looking for a servlet runner with extreme performance
and stability to replace JServ, so I looked at iServer and it doesn't
sound too bad. What are, in your mind, the strong points of iServer? Why
are you using it? Are there other products I should look at?

thanks in advance for any pointers,

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung

RE: Servlet engine

Posted by JJD <jj...@home.com>.
After looking over both suggestions from Russell Castagnaro, and John Ky I
realized I need to go even further back. Instructions for loading the
servlet recommend installing Apache server. I also need JSDK 2.0, etc.. I
have a long ways to go, but I'll get it all. Thank again for the assistance
JJD

-----Original Message-----
From: Russell Castagnaro [mailto:russell@synctank.com]
Sent: Monday, March 06, 2000 8:36 PM
To: cocoon-users@xml.apache.org
Subject: Re: Servlet engine


Iserver is great for this too.
http://www.servertec.com

John Ky wrote:

> > Hi: Where would I get the "Servlet Engine A Servlet
> > 2.x compliant servlet engine" that is required prior to
> > loading Cocoon? Thanks JJD
>
> I find jserv an excellent option. (see java.apache.org)
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

--

Russell Castagnaro
Chief Mentor
SyncTank Solutions
http://www.synctank.com

Earth is the cradle of mankind; one does not remain in the cradle forever
-Tsiolkovsky



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


Re: Servlet engine

Posted by Russell Castagnaro <ru...@synctank.com>.
Iserver is great for this too.
http://www.servertec.com

John Ky wrote:

> > Hi: Where would I get the "Servlet Engine A Servlet
> > 2.x compliant servlet engine" that is required prior to
> > loading Cocoon? Thanks JJD
>
> I find jserv an excellent option. (see java.apache.org)
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

--

Russell Castagnaro
Chief Mentor
SyncTank Solutions
http://www.synctank.com

Earth is the cradle of mankind; one does not remain in the cradle forever
-Tsiolkovsky



Re: Servlet engine

Posted by John Ky <ne...@yahoo.com>.
> Hi: Where would I get the "Servlet Engine A Servlet
> 2.x compliant servlet engine" that is required prior to
> loading Cocoon? Thanks JJD

I find jserv an excellent option. (see java.apache.org)


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Servlet engine

Posted by JJD <jj...@home.com>.
Hi: Where would I get the "Servlet Engine A Servlet 2.x compliant servlet
engine" that is required prior to loading Cocoon? Thanks JJD


RE: yet another xsp question...

Posted by "K. Rumman Akhter" <ka...@sputnik7.com>.
this may be not the most appropriate place to post this, but has anyone used
an xsp'ed front end to allow the client to upload files (plain text)? i need
a way to save a user supplied text file in the server (all my users are
authenticated in advance so security is not an issue, plus, i am behind a
firewall)...any hints/directions would be helpful...
thanks,

RUm