0 Replies Latest reply on Aug 31, 2001 4:46 PM by Sundaram Ramasamy

    while running travelagent Client.

    Sundaram Ramasamy Newbie

      Hi,

      I am trying to run travel agent client example. I was able to run cabin.client_1 and 2. while running travel agent client it's giving me following exception.

      bash-2.02$ run.bat com.titan.travelagent.Client_1
      java.rmi.ServerException: RemoteException occurred in server thread; nested exce
      ption is:
      javax.transaction.TransactionRolledbackException: null; nested exception
      is:
      javax.ejb.EJBException
      javax.transaction.TransactionRolledbackException: null; nested exception is:
      javax.ejb.EJBException
      javax.ejb.EJBException
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
      n Source)
      at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Un
      known Source)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(Ge
      nericProxy.java:357)
      at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(St
      atelessSessionProxy.java:123)
      at $Proxy1.listCabins(Unknown Source)
      at com.titan.travelagent.Client_1.main(Client_1.java:27)
      bash-2.02$

      ****************************************

      Console error message

      [TravelAgentBean] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:
      javax.ejb.EJBException

      [TravelAgentBean] javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: com.titan.cabin.CabinHome

      [TravelAgentBean] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

      [TravelAgentBean] at java.security.AccessController.doPrivileged(Native Method)

      [TravelAgentBean] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

      [TravelAgentBean] at java.lang.ClassLoader.loadClass(ClassLoader.java:297)

      [TravelAgentBean] at java.lang.ClassLoader.loadClass(ClassLoader.java:253)

      [TravelAgentBean] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

      [TravelAgentBean] at java.lang.Class.forName0(Native Method)

      [TravelAgentBean] at java.lang.Class.forName(Class.java:195)

      [TravelAgentBean] at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:183)

      [TravelAgentBean] at java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:982)

      [TravelAgentBean] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)

      [TravelAgentBean] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)

      [TravelAgentBean] at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)

      [TravelAgentBean] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)

      [TravelAgentBean] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)

      [TravelAgentBean] at java.rmi.MarshalledObject.get(MarshalledObject.java:138)

      [TravelAgentBean] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)

      [TravelAgentBean] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)

      [TravelAgentBean] at javax.naming.InitialContext.lookup(InitialContext.java:350)

      [TravelAgentBean] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:421)

      [TravelAgentBean] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:457)

      [TravelAgentBean] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)

      [TravelAgentBean] at javax.naming.InitialContext.lookup(InitialContext.java:350)

      [TravelAgentBean] at com.titan.travelagent.TravelAgentBean.listCabins(TravelAgentBean.java:22)

      [TravelAgentBean] at java.lang.reflect.Method.invoke(Native Method)

      [TravelAgentBean] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:543)

      [TravelAgentBean] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:87)

      [TravelAgentBean] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)

      [TravelAgentBean] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)

      [TravelAgentBean] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)

      [TravelAgentBean] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)

      [TravelAgentBean] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)

      [TravelAgentBean] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286)

      [TravelAgentBean] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:393)

      [TravelAgentBean] at java.lang.reflect.Method.invoke(Native Method)

      [TravelAgentBean] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)

      [TravelAgentBean] at sun.rmi.transport.Transport$1.run(Transport.java:142)

      [TravelAgentBean] at java.security.AccessController.doPrivileged(Native Method)

      [TravelAgentBean] at sun.rmi.transport.Transport.serviceCall(Transport.java:139)

      [TravelAgentBean] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)

      [TravelAgentBean] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)

      [TravelAgentBean] at java.lang.Thread.run(Thread.java:484)