Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI and WSAD Database Connectivity Steps

 
thomas davis
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing same kind of problem.

An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource Data source 1 : java.lang.reflect.InvocationTargetException


1. I have added parameters as mentioned above in web.xml and ibm-web-bnd.xml files and created JNDI name using Server persepective of WSAD 5.1.2.
Whatelese I need to get the connection?

Can anybody help me out to solve the connectivity issue?


quote:
--------------------------------------------------------------------------------
It would be great help,if you could send me the steps required for establishing the connection with help of JNDI Look Up using WSAD 5.1.2.
--------------------------------------------------------------------------------



Thanks in advance,
Tom.
--------------------------------------------------------------------------------
Posts: 168 | Registered: Feb 2003 | IP: Logged

thomas davis
ranch hand
Member # 44248
posted February 06, 2006 02:11 AM
--------------------------------------------------------------------------------
I got 10 exceptions and i am sending all those exceptions
1)An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource Data source 1 : java.lang.reflect.InvocationTargetException
2)An exception occurred while trying to instantiate the ManagedConnectionFactory class com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/sample : java.lang.reflect.InvocationTargetException
3)A Reference object looked up from the context "localhost/nodes/localhost/servers/server1" with the name "jdbc/sample" was sent to the JNDI Naming Manager and an exception resulted. Reference data follows:
4)Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is java.lang.reflect.InvocationTargetException
5)An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource Data source 1 : java.lang.reflect.InvocationTargetException
6)An exception occurred while trying to instantiate the ManagedConnectionFactory class com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/sample : java.lang.reflect.InvocationTargetException
7)A Reference object looked up from the context "localhost/nodes/localhost/servers/server1/jdbc" with the name "sample" was sent to the JNDI Naming Manager and an exception resulted. Reference data follows:
8)A NamingException is being thrown from a javax.naming.Context implementation. Details follow:
9)A Reference object looked up from the context "java:" with the name "comp/env/jdbc/sample" was sent to the JNDI Naming Manager and an exception resulted. Reference data follows:
10)A NamingException is being thrown from a javax.naming.Context implementation. Details follow:
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to our IBM/WebSphere forum as it looks pretty WSAD specific.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic