You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by MORÁVEK Peter <mo...@pobox.sk> on 2000/02/29 12:04:08 UTC

Installation problems

Hello,

I've run the version 1.5 on the WinNT4.0, Apache1.3.9, JServ1.0b?.
Everything worked fine.

Now I've reinstalled my Apache to run with Cocoon1.7 on WinNT4.0,
Apache1.3.9, JServ1.1.
The Apache is running well, the JServ is running well, but when I want to
run the /Cocoon.xml
there is a log entry :
[29/02/2000 11:32:30:707 GMT+01:00] java.lang.AbstractMethodError:
org/apache/jserv/JServContext.getContext
	at
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:579)
	at
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:48
8)
	at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:266)
	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
	at java.lang.Thread.run(Thread.java:479)

Please help ...

Peter Moravek

Re: Installation problems

Posted by Ross Burton <bu...@dcs.kcl.ac.uk>.
> I've run the version 1.5 on the WinNT4.0, Apache1.3.9, JServ1.0b?.
> Everything worked fine.
>
> Now I've reinstalled my Apache to run with Cocoon1.7 on WinNT4.0,
> Apache1.3.9, JServ1.1.
> The Apache is running well, the JServ is running well, but when I want to
> run the /Cocoon.xml
> there is a log entry :
> [29/02/2000 11:32:30:707 GMT+01:00] java.lang.AbstractMethodError:
> org/apache/jserv/JServContext.getContext
> at
>
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:579)
> at
>
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:48
> 8)
> at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:266)
> at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> at java.lang.Thread.run(Thread.java:479)

At a guess, make sure that JSDK.jar from JServ 1.1 is in the classpath
before servlet_2.2.jar from Cocoon.

Cocoon 1.7 needs JSDK 2.2 to compile, but runs fine with 2.0.  However, if
JServ 1.1 is trying to use the Servlet 2.2 classes, weird things could
happen.

Ross Burton


Re: Installation problems

Posted by Sebastian Hauer <ha...@uni-freiburg.de>.
Hi Peter,

I get exactly the same error under linux. I'm running sun's JDK 1.2.2 and
when I use the JSDK 2.2 that it shipped with Cocoon called servlet_2_2.jar
I will always get that error.

So I changed to the old JSDK 2.0 from sun at:
http://www.javasoft.com/products/servlet/download.html

I changed the classpath in my jserv.properties file from 

wrapper.classpath=/usr/local/servlets/cocoon/lib/servlet_2_2.jar

to

wrapper.classpath=/usr/lib/jsdk/lib/jsdk.jar

and now it is working.

I still don't know why I can't use the JSDK 2.2 even though it comes with
cocoon 1.7. Does anyone know?

bye,
	Sebastian

On Tue, 29 Feb 2000, MORÁVEK Peter wrote:

> The Apache is running well, the JServ is running well, but when I want to
> run the /Cocoon.xml
> there is a log entry :
> [29/02/2000 11:32:30:707 GMT+01:00] java.lang.AbstractMethodError:
> org/apache/jserv/JServContext.getContext
> 	at
> org.apache.jserv.JServServletManager.load_init(JServServletManager.java:579)
> 	at
> org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:48
> 8)
> 	at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:266)
> 	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> 	at java.lang.Thread.run(Thread.java:479)