You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Torsten Curdt <tc...@dff.st> on 2000/09/26 21:31:39 UTC

RE: JRun 3.0 and no XSP

> > I just upgraded to cocoon 1.8 (wanted to do
> > this anyway) and tried the examples...
> >
> > All XSP stuff is broken... What did I do wrong?
> > Can't be that broken since cocoon comes up with
> > the Cocoom.xml...
>
> without any debugging information, all we can do is guess. your classpath
> left out a critical library? your repository is not writable by the
> servlet engine?

Ok.. I'm giving you all I can... ;)

the problem is that you don't explicitly definde a CLASSPATH
with JRUN (at least I don't know where) but you define directories
with jars.

{jrun.root.dir}/servers/lib
{jrun.servers.rootdir}/lib

and somehow he finds this path by himself... (?)

{jrun.servers.rootdir}/default/cocoon-app/WEB-INF/lib

These jars come with JRUN:
Verzeichnis von D:\JRun\lib
19.05.00  12:59                 15.202 default_exports.jar
19.05.00  12:59                 34.290 default_objects.jar
19.05.00  12:59                323.245 ejipt.jar
19.05.00  12:59                 83.977 ejipt_client.jar
19.05.00  12:59                 40.162 ejipt_ejbeans.jar
19.05.00  12:59                 61.717 ejipt_jms_client.jar
19.05.00  12:59                 44.231 ejipt_tools.jar
19.05.00  13:02                 96.696 install.jar
18.04.00  15:56                193.943 jasper.jar
19.05.00  13:02                527.652 jrun.jar
19.05.00  13:02                129.594 jsp.jar
19.05.00  13:02                 20.608 jsprt.jar
21.04.00  16:06                294.211 rhino.jar
19.05.00  13:02                 50.751 ssi.jar
21.04.00  16:06                 54.734 wddx.jar
21.04.00  16:06                352.905 xt.jar

Verzeichnis von D:\JRun\lib\ext
21.04.00  16:06                  7.958 ejb.jar
21.04.00  16:06                  5.537 jaxp.jar
21.04.00  16:06                  6.727 jdbc.jar
21.04.00  16:06                 22.155 jms.jar
21.04.00  16:06                 97.158 jndi.jar
21.04.00  16:06                  8.809 jta.jar
21.04.00  16:06                136.198 parser.jar  <= seems to be the same as
the cocoon xml.jar
21.04.00  16:06                 13.380 pop3.jar
21.04.00  16:06                 40.956 servlet.jar <= seems to be the same as
the cocoon servlet.jar

This is what I have for cocoon:
Verzeichnis von D:\JRun\servers\default\cocoon-app\WEB-INF\lib
21.05.99  14:14                 45.386 activation.jar <= mailing
23.09.00  00:43                179.136 ant_1_1.jar
23.09.00  00:43                 50.369 bsf.jar
23.09.00  00:43                 26.618 bsfengines.jar
23.09.00  00:43                244.389 cocoon.jar
25.09.00  15:50                 42.065 dff.jar		 <= our beans
23.09.00  00:43                370.612 fop_0_13_0.jar
04.07.00  10:23                587.131 jconnect.jar    <= sybase jdbc driver
18.02.00  09:56                234.333 mail.jar        <= mailing
23.09.00  00:43                 40.944 servlet_2_2.jar <= needed? we've
servlet.jar already
23.09.00  00:43                 62.237 stylebook-1.0-b2.jar
23.09.00  00:43                 49.271 turbine-pool.jar
23.09.00  00:43                437.913 xalan_1_2_D02.jar
23.09.00  00:43              1.498.679 xerces_1_2.jar

Since cocoon starts up and works except the xsp stuff I'm
not quite sure if can be a CLASSPATH problem.
(finds cocoon.jar, the DOM classes, xerces, ...)

Writing to the repository:
I've checked the repository there was no file in it...

Hope this provides a better basis on helping ;)
--
Torsten


Re: JRun 3.0 and no XSP

Posted by Mac Schwarz <mc...@phil.uni-erlangen.de>.
> > This is what I have for cocoon:
> > Verzeichnis von D:\JRun\servers\default\cocoon-app\WEB-INF\lib
> > 21.05.99  14:14                 45.386 activation.jar <= mailing
> > 23.09.00  00:43                179.136 ant_1_1.jar
> > 23.09.00  00:43                 50.369 bsf.jar
> > 23.09.00  00:43                 26.618 bsfengines.jar
> > 23.09.00  00:43                244.389 cocoon.jar
> > 25.09.00  15:50                 42.065 dff.jar                 <= our beans
> > 23.09.00  00:43                370.612 fop_0_13_0.jar
> > 04.07.00  10:23                587.131 jconnect.jar    <= sybase jdbc driver
> > 18.02.00  09:56                234.333 mail.jar        <= mailing
> > 23.09.00  00:43                 40.944 servlet_2_2.jar <= needed? we've
> > servlet.jar already
> > 23.09.00  00:43                 62.237 stylebook-1.0-b2.jar
> > 23.09.00  00:43                 49.271 turbine-pool.jar
> > 23.09.00  00:43                437.913 xalan_1_2_D02.jar
> > 23.09.00  00:43              1.498.679 xerces_1_2.jar
> >

