cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Cocoon working in the VAJ Test Engine? (Problem and possible patch)
Date Thu, 16 Nov 2000 23:44:47 GMT
That was confusing. I read your email too fast, and only noticed one of the 
two lines at first - spent ages trying to figure out how that was supposed 
to solve the problem. ;) Thanks.

"Mike Ehlers" <maehlers@hewitt.com> wrote:
>Ran into the problem described below and (finally) figured out how to fix 
>it.
>The problem was in the org.apache.cocoon.Utils.getBaseName method.  When 
>the
>request.getContextPath() method was getting called it was resulting in a 
>linkage
>error under the VAJ Websphere Test Engine.  Here is how I resolved the 
>issue:
>
>Line 240:  Replaced request.getContextPath();
>            with request.getClass().getMethod( "getContextPath", null );
>
>Line 256: Replaced         } catch( NoSuchMethodError e ) {
>           with         } catch( NoSuchMethodException e ) {
>
>From: "Mike Ehlers" <maehlers@hewitt.com> on 11/16/2000 09:17 AM
>
>Please respond to cocoon-users@xml.apache.org
>
>To:   cocoon-users@xml.apache.org
>cc:
>Client:
>Subject:  Cocoon working in the VAJ Test Engine?
>
>
>
>
>
>Hi,
>
>I'm trying to get Cocoon running in VAJ's Websphere Test Environment.  I'm
>running VAJ 3.5 and trying to use Cocoon 1.8.  I am able to pop the 
>Cocoon.xml
>virtual page but when I try to run any of the samples I'm getting the 
>following
>exception:
>
>java.lang.AbstractMethodError
>      java.lang.Throwable()
>      java.lang.Error()
>      java.lang.LinkageError()
>      java.lang.IncompatibleClassChangeError()
>      java.lang.AbstractMethodError()
>      java.lang.String
>org.apache.cocoon.Utils.getBasename(javax.servlet.http.HttpServletRequest,
>java.lang.Object)
>      java.lang.String
>org.apache.cocoon.Utils.getBasename(javax.servlet.http.HttpServletRequest,
>java.lang.Object)
>      org.w3c.dom.Document
>org.apache.cocoon.producer.ProducerFromFile.getDocument(javax.servlet.http.HttpServletRequest)
>
>      void 
>org.apache.cocoon.Engine.handle(javax.servlet.http.HttpServletRequest,
>javax.servlet.http.HttpServletResponse)
>      void
>org.apache.cocoon.Cocoon.service(javax.servlet.http.HttpServletRequest,
>javax.servlet.http.HttpServletResponse)
>      void 
>javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
>javax.servlet.ServletResponse)
>      void
>com.ibm.servlet.engine.webapp.StrictServletInstance.doService(javax.servlet.ServletRequest,
>
>
>javax.servlet.ServletResponse)
>      void
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(javax.servlet.ServletRequest,
>
>
>javax.servlet.ServletResponse)
>      void
>com.ibm.servlet.engine.webapp.IdleServletState.service(com.ibm.servlet.engine.webapp.StrictLifecycleServlet,
>
>
>javax.servlet.ServletRequest, javax.servlet.ServletResponse)
>      void
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(javax.servlet.ServletRequest,
>
>
>javax.servlet.ServletResponse)
>      void
>com.ibm.servlet.engine.webapp.ServletInstance.service(javax.servlet.ServletRequest,
>
>
>javax.servlet.ServletResponse,
>com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent)
>      void
>com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(com.ibm.servlet.engine.webapp.ServletInstanceReference,
>
>
>javax.servlet.ServletRequest, javax.servlet.ServletResponse,
>com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent)
>      void
>com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(javax.servlet.ServletRequest,
>
>
>javax.servlet.ServletResponse,
>com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent)
>      void
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(com.ibm.servlet.engine.webapp.WebAppRequest,
>
>
>com.ibm.servlet.engine.webapp.WebAppResponse, boolean)
>      void
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(javax.servlet.ServletRequest,
>
>
>javax.servlet.ServletResponse, boolean)
>      void
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(javax.servlet.ServletRequest,
>
>
>javax.servlet.ServletResponse)
>      void
>com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(java.lang.Object)
>      void
>com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(java.lang.Object)
>
>      void
>com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(java.lang.String,
>
>
>com.ibm.servlet.engine.srp.ISRPConnection)
>      void
>com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(com.ibm.servlet.engine.oselistener.api.IOSEConnection)
>
>      void
>com.ibm.servlet.engine.http_transport.HttpTransportHandler.handleConnection(java.net.Socket)
>
>      void com.ibm.servlet.engine.http_transport.HttpTransportHandler.run()
>      void java.lang.Thread.run()



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message