Patricia Wu

Greenhorn
+ Follow
since Sep 23, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Patricia Wu

1. It is not thread safe.
SevletConfig, yes (read-only)
ServletContext, no
Session, no
Request, yes
Another discussion
Not sure about the other two, and also want to know whether html form password field is send using Base64 encoding.
On one server.xml, do a global replace.
Replace 'port="8'
to 'port="9'
and see what happens, I suppose u are only trying it for experimenting purposes.
Hello, all.
I would like to ask when configuring the jdbc driver in WAS 3.5, which driver implementation class should I use if I want to make use of Connection pool.
oracle.jdbc.pool.OracleConnectionPoolDataSource
or
oracle.jdbc.driver.OracleDriver
I am currently using "oracle.jdbc.driver.OracleDriver" this in WAS 3.5 , but when I specify the same class name in WSAD, an error has occured.
So which one should I use for WebSphere 3.5 if i want to use connection pool?
21 years ago
I am still struggling with this problem, when I print out the Object I lookup from WAS3.5, It shows the following:
Reference Class Name: com.ibm.ejs.sm.beans.DataSourceBean$Reference
Type: driverType
Content: JDBC1.0
Type: databaseName
Content: @MyDBName:1521:MySID
Type: dataSourceName
Content: MyDataSourceName
Type: driverImplClass
Content: oracle.jdbc.driver.OracleDriver
Type: driverUrlPrefix
Content: jdbc racle:thin
Type: minPoolSize
Content: 1
Type: maxPoolSize
Content: 30
Type: connTimeout
Content: 300
Type: idleTimeout
Content: 1800
Type: orphanTimeout
Content: 1800
Type: description
Content:
Type: networkProtocol
Content:
Here is the staack trace if it is any helpful in analyzing the problem:
DataSource Lookup Error: java.lang.ClassCastException: javax.naming.Reference
java.lang.ClassCastException: javax.naming.Reference
at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:253)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:136)
Please help.
21 years ago
Hello all,
I am new to using WSAD and wondering if it is possible to run a standalone program to lookup a datasource on a WebSphere 3.5 naming server.
After having changed the JRE to the plugin.server.jdk's one, the ClassNotFoundException is resolved, but when trying to cast the obj looked up to a DataSource type, it throws a ClassCastException.
The jndi name is "jdbc/MyDataSource".
It looks like I am getting javax.naming.Reference object.
So is it possible to look up a datasource inside of WSAD. Because my standalone program does work outside of WSAD after having installed the IBM JDK.

Please help.
21 years ago