Hello, all...

I'm getting an error when I try to run the jsp/hello Cocoon example.
I know that I need to change the JSPEngine to WebLogic classes
(JSPEngineImplWLS) in cocoon.xconf, but I'm not sure how to do it.

I've already tried to make changes in cocoon.xconf like:

<!-- this is the default parameters -->
  <jsp-engine>
    <parameter name="servlet-class"
value="org.apache.jasper.servlet.JspServlet"/>
    <parameter name="servlet-name" value="*.jsp"/>
  </jsp-engine>


<!-- after my modifications -->
  <jsp-engine>
    <parameter name="servlet-class" value="weblogic.servlet.JSPservlet"/>
    <parameter name="servlet-name" value="*.jsp"/>
  </jsp-engine>

The package that contains the class mentioned above is weblogic.jar (you can
find it in c:\bea\wlserver6.1 in
default instalation). I don't know if this is the correct class, so I want
to know if someone already did
a successful modification on which after the jsp/hello example worked fine.

Also, I created my.roles file (as recomended in JSPGenerator Cocoon
documentation) and now it is like:

<!-- content of my.roles file -->
<?xml version="1.0"?>
<role-list>
  <role-name="org.apache.cocoon.components.jsp.JSPEngine"
   shorthand="jsp-engine"
   default-class="org.apache.cocoon.components.jsp.JSPEngineImpl"/>
</role-list>

I read the instructions about JSPGenerator in Cocoon Docs, but it was a
little obscure for me.
Is these modifications I made correct ?
Should it run the example without problems ?
After these modifications, I wasn't be able to run Cocoon in Weblogic !!

Please, someone, show me the way ! :)

Thanks !

- Humberto -


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to