This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes what are the INTIAL_CONTEXT parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "what are the INTIAL_CONTEXT parameters" Watch "what are the INTIAL_CONTEXT parameters" New topic

what are the INTIAL_CONTEXT parameters

Raja Sagar Panamgipalli
Ranch Hand

Joined: Aug 13, 2003
Posts: 109
Hello there...

Guys,i'm not able understand what to insert here in the HelloClient program 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....

SCJP 1.4<br />SCBCD 1.3
Thomas von Haugwitz

Joined: Jun 16, 2004
Posts: 1

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 :-)


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: what are the INTIAL_CONTEXT parameters
It's not a secret anymore!