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 http://localhost:8888/myApp/index.html
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
http://localhost:8888/myApp/servlet/myServlet

Thanks,

Jill

-----Original Message-----
From: sergiu gordea [mailto:[EMAIL PROTECTED] 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 OC4J under
default-web-app. J2ee/home/default-web-app/myApp

Here is myApp/web-inf/web.xml
<web-app>
<display-name>myApp</display-name>
<description>Version 1.4.01</description>

<listener>
 <listener-class>
org.apache.turbine.services.session.SessionListener</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>/WEB-INF/conf/TurbineResources.properties</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 OC4J, then tried to access the page
http://localhost:8888/myApp/servlet/myServlet, just as I did on Tomcat
server, but it turned out page not found.
What went wrong?
Your help is appreciated as always.

Jill




-----Original Message-----
From: sergiu gordea [mailto:[EMAIL PROTECTED] 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 Oracle states that oc4j is tomcate compatible, so ...

it should work everything well.

Best,

Sergiu



Jill


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



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




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







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


Reply via email to