AS Java instance complications on Oracle Dataguard

Having read many threads on Oracle DR for SAP, still some points remain unclear. Would appreciate if some expert can clear the points below for Java specific Instances:
DR is setup & switchover / failover also takes place fine but Java instance startup fails.
1. Some forums suggested to also copy the usr/sap/SID directory to the standby.
But will it not raise more errors coz the primary server hostname will conflict with the hostname of standby server ?
Directory backup, I suppose works if it is restored on the same host. But what about the different host with different hostname ?
2. I also found that bootstrap gives error "Cluster id [IDXXXXX]" not found in database. (Its the same if we restore the Java back up on a different host with different Instance ID)
This error is also logical & I found that replacing the ID of standby instance by the ID of primary server Java instance in the instance profile parameter "j2ee/instance_id" helped me bring the sytem up & it worked fine. But is it the correct method ? Coz with replaced Instance ID, the system may give errors in future upgrades or deployments, if performed on standby servers due to elimination of primary site.
Instance ID depends on hostname during installation (I read so in some S-Notes; Box number of Java instance). If we replace the ID manually then later sapinst or upgrade operations will detect a conflict in existing & expected Java ID.
So again, whats the proper procedure for Java instances ? Any reference to S-Notes or Guides ? I havn't found yet.
3. Once the DR gets running, & some JSPM / SDM deployment is performed on Primary node, how will the DR system be synch-ed up with primary. DB changes would be updated but I think SDM puts some files on file level also. If we perform a switchover after SDM deployment, will the server come up properly with all deployments, coz some files would be missing on file level.
Whats the technique to resolve this difference ?
Best regards / Thanks for time.
Edited by: Muhammad Ali Ahmed Siddiqui on Jan 29, 2012 10:55 AM

Hi Muhammad,
You should copy "/usr/sap/<SID>/J<Instance#>/j2ee" excluding the folders, below;
"/usr/sap/<SID>/J<Instance#>/j2ee/cluster/server<#>/temp"
"/usr/sap/<SID>/J<Instance#>/j2ee/cluster/log"
Then, start the config tool, search for old hostname the replace with the new one.
>> Instance ID depends on hostname during installation (I read so in some S-Notes; Box number of Java instance). If we replace the ID manually then later sapinst or upgrade operations will detect a conflict in existing & expected Java ID.
It is correct... You will not face a trouble during the java archive package deployment neither on SDM nor JSPM. This number is checked by the system during the SAP upgrade. In short, if you are planning to upgrade on the new system after the role transition, you will face with the problem, because of the box number. This is because this number is calculated by hostname, instance# and SID
As a last suggestion is; you can replicate the files between hosts, noted on my first paragraph, by using robocopy (Windows) or rsync (UX)
Best regards,
Orkun Gedik

