?
Solved

WAS 4.0 startup error

Posted on 2002-05-09
6
Medium Priority
?
191 Views
Last Modified: 2013-12-10
An error occurs every time I try ro start WAS Enterprise 4.0.1 (just installed) on a windows 2000 machine, by using Start/Programs/IBM Webshpere/Application Server/StartApplicationServer.
Once changed all the ports being used by other application by editing the server-cfg.xml file, I still encounter the following error (reported in the activity.log):

jndiNamingException ... Name jdbc not found in context "local"

What does it means?
Thanx!
0
Comment
Question by:clabuo
[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
6 Comments
 
LVL 3

Expert Comment

by:jerelw
ID: 7003847
what type of database is your was database?

0
 
LVL 19

Accepted Solution

by:
Jim Cakalic earned 200 total points
ID: 7024378
How did you code the JNDI lookup of your DataSource? I've seen example code of the form:
    context.lookup("java:comp/env/jdbc/Database");

where "jdbc" is the naming prefix and "Database" is the name of the configured DataSource. However, for this to work, I think you have to specify the DataSource in the deployment descriptor for each EJB. Instead, I use:
    context.lookup("jdbc/Database");

Secondarily, there was a problem corrected by e-fix PQ57046 with the way that the JNDI name for the DataSource was stored. Go here
    http://www-3.ibm.com/software/webservers/appserv/support.html

and search on "PQ57046" in the box provided.

Hope this helps.
Jim Cakalic
0
 
LVL 19

Expert Comment

by:Jim Cakalic
ID: 7059756
Has your lookup problem been solved?
0

Featured Post

Independent Software Vendors: 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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

752 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