New release and ISystemActivation issue

Help
2013-07-05
2013-07-10
  • Hello!

    First of all, thanks to Vikram for the new release! I am testing the code and there is a problem with the session initiation via ISystemActivation. If the ClsId is not registered, the server reports "class not registered" according to wireshark. But the exception I see in j-Interop is:

    Jul 05, 2013 2:17:02 PM rpc.DefaultConnection processOutgoing
    INFO:
    Sending REQUEST
    Jul 05, 2013 2:17:02 PM rpc.DefaultConnection processIncoming
    INFO:
    Recieved RESPONSE
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 16
    at jcifs.util.Encdec.dec_uint32le(Encdec.java:90)
    at ndr.NdrBuffer.dec_ndr_long(NdrBuffer.java:146)
    at ndr.NetworkDataRepresentation.readUnsignedLong(NetworkDataRepresentation.java:64)
    at org.jinterop.dcom.core.JIRemoteSCMActivator$RemoteCreateInstance.read(JIRemoteSCMActivator.java:642)
    at ndr.NdrObject.decode(NdrObject.java:36)
    at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:137)
    at rpc.Stub.call(Stub.java:113)
    at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:645)
    at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:496)
    at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:460)

    Has anybody seen this problem before? I think ISystemActivation is a newly added feature, before remote activation was done via IRemoteActivation, right?

    Thanks a lot!

    Best Regards,
    Andrey

     
    • Hi Andy,

      This may be a bug. Can you post a Wireshark capture and supporting code for
      the same to the professional services address ? You will find it on the top
      right hand side of j-interop.org website. Also, please make sure j-Interop
      is NOT using NTLM Session security otherwise we will get encrypted packets
      which aren't of any use.

      Please note, supporting code should be small and the one which reproduces
      this issue and please do mention the client and server OS details.

      thanks,
      best regards,
      Vikram

      On Fri, Jul 5, 2013 at 7:24 PM, Andrey Romanenko androm@users.sf.netwrote:

      Hello!

      First of all, thanks to Vikram for the new release! I am testing the code
      and there is a problem with the session initiation via ISystemActivation.
      If the ClsId is not registered, the server reports "class not registered"
      according to wireshark. But the exception I see in j-Interop is:

      Jul 05, 2013 2:17:02 PM rpc.DefaultConnection processOutgoing
      INFO:
      Sending REQUEST
      Jul 05, 2013 2:17:02 PM rpc.DefaultConnection processIncoming
      INFO:
      Recieved RESPONSE
      Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 16
      at jcifs.util.Encdec.dec_uint32le(Encdec.java:90)
      at ndr.NdrBuffer.dec_ndr_long(NdrBuffer.java:146)
      at
      ndr.NetworkDataRepresentation.readUnsignedLong(NetworkDataRepresentation.java:64)
      at
      org.jinterop.dcom.core.JIRemoteSCMActivator$RemoteCreateInstance.read(JIRemoteSCMActivator.java:642)
      at ndr.NdrObject.decode(NdrObject.java:36)
      at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:137)
      at rpc.Stub.call(Stub.java:113)
      at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:645)
      at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:496)
      at org.jinterop.dcom.core.JIComServer.(JIComServer.java:460)

      Has anybody seen this problem before? I think ISystemActivation is a newly
      added feature, before remote activation was done via IRemoteActivation,
      right?

      Thanks a lot!

      Best Regards,
      Andrey


      New release and ISystemActivation issuehttps://sourceforge.net/p/j-interop/discussion/600730/thread/360ecdab/?limit=25#dd55

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/j-interop/discussion/600730/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      The Mind is a place of its own. It can make a heaven out of hell or a hell
      out of heaven. Attitude is everything. No matter how adverse conditions
      maybe, one has the capacity to turn things around by one's Determination,
      Perseverance and Hardwork.

      John Milton
      (Paradise Lost)

       
      • Hello Vikram,

        Package sent as requested, thanks a lot.

        Best Regards,
        Andrey

         
  • Hi,

    Sent you a private build. Please confirm whether you still get this issue.

    thanks again for bringing this up,
    best regards,
    Vikram