Solved

EJB module can't find database driver

Posted on 2013-06-05
5
17 Views
Last Modified: 2016-07-07
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
Comment
Question by:dionisio_79
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 27

Accepted Solution

by:
mrcoffee365 earned 250 total points
ID: 39223227
Your execution path also needs the jar.
0
 
LVL 21

Assisted Solution

by:Amitkumar Panchal
Amitkumar Panchal earned 250 total points
ID: 40319297
Agree with mrcoffee365. Check your classpath at runtime, does it include jt400.jar ?
0
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 41697163
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question