File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes Sun Java System Web Server 7.0 - Major... BUG? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Meteor in Action this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Sun Java System Web Server 7.0 - Major... BUG?" Watch "Sun Java System Web Server 7.0 - Major... BUG?" New topic
Author

Sun Java System Web Server 7.0 - Major... BUG?

Jari Timonen
Ranch Hand

Joined: Jan 16, 2004
Posts: 232
Hello everybody.

I have migrated our server from Sun ONE Web Server 6.1 to Sun Java System Web Server 7.0.

I'm using Custom Realm with programmatic login.

Suddently i was comforted with fallowing error message while logging to realm:
SEC1132: Bad runtime object type. Programmatic login failed.

As i started to investigate, i soon saw that i was almost the only one with this problem (ok, one had also, http://forum.java.sun.com/thread.jspa?messageID=9728353�) So.. i decompiled some classes from server and started to search what's the big deal here, since the error message is complete waste of time and errorcode listing says: Contact Support.

What i found was a complete shock to me:

ProgrammaticLogin calls WebProgrammaticLogin class and it's expexting that HttpServletRequests implementation is org.apache.coyote.tomcat5.CoyoteRequestFacade. Then i printed the class-name from servlet and it gave me: org.apache.catalina.core.ApplicationHttpRequest


You see my concern? If anyone has any little bit of tips to give, please do so. First i thought, that some kind of wrapper would be... not guite ok.


http://tomcat.apache.org/tomcat-5.0-doc/catalina/docs/api/org/apache/coyote/tomcat5/CoyoteRequestFacade.html
http://www.docjar.org/docs/api/org/apache/catalina/core/ApplicationHttpRequest.html


SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
Jari Timonen
Ranch Hand

Joined: Jan 16, 2004
Posts: 232
"You can't mix'n'match container-managed and non-container-managed authentication at the same time, they are mutually exclusive."

This was allowed in 6.1, this is major setback for us.
[ June 26, 2007: Message edited by: Jari Timonen ]
mv mv
Greenhorn

Joined: Oct 17, 2007
Posts: 1
Please post your problem in Sun Java System WebServer forum
http://forum.java.sun.com/forum.jspa?forumID=759

Please include in your question all the configuration details like the relevant portions of server.xml and servlets you used etc.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sun Java System Web Server 7.0 - Major... BUG?