Java Export hangs at 'Export Java Database Content' phase

Hi All -
As part of system refresh activities,we are doing Java Export from our Production system(PE1) & we will use that export to import it in our Qulaity system(QE1).So while doing Java Export,the export gets stucks/hangs at 'Export Java Database Content" phase which is the last phase in Java Export steps.We have been doing this task since many years  & we did not encounter this kind of issue ever.There are no errors or at least warnings in the logs like sapinst_dev.log,jload.log,jload.java.log,sapinst.log etc.Our environment details are as below
EP -6.0
OS - AIX 5.3,64 BIT
DB - DB2 UDB
SAPINST version - 642
Java version is below
pe1adm> java -fullversion
java full version "J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20100918 (SR13 FP6)"
Please note with the SAPINST we are using currently, the exports of remaining systems in EP & other solutions like ECC,CR,SRM,XI,BI are successfull.We are having this issue only in PE1.Looks like some bug in code.So request the experts in this forum to please take a look at it & provide me with solution if any of you have faced the similar situation.
Thanks & regards,
Nagendra.

Thank you for your reply Subhash.The below is the last entry in jload.log.It is at EP_ATTR_HEADERS.While doing the Java export,we asked our DBA to monitor to find out any errors at DB side.He monitored and said that no deadlocks or no infinite loops are found.Also he said that he cannot create index for that too because it is trying to do select *.In our first 2 or 3 attempts it used to hang at CA_PRODUCTS meta data exported,CA_PROPERTY meta data exported.Now here.Our DBA said that EP_ATTR_HEADERS has 1.4M rows.We tried to bounce the entire system also,but no luck.We have the same issue.Peculiar thing is we dont see any errors or warnings in the logs.
23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
INFO: EP_ATTR_DEFS exported (6 rows)
23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
INFO: EP_ATTR_HEADERS meta data exported
Please let me know if you need any further info in resolving this issue.
Thanks & regards,
Nagendra.

