WebSphere HTTP Server - Strange problem with the WAS35 web server plugin. Explanation of return code needed

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere HTTP Server > March 2004 > Strange problem with the WAS35 web server plugin. Explanation of return code needed





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 Strange problem with the WAS35 web server plugin. Explanation of return code needed
MaryJane Wood

2004-03-09, 6:33 am

Hi,

I encountered a very strange problem about the web server plugin for WAS35.
I have a setup of IHS 1.3.12 and WAS35 SP7 in two different Solaris boxes.
I'd transferred the plugin file and all necessary files (3 properties files
in /temp, bootstrap.properties and mod_imb_app_server.so) from the WAS35 box
to IHS box and modified the httpd.conf to include the plugin and file path.

When I tried to connect a servlet through the web server, the 500 error came
out. I turned on the trace and the following is a snopshot
of the log file. The last line of

Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_service() Failed: return code: 7

intrigued me so much because I can't really find what's the exact meaning of failure code 7.
I know that failure code 8 means unknown host or tcp connection cannot be established.
(I changed hostname to a unknown host, or turned off WAS35, or changed the servlet engine listening port
in the query.properties and they will give me a failure code 8).

I'd tried all the combination of setting in those 4 properties file and I can't resolve this error;
and I can't reproduce the return code 7 in other IHS/WAS35 boxes! Does anyone have experience this
error code as well ?


Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.protocol: HTTP/1.1
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.req_uri: /profile/userDetails
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.content_length: 0
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.content_type: NULL
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.remote_addr: 263.23.224.32
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.remote_host: 263.23.224.32
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.remote_user: admin
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.auth_type: basic
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.query_string: NameID=2234&Language=EN
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.server_name: qaserver1
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.server_port: 80
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.is_ssl: 0
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.ssl_cert: NULL
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.ssl_cert_len: 0
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub headers: 8
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, app
lication/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - accept-language: en-us,fr-ca;q=0.5
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - accept-encoding: gzip, deflate
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - user-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - host: qaserver1
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - connection: Keep-Alive
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - cookie: PNcookieC40=yes
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - authorization: Basic b254c3RhZmY6Mm5haXZl
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.host_id: 0
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.cred_buf: NULL
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub.cred_buf_len: 0
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - find_rule_rule: index 10 ptr -1 vp profile/userDetails
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - uri_len=28 root_len=-1 mime_len=-1
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Inform - find_clone: session (null) round robin clone 0
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - do_service_time queue ibmoselink4 queue type 1
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - callback_mode client_queue ibmoselink4 data type 1
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ERROR: In do_service_time_request, enter_callback_mode failed
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Error - mediate_service_to_clone: Error 7 from clone 0, uri /profile/userDetails
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - router_service : Failed 7
Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_service() Failed: return code: 7
Wayne Beaton

2004-03-09, 10:33 am

Let me second Paul's suggestion.

The support page indicates that IBM Http Server 1.3.12.5/6/7 is required for
WebSphere Application Server 3.5.7.

Wayne
--
Wayne Beaton
http://www.rokc.ca/wayne

"I believe that the world needs more Canada" - Bono
"MaryJane Wood" <maryjanewood@hotmail.com> wrote in message
news:gu5r405lo1rugeifq70polmjd0j9j9qrq1@
4ax.com...
> Hi,
>
> I encountered a very strange problem about the web server plugin for

WAS35.
> I have a setup of IHS 1.3.12 and WAS35 SP7 in two different Solaris boxes.
> I'd transferred the plugin file and all necessary files (3 properties

files
> in /temp, bootstrap.properties and mod_imb_app_server.so) from the WAS35

box
> to IHS box and modified the httpd.conf to include the plugin and file

path.
>
> When I tried to connect a servlet through the web server, the 500 error

came
> out. I turned on the trace and the following is a snopshot
> of the log file. The last line of
>
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_service()

Failed: return code: 7
>
> intrigued me so much because I can't really find what's the exact meaning

of failure code 7.
> I know that failure code 8 means unknown host or tcp connection cannot be

established.
> (I changed hostname to a unknown host, or turned off WAS35, or changed the

servlet engine listening port
> in the query.properties and they will give me a failure code 8).
>
> I'd tried all the combination of setting in those 4 properties file and I

can't resolve this error;
> and I can't reproduce the return code 7 in other IHS/WAS35 boxes! Does

