-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gurpreet,
[EMAIL PROTECTED] wrote: > When I run this code snippet as a standalone Java programme (standalone > JVM), I do the following: > > a) Give the command line option "-d64" while running the standalone > programme. > b) Set the LD_LIBRARY_PATH to include the path of libocijdbc10.so and > libocci.so > > [snip] > > The standalone JVM works fine with these changes. > > Now incase of tomcat, I have set the following parameters in "catalina.sh" > : > > JAVA_OPTS="-d64" - > Djava.library.path=/opt/common/oracle_inst_client/instant > client_10_2 > > CATALINA_OPTS="-d64" -Djava.library.path=/opt/common/oracle_inst_client/ins > tantclient_10_2 Unless these are typos, you have a syntax error. You need quotes around the entire value for both JAVA_OPTS and CATALINA_OPTS. So, they should be: JAVA_OPTS="-d64 - -Djava.library.path=/opt/common/oracle_inst_client/instantclient_10_2" and CATALINA_OPTS="-d64 - -Djava.library.path=/opt/common/oracle_inst_client/instantclient_10_2" You also can't have newlines unless you escape them; I recommend against it unless you know what I'm talking about. Try that and see if it helps. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFbxaR9CaO5/Lv0PARAprVAJ4pQ23kN9mzX6I6v/+E1n8chuhZlwCgjdX6 JEcaKfncOK7OYdsti/z1oDQ= =2sUx -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]