WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  WAS 6 App Server Problem in Windows 2003

    Posted Wed August 11, 2010 10:38 AM
    WAS 6 App Server Problem in Windows 2003

    --------------------------------

    Hello all.
    First of all i'm a newbie in Websphere and I am facing a problem.

    My configuration is a stand-alone Windows 2003 Server SP2, with IIS 6. In this machine I have installed Websphere ND 6.0.2.33

    Inside WAS I have one node with two App Servers (server1 and server2) that are serving a couple of Enterprise Applications.

    My problem is the following:
    - When both server1 and server2 are started I can reach it by url windowsinternal.pt/AppDoc and windowsinternal.pt:9080/AppDoc and windowsinternal.pt:9081/AppDoc
    - BUT when server1 is stoped and server2 is started I am NOT being able to reache the url windowsinternal.pt/AppDoc but only by windowsinternal.pt:9081/AppDoc

    I've checked the logs and found:

    [Mon Aug 10 11:52:36 2009] 00001dec 00001da0 - PLUGIN: Plugins loaded.
    [Mon Aug 10 11:52:36 2009] 00001dec 00001da0 - PLUGIN: --------------------System Information-----------------------
    [Mon Aug 10 11:52:36 2009] 00001dec 00001da0 - PLUGIN: Bld version: 6.0.0
    [Mon Aug 10 11:52:36 2009] 00001dec 00001da0 - PLUGIN: Bld date: Oct 31 2004, 11:15:26
    [Mon Aug 10 11:52:36 2009] 00001dec 00001da0 - PLUGIN: Webserver: IIS
    [Mon Aug 10 11:52:36 2009] 00001dec 00001da0 - PLUGIN: Hostname = WindowsInternal
    [Mon Aug 10 11:52:36 2009] 00001dec 00001da0 - PLUGIN: OS version 5.2, build 3790, 'Service Pack 2'
    [Mon Aug 10 11:52:36 2009] 00001dec 00001da0 - PLUGIN: --------------------------------------------------------------
    [Mon Aug 10 11:53:50 2009] 00001dec 00001e04 - ERROR: ws_common: websphereGetStream: Failed to connect to app server on host 'windowsinternal.pt', OS err=10061
    [Mon Aug 10 11:53:51 2009] 00001dec 00001e04 - ERROR: ws_common: websphereGetStream: Failed to connect to app server on host 'windowsinternal.pt', OS err=10061
    [Mon Aug 10 11:53:51 2009] 00001dec 00001e04 - ERROR: ws_common: websphereExecute: Failed to create the stream
    [Mon Aug 10 11:53:51 2009] 00001dec 00001e04 - ERROR: ws_common: websphereHandleRequest: Failed to execute the transaction to 'windowsinternalNode01_server1'on host 'windowsinternal.pt'; will try another one
    [Mon Aug 10 11:53:51 2009] 00001dec 00001e04 - ERROR: ws_common: websphereWriteRequestReadResponse: Failed to find an app server to handle this request
    [Mon Aug 10 11:53:51 2009] 00001dec 00001e04 - ERROR: ESI: getResponse: failed to get response: rc = 2
    [Mon Aug 10 11:53:51 2009] 00001dec 00001e04 - ERROR: ws_common: websphereHandleRequest: Failed to handle request
    [Mon Aug 10 11:53:52 2009] 00001dec 000015b4 - ERROR: ws_common: websphereGetStream: Failed to connect to app server on host 'windowsinternal.pt', OS err=10061
    [Mon Aug 10 11:53:52 2009] 00001dec 00001e04 - ERROR: ws_common: websphereGetStream: Failed to connect to app server on host 'windowsinternal.pt', OS err=10061
    [Mon Aug 10 11:53:53 2009] 00001dec 000015b4 - ERROR: ws_common: websphereGetStream: Failed to connect to app server on host 'windowsinternal.pt', OS err=10061
    [Mon Aug 10 11:53:53 2009] 00001dec 000015b4 - ERROR: ws_common: websphereExecute: Failed to create the stream
    [Mon Aug 10 11:53:53 2009] 00001dec 000015b4 - ERROR: ws_common: web


  • 2.  WAS 6 App Server Problem in Windows 2003

    Posted Wed August 11, 2010 10:45 AM
    check

    --------------------------------

    please check 1)whether the app. server is on the specified host.
    2)Also look at whether the hostname is correct or not
    3)And try to ping using hostname


    feel free to revert.

    --------------------------------

    Posted By: chandoo.ws at Aug 10 2009 12:00PM


  • 3.  WAS 6 App Server Problem in Windows 2003

    Posted Wed August 11, 2010 10:56 AM
    Did you deploy the same application on both servers using the same virtual host ?
    If yes, then it wont work. Plug-in always routes the request to the first instance of the context root (/"AppDoc/") in plugin-cfg.xml file. When server1 is stopped, its throwing err=10061, which means connection refused. When both servers are up and running, check which server is serving the request when app is accessed through /"http://windowsinternal.pt/AppDoc/". I would bet its always server1, you can check the SystemOut.log.

    Either create a new virtual host and deploy the app on server2 using this new virtual host or create a cluser and make both these servers as cluster members.

    Anant

    --------------------------------

    Posted By: infyniti at Aug 11 2009 2:18PM


  • 4.  WAS 6 App Server Problem in Windows 2003

    Posted Wed August 11, 2010 10:56 AM
    hello chandoo.ws
    thanks for your reply :)

    According to your questions:
    - 1)whether the app. server is on the specified host. - Yes
    - 2)Also look at whether the hostname is correct or not - Yes
    - 3)And try to ping using hostname - Yes

    --------------------------------

    Posted By: coelhoapm at Aug 11 2009 8:16AM


  • 5.  WAS 6 App Server Problem in Windows 2003

    Posted Wed August 11, 2010 11:02 AM
    Hello Anant,

    In virtual hosts I have 'default host' and inside it in Host Aliases I have added the server2 ports (9081 and 9444).

    Can't it be like that?

    How can I create a cluster then?

    Thanks,
    Antonio

    --------------------------------

    Posted By: coelhoapm at Aug 11 2009 2:39PM


  • 6.  WAS 6 App Server Problem in Windows 2003

    Posted Fri June 17, 2011 06:57 AM

    Hi All,


    i'm seeing this below error in my http_plugin.log. can you please advice me on this one


    [Fri Jun 17 05:01:53 2011] 0000112f 58a23bb0 - ERROR: ws_common: websphereGetStream: Failed to connect to app server on host 'localhost', OS err=111
    [Fri Jun 17 05:01:53 2011] 0000112f 58a23bb0 - ERROR: ws_common: websphereExecute: Failed to create the stream
    [Fri Jun 17 05:01:53 2011] 0000112f 58a23bb0 - ERROR: ws_server: serverSetFailoverStatus: Marking localhost_LASOSR05UK down
    [Fri Jun 17 05:01:53 2011] 0000112f 58a23bb0 - ERROR: ws_common: websphereHandleRequest: Failed to execute the transaction to 'localhost_LASOSR05UK'on host '
    localhost'; will try another one


     



  • 7.  WAS 6 App Server Problem in Windows 2003

    Posted Mon June 20, 2011 06:21 PM

    1. The above messages means, plug-in marked that particulat instance as down. So check the status of that app server instance.


    2. The message includes the error that is returned by the operating system [111]. check your operating system documentation