[opencms-dev] Does this work with Oracle or NOT?
Bryan Cantwell
bcantwell at advocare.com
Wed Apr 6 22:03:46 CEST 2005
Ok, I checked out the latest from cvs, altered the suggested line and ran ant war. deployed the war file and again setup went fine until the workspace import. Now I get:
30: at org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:107)
29: at org.opencms.main.CmsShell.exit(CmsShell.java:560)
28: java.lang.NullPointerException
27: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:153)
26: at org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:107)
25: at org.opencms.main.CmsShell.exit(CmsShell.java:554)
24: java.lang.NullPointerException
23: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:148)
22: at org.opencms.main.CmsShell.start(CmsShell.java:491)
21: at org.opencms.main.CmsShell.executeCommands(CmsShell.java:666)
20: at org.opencms.main.CmsShell.printPrompt(CmsShell.java:719)
19: java.lang.NullPointerException
18: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)
17: at org.opencms.main.CmsShell.<init>(CmsShell.java:448)
16: java.lang.NullPointerException
15: at org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)
14: at org.opencms.main.CmsShell.<init>(CmsShell.java:445)
13: at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1407)
12: at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:844)
11: at org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:323)
10: at org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:489)
9: at org.apache.commons.digester.Digester.parse(Digester.java:1591)
8: at org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)
7: java.lang.NullPointerException
6: Critical error during OpenCms initialization
5: log4j:WARN Please initialize the log4j system properly.
4: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
3:
2: OpenCms property file: C:\OraHome1\j2ee\OC4J_WEB\applications\opencms\opencms\WEB-INF\config\opencms.properties
1: OpenCms WEB-INF path: C:\OraHome1\j2ee\OC4J_WEB\applications\opencms\opencms\WEB-INF\
-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]On Behalf Of Tristan Tarrant
Sent: Wednesday, April 06, 2005 11:52 AM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Does this work with Oracle or NOT?
On Wed, 2005-04-06 at 11:14 -0500, Bryan Cantwell wrote:
Has anyone ever actually made OpenCMS work in Oracle?
I have Oracle 9IAS and 817 db. I have deployed the war file it seems fine. I step thru the setup wizard and all goes fine, even creates the tables fine... But when the workspace import comes it
We use OpenCMS with Oracle 10g. The problem you are having is related to the XML parser. Oracle provides its own implementation and it is very difficult to change it (and not recommended). What makes it blow up is at line 478 of org.opencms.configuration.CmsConfigurationManager (I'm looking at current CVS).
Change the line from:
m_digester.setValidating(true);
to
m_digester.setValidating(false);
and it should work.
Tristan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050406/ba5b0983/attachment.htm>
More information about the opencms-dev
mailing list