0 Replies Latest reply on Jun 20, 2003 2:29 AM by srinivas

    TimerService with EJB2.1

    srinivas Newbie

      Hi,
      I suppose EJB2.1 is supported in JBOSS4.0 Release.
      I'm trying to run an example on timer service.The bean was deployed without any error.but when i try to run from my client i get the following error on my client side

      FATAL [main] (ClientServiceMBeanSupport.java:76) - Could not set up mbean server
      or mbeans in client
      MBeanException: org.jboss.mx.modelmbean.XMBean constructor has thrown an excepti
      on: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the XML fil
      e, from XMLMetaData:
      Cause: org.jboss.mx.util.JBossNotCompliantMBeanException: Error parsing the XML
      file, from XMLMetaData:
      at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBean
      ServerImpl.java:955)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      913)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
      269)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
      310)
      at org.jboss.system.client.Client.registerXMBean(Client.java:104)
      at org.jboss.tm.DTXAResourceInterceptor.internalSetup(DTXAResourceInterc
      eptor.java:151)
      at org.jboss.system.client.ClientServiceMBeanSupport.internalReadResolve
      (ClientServiceMBeanSupport.java:71)
      at org.jboss.tm.DTXAResourceInterceptor.readResolve(DTXAResourceIntercep
      tor.java:136)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.io.ObjectStreamClass.invokeMethod(ObjectStreamClass.java:1610)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:388)
      at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:225
      8)
      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
      4)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.util.HashMap.readObject(HashMap.java:835)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2
      209)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1406)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:225
      8)
      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
      4)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:113
      )
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1207)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:225
      8)
      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:51
      4)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:133)
      at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:3
      0)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:522)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:479)
      at javax.naming.InitialContext.lookup(InitialContext.java:345)
      at HelloClient.main(HelloClient.java:18)


      Regards
      Srinivas.Pappu