Restart of java Instance

Hello,
When I restart the java instance of sap PI (stopsap && startsap) I see that a lot of applications don't start.
In order to sse that I go to NetWeaver Administrator > Operations > Start & Stop
in the first tab (Java Instance) I don't see any instance
In the tab "Java Services" all the services are started
In the tab "Java Applications" a lot of applications are not started.
Could you please tell me how to automate the start of these applications when I restart the server.
Thanks.

Hello accsap      
If you system has instances ABAP+JAVA
There a transaction for restart the services of JAVA
The transactions is SMICM and enter in the option  "Administration, J2EE instance (Local), Send Soft Shutdown, With Restart"
I understand that you problem in this moment is that you system is not start.
I have a problem same with my system and the problem was the system not has Memory for start the J2EE, this problem was because the "J2EE" grows and grows in the consume of memory and was not release, in the moment of  restart the server physical, my problem is solved.
atte.
Gerardo Ceballos

Similar Messages

  • Automatic restart of portal/java instance

    Hello!
    At the moment it seems as if we have to restart the java instance at least once a day for having a proper working portal.
    Is there any possibility to automate this restart so that it can be done at night?
    If it's not possible to realize this over SAP can it be done by some scripting on operating system level?
    Greetings & Thanks
    Bettina

    Hi Bettina,
    I would say foccus on the incident first and find out why you need to restart it everyday...
    But a quick answer can be found here: http://help.sap.com/saphelp_nw70/helpdata/en/85/24a64201e7c511e10000000a1550b0/frameset.htm
    the commands:
        <b>stopsap J2EE</b>    
    and
        <b>startsap J2EE</b>
    will do the job.
    Cheers,
    Benjamin Houttuin
    Message was edited by:
            Benjamin Houttuin

  • Trace the user who has started the java instance.

    Hi Gurus,
    How can we trace the users those who restart the java instances?
    Regards,
    Ratan roy

    Hi,
    Check dev traces and java trace files
    \usr\sap\<SID>\<instance name>\work and
    usr\sap\<SID>\<instance name>\j2ee\cluster\server<n>\log
    and /usr/sap/<SID>/<Central instance name>/j2ee/JSPM/
    I am not sure wthr the user who started the instance will be traced you can also try and trace database log files . I am not sure of the path
    Rakesh

  • Kernel upgrade having ABAP+JAVA instance

    Hi team,
    Can you provide the procedure how to kernel upgrade for our windows system having ABAP+JAVA instance releae version 700.
    Provide the links, your replies are very helpful.
    Regards
    Bhaskar

    Hi Bhaskar,
    You can use JSPM too in this case. Otherwise if you want to do it the old fashioned way:
    > Stop SAP, Database, Saprouter, listeners and all the
    related services.
    > The location of the kernel is /usr/sap/<SID>/SYS/exe/run
    > Take a backup of the files in this location and take a
    print out of the ls -ltr (This is needed to give the new files the
    correct permissions)
    > Overwrite all the new files to the kernel location. The
    purpose is to retain the old files for which the new version is not
    available.
    > The permissions of the file need to be changed as they
    were before.
    > Restart all the processes. The kernel upgrade is
    now done. System
    > status will give the newer version of the kernel.>
    >
    disp+work
    Will give the
    new Kernel version.
                            Finding files easily: http://www.easymarketplace.de/KernelPatches.php
    Regards,
    hemanth

  • Soft-restart of Java node by  using command line utility

    Hello,
    Could anyone advise whether there is a way to soft-restart the java node by using a command line utility (if there is one)?
    I would like to script to run in unix.
    Kind regards,
    Murad.

    Thank you for all your reply.
    Does Jcmon issue soft-restart?
    We have problem with Veritas Cluster. When there failover occurs, Java nodes appears to be online when we check from SMICM, but in fact it looses connection to the central instance. We have to issue a soft-restart for each java node to create connection again. It is a known bug and this only can be fixed by using replicated enqueue server. This only available in SP, which we can not apply right now. What I want to do is to create a script to automate the soft-restart which will be run just after failover.
    Thanks,
    Murad

  • Java instance startup failure

    Dear gurus,
    the sap java instances was restarted and failed to work after wards, below is the content of the jcontrol log in the work directory.
    [Thr  4] Sat Aug 21 08:02:43 2010
    [Thr  4] ***LOG Q0I=> NiPConnect: connect (146: Connection refused) [nixxi.cpp 2513]
    [Thr  4] *** ERROR => NiPConnect: SiConnect failed for hdl 3 / sock 13
        (SI_ECONN_REFUSE/146; I4; ST; 192.168.220.9:3901) [nixxi.cpp    2513]
    [Thr  4] *** ERROR => MsIAttachEx: NiBufConnect to MLPSAP/3901 failed (rc=NIECONN_REFUSED) [msxxi_mt.c   652]
    [Thr  4] *** WARNING => Can't reconnect to message server (MLPSAP/3901) [rc = -100]-> reconnect [jcntrms_mt.c 368]
    BR,
    Tolu

    Error clearly shows that it is not being able to connect to Message Server. I don't know which OS you are using. Check the process SCS<INSTNO> in OS. Whether this is up or not. For Unix (AIX), we normally check it through ps -ef | grep SCS
    Either your SCS is not up or existing shown process is having some problem. If you don't find any process SCS then start SCS and JAVA will be up. And if SCS is already running, then close the same or kill the same and then start it again. It should resolve your problem.
    Thanks.

  • How to remove a Java instance from the config tools

    Hi,
    I would like to remove a java instance from the config tool since that server does not exist anymore.  Is there a way?
    Please le me know.
    Thanks
    Jean

    Jean,
    I think you can do this if you remove the entries of your Instance from instance.properties file located under the below path.Take a backup of the file first then do the changes and Restart the server once done.
    /usr/sap/SID/JCInstanceno/j2ee/cluster/instance.properties
    Hope this helps.

  • Restarting failed BPEL instances in production

    1. Assume there are 1000 transactions per hour. If one of the 3rd party services is down (say Oracle Apps) for an hour and 1000 bpel instances have failed, How do we restart the failed 1000 instances at the same time (or in a single click)? We want to avoid the administrator going and starting each BPEL instances separately.
    2. If the BPEL flow has 10 activities in the flow and all instances have failed in the 6th activity (calling Oracle Apps Adapter service), when we restart the failed instance, Will it again redo the first 5 activities or will it start exactly from where it failed?
    Thanks,
    Joe

    You said:
    1 Assume there are 1000 transactions per hour. If one of the 3rd party services is down (say Oracle Apps) for an hour and 1000 bpel instances have failed, How do we restart the failed 1000 instances at the same time (or in a single click)? We want to avoid the administrator going and starting each BPEL instances separately.
    It could be that processes are restarted by the BPEL PM by itself. Otherwise the message of the instances are recorded in the dehydration store. You can recover the message from this recover area via the BPEL console. You can selected them all and recover them at once. Or you create a Java program using the BPEL API to perform this. BUT it all depends on your process design! If a process fails, it should go into the exception flow and handled by the exception process, aka error-hosipital. If processes should be re-started you must design it.
    2. If the BPEL flow has 10 activities in the flow and all instances have failed in the 6th activity (calling Oracle Apps Adapter service), when we restart the failed instance, Will it again redo the first 5 activities or will it start exactly from where it failed?
    It depends in the process-type; synchronous or a-synchronous. A synchronous process will fail and restarteing should be done via the calling process, because the sync process does not dehydrate. An a-sync process will de-hydrate his process state on specific aktivities; receive/invoke/wait, when a process fails it will contuniue from his last process state.

  • How can I correlate an Java instance number with a server id?

    I have 6 Web App Server running ABAP and the JAVA stacks. I can log into the Central Instance server and run /usr/sap/<SID>DVEBMSG00/j2ee/configtool/configtool.sh and bring up the GUI interface to "see" all the instances and their variables. I don't see an easy way to trace back the Java INSTANCE to the physical server's hostname.
    Is there a central repository to correlate a Web App Server Java instance number to the actual hostid/hostname of the target server? I realize I can log into each Web App Server and look at the /usr/sap/<SID>D00/j2ee/cluster/instance.properties and find the Instance number, but I was wondering if this information was held in the SAP Central instance or SAP Database somewhere.

    Hi Timothy,
    The instance ID used for the JAVA cluster is generated at installation time, and -amongst other things- takes into account the time it was generated. We installed two instances in parallel (on different hosts) and ended up with almost the same instance ID.
    Because this can be very confusing, we asked SAP if this was changable - in theory it is only an ID which could be changed as long as it is updated on all places the identifier is stored - but SAP indicated that that is not possible, nor supported. We ended up with a diagram of the system architecture with all the identifiers on our desk.
    Note that in the config tool - all instances are displayed with their system instance number. If you were to install a new system it might be usefull to install all instances with different instance numbers so you and distinguish more easily between them.
    Hope this helps,
    Cheers,
    Walter

  • How to restart a java process in Oracle AS 10g

    Hi
    In Oracle AS 10g, the java process consumes 50% cpu resource due to the report invoked by a user. Now I need to restart the java back ground process?, please reply me with the syntax or with examples.
    ps -eaf
    CPU PROCESS
    50% /ORACLE_HOME/jdk/jre/bin/java -server -cp /report/oracle
    Thanks in advance
    Bala

    The copy method being using is unsupported, hence the target Portal would be in an unsupported state.
    This is unsupported as per the following note:
    Note 333867.1 - Portal Export and Import Utility Supportability Scenarios :
    Copy operations after an object is renamed:
    Exporting and importing a page group, then renaming the page group on the target system (to create a copy) and repeating the export and import operation.
    OR:
    Exporting and importing a page group, then renaming the same in source or target and repeating the export and import operation.
    Not supported.
    Please do not rename objects if you plan to perform export and import operations.
    Note: The display name can be changed, but internal name change is considered a renaming operation.
    In 10.1.4, renaming is supported, but renaming page group and pages with the intention of copying them is not supported..."

  • Java instance not working in ECC6

    Hi,
    I was installed ECC6 on Winsever2003 and oracle10g intialy both java and abap instaces works fine EP also works fine sudenly after three days Java instance is not starting but ABAP instance working fine without any problem I am posting error log here please suggest me or help me in this regard
    Here is develpoer trace log:
    trc file: "dev_enqsrv", trc level: 1, release: "700"
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    66
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        2620
    [Thr 4084] Mon Jul 07 19:50:57 2008
    [Thr 4084] *** ERROR => ShmDelete: Invalid shared memory Key=34. [shmnt.c      719]
    [Thr 4084] *** ERROR => ShmCleanup: ShmDelete failed for Key:34. [shmnt.c      793]
    [Thr 4084] initialize_global: enqueue server without replication
    [Thr 4084] Enqueue: EnqMemStartupAction Utc=1215440457
    [Thr 4084] Enqueue Info: replication enabled
    [Thr 4084] Enqueue Info: enque/replication_dll not set
    [Thr 4084] Mon Jul 07 19:50:58 2008
    [Thr 4084] ***LOG GEZ=> Server start [encllog.cpp  493]

    Hi,
    useing cleanipc u can delete old sharedmemory follow the bellow steps hope this will be helpful
    Delete the old shared memories manually by entering:
    cleanipc <SAPSYSTEM> remove
    You can take the value of <SAPSYSTEM> from the profile file enqsrv.pf.
    cleanipc is in /usr/sap/<SID>/SYS/exe/run.

  • Java instance installation fails for EP 6.0 SR1 on AIX 5.1/Oracle 9.2

    Hi Friends
    I am currently installing EP 6.0 SR1 on NW04 on AIX 5.2 & Oracle 9.2.0.1, last few steps of installation I applied Oracle patchset 9.2.0.5. I am using the option SAPNW SR1-> Java system -> Central system ->custom installation-> Java system, the installation stops at step 30(Load Java database content) of 36 giving the message "java.sql.SQLException:Ioexception: The Network adapter could not establish the connection.
    I am also attaching the contents of log jload.log & jload.java.log. Really appreciate if somebody who has faced similar problem or knows the solution can provide a tip, thanks in advance.
    CDBAXD08:oraepd 27> more jload.log
    11.03.05 20:05 com.sap.inst.jload.Jload main
    INFO: Jload -sec
    EPD,jdbc/pool/EPD,/sapmnt/EPD/global/security/data/SecStore.properties,/
    sapmnt/EPD/global/
    security/data/SecStore.key -dataDir /epinst/was_java/J2EE_OSINDEP/J2EE-
    ENG/JDMP -job /tmp/sapinst_instdir/N
    W04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/IMPORT.XML -
    log /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST
    /jload.log
    11.03.05 20:05 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    java.sql.SQLException: Io exception: The Network Adapter could not
    establish the connection
    CDBAXD08:oraepd 28> more jload.java.log
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    ClassicVM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM)
    build caix64142ifx-20041126 (JIT en
    abled: jitc))
    Mar 11, 2005 8:05:10 PM com.sap.inst.jload.Jload main
    INFO: Jload -sec
    EPD,jdbc/pool/EPD,/sapmnt/EPD/global/security/data/SecStore.properties,/
    sapmnt/EPD/global/
    security/data/SecStore.key -dataDir /epinst/was_java/J2EE_OSINDEP/J2EE-
    ENG/JDMP -job /tmp/sapinst_instdir/N
    W04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/IMPORT.XML -
    log /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST
    /jload.log
    Mar 11, 2005 8:05:15 PM com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    java.sql.SQLException: Io exception: The Network Adapter could not
    establish the connection
    FYI the SID name given to the Java instance is EPD & the output of
    java -version of the 3 id's root, epdadm & oraepd is as attached.
    CDBAXD08:epdadm 1> java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM)
    build caix64142ifx-20041126 (JIT enabled: jitc))
    Thanks & Rgds,
    Abhishek

    Hi Abhishek,
    I'm trying to install EP 6.0 SR1 on Aix and DB2.   I'm having problems with Secure Store installation step (Encryption: JCE and Crypto Toolkit).
    Did you have any problems with this ?   From which place did you get the JCE file ? 
    Thanks for your help, I really appreciate it !
    Regards from Mexico,
    Diego

  • Abap Instance + Java Instance

    Hi people,
    In the sap netweaver 7.0 EHP1 SR1, it´s possible to make the installation firstly the abap instance (Business Warehouse), and after the installation has finished to do the installation the java instance (Enterprise portal) ?
    In the installation guide
    Installation GuideSAP NetWeaver 7.0 ABAP+Java including Enhancement Package 1 SR1 on Windows Oracle
    In the new features says that:
    New dual stack (ABAPJava) systems only for SAP NetWeaver Process Integration (PI) and SAP NetWeaver Mobile Infrastructure (MI) --> As of SAP NetWeaver 7.0 including enhancement package 1, you can install dual stack (ABAPJava) systems only with usage type Process Integration (PI) or Mobile Infrastructure (MI). This means you can only install a dual stack system either as a Process Integration system or as a Mobile Infrastructure system.
    Installation option Java Add-In for ABAP disabled --> As of SAP NetWeaver 7.0 including enhancement package 1, the installation option Java Add-In for ABAP is disabled. That is, you can no longer install the Java Add-In to an existing ABAP system.
    It´s possible??
    More thanks

    Hi Rubben,
    That's true , with New relase of SAP we cannot install abap + java execpt for PI and MI due to some performance issues.
    Even concept of java addin has been removed by SAP.
    So, IF you want to install java with Abap , then you can fullful your requirement by installing seperate java instance .
    Thanks
    Anil

  • Should I use a separate JAVA instance for ADS

    My customer has Enterprise portal and R/3 installed already.  Now they want ADS installed.  Would it be best to install a new JAVA instance for ADS or should I use the existing JAVA instance that is installed for the portal?  I think the customer is preferring to use a separate instance so nothing already installed breaks.  Also, if I do use a separate JAVA instance, should I connect to the portal through SLD?
    Thanks,
    Peggy

    Hello,
    Installation of new java instance for ADS (or) using the one available inthe portal java instance depends on the following factors:-
    1) How much extra load can the existing java instance handle
    2) What is the user case and expected load for ADS in the customer landscape?
    3) Whether ADS will be used exclusively for portal ?
    Following link may give you a better idea of whether to use ADS within applicaiton portal (or) use standalone ADS
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0ce3d21-cb09-2e10-36b0-e4c8167389f6?quicklink=index&overridelayout=true
    Rgds,
    Mat.

  • How to  change host name entry for java instance using config tool

    Hi Gurus,
    We are trying to invoke DR for dual stack SAP PI system.Strategy followed is BR Tool  backup and restore method.
    We are able bring up ABAP stack and it is still pointing to production Java stack.
    Could any one please guide us with step by step procedure to change entries and bringing up java stack for DR system.
    While bringing up java instance we are facing below issues
    From starting framework it goes back to collecting data stack.
    Thanks,
    Avadhesh Sharma    
    +91-8095226536

    Hi Avadhesh,
    For dual stack systems backup/restore method is not recommended procedure for DR.
    As it will have hostnames from Production.
    Good approach will be to have export of Production Java stack and import the same into DR  OR
    Have the DR system installed using virtual hostnames which are similar to Production hostname.
    When DR needs to be operational enable these virtual hostnames.
    Hope this helps.
    Regards,
    Deepak Kori

Maybe you are looking for