Re: How I deploy simple JSP to OC4J?

From: Equis Uno <ir4u4_at_yahoo.com>
Date: 15 Jan 2004 20:11:51 -0800
Message-ID: <692feddd.0401152011.6dd4d136_at_posting.google.com>


ok,
I figured this out.
First, I found out that the admin.jar shipped with my JDeveoper is incompatible with the OC4J 9.0.4.
The bad admin.jar gives a NullPointer Exc.

Next, I found out that the ormi port is 23791.

I dug some of this out of the documentation.

The OBE and the OTN samples were not helpful.

The doc url:
http://download-west.oracle.com/docs/cd/B10464_01/web.904/b10321/deploy.htm#1023242

After editing the properties of both the connection and the deployment description, I got it to work.

Also I found out that not one but two command lines get issued. Only one is displayed in the log window though.

Here is a command line which I scrapped out of the JDeveloper log window:

/usr/oracle/X/jdk/jre/bin/java -jar
/usr/oracle/oc4j/j2ee/home/admin.jar ormi://localhost:23791/ admin
oc4j -deploy -file /pt/trading/bibeans/ws01121/deploy/webapp1.ear -deploymentName webapp1

So, once I got the wrinkles ironed out of JDeveloper, it seemed like a worthy tool for deploying JSPs on a servlet container. It was certainly much easier than the deployment methods I need to follow for Tomcat.

-moi Received on Fri Jan 16 2004 - 05:11:51 CET

Original text of this message