This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.cognizant.radbeta.client.Teclio.main(Teclio.java:15)
what is the reason for the error? [ January 18, 2008: Message edited by: arun venkatesh ]
The InitialContext class has a constructor with a Properties argument, which you could use to pass the name of that missing class, which seems to be the name of the initial context factory. For example, I'm using JBoss and these properties to get an InitialContext:
[ January 22, 2008: Message edited by: Henrique Ordine ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com