o'relly 的ejb书原文不动的列子,前两天运行很正常,今天什么都没改突然出现问题,所有例子都出现javax.naming.NameNotFoundException: ****HomeRemote not bound,
------------------------------------------------
D:\EJB4.0code\workbook\ex07_3>ant run.client_73
Buildfile: build.xmlprepare:
    [mkdir] Created dir: D:\EJB4.0code\workbook\ex07_3\build
    [mkdir] Created dir: D:\EJB4.0code\workbook\ex07_3\build\classescompile:
    [javac] Compiling 29 source files to D:\EJB4.0code\workbook\ex07_3\build\cla
ssesrun.client_73:
     [java] javax.naming.NameNotFoundException: Test73HomeRemote not bound
     [java]     at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)     [java]     at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)     [java]     at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
     [java]     at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:324)
     [java]     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
a:261)
     [java]     at sun.rmi.transport.Transport$1.run(Transport.java:148)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
     [java]     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
t.java:460)
     [java]     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
ransport.java:701)
     [java]     at java.lang.Thread.run(Thread.java:536)
     [java]     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
r(StreamRemoteCall.java:247)
     [java]     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
ll.java:223)
     [java]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
     [java]     at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
     [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:61
0)
     [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:57
2)
     [java]     at javax.naming.InitialContext.lookup(InitialContext.java:347)
     [java]     at com.titan.clients.Client_73.main(Client_73.java:16)BUILD SUCCESSFUL
Total time: 7 seconds
D:\EJB4.0code\workbook\ex07_3>