• 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

what are the INTIAL_CONTEXT parameters

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello there...

Guys,i'm not able understand what to insert here in the HelloClient program ..ie..while getting the initialcontext...
i haven't really gone through the documentation ..plz help me as to why this is needed...


Is the above correct...its autogenerated by the IDE...
when i compile the Hworld Client i also get the exception as below...

this was shown in the JBuilder tool i'm using.....kindly help me....
regards
Sagar
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

simple solution
change environment.put(Context.PROVIDER_URL, "jnp://localhost:8080");
to environment.put(Context.PROVIDER_URL, "jnp://localhost:1099");
and make sure your JBoss is running :-)

Greetings


Thomas
reply
    Bookmark Topic Watch Topic
  • New Topic