You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2004/05/19 17:00:03 UTC

[WIKI-UPDATE] HowTos OC4JDeployment Wed May 19 17:00:03 2004

Page: http://wiki.cocoondev.org/Wiki.jsp?page=HowTos , version: 166 on Tue May 19 14:12:38 2004 by 62.148.39.161

+ * __[OC4J Deployment]__ -- how to deploy Cocoon on Oracle Containers for Java/J2EE
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=OC4JDeployment , version: 1 on Tue May 19 14:21:44 2004 by 62.148.39.161

New page created:
+ Using Oracle Enterprise Manager, here's the magic recipe:
+ 
+ # Go into the Oracle Enterprise Manager Web interface.
+ # Choose the appropriate server instance.
+ # Choose "Create OC4J Instance".
+ # Give the instance a name, click "Create" then "OK".
+ # Back in the server's control panel, choose the new OC4J instance.
+ # Go into the "Server Properties".
+ # Under "Command Line Options", for "Java Options" enter the following: -Xmx512M -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser
+ # Click "Apply" after adjusting the amount of memory accordingly (I've used 512M in this example).
+ # If the server is running (for some reason), choose "Restart" then "OK".
+ # Choose "Deploy WAR file".
+ # For "Web Application", browse to the .war file that you prepared earlier.
+ # Enter an appropriate "Application Name".
+ # Choose a sub-URL for your application and write it into the "Map to URL" field. For example: /myapp
+ # Click "Deploy" then "OK".
+ # If the server is not running, click "Start" then "OK".
+ 
+ Typically, the Oracle stuff runs under port 7778, so you would navigate to a URL like this to try out the newly-deployed application: http-link-tomyserver:7778/myapp
+ 
+ Good luck!
+