Solved

EJB module can't find database driver

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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
servlet requestdispatcher include and forward differences 1 45
ejb on wildfly 5 45
junit example issue 2 22
Java array sort 10 28
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…
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.

713 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