Similar Messages

  • 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+JAVA stack and oracle dataguard

    Hi all,
    I use Oracle Dataguard for my Data recovery System.
    How can I manage tha Java part of nw2004s. In case of failover or switchover, the ABAP part is OK but the J2EE cannot start.
    Thank's for your help,
    Regards
    Oracle 10.2.0.2 on Windows 2003 x64 R2

    It's ok guys. I just replace the j2ee/cluster directory of standby system by the one of source system.
    The j2e engine can be started.

  • 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

  • Issue connecting to a second instance on a Oracle Linux Box.

    Hi all. I have the following scenario.
    - Two Oracle versions and instances on the same box (10g Rel2 and 11g Rel2).
    - Due to lack of disk space i installed 11g on another ORACLE_BASE / ORACLE_HOME:
    - Initial enviroment (10g):
    [oracle@VM1 ~]$ echo $ORACLE_BASE
    /home/oracle/app
    [oracle@VM1 ~]$ echo $ORACLE_HOME
    /home/oracle/app/OraDb10g
    [oracle@VM1 ~]$ echo $ORACLE_SID
    BETA
    [oracle@VM1 ~]$ echo $PATH
    /home/oracle/app/OraDb10g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    - 11g related values:
    [oracle@VM1 oracle]$ echo $ORACLE_BASE
    /u01/oracle
    [oracle@VM1 oracle]$ echo $ORACLE_HOME
    /u01/oracle/Oradb11g
    [oracle@VM1 oracle]$ echo $ORACLE_SID
    ALFA
    [oracle@VM1 oracle]$ echo $PATH
    /u01/oracle/Oradb11g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    [oracle@VM1 oracle]$
    Both databases are running including :
    - listener 1521 for 10g and 1525 for 11g-
    *10g:*
    [oracle@VM1 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-JAN-2013 06:42:27
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1521*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 04-JAN-2013 05:25:12
    Uptime 0 days 1 hr. 17 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/OraDb10g/network/admin/listener.ora
    Listener Log File /home/oracle/app/OraDb10g/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "*BETA.azucarera_rioturbio.com.ve*" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETAXDB.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETA_XPT.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-JAN-2013 06:43:25
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1525*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 04-JAN-2013 05:23:02
    Uptime 0 days 1 hr. 20 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/oracle/Oradb11g/network/admin/listener.ora
    Listener Log File /u01/oracle/diag/tnslsnr/VM1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1525)))
    Services Summary...
    Service "*ALFA.rioturbio.com.ve*" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    Service "ALFAXDB.rioturbio.com.ve" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 oracle]$
    - Instances and Enterprise Manager Database Control:
    *10g:*
    [oracle@VM1 ~]$ emctl status dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /home/oracle/app/OraDb10g/VM1.rioturbio.com.ve_BETA/sysman/log
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory /u01/oracle/Oradb11g/VM1.rioturbio.com.ve_ALFA/sysman/log
    [oracle@VM1 oracle]$
    The problem happen when i try to access the 11g instance using sqlplus:
    [oracle@VM1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:46:55 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> show sga
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL>
    or
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:47:43 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    However when access is performed using a TNS service connection it works....!
    See:
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g@alfa
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:48:48 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    SQL> show sga
    Total System Global Area 1043886080 bytes
    Fixed Size 2219952 bytes
    Variable Size 620757072 bytes
    Database Buffers 415236096 bytes
    Redo Buffers 5672960 bytes
    SQL>
    Which seems to be the problem here? Why can't i connect to the 11g instance using sqlplus?. I don't think it is related to enviroment since access can be done using local naming service.
    Please help ...!
    PD: i did not replace scripts on /usr/local/bin when installing 11g.

    myluism wrote:
    Hi all. I have the following scenario.
    See embedded comments below
    - Two Oracle versions and instances on the same box (10g Rel2 and 11g Rel2).
    - Due to lack of disk space i installed 11g on another ORACLE_BASE / ORACLE_HOME:
    - Initial enviroment (10g):
    [oracle@VM1 ~]$ echo $ORACLE_BASE
    /home/oracle/app
    [oracle@VM1 ~]$ echo $ORACLE_HOME
    /home/oracle/app/OraDb10g
    [oracle@VM1 ~]$ echo $ORACLE_SID
    BETA
    [oracle@VM1 ~]$ echo $PATH
    /home/oracle/app/OraDb10g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    - 11g related values:
    [oracle@VM1 oracle]$ echo $ORACLE_BASE
    /u01/oracle
    [oracle@VM1 oracle]$ echo $ORACLE_HOME
    /u01/oracle/Oradb11g
    [oracle@VM1 oracle]$ echo $ORACLE_SID
    ALFA
    [oracle@VM1 oracle]$ echo $PATH
    /u01/oracle/Oradb11g/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    [oracle@VM1 oracle]$
    Both databases are running including :
    - listener 1521 for 10g and 1525 for 11g-
    An unnecessary complication that achieves nothing. A single listener, using the default name LISTENER and the default port 1521 is quite capable of -- WAS DESIGNED TO -- service multiple database instances of multiple versions running from multiple homes. In a multi-version environment, you'll want to use the listener from the highest version.
    *10g:*
    [oracle@VM1 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 04-JAN-2013 06:42:27
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1521*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.4.0 - Production
    Start Date 04-JAN-2013 05:25:12
    Uptime 0 days 1 hr. 17 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/OraDb10g/network/admin/listener.ora
    Listener Log File /home/oracle/app/OraDb10g/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "*BETA.azucarera_rioturbio.com.ve*" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETAXDB.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "BETA_XPT.azucarera_rioturbio.com.ve" has 1 instance(s).
    Instance "BETA", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-JAN-2013 06:43:25
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=VM1.rioturbio.com.ve)(*PORT=1525*)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 04-JAN-2013 05:23:02
    Uptime 0 days 1 hr. 20 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/oracle/Oradb11g/network/admin/listener.ora
    Listener Log File /u01/oracle/diag/tnslsnr/VM1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VM1.rioturbio.com.ve)(PORT=1525)))
    Services Summary...
    Service "*ALFA.rioturbio.com.ve*" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    Service "ALFAXDB.rioturbio.com.ve" has 1 instance(s).
    Instance "ALFA", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@VM1 oracle]$
    - Instances and Enterprise Manager Database Control:
    *10g:*
    [oracle@VM1 ~]$ emctl status dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /home/oracle/app/OraDb10g/VM1.rioturbio.com.ve_BETA/sysman/log
    [oracle@VM1 ~]$
    *11g:*
    [oracle@VM1 oracle]$ emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://VM1.rioturbio.com.ve:5500/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory /u01/oracle/Oradb11g/VM1.rioturbio.com.ve_ALFA/sysman/log
    [oracle@VM1 oracle]$
    The problem happen when i try to access the 11g instance using sqlplus:
    [oracle@VM1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:46:55 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    What was the setting of ORACLE_SID when you did this?
    SQL> show sga
    ORA-01034: ORACLE not availablewell, of course you get ORACLE not available. It already told you "Connected to an idle instance" . There is no running instance of the current value of ORACLE_SID.
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL>
    or
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:47:43 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    However when access is performed using a TNS service connection it works....!
    Because when you connect with TNS, you are no longer dependent on the current setting of $ORACLE_SID.
    See:
    [oracle@VM1 oracle]$ sqlplus system/Oradba11g@alfa
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 4 06:48:48 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    SQL> show sga
    Total System Global Area 1043886080 bytes
    Fixed Size 2219952 bytes
    Variable Size 620757072 bytes
    Database Buffers 415236096 bytes
    Redo Buffers 5672960 bytes
    SQL>
    Which seems to be the problem here? Why can't i connect to the 11g instance using sqlplus?. I don't think it is related to enviroment since access can be done using local naming service.Regardless of what you think, It is absolutely, 100% related to your environment settings.
    >
    Please help ...!repeat your above demo, but with this modification
    id
    cat /etc/oratab
    env |grep ORA | sort
    echo $PATH
    sqlplus / as sysdbaIn a multi-db environment, you need to always set your environment before trying to work with any database. The easiest way is to use the oracle utility 'oraenv'
    oracle:orcl$ . oraenv
    ORACLE_SID = [orcl] ? dwsbx
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 is /u01/app/oracle
    oracle:dwsbx$ echo $ORACLE_SID
    dwsbx
    oracle:dwsbx$Notice the command is 'dot space oraenv'
    >
    PD: i did not replace scripts on /usr/local/bin when installing 11g.

  • Steps to uninstall AS-JAVA Instance

    I have installed a machine with AS-ABAP and AS-JAVA instance.
    Since my Java is not running and my files are corrupted, i am planning to uninstall AS-JAVA and reinstall.
    Please let me know the steps of how to uninstall AS-JAVA instance.
    What is the option i have to select in SAPINST

    Hi Balaji,
    1. Log on as user with Admin Rights. Do not use SIDadm
    2. Control Panel > Add/Remove Programs
    3. Find SAP entries.
    Then delete database instance. to do this
    1.open command prompt and go to <DRIVE>:\oracle_home\bin
    2. enter "oradim -delete -sid <DBSID>"
    3. Delete Oracle\<DBSID> directories on all drives.
    4. Delete init<DBSID>.dba, init<DBSID>.ora, init<DBSID>.sap
    from
    <DRIVE>:\oracle_home\database directory
    5.Delete listener.ora, tnsames.ora, sqlnet.ora from
    <DRIVE>:\Oracle_home\network\admin directory
    You may install another system after you have done these steps
    Please reward points if helpful
    Regards,
    Jeff

  • MDM with separated ABAP and Java Instance

    We installed SAP ERP system with SRM server and Portal as Java instance.
    We use Oracle and have 2 oracle schemas/instances: ABAP and Java.
    After mounting of MDM server and DBMS configuraiton (to Java instance) we have the following oracle objects:
    Oracle Schema A2I_XCAT_DBS
    2 oracle users: A2I_XCAT_DBS (owner of the schema) and MDMADMIN
    2 tablespaces A2I_A2I_XCAT_DBS.DBF and A2I_A2I_XCAT_DBS_IX.DBF within the main dbs directory E:\oracle\<sid>\102\database
    The used tablespace was set to PSAPTEMP
    Questions:
    1) How can the DBMS configuration will be removed, because the oralce path  E:\oracle\<sid>\102\database was wrong
    Unfortunately we would like to avoid merge MDM and Portal data in one and the same tablespace PSAPTEMP
    2) Where can we find the oracle configuration for MDM with Java Schema, but using their own tablespace?

    Are you basically trying to put a new User Interface (UI) on top of MDM because you do not want to use the standard MDM UI?  If so, then yes you could write a custom WebDynpro and use the MDM API.  We evaluated WebDynpro as an option, but instead we built a new Adobe Flex based UI that sits on top of the MDM Catalog and it totally awesome!  There is a sample on our website (www.simplifying-it.net), but we are making some changes to the look/feel... however, the sample demo on the website should give you an idea.
    If you have any questions, please let me know.
    Thanks,
    Mark

  • After Restoring/Backup of File System XI Java Instances are not up!

    Hello all,
    We are facing problem in restoring the SAP XI System, after taking backup of the system the <b>java instances</b> in SAP XI System are not starting again. ABAP connections are fine.
    Can anyone provide suggestions/solutions in order to restore the XI System back.
    The system information is as follows.
    System Component:     SAP NetWeaver 2004s, <b>PI 7.0</b>
    Operating System:     SunOS 5.9, SunOS 5.10
    Database:          ORACLE 9.2.0.
    Regards,
    Ketan Patel

    If it´s REALLY a PI 7.0 (SAP_BASIS 700 and WebAS Java 7.00) then it´s not compatible. WebAS 7.00 needs Oracle 10g (http://service.sap.com/pam)
    Also see
    http://service.sap.com/nw2004s
    --> Availibility
    --> SAP NetWeaver 7.0 (2004s) PAM
    If you open the Powerpoint, you will see that Oracle 9 is not listed. I wonder, how you got that installed.
    Neverless, if you recover a Java instance, both filesystem and database content (of the Java schema) must be in sync, means, you need to restore both, database (schema) and filesystem, that have been backed up at the same time.
    Check Java Backup and Restore :
    Restoring the System
           1.      Shut down the system.
           2.      Install a new AS Java system using SAPInst, or restore the file system from the offline backups that you created.
           3.      Import the database backup using the relevant tools provided by the database vendor.
           4.      Overwrite the SAP system directory /usr/sap/.
           5.      Start the system (see Starting and Stopping SAP NetWeaver ABAP and Java.)
    The J2EE Engine is restored with the last backup.
    Markus

  • After Restoring/Backup File System XI Java Instances are not up!

    Hello all,
    We are facing problem in restoring the SAP XI System, after taking backup of the system the java instances in SAP XI System are not starting again. ABAP connections are fine.
    Can anyone provide suggestions/solutions in order to restore the XI System back.
    The system information is as follows.
    System Component: SAP NetWeaver 2004s, PI 7.0
    Operating System: SunOS 5.9, SunOS 5.10
    Database: ORACLE 9.2.0.
    Regards,
    Ketan Patel

    I would correct Oracle version is 10.2.0
    I would also like to reframe my problem.
    XI server(both abap and Web) was working fine. Every weekend we take full backup(file system+DB)(UFS) of server. After taking backup server got up and we were able to login through abap but java web page was not openning. We did some troubleshooting it didn't work and finaly we restored the backup and somehow it worked. Next week after backup again same problem arose. We again restored latest backup but this time problem still exists.
    Regards,
    Ketan

  • Java instance doesn't start in our portal system after db restore

    We just restored the db of our live portal system to our portal qa system.
    Our live portal system is EP 7.0, db version:Oracle 10.2.0.2 and os version: Windows 2003 server 64 bit
    Our QA portal system is EP 7.0, db version:Oracle 10.2.0.2 and os version: Windows 2003 server 32 bit
    We converted the 64 bit db to 32. DB opened without a problem.
    We also changed the Dispatcher and server ids in configuration files and config tool one by one.
    When we try to open SAP, the java process fails after a few seconds.
    We searched the log files and found the error:
    D:\usr\sap\<SID>\JC00\exe\jlaunch.exe=>sapparam(18): D:\usr\sap<SID>SYS\profile\<SID>_JC00_<hostname>: line 21 starts with illegal byte sequence
    D:\usr\sap\<SID>\JC00\exe\jlaunch.exe=>sapparam(18): D:\usr\sap\<SID>\SYS\profile\<SID>JC00_<hostname>: reading canceld after 101 illegal bytes
    Any suggestions
    Tolga

    Hi Tolga,
       Check whether the SAP SUPER USER (SAP *) is active or not,If it is active just deactivate it bocos if it is active java instance might not start in certain cases
    Regards,
    Tilak..

  • SNC Java Architecture - Where to install Java instance?

    Hi...
    We are workin on installing SCM - SNC. 
    What is the common architecture for installing the ABAP and Java components for SCM and SNC?  Are the ABAP and Java components normally installed on the same server?  From the installation, it seems they should be separatel but I have heard of no customer examples that have this architecture.
    If installed seperately, can the Java instance be shared with other SAP customer facing solutions?
    Are there any good architecture diagrams that clearly show this?  The refridgerator style diagrams don't help.
    What is recommended?

    Tug,
    Thanks for your reply.
    So I understand that I can install OC4J stand-alone 10.1.3.2 on a SUN computer running Solaris 9, in any directory and as any user.
    Correct?
    Currently we have it installed in "$ORACLE_BASE/product" and owned by user "oracle".
    However, a different user is used to launch it.
    My gut instinct is that it should be owned by the user who launches it and it should not be under "$ORACLE_BASE".
    I'm just trying to confirm the correctness of my gut instinct.
    Because I don't recall reading anything anywhere regarding where OC4J stand-alone 10.1.3.2 should be installed nor who should own it.
    Thanks,
    Avi.

  • 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

  • *URGENT HELP REQUIRED* java.sql.SQLException: Invalid Oracle URL specifed

    Hi all,
    In the middle of the last week for my final year project and having to convert to an Oracle database due to compatibility problems with university Tomcat Server and MS Access. I'm having trouble connecting to the Oracle database and would appreciate some help please.
    Running on Windows 98 in the lab here, and the Oracle 9i, release 9.2.0.2.0, J2SDK1.4.0, Classes12.zip installed OK.
    Code for connection looks like this inside the constructor of my class:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    cardSaleConnexion = DriverManager.getConnection("jdbc:oracle:[email protected]:1521:sid","user_name","pwdt");
    System.out.println("Connection Successful ");
    And I'm getting the following error when calling the constructor in a driver program:
    java.sql.SQLException: Invalid Oracle URL specified
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:188)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at CardSale.<init>(CardSale.java:30)
         at Driver.main(Driver.java:11)
    Exception in thread "main"
    Please reply on a very urgent basis.
    Kind regards,
    Peter

    Try ojdbc14.jar as the JDBC driver instead of classes12.zip.
    Refer:
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html
    http://docs.sun.com/source/817-5603-10/index.html
    Database Driver
    This section describes the known database driver issues and associated solutions.
    ID      Summary
    4700531      On Solaris, an ORACLE JDBC driver error occurs.
         This new Java Database Connectivity (JDBC) driver is for Oracle (R) working with JDK1.4. The problem is caused by a combination of the Oracle 9.1 database and ojdbc14.jar. Applying the patch will fix the problem on Solaris 32-bit machine, running an Oracle 9.0.1.3 database.
         Solution
         Obtain and apply the patch to your server from the Oracle Web site for Bug 2199718. Perform the following steps:
         1.��Go to the Oracle web site.
         2.��Click the 'patches' button.
         3.��Type 2199718 in the patch number field.
         4.��Click the 32-bit Solaris OS patch.Go to Metalink.oracle.com.
         5.��Click patches.
         6.��Under patch number, enter 2199718.
         7.��Click the 32 bit Solaris OS patch.
    4707531      On Solaris, accessing an Oracle 9.1 database with an Oracle 9.2 Client may cause data corruption.
         If you use an Oracle (R) 9.2 client to access an Oracle 9.1 database, data corruption might occur when a number column follows a timestamp column.
         The problem might be caused by using the ojdbc14.jar file with an Oracle 9.1 database. Applying the patch might assist in addressing the situation on Solaris 32-bit machines, running an Oracle 9.1 database. This JDBC driver is for Oracle working with JDK1.4.
         Solution
         Obtain the patch that Oracle might make available from the Oracle web site for Bug 2199718 and apply it to your server.
    Regards,
    Pankaj D.

  • Explicit cast needed to convert java.* to to oracle.*

    Hello,
    I am trying to compile and run the following JSP but keep getting the "Incompatible type for = Explicit cast needed ..." error. The JSP and oracle procedure code are as follows:
    <%@ page language="java" import="java.sql.*" %>
    <%@ page import="oracle.jdbc.driver.*" %>
    <HTML>
    <HEAD>
    <TITLE>
    SimpleQuery JSP
    </TITLE>
    </HEAD>
    <BODY BGCOLOR=EOFFFO>
    <TABLE BORDER=1 BGCOLOR="C0C0C0">
    <TH BGCOLOR="white"> <I>Node ID</I> </TH>
    <%
         Connection con = null;
    OracleCallableStatement cstmt= null;
         ResultSet rs = null;
    try {
              String SYSTEM_DB_DRIVER =
    "oracle.jdbc.driver.OracleDriver";
    String SYSTEM_DB_URL =
    "jdbc:oracle:thin:@myserver.com:1521:";
    String SYSTEM_DB_FILE = "CONN_STRING";
    String SYSTEM_DB_USER = "UNAME";
    String SYSTEM_DB_PASSWORD = "PASSWD";
              Class.forName(SYSTEM_DB_DRIVER);
    con = DriverManager.getConnection(SYSTEM_DB_URL +
    SYSTEM_DB_FILE, SYSTEM_DB_USER, SYSTEM_DB_PASSWORD);
              cstmt = con.prepareCall("call eaicl_p_requirement.open_rule_dtl(?,?)");
              cstmt.registerOutParameter(1, OracleTypes.CURSOR);
    <<I think I have to pass the p_product_id_in here but not sure how>>
              cstmt.execute();
              rs = ((OracleCallableStatement)cstmt).getCursor(1);
              while(rs.next())
              {%>
         <TR>
         <TD ALIGN=CENTER> <%= rs.getString(1) %> </TD>
         <TD ALIGN=CENTER> <%= rs.getInt(2) %> </TD>
    </TR>
              <%}
                   rs.close();
    cstmt.close();
    con.close();
    catch(Exception e)
    %>
    </TABLE>
    </BODY>
    </HTML>
    The Oracle PL/SQL package.procedure it is calling is:
         PROCEDURE open_rules_dtl (
              prc_rules_dtl_out          OUT     rc_fetch_rule_dtl,
              p_product_id_in          IN          NUMBER )
         IS
              vrc_rules_dtl               rc_fetch_rule_dtl;
         BEGIN
              OPEN vrc_rules_dtl FOR
                   SELECT
                        r.rule_id,
                        r.rule_name,
                        r.rule_objective,
                        r.rule_description,
                        r.clearance_requirement,
                        r.rule_type
                   FROM
                        eaicl_rule r
                   WHERE
                        r.is_old = 'N' AND
                        r.product_id = CHR( p_product_id_in )
                   ORDER BY
                        r.rule_name
              prc_rules_dtl_out := vrc_rules_dtl;
    END open_rules_dtl;
    I keep getting the following error on the webserver:
    [05/Dec/2001:16:56:02] info ( 632): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\iPlanet\Server4\https-wacc\config\..\ClassCache\_jsps\_ss_test5_jsp.java:84: Incompatible type for =. Explicit cast needed to convert java.sql.CallableStatement to oracle.jdbc.driver.OracleCallableStatement.
              cstmt = con.prepareCall("call eaicl_p_requirement.open_rule_dtl(?,?)");
              ^
    I'm not sure how to fix it. I also need to pass the p_product_id parameter to the procedure.
    Hope someone can point me in the right direction. Thanks.

    Here's how you do an explicit cast:cstmt = (OracleCallableStatement)con.prepareCall("call eaicl_p_requirement.open_rule_dtl(?,?)");

  • How to configure oracle dataguard for connecting to the second nic.

    hi
    i want deploy my oracle dataguard on a remote site on a separate lease line
    and on the second nic of the primary. i just have a concern that what
    configurations should be made in the primary or standby to make sure the replication can work as the first nic is connected to receive the general database
    data and the second nic is being planned for replication only.
    so how standby will come to know that it has to pick which one of then.
    waiting for an early reply
    manish lall
    [email protected]

    thanks for the reply
    does that mean nothing is to be needed to configure for oracle standby as such.
    can you give me some idea of how this ip routing configuration will be done

Maybe you are looking for