[jboss-user] [EJB3] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

Pawan Jajara do-not-reply at jboss.com
Mon Mar 14 02:34:56 EDT 2011


Pawan Jajara [http://community.jboss.org/people/pawankjajara] created the discussion

"Re: javax.naming.NameNotFoundException: MyEjb3 not bound :("

To view the discussion, visit: http://community.jboss.org/message/592949#592949

--------------------------------------------------------------
Hello Everybody,

I had been trying to solve the bound problem in my EJB application. Here is the list of errors I am getting when trying to build using Apache Ant and JBoss AS Server 6.0


     [java] log4j:WARN No appenders could be found for logger (org.jnp.interfaces.TimedSocketFactory).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] javax.naming.NameNotFoundException: GeoCMPEEJB not bound
     [java] java.lang.NullPointerException
     [java]           at ejbclient.loadrouteinfo.deleteroutes(loadrouteinfo.java:31)
     [java]           at ejbclient.loadrouteinfo.main(loadrouteinfo.java:149)
     [java]           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     [java]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     [java]           at java.lang.reflect.Method.invoke(Unknown Source)
     [java]           at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]           at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]           at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
     [java]           at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
     [java]           at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
     [java]           at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
     [java]           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     [java]           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     [java]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     [java]           at java.lang.reflect.Method.invoke(Unknown Source)
     [java]           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]           at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]           at org.apache.tools.ant.Target.execute(Target.java:390)
     [java]           at org.apache.tools.ant.Target.performTasks(Target.java:411)
     [java]           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     [java]           at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     [java]           at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]           at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
     [java]           at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     [java]           at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:423)
     [java]           at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:137)
     [java] javax.naming.NameNotFoundException: GeoCMPEEJB not bound
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/592949#592949]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110314/0c1d37e9/attachment-0001.html 


More information about the jboss-user mailing list