Need input on developing cluster agent for java application

I am new to Sun Cluster and i wanted to develop agent for failover for one of my Java application which sits on one of the node of sun cluster 3.1. Can you guys help me in this.
My Java application is based on n-tier client server model. and this needs to failover.
I have two sun machine having solaris 9, which is clustered with 3.1 sun cluster software.
As i know there are two mwthods for developing the agent for your application.
1) Generic Data services
2) Sun Plex agent builder
i wanted to use Sunplex agent builder with Ksh. Can you please tell me what all things required for starting it and how do i proceed.
thanks in advance.

Using GDS will be the simplest solution.
You can write atleast one script - to start application:
say '/MYAPP/start'
This script can setup JAVA_HOME and other environment variables and start the application in background.
# scrgadm -a -t SUNW.gds
# scrgadm -a -g rg1
# scrgadm -a -L -g rg1 -l hhead
# scrgadm -a -t SUNW.gds -g rg1 -j app-rs \
-x Start_command="/MYAPP/start"
# scswitch -Z -g rg1
# scstat -g
Refer to GDS man page http://docs.sun.com/app/docs/doc/819-0582/6n30g7il4?q=GDS+&a=view
and Data services developer's guide http://docs.sun.com/app/docs/doc/819-0581/6n30f91v4?a=view
If you want custome probe or you want to stop application gracefully, then you can write stop and probe scripts and provide them in 'scrgadm' command as described in SUNW.gds man page.
If you want to productize the agent, then you can consider using agent builder.

