cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Uyttenhove" <juytt...@xume.be>
Subject RE: C2 Installation on JRun 3.x...
Date Tue, 27 Nov 2001 20:55:34 GMT
Well, I also managed to get it working but I can confirm your problem.

It has something to do with the order of the JARs in the classpath.
Conflicts between JRun JARs and Cocoon JARs, and off course JRun wins... :-)
You can change the order of how the classpath is composed in the
global.properties file in the JRun/lib directory.

e.g. if you put the user.classpath in front, things work fine with all the
Cocoon JARs in the WEB-INF/lib.
Off course it does... but who wants to work like this if you have more than
one server running?

Jan

-----Original Message-----
From: SANSONE, AARON M [Non-Pharmacia/1000]
[mailto:aaron.m.sansone@monsanto.com]
Sent: woensdag 21 november 2001 17:09
To: Cocoon-Users (E-mail)
Subject: C2 Installation on JRun 3.x...


Has anyone successfully installed C2 on a JRun Servlet engine?  I have had
some success but am trying to package an application as a WAR file and
deploy.  My problem is that Cocoon2 won't run unless the JAR files are
located in the JRun server lib directory.  According to the Servlet 2.2
spec, the JAR files for cocoon2 should be placed in the WEB-INF/lib
directory and picked up by the Servlet engine.  However when I do this I get
the following error message:

/cocoon2/:

null
java.lang.NoSuchMethodError
	at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.<init>
(DefaultConfigurationBuilder.java:38)
	at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:398)
	at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:128)
	at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JRunSe
rvletLoader.java:203)
	at
allaire.jrun.servlet.JRunServletLoader.loadServletInstance(../servlet/JRunSe
rvletLoader.java:161)
	at
allaire.jrun.servlet.JRunServletLoader.loadServlet(../servlet/JRunServletLoa
der.java:149)
	at
allaire.jrun.servlet.JRunSE.getServletReference(../servlet/JRunSE.java:1705)
	at
allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1231)
	at
allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDis
patcher.java:89)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
	at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
	at
allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
	at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:115)
	at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
	at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)


Anyone have any ideas?


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message