|
|
Question : no value for Real Data Source Name, cannot perform jndi
|
|
when i installed p6spy in websphere6.1 i am getting following exception.
java.sql.SQLException: P6DataSource: no value for Real Data Source Name, cannot perform jndi lookupDSRA0010E: SQL State = null, Error Code = 0;
i am connecting to oracle database;what properties should i set for these parameters in spy.properties file;
realdatasource= realdatasourceclass= realdatasourceproperties=
|
Answer : no value for Real Data Source Name, cannot perform jndi
|
|
Well, the values would depend upon your WebSphere settings. I don't know anything about p6spy since I haven't used it. However, it sounds like you might be able to use information about "application clients", since they allow stand-alone Java applications to access WebSphere resources remotely. This includes datasources. So, I suggest that you take a look at this documentation:
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tcli_developjava.html
|
|
|
|
|