WAS Monitoring DB and App server failures

Hi! I am using Websphere Application Server. I have deployed an application as a ear file (it does not have EJB.. just web components)
1) . I have my database server in another machine. I get database errors in between. How can I track network connections/DB connections from Websphere using logs/traces..
2) Also, is it possible to know from traces/logs that Websphere did not respond for a period of time.
Like I post a URL to Websphere and read from the URL to update a database in another machine. The class file which does that is in the WEB-INF/lib as a jar file . I saw from the Websphere stdout.log files that I get
java.io.FileNotFound Exception. "http://servername:9080/.....filename is not found.
Obviously, the file is always present as a jar file. So, it could be a Server:port error. But, how is that possible when it is the server:port of the app server. This did not occur all the time.
Soem days and like within minute many items failed. Later on during the same day, many other items weer processed. I am not able to fugure out what the problem is.. If WAS failed to respond can we get this kind of an error ? Does the machine need to be more powerful inroder to prevent this problem ?

So why posted in a JVM forum?
Still FileNotFound is not a server:port error. That is a Java error. If you give a wrong server:port you would be getting a 'Page Not Found' and this is a HTTP error message.
Cheers
-P

Similar Messages

  • Cannot start Infra and App Server after reboot

    I have installed iAS 10.1.2.0.2. on Solaris 2.9 -infra and appserver on same box. After installation I was able to configure Discoverer etc. The machine was rebooted recently and I cannot get the infrastructure and app server to start. opmnctl startall just hangs.

    I think borkur is probably right.
    We have our midtiers on different machines from the infra, but nonetheless, you could use the same sort of startup script.
    What I do is go into a wget wait loop on the mid-tiers before trying to opmnctl start them:
    #! /bin/bash
    # script waitfordas
    DAS_RESPONDING=`wget -q -O - http://infra.mycompany.com:7777/oiddas > /dev/null; echo $?`
    echo Waiting for DAS to be up on infra.mycompany.com...
    while [ "$DAS_RESPONDING" -eq 1 ]
    do
    sleep 10
    echo Waiting for DAS to be up on infra.mycompany.com...
    DAS_RESPONDING=`wget -q -O - http://infra.mycompany.com:7777/oiddas > /dev/null; echo $?`
    done
    echo DAS responded.
    Then I call this in my startup script:
    #! /bin/bash
    # oracleas Start/Stop the Oracle Application Server
    # chkconfig: 2345 99 10
    # description: Starts and stops the Oracle Application Server
    exec 2>/tmp/oracleas.err 1>/tmp/oracleas.log
    # Source function library.
    # . /etc/init.d/functions
    RETVAL=0
    ORA_OWNER="oracle"
    ORA_HOME="/opt/oracle/product/as904mid"
    EM_HOME="/opt/oracle/product/agent"
    # See how we were called.
    prog="oracleas"
    start() {
    echo -n $"Starting $prog: "
    su - $ORA_OWNER -c "/home/$ORA_OWNER/bin/waitfordas"
    su - $ORA_OWNER -c "$ORA_HOME/opmn/bin/opmnctl startall"
    RETVAL=$?
    su - $ORA_OWNER -c "$ORA_HOME/bin/emctl start iasconsole"
    su - $ORA_OWNER -c "$ORA_HOME/dcm/bin/dcmctl start"
    su - $ORA_OWNER -c "$EM_HOME/bin/emctl start agent"
    return $RETVAL
    stop() {
    echo -n $"Stopping $prog: "
    su - $ORA_OWNER -c "$ORA_HOME/opmn/bin/opmnctl stopall"
    RETVAL=$?
    su - $ORA_OWNER -c "$ORA_HOME/bin/emctl stop iasconsole"
    su - $ORA_OWNER -c "$EM_HOME/bin/emctl stop agent"
    return $RETVAL
    restart() {
    stop
    start &
    case "$1" in
    start)
    start &
    stop)
    stop
    restart)
    restart
    echo $"Usage: $0 {start|stop|restart}"
    exit 1
    esac
    exit $?

  • P13N Server and App Server on separate systems - strange ports opened

    Hi -
              We have a configuration using WebLogic Personalization Server 3.1.1 on one
              server and WebLogic Application Server 5.1 w/Service Pack 6 on another
              server. What we've seen with our firewall configuration is that it appears
              there are high-number random ports opened occasionally from the App Server
              to the P13N Server, which d not appear to be related to connection attempts
              (ex: port 42100). The only communication that we know should be happening
              between the two systems are T3-based JNDI lookups, LDAP lookup/update
              requests, and SQL queries. My questions, then, are as follows:
              1) In handling JNDI requests, are there any callbacks that can occur between
              the two servers in this configuration on a different port?
              2) When separating the P13N Server and App Server, are there any "private"
              ports opened between the two systems for management? As far as I know, the
              App Server should simply view the P13N Server as another client, but the
              firewall log would indicate that something is going on related to this.
              If anyone has a similar config and can provide some info related to
              potentially unseen port connections, please let me know. Thanks in advance!
              Andy
              [email protected]
              

    Haakon,
    I think the BPEL forum is the better source to ask
    BPEL
    Frank

  • How to set ORACLE_HOME for database and apps server in same server

    Hi, I have problem here to set ORACLE_HOME in .bash_profile for database and apps server. please help me to set this Oracle Home.
    Thanks
    -jebatco

    If you mean to have both simultaneosly set on the same OS session, of course that's not possible. But you can configure them on your profile, and choose them when needed. The following is an excerpt from my .bash_profile
    export EDITOR=vi
    umask 022
    alias O='cd ${ORACLE_HOME}'
    o10()
    {       export ORACLE_SID=db102
            export ORACLE_BASE=/home/oracle/base
            export ORACLE_HOME=$ORACLE_BASE/OraHome10
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export TNS_ADMIN=$ORACLE_BASE/OraHome11/network/admin
            export PS1='[\u@\h_10 \W]\$ '
    o11()
    {       export ORACLE_SID=db11
            export ORACLE_BASE=/home/oracle/base
            export ORACLE_HOME=$ORACLE_BASE/OraHome11
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export PS1='[\u@\h_11 \W]\$ '
    xe()
    {       export ORACLE_SID=XE
            export ORACLE_BASE=/usr/lib/oracle/xe/app/oracle
            export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/server
            export LD_LIBRARY_PATH=$ORACLE_HOME/lib
            export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
            export TNS_ADMIN=/home/oracle/base/OraHome11/network/admin
            export PS1='[\u@\h_XE \W]\$ '
    }If I want to set Oracle 10g environment I type "o10" at OS prompt, "o11" for 11g, and so on.

  • **Diiferences web and app server**

    hi techs
    i am a newbie to application server concept.
    first i want to know why we need application server.
    and what is the difference between web server and application server.

    You need to install "Webconnector" plugin to connect to Sun One webserver and App server..
    The webconnector pluging comes with Appserver binary.
    Dakshin.

  • Replace FE and APP server in SharePoint 2013 farm

    Hello,
    We have to replace the front-end web and app server from a SharePoint 2013 farm.  The farm only has 1 FE, 1 APP and 1 SQL server.  As the FE and APP were wrongly patched and have unsupported software installed there's no way of getting all servers
    at same version level and to succesfully run the Product Configuration Wizard.  The database server is ok but we have to replace the 2 other servers.
    Is there any documented procedure to perform this migration/reinstall?
    Thanks!
    Martin

    for first approach.
    1- go to central admin and add all roles you need for the server that will stay
    2- log into the server you will remove then run configuration wizard and choose disconnect from farm
    you will have now one server, you can clean it up and keep it or later remove it when u have the new one
    3- to add new server
    https://technet.microsoft.com/en-us/library/cc261752.aspx
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • Comparison b/w itable and app server file

    Hi All,
    I have Postal code data (KNA1-PSTLZ) in internal table. And I have input file in the app server, in that I have a data of Postal code in range like
    Postal code FROM     Postal code TO
      (KNA1-PSTLZ)        (KNA1-PSTLZ)
      20001                           22999
      35001                           38599
    And so on……..so my requirement is I have to compare with internal table postal code to that file postal code, if it matches I have to do something, other wise I have to ignore, pls give me brief logic hw to compare.
    Akshitha.

    " to get the data from app server to internal table.
    OPEN DATASET p_ufile FOR INPUT IN TEXT MODE.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    DO.
    READ DATASET p_ufile INTO in_file.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    APPEND in_file.
    CLEAR in_file.
    ENDDO.
    CLOSE DATASET p_ufile.
    LOOP AT in_file.
    SPLIT in_file AT c_tab INTO
    wa_citm_b-type
    wa_citm_b-vbeln
    wa_citm_b-posnr
    wa_citm_b-uepos.
    APPEND wa_citm_b TO lt_citm_b.
    ENDLOOP.
    loop at table_appsrv.
    if KNA1-PSTLZ eq table_appsrv-postal code..
    "do our something here.
    else.
    skip.
    endif.
    endloop.
    Award points if helpful

  • Deployment of Flex app to web and app server

    Hi
    I'm working on putting a Flex front-end on an existing J2EE
    app which gets deployed as an ear file. The architecture consists
    of web server, app server and database server. Is the following
    approach to deployment possible / recommended?
    My Flex app will be deployed to the web server. The J2EE ear
    file will be deployed to the app server (Weblogic). BlazeDS will be
    bundled within the ear file as a war file. Remote Objects will be
    configured in my BlazeDS configuration files to enable me to access
    the code in my J2EE app. In the compiler options of my Flex app,
    I'll be setting the server root folder and server root URL to point
    to the BlazeDS war file on my app server.
    At present I'm at the stage where I can run my Flex app
    directly from Flex builder on my development PC and it's able to
    connect tto the J2EE app, which is running on the app server
    (Weblogic) also on my development PC. I can't find documentation
    explaining how to extend this to work on a multi-tier architecture.
    Thanks
    David

    Hi,
    I replied to your post in FDS forum. Please visit the URL
    below for the response.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583&threadid=1373523
    Hope this helps.

  • Xaresource and app. server

    Hi everyone,
    i am trying to write a xa-resource. i went through JTA spec. at section
    [3.3.1 Resource Enlistment], spec says
    'for each resource in use by the application, the application server
    invokes the -enlistResource- method and specifies the XAResource object
    that identifies the resource in use. the enlistResource request result
    in TM informing the resource manager to start associating the txn with
    the work performed through the corresponding resource'.
    Q1. how do i 'register' or let the app.server know about my XA Resource?
    Q2. how does app. server knows which xa resources are involved in the
    application?
    thanks,
    -talip

    Hi,
    Application servers and JTA implementations that don't do restart or crash recovery (like virtually all open-source products I know of) don't need you to do anything special for your XAResource.
    It's a bit like driving a car without brakes: it works as long as there are no obstacles on the road.
    On the other hand, a JTA implementation that works the way it should (and therefore does recovery) will typically have a custom mechanism to find out about your resource when it restarts or does recovery.
    For more information, you can download our free developer release, or just download the JtaGuide from the same page:
    http://www.atomikos.com/download.html
    Best,
    Guy
    http://www.atomikos.com - Insure your data

  • Webserver and app server

    I am working with Websphere 5.0. Can the app server handle http requests without web server/ is it mandatory to have web server.
    Usha

    It is mandatory with WAS, WAS comes with HTTP Server.

  • Oem and app server

    Is OEM internally built as an Oracle App server. If yes, then does the performance of the oem depend on the app server's performance and tuning the app server performance will help to improve the performance of OEM ?

    Have you identified a performance problem?
    The main docu library contains a Performance Guide
    http://www.oracle.com/technology/documentation/appserver10g.html

  • Other SDK and App-Server

    Hello,
    I'm currently tryig SJSC and I would like to use another instance f the App-Server and another version of the SDK (1.5_03). Is it possible to configure SJSC to do so or better just say while installation that SJSC should use the already installed versions? The OS is WinXP Prof.
    regards,
    Thomas

    Hi Thomas,
    Yes it is possible. you can have an other instance of appserver and in SJSC you can add that server instance as a remote server and deploy your applications to that server.
    regards
    MJ

  • Logging in App Server 7 and App Server 8

    Hi,
    We have an application (servlets/MDBs/EJBs) running in the Sun Application Server 7 that we want to run on the Sun Application Server 8 (J2EE 1.4.2).
    The application has logging facilities with various objects having their own java.util.logging.Logger...
    java.util.logging.Logger m_logger = java.util.logging.Logger.getLogger( "ServletLogger" ) ;
    m_logger.fine( "How do I get this in the App Server log file?" );
    To enable the above logging in App Server 7, I would simply set the global App Server logging level to "FINE" using the admin console. How can I do the same with the App Server 8?
    I've tried using the admin console to set the App Server logging levels to "FINE", but they seem to only effect the App Server itself and not the code it is running. I've also tried adding the following properties in the "Logging Levels" page of the admin console...
    ServletLogger FINE
    ServletLogger.level FINE
    .level FINE
    but they don't seem to make any difference? Any help will be most appreciated!
    Cheers,
    Paul

    Goto the admin console (port 4848 for default domain).
    Click on Topmost Leftmost link -- "Application Server."
    choose the "Logging" Tab.
    Choose the "Log Levels" tab.
    add a new property
             com.company.app.applogger        FINER and in your code, :-
            Logger applogger = Logger.getLogger("com.company.app.applogger "); Now if only I knew how to keep a separate log file for this.

  • Report display is different in report builder, local oc4j and app server

    Hi guys,
    we upgrade reports from sql report writer into report 10g. In the report 10g builder,
    the report format looks fine. but if i use the url as below
    http://applicationserver/reports/rwservlet?report=test.rdf&userid=username/password@service&desformat=pdf&destype=cache
    so the format will be mess up whatever i use this url in my local oc4j or i deployed it into 10g application server. and the format is different in oc4j and application server. Why this issue happend?
    Thanks in advance,
    Appcat

    Hello,
    They are a Fix Pack higher than you which may explain why it's broken on their server.
    Download the Fix Pack for R2 and see if you can duplicate the issue.
    Thank you
    Don

  • Why is printing report different from report builder and app server

    I created a report and when ran from report builder it looks fine.
    And when i moved the report to server and ran the report in the browser using this url
    http://192.1.1.8:7778/reports/rwservlet?userid=esp/esp_dev1@wdev&report=FMMA_VOUCHER.rdf&destype=cache&desformat=pdf
    and print it the report shrinks, the fonts become small and the margins change. I am having hard time how to figure out a way to correlate the formatting in the report builder and when i run on the server using pdf format.
    Is there any way to set the server so that the pdf output matches with the report builder.
    Thanks.
    Sree

    I assume you are doing a cross platform deployment
    Pls read section 6.2
    Resolving PDF Font Issues During Cross-Platform Deployment
    in
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

Maybe you are looking for