cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ling....@bi.no
Subject Help: Installation, Error creating org.apache.cocoon.processor .ldap.LdapProcessor:
Date Sat, 22 Apr 2000 17:36:20 GMT
I had Apache 1.3.6+jdk1.2.2+Jserv1.1+Win2000, it runs fine with html, servlet,
wml. I decided to add Cocoon to run *.xml, but get the following wrong message.


Publishing Engine could not be initialized.

      java.lang.RuntimeException: Error creating
org.apache.cocoon.processor.ldap.LdapProcessor: make sure the needed classes can
be found in the classpath (javax/naming/directory/DirContext)
              at org.apache.cocoon.framework.Manager.create(Manager.java:102)
              at org.apache.cocoon.framework.Router.init(Router.java, Compiled
Code)
              at org.apache.cocoon.framework.Manager.create(Manager.java:89)
              at org.apache.cocoon.Engine.(Engine.java:155)
              at org.apache.cocoon.Engine.getInstance(Engine.java:190)
              at org.apache.cocoon.Cocoon.init(Cocoon.java:119)
              at
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:569)
              at
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:488)
              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)

My wrapper.classpath for jserv.properties is like this:

wrapper.classpath=c:\jdk1.2.2\lib\tools.jar
wrapper.classpath=C:\apachegroup\JServ1.1\ApacheJServ.jar
wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar
wrapper.classpath=c:\TOMCAT\cocoon\bin\cocoon.jar
wrapper.classpath=c:\TOMCAT\cocoon\lib\fop_0_12_1.jar
wrapper.classpath=c:\TOMCAT\cocoon\lib\xalan_0_19_4.jar
wrapper.classpath=c:\TOMCAT\cocoon\lib\xerces_1_0_1.jar
wrapper.classpath=c:\TOMCAT\cocoon\lib\jndi.jar
wrapper.classpath=c:\TOMCAT\cocoon\lib\providerutil.jar
wrapper.classpath=c:\TOMCAT\cocoon\lib\ldap.jar

And I have a zone.properties file that includes
"servlet.org.apache.cocoon.Cocoon.initArgs=properties=c:\tomcat\cocoon\conf\cocoon.properties";
my jserv.conf file includes the necessary " Action ....."

What else should I do to make this work?

In addition, I tried two other combinations: 1. Tomcat3.1(standalone web
server)+Cocoon1.7; 2. Apache1.3.6+Tomcat3.1(as a *.jsp processor)+Cocoon1.7
Both of them return the same error when I try to open a *.xml file as above.



Mime
View raw message