Start or stop the multiple java application from Netweaver Administrator

Hi All,
In NWA->Operations Management->Systems->Start & Stop... the procedure for how to start and stop the Java Applications is well explained on the following link:
http://help.sap.com/saphelp_nwpi711/helpdata/en/45/1e7eb303577524e10000000a114a6b/content.htm
The problem is that I want to Start or stop the multiple java application on all instances simultaneously with the application state not persisted. But I am not getting the way to select more than 1 rows in the table so that these applications can be started in a single click. Is there any way out or any alternative?
Each time the CE 7.1EHP1 server is restarted there are around 800 applications that are shown as stopped. I have to start each manually one by one which is an hectic task. Please help.
Thanks.
Rajat

FYI ***
The fix was in there were several ora init parms that were set incorrectly:
aq_tm_processes value is 0 Should be >= 1
job_queue_processes value is 0 Should be >= 10
enqueue_resources value is 2392 Should be = 3000
java_pool_size          value should be >= 20MB

Similar Messages

  • How to stop the new health application from Count the steps/ woking background?

    how to stop the new health application from Count the steps/ woking background?
    I really need your help

    I agree with Mr. Hall that using mx.controls.Alert in Flex may be a better route.
    Show the Alert like this:
    // show an alert with a question and yes and no choices
    Alert.show( "Would you like to go to the Adobe Forums?", "Question",
         Alert.YES | Alert.NO, this, closeHandler, null, Alert.YES );
    Then handle the response in the closeHandler() function:
    protected function closeHandler( closeEvent:CloseEvent ):void
    if( event.detail == Alert.YES )
         navigateToURL( new URLRequest('http://forums.adobe.com'), '_self' );
    else if( event.detail == Alert.NO )
         // they chose no
    The following documentation on Alerts may be helpful:
    http://www.flexafterdark.com/docs/ActionScript-Alert
    Let me know if that helps...
    Ben Edwards

  • Calling Webdynpro Java Application from Webdynpro ABAP Application.

    Hi,
    We have developed one Application using Webdynpro Java and I m in need to call the Webdynpro Java application from Webdynpro ABAP.
    Require Suggestions to acheive this.
    Thanks In advance.
    Reg,
    Ajay.

    Dear Ajay,
    Assuming that both your applications WDA & WDJ are in the portal & you don't have to pass any parameters to the WDJ application.
    Write the following code on the action  where you would call the WDJ application.
      DATA:
            lr_compcontroller TYPE REF TO ig_componentcontroller,
            l_component TYPE REF TO if_wd_component ,
            lr_port_manager TYPE REF TO if_wd_portal_integration ,
            wa_navigation TYPE navigation.
      lr_compcontroller =   wd_this->get_componentcontroller_ctr( ).
      l_component = lr_compcontroller->wd_get_api( ).
      lr_port_manager = l_component->get_portal_manager( ) .
    * The value inserted into the navigation-target field can be found in the Portal
    * content administration tab of your portal. It is the ID or PCD Location field
      wa_navigation-target = pcd. " Please provide the PCD Location of the WDJ Application here.
      wa_navigation-mode   = '0'.  "0 = INTERNAL(same page) and 1 = EXTERNAL(new page).
      CALL METHOD lr_port_manager->navigate_absolute
        EXPORTING
          navigation_target = wa_navigation-target
          navigation_mode   = wa_navigation-mode.
    You can get the PCD from the Page properties of the WDJ application page in the Portal.
    Hope it helps!
    Warm regards,
    Upendra Agrawal

  • Start and stop the Communication channel from Java Mapping

    How to start and stop the Communication channel from Java Mapping in XI 3.0
    Scenario  PI - > MQ -> Third Party web application 
    Web application is down and then Communication channels are stop manually .  
    We need to automate this process,
    MQ Solution - Trigger will be set in MQ which will be called when web application is stopped
    Trigger will send u201CSTOP u201C message to PI
    How to configure PI scenario to stop different com channels when this message received ?

    check this link: http://help.sap.com/saphelp_nw04/helpdata/EN/45/0c86aab4d14dece10000000a11466f/frameset.htm
    make sure that MQ send http request to PI. i dont think a configuration scenario is required in PI. Only roles should be enabled with proper user provided to MQ team.
    However, for security reasons, you can configure a scenario if you dont want to expose PI infrastructure directly to 3rd parties.

  • How do I start and suspend Java Application from say C++ program

    I want to start a Java application via C++ and on some condition i want to suspend the same program not terminate , but suspend

    Have you tried running the virtual machine from your C++ application ? You can start Java applications from your C++ application using JNI after starting the Virtual machine from within your C++ application. According to the Java documentation you can even now stop the virtual machine from within your C++ program.
    I haven't looked at the 'suspend' detail but I suppose it will not be a problem to call a method via JNI to set a flag to suspend a thread etc.
    There is a tutorial: 'Invoking the Java Virtual Machine' at the following URL: http://java.sun.com/docs/books/tutorial/native1.1/invoking/invo.html.
    This example seems to work only for version1.1 of the JDK. For JDK1.3, version 1.2, (I am not so sure whether I fully understand Sun's version numbers for Java yet) there is some updates on the JNI for starting the VM from C++. This article is called 'JNI Enhancements'. The URL for this article is:
    http://java.sun.com/j2se/1.3.0/docs/guide/jni/jni-12.html
    You have to set version to: JNI_VERSION_1_2
    There is only one problem. I get an error when calling JNI_CreateJavaVM from C++. I could not find any documentation that indicates how you can go about diagnosing what is causing the problem. Normally in Visual C++ you can just get the probable cause by inspecting GetLastError() or the function itself can return helpful diagnostic (error) codes.
    If you manage to start the VM correctly from within Visual C++ please let me know. My email address is [email protected]
    good luck
    Henko

  • The Sun Java Application Server 8.1 could not start anymore

    Very incredible I was working fine from may days with Stydio Creator 2
    but yesterday I run the project and it does not work anymore, please can you suggest something:
    The Sun Java Application Server 8.1 could not start.
    from the Output console:
    C:\Sun\Creator2\SunAppServer8\bin\asadmin.bat start-domain --domaindir C:\Sun\Creator2\SunAppServer8\domains\ creator
    Failed to start server localhost:4848
    Deployment error: Failed to start server localhost:4848. See the server log file for details.
    Exception=Deployment error: Failed to start server localhost:4848. See the server log file for details.
    Deployment error: Failed to start server localhost:4848. See the server log file for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:198)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    Caused by: Failed to start server localhost:4848
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:152)
    ... 10 more
    and in the log file:
    [#|2006-02-24T11:49:51.296+0100|WARNING|sun-appserver-pe8.1_02|
    javax.enterprise.system.core|_ThreadID=25;|CORE5061: Exception :
    com.sun.appserv.server.ServerLifecycleException: [C4073]: A JMS destination limit was reached.
    Too many Subscribers/Receivers for Queue :
    temporary_destination://queue/192.168.0.159/3376/2 user=admin, broker=127.0.0.1:27676(2403)
         at com.sun.enterprise.jms.JmsProviderLifecycle.onTermination(JmsProviderLifecycle.java:476)
         at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:454)
         at com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:42)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventListener(AdminEventMulticaster.java:1445)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(AdminEventMulticaster.java:1434)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:443)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
         at com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
         at sun.rmi.transport.Transport$1.run(Transport.java:153)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:595)
    thanks

    I just had the same problem this morning. I believe the app server starts and if you browser directly to your app you'd get it, but the connection between the appserver and the IDE is somehow lost. An easier solution than completely reinstalling for me was to delete the .Creator folder in my home directory (C;|Documents and Setting\<username>\.Creator) and restart Creator

  • How do I stop the Mac Store app from opening whenever I start my computer?

    How do I stop the Mac Store App from opening upon startup of my Mac Book Pro?  It will not let anything else open and then it stalls when I try to close the window.

    Deselect that option and the check mark will disappear.

  • How can I stop the iWeb welcome movie from appearing

    How can I stop the iWeb welcome movie from appearing every time iWeb starts up?
    Oh yes and now that we are talking: when I plug in my ipod, I want iTunes to start, not iPhoto.
    Who knows these tricks?

    iPhoto seems to be viewing the iPod as a camera.  Therefore go to iPhoto's General preference pane and select No application in the Connecting camera opens: menu.
    OT

  • Call a Java Application from MicroFocus COBOL (in UNIX environment)

    Hello,
    Could you please let me know, how to call a Java application from a MicroFocus COBOL application. If anyone has any code samples, that would be of great help.
    Thanks in advance,
    Tijo.

    You generally can't cause a program to be executed on a different >server. Basic security, you know. Besides this idea of having the Java >application run on a different server wasn't mentioned in your original >post. That leads me to believe we don't have the whole story.So I think you need to step back and find out what are the requirements. For example: Does your program need to start this Java application running, or is it already running and your program needs to connect to it somehow?
    My program has to start a Java class file, meaning that the Micro Focus COBOL module will call the Java class file. Will it be running on the same machine as your program, or on some other machine?
    For both cases, I would like to know the answer.a) Running on the same machine as my program is running.
    b) Running on the different machine.
    And then there are the questions about whether your program needs to have a conversation with the Java application, or whether it just needs to start it and that's all.
    COBOL program has to call a Java class by passing some parameters and Java class in turn process it and return some value back.. Kind of Request and Response model.Plenty of questions to be asked. Go and find out what they are.
    Sorry ... if I am not clear on my questions. Anyhow, thank you very much for providing the information.

  • Can we call simple a java application from any one of this AS adapters

    Can we call a simple java application from any one of this AS adapters?
    Prakash
    Message was edited by:
    user629857

    You can achieve this using LiveCycle PDF Generator JAVA API. You can find required code here:
    Adobe LiveCycle * Quick Start (SOAP mode): Converting a Microsoft Word document to a PDF document using the Java API
    In parameters:
    //Set createPDF2 parameter values
    String adobePDFSettings = "Standard";
    String securitySettings = "No Security";
    String fileTypeSettings = "Standard OCR";
    "Standard OCR" file type setting will run OCR on input pdf. In the code, instead of doc file provide a pdf file. Resultant pdf will be searchable PDF i.e OCRed PDF.
    Feel feel to ask any further questions.

  • Calling Java application from servlet

    Hi !
    I'm trying to run a Java application from within a servlet with Tomcat 4. I'm using the Runtime.getRuntime ().exec () method. So the application is run in a different JVM as a subprocess of the servlet. I use ObjectInputStream and ObjectOutputStream and a serializable object to enable communication between the servlet and the application.
    I tested the application and the serializable object with another Java application that works as the caller and it works fine. However, replacing the caller application with the servlet I get a StreamCorruptedException. The structure of the caller application and the servlet is the same.
    My questions are:
    - Is there something I should configure in Tomcat to create a subprocess ?
    - What is the cause of the StreamCorruptedException ? How do I get it with the servlet and not with the application ?
    - Should I use an environment with the call to Runtime.getRuntime ().exec () ? How do I use it ?
    - Is the called application forced to run in my servlet's context ?
    - Is there a better way to do this ?
    Thanks to all

    Here's my code:
    1. The serializable object:
    // Object Obj
    import java.io.*;
    public class Obj implements Serializable
    public int n;
    public Obj ()
    n = 0;
    public Obj (int n)
    this.n = n;
    public String toString ()
    return getClass ().getName () + " -> (n = " + n + ")";
    2. The application Sub (subprogram)
    // Application Sub
    import java.io.*;
    public class Sub
    private static File f;
    private static FileWriter fw;
    public static void main (String [] args)
    throws IOException, InterruptedException, ClassNotFoundException
    ObjectInputStream ois;
    ObjectOutputStream oos;
    Obj obj;
    ois = new ObjectInputStream (System.in);
    obj = (Obj) ois.readObject ();
    f = new File ("Sub.txt");
    fw = new FileWriter (f);
    fw.write (obj.toString ());
    fw.close ();
    oos = new ObjectOutputStream (System.out);
    oos.writeObject (obj);
    ois.close ();
    oos.close ();
    3. The application AMain (caller application)
    // Application AMain
    import java.io.*;
    class AMain
    private static File f;
    private static FileWriter fw;
    public static void main (String [] args)
    throws IOException, ClassNotFoundException
    Runtime r;
    Process p;
    ObjectInputStream ois;
    ObjectOutputStream oos;
    Obj obj, obj2;
    r = Runtime.getRuntime ();
    p = r.exec ("java Sub");
    oos = new ObjectOutputStream (p.getOutputStream ());
    obj = new Obj (5);
    oos.writeObject (obj);
    oos.flush ();
    B.comunica (obj);
    System.out.println ("AMain sends to Sub: " + obj.toString ());
    try
    p.waitFor ();
    catch (InterruptedException e)
    System.out.println ("Subprogram was interrupted");
    System.out.println (e.toString ());
    ois = new ObjectInputStream (p.getInputStream ());
    System.out.print ("Sub sends to AMain: ");
    obj2 = (Obj) ois.readObject ();
    System.out.println (" " + obj2.toString ());
    oos.close ();
    ois.close ();
    p.destroy ();
    4. The servlet SMain (the calling servlet)
    // Servlet SMain
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    public class SMain extends HttpServlet
    public void doPost (HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException
    Runtime r;
    Process p;
    ObjectInputStream ois;
    ObjectOutputStream oos;
    Obj obj, obj2;
    int state, i;
    res.setContentType ("text/html");
    ServletOutputStream out = res.getOutputStream ();
    out.println ("<html>");
    out.println ("<head><title>Sub</title></head>");
    out.println ("<body>");
    out.println ("Invoking subprogram...");
    out.println ("<br>");
    try
    r = Runtime.getRuntime();
    p = r.exec ("java -cp .;c:\\Programs\\Apache~1.0\\webapps\\SMain\\WEB-INF\\classes Sub");
    out.println ("...invoked<br>");
    oos = new ObjectOutputStream (p.getOutputStream ());
    obj = new Obj (5);
    oos.writeObject (obj);
    oos.flush ();
    out.println ("<br>SMain sends to Sub: " + obj.toString () + "<br>");
    try
    p.waitFor ();
    catch (InterruptedException e)
    out.println ("<br>Subprogram was interrupted<br>");
    out.println ("<br>" + e.toString () + "<br>");
    state = p.exitValue ();
    out.println ("<br>Subprogram state: " + state + "<br>");
    ois = new ObjectInputStream (p.getInputStream ());
    out.print ("<br>Sub sends to SMain: ");
    obj2 = (Obj) ois.readObject ();
    p.destroy ();
    catch (SecurityException e)
    out.println ("<br>SecurityException<br>");
    out.println ("<br>" + e.toString () + "<br>");
    catch (IOException e)
    out.println ("<br>IOException<br>");
    out.println ("<br>" + e.toString () + "<br>");
    catch (Exception e)
    out.println ("<br>Exception<br>");
    out.println ("<br>" + e.toString () + "<br>");
    out.println ("</body>");
    out.println ("</html>");
    So, as you can see, both application AMain and servlet SMain invoke application Sub and pass it the serializable object Obj. Oddly enough, application AMain works fine whereas servlet SMain throws a StreamCorruptedException exception.
    johnpoole said:
    �It's hard to guess what would cause the exception without seeing code, but the interaction between the processes would differ from that between two applications, because the servlet process is started with a different class loader. I'm not sure which one the jvm started by the call would use.�
    How can I enforce that a System classloader be used in the call to Runtime.getRuntime ().exec () ? (I mean by System classloader a classloader equals to the one applications are launched from console).
    johnpoole said
    �Is there a reason why you aren't starting the second process manually and then connecting to it on a port?�
    The idea is providing a Web interface for an application running in the server. The servlet is used to restrict access to this application but once access is granted (passing the servlet) the application should not be constrained.

  • Calling Java Application from another

    How can i call a Java Application from another java App.
    eg., If my Java application is called MyApp and i would like call another java application from within it.
    One way could be by using "System". I would like to know if there is any other method and is portable.
    Thanks in advance.

    hi,
    it works and not!
    if you start an other class with a command like this the 2nd prog/class terminates too if you terminate the caller-class!
    dear
    oliver scorp

  • Calling a java application from j2ee web application

    Hi,
    I have a j2ee application in which i am making a call to a jar file which is a java application.
    Runtime a4 = Runtime.getRuntime();
    Runtime a = Runtime.getRuntime();
    String cmd[] = new String[14];
    cmd[0] = "cmd";
    cmd[1] = "/c";
    cmd[2] = "start";
    cmd[3] = "javaw";
    cmd[4] = "-jar";
    cmd[5] = CATALINA_HOME+"\\webapps\\AveksaTesting\\AveksaTestingJava\\dist\\AveksaTestingJava.jar";
    cmd[6] = SERVER_TESTS;
    cmd[7] = COLLECTOR_TESTS;
    cmd[8] = SYSTEM_TESTS;
    cmd[9] = CREATE_ORACLE;
    cmd[10] = DB_NAME;
    cmd[11] = DB_DUMP;
    cmd[12] = email;
    cmd[13] = isMIGRATE;
    try{
    java.lang.Process p = a.exec(cmd);
    Now in the called java application, i am first shutting down the tomcat server by calling shutdown.bat script and then starting it using startup.bat. But the problem i am facing is when i restart the server from java application, it says address already in use(i.e. port 8445 on which tomcat is runninng).
    Id i just call the java application and do the same operation it works fine. I guess when i am calling java from j2ee application, j2ee still has some threads holding java and not shutting down tomcat properly.
    Can anyone suggest me what can be done in this case. I have to call a java application from j2ee and restart the tomcat server many times.
    Thanks in advance
    -Vikram

    Annoyingly crossposted.
    http://forum.java.sun.com/thread.jspa?threadID=730657

  • Starting an Stopping the db on Windows

    Hi,
    for starting and stopping the db I found those two batch-files StartDB.bat und StopDB.bat.
    StartDB.bat contains
    net start OracleXETNSListener
    net start OracleServiceXE
    @oradim -startup -sid XE -starttype inst > nul 2>&1
    And StopDB contains
    net stop OracleServiceXE
    I am aksing myself, why isn't the OracleXETNSListener process also stopped and isn't it necessary to shutdown the instance with something like
    oradim -shutdown -sid xe?
    Thanks in advance
    Stefan

    Hi,
    Thanks you for your kindness and for www.XE.com :-)
    I was (and perhaps not only me) annoyed by Oracle Net, for example during :
    - Installing EM 10gR1 under AIX 5L, problems with the TNS_ADMIN variable of the oracle unix oracle account and
    the Oracle Universal Installer (OUI) does not prevent.
    - Installing EM 10gR1 under Windows 2003 Server (recently), OUI prevents that one must invalidate the System variable TNS_ADMIN (Yes !)
    - installing HTMLDB 1.5 under AIX 5L, problems with the TNS_ADMIN variable of the oracle unix oracle account and OUI does not prevent.
    And how much among us were annoyed during the installation of XE by the TNS_ADMIN variable ? Many ! But the TNS_ADMIN variable is
    essential to guarantee a "simple" administration.
    For many years i try to make cohabit with Oracle products, it's my challenge and TNS_ADMIN is a key for that. Under Linux
    or Unix, i fix the TNS_ADMIN in the profile of the "oracle" account and under Windows i fix a System variable because it exceeds those
    from registry. Another challenge is to have "similar" scripts under Linux/Unix and Windows, and i think that we can isolate the
    Windows service.
    When I started to work with Oracle, i used the only listener LISTENER. Then having to work with multiple versions on the same server,
    i used a dedicated listener for each database with the higher version (you are right !) but it was heavy to manage. Now,
    i use a only one listener in the same version for all the database of this version (ORACLE_HOME), that appears more coherent to me.
    I do not use for a long time any more the listener LISTENER who listens on the port 1521, a chance for me and XE :-)
    at this time :
    - i have a developpement server under AIX 5L with 8iR3, 9iR2, 10gR1 and TNS_ADMIN.
    - i project to migrate our AIX 4.3 HACMP Cluster with 8iR3 to AIX 5.3 with 9iR2, 10gR1, 10gR2 and of course TNS_ADMIN.
    - At this time, i work with a server under Windows 2003 with 9iR2, 10gR1, EM 10gR1, XE , 10gR2 and always TNS_ADMIN !
    For the AIX HACMP cluster, i project :
    - a listener ADMIN in version 10gR2 for all database, listening on port 1530. (For me ! :-)
    - a listener LSNR_0920 in version 9iR2 for 9iR2 database, listening on port 1531.
    - a listener LSNR_1010 in version 10gR1 for 10gR1 database, listening on port 1532.
    - a listener LSNR_1020 in version 10gR2 for 10gR2 database, listening on port 1533.
    What is extraordinary with Oracle, it is that one can make function several versions on a same machine ! It is a
    little the beginning of a consolidation and facilitates the tests of migration.
    With a server under Linux/Unix (for the oracle account) or Windows (System variable), i fix only :
    - ORA_ADMIN, for example D:\admora or /admora
    - TNS_ADMIN = %ORA_ADMIN%\gdba\tns or ${ORA_ADMIN}/gdba/tns
    - SQLPATH = %ORA_ADMIN%\gdba\sql or ${ORA_ADMIN}/gdba/sql
    - PATH = %ORA_ADMIN/gdba/shell;%PATH% or ${ORA_ADMIN}/gdba/shell:${PATH}
    After, there are several scripts i use like "Sid.cmd" (or Sid under Linux/unix), to fix the environment of an instance.
    What arrives when I launch "Sid.cmd XE"?
    - it call an "env.base.XE.cmd" who fix the variables for the instance XE and call the "env.oracle.OXE10_2_0.cmd" script
    - the "env.oracle.OXE10_2_0.cmd" call the "Clear.cmd" script to unset environment variable and only fix the ORACLE_HOME and the PATH.
    - and then i have a "clear" prompt
    it is perhaps confused but practical for me. I hope this help
    Just my 0.002 Cents
    Henri
    Script Sid.cmd :
    @Echo off
    @Rem ##########################################################################################
    @Rem # Objet : - Positionnement des variables d un instance
    @Rem # $1 : Sid
    @Rem ##########################################################################################
    @Rem ---------------- Validation des parametres
    @Set Sid=%1
    @If Not Defined Sid Goto 001
    @If Not Exist %ORA_ADMIN%\gdba\shell\env.base.%Sid%.cmd Goto 002
    GoTo DEB
    @Rem ##########################################################################################
    @Rem # Debut Traitement
    @Rem ##########################################################################################
    :DEB
    Call :LIG_OK
    Call %ORA_ADMIN%\gdba\shell\env.base.%Sid%.cmd
    Echo.
    Echo ORACLE_SID : %ORACLE_SID%
    Echo ORACLE_HOME : %ORACLE_HOME%
    Echo TNS_ADMIN : %TNS_ADMIN%
    Echo NLS_LANG : %NLS_LANG%
    Echo ADM_BASE : %ADM_BASE%
    Echo EXP_BASE : %EXP_BASE%
    Echo DPD_BASE : %DPD_BASE%
    cd /D %ADM_BASE%
    Call :LIG_KO
    GoTo :EOF
    @Rem ##########################################################################################
    @Rem # Aide
    @Rem ##########################################################################################
    :HLP
    Call :LIG_OK
    Echo %Ligne1%
    Echo # Shell : Sid.cmd
    Echo # Objet : - Positionnement des variables d une instance
    Echo # $1 : ^<Instance^>
    Echo # Usage : Sid.cmd ^<Instance^>
    Echo %Ligne1%
    Call %ORA_ADMIN%\gdba\shell\Clear.cmd
    Call :LIG_KO
    @Goto :EOF
    @Rem ##########################################################################################
    @Rem # Traitement des exceptions
    @Rem ##########################################################################################
    :001
    Call :HLP
    echo.
    echo Parametre 1 : Precisez le nom d une instance
    echo.
    @Goto :EOF
    :002
    Call :HLP
    echo.
    echo Fichier %ORA_ADMIN%\gdba\shell\env.base.%Sid%.cmd absent !!!
    echo.
    @Goto :EOF
    @Rem ##########################################################################################
    @Rem # Affichage
    @Rem ##########################################################################################
    :LIG_OK
    Set Ligne1=##########################################################################
    Set Ligne2=--------------------------------------------------------------------------
    @Goto :EOF
    :LIG_KO
    Set Ligne1=
    Set Ligne2=
    @Goto :EOF
    Script env.base.XE.cmd :
    @Echo off
    Rem ###############################################################
    Rem # Environnement produits
    Rem ###############################################################
    Call %ORA_ADMIN%\gdba\shell\env.oracle.OXE10_2_0.cmd
    Rem ###############################################################
    Rem # Environnement base
    Rem ###############################################################
    Set ORACLE_SID=XE
    Set DB_NAME=XE
    Set NLS_LANG=FRENCH_FRANCE.AL32UTF8
    Set DB_USERID=SYSTEM/S3NNF23N
    Set ADM_BASE=%ORA_ADMIN%\base\%DB_NAME%
    Set EXP_BASE=D:\export
    Set OraDisk1=D:\oradisk1
    Set OraSauve=D:\orasauve
    Script env.oracle.OXE10_2_0.cmd :
    Rem #----------------- Nettoyage de l environnement
    @Call %ORA_ADMIN%\gdba\shell\Clear.cmd
    Rem #----------------- ORACLE_HOME
    Set ORACLE_HOME=D:\oracle\prd\OXE\app\oracle\product\10.2.0\server
    Set PATH=%ORACLE_HOME%\bin;%PATH%
    Script Clear.cmd :
    @Rem #----------------- Nettoyage de l environnement
    @Set PATH=
    @Set ORACLE_HOME=
    @Set ORA_NLS33=
    @Set ORACLE_SID=
    @Set DB_NAME=
    @Set DB_USERID=
    @Set NLS_LANG=
    @Set OH=
    @Set Sid=
    @Set ADM_BASE=
    @Set EXP_BASE=
    @Set DPD_BASE=
    @Set OraDisk1=
    @Set OraDisk2=
    @Set OraSauve=
    @Set CLASSPATH=
    @Set TNS_ADMIN=
    @Rem #----------------- Oracle Net standard
    @Set TNS_ADMIN=%ORA_ADMIN%\gdba\tns
    @Rem #----------------- PATH standard
    @Set PATH=%ORA_ADMIN%\gdba\shell;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;

  • Cannot start or stop the runtime platform

    I have found that I cannot start or stop the runtime platform using the provided
    start_service.sql or stop_service.sql scripts. I can run the scripts without
    error, however the runtime platform does not start.
    The only way I can start/stop the platform is with the run_service_local.bat
    file that starts the rtp from the desktop via a java program.
    My question(s) are:
    1) Can anyone explain why I can't use the start and stop scripts?
    2) How can I configure the rtp to stay up once it has started?
    Any help is greatly appreciated....
    -D

    FYI ***
    The fix was in there were several ora init parms that were set incorrectly:
    aq_tm_processes value is 0 Should be >= 1
    job_queue_processes value is 0 Should be >= 10
    enqueue_resources value is 2392 Should be = 3000
    java_pool_size          value should be >= 20MB

Maybe you are looking for