• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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

 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Jari Timonen
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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 ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic