Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-576

X509Token cannot be created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.5.1, 2.6
    • 2.5
    • None

      [from Andre Luckow]
      I tried to setup a JGroups stack using the AUTH protocol in conjunction
      with a X509Token authentication. The protocol stack worked fine before.
      After adding the AUTH layer, I received the following error:

      2007-08-15 16:40:01,742 ERROR protocols.TCP [Incoming
      Thread,AisReplicationGroup,192.168.0.2:8800,run:1445] failed handling
      incoming message
      java.io.EOFException
      at java.io.DataInputStream.readFully(DataInputStream.java:178)
      at java.io.DataInputStream.readUTF(DataInputStream.java:565)
      at java.io.DataInputStream.readUTF(DataInputStream.java:522)
      at org.jgroups.Message.readFrom(Message.java:737)
      at org.jgroups.protocols.TP.readMessage(TP.java:1214)
      at org.jgroups.protocols.TP.access$700(TP.java:49)
      at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1439)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)

      It seems that the getName() method of the X509Token class returns the
      wrong classname it should be:

      public String getName()

      { return "org.jgroups.auth.X509Token"; }

      instead of "org.jgroups.auth.X509Token1_5 "

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: