Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 21
  • Last Modified:

EJB module can't find database driver

Hi,
in my j2ee application I included jt400.jar as external jar to my build path but when I try to connect from an ejb code I got a class not found exception com.ibm.as400.access.AS400JDBCDriver
Any Idea?
0
dionisio_79
Asked:
dionisio_79
  • 2
2 Solutions
 
mrcoffee365Commented:
Your execution path also needs the jar.
0
 
Amitkumar PanchalSr. ConsultantCommented:
Agree with mrcoffee365. Check your classpath at runtime, does it include jt400.jar ?
0
 
mrcoffee365Commented:
We both gave the correct answer.  Split the points between

mrcoffee365 2013-06-05 at 14:23:46 ID: 39223227
Amitkumar Panchal 2014-09-12 at 09:50:30 ID: 40319297
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now