Similar Messages

  • XML Developer's Kit for Java for Oracle 8i

    Hello,
    I want to download XML Developer's Kit for Java for Oracle 8i but I find only for Oracle 9i in the download site. I previously had download this for Oracle 8i. So I guess it should have moved to some other place and I am just not able to find it.
    Can anyone let me know where I can download the XDK kit for Java for Oracle 8i?
    Thanks.
    Rama.

    According to the license:
    "We grant you a nonexclusive, nontransferable limited license to use the programs for purposes of developing your applications. You may also distribute the programs with your applications to your customers...."
    But you may not:
    "distribute the programs unless accompanied with your applications;
    For more information, please refer to the following page:
    http://otn.oracle.com/tech/xml/xdk/doc/production10g/license.html

  • Cluster agent for DSEE 7.0

    Hi,
    I see in the DSEE 7.0 released notes that the Solaris Cluster agent has been removed from the DSEE 7.0 distribution. Where can I find a cluster agent for 7.0?
    Thanks.

    Hi,
    To access Reporting Agent or in BI 7.0 type REPORTING_AGENT
    GoTo T-Code RSA1OLD -> Click Reporting Agent-> Click Print :This will show all the query and reports
    Drill down to a particular Report
    -> HighLight this report
    -> Create New Reporting Agent Setting
    -> Give name & Description
    -> Check Fill OLAP Cache if possible
    ->Save and Activaate
    ->Go Back : You will see one Reporting Agent create
    -> Select the newly created Reporting Agent
    -> on the Right Hand side Column
    ->Create New Scheduling Package by clicking on Create Button
    -> Give name and Description
    ->Save
    Now Drag the Reporting Agent to the right Hand side the Scheduling Package Windows.
    ->Save.
    ->Schedule Immediately.
    http://help.sap.com/saphelp_nw70/helpdata/en/28/734d3caa70ea6fe10000000a114084/content.htm
    But, I would suggest to use Information broadcasting instead of Reporting agent.
    hope this helps...
    Sonal...
    Edited by: Sonal Patel on Dec 11, 2009 11:36 AM

  • How to create a Batch file for java application  ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    [http://static.springsource.org/spring-batch/]
    Assuming you want to develop a batch application rather than actually just create a .bat file ..

  • HOw to create a Batch file for java application and whats the use of this ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    First of all, you're OT.
    Second, you can find this everywhere in the net.
    If you got a manifest declaring main class (an classpath if needed), just create a file named whatever.bat, within same directory of jar file, containing:
    javaw -jar ./WhateverTheNameOfYourJarIs.jar %*By the way, assuming a Windows OS, you can just double click the jar file (no batch is needed).
    Otherwise use:
    javaw -cp listOfJarsAndDirectoriesSeparedBySemiColon country/company/application/package/className %*Where 'country/company/application/package/' just stands for a package path using '/' as separator instead of '.'
    Don't specify the .class extension.
    Javaw only works on Windows (you asked for batch, I assumed .BAT, no .sh), in Linux please use java.exe (path may be needed, Windows doesn't need it 'cause java's executables are copied to system32 folder in order to be always available, see PATH environment variable if you don't know what I'm talking about) and use ':' as classpath (cp) separator.
    The '%***' tail is there in order to pass all parameters, it only works on Windows, refer to your shell docs for other OSs (something like $* may work).
    This way you have a command you can call to launch your code (instead of opening NetBeans just to see your app working). You could schedule tasks on it or just call it in any command prompt (hope you know what it is 'cause there have been people in this very same forum with no clue about it, if not just hold the 'Windows button' and press 'R', then type 'cmd' and run it).
    Finally add dukes and give 'hem away.
    Bye.

  • How to use BAPI in webdynpro for java application

    Hi all,
    Please help in getting started with calling a BAPI in a webdynpro for java application. I have got only the content needed to call a BAPI in a webdynpro for abap application but not in java. Kindly provide me some documents if possible.
    Thanks in advance

    Hi ,
    U have Created One Bapi u want to work with web Dyn pro for java Application Right .
    U need the Following
    1) NWDS (Netweaver Devloper Studio )
    2) jdk1.4 or Above installed in your system .
    After Installation of NWDS .
    1) Just Take J2EE Enginee Details
      a) Go to Window -> preferences  -> J2ee Enginee - > give ur port number , Host name Details . and click finsh .
    Go To Web Dyn Pro Perspective Click onj2EE engine .
    Click On Refresh U will see Green Colour button .
    Now ur Ready to import Ur BAPI .
    1) Go to File -> New -> Project - > Web Dyn pro Project -.
    Give Name , pkg Name Click On Finish .
    2) Expand ur project hirarchy -> go TO Application -> Right Click -> Create Application - > Give Application name and Pkg name -> Click on Finish .
    3) Now ur View And Controller Are Created by Default .
    4) Go to Model-> Right Click on it-> Create Model -> Give Model Name & Pkg name Should diff from Application pkg the Click On Next
    a) Here u have to Two JCo Destination Name Like Model Data And Meta data & R/3 System Details like System Number , Host name  Etc -> then Click on next .
    b) Here u will text filed where u want to search for ur Required BAPI . Type ur BAPI Name Click on Search . Ur bapi will be displyed In Down . click on Next .
    c) Now Ur model is Importedint into NWDS .Map ur model data To Controller and Controller Element to View Elements .
    After ur Model .
    Go to -> Project Name -> Right Click -> go to -> Deploy New Archive .
    after wards u have to go Apllication -> Right click -> deploy and Run .
    ur output will be displyed thru Browser .
    Thats it
    Regards ,
    venkat

  • How to create the exe files for java application

    How to create the exe file for java application?
    got any software to do that?
    Thanks

    In terms of converting java applications into exe files, there are 3 schools of thought:
    1) Instead of converting it to an exe, convert it to a jar file. Jar files are more portable than exe files because they can be double-clicked on any operating system. The caveat is that a Java interpreter must be installed on the target computer for the double-clicking to work.
    http://developer.java.sun.com/developer/Books/javaprogramming/JAR/
    2) Create an exe launcher that, when double-clicked, attempts to find a Java interpreter on the local computer and launches the Java application. The exe file is still double-clickable but whether your java application runs depends on whether a Java interpretor is installed on the target computer.
    http://www.sureshotsoftware.com/exej/
    http://www.objects.com.au/products/jstart/index.jsp
    http://www.duckware.com/products/javatools.html
    http://www.ucware.com/jexec/
    http://www.rolemaker.dk/nonRoleMaker/javalauncher/
    http://www.jelude.cjb.net/
    http://thor.prohosting.com/~dfolly/java/index.html
    3) Create an exe launcher that bundles a Java interpretor. Same as above but when the exe file is double-clicked, it searches for a Java interpreter and if one is not found, it installs one on the target computer. The caveat is that the exe file would have an overhead of 10 MB in size for the interpreter.
    http://www.excelsior-usa.com/jet.html (evaluation version available)
    4) Convert the Java application into a native exe file. The caveat is that if you use Swing for your GUI, it won't be converted. Also this option is still somewhat experimental.
    Can't think of any free options right now.

  • How to convert .ear file of webdynpro for java application to webdynpro pro

    Hi All,
    I have a .ear file which belongs one web dynpro for java application.
    I do have other information about the same.
    I need to convert it into a web dynpro project and use it in NWDS to make changes.
    How can I do it? I could not find any solution on SDN.. I hope I get here...
    Thanks and Regards,
    Aditya Deshapnde
    Edited by: Aditya Deshpande on Nov 23, 2010 1:55 PM

    Hi Friend,
    This is almost not possible even if you have Java Decompiler -- WD has a lot compile(design)-time only artifacts that are not exist in generated EAR.
    Hope this is help full for u.
    Regards
    Vijay Kalluri

  • What are the reporting tools available for Java applications??

    hi..
    please tell me some reporting tools available for java applications.... if there are some, please mention how to find their documentation????

    http://jasperreports.sourceforge.net is a nice one, there is also a link to a graphical design tool.

  • How to access(connect) BI Data in webdynpro for java applications

    Hi ,
    is there any way to access and display the BI data in portal using webdynpro for java applications like we did in Visual composer.
    if not how to integrate the BI data in webdynpro applications ?
    Regards,
    Govindu

    Hi,
    Yes there are ways to do it. But may your scenario and the scenario for which I have done may differ.
    You can use openhub to get the data in a flat file and then read it into weddynpro through a java service OR
    You can use DBlink(which i have done).
    Please refer the link below:
    [Link|Data from BW to Oracle.;
    This I have done in NW04s. Not sure whether a better solution is available in the newer release.
    Hope it helps.
    Regards,
    Manoj

  • Invoke Workflow from Web Dynpro for Java Application

    I am working on a custom web dynpro for java application and when the user clicks the submit button the SAP standard workflow (WS50000041) should be invoked. Does anyone have experience they can share with me on how to achieve this functionality? It should also be able to attach an adobe form or read data from the form and submit the data as xml.
    Thanks,
    Ashley

    Hi Ashley,
    Use following code in RFC to invoke your workflow -
    DATA : w_subrc TYPE sy-subrc,
                w_wi_id LIKE swwwihead-wi_id.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task                      = ' WORKFLOW - WSxxxxxx '
              language                  = sy-langu
              do_commit                 = 'X'
            IMPORTING
              return_code               = w_subrc
              workitem_id               = w_wi_id
            TABLES
              input_container           = it_container
              message_lines             = lv_swr_messag
          COMMIT WORK.
    With this code your workflow will get start. But u have to use workflow id in next application also in which your request is getting navigated. In that application you have to take this workflow ID and have to pass again in workflow using - PortalNavigation statements.
    After that this workflow will get start to publish in your TaskList (My Task) in Portal. Remeber that your all task should be maintained in workflow table by using SWFVISU  transaction.
    After that go to Portal and Re-Register your UWL so that your new Workflow ID will get usable in portal.
    With this way you would be able to use workflow with Web Dynpro Java using UWL and Workflow.
    Regards,
    Roshan Gupta

  • How to create setup for Java Application?

    Hello,
    I have created one Java Application. Now I want to create setup for that. I want to know if there is any tool is available for Java Application. If yes, then please help me to get that.
    My emal id is "[email protected]"
    Thanks in advance.
    Sam

    Go to www.zerog.com
    Download InstallAnyWhere4now (free)
    it is Awsome youll love it
    M
    bakbjo

  • Does Developer 9i only for web application

    Dear Friends,
    Does Developer 9i only for web application?
    Thanks

    Although in theory you can install the client and the application server on one machine so you can be "2 tier" but yes, client/server was desupported back in 6i.

  • Devleoper Studio and Workplace for Java application development

    1. Can someone please help me know what is netweaver developer studio and developer workplace ?
    2. I came across EP master guide that says :
    You install an AS Java centrally and the developer workplace on each developer host.
    This option is recommended for large development projects with a need for local and central testing. Developers can test their developments locally using the developer workplace. For integration tests, they deploy their changes on the central AS Java.Ûê.® |
    You install an AS Java centrally and Developer Studio instances on each developer host.
    This option requires fewer hardware resources per developer host. In this landscape scenario you can set up an AS Java in development mode centrally and connect to it from the other hosts in the landscape using the Developer Studio.
    How does Java application development take place ? Does this say that we need Developer Studio instances installed on every developer's host (suppose I have 3 developers) or do I need one server setup for Dev Studio and developers using some client program to connect to it ?
    I suppose developers create programs on their local pc's, port them to Dev studio for testing and transfer them to EP Dev server ? Is that correct.. ? Thereby, we need CTS+ to promote developments to Qlty and Prod ?

    Hi,
    Please check-out the following links to understand NWDS, Developer studio and the installation procedure:
    SAP NetWeaver Developer Studio 7.1 Overview
    http://help.sap.com/saphelp_47x200/helpdata/en/cb/f4bc3d42f46c33e10000000a11405a/content.htm
    /thread/705153 [original link is broken]
    http://www.sapgeek.net/2010/05/how-to-install-nwds/
    Hope these help.
    Regards,
    Varun

  • Do we need to install microsoft cluster software for RAC 10G

    Hi all,
    Our company wants to install ORACLE 10G RAC on windows 2003 R2. Based on the pre-requisites I asked network guys to provide me the shared disk storage from SAN, but they insist that this storage will not be accessible until we have windows clustering software running on top of the two nodes. I want to use oracle clusterware for clustering.
    Please let me know how does it work. Do i need to have windows cluster s/w first then install oracle clusterware on these nodes.
    Help is as always appreciated
    Regards
    Aijaz

    Hi Aijaz,
    You don't need any clusterware beyond Oracle clustware, but if is a requirement to your company you can use another Clusterware to install RAC, if they are supported, check on metalink. The Clusterware from Oracle provide all you need to deploy a Real Application Cluster production environment.
    With additional documentation, take a look on http://download.oracle.com/docs/cd/B19306_01/install.102/b14207/intro.htm#sthref21 for explain more about Oracle Clusteware
    Here an excelent guide to install RAC 10g R2 on windows provided by Philip Newlan on http://www.jobcestbon.com/oracle/RacOnWindows.pdf
    Regards,
    Rodrigo Mufalani
    Ps.: Thank you Philip, this paper is the best that I read based RAC on Windows!!!

Maybe you are looking for