Sitemap

Amicuk Programming Answers

Sun Web Server Reverse Proxy and Weblogic HTTP to HTTPS redirection

2015-10-11   Views:1

Advertisement

Hi, I am currently testing reverse-proxy from SJSW 7.0 update 5 to Weblogic server but I have encountered an issue. I have configured a context root to be forwarded to weblogic: Web Server: www.server.com URI: /path Reverse Proxy URL: wlserver:9000 W

Hi,
I am currently testing reverse-proxy from SJSW 7.0 update 5 to Weblogic server but I have encountered an issue.
I have configured a context root to be forwarded to weblogic:
Web Server: www.server.com
URI: /path
Reverse Proxy URL: wlserver:9000
When I access https://www.server.com/path, I am getting the correct page. The issue is, the weblogic server is configured to redirect HTTP access to HTTPS, i.e., when I access http://www.server.com/path, it should be redirected to https://www.server.com/path. However, that is not the case. What happens is that I am being redirected instead to https://www.server.com/.
If I don't use reverse proxy, that is, if I use the libproxy.so from weblogic, I get the correct redirection.
Would appreciate it very much if someone can help me troubleshoot this issue.
Thanks in advance!
Edited by: agent_orange on Jul 29, 2010 2:30 AM
Edited by: agent_orange on Jul 29, 2010 2:31 AM

The replay answer
Advertisement
I am not sure, how you have configured your reverse proxy since you didn't attach / refer your current configuration file. this is how I would do it..
- create a new configuration (using web server 7 admin gui , within configuration wizard, disable java option if you plan to use web server 7 only for reverse proxy)
- select this new configuration and go to reverse proxy and try to reverse proxy / to the origin server.
that is all it should need.
your obj.conf or <hostname>-obj.conf depending on your configuration should look like following snippet
<Object name="default">
AuthTrans..
NameTrans fn=map from="/" to="/path" name="reverse-proxy-/"
</object>
<Object name="reverse-proxy-/">
Route fn=....
Service ..
</Object>
this is all you should need..
However, if you wanted to add complexity to your configuration, you could do some thing like
<Object name="default">
Auth..
<If defined $security>
NameTrans fn=map from="/" to="/path" name="reverse-proxy-/"
</If>
</Object>
<Object name="reverse-proxy-/">
Route...
</Object>

Go to See the other 9 answers

Sun Web Server Reverse Proxy and Weblogic HTTP to HTTPS redirection

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am currently testing reverse-proxy from SJSW 7.0 update 5 to Weblogic server but I have encountered an issue. I have configured a context root to be forwarded to weblogic: Web Server: www.server.com URI: /path Reverse Proxy URL: wlserver:9000 W[More]

How do I use Sun Web Server 7.0u1 reverse proxy to change public URLs?

Category:DefaultRelease time:2015-10-11Views:130

Some of our installations use the Sun Web Server 7.0 (update 1, usually) for hosting some of the public resource and reverse-proxying other parts of the URI namespace from other backend servers (content, application and other types of servers). So fa[More]

How to do auto URL redirect in sun web server ?

Category:DefaultRelease time:2015-10-11Views:130

Hi, i need to do auto url redirect in my sun web server. Currently i'm setup some rules for the reverse proxy in obj.conf file and the syntax looks like: <Object name="reverse-proxy-/test"> <If $internal and $uri =~ "index.html&quo[More]

Deploying an ear file in Sun Web Server

Category:DefaultRelease time:-0001-11-30Views:130

I have an ear file that we use to deploy to weblogic. Is it possible to deploy an ear file to Sun WEb Server 6.0? Instead of deploying the war files one-by-one? If yes, what are the steps? Thanks. BethNo, Sun ONE Web Server does not support ear files[More]

Sun Identity Server 6.1 with Weblogic 8.1 sp2

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I've installed the IS 6.1 with WLS 8.1 sp2 and the agent 2.1.1 and followed the agent configuration guide to configure the xml files (web.xml and weblogic.xml) and agent authenticator. When I login to the restricted resource, the browser is redir[More]

Using Sun Web Server 6.1 from the IDE

Category:DefaultRelease time:2015-10-11Views:130

