cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brook, Andy" <...@dolby.co.uk>
Subject Anyone got Cocoon 2.x on Websphere 5.x ?
Date Thu, 10 Jul 2003 08:03:46 GMT

Hi all,
I've got cocoon running under tomcat _no_worries_ but can I get it
running under Websphere 5? _no_way_!
 
Context:
I'm using 'struts-cocoon' with 2.1m2 /3 compiled for JDK1.3 which is
what Websphere 5 is using (yea, been there!)
I get an interesting exception during the JSP processing, seemingly
relating to an internal Classloader problem.
 
There seems to be nothing I can configure within WSAD (the IBM dev
program built on eclipse) to affect server parameters, I've traced the
class-loader to be related to a 'trace server'
(http://publib7b.boulder.ibm.com/wasinfo1/en/info/aes/ae/utrb_traceservi
ce.html )...
 
Has anyone had cocoon running under websphere 5? I
 
Thanks,
Andy.
axb@dolby.co.uk
 
------------------------------------------------------------------------
-------
 
Stack:
 
Internal Server Error
Message: Exception JspGenerator.generate()
 
Description: org.apache.cocoon.ProcessingException: Exception 
JspGenerator.generate(): java.lang.ClassCastException: 
com.ibm.ws.classloader.JarClassLoader
 
Sender: org.twdata.struts.CocoonHandler
 
Source: Cocoon Servlet
 
request-uri
 
/struts-cocoon/editRegistration.do
 
full exception chain stacktrace
 
Original Exception: java.lang.ClassCastException: 
com.ibm.ws.classloader.JarClassLoader
      at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:268)
      at 
org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP(JSPEngineImpl.
java:121)
      at 
org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:120
)
      at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
XMLPipeline(AbstractProcessingPipeline.java:545)
      at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:217)
      at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
(AbstractProcessingPipeline.java:489)
      at 
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:150)
      at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:84)
      at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:164)
      at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:108)
      at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:162)
      at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:108)
      at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:162)
      at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:325)
      at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:307)
      at org.apache.cocoon.Cocoon.process(Cocoon.java:628)
      at
org.twdata.struts.CocoonHandler.process(CocoonHandler.java:1161)
      at 
org.twdata.struts.CocoonRequestProcessor.processPath(CocoonRequestProces
sor.java:176)
      at 
org.twdata.struts.CocoonRequestProcessor.processForwardConfig(CocoonRequ
estProcessor.java:214)
      at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
279)
      at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at 
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictSe
rvletInstance.java:110)
      at 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLi
fecycleServlet.java:174)
      at 
com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycle
Servlet.java:313)
      at 
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLif
ecycleServlet.java:116)
      at 
com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.
java:258)
      at 
com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(Vali
dServletReferenceState.java:42)
      at 
com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(Servle
tInstanceReference.java:40)
      at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
tch(WebAppRequestDispatcher.java:872)
      at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
questDispatcher.java:491)
      at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:173)
      at 
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:7
9)
      at 
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
oker.java:199)
      at 
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
on(CachedInvocation.java:71)
      at 
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
tRequestProcessor.java:182)
      at 
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
tener.java:331)
      at 
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
.java:56)
      at 
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
432)
      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
 
 
 
 
 

This message (including any attachments) may contain confidential information intended for
a specific individual and purpose. If you are not the intended recipient, delete this message.
If you are not the intended recipient, disclosing, copying, distributing, or taking any action
based on this message is strictly prohibited.

Mime
View raw message