AES Algorithm error when trying to encrypt using stored Java class.

Dear All,
We have a specific reuirement where in we cannot use DBMS_CRYPTO package to encrypt/decrypt data using AES Algorithm
So I am trying to use a stored Java class and I am getting "AES algorithm not available".
I am using Oracle 10gR2 standard edition.
Below is my code
1. Stored Java class
2. Stored function to access the above Java class.
3. Test anonymus PL/SQL to test above code.
Please help me finding the problem why I am getting "AES algorithm not available" error when I call stored Java class in Oracle.?
**** If I use "DES" algorithm, it works. Also the Java code works well if I execute it as normal Java class from Eclipse.
I verified the java.security file in jre/lib/security and I see that there is provider entry for SunJCE.
The jre version in Oracle is 1.4.2.
I appreciate your help.
Thanks,
Priyanka
Step1: Stored java class to encrypt and decrypt data
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "EncryptUtil" AS
import java.security.Key;
import javax.crypto.Cipher;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
public class EncryptUtil
     public static String encrypt(String inStr)
     String outStr = "Test data 123";
try
KeyGenerator kgen = KeyGenerator.getInstance("AES");
kgen.init(128);
SecretKey skey = kgen.generateKey();
byte[] raw = skey.getEncoded();
SecretKeySpec skeySpec = new SecretKeySpec(raw, "AES");
Cipher cipher = Cipher.getInstance("AES");
cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
byte[] encrypted =
cipher.doFinal(inStr.getBytes());
outStr =new String(encrypted);
catch (Exception e)
     outStr = outStr + "exception thrown::" + e.getMessage();
e.printStackTrace();
return outStr;
Step2: Stored function to access above stored java class.
CREATE OR REPLACE FUNCTION SF_ENCRYPTUTIL(
pKey1 VARCHAR2
) RETURN VARCHAR2 AS
LANGUAGE JAVA NAME 'EncryptUtil.encrypt(java.lang.String ) return java.lang.String';
Step3: Test encryption and descryption
DECLARE
outstr VARCHAR2(2000);
BEGIN
DBMS_OUTPUT.PUT_LINE('outstr-->' || SF_ENCRYPTUTIL('12345'));
END;
Below code example using DBMS_CRYPTO. This works, but we do not want to use this.
declare
l_in_val varchar2(2000) := 'Test data 123';
l_mod number := dbms_crypto.ENCRYPT_AES128
+ dbms_crypto.CHAIN_CBC
+ dbms_crypto.PAD_PKCS5;
l_enc raw (2000);
l_enc_key raw (2000);
l_dec raw (2000);
begin
l_enc := dbms_crypto.encrypt
UTL_I18N.STRING_TO_RAW (l_in_val, 'AL32UTF8'),
l_mod,
HEXTORAW('156ae12300ccfbeb48e43aa016febb36'),
HEXTORAW('001122230405060708090a0b0c0d0e0f')
dbms_output.put_line ('Encrypted='||l_enc);
end;
Edited by: user5092433 on Sep 10, 2009 12:26 AM

I guess I'd be a bit curious about why you can't use a DBMS_CRYPTO solution that provides identical output. It seems odd to want to have a procedure running inside Oracle and then dictate that it has to be Java and not PL/SQL...
I verified the java.security file in jre/lib/security and I see that there is provider entry for SunJCE.
The jre version in Oracle is 1.4.2.Which java.security file are you talking about? The JVM that is inside the Oracle database does not and can not use configuration files that are outside the database. I suspect when you talk about files and paths that you're looking at a JVM outside the database, which is not the JVM that your Java stored procedure would be using.
Looking at the error, my assumption is that some JAR file needs to be loaded into the internal JVM in order for the AES algorithm to be available. But I'm unfortunately not familiar enough with these classes to say what that would be.
Justin

