Caros colegas, estou tentando acessar um EJB remoto (utilizando GlassFish) e estou tendo o seguinte erro:
[quote]
javax.naming.NamingException: ejb ref resolution error for remote business br.com.playable.GetMaxNave [Root exception is java.lang.ClassNotFoundException: br.com.playable.GetMaxNave]
at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:425)
at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:74)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at clientappstandalone.Main.main(Main.java:41)
Caused by: java.lang.ClassNotFoundException: br.com.playable.GetMaxNave
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) [/quote]
Alguém?