...
Info |
---|
Help is available by sending an email to csf-support@mit.edu |
Panel | |||||
---|---|---|---|---|---|
|
Panel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Scroll down until you reach the Oracle Containers for J2EE section and click on Pure Java. The Oracle Application Server 10g Software Downloads will be displayed. Accept the License Agreement, then click on the Oracle Containers for J2EE 10g (OC4J) link. The download of the
NOTE: Before the download begins, Oracle will require you to either log in using an existing Oracle account or you will have to create a new Oracle account. Install the OC4J stand alone server
Configure the OC4J stand alone serverindent |
Code Block |
When you are satisfied that everything is correct, SAVE your changes. FOR WINDOWS ONLY - setting the administrator's password Open a CMD window and cd to the $
Code Block |
Anchor | | parser configuration | parser configuration | In order to use Spring 3.X with OC4J
Pick a password that is easy for you to remember. You will need to use this password when configuring Maven. \\ \\ {anchor:parser configuration} # In order to use Spring 3.X with OC4J 10.1.3, you'll need to swap out the default XML parser in OC4J with something more modern. |
xercesImpl.jar and xml-apis.jar work fine. |
To swap the parser out, you need to create a new shared library in the OC4J enterprise manager and then edit the system-application.xml file to use your new shared library instead of the Oracle XML parser. |
Start and stop the OC4J server.
Open $
\\ \\ Start and stop the OC4J server. \\ \\ Open *$\{ORACLE_HOME}/j2ee/home/application-deployments/default/orion-application.xml* with a text editor. |
If the file or any sub-directory does not exist, create them as needed. |
If you had to create the file a new, these are the contents of the file:
\\ \\ If you had to create the file a new, these are the contents of the file: {code} <?xml version='1.0' encoding='utf-8'?> <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd" schema-major-version="10" schema-minor-version="0" component-classification="internal"> <imported-shared-libraries> <remove-inherited name="oracle.xml"/> </imported-shared-libraries> </orion-application> |
{code} If you had an existing file, add this block to it: |
{code |
} <imported-shared-libraries> <remove-inherited name="oracle.xml"/> </imported-shared-libraries> {code} |
When you are satisfied that everything is correct, *SAVE* your changes. |
# *FOR ALL OPERATING SYSTEMS* \- how to change the administrator password. |
Open $
\\ \\ Open *$\{ORACLE_HOME}/j2ee/home/config/system-jazn-data.xml* with a text editor. |
Find the <user> tag block for oc4jadmin. Change the
\\ \\ Find the <user> tag block for oc4jadmin. Change the oc4jadmin's <credentials> property to (substituting your password for myNewPassowd): |
{code |
} <credentials>!myNewPassword</credentials> {code} |
Be sure to preface the password with an \! to inidcate that this is a plain text value. |
When
\\ \\ When completed, the oc4jadmin <user> should look something like: |
{code |
} <user> <name>oc4jadmin</name> <display-name>OC4J Administrator</display-name> <guid>E33D5A508AA511DF8F573778FB23EDF8</guid> <description>OC4J Administrator</description> <credentials>!myNewPassword</credentials> </user> |
{code} Save the changes and restart the OC4J server. |
Getting Better Debugging Information From OC4J
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Open $
Turn on
Code Block |
|