File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what are the INTIAL_CONTEXT parameters

 
Raja Sagar Panamgipalli
Ranch Hand
Posts: 109
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Thomas von Haugwitz
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic