This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weird JDBC class path issue in WebSphere

 
Danne Girow
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
compare your .classpath file with your friend's.
 
Danne Girow
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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-
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic