InstallationOC4J

Version 1.1 by mamoulian on 2007/08/09

OC4J installation

Information

These instructions cover Oracle Application Server 10.1.3.1.0; other versions may differ.

Choose/prepare an XWiki distribution

The 'web standard hsqldb.war' build will work right out of the box if you are happy for it to store its own HSQL database files in:

...oracle/product/10.1.3.1/OracleAS_1/j2ee/home/database/

Note that the 'database' directory already exists within the OAS install and is used for other things so you may want to change this directory by editing 'hibernate.cfg.xml' in the .war file - see the previous section for more info on this. Or you could edit 'hibernate.cfg.xml' after it has been deployed to the server.

Install XWiki as an OC4J webapp

Install xwiki using the Oracle Enterprise Manager webapplication in an already working OAS installation.

As of 10.1.3.x the Manager webapp is at: http://server_address/em/

Click on an OC4J instance, then the 'Applications' tab, then 'Deploy'.

Choose the xwiki.war file you have downloaded. 

On the third deployment page you will be given the option to 'Edit Deployment Plan'. Click this, open the 'war' tree segment on the left, click 'xwiki', scroll down and click 'Edit webAppClassLoader', change 'searchLocalClassesFirst' to 'true', click 'Continue' then 'Ok'.

Get Connected