Windows XP, JBoss  4.0.0RC2

I am running the examples in Monson-Haefel's Enterprise Javabeans book fourth edition. 
I ran the first example ex04_1, Client_1 and the output worked just fine. When I ran 
the second example, I got


  | Buildfile: D:\sandbox\ex04_1\build.xml
  | prepare:
  | compile:
  |     [javac] Compiling 5 source files to D:\sandbox\ex04_1\build\classes
  | ejbjar:
  |       [jar] Building jar: D:\sandbox\ex04_1\build\titan.jar
  |      [copy] Copying 1 file to D:\Apps\jboss-4.0.0RC2\server\default\deploy
  | run.client_41b:
  |      [java] java.lang.IllegalArgumentException: null object name
  |      [java] at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:495)
  |      [java] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:636)
  |      [java] at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775)
  |      [java] at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
  |      [java] at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
  |      [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |      [java] at java.lang.reflect.Method.invoke(Method.java:324)
  |      [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java: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(TCPTransport.java:460)
  |      [java] at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  |      [java] at java.lang.Thread.run(Thread.java:534)
  |      [java] at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
  |      [java] at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
  |      [java] at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  |      [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
  |      [java] at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
  |      [java] at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
  |      [java] at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  |      [java] at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  |      [java] at 
org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:97)
  |      [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  |      [java] at $Proxy1.setBedCount(Unknown Source)
  |      [java] at com.titan.clients.Client_2.makeCabins(Client_2.java:91)
  |      [java] at com.titan.clients.Client_2.main(Client_2.java:27)
  | 

which looks like some kind of internal error. Interestingly, I deleted the  hypersonic 
DB and reran Client_1 followed by Client_2 and now the second invocation worked.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849034#3849034

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849034


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to