[cas-dev] CAS version 3.0.7 and BlackBoard Version 6
Darren Kraker
dkraker at calpoly.edu
Fri Aug 31 17:53:05 EDT 2007
We're trying to upgrade our CAS server from 2.x to 3.0.7 and are having
trouble with the java casclient version 2.1.1. The client works fine in
all other environments but when running the jar file in the Blackboard
tomcat app server we're getting a javax.net.ssl.SSLException: Invalid
padding which is caused by javax.crypto.BadPaddingException: Invalid TLS
padding: 101
I've added lots of debug code to the cas client to discover it fails on
the call to getInputStream() within this block of SecureURL.java.
URLConnection uc = u.openConnection();
uc.setRequestProperty("Connection", "close");
r = new BufferedReader(new InputStreamReader(uc.getInputStream()));
I'm running
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
on Linux 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686
i686 i386 GNU/Linux
The same code when run outside tomcat runs fine. Any ideas?
--
Darren Kraker
Software Engineer
Application Management / ITS
mailto:dkraker at calpoly.edu
Office (805) 756-2696
More information about the cas-dev
mailing list