Hello everyone -
As some of you may remember, I was attempting to implement
authentication using SunRise in Cocoon 2.0.3CVS atop Tomcat 4.1. I was
receiving a nullPointerException error upon trying to logout after
authentication and creation of a new session.
Since posting to the list, I have had several other people mail me
asking if I had found a solution to the issue. I apologize to those who
emailed me directly, I would have preferred a more personal reply, but
a recent loss of my emails left me without your addresses.
The problem seems to reside with SunRise's interaction with JDK 1.4.1.
In trying to nail down the issue, I tested various versions of Cocoon
and Tomcat atop both JDK 1.4.1 and JDK 1.3.1 on two different
platforms: Windows 2000 SP2 and MacOS X 10.2. In short, authentication
worked beautifully when my implementation was run on either Tomcat 4.1
or Tomcat 4.1.12 with either Cocoon 2.0.3CVS or Cocoon 2.0.4 release on
a system running JDK 1.3.1. If any combination of Cocoon and Tomcat
were used on either system using JDK 1.4.1, the logout (and in some
cases, login) would fail with a nullPointerException.
Below is a more detailed chart of my tests and results for the sake of
thoroughness:
JDK 1.4.1 / Cocoon 2.0.3 CVS / Tomcat 4.1 / Win2k SP2 : Null pointer on
logout
JDK 1.4.1 / Cocoon 2.0.3 CVS / Tomcat 4.1.12 / Win2k SP2: Null pointer
on login
JDK 1.4.1 / Cocoon 2.0.4 release / Tomcat 4.1.12 / Win2k SP2: Null
pointer on login
JDK 1.4.1 / Cocoon 2.0.4 release / Tomcat 4.1.12 / MacOS X 10.2.2: Null
pointer on login
JDK 1.3.1 / Cocoon 2.0.4 release / Tomcat 4.1.12 / MacOS X 10.2.2:
Success, no problems
JDK 1.3.1 / Cocoon 2.0.4 release / Tomcat 4.1.12 / Win2k SP2: Success,
no problems
Based on the results above, I have come to the conclusion that
sunRise's interaction with JDK 1.4.1 is broken in some way. 1.4.1 was a
no-go across two different platforms, while 1.3.1 worked flawlessly
across both the same platforms.
I hope this may help others out, and if anyone has any insight into why
sunRise may not "play nice" with JDK 1.4.1, it is welcomed. Conversely,
I would be interested to hear from people who have gotten sunRise to
run without any issues on JDK 1.4.1.
Many thanks,
Brian Schwark
[EMAIL PROTECTED]
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>