BTW, I think ant*.jar and stylebook*.jar is only needed for the build of
cocoon and the documentation so you don't need it in your CLASSPATH for
run-time.

And when I used Tomcat I didn't copy servlet_2_2.jar either. I used the
servlet.jar from Tomcat IIRC.

mac

-- 
Mac Schwarz / AERIA Projekt / Inst. f. Klassische Archaeologie
e-mail: mac@aeria.phil.uni-erlangen.de  / Tel.: 09131-85-24791
 FAU Erlangen-Nuernberg   /   Kochstr.4   /   91054 Erlangen
  <http://www.phil.uni-erlangen.de/~p1altar/aeriahome.html>

RE: JRun 3.0 and no XSP

Posted by Torsten Curdt <tc...@dff.st>.
> try putting all the cocoon related jars into D:\jrun\lib
> restart and see what happens.

Now I tried all the lib dirs...

Still no XSP :(

At the other dirs JRUN at least finds the jars
--
Torsten

 


RE: JRun 3.0 and no XSP

Posted by Torsten Curdt <tc...@dff.st>.
That's strange...

I put all the jars into D:\jrun\lib and get

javax.servlet.ServletException: Could not instantiate org.apache.cocoon.Cocoon
java.lang.ClassNotFoundException: org.apache.cocoon.Cocoon
[org.apache.cocoon.Cocoon]
...

The class loader cannot find the cocoon class anymore?

> try putting all the cocoon related jars into D:\jrun\lib
> restart and see what happens.

[snip]
--
Torsten


RE: JRun 3.0 and no XSP

Posted by Russ White <ru...@earthlink.net>.
try putting all the cocoon related jars into D:\jrun\lib
restart and see what happens.

> -----Original Message-----
> From: Torsten Curdt [mailto:tcurdt@dff.st]
> Sent: Tuesday, September 26, 2000 3:32 PM
> To: cocoon-users@xml.apache.org
> Subject: RE: JRun 3.0 and no XSP
> 
> 
> > > I just upgraded to cocoon 1.8 (wanted to do
> > > this anyway) and tried the examples...
> > >
> > > All XSP stuff is broken... What did I do wrong?
> > > Can't be that broken since cocoon comes up with
> > > the Cocoom.xml...
> >
> > without any debugging information, all we can do is guess. your classpath
> > left out a critical library? your repository is not writable by the
> > servlet engine?
> 
> Ok.. I'm giving you all I can... ;)
> 
> the problem is that you don't explicitly definde a CLASSPATH
> with JRUN (at least I don't know where) but you define directories
> with jars.
> 
> {jrun.root.dir}/servers/lib
> {jrun.servers.rootdir}/lib
> 
> and somehow he finds this path by himself... (?)
> 
> {jrun.servers.rootdir}/default/cocoon-app/WEB-INF/lib
> 
> These jars come with JRUN:
> Verzeichnis von D:\JRun\lib
> 19.05.00  12:59                 15.202 default_exports.jar
> 19.05.00  12:59                 34.290 default_objects.jar
> 19.05.00  12:59                323.245 ejipt.jar
> 19.05.00  12:59                 83.977 ejipt_client.jar
> 19.05.00  12:59                 40.162 ejipt_ejbeans.jar
> 19.05.00  12:59                 61.717 ejipt_jms_client.jar
> 19.05.00  12:59                 44.231 ejipt_tools.jar
> 19.05.00  13:02                 96.696 install.jar
> 18.04.00  15:56                193.943 jasper.jar
> 19.05.00  13:02                527.652 jrun.jar
> 19.05.00  13:02                129.594 jsp.jar
> 19.05.00  13:02                 20.608 jsprt.jar
> 21.04.00  16:06                294.211 rhino.jar
> 19.05.00  13:02                 50.751 ssi.jar
> 21.04.00  16:06                 54.734 wddx.jar
> 21.04.00  16:06                352.905 xt.jar
> 
> Verzeichnis von D:\JRun\lib\ext
> 21.04.00  16:06                  7.958 ejb.jar
> 21.04.00  16:06                  5.537 jaxp.jar
> 21.04.00  16:06                  6.727 jdbc.jar
> 21.04.00  16:06                 22.155 jms.jar
> 21.04.00  16:06                 97.158 jndi.jar
> 21.04.00  16:06                  8.809 jta.jar
> 21.04.00  16:06                136.198 parser.jar  <= seems to be the same as
> the cocoon xml.jar
> 21.04.00  16:06                 13.380 pop3.jar
> 21.04.00  16:06                 40.956 servlet.jar <= seems to be the same as
> the cocoon servlet.jar
> 
> This is what I have for cocoon:
> Verzeichnis von D:\JRun\servers\default\cocoon-app\WEB-INF\lib
> 21.05.99  14:14                 45.386 activation.jar <= mailing
> 23.09.00  00:43                179.136 ant_1_1.jar
> 23.09.00  00:43                 50.369 bsf.jar
> 23.09.00  00:43                 26.618 bsfengines.jar
> 23.09.00  00:43                244.389 cocoon.jar
> 25.09.00  15:50                 42.065 dff.jar		 <= our beans
> 23.09.00  00:43                370.612 fop_0_13_0.jar
> 04.07.00  10:23                587.131 jconnect.jar    <= sybase jdbc driver
> 18.02.00  09:56                234.333 mail.jar        <= mailing
> 23.09.00  00:43                 40.944 servlet_2_2.jar <= needed? we've
> servlet.jar already
> 23.09.00  00:43                 62.237 stylebook-1.0-b2.jar
> 23.09.00  00:43                 49.271 turbine-pool.jar
> 23.09.00  00:43                437.913 xalan_1_2_D02.jar
> 23.09.00  00:43              1.498.679 xerces_1_2.jar
> 
> Since cocoon starts up and works except the xsp stuff I'm
> not quite sure if can be a CLASSPATH problem.
> (finds cocoon.jar, the DOM classes, xerces, ...)
> 
> Writing to the repository:
> I've checked the repository there was no file in it...
> 
> Hope this provides a better basis on helping ;)
> --
> Torsten
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> 

Re: JRun 3.0 and no XSP

Posted by Larsen <sg...@mediaone.net>.
Since I'm coming into this in the middle I may not be suggesting something you
already know/have tried, but I just finished painfully configuring JRun 3 w/Coccon
1.8 and found the following to solve my XSP problem (assuming you are on WIN
platform) (got it off the Cocoon Mailing list, link is below):

browse to your JRun directory and look under \lib\ext\ for Parser.jar. (make a
duplicate of the file for backup). Shut down JRun and open winzip and browse to the
JRun\lib\ext\ directory and open Parser.jar. Find the block of classes that belong
to directory \org\w3c\dom\ and delete all of them. Close winzip and restart JRun.
Worked for me...

link to message: http://archives2.real-time.com/rte-cocoon/2000/Jun/msg01047.html

Hope it's some help.
-steve


Torsten Curdt wrote:

> > -----Original Message-----
> > From: Donald Ball [mailto:balld@webslingerZ.com]
> > Sent: Tuesday, September 26, 2000 9:39 PM
> > To: cocoon-users@xml.apache.org
> > Subject: RE: JRun 3.0 and no XSP
> >
> >
> > On Tue, 26 Sep 2000, Torsten Curdt wrote:
> >
> > > > > I just upgraded to cocoon 1.8 (wanted to do
> > > > > this anyway) and tried the examples...
> > > > >
> > > > > All XSP stuff is broken... What did I do wrong?
> > > > > Can't be that broken since cocoon comes up with
> > > > > the Cocoom.xml...
> > > >
> > > > without any debugging information, all we can do is guess. your classpath
> > > > left out a critical library? your repository is not writable by the
> > > > servlet engine?
> > >
> > > Ok.. I'm giving you all I can... ;)
> >
> > everything except what error you get upon trying to hit an XSP page. "is
> > broken" is verrry general.
>
> If you want the stack trace - I posted it some mails before...
> Sorry, don't know what else information I can give... :(
>
> java.lang.NoSuchMethodError
> at
> org.apache.cocoon.processor.xinclude.XIncludeProcessor$XIncludeProcessorWorker.p
> rocess(XIncludeProcessor.java:150)
> at
> org.apache.cocoon.processor.xinclude.XIncludeProcessor$XIncludeProcessorWorker.p
> rocess(XIncludeProcessor.java:146)
> at
> org.apache.cocoon.processor.xinclude.XIncludeProcessor.process(XIncludeProcessor
> .java:80)
> at org.apache.cocoon.Engine.handle(Engine.java:305)
> at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
> at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
> at
> allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88
> )
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
> at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
> at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
> at allaire.jrun.ThreadPool.run(ThreadPool.java:267)
> at allaire.jrun.WorkerThread.run(WorkerThread.java:74)
> --
> Torsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


