[jboss-user] [EJB 3.0] - entity bean
arrojusrikanth
do-not-reply at jboss.com
Mon Mar 3 11:39:59 EST 2008
when iam deploying entity bean it is deployed sucessfully
when i enter ant run at the command prompt
it is generating error
run:
[java] Exception in thread "main"
javax.naming.NameNotFoundException: remot
e not bound
[java] at
org.jnp.server.NamingServer.getBinding(NamingServer
.java:529)
[java] at
org.jnp.server.NamingServer.getBinding(NamingServer
.java:537)
[java] at
org.jnp.server.NamingServer.getObject(NamingServer.
java:543)
[java] at
org.jnp.server.NamingServer.lookup(NamingServer.jav
a:296)
[java] at
org.jnp.server.NamingServer.lookup(NamingServer.jav
a:270)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeM
ethodAcces
sorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Del
egatingMet
hodAccessorImpl.java:25)
[java] at
java.lang.reflect.Method.invoke(Method.java:597)
[java] at
sun.rmi.server.UnicastServerRef.dispatch(UnicastSer
verRef.jav
a:305)
[java] at
sun.rmi.transport.Transport$1.run(Transport.java:15
9)
[java] at
java.security.AccessController.doPrivileged(Native
Method)
[java] at
sun.rmi.transport.Transport.serviceCall(Transport.j
ava:155)
[java] at
sun.rmi.transport.tcp.TCPTransport.handleMessages(T
CPTranspor
t.java:535)
[java] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandle
r.run0(TCP
Transport.java:790)
[java] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandle
r.run(TCPT
ransport.java:649)
[java] at
java.util.concurrent.ThreadPoolExecutor$Worker.runT
ask(Thread
PoolExecutor.java:885)
[java] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPool
Executor.java:907)
[java] at
java.lang.Thread.run(Thread.java:619)
[java] at
sun.rmi.transport.StreamRemoteCall.exceptionReceive
dFromServe
r(StreamRemoteCall.java:255)
[java] at
sun.rmi.transport.StreamRemoteCall.executeCall(Stre
amRemoteCa
ll.java:233)
[java] at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:14
2)
[java] at
org.jnp.server.NamingServer_Stub.lookup(Unknown
Source)
[java] at
org.jnp.interfaces.NamingContext.lookup(NamingConte
xt.java:62
5)
[java] at
org.jnp.interfaces.NamingContext.lookup(NamingConte
xt.java:58
7)
[java] at
javax.naming.InitialContext.lookup(InitialContext.j
ava:392)
[java] at x.Client.main(Client.java:12)
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 3 minutes 42 seconds
D:\software\jayendra\EJB\EntityBean>ant clean
Buildfile: build.xml
clean:
[delete] Deleting directory
D:\software\jayendra\EJB\EntityBean\build
[delete] Deleting: D:\Program
Files\jboss-4.0.5.GA\server\default\deploy\Ent.
jar
BUILD FAILED
D:\software\jayendra\EJB\EntityBean\build.xml:85:
Unable to delete file D:\Progr
am
Files\jboss-4.0.5.GA\server\default\deploy\Ent.jar
Total time: 2 seconds
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133667#4133667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133667
More information about the jboss-user
mailing list