This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Websphere and the fly likes WebSphere EJB Lookup Problems ???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WebSphere EJB Lookup Problems ????" Watch "WebSphere EJB Lookup Problems ????" New topic

WebSphere EJB Lookup Problems ????

vjy chin
Ranch Hand

Joined: Feb 17, 2005
Posts: 279
Hi all,

I am very new to Websphere, so please answer my questions in easy words. Thanks for that.

I have Websphere version. I am also using DB2 as my database. I used websphere application studio 5.1.1 as teh developer tool.

I need to do the following

1. Jsp to connect to Servlet - works fine
2. Servlet to - works fine
3. to via (using class and one property file) - works fine
4. From to - works fine
5. From, I need to look up class using class and get the look up correct, so that Iw ill be able to access the bean to get the values from the database - This is where I am having problems

I am attaching all the relevent files


<web-app id="WebApp">



The error Message I am getting is (INSIDE SystemOut.log File):::

The error Message I am getting is (INSIDE SystemErr.log File):::

Sorry, I made this post too long, but I just wanted to make sure you had enough information. I also apologize if I am not being specific, since I started with this Websphere only last week and I need to configure this immediately.

P.S - I tried to change the web.xml, ejb-jar.xml and the .xmi files, but i was not able to preserve the format. Please let me know how I should be able to do it. Thanks

Thanks for your help.
[ September 13, 2005: Message edited by: vjy chin ]
Lin Feng
Ranch Hand

Joined: Dec 11, 2002
Posts: 142
Please check your data source configuration. Your exception log shows the data source JNDI name is binded with an EJB other than a connection factory.

Your code is fine. The exception was thrown when it executed the findByUsrenameAndPassword method

Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3314
Hey, vjy !

Did you manage to solve the problem ? I have exactly the same ...


Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
Exam 1Z0-810: Upgrade to Java SE 8 Programmer Study Guide and Quiz
I agree. Here's the link:
subject: WebSphere EJB Lookup Problems ????
It's not a secret anymore!