WebLogic installation support - Documentation for configuring 8.1 HttpProxyServlet wrong?

This is Interesting: Free IT Magazines  
Home > Archive > WebLogic installation support > July 2004 > Documentation for configuring 8.1 HttpProxyServlet wrong?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Documentation for configuring 8.1 HttpProxyServlet wrong?
mark

2004-07-01, 5:55 pm

I'm using WebLogic Server 8.1.

The web documentation and, indeed, other messages in this newsgroup,
show the
HttpProxyServlet configuration as something like this:
<web-app>
<servlet>
<servlet-name>ProxyServlet</servlet-name>
<servlet-class>weblogic.servlet.proxy.HttpProxyServlet</servlet-class>
<init-param>
<param-name>redirectURL</param-name>
<param-value> http://x.x.x.x:8000</param-value>
</init-param>
</servlet>

<servlet-mapping>
<servlet-name>ProxyServlet</servlet-name>
<url-pattern>*.gif</url-pattern>
</servlet-mapping>
</web-app>

However, when I try this I get an error in the log file that
"WebLogicHost/WebLogicPort is not defined".

If I replace the "redirectURL" parameter with the
WebLogicHost/WebLogicPort pair
then things seem to work ok. But the documentation for those
parameters implies that they are intended to define another WebLogic
server instance to which the requests are being forwarded. In this
case, I don't want that, I just want to forward to a different web
server.

Is the documentation just wrong or am I missing something?

Thanks,
mark
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com