cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sasaki, Humberto Katsunobu" <HUMBERTO.SAS...@bra.xerox.com>
Subject WebLogic 6.1 + Cocoon2.0 + jsp/hello example = error
Date Fri, 12 Apr 2002 14:49:40 GMT

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


Mime
View raw message