Hi Guys,
I'm a beginner with Java/EJB. I'm trying to setup a basic session bean program. I'm getting the following error when i run my client
Exception in thread "main" 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(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.hp.sw.psp.gdc.client.AllyClient.doLookup(AllyClient.java:66)
at com.hp.sw.psp.gdc.client.AllyClient.invokeAlly(AllyClient.java:33)
at com.hp.sw.psp.gdc.client.AllyClient.main(AllyClient.java:24)
Hi Allwyn,
welcome to the forums.
Please do not post a question in different forums.
Add always the appropriate information and post it in a forum where it seems to have a chance for an answer.
I continue here EJB in Jboss AS 7.1