WebSphere HTTP Server - Server plugin not working

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere HTTP Server > February 2005 > Server plugin not working





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 Server plugin not working
Frank A

2004-06-04, 11:48 pm

I have Websphere 5 installed on solaris w/ 2 jvms (servers) running 2
enterprise apps. I updated the webserver plugin and made the changes to the
httpd.conf to load the websphere module. All the log files show the
websphere plugin being loaded; however when I make a request to
http://hostname/appcontext/ it seems to not route it through the transport
to websphere but rather looks for it on the HTTP server. Anyone know how I
can go about debugging this type of issue?

Thanks



Sunit Patke

2004-06-06, 10:48 am

Have you installed WAS ND? If yes then make sure that you point to the
correct plug-in
configuration file. The plug-in file generated using the admin webapp is in
the directory
tree of Deployment Manager whereas the plug-in config might be pointing to
the
actual appserver directory tree.

Sunit

"Frank A" <notme@yahoo.com> wrote in message
news:hY5wc.8809$jD6.2832057@news4.srv.hcvlny.cv.net...
> I have Websphere 5 installed on solaris w/ 2 jvms (servers) running 2
> enterprise apps. I updated the webserver plugin and made the changes to

the
> httpd.conf to load the websphere module. All the log files show the
> websphere plugin being loaded; however when I make a request to
> http://hostname/appcontext/ it seems to not route it through the transport
> to websphere but rather looks for it on the HTTP server. Anyone know how

I
> can go about debugging this type of issue?
>
> Thanks
>
>
>



Frank A

2004-06-06, 4:48 pm

I did not install the ND. This is just the base install.


"Sunit Patke" <supatke@nospam.com> wrote in message
news:c9v62k$39pe$1@news.boulder.ibm.com...
> Have you installed WAS ND? If yes then make sure that you point to the
> correct plug-in
> configuration file. The plug-in file generated using the admin webapp is

in
> the directory
> tree of Deployment Manager whereas the plug-in config might be pointing to
> the
> actual appserver directory tree.
>
> Sunit
>
> "Frank A" <notme@yahoo.com> wrote in message
> news:hY5wc.8809$jD6.2832057@news4.srv.hcvlny.cv.net...
> the
transport[vbcol=seagreen]
how[vbcol=seagreen]
> I
>
>



Sunit Patke

2004-06-07, 11:48 pm

When you generate the new plug-in config, can you see the updates in the
file? If yes then have you configured the virtual hosts correctly for the ip
address of the web server and the port you are using?

Sunit

"Frank A" <notme@yahoo.com> wrote in message
news:OzKwc.11204$c76.6964388@news4.srv.hcvlny.cv.net...
> I did not install the ND. This is just the base install.
>
>
> "Sunit Patke" <supatke@nospam.com> wrote in message
> news:c9v62k$39pe$1@news.boulder.ibm.com...
> in
to[vbcol=seagreen]
to[vbcol=seagreen]
> transport
> how
>
>



Frank

2004-06-09, 10:48 am

I recently did the network deploy install on this system to see if
that helped. No luck. Currently what I have is in my httpd.conf:

LoadModule ibm_app_server_http_module
/opt/WebSphere/AppServer/bin/mod_ibm_app_server_http.so

WebSpherePluginConfig
/opt/WebSphere/DeploymentManager/config/cells/plugin-cfg.xml

In the file plugin-cfg.xml I see both servers listed and the ports
that I connect directly to WebSphere with. In the http-plugin.log
file there are no errors.

Any ideas?


"Sunit Patke" <supatke@nospam.com> wrote in message news:<ca1ptm$l2k$1@news.boulder.ibm.com>...
> When you generate the new plug-in config, can you see the updates in the
> file? If yes then have you configured the virtual hosts correctly for the ip
> address of the web server and the port you are using?
>
> Sunit

Sunit Patke

2004-06-09, 10:48 am

Which version of HTTP Server? The plug-in you have in the posting
is for IHS 1.x If you are using IHS 2.x it will not work.

Sunit

