| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Running OWS Java cartridge classes from the command line
The OWS Java Cartridge documentation (see "Building the Java
Application") implies that I should be able to run the non-"Java Web
Toolkit" stuff using command line java, but the following class fails:
public static void main(String args[]) throws Exception {
Session.setProperty("ORACLE_HOME",System.getProperty("oracleHome"));
}
at
at testSession.main(testSession.java:4)
============================
which is an error in the static initializer for oracle.rdbms.Session. Any property name/value gives the same error. If I try the alternative :
Session session = new Session(properties);
or other varients, the error is indeed located at oracle.rdbms.Session.<init>(Session.java)
Any suggestions?
Thanks,
Fergus
P.S.
1) I have LD_LIBRARY_PATH set correctly to include $ORAWEB_HOME/lib (and
CLASSPATH is set!)
2) OWS 3.0, Oracle 8.0.4 on Solaris 2.5.1
3) Oracle and the OWS are pretty much vanilla installs.
--
Fergus Gallagher
Orbis Technology Ltd, UK
Received on Tue Sep 15 1998 - 09:31:54 CDT
![]() |
![]() |