IIS 6 Plug-in with Weblogic 8.1
Hello there,
I am just wondering if there is anyone out there, who got IIS 6 plug-in working
with WebLogic 8.1. Plug-in perfectly works with IIS 5. When we upgraded W2K to
W2003 plug-in didn't work with Weblogic. If there is anyone who knows how to get
this up and running, your help will be appreciated.
Thank you.
Hi Vishwas,
Thank you for the reply. I forgot to mention that Apache and WebLogic are on Solaris 9 platform.
Accesing a webapp hosted on WebLogic through Apache->plug-in->WebLogic return 500 internal server error, but other webapps hosted on the same WebLogic domain works properly. Looking at the Response Hdrs from WebLogic shows that WLS returns transfer-encoding=chunked. The other webapps which work properly has content-length set and transfer-encoding is not chunked.
So, the question is does Apache Plug-in for weblogic 8.1 SP5 read the chunked data properly?
Thanks,
Janani
Similar Messages
-
Need CVS plug in with weblogic portal 10.3
I tried to integrate the CVS plug in with Weblogic Portal 10.3 using software updates (Selecting Eclipse CVS Client 1.0.2.r33x), but getting the error - Weblogic Portal 10.3 requires feature "com.m7.nitrox(1.0.20)", or compatible
Can someone help me in CVS plug ins with weblogic portal 10.3.ttam,
This is a bug, 8185869 (Check in Metalink) . that has been fixed in the Sunshine Release. In the meantime, here's the workaround from the bug report:
Download the plugin manually, and either 1) create an extension location on the file system from it and add that via Help|Software Updates|Manage Configuration, or 2) extract it to one of the workshop eclipse folders (i.e. tools/eclipse_pkgs/2.0/eclipse_3.3.2, tools/eclipse_pkgs/2.0/pkgs/eclipse, workshop_10.3/workshop4WP/eclipse, wlportal_10.3/eclipse).
Additionally, you can comment out the com.* import lines in your %BEA_HOME%\wlportal_10.3\eclipse\features\com.bea.wlp_10.3.0\feature.xml, like this:
<requires>
<import plugin="org.eclipse.core.runtime" version="3.3" match="compatible"/>
<import plugin="org.eclipse.ui" version="3.3" match="compatible"/>
<!--
<import feature="com.m7.nitrox" version="1.0.20" match="compatible"/>
<import feature="com.bea.workshop.cmdline.feature" version="1.0.30" match="compatible"/>
<import feature="com.bea.workshop.common.feature" version="1.1.40" match="compatible"/>
<import feature="com.bea.workshop.upgrade81.feature" version="1.0.30" match="compatible"/>
<import feature="com.bea.workshop.web.feature" version="1.0.20" match="compatible"/>
<import feature="com.bea.workshop.wls.feature" version="1.1.30" match="compatible"/>
<import feature="com.bea.workshop.xmlbeans.feature" version="1.0.30" match="compatible"/>
-->
</requires>
Then restart Workshop.
cheers
vijay -
Error in configuring apache plug in with weblogic 8.1.5
I tried to configure Apache 2.2 plugin with weblogic 8.1 SP 5 in Linux ES 4.0 . I am getting the following error while loading weblogic_module in httpd.conf file in Apache server (restarting apache server after putting entries in httpd.conf).. The error is httpd: Syntax error on line 414 of /usr/local/apache2/conf/httpd.conf: API module structure `weblogic_module' in file /usr/local/apache2/modules/mod_wl_20.so is garbled - perhaps this is not an Apache module DSO?
Did anyone got this error before?The solution is for BEA to provide the plug-in. Probably a few minutes of a work for BEA developer. Weblogic 9.0 has it.
Edited by muralive at 09/17/2007 10:08 PM -
Apache Proxy Plug-in with WebLogic 8.1 SP5 - Transfer Encoding:Chunked
Hello All,
Configuration: Apache 2.0.48
Plugin - mod_wl128_20.so
WebLogic Version - 8.1 SP5
There is no SSL between Apache and WebLogic server.
Apache seems to have issue when the response from WebLogic has: Hdrs from WLS:[Transfer-Encoding]=[chunked]
I turned on the debugging on Apache side with DebugAll flag and WLS sends data to Apache plug-in.
Is is a known issue? Is there any CR to fix it? Please let me know if you need further details.
Any help is appreciated.
Thanks,
JananiHi Vishwas,
Thank you for the reply. I forgot to mention that Apache and WebLogic are on Solaris 9 platform.
Accesing a webapp hosted on WebLogic through Apache->plug-in->WebLogic return 500 internal server error, but other webapps hosted on the same WebLogic domain works properly. Looking at the Response Hdrs from WebLogic shows that WLS returns transfer-encoding=chunked. The other webapps which work properly has content-length set and transfer-encoding is not chunked.
So, the question is does Apache Plug-in for weblogic 8.1 SP5 read the chunked data properly?
Thanks,
Janani -
IIS Plug-in with WLS 6.1 SP2 Connection Pool ?
I have the following setup.
For QA, 1 IIS Server (using plug-in from 6.1 SP2) forwarding all request to a
cluster on the backend. (2 Physical Servers, 4 JVM's). I do have a firewall in
between the IIS Server & the backend servers.
According to the docs, the IIS plug-in is supposed to establish a connection pool
to the backend. I do not see this behavior.
I see a connection created/close per request.
So , I have 2 questions:
1. Does the IIS Plug-in use connection Pooling, Do you have to enable it ?
2. How do I control the pool size ?
Thanks in advance,
Tim"Tim" <[email protected]> wrote:
>
I have the following setup.
For QA, 1 IIS Server (using plug-in from 6.1 SP2) forwarding all request
to a
cluster on the backend. (2 Physical Servers, 4 JVM's). I do have a firewall
in
between the IIS Server & the backend servers.
According to the docs, the IIS plug-in is supposed to establish a connection
pool
to the backend. I do not see this behavior.
I see a connection created/close per request.
So , I have 2 questions:
1. Does the IIS Plug-in use connection Pooling, Do you have to enable
it ?
2. How do I control the pool size ?
Thanks in advance,
TimDoes anyone from BEA monitor this newsgroup ?
I have also opened up a case (1 week old) with tech support and still do not have
an answer. This is very frustrating considering the cost of owning this environment.
Tim -
JVisualVM Plug-In with Weblogic 12.1.2
Hi,
I am trying to connect to a Coherence Cluster running on Weblogic 12.1.2 and can't. I am following this doc The Oracle Coherence Incubator -
Using jdk 1.7.0_45 on Windows 8.1.
I can get it running with Coherence Standalone.
I tried to configuring jmx admin at the servers...
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
With jmx port... without the different port... without this config.
I start JVisualVM like this
%JAVA_HOME%\bin\jvisualvm.exe --cp:a %WL_HOME%\server\lib\wljmxclient.jar;%WL_HOME%\server\lib\weblogic.jar -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote -J-Dcom.oracle.coherence.jvisualvm.disable.mbean.check=true
A Kodo error appears when start VisualVM. If I change weblogic.jar to weblogic-classes.jar... the error dissapears.
Can you give an example how must be configured the weblogic server? To what server I must connect? The Coherence Data Server? The AdminServer? I tried them all.
service:jmx:iiop://localhost:xxxx/jndi/weblogic.management.mbeanservers.domainruntime
Thank you!!
JPHi Vishwas,
Thank you for the reply. I forgot to mention that Apache and WebLogic are on Solaris 9 platform.
Accesing a webapp hosted on WebLogic through Apache->plug-in->WebLogic return 500 internal server error, but other webapps hosted on the same WebLogic domain works properly. Looking at the Response Hdrs from WebLogic shows that WLS returns transfer-encoding=chunked. The other webapps which work properly has content-length set and transfer-encoding is not chunked.
So, the question is does Apache Plug-in for weblogic 8.1 SP5 read the chunked data properly?
Thanks,
Janani -
Security issue with web server plug-in with Weblogic server
Hi,
I have a setup where I have an Microsoft IIS setup as the front facing web server and have the WLS IIS plug-in installed on it. At the backend, is two WLS11g managed servers in a cluster.
I have a JAX-WS client running on HPUX hitting the web service via IIS but I observe a very strange thing. When the service request is rather small, it could pass through IIS and the managed servers could pick up the call and reply correctly. However, when I have a bigger request call (larger payload), it will error out, citing "Unsupported Content-Type: text/html Supported ones are: [text/xml]".
I have also attempt to put in a TCP/IP Monitor between the client and IIS and it appears that regardless if the call gets through, it seems to consistently got hit with a HTTP error 401.2, follow by a 401.1, and then, the WSDL came back. I am pretty sure that the web services are not secured as I could get the WSDL without any authentication on the managed servers direct from my brower (it did pop the authentication window if I attempt to hit the web services via IIS)
Anyone has any idea what is going on, the issue seems to be so contradicting...
Thanks in advance.When you look at this link http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/8feeaa51-c634-4de3-bfdc-e922d195a45e.mspx?mfr=true
You can check the authentication method that is configured for that node in the metabase. -
IIS 4.0 with weblogic 5.1 sp8, URGENT
Hi,
I m running Weblogic 5.1(runs on port 7001) on NT 4.0 with IIS 4.0(runs on
port 80) with IIS plugin configured properly.
I can access or run http://www.myhost.com/hello.jsp Hello.jsp is compiled
by weblogic and returned by back to IIS(browser). However if I access
http://www.myhost.com/portal/signin.jsp. signin.jsp is compiled by weblogic
and returned by back to browser through IIS. But my url get change in
between. It becomes http://www.myhost.com:7001/portal/index.jsp. How Can I
fix it so that every request is through webserver.
Any help,Hey KP,
Try redirect by extension instead of redirect by path.
I tried redirect jsp, gif, and jpg by extension using WLS6SP1/
EFS3.5(Solaris) and IIS4(NT) and I didn't have any problem with
the 7001 port number. By the way, have you tried using https to
request /portal/index.jsp with WLS6 on either NT or
Solaris platform? My web server (either iplanet or iis) cannot
render the result return by the WLS and displays "Internal
Server failure, NSAPI plugin. Cannot continue." when I tried
https://www.myhost.com/portal/index.jsp or
https://www.myhost.com/portal/diag.jsp.
Do you know what's wrong? Help!
Tony
"K.P. Patel" <[email protected]> wrote:
Hi,
I m running Weblogic 5.1(runs on port 7001) on NT 4.0 with IIS 4.0(runs
on
port 80) with IIS plugin configured properly.
I can access or run http://www.myhost.com/hello.jsp Hello.jsp is compiled
by weblogic and returned by back to IIS(browser). However if I access
http://www.myhost.com/portal/signin.jsp. signin.jsp is compiled by weblogic
and returned by back to browser through IIS. But my url get change in
between. It becomes http://www.myhost.com:7001/portal/index.jsp. How
Can I
fix it so that every request is through webserver.
Any help, -
IIS configuration with Weblogic 10gR3
Hi All,
We are using IIS 6.0 as the proxy server in our portal application. The portal server is Weblogic 10gR3. I have followed some documents to configure it. (http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs103
/plugins/isapi.html). But I am not able to configure that. Can any body help me in configuring IIS server as a proxy server.
Thanks & Regrads
Abani R. BeheraConfigure IIS Plug-in with Weblogic Server
1. Make a directory on the IIS box for the plug-in.
For instance: c:\Inetpub\WLS_IIS_Plugin\
2. Copy iisforward.dll and iisproxy.dll to this new directory.
These files are located at:
10.0: \wlserver_10.0\server\plugin\win\32
10.3: \wlserver_10.3\server\plugin\win\32
3. To install iisforward.dll as an ISAPI filter, do the following:
Go to Start->Administrative Tools->Internet Information Services
(IIS) Manager
In the left pane, drill down to the active website
(like "Default Web Site")
Right-click the active website and select Properties
Select the ISAPI Filters tab and press the Add button
Filter name: WLS IIS Plugin
Or whatever you want
Executable: C:\Inetpub\WLS_IIS_Plugin\iisforward.dll
Or whatever path you created
Press OK twice
IIS6 does not allow the iisforward.dll ISAPI Extension to run by default.
To enable:
In the left pane of the Internet Information Services (IIS) Manager,
click on Web Service Extension (located under the computer name)
In the right pane, highlight All Unknown ISAPI Extensions and press
the Allow button
4. To map .wlforward to use iisproxy.dll, do the following:
a. In the left pane, drill down to the active website (like
"Default Web Site")
b. Right-click the active website and select Properties
c. Select Home Directory tab
d. Click the Configuration... button.
e. In the Application Mapping tab, click the Add... button.
a. Executable: C:\Inetpub\WLS_IIS_Plugin\iisproxy.dll
b. Extension: .wlforward
f. Uncheck Verify that file exists
g. IMPORTANT: Ensure .wlforward is not mapped to iisforward.dll.
While this seems intuitive, it is wrong. .wlforward maps to
iisproxy.dll.
h. Press OK three times
i. Exit the IIS Manager MMC console.
5. Create a text file named iisproxy.ini and place it in the plug-in
directory (e.g. c:\Inetpub\WLS_IIS_Plugin\iisproxy.ini)
iisproxy.ini
WebLogicCluster=localhost:7001,localhost:7003
WlForwardPath=/
Debug=ALL
DebugConfigInfo=ON
WLLogFile=c:/temp/iisproxy.log
6. Restart IIS using the following CLI statement: iisreset /restart
7. Use a browser to access IIS. This will 'turn on' the IIS->WLS
ISAPI filter.
8. Relaunch the IIS Manager and check the ISAPI filter tab to ensure
the iisforward.dll is now 'turned on', as evidenced by a green arrow. -
Problems using 4096 bit SSL certificate with WebLogic Apache 2.2 plug-in
Hi,
'm using WebLogic 9.2 MP3 and Apache HTTP Server (version 2.2) Plug-In. For security reasons, I have SSL installed on both Apache and WebLogic. So Apache must communicate with WebLogic via https.
I get the following error when attempting to access WebLogic via Apache:
Internet Explorer cannot display the webpage
These are the last lines in wlproxy log:
Fri Feb 26 14:08:59 2010 <71212672221392> INFO: SSL is configured
Fri Feb 26 14:08:59 2010 <71212672221392> SSL Main Context not set. Calling InitSSL
Fri Feb 26 14:08:59 2010 <71212672221331> INFO: Initializing SSL library
I've found that the problem is caused by using a 4096 bit intermediate cert. When I include this 4096 bit cert in the file referenced by plugin parameter "TrustedCAFile", it is unable to load it. I've tested 4096 bit certs from a few different certificate authorities, and consistently see this problem, so I know the problem is not related to the specific certificate. If I use a 2048 bit intermediate certificate, everything works perfectly fine.
Do you know if there are limitations to the certificate length that the plug-in can use?Yes 4096 bit Certificates are not supported by the plugin.
You can use up to 2048 bit.
There is a Bug which clearly mentions it.
I dont remember the Bug Number, but an Oracle Support person will be able to tell you.
Hope this helps.
Faisal Khan
Edited by: Faisal Khan on Feb 27, 2010 2:08 PM -
Problem with WL6.0 IIS plug in
I upgraded weblogic server from 4.51 to 6.0. I found out that WL6.0 IIS plug in
resets a HTTP post request when the size of post data is over 4k. The below is
my iisproxy.ini. It works fine wihe WL4.51. Is there any entry I need to add to
iisproxy.ini for WL6.0 plug in.
WebLogicHost=192.168.0.88
WebLogicPort=7001
ConnectTimeoutSecs=30
ConnectRetrySecs=15
Thanks,
Taohetry "FileCaching=OFF"
for more info:
http://bernal.beasys.com/release/docs61/adminguide/plugin_params.html
thanks
Jong
"taohe" <[email protected]> wrote:
>
I upgraded weblogic server from 4.51 to 6.0. I found out that WL6.0
IIS plug in
resets a HTTP post request when the size of post data is over 4k. The
below is
my iisproxy.ini. It works fine wihe WL4.51. Is there any entry I need
to add to
iisproxy.ini for WL6.0 plug in.
WebLogicHost=192.168.0.88
WebLogicPort=7001
ConnectTimeoutSecs=30
ConnectRetrySecs=15
Thanks,
Taohe -
How to configure IIS webserver with weblogic so that I can
invoke servlets without the .wlforward extension
As per the documentation iisforward.dll is registered as a filter and .wlforward
has also been
included as a special file type. However this requires me to key-in ".wlforward"
after my servlet name.
What I want is something like this
http://iis/MyServlet
Please help me find a solution to this
Thanks,
RishiI am able to invoke the servlet without the wlforward extension now.
However, now I am required to add /weblogic before the servlet
name otherwise it does not execute the pathtrim property.
I have tried with the pathprepend thing also.
Can we get rid of the /weblogic part also. I just want to execute
my servlet as http://iis/myServlet.
Your help in this regard is greatly appreciated...
Thanks..
"Rishi" <[email protected]> wrote:
>
Thanks for the reply Kumar.
I did follow the instructions as given in the Weblogic documentation
The documentation said to add iisforward.dll as a filter service
and register .wlforward as a special
file type to be handled by iisproxy.dll. For this,
while configuring the IIS server in the Home Directory tab
I added an extension ".wlforward" and the executable as
iisproxy.dll. Is this the way it should have been done...
I also modified the iisproxy.ini file as per the documentation.
I have added the WLForwardPath property and set it to /weblogic.
My server works fine when I give the url as
http://iis/myServlet.wlforward
but it does not work for
http://iis/myServlet and this is the way i'd want it to work.
Please tell me if I am missing something on the configuration part
and if there is something special that needs to be done. I shall
be grateful to you.
Kumar Allamraju <[email protected]> wrote:
http://e-docs.bea.com/wls/docs61/adminguide/isapi.html#101184
Rishi wrote:
How to configure IIS webserver with weblogic so that I can
invoke servlets without the .wlforward extension
As per the documentation iisforward.dll is registered as a filter
and
.wlforward
has also been
included as a special file type. However this requires me to key-in".wlforward"
after my servlet name.
What I want is something like this
http://iis/MyServlet
Please help me find a solution to this
Thanks,
Rishi -
IIS plug-in config with WLS 8.1 sp2
We are currently migrating from another app server and have run into problems configuring
the IIS plug-in. We have reviewed the e-docs and developer Web pages on how to
configure the plug-in but cannot successfully find information on how to point
a single IIS virtual host to multiple app servers and URIs on WLS. We're trying
to have one IIS ip:port point to many BEA app servers which can then point to
many URIs so that we can distribute load and code updates across several clusters.
Example:
ourdomain.com -> to WLServer1:8010 /app1/uri1
/app2/uri2
WLServer2:8011 /app3/uri3
/app4/uri4
The problem so far has been getting the IISProxy file to point to more than one
application server (JVM Instance) running on the two WLS machines.
Thanks for any help you can offer!You should provide some more information. Which IP are you binding to on
WLS? Are you specifying the same IP in the iisproxy.ini for the
WebLogicHost?
Show us your configuration for the iisproxy.ini.
My best bet is that you are specifying a different IP address in the
iisproxy.ini or perhaps you are specifying a hostname that does not resolve
to the bound IP on WLS.
Regards,
Eric
"Farhan Kazmi" <[email protected]> wrote in message
news:[email protected]..
> I am having a problem with the IIS plugin. It seems that when ever I
explicitly bind a WL app server to an IP address, the IIS plugin no longer
forwards requests on the WL. Does any one know the reason why this is
happening.
>
> Note, if I do not bind to an IP address, the plug-in works fine.
>
> OK.... I am not even sure if this forum is working!!. I have tried to
contact to my BEA sales rep but he is gone for the week.
>
> I have posted 3 or 4 questions here, and have heard no replies.
-
How to make IIS plug-in do STICKY load balancing
There are two classes of scalable services: pure and sticky. A pure service
is one where any instance of the application can respond to client requests.
A sticky service is one where a client sends its requests to the same
instance; those requests are not redirected to other instances.
It seems to me that weblogic IIS proxy plug-in does not support the sticky
load balancing.
Could someone give me some information on how to make the proxy sticky?
Is there configuration parameters for this?
Thanks,
-LeiI set the cluster.
It seems to me that there is some problem with the Set-Cookie mechanism of
the plug-in.
Sometime it set the cookie in my browser, sometime it is not.
Even from the wlproxy.log, I could set something like
Fri Aug 03 17:56:12 2001 Hdrs to
client:[Set-Cookie]=[AribaNode=O2tII92qHlP2tpZjUV0m5ued1s6X028cUPu24QcGj1Q25
AE5VXOd!1782877802312707887!ltang.ariba.com!8001!7002; domain=ariba.com;
path=/]
But the cookie is not set in my browser, what might be wrong here?
Thanks,
-Lei
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
I do believe that this will not work since if clustering is not enabled, a
cookie will not be set on the browser that contains the primary and
secondary server.
You are specifying two different ports in your servers. You need to use
clustering in order to get this functionality with the plugin.Furthermore,
you will achieve fail-over.
Regards,
Eric
"Lei Tang" <[email protected]> wrote in message
news:[email protected]...
Here is what I did for the examples under the bea sample directory.
I put the following in test1/WEB-INF/weblogic.xml
<session-descriptor>
<session-param>
<param-name> CookieDomain </param-name>
<param-value> *.ariba.com </param-value>
</session-param>
<session-param>
<param-name> CookieName </param-name>
<param-value> AribaNode </param-value>
</session-param>
<session-param>
<param-name> CookiePath </param-name>
<param-value> /test1 </param-value>
</session-param>
</session-descriptor>
</weblogic-web-app>
I add the following in iisproxy.ini
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicCluster=ltang.ariba.com:8001,achu.ariba.com:7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
Debug=ALL
WLLogFile=c:\tmp\wlproxy.log
WlForwardPath=/test1
DynamicServerList=OFF
CookieName=AribaNode
I use SesssionServlet.java as an example
When I involk http://proxy/test1/SessionServlet, I always get 1
if I use
http://proxy/test1/SessionServlet:AribaNode=................................
I could see the session becomes sticky.
If I do not want to use URL rewriting, what should I do in order to makethe
session STICKY
for this example.
Thanks,
-Lei
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
If you leave the CookieName untouched on the WebLogic side, then there
should be no reason to make the change in the plug-in.
But yes, you need to make sure the cookie names are the same.
Regards,
Eric
"Mark Vaughn" <[email protected]> wrote in message
news:[email protected]...
Actually, you also need to make sure you set the "CookieName" in theplugin.
That let's the plugin read the cookie set by WebLogic to determine
who
the
primary and secondary servers are for that session. Otherwise, theplugin
has no
way of knowing if you are establishing a new session or returning to
an
existing
one. The cookie will tell it if you have a current session and who
it
should
send you to for continuing that session, or failing that session
over.
>>>>
Eric Gross wrote:
Without having clustering enabled, you will not get Sticky load
balancing.
You need to have clustering so that a cookie is sent back to the
client
that
contains information about where it's session is located.
Otherwise,
you
are just going to get round-robin each time.
You can refer to the following page for more information:
http://e-docs.beasys.com/wls/docs61/cluster/servlet.html
Regards,
Eric
"Lei Tang" <[email protected]> wrote in message
news:[email protected]...
WebLogicCluster=machine1:7001,machine2:7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
Debug=ALL
WLLogFile=c:\tmp\wlproxy.log
WlForwardPath=/test,/test1
DynamicServerList=OFF
I run two standone (Admin server) weblogic servers on machine1
machine2.
Then I deploy application test.war on machine1 first, then onmachine2.
Should I make machine2 as a managed server and machine1 as an
admi
n
server?
Will this make the session sticky?
Thanks,
-Lei
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
It would help us to know how you have iisproxy.ini configured.
Sticky
load
balancing should work fine if you have the plug-in and
WebLogic
Server
setup
correctly.
How have you setup the plug-in?
Thanks,
Eric
"Lei Tang" <[email protected]> wrote in message
news:[email protected]...
There are two classes of scalable services: pure and sticky.
A
pure
service
is one where any instance of the application can respond to
client
requests.
A sticky service is one where a client sends its requests to
the
same
instance; those requests are not redirected to other
instances.
It seems to me that weblogic IIS proxy plug-in does notsupport
the
sticky
load balancing.
Could someone give me some information on how to make the
proxy
sticky?
Is there configuration parameters for this?
Thanks,
-Lei
.-. Mark Vaughn
/V\ 7024 Corona Dr.
// \\ North Richland Hills, TX 76180
/( )\ [email protected]
^^-^^
"Give a man a fish and you feed him for a day;
teach him to use the Net and he won't bother you for weeks."
Ben Woodbridge -
DIME Attachement IOException using IIS Plug-in / OK without Plug-in
Hi,
I have a deployed axis servlet (1.2.1) running on a weblogic server (8.1.5) wich accepts a DIME attachment. The client sends the attachment via axis rpc call.invoke() methods. If I send the attachment via a IIS proxy plug-in URL, I get IOExceptions (shown below with IIS plugin debug output). I'm able to send the attachement successfully, however, if I bypass the proxy and use a real weblogic server URL. The IIS plugin works for all other types of soap calls.
I've tried changing the wsdd http transport on the client/server to use the axis CommonsHTTPSender without any luck, see: <http://wiki.apache.org/ws/FrontPage/Axis/AttachmentProblems>
I hope someone may have an idea what the problem is using the IIS proxy. Thanks.
Setup:
Clustered Servers: Axis Servlet, WebLogic 8.1 SP5, jrocket jdk
Client: Axis 1.2.1
Proxy: WebLogic IIS Plug-in
IOException (truncated):
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.RuntimeException: java.io.IOException: End of physical stream detected when 33924 more bytes expected.AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException: End of physical stream detected when 33924 more bytes expected.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.io.IOException: End of physical stream detected when 33924 more bytes expected.
at org.apache.axis.attachments.DimeDelimitedInputStream._read([BII)I(DimeDelimitedInputStream.java:273)
at org.apache.axis.attachments.DimeDelimitedInputStream.read([BII)I(DimeDelimitedInputStream.java:201)
at org.apache.axis.attachments.DimeDelimitedInputStream.read([B)I(DimeDelimitedInputStream.java:445)
at org.apache.axis.attachments.ManagedMemoryDataSource.<init>(Ljava/io/InputStream;ILjava/lang/String;Z)V(ManagedMemoryDataSource.java:146)
at org.apache.axis.attachments.MultiPartDimeInputStream.readTillFound([Ljava/lang/String;)Lorg/apache/axis/Part;(MultiPartDimeInputStream.java:163)
at org.apache.axis.attachments.MultiPartDimeInputStream.readAll()V(MultiPartDimeInputStream.java:100)
at org.apache.axis.attachments.MultiPartDimeInputStream.getAttachments()Ljava/util/Collection;(MultiPartDimeInputStream.java:108)
at org.apache.axis.attachments.AttachmentsImpl.mergeinAttachments()V(AttachmentsImpl.java:156)
at org.apache.axis.attachments.AttachmentsImpl.getAttachmentByReference(Ljava/lang/String;)Lorg/apache/axis/Part;(AttachmentsImpl.java:315)
at org.apache.axis.encoding.DeserializationContext.getObjectByRef(Ljava/lang/String;)Ljava/lang/Object;(DeserializationContext.java:617)
at org.apache.axis.encoding.ser.JAFDataHandlerDeserializer.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;Lorg/apache/axis/encoding/DeserializationContext;)V(JAFDataHandlerDeserializer.java:70)
at org.apache.axis.encoding.DeserializationContext.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V(DeserializationContext.java:1048)
at org.apache.axis.message.SAX2EventRecorder.replay(IILorg/xml/sax/ContentHandler;)V(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(Lorg/xml/sax/ContentHandler;)V(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize()V(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams()Ljava/util/Vector;(RPCElement.java:384)
at org.apache.axis.providers.java.RPCProvider.processMessage(Lorg/apache/axis/MessageContext;Lorg/apache/axis/message/SOAPEnvelope;Lorg/apache/axis/message/SOAPEnvelope;Ljava/lang/Object;)V(RPCProvider.java:148)
at org.apache.axis.providers.java.JavaProvider.invoke(Lorg/apache/axis/MessageContext;)V(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(Lorg/apache/axis/Handler;Lorg/apache/axis/MessageContext;)V(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(Lorg/apache/axis/MessageContext;Lorg/apache/axis/HandlerIterationStrategy;)V(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(Lorg/apache/axis/MessageContext;)V(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(Lorg/apache/axis/MessageContext;)V(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(Lorg/apache/axis/MessageContext;)V(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(AxisServlet.java:699)
at com.sigmadynamics.services.SDServiceDeployerServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(SDServiceDeployerServlet.java:95)
IIS Plugin Debug Output
================New Request: [soap/services/WorkbenchServer.wlforward] =================
Wed Apr 19 10:28:12 2006 SSL is not being used
Wed Apr 19 10:28:12 2006 resolveRequest: wlforward: /soap/services/WorkbenchServer
Wed Apr 19 10:28:12 2006 URI is /soap/services/WorkbenchServer, len=30
Wed Apr 19 10:28:12 2006 Request URI = [soap/services/WorkbenchServer]
Wed Apr 19 10:28:12 2006 found 'Transfer-Encoding: chunked' header
Wed Apr 19 10:28:12 2006 Going to save the post data in file
Wed Apr 19 10:28:12 2006 Temp Post File name = [c:\TEMP\_wl_proxy\_post_4832_0]
Wed Apr 19 10:28:12 2006 sysMkdirs() on 'c:\TEMP\_wl_proxy':
Wed Apr 19 10:28:12 2006 sysMkdirs() on 'c:\TEMP\_wl_proxy' OK...
Wed Apr 19 10:28:12 2006 Going to readClient [0] bytes
Wed Apr 19 10:28:12 2006 ReadPostToFile(): Read the file completely 49152 bytes
Wed Apr 19 10:28:12 2006 attempt #0 out of a max of 10
Wed Apr 19 10:28:12 2006 Trying a pooled connection for '10.111.222.76/7002/0'
Wed Apr 19 10:28:12 2006 getPooledConn: No more connections in the pool for Host[10.111.222.76] Port[7002] SecurePort[0]
Wed Apr 19 10:28:12 2006 general list: trying connect to '10.111.222.76'/7002/0 at line 1265 for '/soap/services/WorkbenchServer'
Wed Apr 19 10:28:12 2006 INFO: New NON-SSL URL
Wed Apr 19 10:28:12 2006 Connect returns -1, and error no set to 10035, msg 'Unknown error'
Wed Apr 19 10:28:12 2006 EINPROGRESS in connect() - selecting
Wed Apr 19 10:28:12 2006 Local Port of the socket is 3848
Wed Apr 19 10:28:12 2006 Remote Host 10.111.222.76 Remote Port 7002
Wed Apr 19 10:28:12 2006 general list: created a new connection to '10.111.222.76'/7002 for '/soap/services/WorkbenchServer', Local port: 3848
Wed Apr 19 10:28:12 2006 WLS info in sendRequest: 10.111.222.76:7002 recycled? 0
Wed Apr 19 10:28:12 2006 URL::parseHeaders: StatusLine set to [500 Internal Server Error]
Wed Apr 19 10:28:12 2006 parsed all headers OK
Wed Apr 19 10:28:12 2006 sendResponse() : uref->getStatus() = '500'
Wed Apr 19 10:28:12 2006 Going to send headers to the client. Status :500 Internal Server Error
Wed Apr 19 10:28:12 2006 Content Length Unknown
Wed Apr 19 10:28:12 2006 canRecycle: conn=1 status=500 isKA=0 clen=-1 isCTE=1
Wed Apr 19 10:28:12 2006 closeConn: URL.canRecycle() returns false, deleting URL '10.111.222.76/7002'
Wed Apr 19 10:28:12 2006 request [soap/services/WorkbenchServer] processed successfully ..................I too am getting the same exception trying to go throuh IIS going to a Tibco CIM application hosted on WebLogic server.
Everything worked fine with my demo certs. The problem came in when I tried to use a cert generated by my customer's internal certificate authority.
The certificate works fine when going directly to the application servers through SSL. However, when going through with IIS, I get the stack thread in this thread.
Did anyone get an answer to this. I would appreciate it if they would post it.
Maybe you are looking for
-
I have two Major issues with our Infinity Project computers, We have one entire lab that is getting this error... "Unable to load block component C:\Program Files\Hyperception\VABINF\KeyRcv.dll. Please verify that the component exists and any depend
-
At the moment I know how to enter data from a text file into a flash file, for example this is my 'Monday.txt' file (a cut down version) "AK2~Hairdressing Level 2 Year 2 Of 2","HDRN2AK2-2B1FA","12:30","14:30"," 10/ 9/2007","M316" "AK2~Hairdressing NV
-
I have 2 computers with separate accounts for email (primary and sub account). Verizon FIOS made recent changes with email. Now my emails have jumped to the other computer with the sub-account. How do I get me emails back on my computer in my primar
-
My movies are not showing up in iMovie application?
Hi, I just uploaded 5 movies from my camera to my iMac using iPhoto. I can see them all in there. Here is a photo. When I drag the movies out you can see in this picture above the iPhoto app (top left). If you notice an older one has the Quicktime sy
-
Translucent 23in cinema display's power button is blinking
Anyone know why? Only thing I could find was incorrect display setting but I have been running 1680x1050 since I bought the thing 3 yrs ago and have an ATI RADEON 9600 with 256mb of memory. I should not be having this problem, correct? Ant help would