[opencms-dev] OpenCms 5-3-5 on OC4J 9.0.4

Ross Randell ross.randell at workcoverqld.com.au
Thu Jul 1 04:39:02 CEST 2004


For Users:

Just a word of advice for anyone installing OpenCMS 5-3-5 on OC4J 9.0.4 (10g). You need to explicitly set the SAXParserFactory to user xerces when you startup the OC4J container. IE: add the following to you startup script:

-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl

Failure to configure this will result in Class Cast and Null Pointer exception while importing the workspace. 

For the Developers:

As Xerces is packaged with the default 5-3-5 build, should the code be updated to use the Xerces Factory explicitly or is it preferable to leave the parser configuration to the user.  



====================================
Ross Randell
Information Technology

Ph: (07) 3006 6464   
Fax: (07) 3006 6467
Mob: 0411 885 282
Email: ross.randell at workcoverqld.com.au
====================================



***************************************************************************
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland. The contents of this message are to be used for the intended purpose only and are to be kept confidential at all times.
This message may contain privileged information directed only to the intended addressee/s. Accidental receipt of this information should be deleted promptly and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.
**********************************************************************




More information about the opencms-dev mailing list