Monitor a web server using java

Hi All,
How can we monitor the webserver and its performance using java? what are the steps we should follow to do it and which java package i should concentrate to do this task?Give me some ideas about this?
regards,
Maheshwaran Devaraj

I should monitor the up time, response time, status of server , and If it is going to Not responding state I should recover the server and also need to generate the report about the server performance.

Similar Messages

  • Resources for implementing HTTP web server using java

    hi ,
    Thanks for giving your precious time in reading the message.I want to build a HTTP web server using java,which will run on my machine and I can communicate with it through web browser(IE) using HTTP requests and response.
    I know java language, but quite new to network programming.I want to gain enough knowledge on network programming in java.Can you please suggest me good books or any other resources available on the internet for the required subject.Any help will be greatly appreciated.
    my email-id is : [email protected]

    hi there my friend,
    I am writing my own web server too. in w3c there is a sample web server called jigsaw-open source :) and simple-
    I do think it worth trying.
    you can contact me if you want to share some source and info. cause I will.
    [email protected]
    but within 2 weeks I will be back for studying for my web server. you have to wait for a while.

  • Using private key installed on Sun One web server in java code.

    Hi,
    I am digitally signing an XML string. I have been able to successfully do this using the .keystore and the JSSE API.
    I need to run this code in the SUN ONE Web server, hence I have installed a self signed cert in the web server, using the web console.
    I need to load the .keystore that is being maintained by the Sun One Web Server in my Java program as a �KeyStore� object
    Presently I am using the following JSSE calls:
    KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());
    // Load the keystore contents
    FileInputStream in = new FileInputStream(keystoreFile);
    keystore.load(in, keystorePassword);
    in.close();
    Now how do I access the keystore and the certs that I have added in the web server? Is there any SUN API for this?
    Any help will be appreciated!
    Regards,
    Nandan
    Message was edited by:
    NANDAN

    The global zone should offer no services to the network except services required to administer the system. SSH from known IPs. Put everything in zones for the security of the system. Zones have no performance penalty so there is no advantage to running on the host system in the global zone.
    Sun's Java Enterprise server software webserver, directory server, etc required a full zone due to Solaris Package issues or conflicts; writing stuff in /usr; or both. A whole root for this software should not be a big deal. I create zones 9 at a time numbered in sequence. Zone 8 and 9 are whole root zones for requirements such as this.
    I'll leave to others to alert us if the whole root zone requirement changes for Sun's Java Enterprise Server software.
    Message was edited by:
    jgmarce

  • Create web service using java class

    Hi,
    I created the web service using java class then i deployed this web service in to the weblogic admin server.when i tested this process it is working fine.
    when I tested The generated WSDL to this process in browser(IE). it is not working.
    I need to to invoke this webservice from another BPEL but this WSDL is not working.

    Hi,
    when i created the webservice in jdeveloper by default it is connected to integrated weblogic server and generates this wsdl.
    http://localhost:7101/helloApplication-javaexcel-context-root/MyWebService1Soap12HttpPort?WSDL
    then I deployed this webservice in to the Adminserver.it gives the following URL.
    http://192.168.56.1:7001/extracExcelToCSV-extractExcelToCSV-context-root/ExtractExcelToCSVSoap12HttpPort?wsdl
    This URL is not working but when i tested this process it is working fine.
    It is giving below error when i try to invoke from jdeveloper
    Error while reading wsdl file
    caused by:java.net.connectExcepption :Connection timed out:connect

  • How do i connect to sql server using java?

    hi ever body
    i need to connect to sql server using java
    what is the driver i will use?
    thanks

    Microsoft make a jdbc driver and it is readily available through MSDN. Here is a link http://msdn2.microsoft.com/en-us/data/aa937724.aspx. Whatever jdbc driver you are looking for, Google it, and if it exists you'll find it in 10 seconds.

  • How can I authenticate to a XI server using java via SOAP (SAAJ)

    Hi everybody!
    I need to connect (SOAP) to a XI server using JAVA
    I'm using SAAJ api.The problem is XI server need authentication but I can't found the way to do it! this is a part of code
    SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapConnFactory.createConnection();
    URL destination = new URL("https://host:port");
    SOAPMessage reply = connection.call(message, destination);
    (message is the XML code)
    but the application has the following error:
    com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    GRAVE: SAAJ0009: Fallo en el envío del mensaje
    I think, maybe is a authentication problem, because the XI server needs it. But I don't have idea how can I send the user and pass
    Any IDea???? please
    the libraries are ok imported, I use netweaver to develop-
    thanks in advantage

    hi Leslie,
    there are only a few of these errors,
    you can try this:
    http://www.oxygenxml.com/forum/ftopic1103.html&sid=0abee8c719481a3dd783ff7d5cd84105
    are you sure your URL is accessible from your location?
    you may also check:
    http://www.google.pl/search?hl=pl&q=HttpSOAPConnectionpostSAAJ0009%3A&lr=
    Regards,
    michal

  • Creating Web Services using Java Implementation

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

  • Monitor Unix Mail Queue using java

    Hi! ,
    I want to monitor unix mail queue using java. how can i proceed..
    Please advice..
    Thanks..
    Ganesh

    Google and see if there is an API which lets you monitor it.
    Kaj

  • Post a File to a web server using HTTP_POST

    Hello,
    I have to generate a program to post a file ".TXT" to a web server using a HTTP POST with multipart form and a couple of variables (user, password).
    I was investigating and I found that I can do it using SAPHTTP but I dont know how to work with the FM HTTP_POST.
    Does anyone have a sample code?
    Thanks
    Ariel

    sample usage:
      CALL FUNCTION 'HTTP_POST'
        EXPORTING
          ABSOLUTE_URI                = IM_OFX_CONTROL_DATA-ADDRESS
          REQUEST_ENTITY_BODY_LENGTH  = RESPONSE_ENTITY_BODY_LENGTH
          RFC_DESTINATION             = IM_OFX_CONTROL_DATA-HTTP_RFCDEST
          USER                        = IM_OFX_CONTROL_DATA-HTTP_USER
          PASSWORD                    = IM_OFX_CONTROL_DATA-HTTP_PASSWORD
          BLANKSTOCRLF                = 'X'
        IMPORTING
          STATUS_CODE                 = STATUS
          STATUS_TEXT                 = STATUS_TEXT
          RESPONSE_ENTITY_BODY_LENGTH = RLENGTH
        TABLES
          REQUEST_ENTITY_BODY         = LT_REQUEST
          RESPONSE_ENTITY_BODY        = RESPONSE
          RESPONSE_HEADERS            = LT_RESPONSE_HEADERS
          REQUEST_HEADERS             = LT_HTTP_HEADERS
       EXCEPTIONS
            OTHERS                      = 1.
    Refer the programs:
    LFPIFF02            
    LOFXALSU04          
    LPRGN_URL_RESPONSEU01
    LSBCCU01            
    LSFTPU09            
    for some idea.
    regards,
    ravi

  • Can data be passed to an external web server using the "in-course web browsing" feature in ver. 7?

    Can data be passed to an external web server using the "in-course web browsing" feature in ver. 7? I would like to display a simple web page, and I would like to pass to that web page the answers to all the quiz questions, quiz score, etc. In other words, instead of passing quiz results to a SCORM-compliant LMS like Moodle, I'd like to pass that data to a Drupal Webform using a URL like:
    https://www.example.com/my-drupal-webform?param1=value1&param2=value2...&paramn=valuen
    Is this possible?
    Thanks,
    John

    You have to make sure every step in MOS Document ID 726414.1 that is applicable to your E-Business Suite 12.1.x release is performed. Enabling ASADMIN is just one of the steps. In spite of following all the steps in this Document you continue to get the error when clicking "Generate WSDL", please log a Service Request with Oracle Support.I will check all steps again. Maybe I missed one... Thanks!

  • How to embed 3D models in web page using JAVA?

    Hello
    I'm doing a project at University to create a virtual tour of a village. I am creating the buildings in MAYA using polygon planes and cubes and then exporting to VRML.
    I plan to embed each individual model into a separate web page. Then when the user clicks on a location in a 2D map they will be taken to the web page containing that building.
    However, I can't work out how to embed these 3D models into web pages using JAVA. Can anyone help me with this, please?
    Also, I've been told to use JAVA 3D to interact with the project but am unclear as to how JAVA 3D would be used in this project - aqny ideas/suggestions welcome!
    M.

    If you use Java-plugin, you can embed Java3D in a web page.
    Here is the URL(http://www.geovista.psu.edu/products/demos/LorenzAttractor3D/index.html) which used Java3D.
    I hope this helps.
    Masa

  • Printing Web contents using Java Fx.

    Hi,
    How to Print Web contents using Java Fx application? ie, displaying a web page as it is on the application..........
    Thanks......

    You might want to try to SwingComponentize third-party Java web browser (JDic, NativeSwing).
    Another recommended alternative is to wait for the JWebPane because it is designed to work with JavaFX (http://weblogs.java.net/blog/alex2d/archive/2008/12/jwebpane_projec_1.html). No date is given to JWebPane's release though. JWebPane will be my Christmas's wish.

  • Add a posixaccount user in posixgroup in sun directory server using java

    Hi
    Anybody now how to add posixaccount user in posixgroup in sun directory server using java code.
    I am able to add normal directory server user in ldap group in java.
    But i am getting any luck to add posixaccount user in posixgroup.
    I know we can set uid value in memberuid attribute but how to add through java program.
    Anybody can paste code for that.
    Thanks.

    To CRabel,
    My company have restriction on using the open sources product/code, but i will take a look on netscape ldap sdk as a reference~
    To raghu1978 ,
    i find a product call Directory Editor 1 2005Q1, I hope it is useful.
    thz all~

  • Dreamweaver CS3 fails when publishing to the web server using WebDAV

    Dreamweaver CS3 fails when publishing to the web server using
    WebDAV
    using an earlier version (7.x/8.x) works fine.
    Does anybody know if there is a solution for this.. This is
    urgent..
    Attempting to call the 1-800-833-6687 number fails with:
    recording, music, rings as though someone will finally answer, but
    gets a few dial tones and connection goes silent..
    Thanks
    J.

    If all of your credentials are correct, Server Name/IP Address, Username, Password, Root Directory and it's still not connecting, I would try toggling the Passive FTP checkbox.
    If you still can't connect in DW, try downloading a third party FTP program like Filezilla (free) and uploading there. If the third party app doesn't work either, there is likely a problem with your credentials and you would need to contact your hosting provider to straighten it out.

  • Web chat useing java

    I want to develop a web chat useing java for my new web project!How can i do it.

    UsthadThegreat wrote:
    I want to develop a web chat useing java for my new web project!How can i do it.1. Learn basic Java.
    2. Learn intermediate to advanced topics such as multithreading and socket communication.
    3. Develop requirements.
    4. Develop an architecture and design.
    5. Use the results of steps 1-4 to write Java code that realizes your web chat application.

Maybe you are looking for

  • Status page in X3000 no longer showing any data.

    Using the latest 1.0.05 firmware on X3000 Status page perpetually shows "Connecting" even though I'm connected. It no longer shows data such as the Internet IP address, Gateway etc. Only DNS IP addresses are shown.

  • Is there a way to find out ALL the files an FCP project uses?

    Okay. Firstly, I'm an idiot. I don't know why, but at the START of the project, I didn't think I'd end up with so many little tiny bits and pieces... so I didn't really plan the organization of this thing. (My next project will be meticulously organi

  • Best practice to save file in the database?

    Hallo, in version 10.1.2 there i make a little application which allows to save a file in a table. the column i defined as ordsys.orddoc. than i could use the standard functionality of jdeveloper. is this a good way to do that, or is it better to go

  • ORA-01017: invalid username/password; logon denied on Weblogic 9.0 cluster

    I am experiencing the following exception in Weblogic 9.0 server cluster environment. The same code works fine in non-cluster environment. The problem happens every now and then and would go away temporarily after recycling the domains. The Oracle da

  • Create Error

    Hi ALL I have installed Exchange Connector. But it is not able to create mail box. It is showing following error: com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController.cleanHierarchyString(Ljava/lang/ Response Description: Unknown respon