> [EMAIL PROTECTED] wrote:
> >       I searched the archives, and google, and haven't found a good
> > explanation about how to go about getting Cocoon working in Websphere
> > 3.5.x. I am close I think. I used the WAR file converter in the Admin
> > Console, but I get an exception during init of the Cocoon servlet:
> >
> > javax.servlet.ServletException: Init parameter 'configuration' doesn't
name
> > an existing resource : /web-inf/cocoon.xconf
> >
> In the Websphere 3.5 I have to use, the path entered
> as value of the configuration parameter is appended
> to the first "additional classpath" entry for the
> servlet.
>
> J.Pietschmann

I am closer now thanks to that bit of info. However, now when I open
"http://stuff.domain.com/Cocoon"; I get a nicely formatted "Cocoon 2 -
Internal server error":
------------- 8< Snip---------------
java.lang.NullPointerException

org/apache/cocoon/servlet/CocoonServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0

(CocoonServlet.java:901)

javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25

(HttpServlet.java:853)

com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+21

(ServletManager.java:644) ...

------------- 8< Snip---------------

The "Servlet Web Path List" contains
"default_host/Cocoon/","default_host/Cocoon/*.jsp", and
"default_host/Cocoon/*.html"

I have two directories in the classpath for the web app:
/QIBM/UserData/WebASAdv/default/hosts/default_host/Cocoon/web
   and
/QIBM/UserData/WebASAdv/default/hosts/default_host/Cocoon/servlets

web-inf is in the first directory. After I added that first directory (it
was just the servlets directory) the servlet actually loaded.

FYI - if those paths look odd, it is because this is on an AS/400 (IBM
iSeries).

Any ideas what I am over looking? Am I just not reading something
somewhere? Any help is greatly appreciated.

Dan Feather
[EMAIL PROTECTED]






---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to