4 Replies Latest reply on Apr 5, 2006 12:19 PM by Brian Stansberry

    NoClassDefFoundError during state transfer

    Vaclav Senych Newbie

      Hi there,
      I've experienced strange error when state replication on startup. I have slightly changed TreeCache sourcecode to get details about exception.

      ...
      [4.4.06 17:15:59:279 SEL?] 0000002c TreeCache I viewAccepted(): [192.168.0.186:2276|3] [192.168.0.186:2276, 192.168.3.118:2325]
      [4.4.06 17:15:59:410 SEL?] 0000002c TreeCache I locking the / subtree to return the in-memory (transient) state
      [4.4.06 17:15:59:500 SEL?] 0000002c TreeCache E Caught java.lang.NoClassDefFoundError while responding to initial state transfer request; returning null
      [4.4.06 17:15:59:530 SEL?] 0000002c TreeCache E org/jboss/invocation/MarshalledValueInputStream
      [4.4.06 17:15:59:781 SEL?] 0000002c SystemErr R java.lang.NoClassDefFoundError: org/jboss/invocation/MarshalledValueInputStream
       at org.jboss.cache.TreeCache._getState(TreeCache.java:2119)
       at org.jboss.cache.TreeCache$MessageListenerAdaptor.getState(TreeCache.java:4512)
       at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(MessageDispatcher.java:614)
       at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:331)
       at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:734)
       at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:566)
       at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:703)
       at java.lang.Thread.run(Thread.java:568)
      
      [4.4.06 17:15:59:781 SEL?] 0000002c SystemErr R at org.jboss.cache.TreeCache._getState(TreeCache.java:2119)
      [4.4.06 17:15:59:791 SEL?] 0000002c SystemErr R at org.jboss.cache.TreeCache$MessageListenerAdaptor.getState(TreeCache.java:4512)
      [4.4.06 17:15:59:791 SEL?] 0000002c SystemErr R at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(MessageDispatcher.java:614)
      [4.4.06 17:15:59:791 SEL?] 0000002c SystemErr R at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:331)
      [4.4.06 17:15:59:791 SEL?] 0000002c SystemErr R at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:734)
      [4.4.06 17:15:59:791 SEL?] 0000002c SystemErr R at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:566)
      [4.4.06 17:15:59:801 SEL?] 0000002c SystemErr R at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:703)
      [4.4.06 17:15:59:801 SEL?] 0000002c SystemErr R at java.lang.Thread.run(Thread.java:568)
      ...
      


      I am runing TreeCache under WebSphere 6.0. jboss-minimal.jar shoul be accessible from within application.
      Does anyone had a similar problem?
      Thank you
      Washeeq