Similar Messages

  • Installation hangs at step 18-Load Java Database Content

    Hi,
    I am trying to install NW04s WAS. No matter, how many times I uninstall & reinstall(after properly clearing registry entries by running supplied cleaner.exe,stop the Xserver services if running), the installation just doesn't progress at step 18- 'Load Java Database Content'.
    Here is what I did:
    I read other threads and checked from the SAP Management Console if the DB is online. It is online and the DB is not full.But the log and Data states are shown as 0%.
    Next, according to some threads I  removed the JDK 1.4.2_15 and installed 1.4.2_12 version.No use.
    I couldn't find any other threads with suggestions which could be of help to my issue.
    I am using windows vista home premium.I get some errors during installation but not during step 18. so I am not sure whether to consider those errors for this issue.
    <u>Following is the phase information:</u>
    PHASE 2007-09-22 15:40:18
    Prepare the installation program.
    WARNING[E] 2007-09-22 15:43:05
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    WARNING[E] 2007-09-22 15:44:47
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    WARNING[E] 2007-09-22 15:45:50
    Error converting from service name=sapmsJ2E/protocol=tcp to port number. SAPRETURN=12
    ERROR 2007-09-22 15:50:42
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPOsCol).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_01).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_01).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_00).
    ERROR 2007-09-22 15:51:12
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_00).
    WARNING 2007-09-22 15:52:11
    While copying files to 'C:\usr\sap\J2E\SCS01\exe': source file 'C:\usr\sap\J2E\SYS\exe\run/icudt26.dll' not found.
    WARNING 2007-09-22 15:52:12
    While copying files to 'C:\usr\sap\J2E\JC00\exe': source file 'C:\usr\sap\J2E\SYS\exe\run/icudt26.dll' not found.
    ERROR 2007-09-22 15:52:31
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPOsCol).
    WARNING 2007-09-22 15:54:12
    Execution of the command "C:\usr\sap/J2E/JC00/igs/bin/igswd.exe 'C:\usr\sap\J2E\JC00\igs' '-c' '-tracelevel=1' '-mux=Karthik-PC,40000' '-listenerhttp=40080' '-portwatcher=40001' '-portwatcher=40002'" finished with return code 1. Output:
    PHASE 2007-09-22 16:03:03
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:03:22
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:04:29
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:05:18
    Deploying SDAs (using SDM and SAP J2EE Engine).
    PHASE 2007-09-22 16:05:59
    SAP J2EE Engine
    PHASE 2007-09-22 16:06:09
    JLoad Run
    I have spent a lot of time to have this installed. Please somebody help.
    Thanks
    Karthik

    Hi Raja and Anatoliy Misyura  ,
    Thanks a lot for taking time to reply to my issue.
    1)I completely unistalled the previous version by running clearner.exe and stopping the services,removing sapdb folder etc.,
    2)Then I disabled my antivirus,firewall etc.,
    3)Installed jdk 1.4.2_11(after removed the previously tried version 1.4.2_12
    4)Ran the SAPInst installer
    But unfortunately still the installer stops at the same step!
    Don't know what's going wrong.....
    Raja- Can you tell me what is the windows OS version you have? Mine is home premium.
    Thanks
    Karthik
    Can you guys let me know if you have any other suggestions

  • Portal Install Fails During "Load Java Database Content"

    Hi,
    I'm installing our production enterprise portal and it is failing on
    the following step:
    "Load Java Database Content"
    When I load at the jload.log I see the following error message:
    20.06.06 14:11 com.sap.inst.jload.Jload main
    INFO: Jload -sec
    EPP,jdbc/pool/EPP,D:\usr\sap\EPP\SYS\global/security/data/SecStore.properties,D:\usr\sap\EPP\SYS\global/security/data/SecStore.key -dataDir
    Z:/NW04PortalCDs/DVD_JAVA\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\Program
    Files\sapinst_instdir/IMPORT.XML -log C:\Program
    Files\sapinst_instdir/jload.log
    20.06.06 14:11 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    java.sql.SQLException: [SAP NetWeaver][SQLServer JDBC Driver][SQLServer]Login failed for user 'SAPEPPDB'. Reason: Not associated with a trusted
    SQL Server connection.
    Our landscape is as follows:
    production portal server - serverA
    production datbase instance (clustered) - serverB
    production database server (cluster) - serverB(virtual name)The portal is sharing a database with our R3 production server.
    I've noticed that the user SAPEPPDB exists in the database as a windows
    user and I've given that user all roles in the database but it is still
    unable to connect.
    Please help.
    Regards,
    Jeff

    Did you get an answer back on this? I am getting the same problem

  • Error Installing at phase 22, load Java Database Content

    I am using XP SP1. I got the error at phase 22, load Java Database Content. The following is the log file.
    Please help.
    James
    SAPinst is getting started.
    Please be patient ...
    guiengine: login in process.
    ERROR      2005-09-03 06:00:14 [ianxbservi.hpp:235]
               CServiceHandle::Open(SAPOsCol)
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPOsCol).
    ERROR      2005-09-03 06:00:44 [ianxbservi.hpp:235]
               CServiceHandle::Open(SAPJ2E_01)
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_01).
    ERROR      2005-09-03 06:00:44 [ianxbservi.hpp:235]
               CServiceHandle::Open(SAPJ2E_01)
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_01).
    ERROR      2005-09-03 06:00:44 [ianxbservi.hpp:235]
               CServiceHandle::Open(SAPJ2E_00)
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_00).
    ERROR      2005-09-03 06:00:44 [ianxbservi.hpp:235]
               CServiceHandle::Open(SAPJ2E_00)
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPJ2E_00).
    ERROR      2005-09-03 06:01:32 [ianxbservi.hpp:235]
               CServiceHandle::Open(SAPOsCol)
    FSL-06002  Error 1060 (The specified service does not exist as an installed service.
    ) in execution of a 'OpenService' function, line (255), with parameter (SAPOsCol).
    ERROR      2005-09-03 06:53:19
               CJSlibModule::writeError_impl()
    CJS-20065  Execution of JLoad tool 'C:\j2sdk1.4.2_08/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;c:\sapdb\programs\runtime\jar\sapdbc.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jce_export.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J2E,jdbc/pool/J2E,C:\usr\sap\J2E\SYS\global/security/data/SecStore.properties,C:\usr\sap\J2E\SYS\global/security/data/SecStore.key' '-dataDir' 'C:/@SAP/NW04SneakPrevJavaSP11/NW04SneakPrevJavaSP11/NWSneakPreviewSP11/SAP_NetWeaver_04_SR_1_Installation_Master_DVD__ID__51030843\IM01_NT_I386\..\..\SneakPreviewContent\JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log'' aborts with returncode 2. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.java.log' for more information.
    ERROR      2005-09-03 11:56:24
               CJSlibModule::writeError_impl()
    CJS-20065  Execution of JLoad tool 'C:\j2sdk1.4.2_08/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;c:\sapdb\programs\runtime\jar\sapdbc.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jce_export.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J2E,jdbc/pool/J2E,C:\usr\sap\J2E\SYS\global/security/data/SecStore.properties,C:\usr\sap\J2E\SYS\global/security/data/SecStore.key' '-dataDir' 'C:/@SAP/NW04SneakPrevJavaSP11/NW04SneakPrevJavaSP11/NWSneakPreviewSP11/SAP_NetWeaver_04_SR_1_Installation_Master_DVD__ID__51030843\IM01_NT_I386\..\..\SneakPreviewContent\JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log'' aborts with returncode 2. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.java.log' for more information.
    ERROR      2005-09-03 11:56:40
               CJSlibModule::writeError_impl()
    CJS-20065  Execution of JLoad tool 'C:\j2sdk1.4.2_08/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;c:\sapdb\programs\runtime\jar\sapdbc.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jce_export.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J2E,jdbc/pool/J2E,C:\usr\sap\J2E\SYS\global/security/data/SecStore.properties,C:\usr\sap\J2E\SYS\global/security/data/SecStore.key' '-dataDir' 'C:/@SAP/NW04SneakPrevJavaSP11/NW04SneakPrevJavaSP11/NWSneakPreviewSP11/SAP_NetWeaver_04_SR_1_Installation_Master_DVD__ID__51030843\IM01_NT_I386\..\..\SneakPreviewContent\JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log'' aborts with returncode 2. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.java.log' for more information.
    ERROR      2005-09-03 12:00:42
               CJSlibModule::writeError_impl()
    CJS-20065  Execution of JLoad tool 'C:\j2sdk1.4.2_08/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;c:\sapdb\programs\runtime\jar\sapdbc.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jce_export.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J2E,jdbc/pool/J2E,C:\usr\sap\J2E\SYS\global/security/data/SecStore.properties,C:\usr\sap\J2E\SYS\global/security/data/SecStore.key' '-dataDir' 'C:/@SAP/NW04SneakPrevJavaSP11/NW04SneakPrevJavaSP11/NWSneakPreviewSP11/SAP_NetWeaver_04_SR_1_Installation_Master_DVD__ID__51030843\IM01_NT_I386\..\..\SneakPreviewContent\JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log'' aborts with returncode 2. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.java.log' for more information.
    ERROR      2005-09-03 12:00:47
               CJSlibModule::writeError_impl()
    CJS-20065  Execution of JLoad tool 'C:\j2sdk1.4.2_08/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;c:\sapdb\programs\runtime\jar\sapdbc.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jce_export.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J2E,jdbc/pool/J2E,C:\usr\sap\J2E\SYS\global/security/data/SecStore.properties,C:\usr\sap\J2E\SYS\global/security/data/SecStore.key' '-dataDir' 'C:/@SAP/NW04SneakPrevJavaSP11/NW04SneakPrevJavaSP11/NWSneakPreviewSP11/SAP_NetWeaver_04_SR_1_Installation_Master_DVD__ID__51030843\IM01_NT_I386\..\..\SneakPreviewContent\JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log'' aborts with returncode 2. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.java.log' for more information.
    Exit status of child: 1

    Yes, you need to download the new installer or you need to change your system setting timezone settings to GMT+1. I faced this problem too but once you are in the middle of installing it, there will be something somewhere missing. The best thing to do is to uninstall the application and unmount the database instance. Uninstall utility 'UNINSTSAP.EXE' is available in the "C:\usr\sap\J2E\JC00" location.
    Look at the steps mentioned in the following post by Prakash Gowda.
    Error during Load Java Database content at phase 18
    Hope this helps and please don't forget to close the thread if answered.
    Srinivas

  • Load Java Database Content

    Hi all,
    the step
    Load Java database content
    during the installation of the SneakPreview SP11 takes now more than 1 hour. Is this the normal duration?
    Is there any logfile or something to check the progress?
    All comments are appreciated.
    Juergen

    I have run into a similar problem while installing the Java Edition. The install process stops at the 18th step which is "Load Java Database Content" with an error message. The error text is:
    "An error occurred while processing service SAP NetWeaver Sneak Preview 04 Support Release 1> Migration - Target System Installation."
    I have tried the installation about 6 times on different systems and it stops at the same step.

  • Installation: Load java Database Content Step

    I was unable to install. It is doing untill the 17th Step. Tried of couple of times. Kept it going for more than 12 hours.
    os: Windows 2003 Server. Ram > 1GB
    Any advice?
    Thanks
    Devendar

    Your system is very similar to me. Please try to uninstall the whole system including MaxDB. Before next reinstallation, I recommend you to change Regional setting and language to Germany. The most important thing is to change timezone to GMT+1 with daylight saving.
    Anyway, it might be helpful if you can post error message in your log file (Click on 'View Log').

  • Error in load database content step

    Hi All,
    I am having a problem in step 22, the "Load Java database content" step, in the Netweaver Sneak Preview SP15 installation procedure.
    It seems that the program that is wanting to connect to the J2E database is failing. The details of the log browser are below.
    ERROR 2006-01-16 18:13:04
    CJS-20065  Execution of JLoad tool 'C:\Java\j2sdk1.4.2_08/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;d:\sapdb\programs\runtime\jar\sapdbc.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jce.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J2E/SYS/global/security/lib/tools/w3c_http.jar' '-Duser.timezone=Europe/Berlin' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J2E,jdbc/pool/J2E,C:\usr\sap\J2E\SYS\global/security/data/SecStore.properties,C:\usr\sap\J2E\SYS\global/security/data/SecStore.key' '-dataDir' 'D:/nwunrar/NWSneakPreviewSP15/SAP_NetWeaver_04_SR_1_Installation_Master\IM01_NT_I386\..\..\SneakPreviewContent\JDMP' '-job' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/IMPORT.XML' '-log' 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log'' aborts with returncode 1. Check 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.log' and 'C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_COPY\ONE_HOST/jload.java.log' for more information.
    The contents of the file jload.log/jload.java.log are almost the same. Listed below is the error mentioned there.
    17.01.06 00:13:04 com.sap.inst.jload.Jload logStackTrace
    SEVERE: com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://labnw/J2E [Restart required].
         at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:183)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:500)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:254)
         at com.sap.inst.jload.db.DBConnection.connectViaSecureStore(DBConnection.java:105)
         at com.sap.inst.jload.db.DBConnection.connect(DBConnection.java:149)
         at com.sap.inst.jload.Jload.main(Jload.java:580)
    Thank you for your help in advance.
    Regards
    Sumit.

    I changed the timezone for the installation to the German timezone, and restarted the installation from the start - after uninstalling everything, and dropping the database.
    Everything went through.
    Thank You.
    Sumit.

  • R3ldctl error for - ABAP Database Content Export -

    Hello !!!
    While running <b>sapinst</b> to perform the export phase, I see the next error message at console:
    <b>Error: 2007-03-05 11:57:40 [iaxxbrunas.cpp:269]
    CIaRunAsUser::run_impl()
    MOS-01012  PROBLEM: '/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/ ' returned with '2' which is not a defined as a success code.</b>
    <u>Detailed info about system & procedure for export:</u>
    O.S.  Linux RedHat 2.4.21-37.ELsmp
    Machine type: i686 
    Component Version: Business Information Warehouse 3.10
    Kernel Release: 620
    Software component: SAP_BW 3.10, Patch level: 0026
    DB: Oracle 9.2.0.5.0
    <i>I try to create a Database EXPORT using R3load – Based procedure.</i>
    I use for that: Installation_Master_6.20_6.40_09_06, from the tree control, I choose:
    SAP Patch Collection Installation Master,
    >SAP NetWeaver‚ 04 SR1
      >System Copy
       >Source System
        >ABAP System
         >Oracle
          >Unicode
           >ABAP Database Content Export
    <i>In phase of Database export:</i>
    In <b>sapinst.log</b> file is put the error message:
    <b>ERROR 2007-03-05 11:57:40
    MOS-01012  PROBLEM: '/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/ ' returned with '127' which is not a defined as a success code.</b>„
    In <b>R3ldctl.log</b> file is put the error message:
    <b>/sapmnt/BWD/exe/R3ldctl: error while loading shared libraries: libsapu16.so: cannot open shared object file: No such file or directory</b>
    Has anyone experienced this error? If so, how did you resolve it ?
    thanks in advance for any suggestion and help,
    Augustin EDVES,
    [email protected]
    Electrica Transilvania Nord - Romania

    Hallo,
    I choose Non Unicode way, but still error:
    <b>ERROR 2007-03-06 15:00:11
    MOS-01012  PROBLEM: '/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/ ' returned with '2' which is not a defined as a success code.</b>
    persist.
    In log file <b>R3ldctl.log</b>  is not write any messages,... consider that is a good sign.
    In log file <b>R3ldctlExport.log</b>  is write error message:
    <b>DbSl Trace: OCI-call 'OCIInitialize' failed: rc = -1
    DbSl Trace: OCI-call 'OCIErrorGet' failed: rc = -2
    ERROR: DbSlConnect rc= 99
    DbSl Trace: OCI-call 'OCIInitialize' failed: rc = -1
    DbSl Trace: OCI-call 'OCIErrorGet' failed: rc = -2</b>"
    Log file <b>R3ldctlExport.log</b>  is created under <i>user/group = bwdadm/sapsys</i>.
    I execute sapinst under <i>user/group = root/root</i>.
    Curiously is: under  <i>user/group = bwdadm/sapsys</i> from console, command  
    <i>/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/</i>
    is executed with success.
    But .. in logfile <b>R3ldctlExport.log</b>  is a set of warning messages, like that, for all tables founded:
    "<b>WARNING: no technical settings for table "BTCJSTAT" in SAP data dictionary - defaults used</b>"
    In export directory <b>/instal/export/DATA/</b>  is created files like:
    49173 -rw-rr    1 bwdadm   sapsys       4929 Mar  6 15:16 DDLORA.TPL
    49171 -rw-rr    1 bwdadm   sapsys       1048 Mar  6 15:16 SAP0000.STR
    Thanks for any suggestion or help
    Augustin EDVES

  • Exporting web Dynpro content into ms-word

    Hi Experts,
    Any one can tell me how to export web Dynpro content (like tables and data etc) into ms-word document.
    Any help is greatly appreciated and rewarded.
    Regards,
    Jay

    Hi Varma,
    you can follow the thred,
    [http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/edc2f3c2-0401-0010-8898-acd5b6a94353]
    In this pdf this code is avaliable. please chek it this code
    public void Download_Reporting( com.sap.tc.webdynpro.progmodel.api.IWDNode dataNode, java.util.Map columnInfos )
        //@@begin Download_Reporting()
         byte[] excelXMLFile;
              IWDCachedWebResource cachedExcelResource = null;
              String fileName = dataNode.getNodeInfo().getName() + ".xls";
              try {
    //             create Excel 2003 XML data as a byte array for the given context node,
    //             attributes and headers
              excelXMLFile = toExcel(dataNode, columnInfos).getBytes("UTF-8");
    //             create a cached Web Dynpro XLS resource for the given byte array
    //             and filename
    cachedExcelResource = getCachedWebResource(excelXMLFile, fileName, WDWebResourceType.XLS);
    //             Store URL and file name of cached Excel resource in context.
              if (cachedExcelResource != null) {
              wdContext.currentContextElement().setExcelFileURL(
              cachedExcelResource.getURL());
              wdContext.currentContextElement().setExcelFileName(
              cachedExcelResource.getResourceName());
    //             Open popup window with a link to the cached Excel file Web resource.
              openExcelLinkPopup();
              } else {
              wdComponentAPI.getMessageManager().reportException(
              "Failed to create Excel file from table!", true);
              } catch (UnsupportedEncodingException e) {
              wdComponentAPI.getMessageManager().reportException(
              e.getLocalizedMessage(), true);
              } catch (WDURLException e) {
              wdComponentAPI.getMessageManager().reportException(
              e.getLocalizedMessage(), true);
        //@@end
    Here please check it this line  cachedExcelResource = getCachedWebResource(excelXMLFile, fileName, WDWebResourceType.XLS);
    here you can u put like this cachedExcelResource = getCachedWebResource(excelXMLFile, fileName, WDWebResourceType.DOC);
    Here different Options is avaliable please find it
    Hope it is help full for u
    Regards
    Vijay kalluri

  • How to migrate Java Dictionary content from the one to the other server?

    Good day!
    We have a few developments which uses java dictionary DC and JPA. It's on NW CE7.2. Now we need to migrate all developments to NW 7.4. The question is how to migrate all java dictionary content for these developments? The main purpose not to develop any more:).
    Thanks in advance!

    I think the problem is solved.
    Through the SQL Developer (Oracle) we can export the needed data and import it again where we need it.

  • Error while trying to export my database using this command

    Hi,
    I am trying to export my database using this command :
    expdp system/manager@db1 full=n schemas=kul4231 dumpfile=kul4231_20091122.dmp logfile=kul4231_20091122.log directory=dump_dir1
    Error:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-31626: job does not exist
    ORA-31637: cannot create job SYS_EXPORT_SCHEMA_05 for user SYSTEM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT_INT", line 600
    ORA-39080: failed to create queues "KUPC$C_1_20091122101110" and "" for Data Pump job
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPC$QUE_INT", line 1606
    ORA-01008: not all variables bound
    DB version : Release 10.2.0.4.0
    all ideas are welcomed!!!!!!!!!!!! let me know where am i going wrong!!!!!!!
    thanks in advance..!!!!!!!!
    venkat.

    What is your SGA settings? (especially streams_pool_size).
    You can try to bump streams_pool_size to 100M if your current setting is below that.
    Regards
    Tomasz K.

  • System copy using SAPInst(Export Import database Independent prcoess failed

    Hello ,
    I am doing a System copy using SAPInst export/import process .
    Source system : SAP Netweaver'04( BW 3.5 , Kernel : UC 640 ,Patch level 196 )
    Export process fails at Phase 2 -  Database Export at R3load jobs running 1,waiting 0 . Below is the log details
    SAPSDIC.log
    (EXP) INFO:  entry for BAPICONTEN                        in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20000621155733
    (EXP) INFO:  entry for BAPICONTENT255                    in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20031127161249
    (EXP) INFO:  entry for BAPICONVRS                        in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20010131174038
    (EXP) INFO:  entry for BAPICREATORDATA                   in DDNTT is newer than in DDNTT_CONV_UC: 20040211101817 > 20000621155733
    (EXP) INFO:  entry for BAPICRMDH1                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
    (EXP) INFO:  entry for BAPICRMDH2                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
    (EXP) INFO:  entry for BAPICRMEXP                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175513 > 20031211120627
    (EXP) INFO:  entry for BAPICRMEXT                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175514 > 20031211120627
    (EXP) INFO:  entry for BAPICRMKEY                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
    (EXP) INFO:  entry for BAPICRMKEY_T                      in DDNTT is newer than in DDNTT_CONV_UC: 20051229175835 > 20031211120803
    (EXP) INFO:  entry for BAPICRMMSG                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175654 > 20031211120714
    (EXP) INFO:  entry for BAPICRMMSG_T                      in DDNTT is newer than in DDNTT_CONV_UC: 20051229175835 > 20031211120803
    (EXP) INFO:  entry for BAPICRMOBJ                        in DDNTT is newer than in DDNTT_CONV_UC: 20051229175514 > 20031211120628
    (EXP) INFO:  entry for BAPICRMPAREX_T                    in DDNTT is newer than in DDNTT_CONV_UC: 20051229175452 > 20031211120305
    (EXP) INFO: limit reached, 5000 tables in DDNTT are newer than in DDNTT_CONV_UC
    (EXP) INFO: NameTab check finished. Result=2  #20100113131216
    (EXP) INFO: check for inactive NameTab entries: Ok.
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (DB) INFO: disconnected from DB
    D:\usr\sap\B35\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\B35\SYS\exe\run/R3load.exe: END OF LOG: 20100113131216
    ***SAPCLUST.log ****
    (NT)  Warn:  EDIDOC: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
    (EXP) TABLE: "EDIDOC"
    (NT)  Warn:  PCDCLS: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
    (EXP) TABLE: "PCDCLS"
    (NT)  Warn:  SFHOA: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
    (EXP) TABLE: "SFHOA"
    (NT)  Warn:  SFHYT: normal NameTab from 20040211095029 younger than alternate NameTab from 20000621155733!
    (EXP) TABLE: "SFHYT"
    (NT)  Warn:  UMG_TEST_C: normal NameTab from 20040211095029 younger than alternate NameTab from 20031113150115!
    (EXP) TABLE: "UMG_TEST_C"
    myCluster (55.22.Exp): 712: error when retrieving alternate nametab description for physical table UMG_TEST_F.
    myCluster (55.22.Exp): 713: return code received from nametab is 32
    myCluster (55.22.Exp): 299: error when retrieving physical nametab for table UMG_TEST_F.
    (CNV) ERROR: data conversion failed.  rc = 2
    (RSCP) INFO: I18N_NAMETAB_TIMESTAMPS not in env: checks are ON (Note 738858)
    (DB) INFO: disconnected from DB
    D:\usr\sap\B35\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\B35\SYS\exe\run/R3load.exe: END OF LOG: 2010011312563
    Please suggest.
    Thanks & Regards
    Ganesh

    Is your DB unicode?  If so, did you select the unicode flag in sapinst?
    This [thread|System Copy Error while exporting ABAP; might offer some help.
    -Zach

  • Java DataBase in NetBeans!!

    Hi there,
    can you help guy,
    I have the NetBeans IDE 4.1,
    Oracle 9,
    j2sdk1.4.0,
    and win xp (on standalone machine)
    I remember the old version of NetBeans, you can use Mounting FileSystem for jdbc\oracle\driver
    to use the OracleDriver
    but I get message error at compiler says that package jdbc.oracle.driver does not exist
    please I need help in who to do Mounting FileSystem or other way
    here is my code of java
    // Database application using Oracle and Java programming Language
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.swing.*;
    import java.awt.event.*;
    import jdbc.sql.*
    import java.awt.*;
    public class OracleJavaCustomerWindow extends JFrame
    private JLabel labelCId,labelCName,labelCCity,labelCPhone;
    private JTextField textCId,textCName,textCCity,textCPhone;
    private JPanel labelPanel,buttonPanel,textAreaPanel,labelTextAreaPanel;
    private JTextArea outputArea;
    private JScrollPane scrollPane;
    private JButton buttonDisplay,buttonAdd,buttonModifyRecord,buttonUpdate,buttonDelete;
    private JButton buttonClear;
    private JTextField field1,field2,field3,field4;
    private JLabel label1,label2,label3,label4;
    private JPanel mixedPanel,mixedPanel2,fieldPanel1,fieldPanel2,fieldPanel3,fieldPanel4;
    static Connection sqlconn = null;
    // set up GUI with constrictor(IT IS A METHOD. EACHO CLASS AT LEST HAVE ONE)
    public OracleJavaCustomerWindow ()
    super("Display Oracle Data for Customers");
    try{
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              sqlconn= DriverManager.getConnection ("jdbc:oracle:oci:@Kawasaki", "scott", "tiger");
    catch(SQLException ex)
    System.out.println("SQLException:" + ex.getMessage() + "<BR>");     
    // add GUI components to container
    Container container = getContentPane();
    container.setLayout(new FlowLayout(FlowLayout.CENTER));
    // Build labelPanel
    labelCId = new JLabel(" Customer ID");
    labelCName = new JLabel("Customer Name");
         labelCCity = new JLabel("Customer City");
    labelCPhone = new JLabel("Customer Phone");
    labelPanel = new JPanel();
    labelPanel.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
         labelPanel.add(labelCId);
    labelPanel.add(labelCName);
    labelPanel.add(labelCCity);
    labelPanel.add(labelCPhone);
    // Build textAreaPanel
    outputArea = new JTextArea(10,30);
    outputArea.setEditable(false);
    scrollPane = new JScrollPane(outputArea);
    textAreaPanel = new JPanel();
    textAreaPanel.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    textAreaPanel.add(scrollPane);
    // Build labelTextAreaPanel which contains labelPanel and textAreaPanel
    // to be ready for adding to container
    labelTextAreaPanel= new JPanel();
    labelTextAreaPanel.setLayout(new BorderLayout());
    labelTextAreaPanel.add(labelPanel,BorderLayout.NORTH);
    labelTextAreaPanel.add(textAreaPanel,BorderLayout.SOUTH);
    // Buld buttonPanel
    buttonDisplay = new JButton ("Display Table");
    buttonClear = new JButton ("Clear");
    buttonAdd = new JButton("Add New Record");
    buttonUpdate= new JButton("Display Record");
    buttonModifyRecord = new JButton("Modify Record");
    buttonDelete = new JButton("Delete Record");
    buttonPanel = new JPanel();
    buttonPanel.setLayout(new GridLayout(6,1,10,5));
    buttonPanel.add(buttonAdd);
    buttonPanel.add(buttonUpdate);
    buttonPanel.add(buttonModifyRecord);
    buttonPanel.add(buttonDisplay);
    buttonPanel.add(buttonDelete);
    buttonPanel.add(buttonClear);
    // build fieldPanel1
    label1 = new JLabel("Customer Number");
    field1 = new JTextField(10);
    fieldPanel1 = new JPanel();
    fieldPanel1.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    fieldPanel1.add(label1);
    fieldPanel1.add(field1);
    // build fieldPanel2
    fieldPanel2 = new JPanel();
    label2 = new JLabel("Customer Name");
    field2 = new JTextField(10);
    fieldPanel2.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    fieldPanel2.add(label2);
    fieldPanel2.add(field2);
    // build fieldPanel3
    fieldPanel3 = new JPanel();
    label3 = new JLabel("Customer City");
    field3 = new JTextField(10);
    fieldPanel3.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    fieldPanel3.add(label3);
    fieldPanel3.add(field3);
         // build fieldPanel4
    fieldPanel4 = new JPanel();
    label4 = new JLabel("Customer Phone");
    field4 = new JTextField(10);
    fieldPanel4.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
    fieldPanel4.add(label4);
    fieldPanel4.add(field4);
    // Build mixedPanel which contains fieldPanel1, fieldPanel2,fieldPanel3
    // to be ready for adding to container
    mixedPanel = new JPanel();
    mixedPanel.setLayout(new BorderLayout());
         mixedPanel.add(fieldPanel1,BorderLayout.NORTH);
    mixedPanel.add(fieldPanel2,BorderLayout.CENTER);
    mixedPanel.add(fieldPanel3,BorderLayout.SOUTH);
    mixedPanel2 = new JPanel();
    mixedPanel2.add(fieldPanel4,BorderLayout.SOUTH);
    // add all panels to the container
    container.add(mixedPanel);
    container.add(mixedPanel2);
    container.setBackground(Color.DARK_GRAY);
    container.add(labelTextAreaPanel);
         container.add(buttonPanel);
    //--------- Messages to communicate with different objects
    //----------- method to clear the outputarea
    buttonClear.addActionListener(
              // anonymous inner class
    new ActionListener()
    public void actionPerformed(ActionEvent event)
                        outputArea.setText("");
    }// actionPerformed
    }// anonymous inner class
    //--------- method to use button event--------------------
    buttonDisplay.addActionListener(
    //anonymous class
    new ActionListener()
                   public void actionPerformed(ActionEvent event)
                        //Connection sqlca = null;
                   Statement sqlStatement = null;
                   ResultSet rset = null;
                   try{
                             //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                             //sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
                             sqlStatement = sqlconn.createStatement ();
                             rset = sqlStatement.executeQuery ("select * from customers");
                             while (rset.next ()){
                                  String CUSTOMERID=rset.getObject(1).toString();
                                  String CUSTOMERNAME =rset.getObject(2).toString();
                                  String CUSTOMERCITY =rset.getObject(3).toString();
    String CUSTOMERPHONE =rset.getObject(4).toString();
                                  //String map=rset.getObject(4).toString();
                                  //String region=rset.getObject(5).toString();
                                  //System.out.println (id + "\t" + name + "\t" + loc );
                   outputArea.append(CUSTOMERID + "\t" + CUSTOMERNAME + "\t" + CUSTOMERCITY + "\t" + CUSTOMERPHONE + "\n" );
                             } // end while
                        }// end try
                        catch (SQLException ex)
                             System.out.println("SQLException:" + ex.getMessage() + "<BR>");
                        }// catch
    }// action performed
    } // anonymous inner class
    );// end addActionListener
    // ------ method to add Customers to the database
         buttonAdd.addActionListener(
         // anonymous inner class
    new ActionListener()
    public void actionPerformed(ActionEvent event)
    try{
                   Statement sqlStatement = null;
    ResultSet rtbookset = null;
    // create statement
    sqlStatement = sqlconn.createStatement();
    int CUSTOMERID = Integer.parseInt(field1.getText());
    String CUSTOMERNAME = field2.getText();
                   String CUSTOMERCITY = field3.getText();
    int CUSTOMERPHONE = Integer.parseInt(field4.getText());
              // create query
                   String insertquery = "INSERT INTO CUSTOMERS VALUES("
         + CUSTOMERID + "," + "'" + CUSTOMERNAME + "'," + "'" + CUSTOMERCITY + "'," + CUSTOMERPHONE + ")";
              // execute the query
                             sqlStatement.executeQuery(insertquery);
                             // clear the textfields
                             field1.setText("");
                             field2.setText("");
                             field3.setText("");
    field4.setText("");
              JOptionPane.showMessageDialog(null,"Record added");                     
    }// try
    catch(SQLException ex)
                        System.out.println("Record exists :" + ex.getMessage() + "<BR>");
                   }// catch
    }// actionPerformed
    }// anonymous inner class
    //--------- method to use buttonUpdate event--------------------
    buttonUpdate.addActionListener(
    //anonymous class
    new ActionListener()
                   public void actionPerformed(ActionEvent event)
                        //Connection sqlconn = null;
                   Statement sqlStatement = null;
                   ResultSet rset = null;
    int CUSTOMER_ID = Integer.parseInt(field1.getText());
                   try{
                             //int CUSTOMER_ID = Integer.parseInt(field1.getText());
              //String d_name = field2.getText();
                             //String d_loc = field3.getText();
                             //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                             //sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
                             sqlStatement = sqlconn.createStatement ();
                             rset = sqlStatement.executeQuery ("select * from CUSTOMERS where CUSTOMER_ID =" + CUSTOMER_ID);
                             rset.next ();
                             //int id=rset.getInt("DEPTNO");
                             String CUSTOMERID = rset.getObject(1).toString();          
                             String CUSTOMERNAME=rset.getString("CUSTOMER_NAME");
                             String CUSTOMERCITY=rset.getString("CUSTOMER_CITY");
    String CUSTOMERPHONE=rset.getString("CUSTOMER_PHONE");
    field1.setText(CUSTOMERID);
                             field2.setText(CUSTOMERNAME);
                             field3.setText(CUSTOMERCITY);
    field4.setText(CUSTOMERPHONE);
    //buttonUpdate.setEnabled(false);
    //buttonModifyRecord.setEnabled(true);
    //rset.close();
                        }// end try
                        catch (SQLException ex)
                             JOptionPane.showMessageDialog(null,"No Record found with CUSTOMER ID :" + CUSTOMER_ID );
                             //System.out.println("SQLException:No record found" + ex.getMessage() + "<BR>");
                        }// catch
    }// action performed
    } // anonymous inner class
    );// end addActionListener
    //---------Method to modify record------------------------------------
    buttonModifyRecord.addActionListener(
    //anonymous class
    new ActionListener()
                   public void actionPerformed(ActionEvent event)
                        //Connection sqlconn = null;
                   Statement sqlStatement = null;
                   ResultSet rset = null;
                   try{
                             //int dept_no = Integer.parseInt(field1.getText());
              //String d_name = field2.getText();
                             //String d_loc = field3.getText();
                             //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                             //sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
                             sqlStatement = sqlconn.createStatement ();
    int CUSTOMERID = Integer.parseInt(field1.getText());
              String CUSTOMERNAME = field2.getText();
                             String CUSTOMERCITY = field3.getText();
    int CUSTOMERPHONE = Integer.parseInt(field4.getText());
                             String updatequery = "UPDATE CUSTOMERS SET CUSTOMER_NAME = " + "'" + CUSTOMERNAME + "',"
    + " CUSTOMER_CITY = " + "'" + CUSTOMERCITY + "'," + " CUSTOMER_PHONE = " + CUSTOMERPHONE
    + " Where CUSTOMER_ID = " + CUSTOMERID;
              // execute the query
                             sqlStatement.executeQuery(updatequery);
                             // clear the textfields
                             field1.setText("");
                             field2.setText("");
                             field3.setText("");
    field4.setText("");
              JOptionPane.showMessageDialog(null,"Record modified");
    //buttonUpdate.setEnabled(true);
    //buttonModifyRecord.setEnabled(false);
                        }// end try
                        catch (SQLException ex)
                             System.out.println("SQLException:" + ex.getMessage() + "<BR>");
                        }// catch
    }// action performed
    } // anonymous inner class
    );// end addActionListener
    //---------Method to modify record------------------------------------
    buttonDelete.addActionListener(
    //anonymous class
    new ActionListener()
                   public void actionPerformed(ActionEvent event)
                        //Connection sqlca = null;
                   Statement sqlStatement = null;
                   ResultSet rset = null;
                   try{
                             //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                             //sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
                             sqlStatement = sqlconn.createStatement ();
    int CUSTOMERID = Integer.parseInt(field1.getText());
              //String d_name = field2.getText();
                             //String d_loc = field3.getText();
                             String deletequery = "DELETE from CUSTOMERS "
    + " Where CUSTOMER_ID = " + CUSTOMERID;
              // execute the query
                             sqlStatement.executeQuery(deletequery);
                             // clear the textfields
                             field1.setText("");
                             field2.setText("");
                             field3.setText("");
    field4.setText("");
              JOptionPane.showMessageDialog(null,"Record Deleted");
    //buttonUpdate.setEnabled(true);
    //buttonModifyRecord.setEnabled(false);
                        }// end try
                        catch (SQLException ex)
                             System.out.println("SQLException:" + ex.getMessage() + "<BR>");
                        }// catch
    }// action performed
    } // anonymous inner class
    );// end addActionListener
    // specify the size of the window
    setSize(800,500);
    show();
    }// constructor
    public static void main(String args[]) throws IOException{
    OracleJavaCustomerWindow application = new OracleJavaCustomerWindow();
    application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }// main
    } // class OracleJavaWindow
    // exceptions classes
    // inserFailedException is a general exception for
    // SQL insert problems
    /*class insertFailedException extends SQLException
    public insertFailedException(String reason)
         super(reason);
    public insertFailedException(String reason)
         super();
    }*/

    Sorry guys here is the correction of details i have provided
    the Error message tells me that
    package oracle.jdbc.driver does not exist
    and the folder I used to do Mounting SystemFile for was
    C:\Oracle\jdbc\lib\classes12

  • Import and export the database table

    I would like to know what is the syntax of using imp.exe and exp.exe to import and export the database table?
    Could anyone teach me what is the syntax and how could do the export and import in the Forms?
    Thanks a loT~

    try: imp help=yes
    Or read the documentation online on OTN.

  • What   the   Enviroment  required  for java databases programs?

    Hi guys
    What the enviroment required for java databases programs?
    If I have oracle of version 9i and java 1.4.1 platform
    do I need Jdeveloper platform ?

    What the enviroment required for java databases programs?What do you mean by "environment"?
    f I have oracle of version 9i and java 1.4.1 platformYou just need to download Oracle's 9i JDBC driver (ojdbc14.jar) and put that in your CLASSPATH. Then write JDBC code to connect to Oracle and issue SQL commands.
    do I need Jdeveloper platform ?No, JDeveloper is an IDE. Not required.
    Why Java 1.4.1? We're up to Java 6 now. You're two major versions of the JDK behind.
    %

Maybe you are looking for