<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<TITLE>Does this work with Oracle or NOT?</TITLE>

<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=160365319-06042005><FONT face=Arial color=#0000ff size=2>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:</FONT></SPAN></DIV>
<DIV><SPAN class=160365319-06042005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=160365319-06042005><FONT face=Arial color=#0000ff 
size=2>30:  at 
org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:107)<BR>29:  at 
org.opencms.main.CmsShell.exit(CmsShell.java:560)<BR>28: java.lang.NullPointerException<BR>27:  at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:153)<BR>26:  at 
org.opencms.setup.CmsSetupWorkplaceImportThread.kill(CmsSetupWorkplaceImportThread.java:107)<BR>25:  at 
org.opencms.main.CmsShell.exit(CmsShell.java:554)<BR>24: java.lang.NullPointerException<BR>23:  at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:148)<BR>22:  at 
org.opencms.main.CmsShell.start(CmsShell.java:491)<BR>21:  at 
org.opencms.main.CmsShell.executeCommands(CmsShell.java:666)<BR>20:  at 
org.opencms.main.CmsShell.printPrompt(CmsShell.java:719)<BR>19: java.lang.NullPointerException<BR>18:  at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)<BR>17:  at 
org.opencms.main.CmsShell.<init>(CmsShell.java:448)<BR>16: java.lang.NullPointerException<BR>15:  at 
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:142)<BR>14:  at 
org.opencms.main.CmsShell.<init>(CmsShell.java:445)<BR>13:  at 
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1407)<BR>12:  at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:844)<BR>11:  at 
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:323)<BR>10:  at 
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:489)<BR>9:  at 
org.apache.commons.digester.Digester.parse(Digester.java:1591)<BR>8:  at 
org.apache.commons.digester.Digester.getXMLReader(Digester.java:891)<BR>7: java.lang.NullPointerException<BR>6: Critical 
error during OpenCms initialization<BR>5: log4j:WARN Please initialize the 
log4j system properly.<BR>4: log4j:WARN No appenders could be found for 
logger (org.apache.commons.digester.Digester).<BR>3: <BR>2: OpenCms 
property file: 
C:\OraHome1\j2ee\OC4J_WEB\applications\opencms\opencms\WEB-INF\config\opencms.properties<BR>1: OpenCms 
WEB-INF path:  
C:\OraHome1\j2ee\OC4J_WEB\applications\opencms\opencms\WEB-INF\<BR></DIV></FONT></SPAN>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]<B>On 
  Behalf Of </B>Tristan Tarrant<BR><B>Sent:</B> Wednesday, April 06, 2005 11:52 
  AM<BR><B>To:</B> The OpenCms mailing list<BR><B>Subject:</B> Re: [opencms-dev] 
  Does this work with Oracle or NOT?<BR><BR></FONT></DIV>On Wed, 2005-04-06 at 
  11:14 -0500, Bryan Cantwell wrote:<BR>
  <BLOCKQUOTE TYPE="CITE"><FONT size=2><FONT color=#0000ff>Has anyone ever 
    actually made OpenCMS work in Oracle? </FONT></FONT><FONT 
    color=#000000></FONT><BR><FONT size=2><FONT color=#0000ff>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 </FONT></FONT><BR></BLOCKQUOTE>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).<BR>Change the line 
  from:<BR><BR>m_digester.setValidating(true);<BR><BR>to<BR><BR>m_digester.setValidating(false);<BR><BR>and 
  it should work.<BR><BR>Tristan </BLOCKQUOTE></BODY></HTML>