Solved

Make Tomcat (and Weblogic) ignore custom error codes

Posted on 2006-11-02
5
870 Views
Last Modified: 2012-06-21
Hi Experts,

we have the following scenario: We are supposed to implement a Single Sign On between an application and a Portal. This Portal is deployed and running under Oracle Application Server. So the Oracle Internet Directory shall be used as central User Repository. Due to certain constraints we are forced to deploy and run our application on Weblogic in Production and Tomcat (5.0.31) in Development Environment. Now what i have reached so far is to make a single sign on possible by tunneling every request to logged in pages through an apache proxy url defined in the Oracle iAS and mod_osso checking this url.

Here is my question now: As the response flow of our application is interpreted by Weblogic(Tomcat) first on a tunneled response, also Error (Status) Codes will be interpreted here first. This means, that i cannot send a Custom Error (Status) Code that will be known by mod_osso in order to have a certain reaction like logout (code 470), or forced re-login etc.

Is it possible, to configure Tomcat, respectively an application so that a certain error code won't be interpreted????

Any help would be greatly appreciated!!!
thx in advance!

Alex Hepp
0
Comment
Question by:heppa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:KnightFire
ID: 17857449
Is your portal the front end?
Do you use tomcat on its own or JBoss? If you use JBoss in development then both WebLogic and JBoss will allow you to deploy custom authentication modules, you could develop a custom authentication token type, or use SAML.
Also as it sounds like you are writing an application that produces information for use in a portal, perhaps you should make the back end server a portal too and use WSRP between the front end and back end portals.
0
 
LVL 4

Author Comment

by:heppa
ID: 17857898
I think, i was not clear enough on this. We don't have the chance on deciding the environment. meaning, that we might not deploy our application in production environment under anything else than Weblogic. And the development environment will be a single tomcat instance. We are not allowed to use JBoss as Development Environment (don't ask me why). We have two frontends (one being the portal, the other one being our application). The relation between the portal and our application is simply, that certain information, that is being displayed by our application is being linked from the portal. But as it is depending on a user profile (ideally with authorization), the customer asked us to develop a Single Sign On having an Oracle Internet Directory running in the environment together with the portal.

But that all isn't the problem... That was just to clarify the situation / scenario. Thanks a lot for helping me anyway.

all I want to know, whether it is possible to make Weblogic / Tomcat ignore certain HTTP Status Codes or simply continue processing.

An Answer like "No, this isn't possible at all" with a prooven reason or example would also do! Than i will find out about alternatives ;)
0
 
LVL 3

Accepted Solution

by:
KnightFire earned 125 total points
ID: 17857932
It is not possible in weblogic (as far as I am aware),
You could probably make Tomcat do it by modifying the source and re-compiling,
0
 
LVL 4

Author Comment

by:heppa
ID: 17857968
Thanks KnightFire! But recompiling tomcat wouldn't be the plan, as i couldn't do that with weblogic ;)

I thought it might be possible providing a new connector or something. But if this doesn't work in Weblogic, i have to find a different way.

If anyone knows about a solution with this status / error codes, i will wait some days, and then accept KnightFire's answer.

Thanks a lot!
alex
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question