You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Zeljko Rajic <ze...@brokat.com> on 2001/06/20 10:05:45 UTC

Installing C2 on ServletExec 3.1

Hi cocoon-users,

I'm trying to install the current Cocoon 2 b1 on ServletExec 3.1 without
success. I deployed the cocoon.war file correctly, but when trying to do a
request at //localhost/cocoon/ ServletExec crashes.
The servlet log shows the following:


[Wed Jun 20 09:36:01 GMT+02:00 2001] Logging started
[Wed Jun 20 09:36:57 GMT+02:00 2001] Logging stopped
[Wed Jun 20 09:44:00 GMT+02:00 2001] Logging started
[Wed Jun 20 09:44:29 GMT+02:00 2001] Cocoon2: init
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   50      [cocoon  ] (/cocoon/): Trying to load class: com.ibm.servlet.classloader.Handler

[Wed Jun 20 09:44:29 GMT+02:00 2001] WARN    110     [cocoon  ] (/cocoon/): Could not force-load class: com.ibm.servlet.classloader.Handler
java.lang.ClassNotFoundException: com.ibm.servlet.classloader.Handler
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46)
        at org.apache.cocoon.servlet.CocoonServlet.forceLoad(CocoonServlet.java:399)
        at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:119)
        at com.newatlanta.servletexec.ServletExec.CallServletInit(ServletExec.java)
        at com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplServletContext.java)
        at com.newatlanta.servletexec.ApplServletContext.loadConfiguredServlet(ApplServletContext.java)
        at com.newatlanta.servletexec.ApplServletContext.getServlet(ApplServletContext.java)
        at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java)
        at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java)
        at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java)
        at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java)
        at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java)
        at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java)
        at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java)
        at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java)

 

Anyway, Cocoon seems not to crash ServletExec immediately, as it continues to
write some more entries like this:

[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   120     [cocoon  ] (/cocoon/): Trying to load class: org.hsqldb.jdbcDriver
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   360     [cocoon  ] (/cocoon/): Using configuration file: /cocoon.xconf
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   610     [cocoon  ] (/cocoon/): New Cocoon object.
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   620     [cocoon  ] (/cocoon/): Using parser: org.apache.cocoon.components.parser.JaxpParser
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   681     [cocoon  ] (/cocoon/): Attempting to get Handler for: org.apache.cocoon.components.parser.Parser
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   721     [cocoon  ] (/cocoon/): Handler type = org.apache.avalon.excalibur.component.DefaultComponentHandler


I've looked in the JARs that come with Cocoon, but couldn't find the
classloader mentioned in the exception.


Hope somebody can help me to get Cocoon running!


Regards,
Zeljko


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>