File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 :-)


I agree. Here's the link:
subject: what are the INTIAL_CONTEXT parameters
It's not a secret anymore!