Solved

EJB module can't find database driver

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
word0 challenge 4 75
ArrayIndexOutOfBoundException 9 105
HSSFWorkbook cannot be resolved error 10 185
tomcat not starting 6 98
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.

710 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