0 Replies Latest reply on Apr 20, 2006 3:47 PM by Javier Ibarra

    connect to VLS promblems

    Javier Ibarra Newbie

      Hello

      I'm trying to connect to a VLS (Versata Logic Server) from java application and i have some problems with method connect() from versata package.

      If someone can help me i apreciate that!

      here is the log:

      run:
      VSSession...
      2006-04-20 09:37:18 PDT versata.common.VSSession INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/VSSession.java#3 $
      2006-04-20 09:37:18 PDT versata.common.VSOutParam INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/VSOutParam.java#1 $
      2006-04-20 09:37:18 PDT versata.common.VSSerializedVector INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/VSSerializedVector.java#1 $
      2006-04-20 09:37:18 PDT versata.common.VSSecurityObjectHolder INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/VSSecurityObjectHolder.java#1 $
      2006-04-20 09:37:18 PDT versata.common.VSSecurityObjectImpl INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/VSSecurityObjectImpl.java#1 $
      2006-04-20 09:37:18 PDT versata.common.sessionSecurityObject INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/sessionSecurityObject.java#3 $
      2006-04-20 09:37:18 PDT versata.vfc.XDAClientConnectorImpl INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/vfc/XDAClientConnectorImpl.java#6 $
      2006-04-20 09:37:18 PDT versata.vfc.XDAEJBConnector_EJB INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/vfc/XDAEJBConnector_EJB.java#2 $
      2006-04-20 09:37:18 PDT versata.vfc.XDAEJBConnector_Common INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/vfc/XDAEJBConnector_Common.java#4 $
      2006-04-20 09:37:18 PDT versata.vfc.XDAEJBConnector INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/jb3/versata/vfc/XDAEJBConnector.java#3 $
      2006-04-20 09:37:18 PDT versata.common.SearchRequest INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/SearchRequest.java#2 $
      2006-04-20 09:37:18 PDT versata.common.RowSeqHolder INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/RowSeqHolder.java#1 $
      2006-04-20 09:37:18 PDT versata.common.CommonEnvironment INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/CommonEnvironment.java#1 $
      VSSession created...

      Trying to connect...
      2006-04-20 09:37:18 PDT versata.common.VSErrors INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/VSErrors.java#2 $
      2006-04-20 09:37:19 PDT versata.vfc.VSORBSessionWrapperImpl INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/vfc/VSORBSessionWrapperImpl.java#1 $
      2006-04-20 09:37:19 PDT versata.common.Util INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/Util.java#5 $

      RT10984: Exception occured while opening session java.lang.IllegalStateException: Failed to find method for hash:2529026060777774796
      HOTFIX Util for BUG12331

      2006-04-20 09:37:19 PDT versata.common.Util logWarning WARNING: RT10984: Exception occured while opening session java.lang.IllegalStateException: Failed to find method for hash:2529026060777774796
      2006-04-20 09:37:19 PDT versata.common.VSException INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/versata/common/VSException.java#2 $
      2006-04-20 09:37:19 PDT com.versata.tl.util.ExceptionUtil INFO: $Header: //depot/release/tl-5.6/main_5.6.x/tao_build/Runtime/src/core/com/versata/tl/util/ExceptionUtil.java#1 $

      java.lang.IllegalStateException: Failed to find method for hash:2529026060777774796
      at versata.common.VSSession.connect(VSSession.java:666)
      at vlsconnection.ConnectToVLS.run(ConnectToVLS.java:95)
      Caused by:
      java.lang.IllegalStateException: Failed to find method for hash:2529026060777774796
      at versata.vfc.XDAEJBConnector_Common.connectInternal(XDAEJBConnector_Common.java:358)
      at versata.vfc.XDAEJBConnector_EJB.connectJNDI(XDAEJBConnector_EJB.java:129)
      at versata.vfc.XDAEJBConnector_Common.connect(XDAEJBConnector_Common.java:460)
      at versata.common.VSSession.connect(VSSession.java:660)
      ... 1 more
      Caused by: java.lang.IllegalStateException: Failed to find method for hash:2529026060777774796
      at org.jboss.invocation.MarshalledInvocation.getMethod(MarshalledInvocation.java:367)
      at org.jboss.ejb.Container.invoke(Container.java:728)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      at sun.rmi.transport.Transport$1.run(Transport.java:148)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      at java.lang.Thread.run(Thread.java:534)
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:119)
      at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
      at $Proxy0.create(Unknown Source)
      at versata.vfc.XDAEJBConnector_Common.connectInternal(XDAEJBConnector_Common.java:345)
      ... 4 more
      Java Result: 1