I started working with Session beans recently and got an error. i follow, wrox pub, Beginning J2EE and use Sun' Application Server. But when deplying, it was specified in the book that a platform specific deplyment. but that feature was not in the deplyment tool. when i execute client, i am getting the errror like this
C:\SimpleSessionApp>java client.SimpleSessionClient now is running javax.naming.NoInitialContextException: Need to specify class name in environmen t or system property, or as an applet parameter, or in an application resource f ile: 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 client.SimpleSessionClient.main(SimpleSessionClient.java:14)
Dear CS, When you are tring to deploy your application,i guess due to a network problem the server is not getting connected properly.Please check your <url-pattern> specified and try installing your web-server and deploy your application once again.If there is an initial-context problem then please check your servlet coding.
Dear CS, When you are tring to deploy your application,i guess due to a network problem the server is not getting connected properly.Please check your <url-pattern> specified and try installing your web-server and deploy your application once again.If there is an initial-context problem then please check your servlet coding.First of all check if you have jvm installed and also the IDE,since the problem also deals with the environment that your applications are working.