Solved

WAS 4.0 startup error

Posted on 2002-05-09
6
185 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
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.…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

809 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