"Frank" <gunygoogoo@yahoo.com> wrote in message
news:f05f66c.0406090446.6fd2a944@posting.google.com...
> I recently did the network deploy install on this system to see if
> that helped. No luck. Currently what I have is in my httpd.conf:
>
> LoadModule ibm_app_server_http_module
> /opt/WebSphere/AppServer/bin/mod_ibm_app_server_http.so
>
> WebSpherePluginConfig
> /opt/WebSphere/DeploymentManager/config/cells/plugin-cfg.xml
>
> In the file plugin-cfg.xml I see both servers listed and the ports
> that I connect directly to WebSphere with. In the http-plugin.log
> file there are no errors.
>
> Any ideas?
>
>
> "Sunit Patke" <supatke@nospam.com> wrote in message

news:<ca1ptm$l2k$1@news.boulder.ibm.com>...[vbcol=seagreen]
the ip[vbcol=seagreen]


Frank

2004-06-09, 4:48 pm

Yea; I'm on 1.3:

Server version: IBM_HTTP_SERVER/1.3.28 Apache/1.3.28 (Unix)

Still puzzled.

"Sunit Patke" <supatke@nospam.com> wrote in message news:<ca741m$90ka$1@news.boulder.ibm.com>...
> Which version of HTTP Server? The plug-in you have in the posting
> is for IHS 1.x If you are using IHS 2.x it will not work.

Sunit Patke

2004-06-09, 4:48 pm

Is it possible for you to post your access_log and error_log files as well
as plugin-cfg.xml?

Sunit

"Frank" <gunygoogoo@yahoo.com> wrote in message
news:f05f66c.0406091024.5f8b5ba2@posting.google.com...
> Yea; I'm on 1.3:
>
> Server version: IBM_HTTP_SERVER/1.3.28 Apache/1.3.28 (Unix)
>
> Still puzzled.
>
> "Sunit Patke" <supatke@nospam.com> wrote in message

news:<ca741m$90ka$1@news.boulder.ibm.com>...[vbcol=seagreen]


Frank

2004-06-10, 4:48 pm

"Sunit Patke" <supatke@nospam.com> wrote in message news:<ca7nde$923o$1@news.boulder.ibm.com>...
> Is it possible for you to post your access_log and error_log files as well
> as plugin-cfg.xml?
>
> Sunit


Sure here it is:

Access Log:

10.1.2.110 - - [09/Jun/2004:14:24:19 -0400] "GET /pcont1 HTTP/1.1" 404
214
10.1.2.110 - - [09/Jun/2004:14:24:25 -0400] "GET /pcont1/PServlet
HTTP/1.1" 404 224

Error Log:

[Wed Jun 9 14:24:04 2004] [notice] SIGHUP received. Attempting to
restart
[Wed Jun 9 14:24:04 2004] [notice] Initializing the WebSphere Plugin
[Wed Jun 9 14:24:06 2004] [notice] IBM_HTTP_SERVER/1.3.28
Apache/1.3.28 (Unix) configured -- resuming normal operations
[Wed Jun 9 14:24:06 2004] [notice] Accept mutex: fcntl (Default:
fcntl)
[Wed Jun 9 14:24:19 2004] [error] [client 10.1.2.110] File does not
exist: /opt/IBMHttpServer/htdocs/en_US/pcont1
[Wed Jun 9 14:24:25 2004] [error] [client 10.1.2.110] File does not
exist: /opt/IBMHttpServer/htdocs/en_US/pcont1/PServlet

