I am trying to deploy CFMX(6.1) on top of a JRun installation and  I
am having a hard time setting up oci drivers for the CFMX(6.1).  I
have successfully set up OCI drivers for a standalone CFMX(6.0)
installation, but can not seem to get them working when deployed on
top of a JRun installation.

Curretly I am using a simple start up script to start up the the
jrun/cfmx server that is setting the classpath info for oracle.  I
have also add the ojdb14.jar JRUN_HOME/servers/lib. I am able to add
a thin driver, but when trying to add a OCI driver i am getting an
error:

Connection verification failed for data source: testoci
[]java.sql.SQLException: Timed out trying to establish connection
The root cause was that: java.sql.SQLException: Timed out trying to
establish connection

jrunctl.sh
--------------------
#!/bin/sh
TNS_ADMIN=/var/opt/oracle ; export TNS_ADMIN
ORACLE_HOME=/oracle/9.2.0.1.0 ; export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib ; export LD_LIBRARY_PATH

case $1 in

'start')
su wmaster -c "/usr/local/jrun4/bin/jrun start > /dev/null 2>&1"
;;

'stop')
su wmaster -c "/usr/local/jrun4/bin/jrun stop > /dev/null 2>&1"
;;

*)
echo "usage: /etc/init.d/jrun {start|stop}"
;;

esac

Any help is appreciated,
Jason

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to