This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

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