Java monitoring idea

Hi,
Im doing an investigation into systems monitoring and management. In case of Java I read about JMX and possible solutions with it. Im generally up to generic monitoring of SOA services ( not specifially WS standards, but also REST etc ). Is it a common technique to incorporate JMX using AoP to the app and distribute it with let's say OSGi framework into the system? What do you think, what are your experiences. Ill be very happy to hear from life experience. ( Im academic ).

On this stage Im looking into possibilities to monitor SOA services. The system is not yet designed, what means that it is not sure, whether it will use WS-* or only REST, for sure not both. What is to think about is the monitoring of execution of services, they will be also designed in a specific way to enable it. I am searching for a way to monitor/manage services with features:
- no interaction in the code of services
- multiple transports involved ( SNMP, JMX, SOAP, REST ) for monitoring interfaces exposing to NMS
- easy automatic deployment of monitoring agents ( automatic is for me - easy to make it automatic)
What I am into is the research on monitotring/management solutions, now I search for it in Java world and for Java infrastructure. Sorry for buzzword mess ;)
This is just a post aiming to hear how java people do it, common practices. Documentation and publications is not everything, people choose software to use.

Similar Messages

  • Error while installing SAP Widget Developer tool.zip on Eclipse Java EE IDE

    Hello,
              I am new to SAP widget. I hav installed "Eclipse Java EE IDE for Web Developers" from eclipse.org and now when i was trying to install SAP Widget Developer tool.zip add-on as stated in the SAP Enterprise Widget Development Guide
    --> http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c032ae0a-7d6b-2a10-14a1-cc6efb066dfc
    I get this error at the last stage of installation.
    Cannot complete the install because one or more required items could not be found.
      Software currently installed: SAP Widget Development Tools 0.13.0.1376 (corp.sap.pal.gadgets.tools.widgetTools.feature.group 0.13.0.1376)
      Missing requirement: SAP Widget UI Designer 0.13.0.1376 (corp.sap.pal.gadgets.tools.uidesigner 0.13.0.1376) requires 'bundle org.eclipse.wst.javascript.core 0.0.0' but it could not be found
      Cannot satisfy dependency:
        From: SAP Widget UI Designer 0.13.0.1376 (corp.sap.pal.gadgets.tools.uidesigner.feature.group 0.13.0.1376)
        To: corp.sap.pal.gadgets.tools.uidesigner [0.13.0.1376]
      Cannot satisfy dependency:
        From: SAP Widget Development Tools 0.13.0.1376 (corp.sap.pal.gadgets.tools.widgetTools.feature.group 0.13.0.1376)
        To: corp.sap.pal.gadgets.tools.uidesigner.feature.group [0.13.0.1376]
    Please helo me to get this error fixed.
    Thank you very much.
    Anil Raparthi.

    Hi,
    The newest and default version of Eclipse is Galileo which is version 3.5.x
    According to the Widget development guide, widget developer tool covers Eclipse 3.3.x (Europa) and 3.4.x  (Galileo).
    The problem is solved by downloading one of those versions from http://wiki.eclipse.org/Older_Versions_Of_Eclipse and installing widget development tools.
    Regards,
    Jolanta Gniadek

  • Using java monitor

    Hi. I'm trying to learn how to use and manage the java monitor, but in this case I cannot understand the behaviour. I create some threads instances of a class with this run() method:
    public synchronized void run()
       while (!free) {try {this.wait();} catch (InterruptedException e) {}}
       free = false;
       // Show some text...
       free = true;
       notify();
    ...free is a boolean, and I would like each thread to run in mutual exclusion. free is at the beginning false. The problem is that after the end of the first thread, no other thread is started by notify(). Shouldn't the notify allow some other thread to reconsider the condition (!free)?
    Thanks for any explaination.

    I do need the threads to communicate. The fact is that I simplified the thing just to understand better responses from you :). The real problem is more complicated. I have a arbitrary number of threads of two different classes. These threads have to access a shared resource (I used the boolean free). Moreover I have to give precedence to one of these two classes. So, I used to integers to represent two queues. The fact is that only the first thread to be ran reaches the end. The others, I saw, reach the wait() method, but then they stops and the program does not finish.
    I mean that I thought this: the first thread to reach the wait() passes. Then, this first thread starts to use the resource (free becomes false). Every other thread which reach the while(...) stops there (there is the wait()). Then the first process, at a particular time, release the resource (free = true) and communicate this to another thread which was stuck at the wait() instruction (through the notify()). The problem I see is that every thread reach the wait() and stops there. After the first one is finished, no more... The notify() does not give the monitor to another thread (which would find free = true). This is my problem. Do you understand?
    Many thanks for yuor answer anyway.

  • Java Monitor in NWA - Sessions chart

    I'm having trouble understanding the Sessions chart in NWA for the Java Monitor.  I would like to know what the InvalidSessionCount key figure is all about.  I can understand ActiveSessionsCount and LogoffSessionsCound, but what does InvalidSessionsCount mean.  Ours seem to grow rather quickly (much higher than our ActiveSessionsCount) and I need some help understanding what action I need to take (if any).
    thanks
    Eric

    Eric,
    Basically this monitor shows the number of sessions that have been invalidated and not yet garbage collected. Unfortunately the java applications have no control of the time when the garbage collector will be run -  this is decided by the JVM itself, but if the memory occupied by these objects is needed they will be garbage collected. When the memory utilization reaches the MaxHeapSize or MaxPermSize limit, Full GC is triggered
    by the JVM which reclaims the memory from the dead objects and the space is freed.
    So, as long as you don't experience performance issues you can relax!
    Cheers!
    Bidwan

  • Optimal configurations for webobjects using Java Monitor

    Can someone please let me know the optimal configurations for webobjects? We need details on the number of instances which can be created per cpu on the application server. Please also provide information on the thread configurations per instance in java monitor.

    I do need the threads to communicate. The fact is that I simplified the thing just to understand better responses from you :). The real problem is more complicated. I have a arbitrary number of threads of two different classes. These threads have to access a shared resource (I used the boolean free). Moreover I have to give precedence to one of these two classes. So, I used to integers to represent two queues. The fact is that only the first thread to be ran reaches the end. The others, I saw, reach the wait() method, but then they stops and the program does not finish.
    I mean that I thought this: the first thread to reach the wait() passes. Then, this first thread starts to use the resource (free becomes false). Every other thread which reach the while(...) stops there (there is the wait()). Then the first process, at a particular time, release the resource (free = true) and communicate this to another thread which was stuck at the wait() instruction (through the notify()). The problem I see is that every thread reach the wait() and stops there. After the first one is finished, no more... The notify() does not give the monitor to another thread (which would find free = true). This is my problem. Do you understand?
    Many thanks for yuor answer anyway.

  • Java monitoring

    Hi Experts,
                          Can any one tell me how to monitor java stack, pls provide any material or sugess any URL's which provide information.
    Thanks,
    PK

    Hi,
    We have several options for Java monitoring,
    http://<hostname>:<portno>/nwa
    ex: http://dev6546:50000/nwa
    Visual Administrator
    usr\sap\SID\DVEBMGS00\j2ee\admin execute go.bat
    Regards,
    Phani
    Edited by: DSPKUMAR on Oct 1, 2010 12:48 PM

  • Java Monitoring and Administration

    Hi;
    I want to know the documents\ references for Java monitoring and Administration.
    Thanks in advance.
    Regards,
    Rahul.

    Hi,
    You can check the following links :-
    1> www.service.sap.com - OSS ID and password
    2> Look for topics like ... Visual Admin, Config tool - properties sheet, JCO connections, portal template and ume configuration.
    Do let me specifically what exactly you want to configure on j2ee. Shall help you on same.
    1) Activities for Content Consumers
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/22387b0b413fe1e10000000a11466f/frameset.htm
    2) Activities for Content Producers
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/22387b0b413fe1e10000000a11466f/frameset.htm
    3) Workflow: Remote Role Assignment
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/23fd33cad10d23e10000000a1553f7/frameset.htm
    4) Configure Remote Role Assignment
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2dd5abcd-0b01-0010-2c92-81b9f8efc2e1
    Regards,
    Manomeet

  • Webservices usin java-netbeans ide

    Hi frnds
    Currently i am creating a webservice using java. I am using netbeans4.1 IDE. When i checked the example given in the quick start guide of Netbeans i am getting an error like cannnot find the Wscompil.class. Here iam pasting the build output
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    Created dir: C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\classes
    Created dir: C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\META-INF
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\META-INF
    library-inclusion-in-archive:
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\lib
    library-inclusion-in-manifest:
    Compiling 3 source files to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\classes
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web\WEB-INF\classes
    Copying 3 files to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web
    Copying 1 file to C:\Documents and Settings\sandeep.e\ws\HiWS\build\web
    wscompile-init:
    C:\Documents and Settings\sandeep.e\ws\HiWS\nbproject\build-impl.xml:226: taskdef class com.sun.xml.rpc.tools.ant.Wscompile cannot be found
    BUILD FAILED (total time: 10 seconds)
    Can anyone please telll me why this is happening? The jar files necessary is present in the library, eventhough it is showing the error.
    Thanks in anticipation

    This is a forum for matters concerning the Java programming language, not for the NetBeans IDE. Try to find a NetBeans forum for your NetBeans problems.
    I believe there's one on nabble.com and another on java-forums.org.
    db

  • Host & Java monitoring returns grey entries solman 7.1 SP10

    Hello SAP,
    We have configured system monitoring in Solution Manager 7.1 SP10 system.
    Monitoring data for database and ABAP technical instance is getting captured and available in system/database monitoring in technical monitoring work center.
    But host monitoring not working for both ABAP and Java systems and technical instance of Java data not capturing, shows grey entries.
    We have followed and implemented the SAP note:
    1853160 - Grey host metrics in Technical Monitoring
    1855064 - Error occurred when calling the DPC Push web service
    1638655 - Errors with requests coming from ICM
    But still the host monitoring and Java system details are not working in Technical Monitoring.
    We have noticed below error message on Diagnostic Agent log files:
    Jul 18, 2014 2:23:40 AM [Thread[ExRun:dpc:job_3,5,dpc:job:ExecTG]] Error      [DPCServicePushMetricJob.pushSimpleEvents] Error occurred when calling the DPC Push web service. (http://xxxxxxxx:8000/sap/bc/srt/scs/sap/e2e_dpc_push?sap-client=030).
    [EXCEPTION]
    java.rmi.RemoteException: Service call exception; nested exception is:
            com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not found. The request URL was:"http://xxxxxxxx:8000/sap/bc/srt/scs/sap/e2e_dpc_push?sap-client=xxx". Check, whether the URL is correct, and the Web Service that you are requesting is up and running.
            at com.sap.smd.agent.wsclients.dpc.BindingStub.e2eDpcPushMetrics(BindingStub.java:85)
            at com.sap.smd.agent.wsclients.dpc.BindingStub.e2eDpcPushMetrics(BindingStub.java:96)
            at sun.reflect.GeneratedMethodAccessor39576.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sap.smd.api.util.SynchronizedProxy$SyncHandler.invoke(SynchronizedProxy.java:32)
            at $Proxy37.e2eDpcPushMetrics(Unknown Source)
            at com.sap.smd.dpc.job.DPCServicePushMetricJob.pushSimpleEvents(DPCServicePushMetricJob.java:122)
            at com.sap.smd.dpc.job.DPCServicePushMetricJob.run(DPCServicePushMetricJob.java:66)
            at com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:46)
            at com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:785)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not found. The request URL was:"http://xxxxxxxx.:8000/sap/bc/srt/scs/sap/e2e_dpc_push?sap-client=xxx". Check, whether the URL is correct, and the Web Service that you are requesting is up and running.
            at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:998)
            at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1452)
            at com.sap.smd.agent.wsclients.dpc.BindingStub.e2eDpcPushMetrics(BindingStub.java:78)
            ... 11 more
    Request you to look into this and advice us to correct the issue
    Thanks,
    Vamshi

    Thank you Divyanshu,
    Please find the Host agent logs and profile details .
    1. Host Agent logs:
    trc file: "dev_saphostexec", trc level: 3, release: "720"
    SAPHOSTAGENT information
    kernel release                720
    kernel make variant           720_REL
    compiled on                   AIX 2 5 00092901D600 for rs6000_64
    compiled for                  64 BIT
    compilation mode              Non-Unicode
    compile time                  Jan 25 2014 06:32:12
    patch number                  178
    latest change number          1470842
    supported environment
    operating system
    AIX 2 5
    AIX 3 5
    AIX 1 6
    AIX 1 7
    [Thr 01] Sat May 17 08:31:13 2014
    [Thr 01] update env : PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/sap/<SID>/DVEBMGSxx/exe/sapjvm_4/bin:/etc:/usr/ucb:/usr/bin/X11:/
    usr/java14/jre/bin:/usr/java14/bin:/usr/local/bin:/etc:/usr/ucb:/home/<SID>adm/bin:/usr/bin/X11:/usr/sap/<SID>/SYS/exe/uc/rs6000_
    64:/usr/sap/<SID>/SYS/exe/run:/home/<SID>adm:.:/db2/db2<SID>/sqllib/bin:/db2/db2<SID>/sqllib/adm:/db2/db2<SID>/sqllib/misc:
    [Thr 01] update env : LIBPATH=/usr/sap/hostctrl/exe
    [Thr 01] _=/usr/sap/hostctrl/exe/hostexecstart
    [Thr 01] MANPATH=/opt/tectia/man:
    [Thr 01] LANG=en_US
    [Thr 01] WSM_WS_CMD="startsrc -s http4websm"
    [Thr 01] LOGIN=<SID>adm
    [Thr 01] PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/sap/<SID>/DVEBMGSxx/exe/sapjvm_4/bin:/etc:/usr/ucb:/usr/bin/X11:/usr/java14/jr
    e/bin:/usr/java14/bin:/usr/local/bin:/etc:/usr/ucb:/home/<SID>adm/bin:/usr/bin/X11:/usr/sap/<SID>/SYS/exe/uc/rs6000_64:/usr/sap/S
    MP/SYS/exe/run:/home/<SID>adm:.:/db2/db2<SID>/sqllib/bin:/db2/db2<SID>/sqllib/adm:/db2/db2<SID>/sqllib/misc:
    [Thr 01] RES_RETRY=2
    [Thr 01] RSEC_SSFS_KEYPATH=/usr/sap/<SID>/SYS/global/security/rsecssfs/key
    [Thr 01] LC__FASTMSG=true
    [Thr 01] CLASSPATH=:/db2/db2<SID>/sqllib/java/db2java.zip:/db2/db2<SID>/sqllib/java/runtime.zip:.
    [Thr 01] LOGNAME=<SID>adm
    [Thr 01] RES_TIMEOUT=2
    [Thr 01] dbs_db6_user=sap<SID>
    [Thr 01] MAIL=/usr/spool/mail/<SID>adm
    [Thr 01] DSMI_CONFIG=/usr/tivoli/tsm/client/api/bin64/dsm.opt
    [Thr 01] LOCPATH=/usr/lib/nls/loc
    [Thr 01] PS1=uahris12:<SID>adm> 
    [Thr 01] DIR_LIBRARY=/usr/sap/<SID>/SYS/exe/run
    [Thr 01] WSM_DOC_DIR="/usr/websm/http/com.ibm.websm.http.server_1.0.0"
    [Thr 01] USER=<SID>adm
    [Thr 01] AUTHSTATE=compat
    [Thr 01] DSM_LOG=/db2/db2<SID>/errors
    [Thr 01] IBM_JAVA_OPTIONS=-Xmx256M -Xj9
    [Thr 01] SHELL=/usr/bin/ksh
    [Thr 01] ODMDIR=/etc/objrepos
    [Thr 01] CASHCOMP=/opt/CA/SharedComponents
    [Thr 01] JAVA_HOME=/usr/sap/<SID>/DVEBMGSxx/exe/sapjvm_4
    [Thr 01] TIMEOUT=900
    [Thr 01] TMOUT=900
    [Thr 01] DSMI_LOG=/db2/db2<SID>/errors
    [Thr 01] dbs_db6_schema=sap<SID>
    [Thr 01] RSEC_SSFS_DATAPATH=/usr/sap/<SID>/SYS/global/security/rsecssfs/data
    [Thr 01] HOME=/home/<SID>adm
    [Thr 01] DB2INSTANCE=db2<SID>
    [Thr 01] TERM=vt100
    [Thr 01] MAILMSG=[YOU HAVE NEW MAIL]
    [Thr 01] DSM_DIR=/usr/tivoli/tsm/client/ba/bin
    [Thr 01] rsdb_ssfs_connect=0
    [Thr 01] DB2DBDFT=<SID>
    [Thr 01] PWD=/home/<SID>adm
    [Thr 01] TZ=EST5EDT
    [Thr 01] dbms_type=db6
    [Thr 01] AIXTHREAD_SCOPE=S
    [Thr 01] WSM_CGI_DIR=
    [Thr 01] SAPSYSTEMNAME=<SID>
    [Thr 01] DSM_CONFIG=/usr/tivoli/tsm/client/ba/bin/dsm.opt
    [Thr 01] DSMI_DIR=/usr/tivoli/tsm/client/api/bin64
    [Thr 01] INSTHOME=/db2/db2<SID>
    [Thr 01] A__z=! LOGNAME="*TMOUT
    [Thr 01] NODNSSAPTRANSHOST=1
    [Thr 01] LIBPATH=/usr/sap/hostctrl/exe
    [Thr 01] **** Create a deamon **********
    trc file: "dev_saphostexec", trc level: 3, release: "720"
    [Thr 01] Sat May 17 08:31:13 2014
    [Thr 01] ##############################################################
    [Thr 01] saphostexec restarted as daemon with tracelevel 1
    [Thr 01] ##############################################################
    [Thr 01] SigISetDefaultAction : default handling for signal SIGCHLD
    [Thr 01] Setup autoupgrade with following path:
    [Thr 01] source='/usr/sap/hostctrl/exe'
    [Thr 01] upgrade='/usr/sap/hostctrl/exe/../new'
    [Thr 01] * Environment of /usr/sap/hostctrl/exe/sapstartsrv process *
    [Thr 01] _=/usr/sap/hostctrl/exe/hostexecstart
    [Thr 01] MANPATH=/opt/tectia/man:
    [Thr 01] LANG=en_US
    [Thr 01] WSM_WS_CMD="startsrc -s http4websm"
    [Thr 01] LOGIN=<SID>adm
    [Thr 01] PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/sap/<SID>/DVEBMGSxx/exe/sapjvm_4/bin:/etc:/usr/ucb:/usr/bin/X11:/usr/java14/jr
    e/bin:/usr/java14/bin:/usr/local/bin:/etc:/usr/ucb:/home/<SID>adm/bin:/usr/bin/X11:/usr/sap/<SID>/SYS/exe/uc/rs6000_64:/usr/sap/S
    MP/SYS/exe/run:/home/<SID>adm:.:/db2/db2<SID>/sqllib/bin:/db2/db2<SID>/sqllib/adm:/db2/db2<SID>/sqllib/misc:
    [Thr 01] RES_RETRY=2
    [Thr 01] RSEC_SSFS_KEYPATH=/usr/sap/<SID>/SYS/global/security/rsecssfs/key
    [Thr 01] LC__FASTMSG=true
    [Thr 01] CLASSPATH=:/db2/db2<SID>/sqllib/java/db2java.zip:/db2/db2<SID>/sqllib/java/runtime.zip:.
    [Thr 01] LOGNAME=sapadm
    [Thr 01] RES_TIMEOUT=2
    [Thr 01] dbs_db6_user=sap<SID>
    [Thr 01] MAIL=/usr/spool/mail/<SID>adm
    [Thr 01] DSMI_CONFIG=/usr/tivoli/tsm/client/api/bin64/dsm.opt
    [Thr 01] LOCPATH=/usr/lib/nls/loc
    [Thr 01] PS1=uahris12:<SID>adm> 
    [Thr 01] DIR_LIBRARY=/usr/sap/<SID>/SYS/exe/run
    [Thr 01] WSM_DOC_DIR="/usr/websm/http/com.ibm.websm.http.server_1.0.0"
    [Thr 01] USER=sapadm
    [Thr 01] AUTHSTATE=compat
    [Thr 01] DSM_LOG=/db2/db2<SID>/errors
    [Thr 01] IBM_JAVA_OPTIONS=-Xmx256M -Xj9
    [Thr 01] SHELL=/usr/bin/ksh
    [Thr 01] ODMDIR=/etc/objrepos
    [Thr 01] CASHCOMP=/opt/CA/SharedComponents
    [Thr 01] JAVA_HOME=/usr/sap/<SID>/DVEBMGSxx/exe/sapjvm_4
    [Thr 01] TIMEOUT=900
    [Thr 01] TMOUT=900
    [Thr 01] DSMI_LOG=/db2/db2<SID>/errors
    [Thr 01] dbs_db6_schema=sap<SID>
    [Thr 01] RSEC_SSFS_DATAPATH=/usr/sap/<SID>/SYS/global/security/rsecssfs/data
    [Thr 01] HOME=/home/sapadm
    [Thr 01] DB2INSTANCE=db2<SID>
    [Thr 01] TERM=vt100
    [Thr 01] MAILMSG=[YOU HAVE NEW MAIL]
    [Thr 01] DSM_DIR=/usr/tivoli/tsm/client/ba/bin
    [Thr 01] rsdb_ssfs_connect=0
    [Thr 01] DB2DBDFT=<SID>
    [Thr 01] PWD=/home/<SID>adm
    [Thr 01] TZ=EST5EDT
    [Thr 01] dbms_type=db6
    [Thr 01] AIXTHREAD_SCOPE=S
    [Thr 01] WSM_CGI_DIR=
    [Thr 01] SAPSYSTEMNAME=<SID>
    [Thr 01] DSM_CONFIG=/usr/tivoli/tsm/client/ba/bin/dsm.opt
    [Thr 01] DSMI_DIR=/usr/tivoli/tsm/client/api/bin64
    [Thr 01] INSTHOME=/db2/db2<SID>
    [Thr 01] A__z=! LOGNAME="*TMOUT
    [Thr 01] NODNSSAPTRANSHOST=1
    [Thr 01] LIBPATH=/usr/sap/hostctrl/exe
    [Thr 01] USERNAME=sapadm
    2. Host Agent profile:
    SAPSYSTEMNAME = SAP
    SAPSYSTEM = 99
    service/porttypes = SAPHostControl NwaManagement SAPCCMS SAPOscol
    #service/porttypes = SAPHostControl SAPOscol SAPCCMS
    service/admin_users = diaadm
    DIR_LIBRARY = /usr/sap/hostctrl/exe
    DIR_EXECUTABLE = /usr/sap/hostctrl/exe
    DIR_PROFILE = /usr/sap/hostctrl/exe
    DIR_GLOBAL = /usr/sap/hostctrl/exe
    DIR_INSTANCE = /usr/sap/hostctrl/exe
    DIR_HOME = /usr/sap/hostctrl/work
    service/logfile_000 = /tmp/s
    service/logfile_001 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/dispatcher/log/applications*.log
    service/logfile_002 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/dispatcher/log/applications.*.log
    service/logfile_003 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/dispatcher/log/defaultTrace*.trc
    service/logfile_004 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/dispatcher/log/defaultTrace.*.trc
    service/logfile_005 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/server0/log/applications*.log
    service/logfile_006 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/server0/log/applications.*.log
    service/logfile_007 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/server0/log/applications/com.sap.xi/xi*.log
    service/logfile_008 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/server0/log/applications/com.sap.xi/xi.*.log
    service/logfile_009 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/server0/log/defaultTrace*.trc
    service/logfile_010 = /usr/sap/<SID>/DVEBMGSxx/j2ee/cluster/server0/log/defaultTrace.*.trc
    Thanks  Vamshi.

  • Java Project Ideas

    Hi,
    This post might be a little off topic but last week I had posted about some places where I could get some free Java packages that I can include in my project. I checked out some websites as suggested, but I could not develop upon a good idea for a project.
    Could someone throw in some ideas about a project that he or she has worked with or something that you would like to see developed. Here is what is required:
    A Java GUI program is to be created which has a both a significant, interesting interface part and a significant, interesting computational infrastructure behind the interface. It should not focus too much on either GUI or the computation part, a balance must be sought. Other packages can be used in the project (Eg: A voice recognition package can be used and the GUI can be built; although that�s not quite what I�m intending to do here). It should be workable in 4 weeks of time.
    If someone could just throw in some ideas about any project that they would like to see made, it would be just great!
    Thanks all!

    I once tried making like a database profiler, called it dProfiler. I gave up because I found something very simillar to it on the net, nevertheless it was worth doing as I learnt some new GUI things.
    Basically it's a program which when given a database URI, inspects the database and returns its results in the form of a JTree. This JTree contains database names as root nodes and table names as leaf nodes of their respective database. The leaf nodes (table name nodes) could then be expanded to include column names and types (eg primary/foreign key).
    Also when a database/database table is dragged from teh JTree onto a display area, the program generates a JTable representing the database/database table. This way tables can be visually ispected by the user who may then be allowed to modify the tables maybe???
    This has good scope for GUI development, the computational part you mention would apply here when displaying JTables of different sizes, in the most efficient way on screen - your display area might have tabs which display different sized tables automatically when they are dragged onto them.
    Anyway, that's what I did, if you can make any sense out of that.

  • Java Monitoring / Tweaking

    Has anyone ever done any monitoring with java, i need to creating a "Windows Task manager" with it. Showing the CPU usage, physical memory... and so on, where is the task manager getting that data from? it is storing it in a system variable ( I would say ya), if so would it be hard for java to implement that data??
    Anyone have any open sorce for any monitoring / tweaking programs (Window/Linux, doesn't matter), i really want to learn how others are doing this kind of stuff.

    If you want to monitor a Java program and you can use J2SE 5.0 you can try the jconsole program. (You'll need to start your Java program with the parameter -Dcom.sun.management.jmxremote )
    If you want to monitor a system that can be monitored via SNMP (hint: if the system can be monitored using IBM Tivoli or CA Unicenter, you can monitor a lot of such variables), you can try some SNMP client, like joe-snmp.

  • What kind of java monitoring tools are vailable for v1.4.2_11?

    Hi folks,
    I've spent a lot of time in the HPUX environment, but now I'm working in Solaris mostly. Unfortunately, we are having a problem with a java application that is hard to pin-point. Do you know of any Sun tools available to instrument, and or monitor a java application and tell us where it's spending most of it's CPU time? (or possibly how much of certain system calls it's running and spending time in?). We're running:
    ./java -version
    java version "1.4.2_11"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)
    In a nutshell, the problem is this....we run a java application in a VCS cluster, which just means that it has the potential to run on one of three possible systems. When the application is housed in a shared disk area that is moved to one particular server, then mounted. On one server, the java application runs 3x slower, but it pegs the cpu at 100%. On the other nodes, it runs at about 20% cpu, and it's out put is super fast. We have undergone an extremely detailed "ha" audit of the OS and cluster configurations, and we find that they are identical. (I used to design and consult with HP for their cluster implementations). I was able to gather some rudimentary OS statistics on java by running the "truss -cal -p <java pid>" command on both systems (good vs. bad). This revealed something strange: that on the bad system, nearly 90% of the system calls java made were "yield". On the good system, about .5% of the system calls were "yield".
    Other than that, I'm stumped. Now I'm looking for ways to instrument and monitor the JVM to help pinpoint what the JVM is doing..
    Any help is greatly appreciated.
    Thank you.
    Pete (PDQ)
    [email protected]

    There should be a working hprof on 1.4.
    http://java.sun.com/j2se/1.4.2/docs/guide/jvmpi/jvmpi.html#hprof

  • Java NetBeans IDE 6.1 Desing out of control, help needed!!! Please...

    Hi,
    I have a problem positionning the components in the desing view in NetBeans IDE.
    I see some tutorial, its look realy easy but still, I don't get the result I want.
    Did it exist a way to fix(lock) my component using the desing view?
    When I try to rezise or move my component, the others start moving to and rezise making a complet non-sense and it's the free-for-all help!
    Anyone know a link talking of desing in the netbeans more that the basic?(English or french or anyway any other language it's will stay more easy to understand than the move of the components in my interface)
    How to select deselect blue anchor when I rezising to select what components will affect another one?
    I know it's suppose to be more easy but maybe I do sometinhg wrong when I use the desing view I consider using another ide now ...
    Thanks for your help and comment!
    Edited by: equattro on Oct 5, 2008 10:02 AM
    Edited by: equattro on Oct 5, 2008 10:03 AM
    Edited by: equattro on Oct 5, 2008 10:28 AM

    This is a forum for matters concerning the Java programming language, not for the NetBeans IDE. Try to find a NetBeans forum for your NetBeans problems.
    I believe there's one on nabble.com and another on java-forums.org.
    db

  • Java monitor bytecode

    I'm trying to find out if monitorenter/monitorexit bytecodes can work across methods using any standard type of JVM. I'm not sure but it looks like java compiler automatically puts in the code to catch/rethrow exceptions & exit the monitor if one happens to occur in a synchronized block. Does anyone know if this is true? Has anyone tried doing this before?
    Thanks in advance.

    The VM spec says:
    Normally, a compiler for the Java programming language ensures that the lock operation implemented by a monitorenter instruction executed prior to the execution of the body of the synchronized statement is matched by an unlock operation implemented by a monitorexit instruction whenever the synchronized statement completes, whether completion is normal or abrupt.
    So it seems that you should be able to get away with whatever evil trickery you plan. Good luck, and please don't use it in production code.

  • Develop application for java  Monitoring and Management

    hi
    i would like to develop an application that enables me to monitor and manage Java applications and instead of using jconsole ormc4j
    please can you tell mz how to start

    The various general JMX clients such JConsole, [MC4J|http://mc4j.org/confluence/display/mc4j/Home] (the tool referenced with "or mc4j" above), VisualVM, and jManage all use the same approach for remote JMX management that you can use ([JSR 160|http://jcp.org/en/jsr/detail?id=160]).
    Some useful resources include the [Java Tutorial on JMX Remote Management|http://java.sun.com/docs/books/tutorial/jmx/remote/index.html], [Remote JMX: Connectors and Adapters|http://marxsoftware.blogspot.com/2008/08/remote-jmx-connectors-and-adapters.html], and [Remote JMX: With and Without Spring and Proxies|http://marxsoftware.blogspot.com/2008/06/remote-jmx-with-and-without-spring-and.html] (focus on non-Spring clients with and without proxies).

Maybe you are looking for

  • Mouse scroll no longer working

    Since the update to V.21 my mouse wheel no longer scrolls pages within the BBC website. www.bbc.co.uk It was working fine, Firefox updated then it stopped scrolling. *Unrelated* request username and password reminder fails to send email. Had to creat

  • Acrobat Standard X and Printing Issues

    I recently installed X on my system.  I was super excited until I hit the print button.  I made absolutely no changes to the print settings, yet my pdf has been shrunk to fit on half a page as well as rotated.  In addition, one pdf page now prints tw

  • I resently uninstalled and reinstalled firefox due other issues. I can't get the icon on my desktop. Any suggestions?

    I can open firefox by right clicking a icon that was installed above above the all programs button in the start window, the clicking browse the internet. When I try to add a shortcut on the desktop window, it says it can't add the shortcut. Is there

  • How to burn valid video DVDs from VIDEO_TS folder

    Hello, Sorry if this topic is not in the proper location, but as the question is broad, I thought this was the best place to ask. I just want to burn files located in a VIDEO_TS folder, properly ripped on the hard drive, so as to make a valide Video

  • Configure Price Change in Previous Period/Previous

    In costomization, Configure Price Change in Previous Period/Previous Year if we tick on price carried over to next year, then what will be the consequences?