This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes NameNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "NameNotFoundException" Watch "NameNotFoundException" New topic



Joined: Oct 13, 2005
Posts: 1
Hi all,
I try to set up a test server with WSAD 5.1
I start it and ... BouUMMMMM I get this error grrrr

javax.naming.NameNotFoundException: Context: localhost/nodes/localhost/servers/server1, name: dburl: First component in name dburl not found. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL

dburl is a property that was set in my server config (environment)

anyone has an idea??
it would be great..........
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3703

So if I read this correctly you are attempting to use a server property in a server component name? I don't believe this is possible since names are set once and only changed when the server or component is restarted. You need to specify the name of this component directly.

BTW, if you are concerned about hard-coding this name, it is why resource references are used for databases, so that applications dont neccessarily know about the hard coded names of the db.

My Blog: Down Home Country Coding with Scott Selikoff
I agree. Here's the link:
subject: NameNotFoundException
Similar Threads
BMP, Jboss, and mysql configuring
java .lang .Number Format Error
Connecting DB with applets
accesing a database
how to connect to mysql database ?