Plugin (the dashes are from IE)

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <Config ASDisableNagle="false" AcceptAllContent="false"
IISDisableNagle="false" IgnoreDNSFailures="false" RefreshInterval="60"
ResponseChunkSize="64">
<Log LogLevel="Error"
Name="/opt/WebSphere/DeploymentManager/logs/http_plugin.log" />
<Property Name="ESIEnable" Value="true" />
<Property Name="ESIMaxCacheSize" Value="1024" />
<Property Name="ESIInvalidationMonitor" Value="false" />
- <VirtualHostGroup Name="default_host">
<VirtualHost Name="*:9080" />
<VirtualHost Name="*:80" />
<VirtualHost Name="*:9443" />
<VirtualHost Name="*:10081" />
</VirtualHostGroup>
- <ServerCluster CloneSeparatorChange="false" LoadBalance="Round
Robin" Name="dmgr_myboxManager_Cluster" PostSizeLimit="-1"
RemoveSpecialHeaders="true" RetryInterval="60">
<Server ConnectTimeout="0" ExtendedHandshake="false"
MaxConnections="-1" Name="myboxManager_dmgr" WaitForContinue="false"
/>
- <PrimaryServers>
<Server Name="myboxManager_dmgr" />
</PrimaryServers>
</ServerCluster>
- <ServerCluster CloneSeparatorChange="false" LoadBalance="Round
Robin" Name="server1_mybox_Cluster" PostSizeLimit="-1"
RemoveSpecialHeaders="true" RetryInterval="60">
- <Server ConnectTimeout="0" ExtendedHandshake="false"
MaxConnections="-1" Name="mybox_server1" WaitForContinue="false">
<Transport Hostname="mybox" Port="9080" Protocol="http" />
- <Transport Hostname="mybox" Port="9443" Protocol="https">
<Property Name="keyring"
Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.kdb" />
<Property Name="stashfile"
Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.sth" />
</Transport>
<Transport Hostname="mybox" Port="9092" Protocol="http" />
- <Transport Hostname="mybox" Port="9045" Protocol="https">
<Property Name="keyring"
Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.kdb" />
<Property Name="stashfile"
Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.sth" />
</Transport>
</Server>
- <PrimaryServers>
<Server Name="mybox_server1" />
</PrimaryServers>
</ServerCluster>
- <ServerCluster CloneSeparatorChange="false" LoadBalance="Round
Robin" Name="server2_mybox_Cluster" PostSizeLimit="-1"
RemoveSpecialHeaders="true" RetryInterval="60">
- <Server ConnectTimeout="0" ExtendedHandshake="false"
MaxConnections="-1" Name="mybox_server2" WaitForContinue="false">
<Transport Hostname="mybox" Port="10081" Protocol="http" />
- <Transport Hostname="mybox" Port="10444" Protocol="https">
<Property Name="keyring"
Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.kdb" />
<Property Name="stashfile"
Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.sth" />
</Transport>
- <Transport Hostname="mybox" Port="10044" Protocol="https">
<Property Name="keyring"
Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.kdb" />
<Property Name="stashfile"
Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.sth" />
</Transport>
</Server>
- <PrimaryServers>
<Server Name="mybox_server2" />
</PrimaryServers>
</ServerCluster>
- <UriGroup Name="default_host_server2_mybox_Cluster_URIs">
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid"
Name="/pcont2/*" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid"
Name="/pcont2servlet/*" />
</UriGroup>
<Route ServerCluster="server2_mybox_Cluster"
UriGroup="default_host_server2_mybox_Cluster_URIs"
VirtualHostGroup="default_host" />
- <UriGroup Name="default_host_server1_mybox_Cluster_URIs">
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid"
Name="/pcont1/*" />
<Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid"
Name="/pcont1servlet/*" />
</UriGroup>
<Route ServerCluster="server1_mybox_Cluster"
UriGroup="default_host_server1_mybox_Cluster_URIs"
VirtualHostGroup="default_host" />
- <RequestMetrics armEnabled="false" newBehavior="false"
rmEnabled="false" traceLevel="HOPS">
- <filters enable="false" type="URI">
<filterValues enable="false" value="/servlet/snoop" />
<filterValues enable="false" value="/webapp/examples/HitCount" />
</filters>
- <filters enable="false" type="SOURCE_IP">
<filterValues enable="false" value="255.255.255.255" />
<filterValues enable="false" value="254.254.254.254" />
</filters>
</RequestMetrics>
</Config>
Sunit Patke

2004-06-10, 4:48 pm

Frank,

Can you access the application on port 9080 directly (bypassing IHS)? Also
can you check the plug-in log.

Sunit

"Frank" <gunygoogoo@yahoo.com> wrote in message
news:f05f66c.0406100549.4908a5d1@posting.google.com...
> "Sunit Patke" <supatke@nospam.com> wrote in message

