You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/07/15 04:54:01 UTC

DO NOT REPLY [Bug 21597] New: - NumberFormatException using Siteminder

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21597>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21597

NumberFormatException using Siteminder

           Summary: NumberFormatException using Siteminder
           Product: Tomcat 4
           Version: 4.0.2 Beta 2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Connector:JK/AJP (deprecated)
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: hrobbins1@cparity.com


I set up siteminder with IIS to protect some servlets under tomcat,
Ajp crashes with the following exception when I try to access a protected 
servlet.

I captured the data flowing between IIS and Tomcat via Ajp using netcat if it's 
of any interest.  I'm not going to paste it hear since it's binary and not very 
readable.  Looking at the binary data it looks like Ajp might be choking 
because Siteminder sends some very long header fields.

java.lang.NumberFormatException
        at org.apache.tomcat.util.buf.Ascii.parseInt(Ascii.java:188)
        at org.apache.tomcat.util.buf.ByteChunk.getInt(ByteChunk.java:439)
        at org.apache.tomcat.util.buf.MessageBytes.getInt(MessageBytes.java:565)
        at org.apache.ajp.Ajp13.decodeRequest(Ajp13.java:393)
        at org.apache.ajp.Ajp13.receiveNextRequest(Ajp13.java:309)
        at org.apache.ajp.tomcat4.Ajp13Processor.process
(Ajp13Processor.java:339)
        at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
        at java.lang.Thread.run(Thread.java:484)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org