Iisforward iisproxy error
Hi,
I have installed and configured the iisforward/iisproxy plugin with IIS 6.0 + WLS 8.1 SP5.
iisproxy.ini [CONTENT]:
WebLogicHost=10.20.140.34
WebLogicPort=8010
Debug=ON
DebugConfigInfo=ON
WlForwardPath=/portal
I tried to load the page but nothing happens..just an error page from IE.
wlproxy.log [CONTENT]:
Mon May 28 15:22:49 2007 loadFile(): Properties loaded from \\?\C:\bea\weblogic81\server\bin\iisproxy.ini
Mon May 28 15:22:49 2007 init: created a new server node: id='10.20.140.34:8010'
Mon May 28 15:22:49 2007
================New Request: [portal/console.wlforward] =================
Mon May 28 15:22:49 2007 SSL is not being used
Mon May 28 15:22:49 2007 resolveRequest: wlforward: /portal/console
Mon May 28 15:22:49 2007 Mon May 28 15:22:49 2007 timer thread starting
URI is /portal/console, len=15
Mon May 28 15:22:49 2007 Request URI = [portal/console]
Mon May 28 15:22:49 2007 attempt #0 out of a max of 5
Mon May 28 15:22:49 2007 Trying a pooled connection for '10.20.140.34/8010/8010'
Mon May 28 15:22:49 2007 getPooledConn: No more connections in the pool for Host[10.20.140.34] Port[8010] SecurePort[8010]
Mon May 28 15:22:49 2007 general list: trying connect to '10.20.140.34'/8010/8010 at line 1265 for '/portal/console'
Mon May 28 15:22:49 2007 INFO: New NON-SSL URL
Mon May 28 15:22:49 2007 Connect returns -1, and error no set to 10035, msg 'Unknown error'
Mon May 28 15:22:49 2007 EINPROGRESS in connect() - selecting
Mon May 28 15:22:49 2007 Local Port of the socket is 1283
Mon May 28 15:22:49 2007 Remote Host 10.20.140.34 Remote Port 8010
Mon May 28 15:22:49 2007 general list: created a new connection to '10.20.140.34'/8010 for '/portal/console', Local port: 1283
Mon May 28 15:22:49 2007 WLS info in sendRequest: 10.20.140.34:8010 recycled? 0
Mon May 28 15:22:49 2007 URL::parseHeaders: StatusLine set to [200 OK]
Mon May 28 15:22:49 2007 parsed all headers OK
Mon May 28 15:22:49 2007 sendResponse() : uref->getStatus() = '200'
Mon May 28 15:22:49 2007 for 10.20.140.34/8010/8010, updating JVMID: 336430126
Mon May 28 15:22:49 2007 Going to send headers to the client. Status :200 OK
Mon May 28 15:22:49 2007 *******Exception type [WRITE_ERROR_TO_CLIENT] raised at line 1545 of .\iisproxy.cpp
Mon May 28 15:22:49 2007 NOT failing over after sendResponse() exception: idempotent=1 pastFailover=1
Mon May 28 15:22:49 2007 request [portal/console] did NOT process successfully ..................
Anyone can help me?
[]'s
Emerson Santos
In your source, you have set the prefix to /irj/. If you change it to /irj it will work.
Note - IISProxy is no longer supported, SPNegro should be used instead.
Paul
Similar Messages
-
After Configured IisProxy for SAP EP 6 SP 6 I am getting following error.
Testing: http://localhost/irj
Error: The page cannot be found
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
XML File:
<ISAPI-config version="1.6">
<filter name="IisProxy filter" authentication="forward" />
<extension name="IisProxy extension" />
<mapping name="IisProxy samples" log-level="0">
<source>
<protocol>http</protocol>
<prefix>/irj/</prefix>
</source>
<source>
<protocol>http</protocol>
<prefix>/irj/</prefix>
<new-prefix>/irj/</new-prefix>
</source>
<source>
<protocol>http</protocol>
<prefix>/portal/</prefix>
<new-prefix>/irj/</new-prefix>
</source>
<source>
<protocol>http</protocol>
<prefix>/logon/</prefix>
</source>
<target>
<protocol>http</protocol>
<host>localhost</host>
<port>50000</port>
</target>
<compress-types>text/html, text/plain</compress-types>
</mapping>
</ISAPI-config>
Can anybody help.
Thanks in advance,
MaheshIn your source, you have set the prefix to /irj/. If you change it to /irj it will work.
Note - IISProxy is no longer supported, SPNegro should be used instead.
Paul -
hi there,
i tried to locate a jsp with the weblogic server down hoping to hit the error page.
the URL was http://jason/scripts/CR/login.jsp
the error page setting is http://jason/WeblogicDown.html
however, when it came back, the URL become
http://jason/scripts/CR"http://jason/WeblogicDown.html"
anyone has any idea?
Hey Michael,
I am akshay (prashant's colleague) and i will continue
this converstion about iis proxy.
We are using W2k and this problem is really random. We
have not found any error on the console as well.
i hope this help you to help me
akshay
"Michael Young" <[email protected]> wrote in message
news:[email protected]..
Hi.
Hmm. What platform are you running IIS on? NT? W2k?
can you characterise this problem a bit more? Is it really random? ordoes it
only occur under heavy load? Does the wlproxy.log file show any errors?Is
there a corresponding error in the weblogic.log file when this happens?
Thanks
Michael
Prashant S wrote:
Hi,
I'm using iis to forwars all the requests for jsp pages to weblogic
server.All the static html pages are hosted on the IIS.However i'm
occasionally getting the error mentioned below.This error is visible at
the
top web page. My iisproxy.ini file is
WebLogicHost=127.0.0.1
WebLogicPort=7001
ConnectTimeoutSecs=300
ConnectRetrySecs=5
Debug=ON
Build date/time: Nov 8 2001 HTTP/1.1 200 Server: Microsoft-IIS/5.0 Date:
Tue, 23 Apr 2002
04:49:30 GMT Connection: close Date: Tue, 23 Apr 2002 04:49:30 GMTServer:
WebLogic WebLogic
Server 6.1 SP2 12/18/2001 11:13:46 #154529 Content-Type: text/html
Any clues to solve this problem.
Prashant--
Michael Young
Developer Relations Engineer
BEA Support -
After Configured IisProxy for SAP EP 6 SP 6 I am getting following error.
Testing: http://localhost/irj
Error: The page cannot be found
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
XML File:
<ISAPI-config version="1.6">
<filter name="IisProxy filter" authentication="forward" />
<extension name="IisProxy extension" />
<mapping name="IisProxy samples" log-level="0">
<source>
<protocol>http</protocol>
<prefix>/irj/</prefix>
</source>
<source>
<protocol>http</protocol>
<prefix>/irj/</prefix>
<new-prefix>/irj/</new-prefix>
</source>
<source>
<protocol>http</protocol>
<prefix>/portal/</prefix>
<new-prefix>/irj/</new-prefix>
</source>
<source>
<protocol>http</protocol>
<prefix>/logon/</prefix>
</source>
<target>
<protocol>http</protocol>
<host>localhost</host>
<port>50000</port>
</target>
<compress-types>text/html, text/plain</compress-types>
</mapping>
</ISAPI-config>
Can anybody help.
Thanks in advance,
MaheshYes i have added the ISAPI filter...
IISProxy Log file:
================================================================================
13:59:30 Global F-Init IisProxy Filter 1.6.2.0 initializing.
13:59:30 Global F-Init IisProxy Filter 1.6.2.0 initialized.
13:59:30 Filter Config IisProxy Filter configuration:
================================================================================
Filter configuration
log-level = "1"
log-flags = "0x00111330"
debug-flags = "0x00000000"
priority = "high"
extension-url = "/scripts/IisProxy.dll"
IIS-check-auth = "true"
forward-auth = "true"
remote-ip-forward = "false"
log-path = "C:\Inetpub\Scripts\IisProxy_%y%m%d.log"
Source mappings:
Source http://localhost:(any)/irj/
mapping = 0 "IisProxy samples"
Source http://localhost:(any)/irj/
mapping = 0 "IisProxy samples"
with /irj/ -> /irj/
Source http://localhost:(any)/portal/
mapping = 0 "IisProxy samples"
with /portal/ -> /irj/
Source http://localhost:(any)/logon/
mapping = 0 "IisProxy samples" -
We are in need of a reverse proxy solution for WL that works with Windows 2003
IIS6. IISForward/IISproxy is not supported and doesn't work. We have tried several
third party products but they all fail relating to how WL manages cookies. Any
Suggestions?I got it working by following the steps that Patrick Montelo sent, also allow ISAPI extentions.
I am running Weblogic 8.1 SP3 if that helps.
-------------From Patrick---------------
2003 is locked down out of the box, try this:
1. Open IIS manager
2. Go to WebService Extensions folder
For ASPs:
1. Select Active Server Pages
2. Click the allow button
For JSPs:
1. Click "Add a new web service extension"
2. Type in a name like "Weblogic pages"
3. Click "Add" button
4. Browse to your iisproxy.dll file
5. Select "Set extension status to allowed"
6. Click "Ok"
----------------------------------------------- -
'Edit Locally' command Error -- IISProxy?
Hi,
We have a problem with 'Edit Locally' command since we are using Windows Authentication. Our architecture is:
SAP EP 6.0 SP2 Patch 28 (Solaris)
IIS Proxy (Windows 2003)
The situation is:
If we access to SAP Portal using old url (directly to Solaris) using form-based authentication we do not have any problem with 'edit locally' command.
However, if we access to SAP Portal using IISProxy and Windows Authentication we get an 'Operation failed' error message.
Java plug-in console shows the following message:
cargar: clase com/sapportals/wcm/app/docapplet/DocApplet.class no encontrada.
java.lang.ClassNotFoundException: com.sapportals.wcm.app.docapplet.DocApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Where is the problem? Is due to authentication method? SAP Portal or IISProxy configuration?
Thanks,
DamiáI'm having the same problem. Did you solved it?
Thanks! -
Hi all, I've setup the IisProxy to work as an intermediate HTTPS server to our WAS 6.40 J2EE Server.
When we try to access the portal HTTPS we receive the following error:
IisProxy.dll: 500 Internal Server Error
+ProxyWorker(): IOException: SapSSLSessionInit() failed: -6 (SSSLERR_INIT_FIRST)
at SapConnection.cpp:659+
We already check permission in *.pse files and folder. Also restart services in both servers.
¿Does anybody have any clue? Really appreciate your comments !!!
Regards,
Manuel .-Hi Oliver,
All you have to do is:
1. Generate the *.csr in the WAS and sign it by a CA.
2. Import the resultant *.cer in the WAS
3. Import this *.cer in the PSE files
This means that the WAS and the PSE files in the Web Server need to have the same *.cer file in order to avoid the MISMATCH error.
Please let me know if you need a detailed procedure.
Regards,
Manuel Bernal -
This is the set up we have currently.
Nt 4.0 server with IIS 4.0. I have followed the WebLogic 5.1 documentation
and made the root web executable then mapped the extensions .jsp and .jhtml
to c:\weblogic\iisproxy.dll.
I have the iisproxy.ini in the c:\weblogic directory and it is a direct copy
out of the documentation. We are getting an http 500 internal server error.
When you hit refresh you get a %1 is no a valid windows nt application.
I believe this problem is isolated to the IIS server.
I had a sniffer on the network and at no time do I see any traffic from the
IIS server to the Weblogic server. If I hit the Weblogic server explicitly
it will server jsp pages.
-Jess-
The problem was a corrupted dll. Vinod was great in sending me a debug dll
and it starting working. Once a fresh copy of the current dll was abtained
and installed the servers are now talking.
Thanks for all your help Vinod.
-Jess-
"Jesse Martinez" <[email protected]> wrote in message
news:396ccc85$[email protected]..
> This is the set up we have currently.
>
> Nt 4.0 server with IIS 4.0. I have followed the WebLogic 5.1 documentation
> and made the root web executable then mapped the extensions .jsp and
.jhtml
> to c:\weblogic\iisproxy.dll.
>
> I have the iisproxy.ini in the c:\weblogic directory and it is a direct
copy
> out of the documentation. We are getting an http 500 internal server
error.
> When you hit refresh you get a %1 is no a valid windows nt application.
>
> I believe this problem is isolated to the IIS server.
>
> I had a sniffer on the network and at no time do I see any traffic from
the
> IIS server to the Weblogic server. If I hit the Weblogic server explicitly
> it will server jsp pages.
>
> -Jess-
>
>
>
-
Does anyone know how I can forward to two different WLS? I have a website with two virtual directories for two applications. one is /fw and the other /tw but in the .ini file there is only one weblogichost entry and no way to distinguish that /fw needs to go to WLS1 and /tw goes to WLS2Please help.
Scott,
If you are using the iisforward.dll, you can only have 1 instance of that dll
per website (on an IIS server a website is a unique combination of port, ip, and
host header). I had a similar issue and I just created two server instances on
separate ports (though separate hosts names might look neater), each forwarding
to different WL servers. For example. IIS address http://iisserver:7777/ forwarded
to http://wlserver_1:7001 and http://iisserver:7778/ forwarded to http://wlserver_2:7001.
Each IIS website had it's own copy of iisforward.dll, iisproxy.dll and iisproxy.ini.
If you must keep your virtual directories you could have them forward to the other
iis websites on the same server.
Good luck,
Barrett
Scott <[email protected]> wrote:
Does anyone know how I can forward to two different WLS? I have a website
with two virtual directories for two applications. one is /fw and the
other /tw but in the .ini file there is only one weblogichost entry
and no way to distinguish that /fw needs to go to WLS1 and /tw goes
to WLS2Please help. -
IISForward and IISProxy Configuration Internals/Interaction
Can someone give a detailed description of how IISForward and IISProxy interact
with IIS as ISAPI modules? We have the IIS plugins functioning properly, we would
just like a more detailed explanation on how they interact and work together when
proxying multiple virtual hosts. It seems that many people are in the dark on
this process, and that any clarification would alleviate many of the posts we
see here. I would also settle for a link to some documentation (not BEA's, it
is very poor!) on this.
Here is an excerpt from some documentation that we have written up internally
that helped us keep track of what we were doing when setting up the IIS Plugins.
Some of this content draws from BEA's documentation so we here at Servicemaster
make no claims on this content:
START OF EXCERPT:
6. Configuring IISForward
6.1 Installing iisforward.dll
Before creating the Virtual hosts in IIS, we need to create the directories that
are going to contain the DLL’s. There is going to be a one-to-one relationship
between Virtual Hosts and DLL directories. First create a directory where all
of the DLL directories will reside:
D:\WebLogicVHosts
Within this directory create the directory for each Virtual Host that will be
connecting to the WebLogic instance:
D:\WebLogicVHosts\vhost1-svmhome.com
D:\WebLogicVHosts\vhost2-svmwork.com
D:\WebLogicVHosts\vhost3-svmmemphis.com
Now copy the iisforward.dll from the directory WL_HOME/server/bin into each of
the directories you created for each of the Virtual Hosts.
6.2 Creating iisforward.ini
Create a file called iisforward.ini. Place this file in the same directories for
each of the virtual hosts that contain the iisforward.dll. This file should contain
the following entry for each virtual website defined in IIS:
vhostN=websiteName:port
websiteName:port=dll_directory/iisproxy.ini
Where:
N is an integer representing the virtual website. The first virtual website you
define should use the integer 1 and each subsequent website should increment this
number by 1.
websiteName is the name of the virtual website as registered with IIS.
port is the port number where IIS listens for HTTP requests.
dll_directory is the path to the directory you created in step 1.
For example:
vhost1=svmhome.com:7001
svmhome.com:7001=D:\WebLogicVHosts\vhost1-svmhome.com \iisproxy.ini
vhost2=svmwork.com:7002
svmwork.com:7002= D:\WebLogicVHosts\vhost2-svmhome.com \iisproxy.ini
vhost3=svmmemphis.com:7003
svmmemphis.com:7003= D:\WebLogicVHosts\vhost3-svmmemphis.com \iisproxy.ini
7. Configuring IISProxy
7.1 Installing IISProxy
Now copy the iisproxy.dll from the directory WL_HOME/server/bin into each of the
directories you created for each of the Virtual Hosts.
D:\WebLogicVHosts\vhost1-svmhome.com
D:\WebLogicVHosts\vhost2-svmwork.com
D:\WebLogicVHosts\vhost3-svmmemphis.com
7.2 Creating iisproxy.ini
The iisproxy.ini file contains name=value pairs that define configuration parameters
for the plug-in. Changes in the parameters will not go into effect until you
restart the "IIS Admin Service".
We need to create a iisproxy.ini configuration file for each of the virtual hosts.
Here is a sample iisproxy.ini file for use with a single, non-clustered WebLogic
Server. Comment lines are denoted with the "#" character.
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicHost=examplehost16
WebLogicPort=7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
Here is a sample iisproxy.ini file with clustered WebLogic Servers. Comment lines
are denoted with the "#" character.
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicCluster=examplehost07:7001,examplehost08:7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
8. Configuring IIS Virtual Hosts
8.1 Proxying by file extension
At this point we are now ready to configure the virtual hosts within IIS. First
create a new virtual website as you would normally do within IIS. Second add
the iisforward.dll file as a filter service in IIS (WebSite Properties —> ISAPI
Filters tab —> Add the iisforward dll). For each virtual host the path to the
iisforward.dll should be unique. The paths should match the ones that you created
previously. Again, there should be a unique path for each virtual website.
Example:
D:\WebLogicVHosts\vhost1-svmhome.com\iisforward.dll
D:\WebLogicVHosts\vhost2-svmwork.com\iisforward.dll
D:\WebLogicVHosts\vhost3-svmmemphis.com\iisforward.dll
On the App Mappings tab, click the Add button to add file types and configure
them to be proxied to WebLogic Server. In the dialog box, browse to find the
"iisproxy.dll" file that matches the path to the unique iisproxy.dll file for
the virtual host.
Example:
D:\WebLogicVHosts\vhost1-svmhome.com\iisproxy.dll
D:\WebLogicVHosts\vhost2-svmwork.com\iisproxy.dll
D:\WebLogicVHosts\vhost3-svmmemphis.com\iisproxy.dll
Set the Extension to the type of file that you want to proxy to WebLogic Server.
Register .wlforward as a special file type to be handled by iisproxy.dll. Deselect
the "Check that file exists" check box. Set the Method exclusions as needed
to create a secure installation.
When you finish, click the OK button to save the configuration. You can repeat
this process for each file type you want to proxy to WebLogic. When you finish
configuring file types, click the OK button to close the Properties panel.
In the URL, any path information you add after the server and port is passed directly
to WebLogic Server. For example, if you request a file from IIS with the URL:
Example:
http://svmhome.com/jspfiles/myfile.jsp
it is proxied to WebLogic Server with a URL such as
http://examplehost07:7001/jspfiles/myfile.jsp
8.2 Proxying by path
Now, within the iisproxy.dll file for each virtual host, define the property WlForwardPath
in iisproxy.ini. WlForwardPath defines the path that is proxied to WebLogic
Server.
Example:
WlForwardPath=/apps
Set the PathTrim parameter to trim off the WlForwardPath when necessary.
Example:
WlForwardPath=/apps
PathTrim=/apps
The previous trims a request from IIS to Weblogic Server. Therefore, /apps/exampleapp
is changed to /exampleapp.
If you want requests that do not contain extra path information (in other words,
requests containing only a host name), set the DefaultFileName parameter to the
name of the welcome page of the Web Application to which the request is being
proxied. The value of this parameter is appended to the URL.
If you need to debug your application, set the Debug=ON parameter in iisproxy.ini.
A c:\tmp\iisforward.log is generated containing a log of the plug-in's activity
that you can use for debugging purposes.
For each virtual host that you configure to be proxied to WebLogic, set the value
for the Application Protection option to high (isolated) as opposed to Low or
Medium. This allows separate iisforward and iisproxy DLL’s to be loaded into
each virtual hosts (dllhost.exe) memory address space.
END OF EXCERPT
Can someone at BEA verify this information or possible add to it?
TonyNice write-up.
Though, I may have found an easier way to use VirtualHost and/or Virtual
Directories with IIS without the need to use the iisforward.dll.
A lot of customers are asking about using multiple WlForwardPath to proxy to
different WebLogic instances. It is possible to use Virtual Directories to
do this.
All that you need to do is set the Application Protection to HIGH for each
Virtual Directory
and then each directory can use it's own iisproxy.dll/iisproxy.ini. Fairly
straight forward and it seems to
work.
As well, you can do Virtual Websites with each one having the application
protection set to HIGH as well. And of course they will each use their own
iisproxy.dll/iisproxy.ini. These virtual Websites can also all listen on
the
same IP/Port and if you want to proxy based on Host header, you can click on
the advanced tab and set the Host header for which this virtual website will
use.
So, all that really needs to be done is when you create the virtual
directory, make sure the
application protection is set to HIGH and change the App Mapping to point to
the new iisproxy.dll/iisproxy.ini.
If you want to proxy everything under that path, then Add another App
Mapping
that has an extension of *.
I do believe this will allow us to completely bypass the need of the
iisforward.
I have tested this with IIS5. With IIS4 it is not possible to register an
App Mapping of *(not sure why).
I hope this helps many of you.
Best regards,
Eric
"Tony Mendoza" <[email protected]> wrote in message
news:[email protected]...
>
Can someone give a detailed description of how IISForward and IISProxyinteract
with IIS as ISAPI modules? We have the IIS plugins functioning properly,we would
just like a more detailed explanation on how they interact and worktogether when
proxying multiple virtual hosts. It seems that many people are in thedark on
this process, and that any clarification would alleviate many of the postswe
see here. I would also settle for a link to some documentation (notBEA's, it
is very poor!) on this.
Here is an excerpt from some documentation that we have written upinternally
that helped us keep track of what we were doing when setting up the IISPlugins.
Some of this content draws from BEA's documentation so we here atServicemaster
make no claims on this content:
START OF EXCERPT:
6. Configuring IISForward
6.1 Installing iisforward.dll
Before creating the Virtual hosts in IIS, we need to create thedirectories that
are going to contain the DLL's. There is going to be a one-to-onerelationship
between Virtual Hosts and DLL directories. First create a directory whereall
of the DLL directories will reside:
D:\WebLogicVHosts
Within this directory create the directory for each Virtual Host that willbe
connecting to the WebLogic instance:
D:\WebLogicVHosts\vhost1-svmhome.com
D:\WebLogicVHosts\vhost2-svmwork.com
D:\WebLogicVHosts\vhost3-svmmemphis.com
Now copy the iisforward.dll from the directory WL_HOME/server/bin intoeach of
the directories you created for each of the Virtual Hosts.
6.2 Creating iisforward.ini
Create a file called iisforward.ini. Place this file in the samedirectories for
each of the virtual hosts that contain the iisforward.dll. This fileshould contain
the following entry for each virtual website defined in IIS:
vhostN=websiteName:port
websiteName:port=dll_directory/iisproxy.ini
Where:
N is an integer representing the virtual website. The first virtualwebsite you
define should use the integer 1 and each subsequent website shouldincrement this
number by 1.
websiteName is the name of the virtual website as registered with IIS.
port is the port number where IIS listens for HTTP requests.
dll_directory is the path to the directory you created in step 1.
For example:
vhost1=svmhome.com:7001
svmhome.com:7001=D:\WebLogicVHosts\vhost1-svmhome.com \iisproxy.ini
vhost2=svmwork.com:7002
svmwork.com:7002= D:\WebLogicVHosts\vhost2-svmhome.com \iisproxy.ini
vhost3=svmmemphis.com:7003
svmmemphis.com:7003= D:\WebLogicVHosts\vhost3-svmmemphis.com \iisproxy.ini
7. Configuring IISProxy
7.1 Installing IISProxy
Now copy the iisproxy.dll from the directory WL_HOME/server/bin into eachof the
directories you created for each of the Virtual Hosts.
D:\WebLogicVHosts\vhost1-svmhome.com
D:\WebLogicVHosts\vhost2-svmwork.com
D:\WebLogicVHosts\vhost3-svmmemphis.com
7.2 Creating iisproxy.ini
The iisproxy.ini file contains name=value pairs that define configurationparameters
for the plug-in. Changes in the parameters will not go into effect untilyou
restart the "IIS Admin Service".
We need to create a iisproxy.ini configuration file for each of thevirtual hosts.
Here is a sample iisproxy.ini file for use with a single, non-clusteredWebLogic
Server. Comment lines are denoted with the "#" character.
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicHost=examplehost16
WebLogicPort=7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
Here is a sample iisproxy.ini file with clustered WebLogic Servers.Comment lines
are denoted with the "#" character.
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicCluster=examplehost07:7001,examplehost08:7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
8. Configuring IIS Virtual Hosts
8.1 Proxying by file extension
At this point we are now ready to configure the virtual hosts within IIS.First
create a new virtual website as you would normally do within IIS. Secondadd
the iisforward.dll file as a filter service in IIS (WebSite Properties ->ISAPI
Filters tab -> Add the iisforward dll). For each virtual host the pathto the
iisforward.dll should be unique. The paths should match the ones that youcreated
previously. Again, there should be a unique path for each virtualwebsite.
>
Example:
D:\WebLogicVHosts\vhost1-svmhome.com\iisforward.dll
D:\WebLogicVHosts\vhost2-svmwork.com\iisforward.dll
D:\WebLogicVHosts\vhost3-svmmemphis.com\iisforward.dll
On the App Mappings tab, click the Add button to add file types andconfigure
them to be proxied to WebLogic Server. In the dialog box, browse to findthe
"iisproxy.dll" file that matches the path to the unique iisproxy.dll filefor
the virtual host.
Example:
D:\WebLogicVHosts\vhost1-svmhome.com\iisproxy.dll
D:\WebLogicVHosts\vhost2-svmwork.com\iisproxy.dll
D:\WebLogicVHosts\vhost3-svmmemphis.com\iisproxy.dll
Set the Extension to the type of file that you want to proxy to WebLogicServer.
Register .wlforward as a special file type to be handled byiisproxy.dll. Deselect
the "Check that file exists" check box. Set the Method exclusions asneeded
to create a secure installation.
When you finish, click the OK button to save the configuration. You canrepeat
this process for each file type you want to proxy to WebLogic. When youfinish
configuring file types, click the OK button to close the Properties panel.
In the URL, any path information you add after the server and port ispassed directly
to WebLogic Server. For example, if you request a file from IIS with theURL:
>
Example:
http://svmhome.com/jspfiles/myfile.jsp
it is proxied to WebLogic Server with a URL such as
http://examplehost07:7001/jspfiles/myfile.jsp
8.2 Proxying by path
Now, within the iisproxy.dll file for each virtual host, define theproperty WlForwardPath
in iisproxy.ini. WlForwardPath defines the path that is proxied toWebLogic
Server.
Example:
WlForwardPath=/apps
Set the PathTrim parameter to trim off the WlForwardPath when necessary.
Example:
WlForwardPath=/apps
PathTrim=/apps
The previous trims a request from IIS to Weblogic Server. Therefore,/apps/exampleapp
is changed to /exampleapp.
If you want requests that do not contain extra path information (in otherwords,
requests containing only a host name), set the DefaultFileName parameterto the
name of the welcome page of the Web Application to which the request isbeing
proxied. The value of this parameter is appended to the URL.
If you need to debug your application, set the Debug=ON parameter iniisproxy.ini.
A c:\tmp\iisforward.log is generated containing a log of the plug-in'sactivity
that you can use for debugging purposes.
For each virtual host that you configure to be proxied to WebLogic, setthe value
for the Application Protection option to high (isolated) as opposed to Lowor
Medium. This allows separate iisforward and iisproxy DLL's to be loadedinto
each virtual hosts (dllhost.exe) memory address space.
END OF EXCERPT
Can someone at BEA verify this information or possible add to it?
Tony -
Hi
We have a production portalenvironment with SAP EP 6.40, NW04 SPS19 (Win2003 server), we use iisproxy as reverse proxy. We have also a test environment that is exact the same and would like to setup IISproxy (reverse) here as well. But we only get the "Page cannot be found" message.
It does the redirection but doesnt display any content. The testenvironment is run on VMWare if that has anything to do with it.
This is the .xml file:
<ISAPI-config version="1.6">
<filter name="IisProxy filter" />
<extension name="IisProxy extension" />
<mapping name="Test Portal">
<source>
<protocol>http</protocol>
<prefix>/irj/</prefix>
</source>
<source>
<protocol>http</protocol>
<prefix>/logon/</prefix>
</source>
<target>
<protocol>http</protocol>
<host>servername.com</host>
<port>50000</port>
</target>
<compress-types></compress-types>
</mapping>
<config>
<source>
<protocol>http</protocol>
<host>localhost</host>
<prefix>/IisProxy/</prefix>
</source>
</config>
</ISAPI-config>
And here is a piece from the log:
================================================================================
08:39:30 Filter IIS - GET /
08:39:32 Filter J2EE --> GET /irj/portal/anonymous
10:29:23 Global F-Init IisProxy Filter 1.6.2.0 initializing.
10:29:24 Global F-Init IisProxy Filter 1.6.2.0 initialized.
10:29:24 Filter Config IisProxy Filter configuration:
================================================================================
Filter configuration
log-level = "3"
log-flags = "0x8031F33E"
debug-flags = "0x00000000"
priority = "high"
extension-url = "/scripts/IisProxy.dll"
IIS-check-auth = "true"
forward-auth = "false"
remote-ip-forward = "false"
log-path = "C:\Inetpub\Scripts\IisProxy_%y%m%d.log"
Source mappings:
Source http://(any):(any)/irj/
mapping = 0 "SAP Enterprise Portal 6.0"
Source http://(any):(any)/logon/
mapping = 0 "SAP Enterprise Portal 6.0"
Source http://localhost:(any)/IisProxy/
mapping = -1 "IisProxy module configuration (internal)"
================================================================================
10:29:24 Filter IIS - GET /
10:29:24 Filter J2EE --> GET /irj/portal/anonymous
10:30:49 Filter J2EE --> GET /irj/portal/anonymous
11:17:12 Global F-Init IisProxy Filter 1.6.2.0 initializing.
11:17:12 Global F-Init IisProxy Filter 1.6.2.0 initialized.
11:17:12 Filter Config IisProxy Filter configuration:
================================================================================
Filter configuration
log-level = "3"
log-flags = "0x8031F33E"
debug-flags = "0x00000000"
priority = "high"
extension-url = "/scripts/IisProxy.dll"
IIS-check-auth = "true"
forward-auth = "false"
remote-ip-forward = "false"
log-path = "C:\Inetpub\Scripts\IisProxy_%y%m%d.log"
Source mappings:
Source http://(any):(any)/irj/
mapping = 0 "SAP Enterprise Portal 6.0"
Source http://(any):(any)/logon/
mapping = 0 "SAP Enterprise Portal 6.0"
Source http://localhost:(any)/IisProxy/
mapping = -1 "IisProxy module configuration (internal)"
================================================================================
11:17:12 Filter IIS - GET /iisproxy
11:23:55 Filter IIS - GET /IisProxy
11:24:57 Filter J2EE --> GET /irj/portal/anonymous
11:25:01 Filter IIS - GET /
11:25:01 Filter J2EE --> GET /irj/portal/anonymous
11:41:31 Filter IIS - GET /iisproxy
11:42:03 Filter IIS - GET /IisProxy
13:25:42 Global F-Init IisProxy Filter 1.6.2.0 initializing.
13:25:42 Global F-Init IisProxy Filter 1.6.2.0 initialized.
13:25:42 Filter Config IisProxy Filter configuration:
============================================================================
ANY help or idea on why we get "Page cannot be found" would be most appriciated.
/thanks in advance, CamillaHi Camilla,
you are trying to access the portal via /irj/portal/anonymous. What happens if you just try to access it via /irj/? Do you still get the page not found?
Since you are using IISProxy be sure to know Note 886214 - End of Maintenance of IisProxy ISAPI module.
The IIS Proxy Module is no longer supported by SAP and has been replaced by other means of SSO (like SPNego).
However, there are still some notes out there which might be useful:
For Windows 2003/IIS 6 Note 715303 - IIS 6 specific configurations for IisProxy module
Note 713568 - Troubleshooting IisProxy module
Note 629946 - IisProxy: Manual installation and update
Hope this helps,
Holger. -
Iisforward.dll causing IIS crash (IIS4 and IIS5)
After having discovered SP6 breaks iis proxying on IIS5 (unsupported, I
know), I began making test preparations on an IIS4 box. I am
encountering the same problems.
I install the iisforward.dll ISAPI filter.
I create the extension mappings, .jsp and .wlforward
(if there are special IIS settings on the "home directory" page it would
be nice if this was noted)
I create the iisproxy.ini:
WebLogicHost=jubjub
WebLogicPort=7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
WlForwardPath=/weblogic (I have tried a PathTrim=/weblgic here as well)
Debug=on
DebugConfigInfo=on
I restart IIS Admin service and start the Web publishing service.
A request: http://webserver/weblogic/session causes an application
error on the webserver and the request to hang. Same thing I've
experienced on IIS5. If I use SP5, I see no errors.
Anyone else experiencing similar problems?
JesseAcknowleding that there is a bug that causes problems with IIS is on a
different box than WebLogic, I still have a problem getting proxing by path
to work when both are on the same machine. I followed the instructions for
installing the proxy, but have not been able to get it to work at all. Did
you find anything unclear in the instructions that you could provide clarity
to that would at least get me to the same "level of working" as you are?
Thanks,
Burke
"Diogo Lemos Pereira" <[email protected]> wrote in message
news:[email protected]...
YES, we are experiencing similar problems, on a similar configuration.
We do not suffer any problems when running IIS on the same box asweblogic,
i.e., setting "WebLogicHost=localhost" in the iisproxy.ini file.
Till the moment, we have found NO workaround for this problem - WLS seemsto
be ignoring the WebLogicHost and WebLogicPort parameters in iisproxy.ini,
other than localhost and 7001 (to which it defaults).
We have reported this situation to BEA Support, it has been assigned Ref#
200240.
Follow excerpts of our report, below:
Detailed Problem Description
======================
IIS breaks when forwarding requests to WebLogic Server
installed in a different box.
The problem seems to be wls ignoring WebLogicHost and
WebLogicPort parameters in iisproxy.ini other than localhost and 7001.
Error Message/Stack Trace
=====================
iisforward.log
Thu Oct 26 18:59:07 2000 LoadPropsFromFile:
D:\cemghb\IISProxy\iisproxy.ini
Thu Oct 26 18:59:07 2000 WLForwardPath: /weblogic
Thu Oct 26 18:59:07 2000 PathTrim: /weblogic
Thu Oct 26 18:59:17 2000 ====New
Request====/weblogic/FeedServlet
Thu Oct 26 18:59:17 2000 After PathTrim, url is
'/FeedServlet'
iisproxy.ini
WebLogicHost=10.100.21.91
WebLogicPort=7001
WlForwardPath=/weblogic
PathTrim=/weblogic
Debug=ON.
Good luck
Diogo
=====================
Diogo Lemos Pereira
Java Systems Architect
WhatEverNet Computing, S.A.
Portugal
=====================
Jesse E Tilly wrote:
After having discovered SP6 breaks iis proxying on IIS5 (unsupported, I
know), I began making test preparations on an IIS4 box. I am
encountering the same problems.
I install the iisforward.dll ISAPI filter.
I create the extension mappings, .jsp and .wlforward
(if there are special IIS settings on the "home directory" page it would
be nice if this was noted)
I create the iisproxy.ini:
WebLogicHost=jubjub
WebLogicPort=7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
WlForwardPath=/weblogic (I have tried a PathTrim=/weblgic here as well)
Debug=on
DebugConfigInfo=on
I restart IIS Admin service and start the Web publishing service.
A request: http://webserver/weblogic/session causes an application
error on the webserver and the request to hang. Same thing I've
experienced on IIS5. If I use SP5, I see no errors.
Anyone else experiencing similar problems?
Jesse -
Iisproxy conf iguratoin in weblogic5.1
HI group
Am try to configure iisproxy, I am using weblogic5.1 sp6 and iis4.0.
I have the iis and the weblogic server in different machines, on iis machine i put
the iisproxy.dll, iisforward.dll and the iisproxy.ini in the same directory over
c:\temp\*.
When i make a request to the iis i only obtain an inetinfo.exe error.(acces violation)
Need i put it files in some specific directory in the weblogic server.
Some body have any advices for my?
Thanks in advance
pedro ibarra
Pleae provide complete details. What do you mean it doesn't work?
Perhaps you can describe what you want to accomplish. In detail please.
Eric
"Lynne" <[email protected]> wrote in message
news:3c0fc609$[email protected]..
> I follow the instruction on
http://www.weblogic.com/docs51/admindocs/apache_bridge.html to configure
apache-weblogic plug in. It can go to the first page but the servlet is not
working. Here is my server information:
>
> Solaris 7, weblogic5.1 sp9,apache 1.3.9
> httpd.conf:
> LoadModule weblogic_module libexec/mod_wl.so
> AddModule mod_weblogic.c
> <Location /weblogic>
> SetHandler weblogic-handler
> PathTrim /ga/
> </Location>
> <Location /servlet>
> SetHandler weblogic-handler
> PathTrim /servlet/
> </Location>
>
> MatchExpression *.jpg
> MatchExpression *.gif
>
> <IfModule mod_weblogic.c>
> WebLogicHost genevaqa.grainger.com
> WebLogicPort 8084
> MatchExpression *.jsp
> </IfModule>
-
Problem with 'Edit Locally' command -- Due to IISProxy?
Hi,
We have a problem with 'Edit Locally' command since we are using Windows Authentication. Our architecture is:
SAP EP 6.0 SP2 Patch 28 (Solaris)
IIS Proxy (Windows 2003)
The situation is:
If we access to SAP Portal using old url (directly to Solaris) using form-based authentication we do not have any problem with 'edit locally' command.
However, if we access to SAP Portal using IISProxy and Windows Authentication we get an 'Operation failed' error message.
Java plug-in console shows the following message:
cargar: clase com/sapportals/wcm/app/docapplet/DocApplet.class no encontrada.
java.lang.ClassNotFoundException: com.sapportals.wcm.app.docapplet.DocApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Where is the problem? Is due to authentication method? SAP Portal or IISProxy configuration?
Thanks,Thanks for your comment,
Now, we have tested with version 1.5.0_01 plugin version but the result is the same: 'Operation failed'
This is a very important topic to solve before installing Windows Authentication in a productive environment.
Has anybody any solution?
Damiá -
WL 5.1 and IIS - HTTP Error 403 - Access Forbidden problems
I'm trying to hook IIS up to the evaluation version of WebLogic Server 5.1
that I installed...
I followed the instructions that I found on the Installing the Microsoft-IIS
(proxy) plug-in page. I then copied HelloWorld.jsp into the
d:\weblogic\myserver\public_html directory, and tried to bring it up in a
browser by typing in localhost/HelloWorld.jsp. At this point, I got the
following error:
** Begin error message **
HTTP Error 403
403.1 Forbidden: Execute Access Forbidden
This error can be caused if you try to execute a CGI, ISAPI, or other
executable program from a directory that does not allow programs to be
executed.
Please contact the Web server's administrator if the problem persists.
** End error message **
I then tried adding a virtual directory called public_html to my default Web
site. This didn't help. I even tried creating a directory called public_html
inside public_html, setting execute privilages on it, and putting a copy of
HelloWorld.jsp in there. This allowed me to type
localhost/public_html/HelloWorld.jsp into my browser, and to see the JSP
source code!?#...
This is what my iisproxy.ini file looks like (It lives in d:\weblogic):
** Begin iisproxy.ini **
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicHost=localhost
WebLogicPort=7001
WebLogicCluster=
ConnectTimeoutSecs=20
ConnectRetrySecs=2
** End iisproxy.ini **
Any suggestions/help from someone who's done this before would be greatly
appreciated. We can't run/evaluate the product before we can crawl and walk.
Cheers...
Dave Bruzzone
WebCredenza, Inc.Thr problem is that you must set Execute rights to the IIS web at the
Configuration settings (exactly as seen in the documentation).
"Davide Bruzzone" <[email protected]> ha scritto nel messaggio
news:8iubob$mgp$[email protected]..
I'm trying to hook IIS up to the evaluation version of WebLogic Server 5.1
that I installed...
I followed the instructions that I found on the Installing theMicrosoft-IIS
(proxy) plug-in page. I then copied HelloWorld.jsp into the
d:\weblogic\myserver\public_html directory, and tried to bring it up in a
browser by typing in localhost/HelloWorld.jsp. At this point, I got the
following error:
** Begin error message **
HTTP Error 403
403.1 Forbidden: Execute Access Forbidden
This error can be caused if you try to execute a CGI, ISAPI, or other
executable program from a directory that does not allow programs to be
executed.
Please contact the Web server's administrator if the problem persists.
** End error message **
I then tried adding a virtual directory called public_html to my defaultWeb
site. This didn't help. I even tried creating a directory calledpublic_html
inside public_html, setting execute privilages on it, and putting a copyof
HelloWorld.jsp in there. This allowed me to type
localhost/public_html/HelloWorld.jsp into my browser, and to see the JSP
source code!?#...
This is what my iisproxy.ini file looks like (It lives in d:\weblogic):
** Begin iisproxy.ini **
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicHost=localhost
WebLogicPort=7001
WebLogicCluster=
ConnectTimeoutSecs=20
ConnectRetrySecs=2
** End iisproxy.ini **
Any suggestions/help from someone who's done this before would be greatly
appreciated. We can't run/evaluate the product before we can crawl andwalk.
>
Cheers...
Dave Bruzzone
WebCredenza, Inc.
[isapi2.gif]
Maybe you are looking for
-
Unable to install OS X Yosemite on my Mac
I've downloaded the OS upgrade to my Mac and all seemed OK until installation. Now, I can't get beyond a screen that announces "OS X could not be installed on your computer. File system verify or repair failed. Quit the installer to restart your comp
-
Internal microphone not working with Windows 7 on g6-1256ee
Hi, I recently installed Windows 7 (64bit) on my HP g6-1256ee and everything seems to work apart from the internal microphones. sound card driver install correctly and hp assisstant say your computer up yo date plz help me
-
Plug in boris red 4 for premiere cs5
I own both a PC and a mac 27 with 8 gigs of ram, I downloaded the trial version of Master Collection and cs5 Boris Red 4 for both PC and Mac. I installed on my PC and all is well, Mac in the list of program for which you choose to install the plugin
-
Trash won't delete--Dialog box says: "...not have sufficient privileges"
Help!! The dialog box, which is labled "Trash" at the top, says in full: "The operation cannot be completed because you do not have sufficient privileges for some of the items." I did the following, which had no effect on this problem. 1. I ran Repai
-
I have deployed BOE 3.1 and integrated to sharepoint. When opening documents from sharepoint, the openDocument function is used, but the call fails. Using tomcat administrator I have tried to verify the opendocument deployment and I get the 404 missi