Topic
No replies
SystemAdmin
SystemAdmin
1660 Posts
ACCEPTED ANSWER

Pinned topic Exception in webshere while connecting Appserver to Database

‏2008-02-29T09:40:50Z |
Hi ,

We are getting the below error by when our sh script is excuted , it is not able to establish the connection between Appserver(was 6.0.2.15) & DataBase
but the same sh script works fine in our Environment . Please help us for the below error. It is Urgent

We had made the SOP for some of the values in our sh script .
the DataSource Name & JNDIName is MISDataSource
******Process start*********
ipport :iiop://169.194.248.116:2834
Props Key = java.naming.provider.url ******Props value=
iiop://169.194.248.116:2834
Props Key = java.naming.factory.initial ******Props value=
com.ibm.websphere.naming.WsnInitialContextFactory
JNDINameMISDataSource
InitialContext value: javax.naming.InitialContext@25f595e3
JNDIName Ater ctxMISDataSource
Feb 26, 2008 2:08:48 PM com.ibm.ws.naming.util.Helpers
WARNING: jndiGetObjInstErr
Feb 26, 2008 2:08:48 PM com.ibm.ws.naming.util.Helpers
WARNING: jndiNamingException
******Lookup Failed due to
*******com.ibm.websphere.naming.CannotInstantiateObjectException:
Exception occurred while the JNDI NamingManager was processing a
javax.naming.Reference object. [Root exception is
javax.naming.NamingException: Exception: null [Root exception is
java.lang.NullPointerException]]
com.ibm.websphere.naming.CannotInstantiateObjectException: Exception
occurred while the JNDI NamingManager was processing a
javax.naming.Reference object. Root exception is
javax.naming.NamingException: Exception: null. Root exception is
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java(Compiled Code))
at java.util.Properties.setProperty(Properties.java:130)
at
com.ibm.ejs.cm.CMPropertiesImpl.loadFromReference(CMPropertiesImpl.java:
375)
at
com.ibm.websphere.advanced.cm.factory.DataSourceFactory$ResourceReferenc
eObjectFactory.getObjectInstance(DataSourceFactory.java:972)
at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:314)
at
com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpe
rs.java:894)
at
com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.
java:701)
at
com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextI
mpl.java:1937)
at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1792
)
at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1707
)
at
com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:141
2)
at
com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1290)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:145)
at javax.naming.InitialContext.lookup(InitialContext.java:361)
at
com.citigroup.cdcla.jba.jfpmis.DBConnection.getWLSConnection(DBConnectio
n.java:149)
at
com.citigroup.cdcla.jba.jfpmis.ProcessLogger.main(ProcessLogger.java:154
)
Connection Object :null
  • **************************
Thanks in Advance