$webwork.htmlEncode($page.space.name) : GeoServer on OC4J (Oracle Containers for J2EE)
This page last changed on Dec 12, 2007 by groldan.
OC4JOracle Containers for J2EE the the lightweight, Java developer focused version of Oracle Application Server. Its 100% Java so its easy to get going as you don't have to deal with the whole beast, their system requirements, admin complexity, etc. Yet it might be enough testing over OC4J to assess whether GeoServer runs correctly on Oracle Application Server. Development environmentI'm going to document how to get started with OC4J on my dev environment, otherwise I'll forget since most things are one time setup issues. OS: GNU/Linux, OpenSUSE 10.3_x86_64 OC4J install
Start oc4jRun bin/oc4j -start. The first time it starts up will ask for an administrator password, set it and press enter to continue loading. gabriel@...146...:/usr/local/dev/oc4j> bin/oc4j -start Starting OC4J from /usr/local/dev/oc4j/j2ee/home ... 2007-10-17 11:58:58.276 NOTIFICATION Auto-unpacking /usr/local/dev/oc4j/j2ee/home/applications/dms.war... 2007-10-17 11:58:58.279 NOTIFICATION Unjar /usr/local/dev/oc4j/j2ee/home/applications/dms.war in /usr/local/dev/oc4j/j2ee/home/applications/dms ..... (some lot more logs...) INFO: Updating JtaAdmin account 07/10/17 11:59:00 Set OC4J administrator's password (password text will not be displayed as it is entered) Enter password: Confirm password: The password for OC4J administrator "oc4jadmin" has been set. 07/10/17 11:59:15 The OC4J administrator "oc4jadmin" account is activated. 07/10/17 11:59:21 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized Once started, go to the oc4j default page http://localhost:8888/, and then to the admin console to check out everything is working ok: http://localhost:8888/em. Stop oc4jTo shut it down just press CTRL-C on the console. DeployFull deployment guide is located here. For easy deployment log in to the admin console, and follow the Applications->Deploy wizard.
That deploys geoserver, but suddenly fails to initialize Struts: ... 17 Oct 13:10:17 INFO [geoserver.global] - Loading feature type 'tasmania_water_bodies:::tasmania_water_bodies' (layer 14/14) 2007-10-17 13:10:19.299 NOTIFICATION Initializing Servlet: org.vfny.geoserver.config.web.MultipleActionServlet for web application geoserver 17 Oct 13:10:19 ERROR [digester.Digester] - Digester.getParser: org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic at oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:128) at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185) at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138) at org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFactory.java:71) at org.apache.commons.digester.Digester.getParser(Digester.java:692) ...
Now it is functional, finally... |
![]() |
Document generated by Confluence on Apr 25, 2008 11:39 |