RE: JRun 3.0 and no XSP

Posted by Donald Ball <ba...@webslingerZ.com>.
On Tue, 26 Sep 2000, Torsten Curdt wrote:

> > -----Original Message-----
> > From: Donald Ball [mailto:balld@webslingerZ.com]
> > Sent: Tuesday, September 26, 2000 9:39 PM
> > To: cocoon-users@xml.apache.org
> > Subject: RE: JRun 3.0 and no XSP
> >
> >
> > On Tue, 26 Sep 2000, Torsten Curdt wrote:
> >
> > > > > I just upgraded to cocoon 1.8 (wanted to do
> > > > > this anyway) and tried the examples...
> > > > >
> > > > > All XSP stuff is broken... What did I do wrong?
> > > > > Can't be that broken since cocoon comes up with
> > > > > the Cocoom.xml...
> > > >
> > > > without any debugging information, all we can do is guess. your classpath
> > > > left out a critical library? your repository is not writable by the
> > > > servlet engine?
> > >
> > > Ok.. I'm giving you all I can... ;)
> >
> > everything except what error you get upon trying to hit an XSP page. "is
> > broken" is verrry general.
> 
> If you want the stack trace - I posted it some mails before...
> Sorry, don't know what else information I can give... :(
> 
> java.lang.NoSuchMethodError
> at
> org.apache.cocoon.processor.xinclude.XIncludeProcessor$XIncludeProcessorWorker.p
> rocess(XIncludeProcessor.java:150)
> at
> org.apache.cocoon.processor.xinclude.XIncludeProcessor$XIncludeProcessorWorker.p
> rocess(XIncludeProcessor.java:146)
> at
> org.apache.cocoon.processor.xinclude.XIncludeProcessor.process(XIncludeProcessor
> .java:80)
> at org.apache.cocoon.Engine.handle(Engine.java:305)
> at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
> at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
> at
> allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88
> )
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
> at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
> at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
> at allaire.jrun.ThreadPool.run(ThreadPool.java:267)
> at allaire.jrun.WorkerThread.run(WorkerThread.java:74)

