[jboss-user] [EJB 3.0] - Re: Deploy Problem
jokim1979
do-not-reply at jboss.com
Tue Feb 12 04:16:37 EST 2008
Thanks for the information.
I made this changes.
I put jbossall-client.jar at same level as CS-app-client.jar (in C:\)
I put the new entry into client's Manifest.MF:
| Manifest-Version: 1.0
| Ant-Version: Apache Ant 1.6.5
| Created-By: 1.6.0-b105 (Sun Microsystems Inc.)
| X-COMMENT: Main-Class will be added automatically by build
| Main-Class: cs.Main
| Class-Path: CS-ejb.jar jbossall-client.jar
|
I used same classpath and commands than before but the error was the same too:
| 12-feb-2008 9:55:12 com.gui.funcionalidad.seguridad.controladorPUsuarios lookupUsuariosBean
| GRAVE: exception caught
| javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interface.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interface.NamingContextFactory]
| 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 com.gui.funcionalidad.seguridad.controladorPUsuarios.lookupUsuariosBean(controladorPUsuarios.java:94)
| at com.gui.funcionalidad.seguridad.controladorPUsuarios.<init>(controladorPUsuarios.java:61)
| at com.gui.funcionalidad.seguridad.controladorPUsuarios.<clinit>(controladorPUsuarios.java:43)
| at com.gui.pantalla.seguridad.LOGIN.btAceptarActionPerformed(LOGIN.java:109)
|
I think that the problem is in Manifest.MF Class-Path that import a CS-ejb.jar (which it should be in C:\ but it's the server side). Could it be??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128630#4128630
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128630
More information about the jboss-user
mailing list