Solved

WAS 4.0 startup error

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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