Oracle Application Server (OAS) and OC4J standalone install instructions

View: New views
1 Messages — Rating Filter:   Alert me  

Oracle Application Server (OAS) and OC4J standalone install instructions

by Lund, Kurt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Just in case someone needs these:

 

How to install the 3.2 release into a WINDOWS Oracle Application Server (or OC4J Standalone) middle-tier (using Oracle DB of course)

 

1.)    Create three folders (say C:\temp\blojsom, C:\temp\blojsom\blojsom_war, and C:\temp\blojsom\blojsom_ear)

2.)    Unzip the blojsom.war into the C:\temp\blojsom\blojsom_war folder

3.)    Move the contents of C:\temp\blojsom\blojsom_war\WEB-INF\classes\oracle to C:\temp\blojsom\blojsom_war\WEB-INF\classes (overwriting any files there already)

4.)    Manually create the blojsom user in the Oracle database, and run the SQL script C:\temp\blojsom\blojsom_war\WEB-INF\classes\blojsom-full-initial-data-oracle.sql (sometimes the blojsom system cannot run this successfully during initialization, but if run manually, the init code sees that the tables exist and skips to the next step) – make sure you have the modified SQL script that creates a trigger on the Blojsom_DBUserMetadata table, or you can’t add any users.

5.)    Update the default host and port with the following (use “localhost:8080” for the old_host_port, and your_servername:port for new_host_port; 8888 is the default port for Standalone) :

SQL> update blojsom_properties set property_value = replace(property_value,'&&old_host_port.','&&new_host_port.') where property_value like '%&&old_host_port.%';

SQL> commit;

6.)    Edit C:\temp\blojsom\blojsom_war\WEB-INF\classes\blojsom-helper-beans-oracle-include.xml to use your connect string

7.)    Use the following script to make the EAR for uploading:

set CLASSPATH=.;D:\oracle\product\10.2.0\client_1\jdk\lib     ç your oracle home for the JDK, if not already in the path/classpath

set PATH=D:\oracle\product\10.2.0\client_1\jdk\bin;%PATH%

subst r: blojsom_ear

subst t: blojsom_war

t:

cd \

jar cvMf r:\Blojsom.war *

r:

cd \

jar cvMf c:\temp\blojsom\Blojsom.ear *

c:

subst r: /d

subst t: /d

8.)    Load the Blojsom.ear file from C:\temp\blojsom into the Oracle EM Web interface (or use admin.jar to load it into the OC4J Standalone)

 

This seems to work just fine on Windows, I’m still playing around with installs to Linux (Oracle Enterprise Linux) – seems there are path issues.

 

Please feel free to modify/comment with changes to help others


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Blojsom-users mailing list
Blojsom-users@...
https://lists.sourceforge.net/lists/listinfo/blojsom-users