Similar Messages

  • Database Connector Error when trying to add a stored procedure to my report

    I am trying to add a stored procedure to my report and come up with this error Database Connector Error: 'Cannot obtain error from server.'.  This is in any of our environments, and with any stored procedure.  I am able to connect to tables and views without error.  I'm using Crystal Reports 2008.  Any help would be appreciated.   Thanks

    The following SAP Note might help you
    [http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303331333633393335%7D.do]
    regards,
    Raghavendra.G

  • Serveral Errors when trying to install NW2004s Preview Java

    Hello Experts,
    i'm trying to install the NW2004s Java Preview.
    Right my tenth try is running. Everytime the installtion stop with an error in Step "Install Java Engine". Here are the occured error from the installation log:
    <i>ERROR 2007-05-23 12:10:04
    FKD-00037  Query did not return a result.
    ERROR 2007-05-23 12:10:04
    FKD-00038  Query did not return a result.Select attribute oldMasterPassword, statement: WHERE sid  =  'J2E'  AND componentID  =  '|NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|2|0|NW_GetUserParameter|ind|ind|ind|ind|1|0|NW_GetUserParameterWindows|ind|ind|ind|ind|1|0'  AND paramname  =  'sidAdmPassword'
    ERROR 2007-05-23 12:10:04
    FKD-00037  Query did not return a result.
    ERROR 2007-05-23 12:10:04
    FKD-00038  Query did not return a result.Select attribute oldMasterPassword, statement: WHERE sid  =  'J2E'  AND componentID  =  '|NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|2|0|NW_GetUserParameter|ind|ind|ind|ind|1|0|NW_GetUserParameterWindows|ind|ind|ind|ind|1|0'  AND paramname  =  'sapServiceSIDPassword'
    ERROR 2007-05-23 12:11:50
    FKD-00037  Query did not return a result.
    ERROR 2007-05-23 12:11:50
    FKD-00038  Query did not return a result.Select attribute oldMasterPassword, statement: WHERE dbsid  =  'J2E'  AND componentID  =  '|NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_DBUser_Dialogs|ind|ind|ind|ind|2|0'  AND contextname  =  'dbaPassword'
    ERROR 2007-05-23 12:11:50
    FKD-00037  Query did not return a result.
    ERROR 2007-05-23 12:11:50
    FKD-00038  Query did not return a result.Select attribute oldMasterPassword, statement: WHERE dbsid  =  'J2E'  AND componentID  =  '|NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_DBUser_Dialogs|ind|ind|ind|ind|2|0'  AND contextname  =  'dbmPassword'
    ERROR 2007-05-23 12:12:18
    FKD-00037  Query did not return a result.
    ERROR 2007-05-23 12:12:18
    FKD-00038  Query did not return a result.Select attribute oldMasterPassword, statement: WHERE dbsid  =  'J2E'  AND componentID  =  '|NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|4|0'  AND contextname  =  'dbSchemaPassword'
    ERROR 2007-05-23 12:14:57
    FKD-00037  Query did not return a result.
    ERROR 2007-05-23 12:14:57
    FKD-00038  Query did not return a result.Select attribute oldMasterPassword, statement: WHERE sid  =  'J2E'  AND componentID  =  '|NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_UME_Configuration|ind|ind|ind|ind|1|0|NW_UME_Configuration_Standalone|ind|ind|ind|ind|0|0'  AND paramname  =  'sdmPassword'
    ERROR 2007-05-23 12:14:57
    FKD-00037  Query did not return a result.
    ERROR 2007-05-23 12:14:57
    FKD-00038  Query did not return a result.Select attribute oldMasterPassword, statement: WHERE sid  =  'J2E'  AND componentID  =  '|NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_UME_Configuration|ind|ind|ind|ind|1|0|NW_UME_Configuration_Standalone|ind|ind|ind|ind|0|0'  AND paramname  =  'adminPassword'
    ERROR 2007-05-23 12:16:32
    FKD-00037  Query did not return a result.
    ERROR 2007-05-23 12:16:32
    FKD-00038  Query did not return a result.Select attribute oldMasterPassword, statement: WHERE sid  =  'J2E'  AND componentID  =  '|NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_ADS|ind|ind|ind|ind|2|0'  AND paramname  =  'adsUserPasswd'
    ERROR 2007-05-23 13:12:37
    MUT-02041  SDM call of deploy ends with returncode 4
    ERROR 2007-05-23 13:12:37
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2007-05-23 13:12:37
    FCO-00011  The step redeployFS with step key |NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|redeployFS was executed with status ERROR .
    ERROR 2007-05-23 13:21:28
    MUT-02041  SDM call of deploy ends with returncode 4
    ERROR 2007-05-23 13:21:28
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2007-05-23 13:21:28
    FCO-00011  The step redeployFS with step key |NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|redeployFS was executed with status ERROR .
    ERROR 2007-05-23 13:41:19
    MUT-02041  SDM call of deploy ends with returncode 4
    ERROR 2007-05-23 13:41:19
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2007-05-23 13:41:19
    FCO-00011  The step redeployFS with step key |NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|redeployFS was executed with status ERROR .
    </i>
    I have been running already the installation with 2 java SDK version: 1.4.2_09, 1.4.2_13.
    Three days ago i downloaded a new version from the SDN. Tried to install it, received the same error. According to the error, there must be an error with the masterpassword, but i just used the "standard" typical installation. I just change the install drive / partion in the configuration screen before the actual installtation. May it helps to read the XCMDOUT.LOG:
    <i>
    > Subprocess starts at 20070523122713
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 db_enum
    Execute Session Command : exit
    > Subprocess stops at 20070523122713
    OK
    > Subprocess starts at 20070523122713
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 inst_enum
    Execute Session Command : exit
    > Subprocess stops at 20070523122713
    OK
    7.6.00.34    C:\sapdb\J2E\db
    > Subprocess starts at 20070523122714
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe  -R C:\sapdb\J2E\db db_create J2E CONTROL,********
    Execute Session Command : exit
    > Subprocess stops at 20070523122719
    OK
    > Subprocess starts at 20070523122719
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 db_enum
    Execute Session Command : exit
    > Subprocess stops at 20070523122720
    OK
    J2E     C:\sapdb\J2E\db                             7.6.00.34     fast     offline
    J2E     C:\sapdb\J2E\db                             7.6.00.34     quick     offline
    J2E     C:\sapdb\J2E\db                             7.6.00.34     slow     offline
    J2E     C:\sapdb\J2E\db                             7.6.00.34     test     offline
    > Subprocess starts at 20070523122720
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,********
    Execute Session Command : param_startsession
    Execute Session Command : param_init OLTP
    Execute Session Command : param_checkall
    Execute Session Command : param_commitsession
    Execute Session Command : exit
    > Subprocess stops at 20070523122720
    OK
    OK
    OK
    OK
    > Subprocess starts at 20070523122721
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput CACHE_SIZE 25600
    Execute Session Command : exit
    > Subprocess stops at 20070523122722
    OK
    > Subprocess starts at 20070523122722
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput LOG_MIRRORED NO
    Execute Session Command : exit
    > Subprocess stops at 20070523122722
    OK
    > Subprocess starts at 20070523122722
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput MAXUSERTASKS 15
    Execute Session Command : exit
    > Subprocess stops at 20070523122723
    OK
    > Subprocess starts at 20070523122723
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput MAXCPU 1
    Execute Session Command : exit
    > Subprocess stops at 20070523122723
    OK
    > Subprocess starts at 20070523122723
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput FORMAT_DATAVOLUME NO
    Execute Session Command : exit
    > Subprocess stops at 20070523122723
    OK
    > Subprocess starts at 20070523122723
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput LOG_IO_QUEUE 200
    Execute Session Command : exit
    > Subprocess stops at 20070523122724
    OK
    > Subprocess starts at 20070523122724
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput MAXLOCKS 300000
    Execute Session Command : exit
    > Subprocess stops at 20070523122725
    OK
    > Subprocess starts at 20070523122725
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput CAT_CACHE_SUPPLY 3000
    Execute Session Command : exit
    > Subprocess stops at 20070523122726
    OK
    > Subprocess starts at 20070523122726
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput JOIN_MAXTAB_LEVEL4 64
    Execute Session Command : exit
    > Subprocess stops at 20070523122726
    OK
    > Subprocess starts at 20070523122726
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput _UNICODE YES
    Execute Session Command : exit
    > Subprocess stops at 20070523122727
    OK
    > Subprocess starts at 20070523122727
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput DEFAULT_CODE ASCII
    Execute Session Command : exit
    > Subprocess stops at 20070523122727
    OK
    > Subprocess starts at 20070523122727
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput PACKETSIZE 131072
    Execute Session Command : exit
    > Subprocess stops at 20070523122728
    OK
    > Subprocess starts at 20070523122728
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_directput MCOD NO
    Execute Session Command : exit
    > Subprocess stops at 20070523122728
    OK
    > Subprocess starts at 20070523122729
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,********
    Execute Session Command : param_startsession
    Execute Session Command : param_checkall
    Execute Session Command : param_commitsession
    Execute Session Command : exit
    > Subprocess stops at 20070523122729
    OK
    OK
    OK
    > Subprocess starts at 20070523122730
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_addvolume 1 DATA C:\sapdb\J2E\sapdata\DISKD0001 F 128000
    Execute Session Command : exit
    > Subprocess stops at 20070523122731
    OK
    > Subprocess starts at 20070523122731
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_addvolume 2 DATA C:\sapdb\J2E\sapdata\DISKD0002 F 128000
    Execute Session Command : exit
    > Subprocess stops at 20070523122731
    OK
    > Subprocess starts at 20070523122731
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** param_addvolume 1 LOG C:\sapdb\J2E\saplog\DISKL001 F 25600
    Execute Session Command : exit
    > Subprocess stops at 20070523122732
    OK
    > Subprocess starts at 20070523122732
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,********
    Execute Session Command : param_startsession
    Execute Session Command : param_checkall
    Execute Session Command : param_commitsession
    Execute Session Command : exit
    > Subprocess stops at 20070523122733
    OK
    OK
    OK
    > Subprocess starts at 20070523122734
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** db_start
    Execute Session Command : exit
    > Subprocess stops at 20070523122740
    OK
    > Subprocess starts at 20070523122740
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20070523122740
    OK
    State
    ADMIN
    > Subprocess starts at 20070523122741
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20070523122741
    OK
    State
    ADMIN
    > Subprocess starts at 20070523122741
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,********
    Execute Session Command : util_connect
    Execute Session Command : db_activate SUPERDBA,********
    Execute Session Command : exit
    > Subprocess stops at 20070523122838
    OK
    OK
    > Subprocess starts at 20070523122840
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** load_systab -u SUPERDBA,******** -ud ********
    Execute Session Command : exit
    > Subprocess stops at 20070523122903
    OK
    0,OK: everything works fine
    0,""C:\sapdb\J2E\db\bin\x_python" "C:\sapdb\J2E\db\env\lsystab.py" -R "C:\sapdb\J2E\db" -d J2E -u SUPERDBA,********
    Removing obsolete objects
    Installing Loader tables
    Installing messages and help
    Installing SYSDBA tables
    Installing comments for SYSDBA tables
    Installing precompiler tables
    Installing system tables for R3 backup information
    Installing ODBC tables
    Installing system tables for ORACLE (V7) mode
    Installing data dictionary tables and views
    Installing synonyms for oracle system tables
    Installing comments on oracle sytem tables
    Installing tables for WebAgent
    Installing tables for Repository (WebDAV)
    Installing DOMAIN tables
    Installing comments for DOMAIN tables
    Installing Views as replacement for SHOWs
    Installing Database Manager tables
    Installing SYSINFO tables
    Installing comments for SYSINFO tables
    Installing support for UDE (User Defined Extensions)
    Installing tables for JDBC Database Metadata
    Installing tables for SQLDBC Database Metadata
    Installing additional triggers
    ==================================
    Installation successfully finished
    ==================================
    > Subprocess starts at 20070523122905
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,********
    Execute Session Command : auto_extend ON
    Execute Session Command : db_offline
    Execute Session Command : db_online
    Execute Session Command : exit
    > Subprocess stops at 20070523122929
    OK
    OK
    OK
    > Subprocess starts at 20070523122941
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u control,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20070523122941
    OK
    State
    ONLINE
    > Subprocess starts at 20070523122941
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u control,********
    Execute Session Command : sql_connect superdba,********
    Execute Session Command : sql_execute SELECT USERNAME FROM USERS
    Execute Session Command : exit
    > Subprocess stops at 20070523122942
    OK
    OK
    END    
    'CONTROL'
    'SUPERDBA'
    > Subprocess starts at 20070523122943
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u CONTROL,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20070523122943
    OK
    State
    ONLINE
    > Subprocess starts at 20070523122945
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u control,********
    Execute Session Command : sql_connect superdba,********
    Execute Session Command : sql_execute SELECT VALUE FROM DBPARAMETERS WHERE DESCRIPTION='_UNICODE'
    Execute Session Command : exit
    > Subprocess stops at 20070523122945
    OK
    OK
    END    
    'YES'
    > Subprocess starts at 20070523122947
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u control,********
    Execute Session Command : sql_connect superdba,********
    Execute Session Command : sql_execute CREATE USER SAPJ2EDB PASSWORD ******** DBA DEFAULTCODE UNICODE
    Execute Session Command : exit
    > Subprocess stops at 20070523122947
    OK
    OK
    > Subprocess starts at 20070523122949
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u control,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20070523122949
    OK
    State
    ONLINE
    > Subprocess starts at 20070523122949
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u control,********
    Execute Session Command : sql_connect superdba,********
    Execute Session Command : sql_execute SELECT USERNAME FROM USERS
    Execute Session Command : exit
    > Subprocess stops at 20070523122950
    OK
    OK
    END    
    'CONTROL'
    'SUPERDBA'
    'SAPJ2EDB'
    > Subprocess starts at 20070523122953
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u control,******** db_state
    Execute Session Command : exit
    > Subprocess stops at 20070523122953
    OK
    State
    ONLINE
    > Subprocess starts at 20070523122953
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054 -d J2E -u control,********
    Execute Session Command : sql_connect superdba,********
    Execute Session Command : sql_execute SELECT USERNAME FROM USERS
    Execute Session Command : exit
    > Subprocess stops at 20070523122954
    OK
    OK
    END    
    'CONTROL'
    'SUPERDBA'
    'SAPJ2EDB'
    > Subprocess starts at 20070523122956
    Execute Command : c:\sapdb\programs\pgm\dbmcli.exe -n nbixp054  -d J2E -u CONTROL,********
    Execute Session Command : util_connect
    Execute Session Command : util_execute set log auto overwrite on
    Execute Session Command : exit
    > Subprocess stops at 20070523122957
    OK
    OK
    </i>
    My System Spec:
    1,5 GHZ
    2 GB RAM
    10 GB free Disc Space
    Java 1.4.2_09 or Java 1.4.2_13
    I have no idea, what i can do right now!!!
    Please help me!
    Best Regards Philipp

    You need a static IP, not a reserved DHCP, a static.
    My Ten Step Program to Static IP is:
    1) Double click the Network Icon (two PCs) in the system tray
    2) Click Properties
    3) Highlight "Internet Protocol (TCP/IP)" and then click Properties
    4) Check the "Use the following IP address" radio button
    5) Set IP Address to xxx.xxx.xx.xx ( I use the 4 digit PC number split in two. Make sure a ping of that address times out before you assign to ensure no one else has it)
    6) Subnet mask should default to 255.255.0.0
    7) Set Default Gateway xxx.xxx.xx.x
    8) Set Preferred DNS server to xxx.xxx.xx.x
    9) Set Alternate DNS server to xxx.xxx.xx.x
    10) Grab large bottle of alcohol and enjoy the added functionality of a static IP address.

  • Error when trying to build using sun studio compiler

    Hi ,
    When i try to build my appliation-1 and application-2 , I am experiencing below given errors
    OS:
    SUSE Linux Enterprise Server 10 (x86_64)
    VERSION = 10
    PATCHLEVEL = 1
    Compiler Version:
    cc: Sun Ceres C 5.10 Linux_i386 2008/03/24
    usage: cc [ options] files. Use 'cc -flags' for details
    Application1:
    Error:
    CC: Cannot find /comp/sun/sunstudioceres/bin/ccfe
    Application2:
    Error:
    cc: Warning: cannot open inline file /gan/q2/comp/sun/sunstudioceres/lib/amd64/libm.il
    cc: Can't exec /comp/sun/sunstudioceres/bin/acomp
    Please share your thoughts on how to solve this problem
    Regards,

    [http://forum.java.sun.com/thread.jspa?threadID=5307985]

  • Receiving error when trying to combine using Outlook 2013

    When using the combine function, dragging and dropping emails from outlook 2013 is not working properly. It allows you to drag and then drop them but the combine is unsuccessful.  Has anyone else experienced this issue and know how ot fix it?

    1.       She had Acrobat X and when that did not work, I installed Acrobat XI to test.  So I can rollback to X but that was not working.
    2.
    3.       Everything seems to work except emails that are drag and dropped
    4.       I have done a repair and uninstall/reinstall
    Kelly H. Fields | Technical Support Analyst
    Desktop Services | Information Technology
    Aflac Worldwide Headquarters
    Tel: 706.243.8445<tel:706.243.8445> | Fax: 706.596.3072<tel:706.596.3072>
    1932 Wynnton Road, Columbus, Georgia 31999
    [email protected]<mailto:[email protected]> | aflac.com<http://aflac.com/>
    • A Fortune 500 Company
    • Fortune’s Best Companies to Work For
    • Fortune’s Most Admired Companies

  • Error when trying to run my first Java app

    Okay, Im new to Java programming. I started a day ago :). My question is after I compile my application like so.
    javac TestGreeting.javaIt give me a .class file. So the next step is I want to run it so I do the following.
    java TestGreeting.classWhen I run this I get this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: TestGreeting/classCan some one tell me what is going on? I am running Mac OSX Leopard on a MBP. I have the latest Xcode Tools which is 3.1 if I am not mistaken.
    Thanks everyone. Go easy on a newbie :)

    The argument for the java command is the fully qualified Class Name. It is not a file name or path. You provided a file name. The JVM tried to find a class named 'class' in a package named TestGreeting. Most likely, you should have typed "java TestGreeting"
    Here is a link to a tutorial, and the Getting Started section includes a section for problem resolution.
    [http://java.sun.com/docs/books/tutorial/]

  • Error when trying to write to a socket using nio

    Hi,
    I am getting this error when trying to write using the new io
    The system detected an invalid pointer address in attempting to use a pointer argument in a call
    can anyone tell me what's wrong ?

    Please post the whole Exception.printStackTrace report. Also a small example that reproduces the problem.

  • OVM 3: error when trying to delete a virtual machine

    Hi,
    I enclose below the error when trying to delete, using OVM MANAGER, a VM that has been wrongly created.
    Thanks for you help.
    Job Construction Phase
    begin()
    com.oracle.odof.exception.ObjectException: Caught during invoke method: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_2007E Find object name: (0}, class: interface com.oracle.ovm.mgr.api.virtual.VirtualMachine, returned null
    Wed Mar 21 14:42:20 CET 2012
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:151)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_2007E Find object name: (0}, class: interface com.oracle.ovm.mgr.api.virtual.VirtualMachine, returned null
    Wed Mar 21 14:42:20 CET 2012
    at com.oracle.ovm.mgr.api.manager.OvmManagerImpl.deleteObject(OvmManagerImpl.java:393)
    at com.oracle.ovm.mgr.api.manager.OvmManagerImpl.deleteObject(OvmManagerImpl.java:382)
    at com.oracle.ovm.mgr.api.system.FoundryDbImpl.deleteVirtualMachine(FoundryDbImpl.java:1302)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:247)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    ... 7 more
    Job Aborted from server, cleaning up client.

    HI,
    I had this - the recommended solution was to re-install the OVM manager.

  • Keep getting VncViewer.class not found error when trying to use Windows 7

    Greetings,
    I have no issue accessing the OVM Manager 2.2 with OEL 5.4 x86_64 with the latest Java release from ULN. But when I use a Windows 7 client ( x86) with the Sun Java 6 Update 18 I get the following error when trying to access the Console of a VM Guest:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\deverej
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class VncViewer.class not found.
    java.lang.ClassNotFoundException: VncViewer.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://141.144.112.202:8888/OVS/faces/app/VncViewer/class.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: VncViewer.class
    I am curious fi I should use only a specifc Java Engine with IE 7 or the latest Firefox browers.

    Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
    J2SE Enviornment 5.0 Update 15
    Java 6 Update 17

  • "500 internal server error" when trying to use F4 help in the variable sele

    Hi Experts,
    I am getting "500 internal server error" when trying to use F4 help in the variable selection screen (in WAD).
    How could this be resolved?
    Quick reply would be very helpfull.
    Thanks in advance !!

    It seems you are using wrong client ID. Make sure your logon pad has right details. You should verify this with your basis team.
    If the problem persists then try re-installing. But before you do that you can execute sapbexc.xla which is in the c:\program files\sap\bw. Type c:\ in cell c3 and click "start button". Any red flag means you have wrong version dll/ocx on your local drive, in that case you should reinstall with right patches.
    if this solution helps u then pls assign points

  • Error when trying to generate a report using BEX Quesry in Crystal Reoprts

    HI Experts,
    As per the SAP NOTE we did  FP 2.6 Unicode Transports and then SP3 transports. Transports are imported with min Errors.
    Now *when am trying to generate a report using BEX Quesry in Crystal Reoprts* am getting error
    "Database Connector Error: BAPI Error #:0
    Error occurred when starting the parser:   timeout during allocate /CPIC-CALL: 'ThSAPCMRCV' "
    *When trying to Generate using OLAP CUBE Report Wizard. AM getting Error*
    " READING OLAP META DATA FAILED."
    Thanks,
    Bharath

    This is not really the correct forum to be posting Reports issues. However, if I were to guess, your issue is likely related to the known issues related to installing FMw11R1 on machines which had IPv6 enabled. In most cases, disabling IPv6 would correct the problem, however some issues were not resolved even after disabling IPv6 post-install. I would recommend patching to WLS 10.3.6 and FMw 11.1.1.6 as these versions include fixes for all of those issues as far as I recall.
    Consider referring to this MyOracleSupport document if you have access:
    Steps to Maintain Oracle Fusion Middleware 11g Release 1 (11.1.1) (Doc ID 1073776.1)

  • Runtime error when trying to use Thinkvantage system updater

    I get a runtime error when trying to use the Thinkvantage system updater.Have tried it numerous times and this is the exact message:
    "Runtime error!
    Program:C:\Program Files\Lenovo\System Update\tvsu.exe
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information."
    Can somebody please help me to get the Thinkvantage system updater working properly?
    Thanks-George
    This issue has since been resolved.Thanks-G

    I'm getting the same error.   I tried reinstalling system updater but it didn't help.

  • I am getting a 404 error when trying to access any search link using google, I can get to a website if I enter the url directly.  I have cleared my history, emptied the cache and reset safari.

    I keep getting a 404 error when trying to access any search link using google, I can get to a website by directly using the URL.  I have cleared history, empited the cache and reset safari.  Any suggestions.

    Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.

  • I keep getting this error when trying to backup time capsule with time machine. The backup disk image "/Volumes/Data-1/Dan's iMac.sparsebundle" is already in use.

    I keep getting this error when trying to backup time capsule with time machine. The backup disk image “/Volumes/Data-1/Dan’s iMac.sparsebundle” is already in use.

    Make sure that no other Macs are backing up at the time.
    Pull the power cable from the back of the Time Capsule
    Count to ten
    Plug the power cable back into the back of the Tme Capsule
    Wait a few minutes, then try a backup again.

  • Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    I may have already resolved this issue buy removing the device from my computer and re-pairing it. It is currently working just fine.

Maybe you are looking for