I did not work from a very long time with oc4j I don't know the
directory structure
Did you look in all log files ?
If nothing is written there I supose it is a problem of servlet
mapping mapping
app/WEB-INF/web.xml
<servlet-mapping>
<servlet-name>myServlet</servlet-name>
<url-pattern>/servlet/myServlet/*</url-pattern>
</servlet-mapping>
and
tomcat/conf/web.xml
<!-- The mapping for the invoker servlet
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
Can you verify if they are the same ? Can you verify if they work in the
same way?
It seems that TurbineServlet is not invoked
Best,
Sergiu
jill han wrote:
>Yes, it was redirected to
>The log message is
>"127.0.0.1 - - [05/Dec/2005:13:31:06 -0600] "GET
>/myApp/servlet/myServlet HTTP/1.1" 404 144", When I accessed
>
>
>Thanks,
>
>Jill
>
Message
>From: sergiu gordea [mailto:gsergiu (AT) ifit (DOT) uni-klu.ac.at]
>Sent: Monday, December 05, 2005 12:07 PM
>To: Turbine Users List
>Subject: Re: how to deploy a turbine application on oracle application
>server 10g
>
>does it work the link :
>
>http://localhost:8888/myApp ?
>I mean is the context redirected to /servler/myServlet, when you
>call the link given above?
>
>Try to see in logs what was happening at oc4j startup was the
>context loaded?
>Do you have some errors in the log?
>
>Best,
>
>Sergiu
>
>
>
>jill han wrote:
>
>
>>Thanks for reply.
>>I just copied the myApp from Tomcat server to C4J under
>>default-web-app.
>>
>>
>>Here is myApp/web-inf/web.xml
>>
>><web-app>
>><display-name>myApp</display-name>
>><description>Version 1.4.01</description>
>>
>><listener>
><listener-class>
>></listener-class>
>></listener>
>>
>><servlet>
><servlet-name>myServlet</servlet-name>
><servlet-class>org.apache.turbine.Turbine</servlet-class>
><init-param>
><param-name>properties</param-name>
>>
>><param-value>/</param-value>
></init-param>
><load-on-startup/>
>></servlet>
>>
>><servlet-mapping>
><servlet-name>myServlet</servlet-name>
><url-pattern>/servlet/myServlet/*</url-pattern>
>></servlet-mapping>
>></web-app>
>>
>>I started C4J, then tried to access the page
>>, just as I did on Tomcat
>>server, but it turned out page not found.
>>What went wrong?
>>Your help is appreciated as always.
>>
>>Jill
>>
>>
>>
>>
>>
>Message
>>From: sergiu gordea [mailto:gsergiu (AT) ifit (DOT) uni-klu.ac.at]
>>Sent: Thursday, December 01, 2005 2:53 AM
>>To: Turbine Users List
>>Subject: Re: how to deploy a turbine application on oracle application
>>server 10g
>>
>>jill han wrote:
>>
>
>>
>
>>
Is it possible to move a turbine/torque/velocity project from tomcat
server to oracle application server, which uses oc4j for java apps?
Thanks in advance.
>>From what I know states that oc4j is tomcate compatible, so
>
>>
>
>
>>it should work everything well.
>>
>>Best,
>>
>>Sergiu
>>
>
>>
>
>>
Jill
To unsubscribe, e-mail: turbine-user-unsubscribe (AT) jakarta (DOT) apache.org
For additional commands, e-mail: turbine-user-help (AT) jakarta (DOT) apache.org
>>
>>To unsubscribe, e-mail: turbine-user-unsubscribe (AT) jakarta (DOT) apache.org
>>For additional commands, e-mail: turbine-user-help (AT) jakarta (DOT) apache.org
>>
>>
>>
>>
>>
>>To unsubscribe, e-mail: turbine-user-unsubscribe (AT) jakarta (DOT) apache.org
>>For additional commands, e-mail: turbine-user-help (AT) jakarta (DOT) apache.org
>>
>
>>
>
>>
>
>
>
>
>
>To unsubscribe, e-mail: turbine-user-unsubscribe (AT) jakarta (DOT) apache.org
>For additional commands, e-mail: turbine-user-help (AT) jakarta (DOT) apache.org
>