wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "what are the INTIAL_CONTEXT parameters" Watch "what are the INTIAL_CONTEXT parameters" New topic
Author

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 ..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


SCJP 1.4<br />SCBCD 1.3
Thomas von Haugwitz
Greenhorn

Joined: Jun 16, 2004
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what are the INTIAL_CONTEXT parameters