Topic
  • No replies
amit24
amit24
1 Post

Pinned topic JNDI exception in RAD 7 WAS 6 migration

‏2009-11-19T11:02:26Z |
I am trying to update the database using a java client in the project on WAS 6.
I am using the below ksh script which has been modified and a lot of jar files been added as per the research done on the net. I still get the database connectivity exception. Can anyone please help in getting rid of this error?
"
SEVERE: CREATE_MANAGED_CONNECTION_FACTORY_DETAILS_EXCP_J2CA0009
Nov 19, 2009 7:46:49 AM com.ibm.ws.naming.util.Helpers
WARNING: jndiGetObjInstErr
Nov 19, 2009 7:46:49 AM com.ibm.ws.naming.util.Helpers
WARNING: jndiNamingException
"
Script
export PLUGINS=/websphere/product/AppServer/6.1/plugins
export CLASSPATH=${CLASSPATH}:/websphere/product/AppServer/6.1/lib/WMQ/java/lib/com.ibm.mq.jar
export CLASSPATH=${CLASSPATH}:/websphere/product/AppServer/6.1/lib/WMQ/java/lib/com.ibm.mqjms.jar
export CLASSPATH=${CLASSPATH}:/websphere/product/AppServer/6.1/lib/bootstrap.jar
export CLASSPATH=${CLASSPATH}:/websphere/product/AppServer/6.1/lib/j2ee.jar
export CLASSPATH=${CLASSPATH}:/websphere/product/AppServer/6.1/lib/mail-impl.jar
export CLASSPATH=${CLASSPATH}:/websphere/product/AppServer/6.1/lib/marshall.jar
export CLASSPATH=${CLASSPATH}:/websphere/product/AppServer/6.1/lib/rsadbutils.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.ejbportable_6.1.0.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.emf_2.1.0.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.portletcontainer_2.0.0.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.runtime.dist_6.1.0.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.runtime_6.1.0.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.sib.server_2.0.0.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.sip.container_6.1.0.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.wccm_6.1.0.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.webcontainer_2.0.0.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/com.ibm.ws.wsadie_6.1.0\marshall.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/org.eclipse.emf.common_2.2.1.v200609210005.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/org.eclipse.emf.commonj.sdo_2.1.0.v200609210005.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/org.eclipse.emf.ecore.change_2.2.0.v200609210005.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/org.eclipse.emf.ecore_2.2.1.v200609210005.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/org.eclipse.emf.ecore.sdo_2.2.0.v200609210005.jar
export CLASSPATH=${CLASSPATH}:${PLUGINS}/org.eclipse.emf.ecore.xmi_2.2.1.v200609210005.jar

export CLASSPATH=${CLASSPATH}:/websphere/product/AppServer/6.1/runtimes/com.ibm.ws.webservices.thinclient_6.1.0.jar

export CLASSPATH=.:/websphere/df6a5/installedApps/df6a/bmta.ear/BMTClient.jar:/websphere/df6a5/installedApps/df6a/bmta.ear/BMTWeb.war/WEB-INF/lib/AMF/AMF-2.0.0.jar:/websphere/df6a5/installedApps/df6a/bmta.ear/BMTWeb.war/WEB-INF/lib/AMF/log4j-1.2.6.jar:/websphere/df6a5/installedApps/df6a/bmta.ear/BMTWeb.war/WEB-INF/classes:/websphere/df6a5/installedApps/df6a/bmta.ear/BMTWeb.war/WEB-INF/lib/hab-2.0.1.jar:/websphere/admin/lib/jdbc/oracle/ojdbc14.jar:/websphere/df6a5/installedApps/df6a/bmta.ear/BMTWeb.war/WEB-INF/lib/joltjse.jar:/websphere/df6a5/installedApps/df6a/bmta.ear/BMTWeb.war/WEB-INF/lib/jolt.jar:/websphere/product/AppServer/6.1/properties:$CLASSPATH

#echo $CLASSPATH

/websphere/product/AppServer/6.1/java/bin/java -Djava.naming.provider.url=iiop://df6a6.web.bc:31040 bgc.bmt.client.ReassignNegAppointmentReferralProxy 1>/bmta/bmt/var/log/BmtClientOut.log 2>/bmta/bmt/var/log/BmtClientErr.log