Re: Oracle9iAS oc4j.jar and http-web-site.xml on Solaris8
Date: 5 Oct 2004 15:19:43 -0700
Message-ID: <71e2739.0410051419.72993955_at_posting.google.com>
[Quoted] Ok - I've now given up with Oracle9iAS and I'm looking at OracleAS 10g (still on Solaris 8).
I've run through the installation instructions that "came with it" and
I've installed the Infrastructure Tier in my
/oracle/AppServer/9.0.4.0.0/Infra directory using the oracle unix
login.. and that directory now looks like ....
drwxr-xr-x 67 oracle oinstall 1536 Oct 5 19:15 . drwxr-xr-x 4 oracle oinstall 1536 Oct 5 18:58 .. drwxr-xr-x 9 oracle oinstall 512 Oct 5 19:09 Apache drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:07 BC4J lrwxrwxrwx 1 oracle oinstall 71 Oct 5 19:06 JRE ->
/oracle/AppServer/9.0.4.0.0/Infra/jre/1.1.8
drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:08 OPatch drwxrwxr-x 3 oracle oinstall 512 Oct 5 19:15 admin drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:09 assistants drwxr-xr-x 3 oracle oinstall 5120 Oct 5 19:34 bin drwxr-xr-x 2 oracle oinstall 2560 Oct 5 19:34 cfgtoollogs drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:07 chgip drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:07 classes drwxr-xr-x 2 oracle oinstall 1024 Oct 5 19:31 config drwxr-xr-x 10 oracle oinstall 512 Oct 5 19:08 ctx drwxr-xr-x 2 oracle oinstall 512 Oct 5 19:24 dbs drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:12 dcm drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:05 demo drwxr-xr-x 8 oracle oinstall 512 Oct 5 19:04 diagnostics drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:07 doc drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:12 hs drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:13 install drwxr-xr-x 11 oracle oinstall 512 Oct 5 19:15 inventory drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:33 j2ee drwxr-xr-x 2 oracle oinstall 512 Oct 5 19:08 jar drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:04 javacache drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:09 javavm drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:04 jdbc drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:04 jdk drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:09 jis drwxr-xr-x 2 oracle oinstall 2048 Oct 5 19:09 jlib drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:04 jre drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:06 jsp drwxr-xr-x 18 oracle oinstall 512 Oct 5 19:09 ldap drwxr-xr-x 3 oracle oinstall 4096 Oct 5 19:11 lib drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:10 md drwxr-xr-x 2 oracle oinstall 512 Oct 5 19:09 mesg drwxr-xr-x 11 oracle oinstall 512 Oct 5 19:12 network drwxr-xr-x 11 oracle oinstall 512 Oct 5 19:10 oca drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:05 ocommon drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:04 opmn drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:04 oracore drwxrwxr-x 3 oracle oinstall 512 Oct 5 19:15 oradata drwxr-xr-x 9 oracle oinstall 512 Oct 5 19:06 ord drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:07 otrace drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:04 oui drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:07 owm drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:06 perl drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:07 plsql drwxr-xr-x 9 oracle oinstall 512 Oct 5 19:05 portal drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:06 precomp drwxr-xr-x 13 oracle oinstall 512 Oct 5 19:12 rdbms drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:10 relnotes -rwxr-xr-x 1 oracle oinstall 9194 Oct 5 19:12 root.sh -rwxr-xr-x 1 oracle oinstall 10 Oct 5 18:56 root.sh.old drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:04 slax drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:08 soap drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:05 sqlj drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:06 sqlplus drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:06 srvm drwxr-xr-x 10 oracle oinstall 512 Oct 5 19:31 sso drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:09 syndication drwxr-xr-x 14 oracle oinstall 512 Oct 5 19:15 sysman drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:04 uddi drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:33 uix drwxr-xr-x 12 oracle oinstall 512 Oct 5 19:09 ultrasearch drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:06 wcs drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:04 webservices drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:06 wireless drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:05 wwg drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:05 xdk
and I've installed the ApplicationServer Tier on the same machine in my /oracle/AppServer/9.0.4.0.0/AppServ directory... and that looks like...
drwxr-xr-x 57 oracle oinstall 1024 Oct 5 21:36 . drwxr-xr-x 4 oracle oinstall 1536 Oct 5 18:58 .. drwxr-xr-x 9 oracle oinstall 512 Oct 5 19:52 Apache drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:51 BC4J lrwxrwxrwx 1 oracle oinstall 73 Oct 5 19:50 JRE ->
/oracle/AppServer/9.0.4.0.0/AppServ/jre/1.1
.8
drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:51 OPatch drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:51 assistants drwxr-xr-x 2 oracle oinstall 2560 Oct 5 19:58 bin drwxr-xr-x 2 oracle oinstall 1024 Oct 5 19:58 cfgtoollogs drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:51 chgip drwxr-xr-x 2 oracle oinstall 1024 Oct 5 19:56 config drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:54 dcm drwxr-xr-x 8 oracle oinstall 512 Oct 5 19:50 diagnostics drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:50 iaspt drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:54 install drwxr-xr-x 11 oracle oinstall 512 Oct 5 19:55 inventory drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:58 j2ee drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:50 javacache drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:50 javavm drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:40 jdbc drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:40 jdk drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:51 jis drwxr-xr-x 2 oracle oinstall 1536 Oct 5 19:52 jlib drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:40 jre drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:51 jsp drwxr-xr-x 8 oracle oinstall 512 Oct 5 19:53 ldap drwxr-xr-x 3 oracle oinstall 3072 Oct 5 19:53 lib drwxr-xr-x 2 oracle oinstall 512 Oct 5 19:52 mesg drwxr-xr-x 11 oracle oinstall 512 Oct 5 19:54 network drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:50 ocommon drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:50 opmn drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:50 oracore drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:50 ord drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:54 otrace drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:49 oui drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:51 owm drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:51 perl drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:50 plsql drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:51 portal drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:50 precomp drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:50 rdbms drwxr-xr-x 2 oracle oinstall 512 Oct 5 19:50 relnotes -rwxr-xr-x 1 oracle oinstall 10 Oct 5 21:36 root.sh -rwxr-xr-x 1 oracle oinstall 6655 Oct 5 19:54 root.sh.old drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:50 slax drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:51 soap drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:50 sqlj drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:50 sqlplus drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:50 srvm drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:50 sso drwxr-xr-x 3 oracle oinstall 512 Oct 5 19:40 syndication drwxr-xr-x 12 oracle oinstall 512 Oct 5 19:55 sysman drwxr-xr-x 7 oracle oinstall 512 Oct 5 19:40 uddi drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:57 uix drwxr-xr-x 5 oracle oinstall 512 Oct 5 19:50 upgrade drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:50 wcs drwxr-xr-x 16 oracle oinstall 512 Oct 5 19:58 webcache drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:50 webservices drwxr-xr-x 4 oracle oinstall 512 Oct 5 19:50 wireless drwxr-xr-x 6 oracle oinstall 512 Oct 5 19:50 xdk
I've even - regardless of how hard the installation instructions tried to stop me - been able to get the "Welcome to Oracle Application Server" home page up using the http://mymachine.mydomain.local:7777 url. Amazing! I was also able to locate the mysterious "Getting Started After Installing Oracle Application Server" section of the documentation after many failed Google and Metalink searches (found in http://download-uk.oracle.com/docs/cd/B10464_01/core.904/b10376/toc.htm)
But now when I try to use OC4J (Oracle Containers for Java) I'm still running into problems. Firstly - 10g seems to call the directory /j2ee on Solaris - although the documentation I've been seeing around the web calls it /oc4j... but regardless of that - the documentation seems to loose me here.... if I follow the b10376/toc.htm item (above) down further it starts going into Windows configuration discussions.
All I want to do at this point is install an EAR into the AppServer - but if I run "java -jar oc4j.jar -install"
I get the following error...
Error reading config: Error instantiating default application at file:
/oracle/AppServer/9.0.4.0.0/AppServ/j2ee/home/config/application.xml:
Constructing UserManager for default:caught
oracle.security.jazn.JAZNRuntimeException
Can anyone point me in the direction of some unix specific documentation on what to do next?
Many thanks
Alfie
Received on Wed Oct 06 2004 - 00:19:43 CEST