cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Urs Grendelmeier" <urs.grendelme...@svema.ch>
Subject RE: Problem updating cocoon 1.8 to 1.8.1
Date Wed, 24 Jan 2001 00:05:21 GMT
I tried a new way:

i installed tomcat 3.2.1 ... with all the others (apache 1.3.14, jdk 1.3,
cocoon 1.8.1) ...
...and the winner is: not me!

Once again i replaced 1.8.1 by 1.8 (now with tomcat) and the Cocoon.xml
works. (see below)
Something is very very strange.

I also tried the 1.8.1 with the 1.8 cocoon.jar. (see below)



My CLASSPATH:
C:\Programme\jakarta-tomcat-3.2.1\classes;C:\Programme\jakarta-tomcat-3.2.1\
lib\ant.jar;C:\Programme\jakarta-tomcat-3.2.1\lib\ant_1_1.jar;C:\Programme\j
akarta-tomcat-3.2.1\lib\axerces_1_2.jar;C:\Programme\jakarta-tomcat-3.2.1\li
b\bsf.jar;C:\Programme\jakarta-tomcat-3.2.1\lib\bsfengines.jar;C:\Programme\
jakarta-tomcat-3.2.1\lib\cocoon.jar;C:\Programme\jakarta-tomcat-3.2.1\lib\fo
p_0_15_0.jar;C:\Programme\jakarta-tomcat-3.2.1\lib\jasper.jar;C:\Programme\j
akarta-tomcat-.2.1\lib\jaxp.jar;C:\Programme\jakarta-tomcat-3.2.1\lib\sax-bu
gfix.jar;C:\Programme\jakarta-tomcat-3.2.1\lib\servlet.jar;C:\Programme\jaka
rta-tomcat-3.2.1\lib\stylebook-1.0-b2.jar;C:\Programme\jakarta-tomcat-3.2.1\
lib\turbine-pool.jar;C:\Programme\jakarta-tomcat-3.2.1\lib\w3c.jar;C:\Progra
mme\jakarta-tomcat-3.2.1\lib\webserver.jar;C:\Programme\jakarta-tomcat-3.2.1
\lib\xalan_1_2_D02.jar;C:\Programme\jakarta-tomcat-3.2.1\lib\zparser.jar;C:\
jdk1.3\lib\tools.jar



http://localhost/cocoon/Cocoon.xml with Cocoon 1.8.1 returns the following

----------------------------------------------------------------------------
---------
Cocoon 1.8.1
----------------------------------------------------------------------------
---------Publishing Engine could not be initialized.
java.lang.RuntimeException: Exception when creating "
org.apache.cocoon.processor.xsp.XSPProcessor" :
java.lang.NoSuchMethodError: See
http://xml.apache.org/cocoon/faqs.html#faq-normalize
	at org.apache.cocoon.framework.Manager.create(Manager.java:124)
	at org.apache.cocoon.framework.Router.init(Router.java:80)
	at org.apache.cocoon.framework.Manager.create(Manager.java:109)
	at org.apache.cocoon.Engine.<init>(Engine.java:179)
	at org.apache.cocoon.Engine.getInstance(Engine.java:232)
	at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
	at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
	at org.apache.tomcat.core.Handler.init(Handler.java:215)
	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
	at org.apache.tomcat.core.Handler.service(Handler.java:254)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)
----------------------------------------------------------------------------
---------



http://localhost/cocoon/Cocoon.xml with Cocoon 1.8 returns the following

----------------------------------------------------------------------------
---------
Cocoon 1.8
----------------------------------------------------------------------------
---------Environment
Total Memory 5406720
Configurations cocoon.properties
Free Memory 2017768
Servlet Engine Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0;
Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)
...
----------------------------------------------------------------------------
---------


> "Urs Grendelmeier" <urs.grendelmeier@svema.ch> wrote:
> >Thank's for help, Robin.
> >
> > > Read the error message fully. It should tell you an URL to look at.
> >
> >this one...
> >(java.lang.NoSuchMethodError: See
> >http://xml.apache.org/cocoon/faqs.html#faq-normalize)
> >I looked at it and i placed the xerces.jar before all the other
> jars in my
> >CLASSPATH. But there ist still the same problem.
>
> You mean wrapper.classpath, right?
>
> >
> >After all, i cleaned up my CLASSPATH, uninstalled and reinstalled JDK,
> >JSDK,
> >JServ and Cocoon 1.8.1 - but it doesn't work! Still the same
> message. When
> >i
> >reinstall 1.8 everithing works fine.
>
> Weird. Try installing cocoon 1.8.1, then replace the cocoon.jar
> with the old
> one. What happens now?
>
>

http://localhost/cocoon/Cocoon.xml with Cocoon 1.8.1 and cocoon.jar 1.8
returns the following

----------------------------------------------------------------------------
---------
Publishing Engine could not be initialized.
java.lang.RuntimeException: Error creating
org.apache.cocoon.processor.LinkEncodingProcessor: class is not found
	at org.apache.cocoon.framework.Manager.create(Manager.java:106)
	at org.apache.cocoon.framework.Router.init(Router.java:80)
	at org.apache.cocoon.framework.Manager.create(Manager.java:101)
	at org.apache.cocoon.Engine.(Engine.java:171)
	at org.apache.cocoon.Engine.getInstance(Engine.java:218)
	at org.apache.cocoon.Cocoon.init(Cocoon.java:141)
	at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
	at org.apache.tomcat.core.Handler.init(Handler.java:215)
	at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
	at org.apache.tomcat.core.Handler.service(Handler.java:254)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)

----------------------------------------------------------------------------
---------



Mime
View raw message