news:<ca7nde$923o$1@news.boulder.ibm.com>...
well[vbcol=seagreen]
>
> Sure here it is:
>
> Access Log:
>
> 10.1.2.110 - - [09/Jun/2004:14:24:19 -0400] "GET /pcont1 HTTP/1.1" 404
> 214
> 10.1.2.110 - - [09/Jun/2004:14:24:25 -0400] "GET /pcont1/PServlet
> HTTP/1.1" 404 224
>
> Error Log:
>
> [Wed Jun 9 14:24:04 2004] [notice] SIGHUP received. Attempting to
> restart
> [Wed Jun 9 14:24:04 2004] [notice] Initializing the WebSphere Plugin
> [Wed Jun 9 14:24:06 2004] [notice] IBM_HTTP_SERVER/1.3.28
> Apache/1.3.28 (Unix) configured -- resuming normal operations
> [Wed Jun 9 14:24:06 2004] [notice] Accept mutex: fcntl (Default:
> fcntl)
> [Wed Jun 9 14:24:19 2004] [error] [client 10.1.2.110] File does not
> exist: /opt/IBMHttpServer/htdocs/en_US/pcont1
> [Wed Jun 9 14:24:25 2004] [error] [client 10.1.2.110] File does not
> exist: /opt/IBMHttpServer/htdocs/en_US/pcont1/PServlet
>
> Plugin (the dashes are from IE)
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> - <Config ASDisableNagle="false" AcceptAllContent="false"
> IISDisableNagle="false" IgnoreDNSFailures="false" RefreshInterval="60"
> ResponseChunkSize="64">
> <Log LogLevel="Error"
> Name="/opt/WebSphere/DeploymentManager/logs/http_plugin.log" />
> <Property Name="ESIEnable" Value="true" />
> <Property Name="ESIMaxCacheSize" Value="1024" />
> <Property Name="ESIInvalidationMonitor" Value="false" />
> - <VirtualHostGroup Name="default_host">
> <VirtualHost Name="*:9080" />
> <VirtualHost Name="*:80" />
> <VirtualHost Name="*:9443" />
> <VirtualHost Name="*:10081" />
> </VirtualHostGroup>
> - <ServerCluster CloneSeparatorChange="false" LoadBalance="Round
> Robin" Name="dmgr_myboxManager_Cluster" PostSizeLimit="-1"
> RemoveSpecialHeaders="true" RetryInterval="60">
> <Server ConnectTimeout="0" ExtendedHandshake="false"
> MaxConnections="-1" Name="myboxManager_dmgr" WaitForContinue="false"
> />
> - <PrimaryServers>
> <Server Name="myboxManager_dmgr" />
> </PrimaryServers>
> </ServerCluster>
> - <ServerCluster CloneSeparatorChange="false" LoadBalance="Round
> Robin" Name="server1_mybox_Cluster" PostSizeLimit="-1"
> RemoveSpecialHeaders="true" RetryInterval="60">
> - <Server ConnectTimeout="0" ExtendedHandshake="false"
> MaxConnections="-1" Name="mybox_server1" WaitForContinue="false">
> <Transport Hostname="mybox" Port="9080" Protocol="http" />
> - <Transport Hostname="mybox" Port="9443" Protocol="https">
> <Property Name="keyring"
> Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.kdb" />
> <Property Name="stashfile"
> Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.sth" />
> </Transport>
> <Transport Hostname="mybox" Port="9092" Protocol="http" />
> - <Transport Hostname="mybox" Port="9045" Protocol="https">
> <Property Name="keyring"
> Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.kdb" />
> <Property Name="stashfile"
> Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.sth" />
> </Transport>
> </Server>
> - <PrimaryServers>
> <Server Name="mybox_server1" />
> </PrimaryServers>
> </ServerCluster>
> - <ServerCluster CloneSeparatorChange="false" LoadBalance="Round
> Robin" Name="server2_mybox_Cluster" PostSizeLimit="-1"
> RemoveSpecialHeaders="true" RetryInterval="60">
> - <Server ConnectTimeout="0" ExtendedHandshake="false"
> MaxConnections="-1" Name="mybox_server2" WaitForContinue="false">
> <Transport Hostname="mybox" Port="10081" Protocol="http" />
> - <Transport Hostname="mybox" Port="10444" Protocol="https">
> <Property Name="keyring"
> Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.kdb" />
> <Property Name="stashfile"
> Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.sth" />
> </Transport>
> - <Transport Hostname="mybox" Port="10044" Protocol="https">
> <Property Name="keyring"
> Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.kdb" />
> <Property Name="stashfile"
> Value="/opt/WebSphere/DeploymentManager/etc/plugin-key.sth" />
> </Transport>
> </Server>
> - <PrimaryServers>
> <Server Name="mybox_server2" />
> </PrimaryServers>
> </ServerCluster>
> - <UriGroup Name="default_host_server2_mybox_Cluster_URIs">
> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid"
> Name="/pcont2/*" />
> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid"
> Name="/pcont2servlet/*" />
> </UriGroup>
> <Route ServerCluster="server2_mybox_Cluster"
> UriGroup="default_host_server2_mybox_Cluster_URIs"
> VirtualHostGroup="default_host" />
> - <UriGroup Name="default_host_server1_mybox_Cluster_URIs">
> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid"
> Name="/pcont1/*" />
> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid"
> Name="/pcont1servlet/*" />
> </UriGroup>
> <Route ServerCluster="server1_mybox_Cluster"
> UriGroup="default_host_server1_mybox_Cluster_URIs"
> VirtualHostGroup="default_host" />
> - <RequestMetrics armEnabled="false" newBehavior="false"
> rmEnabled="false" traceLevel="HOPS">
> - <filters enable="false" type="URI">
> <filterValues enable="false" value="/servlet/snoop" />
> <filterValues enable="false" value="/webapp/examples/HitCount" />
> </filters>
> - <filters enable="false" type="SOURCE_IP">
> <filterValues enable="false" value="255.255.255.255" />
> <filterValues enable="false" value="254.254.254.254" />
> </filters>
> </RequestMetrics>
> </Config>



