Things to be monitored in a J2EE Environment

Dear gurus,
I would like to know what all things can be monitored in a J2EE environment. I dont want any specific like websphere or weblogic or tomcat but in general what components/things can be monitored. If anybody can provide me a list I would be greatful.
Also, if possible how do I implement the things.
Your help is greatly appreciated
Thanks and Regards
SL

I would like to know what all things can be monitored
in a J2EE environment. I dont want any specificWithout being particularly specific, I can tell you that pretty much any J2EE component (and its interactions with other components) can be monitored.
What are your requirements?
Also, if possible how do I implement the things.Depends. Which things you need to monitor?
Again, without dwelling into specifics, a general technology for management & monitoring is JMX.

Similar Messages

  • Question on clustering and J2EE Environment Entries

    Does anyone know if changes made through the admin server console to J2EE
              environment entries are propagated to the managed servers without
              redeploying the entire app. I can find a reference similar to this for
              things in the config.xml which states they are propagated in memory (in most
              cases) and can optionally be written permanently to the confg.xml file. I
              can't find a reference that tells me how/what is done for J2EE environment
              values.
              If this is not possible, how does one do dynamic configuration setting for a
              J2EE application in a clustered environment?
              Kent
              

    What I'm talking about is the environment entries that are set in the web
              application deployment descriptor (web.xml) from the admin server console.
              You go to a specific web-app in the console and then click on "edit web
              application deployment descriptor". From there (towards the bottom of the
              tree on the left) is Env Entry. You can change Environment Entries in the
              DD. What is unclear is if the values are propagated to the running app
              (in memory). For example, if I have a servlet that reads this environment
              entry and I change it in the admin console is the new value reflected
              (relatively) immediately? It's not entirely clear.
              Since there is an option to "persist" these changes (in the top of the tree)
              that would seem to imply that the changes are propagated to the running
              instances in memory otherwise why would I not want to persist the change?
              On the other hand, I would have also expected a button to let me decide when
              to push the changes so I could control when the managed server know about
              the change (for example, if I had to set more than one property to configure
              something).
              So ... does this make my question clearer? And if so is there any
              documentation the describes this? If not how do people handle configuration
              of a running application in a cluster if it not through DD environment
              entries?
              Kent
              "Cameron Purdy" <[email protected]> wrote in message
              news:[email protected]...
              > > Actually I'm talking about what I would call "environment variables" if
              > this
              > > was unix. I am not talking about files (gifs, html, etc) but rather
              > porpety
              > > settings. It is my understanding that these are call "environment
              > entries"
              > > (but I may remembered the name wrong) and are typed values that can be
              > > looked up vi JNDI.
              >
              > You can programmatically set JNDI entries, and they will usually be
              > propagated (although they are not designed to be reliably replicated).
              > Furthermore, the death of the registering server will cause the death of
              the
              > JNDI entries.
              >
              > I don't know how to set them from the console.
              >
              > Peace,
              >
              > --
              > Cameron Purdy
              > Tangosol, Inc.
              > Clustering Weblogic? You're either using Coherence, or you should be!
              > Download a Tangosol Coherence eval today at http://www.tangosol.com/
              >
              >
              >
              > "Kent Mitchell" <[email protected]> wrote in message
              > news:[email protected]...
              > >
              >
              >
              >
              

  • How to use JMS in a J2EE environment

    Hello all,
    I would like to find out how to use JMS in a J2EE environment. I use Borland Enterprise Server. Do I need to buy a message software to use JMS? How to use JMS with Message Driven bean?
    Thanks a lot.
    Best regards
    Susan

    If you don't want to buy you could try OpenJMS, a free JMS product (http://openjms.sourceforge.net/)
    As for learning how to use JMS w/ MDBs, I would suggest grabbing a book on JMS. I found the OReilly book on JMS to be pretty helpful for me.

  • Hotfix Management | Best Practices | WCS | J2EE environment

    Hi All,
    Trying to exploit some best practices around hotfix management in a J2EE environment. After some struggle, we managed to handle the tracking of individual hotfixes using one of our home-grown tools. However, the issue remains on how to manage the 'automated' build of these hotfixes, rather than doing the same manually, as we are currently doing.
    Suppose we need to hotfix a particular jar file on a production environment, I would need to understand how to build 'just' that particular jar. I understand we can label the related code (which in this case could be just a few java files). Suppose this jar contains 10 files out of which 2 files need to be hotfixed. The challenge is to come up with a build script which builds -
    - ONLY this jar
    - the jar with 8 old files and 2 new files.
    - the jar using whatever dependent jars are required.
    - the hotfix build script needs to be generic enough to handle the hotfix build of any jar in the system.
    Pointers, more in line with a WCS environment would be very much appreciated!
    Regards,
    Mrinal Mukherjee

    Moderator Action:
    This post has been moved from the SysAdmin Build & Release Engineering forum
    To the Java EE SDK forum, hopefully for closer topic alignment.
    @)O.P.
    I don't think device driver build/release engineering is what you were intending.
    Additionally, your partial post that was accidentally created as a duplicate to this one
    has been removed before it confuses anyone.

  • MS SQL Server in Java/J2EE Environment

    Dear all,
    I wanted to understand pros and cons of choosing MS SQL Server in Java/J2EE environment.
    Could anybody share some thoughts or web resources?
    Personally I hate using MS SQL Server for Java/J2EE based applications. But one of my clients wanted to have following environment for his production environment and he insist on using this environment for application development. So I just wanted to understand pros and cons of J2EE (Application) + MS SQL Server ( rdbms )
    MS SQL Server
    J2EE/Flex
    Windows OS
    Thanks
    Sudhakar
    Edited by: Sudhakar.Chavali on Mar 20, 2008 10:27 AM

    Sudhakar.Chavali wrote:
    Dear all,
    I wanted to understand pros and cons of choosing MS SQL Server in Java/J2EE environment.
    Could anybody share some thoughts or web resources?
    Personally I hate using MS SQL Server for Java/J2EE based applications. why hate? it's a perfectly good db
    But one of my clients wanted to have following environment for his production environment and he insist on using this environment for application development. so don't take the job
    So I just wanted to understand pros and cons of J2EE (Application) + MS SQL Server ( rdbms )there's no con. java ee works fine w/ sql server
    >
    MS SQL Server
    J2EE/Flex
    Windows OS
    Thanks
    Sudhakar
    Edited by: Sudhakar.Chavali on Mar 20, 2008 10:27 AMdon't take the work if you can't do it.
    %

  • Unit testing in J2EE environment

    Hi All:
    We have been trying to use Junit for creating unit test scripts, and have been bit successful in unit testing DAOs and Value objects - but problem is testing of components like EJBs and Servlets or even classes like Actions or Commands. Since these components run under application server environment, I am not sure how to unit test them without either deploying them on the actual server or simulating app server and rest of the system.
    I was wondering if people could share their experience in writing unit test scripts especially for J2EE components - like Servlets, JSPs and EJBs. On the similar note, is there any similar tool or API for creating integration test scripts?
    Thanks,

    Well - we already have couple of other servers but that's for beta, QA and Integration testing. Problem is with the unit testing. In unit testing, some piece of code is tested by itself. And I am not sure how I can unit test some of the classes like Servlets, EJBs, JSPs or even dependent classes like Commands or Actions. For example, consider following Action class from Java Pet Store:
    public final class CartHTMLAction extends HTMLActionSupport {
    public Event perform(HttpServletRequest request)
    throws HTMLActionException {
    // Extract attributes we will need
    String actionType= (String)request.getParameter("action");
    HttpSession session = request.getSession();
    // get the shopping cart helper
    CartEvent event = null;
    if (actionType == null) return null;
    if (actionType.equals("purchase")) {
    String itemId = request.getParameter("itemId");
    event = new CartEvent(CartEvent.ADD_ITEM, itemId);
    else if (actionType.equals("remove")) {
    String itemId = request.getParameter("itemId");
    event = new CartEvent(CartEvent.DELETE_ITEM, itemId);
    else if (actionType.equals("update")) {
    Map quantities = new HashMap();
    Map parameters = request.getParameterMap();
    for (Iterator it = parameters.keySet().iterator();
    it.hasNext(); ) {
    String name = (String) it.next();
    String value = ((String[]) parameters.get(name))[0];
    final String ITEM_QTY = "itemQuantity_";
    if (name.startsWith(ITEM_QTY)) {
    String itemID = name.substring(ITEM_QTY.length());
    Integer quantity = null;
    try {
    quantity = new Integer(value);
    catch (NumberFormatException nfe) {
    quantity = new Integer(0);
    quantities.put(itemID, quantity);
    event = CartEvent.createUpdateItemEvent(quantities);
    return event;
    In order to unit test above class from say, JUnit test script class, I will have to pass HttpServletRequest object to its method - I will also have to store corresponding command params and store them in the request object - how will you write unit test script for the above class?

  • System monitoring setup for j2ee

    Hello,
    I am seeting up system monitoring in my solution manager7.0 for XI systems. I am able to configure abap engine but not j2ee. whenver i clicked on active check mark for dispatcher and server hearbeat it is turning to red colour where as user defined alert i am able to configure. When i click on dispatcher heart beat and try to open properties it is telling you cann ot maintain properties. Could someone guide me to setup system monitoring for j2ee.
    Thanks,
    Kiran.

    Check
    http://service.sap.com/diagnostics
    Did you set up the SMD agent on your XI system?
    Markus

  • UCCX SPAN-based monitoring in 3750 virtualiztion environment

    This is regarding the tutorial on http://www.cisco.com/c/en/us/support/docs/customer-collaboration/unified-contact-center-express/118160-configure-uccx-00.html
    Here's my test environment:
    UCCX 10.5.1
    VMware 5.5U2
    Switch: Cisco WS-C3750G-24PS
    IOS: c3750-ipservicesk9-mz.122-58.SE1.bin
    Regarding the SPAN command in the tutorial -
    monitor session 40 destination interface gi1/1 ingress learning
    3750 switch does not support the "learning" keyword.  Thus my monitor commands are like below:
    monitor session 1 source vlan 102
    monitor session 1 destination interface Gi1/0/11 ingress untagged vlan 100
    Voice VLAN is 102.  UCCX VLAN is 100.  Dedicated vSwitch, port-group are created with UCCX virtual NIC connecting to it.  Dedicated physical NIC is assigned to the vSwitch and  connected to switch port Gi1/0/11.
    I noticed this configuration will only work under specific conditions - the UCCX server has to build its ARP table before the "destination" command is issued.
    I think it is because the "destination" command somehow blocks the ARP request from UCCX.  Without ARP functioning, UCCX was never able to resolve its default gateway IP to a MAC address.  See attached screenshot.  UCCX was trying to resolve the default GW IP 142.100.64.100 by ARP.  But never got a response.
    The work around is to remove the "destination" command.  Let UCCX build its ARP table.  Then re-enter the command.  Then everything works like a champ.
    But I was wondering if there is another way to set up the SPAN so we don't have to do this manual workaround?  Thanks!

    Have you been able to get a response to this post?  I am running into the exact same issue with an upgrade to UCCx 8.0.  SPAN on the 2nd NIC isn't allowed, and now the customer has lost functionality.
    Thanks,
    Ben

  • Extracting Monitoring reports from J2EE system to SOLMAN

    Hi,
    I would like to monitor a J2EE system from Solution Manager system and obtain Some related reports from J2EE system to SOLMAN in order to analyze its performance.
    please  suggest me about the ideas to go about the same.
    Your inputs will help me a lot.
    Regards,
    Kaushik

    Hi,
              To monitor JAVA system on Solution Manager you need to install Solution Manager Diagnostic or Sitescope or CA Wily Introscope for your java system and after that you can configure your Java monitoring on Solution Manager.
              Please refer  Note 1107033 for CCMS config for java. 
    V....

  • Monitor Network in QOS environment

    Hi All,
    i am using L3 MPLS VPN services from a provider.
    They are doing QOS, like my Voice, Data, ICMP. all traffic is classified in their network and take different paths.
    Now sometime when we face voice issues, simple ICMP ping , TCP ping, will not give me insight if there are any packet losses, since Voice packets are taking someother path with in MPLS cloud due to DSCP marking of Voice pack to 46.
    is there any tool in which i can change DSCP value of my packets and test out network response? or any monitoring tool that can do this by default?
    i am looking for freeware at the moment or trial

    Cisco's IP SLA feature set is designed for jsut this sort of thing. Depending on what platforms you are using, it may suit your needs.

  • Problem with logon ticket on a cluster J2EE environment.

    Hi Experts,
    We have a Portal system with one J2EE node running which issues logon ticket to do SSO into our R/3 4.6 system.
    After we added another node into the J2EE cluster on another machine, we have problem SSO into our R/3 system if you login to that new node, but everything works fine if user login into the original node directly.
    I checked the keystore in EP on both nodes and they look exactly the same.
    do we need to do anything for this to work? any help much appreciated!
    Thanks
    Jerry.

    Interesting, can you see the system landscape def from both nodes?  If so, are the connection test results the same from both nodes?
    Regards,
    Patrick

  • Correct way to aqquire session on a J2EE environment

    Hi.
    I'm working on a software that uses session beans (configured with JTA) accessing TopLink through a Data Acess Object. The DAO is a sigleton (used by all session bean instances) that has private getActiveSession() method that returns the session to be used by each DAO method.
    The method is codded like bellow:
    private Server server = null; //class attribute
    ... getActiveSession(){       
    if (server == null){
    server = (Server) SessionManager.getManager().getSession(new XMLSessionConfigLoader(), mapeamento, this.getClass().getClassLoader(), true, false, true);
    return server.getActiveSession();
    Is it the correct way to work with the architecture I'm using? (holding a server Session and working with it)
    I'm having problems when a database exception is thrown and when a database connection become stale. I don't know how to solve it because some times the application recovers themselves and some times not (intermitent).
    Thanks,
    Eros

    Hello Doug. Thanks for your post.
    I'm using the Container Datasource. How I can handle the connection failures?
    Another question: This code is causing the following error in a multithread environment:
    Exception [TOPLINK-7001] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 050912)): oracle.toplink.exceptions.ValidationException
    Exception Description: You must login to the ServerSession before acquiring ClientSessions.
    Environment:
    - The toplink jar is within the APPLib OC4J instance classpath
    - The DAO is within EAR
    - The OC4J instance has 6 applications (EARs)
    - The EJB with the business rules calls the DAO singleton object to access the Database
    The error happens some times and some times not. Please Help.
    Eros

  • Can i monitor only J2EE Application

    Hi All,
    Can i monitor only the J2EE application runnning in the application server , like only the application threads , memory used by the application etc.
    Durga

    You won't lose your data. Simply migrate all your data files ( you can select data, appliations, settings) and just choose the data. Then install FMP and Bento manually and you should be able to pick up where you left off.

  • Security problem with j2ee 5.0 environement

    Hi dear all,,
    I am currently trying to run an application, which was running on j2se successfully after changing the java security files in jdk security folder.
    But now i have moved to j2ee environement and trying to run the same code but it is giving me following exceptions.
    Exception in thread "main" java.lang.VerifyError: class edu.emory.mathcs.backport.java.util.concurrent.helpers.AbstractOwnableQueuedSynchronizer overrides final method setExclusiveOwnerThread.(Ljava/lang/Thread;)V
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue.<init>(LinkedBlockingQueue.java:87)
    at edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingQueue.<init>(LinkedBlockingQueue.java:169)
    at com.torunski.crawler.MultiThreadedCrawler.<init>(MultiThreadedCrawler.java:67)
    at mywebtracker.web_tracker.Tracker.startTracking(Tracker.java:84)
    at mywebtracker.web_tracker.TrackerController.main(TrackerController.java:37)
    Java Result: 1
    I have tried to change the policy files in the {java_home}./jre/lib/security but it does not work.
    can any one tell me, how to changes security settings in j2ee environment. i am using netbeans 5.5 with SDK 5, JDK 6 and sun application server 9.0
    i would be grateful
    zaman

    http://publib.boulder.ibm.com/infocenter/wasinfo/topic/com.ibm.wasee.doc/info/ee/ae/tdat_migdaapp.html
    The answer will be to make your JSP a JSP 1.2 JSP. (Basically the servlet 2.3 spec). Please refer to the link above for a step by step procedure to accomplish it.
    Vijay

  • How do u restart and monitor J2EE engine from Visual Admin?

    Hi mates,
    How do you restart J2EE engine from VA?
    From VA, is there any way we can monitor if the J2EE engine is rebooting properly or got stuck somewhere?
    thx in adv
    praveen

    Hi Praveen,
    1) I don't think you can monitor from SAP GUI. SMICM will only allow you also to trigger a reboot via Administration / J2EE server but for the rest it's happing all in the background with no visibility.
    2) The dispatcher node is the 'SAP WEB dispatcher' component which is an independent component / product and ( can ) act as the load balancer
    You can also install it standalone to act e.g. as a reverse proxy.
    3) The J2EE node represents the J2EE server
    rgds
    Dirk

Maybe you are looking for

  • How to capture the different sold-to party for a single WBS Element

    Hello, The client wants to automatically populate the Partner field in the WBSE. The Sold-to party that is indicated in the Sales Order will be the same with the Partner Field in the WBSE. I would like to ask regarding on how can we capture the diffe

  • Apple Remotes no longer magnetic?

    I was under the impression that the Apple Remote was magnetic so that it could be stored neatly on the side of your computer. However this is not the case with my newly purchased iMac and a friend down the road also has noted this. Are Apple Remotes

  • JDBC communication stopped if problem with one single JDBC interface

    Hello, Can you please explain this phrase "JDBC communication stopped if problem with one single JDBC interface" THanks, Soorya

  • Time machine requirements

    how much disk space does time machine need? i never got anything close to an answer on this. i did get my question answered about whether or not you can just create a new partition on the same hard drive for time machine. now all i need to know is ho

  • What to set authorization on characteristic value

    HI team I want to set a authorization on characteristic value, to be displayed in Bex report depending on user accessing that report Say : I have one report which show data about company code. I want to set authorization on characteristic value of Co