[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once
Fuchs
do-not-reply at jboss.com
Mon Oct 26 13:21:55 EDT 2009
after i deploying my application i get this error from the java console:
[java] Exception in thread "main" javax.naming.NameNotFoundException: CustomerArchivTimerBean 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.java:267)
| [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [java] at java.lang.reflect.Method.invoke(Method.java:597)
| [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
| [java] at sun.rmi.transport.Transport$1.run(Transport.java:159)
| [java] at java.security.AccessController.doPrivileged(Native Method)
| [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
| [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
| [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
| [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
| [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
| [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
| [java] at java.lang.Thread.run(Thread.java:619)
| [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
| [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
| [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
| [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
| [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
| [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| [java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
| [java] at ejb3.timer.client.CustomerArchivClient.testClusterScheduleIntervalTimer(CustomerArchivClient.java:22)
| [java] at ejb3.timer.client.CustomerArchivClient.main(CustomerArchivClient.java:15)
| [java] Java Result: 1
The JBoss console says:
ObjectName: jboss.j2ee:jar=customerTimer.ejb3,name=CustomerArchivTimerBean,service=EJB3
| State: FAILED
| Reason: java.lang.IllegalArgumentException: ejb3.timer.bean.CustomerArchivTimerBean is not an interface
in the jboss web-console the ejb3-service CustomerArchivTimerBean is registered. i am confused why the Bean isnt found.
is there anyone who has an idea what i am doing wrong this time, or what the exception mean?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262238#4262238
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262238
More information about the jboss-user
mailing list