Solved

EJB module can't find database driver

Posted on 2013-06-05
5
13 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
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert BufferedReader to File 1 89
stringclean challenge 26 74
Modeling a class in java 5 53
throw exception 21 42
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now