我在jboss下部署EJB是出现以下错误,请大家帮忙啊!!!

bravgy
05-09-13 1 148

[STDOUT] javax.naming.NameNotFoundException: ejb not bound
14:33:22,761 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:490)
14:33:22,761 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:498)
14:33:22,761 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingServer.java:504)
14:33:22,761 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServer.java:248)
14:33:22,761 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
14:33:22,761 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
14:33:22,761 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:347)
14:33:22,761 INFO [STDOUT] at com.yourcompany.struts.action.LoginAction.execute(LoginAction.java:53)
14:33:22,761 INFO [STDOUT] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
14:33:22,761 INFO [STDOUT

banq
2005-09-14 15:14

要调用的对方EJB的JNDI没有设置,或者不正确。