anyone have experience this
> error code as well ?
>
>
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.protocol: HTTP/1.1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.req_uri: /profile/userDetails
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.content_length: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.content_type: NULL
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.remote_addr: 263.23.224.32
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.remote_host: 263.23.224.32
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.remote_user: admin
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.auth_type: basic
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.query_string: NameID=2234&Language=EN
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.server_name: qaserver1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.server_port: 80
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.is_ssl: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.ssl_cert: NULL
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.ssl_cert_len: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub

headers: 8
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - accept: image/gif,

image/x-xbitmap, image/jpeg, image/pjpeg, app
> lication/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,

application/x-shockwave-flash, */*
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - accept-language:

en-us,fr-ca;q=0.5
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - accept-encoding:

gzip, deflate
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - user-agent:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - host: qaserver1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - connection:

Keep-Alive
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - cookie:

PNcookieC40=yes
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - authorization:

Basic b254c3RhZmY6Mm5haXZl
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.host_id: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.cred_buf: NULL
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.cred_buf_len: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - find_rule_rule:

index 10 ptr -1 vp profile/userDetails
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - uri_len=28

root_len=-1 mime_len=-1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Inform - find_clone:

session (null) round robin clone 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - do_service_time

queue ibmoselink4 queue type 1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - callback_mode

client_queue ibmoselink4 data type 1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ERROR: In

do_service_time_request, enter_callback_mode failed
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Error -

mediate_service_to_clone: Error 7 from clone 0, uri /profile/userDetails
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - router_service :

Failed 7
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_service()

Failed: return code: 7


Dexthor

2004-03-09, 6:33 pm

It looks like your Plugin ( where the webserver is running from ) is not
able to reach the WebContainer,where your App is running. What happens when
you try to do a telnet IP port#, where IP is the IP in the Vhost of the
WebContainer and port# is the OSE Transport Port# ??

Did this ever work ?? Did this combination of webserver/plugin/WAS version
ever work ?? Do you have a local IHS websever on the AppServer, and if you
configure it the same way does it work ??

Answers to above question will tell you where the problem lies. Is it in the
network or your Plugin configuration.

Remember, Plugins that are autogenerated donot have all the necessary
information that is required to reach the server. I had code my plugin files
( after checking how the port#s got assigned in the autogenerated one ) and
make sure that I defined the following:
( Queues.properties)
# Transport queue/link list to be complete.
ose..linkn...clonescount
ose..linkn...type:
ose..linkn...clone#.port=
ose.linkn..clone#.type=
ose..linkn..clone#.host= ( <-- this must be the actual IP address that is
listed in the VirtualHost of the App or the Box )

I have a very complex environment and it works well for me. I know this may
not be fully supported by IBM ;)

HTH
Dexthor.

"MaryJane Wood" <maryjanewood@hotmail.com> wrote in message
news:gu5r405lo1rugeifq70polmjd0j9j9qrq1@
4ax.com...
> Hi,
>
> I encountered a very strange problem about the web server plugin for

WAS35.
> I have a setup of IHS 1.3.12 and WAS35 SP7 in two different Solaris boxes.
> I'd transferred the plugin file and all necessary files (3 properties

files
> in /temp, bootstrap.properties and mod_imb_app_server.so) from the WAS35

box
> to IHS box and modified the httpd.conf to include the plugin and file

path.
>
> When I tried to connect a servlet through the web server, the 500 error

came
> out. I turned on the trace and the following is a snopshot
> of the log file. The last line of
>
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_service()

Failed: return code: 7
>
> intrigued me so much because I can't really find what's the exact meaning

of failure code 7.
> I know that failure code 8 means unknown host or tcp connection cannot be

established.
> (I changed hostname to a unknown host, or turned off WAS35, or changed the

servlet engine listening port
> in the query.properties and they will give me a failure code 8).
>
> I'd tried all the combination of setting in those 4 properties file and I

can't resolve this error;
> and I can't reproduce the return code 7 in other IHS/WAS35 boxes! Does

anyone have experience this
> error code as well ?
>
>
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.protocol: HTTP/1.1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.req_uri: /profile/userDetails
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.content_length: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.content_type: NULL
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.remote_addr: 263.23.224.32
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.remote_host: 263.23.224.32
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.remote_user: admin
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.auth_type: basic
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.query_string: NameID=2234&Language=EN
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.server_name: qaserver1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.server_port: 80
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.is_ssl: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.ssl_cert: NULL
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.ssl_cert_len: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_request_stub

headers: 8
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - accept: image/gif,

image/x-xbitmap, image/jpeg, image/pjpeg, app
> lication/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,

application/x-shockwave-flash, */*
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - accept-language:

en-us,fr-ca;q=0.5
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - accept-encoding:

gzip, deflate
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - user-agent:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - host: qaserver1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - connection:

