aspose file tools*
The moose likes Websphere and the fly likes Weird JDBC class path issue in WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Weird JDBC class path issue in WebSphere" Watch "Weird JDBC class path issue in WebSphere" New topic
Author

Weird JDBC class path issue in WebSphere

Danne Girow
Greenhorn

Joined: Aug 24, 2006
Posts: 9
I am trying to connect to an AS400 from WebSphereCommerce. I have created a class to make this connection. I have added the JT400 to the project (WebSphereCommerceServerExtensionLogic). I have checked the .classpath to verify that the jar is in the class path. When I do the connection I get this message: java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver. I have tried to import the com.ibm.as400.access.* in my project. I have also created a new project and copied the code into it and was able to get a connection. A co-worker is using the class I created and is able to get a connection. I guess what I am saying is that I don't think it is a coding issue but am not sure what else it could be.
PLEEEAASSSEEE help!
vishwa venkat
Ranch Hand

Joined: Nov 22, 2003
Posts: 185
compare your .classpath file with your friend's.
Danne Girow
Greenhorn

Joined: Aug 24, 2006
Posts: 9
The class paths appeared to be the same. It is a setting issue which I can't find but did find this that seemed to solve the problem if not answer why it happened: http://publib.boulder.ibm.com/infocenter/wchelp/v5r6/topic/com.ibm.commerce.developer.doc/tasks/tdeexternaljars.htm

Thanks-
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weird JDBC class path issue in WebSphere
 
Similar Threads
WSAD datasource connection problem to AS400
Help with Remote Data
Exception while connecting to DB2 from Hibernate with RAD 7
Connecting to Remote Data
Eclipse: Can't add new package