wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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

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

Jari Timonen
Ranch Hand

Joined: Jan 16, 2004
Posts: 230
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.


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

Joined: Jan 16, 2004
Posts: 230
"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

Joined: Oct 17, 2007
Posts: 1
Please post your problem in Sun Java System WebServer forum

Please include in your question all the configuration details like the relevant portions of server.xml and servlets you used etc.
I agree. Here's the link: http://aspose.com/file-tools
subject: Sun Java System Web Server 7.0 - Major... BUG?
Similar Threads
Can a servlet architecture download a file?
allowChunking in Tomcat 5.x
Conversion of RequestFacade into ApplicationHttpRequest request
Tomcat - Increase maxThreads
threads in static method