this stack trace has nothing to do with xsp, it's strictly about xinclude
processor, and you said that this stracktrace was with cocoon-1.7.5.

- donald


RE: JRun 3.0 and no XSP

Posted by Torsten Curdt <tc...@dff.st>.

> -----Original Message-----
> From: Donald Ball [mailto:balld@webslingerZ.com]
> Sent: Tuesday, September 26, 2000 9:39 PM
> To: cocoon-users@xml.apache.org
> Subject: RE: JRun 3.0 and no XSP
>
>
> On Tue, 26 Sep 2000, Torsten Curdt wrote:
>
> > > > I just upgraded to cocoon 1.8 (wanted to do
> > > > this anyway) and tried the examples...
> > > >
> > > > All XSP stuff is broken... What did I do wrong?
> > > > Can't be that broken since cocoon comes up with
> > > > the Cocoom.xml...
> > >
> > > without any debugging information, all we can do is guess. your classpath
> > > left out a critical library? your repository is not writable by the
> > > servlet engine?
> >
> > Ok.. I'm giving you all I can... ;)
>
> everything except what error you get upon trying to hit an XSP page. "is
> broken" is verrry general.

If you want the stack trace - I posted it some mails before...
Sorry, don't know what else information I can give... :(

java.lang.NoSuchMethodError
at
org.apache.cocoon.processor.xinclude.XIncludeProcessor$XIncludeProcessorWorker.p
rocess(XIncludeProcessor.java:150)
at
org.apache.cocoon.processor.xinclude.XIncludeProcessor$XIncludeProcessorWorker.p
rocess(XIncludeProcessor.java:146)
at
org.apache.cocoon.processor.xinclude.XIncludeProcessor.process(XIncludeProcessor
.java:80)
at org.apache.cocoon.Engine.handle(Engine.java:305)
at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88
)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
at allaire.jrun.ThreadPool.run(ThreadPool.java:267)
at allaire.jrun.WorkerThread.run(WorkerThread.java:74)
--
Torsten


RE: JRun 3.0 and no XSP

Posted by Donald Ball <ba...@webslingerZ.com>.
On Tue, 26 Sep 2000, Torsten Curdt wrote:

> > > I just upgraded to cocoon 1.8 (wanted to do
> > > this anyway) and tried the examples...
> > >
> > > All XSP stuff is broken... What did I do wrong?
> > > Can't be that broken since cocoon comes up with
> > > the Cocoom.xml...
> >
> > without any debugging information, all we can do is guess. your classpath
> > left out a critical library? your repository is not writable by the
> > servlet engine?
> 
> Ok.. I'm giving you all I can... ;)

everything except what error you get upon trying to hit an XSP page. "is
broken" is verrry general.

- donald