Keep-Alive
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - cookie:

PNcookieC40=yes
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - authorization:

Basic b254c3RhZmY6Mm5haXZl
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.host_id: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.cred_buf: NULL
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace -

ose_request_stub.cred_buf_len: 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - find_rule_rule:

index 10 ptr -1 vp profile/userDetails
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - uri_len=28

root_len=-1 mime_len=-1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Inform - find_clone:

session (null) round robin clone 0
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - do_service_time

queue ibmoselink4 queue type 1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - callback_mode

client_queue ibmoselink4 data type 1
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ERROR: In

do_service_time_request, enter_callback_mode failed
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Error -

mediate_service_to_clone: Error 7 from clone 0, uri /profile/userDetails
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - router_service :

Failed 7
> Mon Mar 8 17:48:37 2004 - 000041f9 0000003e - Trace - ose_service()

Failed: return code: 7


MaryJane Wood

2004-03-11, 12:33 am

Thanks for all the reply. My problem finally solved.
It's due to different fixpack level of .so files
resided in /opt/WebSphere/AppServe/bin.
My IHS box contains files obtained from a WAS35 SP4 box and
the WAS35 box needed to be connected to is SP7.

What a stupid error and I spent 2 lonely nights to fix it....aaaah

On Tue, 9 Mar 2004 18:24:08 -0500, "Dexthor" <gopalaratnam_forgetit@hotemail.com> wrote:

>It looks like your Plugin ( where the webserver is running from ) is not
>able to reach the WebContainer,where your App is running. What happens when
>you try to do a telnet IP port#, where IP is the IP in the Vhost of the
>WebContainer and port# is the OSE Transport Port# ??
>
>Did this ever work ?? Did this combination of webserver/plugin/WAS version
>ever work ?? Do you have a local IHS websever on the AppServer, and if you
>configure it the same way does it work ??
>
>Answers to above question will tell you where the problem lies. Is it in the
>network or your Plugin configuration.
>
>Remember, Plugins that are autogenerated donot have all the necessary
>information that is required to reach the server. I had code my plugin files
>( after checking how the port#s got assigned in the autogenerated one ) and
>make sure that I defined the following:
>( Queues.properties)
># Transport queue/link list to be complete.
>ose..linkn...clonescount
>ose..linkn...type:
>ose..linkn...clone#.port=
>ose.linkn..clone#.type=
>ose..linkn..clone#.host= ( <-- this must be the actual IP address that is
>listed in the VirtualHost of the App or the Box )
>
>I have a very complex environment and it works well for me. I know this may
>not be fully supported by IBM ;)
>
>HTH
>Dexthor.
>
>"MaryJane Wood" <maryjanewood@hotmail.com> wrote in message
> news:gu5r405lo1rugeifq70polmjd0j9j9qrq1@
4ax.com...
>WAS35.
>files
>box
>path.
>came
>Failed: return code: 7
>of failure code 7.
>established.
>servlet engine listening port
>can't resolve this error;
>anyone have experience this
>ose_request_stub.protocol: HTTP/1.1
>ose_request_stub.req_uri: /profile/userDetails
>ose_request_stub.content_length: 0
>ose_request_stub.content_type: NULL
>ose_request_stub.remote_addr: 263.23.224.32
>ose_request_stub.remote_host: 263.23.224.32
>ose_request_stub.remote_user: admin
>ose_request_stub.auth_type: basic
>ose_request_stub.query_string: NameID=2234&Language=EN
>ose_request_stub.server_name: qaserver1
>ose_request_stub.server_port: 80
>ose_request_stub.is_ssl: 0
>ose_request_stub.ssl_cert: NULL
>ose_request_stub.ssl_cert_len: 0
>headers: 8
>image/x-xbitmap, image/jpeg, image/pjpeg, app
>application/x-shockwave-flash, */*
>en-us,fr-ca;q=0.5
>gzip, deflate
>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
>Keep-Alive
>PNcookieC40=yes
>Basic b254c3RhZmY6Mm5haXZl
>ose_request_stub.host_id: 0
>ose_request_stub.cred_buf: NULL
>ose_request_stub.cred_buf_len: 0
>index 10 ptr -1 vp profile/userDetails
>root_len=-1 mime_len=-1
>session (null) round robin clone 0
>queue ibmoselink4 queue type 1
>client_queue ibmoselink4 data type 1
>do_service_time_request, enter_callback_mode failed
>mediate_service_to_clone: Error 7 from clone 0, uri /profile/userDetails
>Failed 7
>Failed: return code: 7
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com