You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alexander Reifinger <A....@holl-gmbh.de> on 2002/03/19 11:38:15 UTC
Re: Lib placement problem
Hi John,
> > In our JSP application I included an dynamic output as PDF,
> > done via Cocoon on tomcat 3.2.
> > This has worked once, but somehow does not anymore. After
> > fiddling around and reading FAQ's and so on I decided to try
> > Cocoon 2 and Tomcat 4, but could not get it to work again.
> > Anyway, right now I am back to cocoon 1.8.2 on tomcat 4.0.3
> > and I seem to be stuck to the following error message no
> > matter what I try:
> Have you tried _both_ /server/lib and /ROOT/lib? I believe there's a
> documented issue with Tomcat 4 earlier than 4.0.4 that's resolved
> by placing
> jars in both the server-only /lib folder (/server/lib), and in the
> web-apps-only /lib folder (/lib).
> Disclaimer: this is from recollection, and a recent problem I had
> porting a
> site to Tomcat (from Jrun 3.0). Your milage may vary, I'd
> appreciate it if
> someone with more knowledge than me added comments if I've got it wrong...
> John
I just tried that again, no difference. Maybe I will have to copy my tomcat
folder from home where Cocoon works and alas go back to tomcat 3.2. But
still I don't see why one time he can find the cocoon.class and the other
time he cannot find the utils.xsl which resides in exactly the jar file?
Maybe anyone else can explain this to me, or maybe I do not get the problem
at all?
Thanks,
Alexander
> > java.lang.RuntimeException: Error loading logicsheet at
> > resource://org/apache/cocoon/processor/xsp/library/java/util.x
> > sl due to
> > java.lang.Exception: Resource not found or retrieving error.
> > at
> > org.apache.cocoon.processor.xsp.XSPProcessor.init(XSPProcessor
> > .java:302)
> > [...]
> > at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
> > [...]
> > This util.xsl is included in the cocoon.jar, which he
> > obviously found, as the Cocoon.init() line shows.
> > I thought it might have something to do with the placement of
> > the jars (in WEB-INF/lib, in tomcat/lib, in
> > tomcat/common/lib...), but the error shows no matter where I
> > place the jars. Also renaming cocoon.jar to acocoon.jar or
> > zcocoon.jar to try to alter its position in the Classpath
> > does not change anything.
> > What else could I look at to find what's going wrong? I was
> > wondering whether to post this here or in the cocoon list,
> > but I think it has something to do with a problem in (my
> > understanding of) searching the classpath so I decided to
> > post it here. In case you think this was a wrong decision,
> > tell me so and I will contact the cocoon group.
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>