javax.naming.CommunicationException: Can't find SerialContextProvider at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:60) at com.sun.enterprise.naming.SerialContext.<init>(SerialContext.java:79) at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInitContextFactory.java:54) at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext.<init>(Unknown Source) at tester.TesterClient.main(TesterClient.java:21)
Did you do any changes to the jboss-ha-local-jdbc.rar which is in the deploy folder of the server. The exceptions show that the .rar extension has been removed from this file and as a result no deployer is being found to deploy it. Also, delete the jndi.properties file from the deploy folder.
Thanks Jai, I have removed the Jndi property file and kept it out side.But i am still getting error.
Now i again i deployed my simple(Basic application tester.jar) on jboss-4.2.1.GA.
Server is running without any problem. But when i am running the client name of client is TesterClient then it is not able to fine mind my Home interface. error's i am getting are
javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: tester.TesterHome (no security manager: RMI class loader disabled at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:730) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589) at javax.naming.InitialContext.lookup(Unknown Source) at tester.TesterClient.main(TesterClient.java:22) Caused by: java.lang.ClassNotFoundException: tester.TesterHome (no security manager: RMI class loader disabled)
can you please tell me what is going wrong. Please help me its very urgent.