Frank

2004-06-10, 11:48 pm

"Sunit Patke" <supatke@nospam.com> wrote in message news:<caa2fa$44h2$1@news.boulder.ibm.com>...
> Frank,
>
> Can you access the application on port 9080 directly (bypassing IHS)? Also
> can you check the plug-in log.
>


Yes I can connect to 9080 (for server1) and 10081(for server2). Just
can't connect to 8080 with the URL /pcust1.

Below is the plugin log:

[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Plugins loaded.
[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN:
--------------------System Information-----------------------
[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Bld version:
5.1.0
[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Bld date: Nov
4 2003, 22:30:38
[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Webserver:
IBM_HTTP_SERVER/1.3.28 Apache/1.3.28 (Unix)
[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Hostname =
sv25005
[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: NOFILES = hard:
1024, soft: 1024
[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: MAX COREFILE SZ
= hard: INFINITE, soft: INFINITE
[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: DATA = hard:
INFINITE, soft: INFINITE
[Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN:
--------------------------------------------------------------
Sunit Patke

2004-06-11, 5:31 pm

Frank,

I am stumped. Can you open a PMR with IBM Support.

Sunit

"Frank" <gunygoogoo@yahoo.com> wrote in message
news:f05f66c.0406101437.cb7dae2@posting.google.com...
> "Sunit Patke" <supatke@nospam.com> wrote in message

news:<caa2fa$44h2$1@news.boulder.ibm.com>...
Also[vbcol=seagreen]
>
> Yes I can connect to 9080 (for server1) and 10081(for server2). Just
> can't connect to 8080 with the URL /pcust1.
>
> Below is the plugin log:
>
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Plugins loaded.
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN:
> --------------------System Information-----------------------
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Bld version:
> 5.1.0
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Bld date: Nov
> 4 2003, 22:30:38
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Webserver:
> IBM_HTTP_SERVER/1.3.28 Apache/1.3.28 (Unix)
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: Hostname =
> sv25005
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: NOFILES = hard:
> 1024, soft: 1024
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: MAX COREFILE SZ
> = hard: INFINITE, soft: INFINITE
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN: DATA = hard:
> INFINITE, soft: INFINITE
> [Wed Jun 9 14:24:05 2004] 00006005 00000001 - PLUGIN:
> --------------------------------------------------------------



jrchilton

2004-07-09, 11:19 am

I have the exact same issue on AIX ... WAS 5.1 and IBM HTTP Server 1.3.28 ... it was working at one time, but now the only way to get to the web apps is to add the port number to the url (9080). The plug-in log shows the plug-in being loaded, the plug-in
looks right, and the http log looks good except for the "File does not exist" errors that are being generated for the requests that should be routed to websphere. There are no visible signs of trouble with anything -- it just doesn't work!
penny weng

2005-02-18, 12:51 am

You must be setup http server's host and port into websphere's virtual host and port.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com