Using JSE 8 with Sun Web Server 6.1 set as the target container, I have a SUNWS61deployment.xml file created. That didn't exist in JSE 7. Is it WS 6.1 SP4 or SP5 -related ? I also have ws61-sun-web.xml with a simple <sun-web-app/> tag (empty deploym[More]

Need help with URL Redirect in Sun Web Server 7 u5

Category:DefaultRelease time:2015-10-11Views:130

All I am trying to do is redirect to a static URL and for the life of me I can not get it to behave the way I would expect. I am new to Sun Web Server so I am just trying to use the Admin Console to set this up. Here is what I'm trying to do: Redirec[More]

Replace Quotes, Connection Pooling, and Sun Web Server with MySQL, Oracle

Category:DefaultRelease time:2015-10-11Views:130

This is code I use to insert data into my MySQL and Oracle databases. I takes care of quotes and shows use of context, i.e. when you use Sun Web Server's ConnectionPooling. This code works. Feel free to reply if you have questions on how to set up co[More]

Error message when deploying war file to sun web server 6.1

Category:DefaultRelease time:2015-10-11Views:130

i've been trying to deploy an application developed locally in tomcat to a local install of sun web server 6.1, and can't seem to get it to work. the error message i am getting now is: [05/Dec/2008:12:44:08] config ( 1640): for host xxx.xxx.xxx.xx tr[More]

Annoucing a few complimentary copies of Sun Web Server: Essentials Guide

Category:DefaultRelease time:-0001-11-30Views:130

Dear Sun Web Server user, As you may have heard, found it on amazon.com or stumbled on it in the local book store like Borders or Barnes & Noble, there is a new book on Sun Web Server technology. If you haven't, no worries. Please refer to [t-5406033[More]

Best way to use Sun Web Server connection pooling with Web Application?

Category:DefaultRelease time:-0001-11-30Views:130

I have a number of applications that run Oracle and MySQL queries via Sun Web Server 6.1. I use the Web Server's built-in connection pooling, which works fairly well. As an interface with the connections I receive from the Web Server, I use a class,[More]

Hot
Hello, I have a program that reads from a text file words. I currently have a text file around 800KB of words. The problem is, if I try to load this into an arraylist so I can use it in my application, it takes wayy long to load. I was wondering if t [More]
How can one transfer a calendar item from one month to another month by drag and drop.Click it and hold, then drag. If you want to duplicate it, hold down the option/alt key while dragging.Read other 2 answers [More]
We have a number of newly built 2012 R2 servers that we have HP Operations Manager agent running on that monitors the status of several services and reports if they are "stopped". One of these services is Windows Update. Every day we get at leas [More]
   iTunes has stopped working  ...... iTunes has stopped working everytime. never works trying to sync iphone 4s with iTunes 11(latest). i rest all data and settings but copies back the backup contacts. still not working. never  works iTunes has bug. [More]
iMovie 08 crashes on startup. Any ideas? Process: iMovie [642] Path: /Applications/iMovie.app/Contents/MacOS/iMovie Identifier: com.apple.iMovie8 Version: 8.0.1 (740) Build Info: iMovieApp-7400000~3 Code Type: X86 (Native) Parent Process: launchd [30 [More]
when I insert some data into a table, which got a date field, it pops up this error. insert inot test values ('31-mar-2004 0:22:22') after i take away the time part from the string, it works ok, seems the time is not recognized i tried to put a line [More]
Hello, I have been perusing the answers for a full HD, and have a question. Here's the particulars. I have 74GB in use and 197.67 mb available I have mostly photos and some music on my computer- no movies... In looking at the break-down of the files- [More]
I get the following error message <----------------------------------------------------------------------> C:\RandomShapeApplet.java:87: cannot resolve symbol symbol : variable shape location: class RandomShapeApplet           return shape; ^ 1 erro [More]
Hi there, I'm currently doing a Import from a txt file to BPC , but when I executed the Import Package, all the accounts that have a zero value are suppressed when the data is imported to the FACT2<appname>. Is there any way to avoid  the import pac [More]
Was working away today, and suddenly had all my applications close and it kicked me out to the login screen. What the heck? Logged back in and see the following crash report in console. Any help / advice would be greatly appreciated! Process: loginwi [More]