[opencms-dev] Oracle 10g Database & oc4j 10.1.3 information

Georg Raffer georg.nc at gmail.com
Fri Feb 10 08:17:57 CET 2006


Hi Garcia,

That's how I started oc4j

"%JAVA_HOME%\bin\java" %JVMARGS% 
-Xbootclasspath/a:c:\applications\oc4j_libs\xerces.jar 
-Dfile.encoding=ISO-8859-1 
-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser 
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl 
-Djavax.xml.parsers.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl 
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl 
-jar %OC4J_JAR% %CMDARGS%

(no line breaks)

Hope that helps!

bye, Georg

David García González wrote:
>
> Hello, I am trying to use OpenCms with OC4J 10.1.3 but I had many 
> problems.
>
> You wrote:
>
> Furthermore OpenCms also works with Oracle Containers for J2EE 10g 
> (10.1.3) Developer Preview and Java 5. You only have to make a few changes:
>  
> * use the Apache xml parser instead of oracle xml (that is default)
>     
> http://www.oracle.com/technology/tech/java/oc4j/904/collateral/OC4J-FAQ-904.html     
>  
> I’m trying to start OC4J with:
>  
> java -Xbootclasspath/a:C:\Desarrollo\Java\install\oc4j1013\lib\xml-apis-2.6.2.jar -jar oc4j.jar %1
>  
> C:\Desarrollo\Java\install\oc4j1013\lib\xml-apis-2.6.2 is the jar with the 3^rd  party XML parser that OpenCms must use.
>  
> But I always have the next exception:
>  
> 03 Feb 2006 09:31:17,786 ERROR [ache.commons.digester.Digester: 696] 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)
>         at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899)
>         at org.apache.commons.digester.Digester.parse(Digester.java:1666)
>         at org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:498)
>         at org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguratio10:25 03/02/2006n(CmsConfigurationManager.java:337)
>         at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:843)
>         at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1118)
>         at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1501)
>         at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)9:43 03/02/2006
>         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
>         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:649)
>         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
>         at com.evermind.server.Application.getHttpApplication(Application.java:512)10:02 03/02/2006
>         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
>         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
>         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:633)
>         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:302)
>         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:273)
>         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:180)
>         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2296)9:47 03/02/2006
>         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:944)
>         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
>         at java.lang.Thread.run(Thread.java:534)
> 03 Feb 2006 09:31:17,801 ERROR [  org.opencms.main.OpenCmsCore: 296] Critical error during OpenCms initialization: Unable to read the OpenCms XML configuration.
> 03 Feb 2006 09:31:17,801 ERROR [g.opencms.main.OpenCmsListener:  91] org.opencms.main.CmsInitException: Critical error during OpenCms initialization: Unable to read the OpenCms XML configuration.
>  
> Could you please tell me the versions of the OC4J, j2sdk, 3^rd  party xml parser and the line 
> java -Xbootclasspath/a:C:\Desarrollo\Java\install\oc4j1013\lib\xml-apis-2.6.2.jar -jar oc4j.jar %1
>  
> that you used to be able to make OpenCms run?
>  
> Thanks a lot!
>  
>
> ***************************************************************************
>
> **David García González**
>
> **Fundación CTIC**
>
> //-Centro Tecnológico de la Información y la Comunicación-//
>
> E-mail: david.garciag at fundacionctic.org 
> <mailto:david.garciag at fundacionctic.org>
>
> Tfno: +34 984 29 12 12
>
> -Parque Científico y Tecnológico Gijón-Asturias-Spain
>
> www.fundacionctic.org <http://www.fundacionctic.org>
>
> *************************************************************************__**
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list