[jboss-jira] [JBoss JIRA] Created: (JGRP-576) X509Token cannot be created

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Aug 16 01:56:01 EDT 2007


X509Token cannot be created
---------------------------

                 Key: JGRP-576
                 URL: http://jira.jboss.com/jira/browse/JGRP-576
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.5
            Reporter: Bela Ban
         Assigned To: Bela Ban
             Fix For: 2.5.1, 2.6


[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 "


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list