How I deploy simple JSP to OC4J?
Date: 12 Jan 2004 17:05:29 -0800
Message-ID: <692feddd.0401121705.372152c0_at_posting.google.com>
Hi,
How I deploy simple JSP to OC4J?
I started by installing OC4J ( Version J2EE 10g (9.0.4.0.0) ) on the target machine:
Next, I fired up JDeveloper on the target machine and created a simple default JSP.
I ran it from JDeveloper with no problem.
Next, I looked for clues in the JDeveloper HELP section on how to deploy this JSP to my newly installed OC4J.
I found a section: "Deploying Web Applications to Standalone OC4J".
I created a 'Deployment Profile' using the wizard interface; I picked all defaults.
It created a node called 'webapp1.deploy'.
I created an 'Application Server Connection'. The connection wizard filled in these key-value-pairs for me:
URL ormi://targetbox/
Target Web Site http-web-site
Local directory /usr/oracle/jdev/j2ee/home
of admin.jar
I successfully tested it.
Next, I right clicked on the webapp1.deploy icon and picked the
'deploy to...' option which pointed to the new
'Application Server Connection' I had just created.
It reacted by starting an 'Embedded OC4J Server' inside of JDeveloper.
At this point I become uncertain.
I got no feed back from JDeveloper and the help documentation did
not give me any clues on what I was supposed to look for.
I looked at the OC4J instance on the target machine and found no evidence that the JSP had been deployed.
I looked in the project directory and did find newly created EAR and WAR files.
I wonder how am I supposed to deploy a simple JSP to OC4J?
I'm used to dealing with Tomcat, and although the process is mildly
complex,
it is documented and it is not wizard driven.
-moi Received on Tue Jan 13 2004 - 02:05:29 CET