Solved

WAS 4.0 startup error

Posted on 2002-05-09
6
184 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
  • 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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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