• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help WAS 5.1 Wrong Context

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Help Please!!!
I have 3 servers created in WAS
1. default server1
2. serverQA
3. serverPROD
I have an duplicate copies of an ear file attached to each, serverQA and serverPROD When I run this the lookups are looking in server1 rather than the serverQA or serverProd that it is attached to. The ear file is not on server1 So I get this error:

[4/1/04 12:10:18:880 CST] 45da68a0 SystemErr R javax.naming.NameNotFoundException: Context: testserver-jeff/nodes/testserver-jeff/servers/server1, name: org/inccrra/ned/ejb/service/SecUserEJBService: First component in name SecUserEJBService not found. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL mg.org/CosNaming/NamingContext/NotFound:1.0
Where I can I change so the Context Context: testserver-jeff/nodes/testserver-jeff/servers/server1 is to the right server?
Help Please!!!
Thanks in Advance!
Sybil
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sybil,
Is your ejb using explicit port numbers?
 
Sybil Santos-Burgan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thanks, I figured out what my problem was.
I didn't specify the bootstrap address used by my new server for my PROVIDER_URL. If you don't specify it goes to the default port 2089 which happen to be pointing to another server. This link helped me realize my problem.
Thanks!
Sybil
http://www.devx.com/ibm/Article/17220#MultipleInitialContext
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic