SOA 10g - Convert string to MD5 hash

Hi Guys,
Is there a way apart from using Java to convert a string to MD5 hash in soa bpel process ?
Thanks
K

Sorted it out, used java embedding and it worked, example below of java embedding
String md5=getVariableData("md5Var").toString(); //this is the variable that needs to be md5 hashed
try{              
MessageDigest md = MessageDigest.getInstance("MD5");
byte[] myByteArray1 = md5.getBytes("UTF-8");
byte[] myByteArray2 = md.digest(myByteArray1);
BigInteger bigInt = new BigInteger( 1, myByteArray2);
String javahashedstring = bigInt.toString(16);
setVariableData("md5Var", javahashedstring, false); //return md5 hashed variable
}catch (Exception ex){     
ex.printStackTrace();
}

Similar Messages

  • JPasswordField and MD5 hashes

    I have two methods to make an MD5 String from an entered password in a JPasswordField. Which one is better for security? Can anyone recommend any changes?
    * Create MD5 of password field
    * @param JPasswordField - location of the password
    * @return String - an MD5 hash of the field text
    private String getMD5(javax.swing.JPasswordField field) {
        java.security.MessageDigest md;
        String passwdString = "";
        char[] passwdChars = field.getPassword();
        int i;
        field.setText("");
        // char[] to string and blank out chars
        for (i = 0; i < passwdChars.length; i++) {
            passwdString += passwdChars;
    passwdChars[i] = 0; // blank after for security
    try {
    md = java.security.MessageDigest.getInstance("MD5");
    } catch (java.security.NoSuchAlgorithmException e) {
    return null;
    byte[] passwdMD5 = md.digest(passwdString.getBytes());
    passwdString = "xxxxxxxxxxxxxxxxxxxxxxxxx"; // security
    return dumpBytes(passwdMD5);
    * Create MD5 of password field
    * @param JPasswordField - location of the password
    * @return String - an MD5 hash of the field text
    private String getMD5a(javax.swing.JPasswordField field) {
    java.security.MessageDigest md;
    String MD5;
    try {
    md = java.security.MessageDigest.getInstance("MD5");
    } catch (java.security.NoSuchAlgorithmException e) {
    return null;
    MD5 = dumpBytes(md.digest(new String(field.getPassword()).getBytes()));
    field.setText("");
    return MD5;
    * Byte[] to String conversion
    * @param byte[]
    * @return String
    private static String dumpBytes(byte[] bytes) {
    int i;
    StringBuffer sb = new StringBuffer();
    for (i=0; i<bytes.length; i++) {
    if (i%32 == 0 && i!=0) {
    sb.append("\n");
    String s = Integer.toHexString(bytes[i]);
    if (s.length() < 2) {
    s = "0"+s;
    if (s.length() > 2) {
    s = s.substring(s.length()-2);
    sb.append(s);
    return sb.toString();

    Thanks for the replies.
    Unfortunately I can't get the charsToBytes function to work. For example, if you run the following code you can see that it doesn't seem to give me the correct md5 (if you to to http://pajhome.org.uk/crypt/md5/ and calculate the MD5 for 'test' you will see that function getMD5a works but not getMD5b):
    public class test {
        public static void main(String args[]) {
            new test();
        public test() {
            char[] chars = {'t','e','s','t'};
            System.out.println("Method a: "+getMD5a(chars));
            System.out.println("Method b: "+getMD5b(chars));
        private String getMD5a(char[] passwd) {
            java.security.MessageDigest md;
            String MD5;
            try {
                md = java.security.MessageDigest.getInstance("MD5");
            } catch (java.security.NoSuchAlgorithmException e) {
                return null;
            MD5 = dumpBytes(md.digest(new String(passwd).getBytes()));
            return MD5;
        private String getMD5b(char[] passwd) {
            java.security.MessageDigest md;
            String MD5;
            try {
                md = java.security.MessageDigest.getInstance("MD5");
            } catch (java.security.NoSuchAlgorithmException e) {
                return null;
            MD5 = dumpBytes(md.digest(charsToBytes(passwd)));
            return MD5;
        public static byte[] charsToBytes(char[] chars) {
            byte[] bytes = new byte[chars.length*2];
            int b,c;
            for (b = 0, c = 0; c < chars.length; c++, b+=2) {
                bytes[b] = (byte)((chars[c] >> 8) & 0xFF);
                bytes[b+1] = (byte)(chars[c] & 0xFF);
            return bytes;
        public static String dumpBytes(byte[] bytes) {
            int i;
            StringBuffer sb = new StringBuffer();
            for (i=0; i<bytes.length; i++) {
                if (i%32 == 0 && i!=0) {
                    sb.append("\n");
                String s = Integer.toHexString(bytes);
    if (s.length() < 2) {
    s = "0"+s;
    if (s.length() > 2) {
    s = s.substring(s.length()-2);
    sb.append(s);
    return sb.toString();

  • MD5 hash code in PLSQL

    Hi everyone,
    I am building dynamic web pages using Oracle's plsql web
    toolkit. I am building a page that will pass information to a
    credit card authorizer. I need to create a MD5 hash string to
    pass to the credit card company. Is there an Oracle built in
    procedure/function/package to generate a MD5 hash string? If
    not, can anyone recommend a good reference source for generating
    a MD5 hash code in a plsql environment.
    Thanks.
    Dave W.

    This is from the Object API; I think it has the information that explains what's happening (but doesn't resolve your apparent problem)
    public int hashCode()
    Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.
    The general contract of hashCode is:
    Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
    If two objects are equal according to the equals(Object) method, then calling the hashCode method on each of the two objects must produce the same integer result.
    It is not required that if two objects are unequal according to the equals(java.lang.Object) method, then calling the hashCode method on each of the two objects must produce distinct integer results.
    However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hashtables.
    As much as is reasonably practical, the hashCode method defined by class Object does return distinct integers for distinct objects. (This is typically implemented by converting the internal address of the object into an integer, but this implementation technique is not required by the JavaTM programming language.)

  • DBMS_CRYPTO MD5 hash value does not match 3rd party MD5 free tool

    Hello,
    I am using Oracle Version: 11.2.4.
    I have a problem where the MD5 value from DBMS_CRYPTO does not match the hash value from 3rd party MD5 free tool (MD5 Checksum Calculator 0.0.5.58 or WinMD5Free v1.20) and also the MD5 hash value calculated by an ingestion tool where I am transferring files to. The MD5 hash value that the ingestion tool calculates is the same as the 3rd party MD5 free tools I have. This occurs only on some of the XML files that I generate using XSQL(xmlserialize, xmlagg, xmlelement, etc.) and DBMS_XSLPROCESSOR on a Linux OS. The XML files are transferred from the Unix OS to my Windows 7 OS via filezilla.
    I found a thread on this forum that also had a similar issue so I copy/paste the java functions. They are listed below(both are the same expect for the character set):
    create or replace java source named "MD5_UTF_8" as
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.sql.Clob;
    import java.sql.Blob;
    public class MD5_UTF_8 {
    private static final byte [] hexDigit = {
    '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'
    /** Converts a byte array to a hex string
    * Returns an empty string if the byte array is null
    public static final String toHexString(byte [] bytes) {
    if (bytes == null) return new String("");
    StringBuffer buf = new StringBuffer(bytes.length * 2);
    for (int i = 0; i < bytes.length; i++) {
    buf.append((char) hexDigit[((bytes >>> 4) & 0x0F)]);
    buf.append((char) hexDigit[(bytes & 0x0F)]);
    return buf.toString();
    // Convert Hex String to Byte Array
    public static final byte[] byteArrayFromHexString(String str) {
    byte[] bytes = new byte[str.length() / 2];
    for (int i = 0; i < bytes.length; i++)
    bytes = (byte) Integer.parseInt(str.substring(2 * i, 2 * i + 2), 16);
    return bytes;
    public static String getMD5HashFromClob(Clob inhalt) throws Exception{
    MessageDigest algorithm;
    StringBuffer hexString;
    String s = null;
    String salida = null;
    int i;
    byte[] digest;
    String tepFordigest = inhalt.getSubString(1L, (int)inhalt.length());
    try {
    algorithm = MessageDigest.getInstance("MD5_UTF_8");
    algorithm.reset();
    algorithm.update(tepFordigest.getBytes("UTF-8"));
    digest = algorithm.digest();
    s = toHexString(digest);
    } catch (java.security.NoSuchAlgorithmException nsae) {
    s = "No es posible cifrar MD5";
    return s;
    sho err
    alter java source "MD5_UTF_8" compile
    sho err
    CREATE OR REPLACE FUNCTION get_md5_UTF_8_CLOB(inhalt CLOB) RETURN VARCHAR2 DETERMINISTIC
    AS LANGUAGE JAVA
    name 'MD5_UTF_8.getMD5HashFromClob(java.sql.Clob) return java.lang.String';
    create or replace java source named "MD5" as
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.sql.Clob;
    import java.sql.Blob;
    public class MD5 {
    private static final byte [] hexDigit = {
    '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'
    /** Converts a byte array to a hex string
    * Returns an empty string if the byte array is null
    public static final String toHexString(byte [] bytes) {
    if (bytes == null) return new String("");
    StringBuffer buf = new StringBuffer(bytes.length * 2);
    for (int i = 0; i < bytes.length; i++) {
    buf.append((char) hexDigit[((bytes >>> 4) & 0x0F)]);
    buf.append((char) hexDigit[(bytes & 0x0F)]);
    return buf.toString();
    // Convert Hex String to Byte Array
    public static final byte[] byteArrayFromHexString(String str) {
    byte[] bytes = new byte[str.length() / 2];
    for (int i = 0; i < bytes.length; i++)
    bytes = (byte) Integer.parseInt(str.substring(2 * i, 2 * i + 2), 16);
    return bytes;
    public static String getMD5HashFromClob(Clob inhalt) throws Exception{
    MessageDigest algorithm;
    StringBuffer hexString;
    String s = null;
    String salida = null;
    int i;
    byte[] digest;
    String tepFordigest = inhalt.getSubString(1L, (int)inhalt.length());
    try {
    algorithm = MessageDigest.getInstance("MD5");
    algorithm.reset();
    algorithm.update(tepFordigest.getBytes());
    digest = algorithm.digest();
    s = toHexString(digest);
    } catch (java.security.NoSuchAlgorithmException nsae) {
    s = "No es posible cifrar MD5";
    return s;
    sho err
    alter java source "MD5" compile
    sho err
    CREATE OR REPLACE FUNCTION get_md5_CLOB(inhalt CLOB) RETURN VARCHAR2 DETERMINISTIC
    AS LANGUAGE JAVA
    name 'MD5.getMD5HashFromClob(java.sql.Clob) return java.lang.String';
    I created the above java functions and added the calls to them in my package to see what hash values they would produce but I am getting "ORA-29532: Java call terminated by uncaught Java exception: java.nio.BufferOverflowException " the XML is about 60mb.
    package code sniippets:
    declare
    l_hash raw(2000);
    l_checksum_md5 varchar2(2000);
    l_checksum_md5_utf_8 varchar2(2000);
    Begin
    t_checksum := lower(RAWTOHEX(dbms_crypto.hash(src=>l_clob,typ=>dbms_crypto.hash_md5)));
    l_hash := get_md5_CLOB (l_clob);
    l_checksum_md5 := lower(rawtohex(l_hash));
    l_hash := get_md5_UTF_8_CLOB (l_clob);
    l_checksum_md5_UTF_8 := lower(rawtohex(l_hash));Please help,
    Thank You in advance
    Don
    Edited by: 972551 on Nov 21, 2012 12:18 PM
    Edited by: sabre150 on Nov 21, 2012 11:06 PM
    Moderator action : added [code ] tags to format properly. In future please add them yourself.

    >
    I have a problem where the MD5 value from DBMS_CRYPTO does not match the hash value from 3rd party MD5 free tool (MD5 Checksum Calculator 0.0.5.58 or WinMD5Free v1.20) and also the MD5 hash value calculated by an ingestion tool where I am transferring files to. The MD5 hash value that the ingestion tool calculates is the same as the 3rd party MD5 free tools I have.
    I found a thread on this forum that also had a similar issue so I copy/paste the java functions.
    >
    And in that thread (Re: MD5 HASH computed from DBMS_CRYPTO does not match .NET MD5 I provided the reason why DBMS_CRYPTO may not match hashes produced by other methodologies.
    I have no idea why you copied and posted all of that Java code the other poster and I provided since code has NOTHING to do with the problem you say you are having. Thte other poster's question was how to write Java code that would produce the same result as DBMS_CRYPTO.
    You said your problem was understanding why DBMS_CRYPTO 'does not match the hash value from 3rd party MD5 free tool ...'. and I answered that in the other forum.
    >
    The Crypto package always converts everything to AL32UTF8 before hashing so if the .NET character set is different the hash will likely be different.
    See DBMS_CRYPTO in the PL/SQL Packages and Types doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28419/d_crypto.htm
    If you look at the spec header for the DBMS_CRYPTO package it shows this note:
    -- Prior to encryption, hashing or keyed hashing, CLOB datatype is
    -- converted to AL32UTF8. This allows cryptographic data to be
    -- transferred and understood between databases with different
    -- character sets, across character set changes and between
    -- separate processes (for example, Java programs).
    -- If your 3rd party MD5 free tool (MD5 Checksum Calculator 0.0.5.58 or WinMD5Free v1.20) do not use the AL32UTF8 character set then the hashes will likely be different. You can't modify DBMS_CRYPTO so if the hashes need to match you need to use 3rd party tools that either use the correct character set or can be configured to use the correct character set.
    The problem in the other thread was how to WRITE Java code that uses the correct character set and I showed that OP how to do that.
    So unless you are writing your own Java code all of that code you copied and pasted is useless for your use case.

  • String to MD5 hex

    hi all, i need a way to convert a String to an MD5, to be more precise i need to get the MD5 string in hex. I have tried a few methods but they only seem to work 80% of the time, any help would be appriciated.
    note: i am storing values in a mysql db (just a test will try SHA later) when i put the data in the my sql i pass it as a string using MD5("myString")
    thanks

    Well i got it and it works perfectly in case any wants to now this is the code
    import java.security.MessageDigest;
    public class MD5Maker
         public static String makeMD5(String str){
              String MD5HexString = null;
              try{
                 byte[] intext = str.getBytes();
                 StringBuffer buf = new StringBuffer();
                 MessageDigest md5 = MessageDigest.getInstance("MD5");
                 byte[] md5bytes = md5.digest(intext);
                 for( int i = 0 ; i < md5bytes.length ; i++ ) {
                       int value = 0xff & ((int)md5bytes);
                   if (value < 16)
                        buf.append("0");
                   buf.append(Integer.toHexString(value));
                   MD5HexString = buf.toString();
              catch (Exception e) {}
              return MD5HexString;

  • Migrate users from qmail to sun messaging  (import MD5 hashed passwords)

    Hi,
    we are planning to migrate about 2000 users from our current mail system (qmail + openldap) to Sun Messaging 6.2.
    We have encountered a problem with user password migration. In our current ldap user passwords are MD5 encrypted, but it appears as Directory 5.2 does not support MD5 encryption method.
    This is what I have found :
    http://docs.sun.com/source/817-7616/config.html#wp26092
    The following encryption types are supported by Directory Server:
    * SSHA (Salted Secure Hash Algorithm) is the recommended method as it is the most secure.
    * SHA (Secure Hash Algorithm). This is the method supported by 4.x Directory Servers.
    * CRYPT is the UNIX crypt algorithm. It is provided for compatibility with UNIX passwords.
    * If this attribute is set to CLEAR, passwords are not encrypted and appear in plain text.
    We want to import MD5 hashed passwords so users can use their old password after we migrate to SUN, but as passwords are updated they will be SSHA hashed.
    We only have a problem with importing MD5 hashed passwords in ldap directory.
    Current password on openLDAP are created with the following PHP code:
    $info["userPassword"]= '{md5}' . base64_encode(pack('H*', md5($passwd)));
    I have tried to copy userpassword value from openldap to directory but the directory ignores {md5} and hashed the string again using SSHA.
    Example:
    cleartextpass: password
    md5_base64_hash={MD5}X03MO1qnZdYdgyfeuILPmQ==
    after ldap modify userpassword field loks like this:
    userpassword:{SSHA}a+dFsejrTGwQAgdU07kkgzWWOC16SiIW2UsPcQ==
    What is the correct procedure to import MD5 hashed passwords in Sun Directory?
    (NS-MTA-MD5 Password Storage Plug-In is enabled)

    Sun Directory 5.2 has a plugin NT-MTA-MD5 which should enable users to authenticate with MD5 hashed passwords.
    I have checked in cn=config and NS-MTA-MD5 plugin is enabled.
    I have tried with {NS-MTA-MD5} prefix and still directory does not allow users to authenticate.
    Example:
    cleartextpass: foo
    md5_base64_hash={NS-MTA-MD5}rL0Y20zC+Fzt72VPzMSk2A==
    after ldap modify userpassword field loks like this( NS-MTA-MD5 is accepted by directory):
    userpassword:{NS-MTA-MD5}rL0Y20zC+Fzt72VPzMSk2A==
    but
    ldap bind fails with "invalid credentials" error
    We are using solaris 10 so I tried using the prefix {crypt} and it did not work. You said something about the right config in /etc/security/crypt.conf. Here is the content of my crypt.conf file:
    1 crypt_bsdmd5.so.1
    2a crypt_bsdbf.so.1
    md5 crypt_sunmd5.so.1
    This should be the right config "md5 crypt_sunmd5.so.1"
    Am I missing something here?
    Is there anything else I need to do to enable directory to use MD5 hashed passwords?
    Maybe NS-MTA-MD5 plugin is not enough?

  • MD5 hash

    hi ,
    does any has code for calculating the MD5 hash ..given the file it the code should get the MD5 hash..like for example picture files...like jpg,qxd...etc... if so please it..
    thanks..

    There is java.security.MessageDigest but I get different result with that then md5sum in my cygwin utilities. My test program is below. What am I doing wrong?
    import java.security.MessageDigest;
    public class ThreadID658080 {
        public static void main(String[] args) throws Exception {
            MessageDigest md = MessageDigest.getInstance("MD5");
            md.reset();
            md.update("ABC".getBytes());
            show(md);
        static void show(MessageDigest md) {
            byte[] arr = md.digest();
            System.out.println("Algorithm: " + md.getAlgorithm() + ", Length: " + md.getDigestLength());
            for (int i = 0; i < arr.length; i++) {
                System.out.print(arr);
    System.out.println();
    This program gives the following output:
    Algorithm: MD5, Length: 16
    -11247-67-46-79-331279112-76-91-465337-2350cygwin md5sum (and some other utilities) gives:
    $ echo "abc" | md5sum -b
    0bee89b07a248e27c83fc3d5951213c1

  • Not able to convert string attribute to number and date please help me out

    not able to convert string attribute to number and date attribute. While using string to date conversion it shows result as failure.As I am reading from a text file. please help me out

    Hi,
    You need to provide an example value that's failing and the date formats in the reference data you're using. It's more than likely you don't have the correct format in your ref data.
    regards,
    Nick

  • Convert String to Date and Format the Date Expression in SSRS

    Hi,
    I have a parameter used to select a month and year  string that looks like:    jun-2013
    I can convert it to a date, but what I want to do is,  when a user selects a particular month-year  (let's say "jun-2013")
    I  populate one text box with the date the user selected , and (the challenge Im having is)  I want to populate a text box next to the first text box with the month-year  2 months ahead.    So if the user selects 
    jun-2013   textbox A will show  jun-2013 
    and textbox B will show  aug-2013..
    I have tried:
    =Format(Format(CDate(Parameters!month.Value  ),  
    "MM-YYYY"  )+ 2  )   -- But this gives an error
    This returns the month in number format   like "8"    for august...
    =Format(Format(CDate(Parameters!month.Value  ), 
    "MM"  )+ 2  )
    What is the proper syntax to give me the result    in this format =  "aug-2013"  ???
    Thanks in advance.
    MC
    M Collier

    You can convert a string that represents a date to a date object using the util.scand JavaScript method, and then format a date object to a string representation using the util.printd method. For more information, see:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.1254.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.1251.html
    In your case, the code would be something like:
    var sDate = "2013-01-10";
    // Convert string to date
    var oDate = util.scand("yyyy-mm-dd", sDate);
    // Convert date to new string
    var sDate2 = util.printd("mm/dd/yyyy", oDate);
    // Set a field value
    getField("date2").value = sDate2;
    The exact code you'd use depends on where you place the script and where you're getting the original date string, but this should get you started.

  • Convert String variable value  to an Object referece type

    Hi all,
    I want to know that if there any possible way to convert String variable value to a Object reference type in java. I'll explain by example if this is not clear.
    Let's think that there is a string variable name like,
    String name="HelloWorld";
    and there is a class name same to the variable value.
    class HelloWorld
    I am passing this string variable value to a method which is going to make a object of helloworld;
    new convertobj().convert("HelloWorld");
    class convertobj{
    public void convert(String name){
    // in hert it is going to create the object of HelloWorld;
    // HelloWorld hello=new HelloWorld(); just like this.
    now i want to do this from the name variable value.( name na=new name()) like wise.
    please let me know if there any possible way to do that.
    I am just passing the name of class by string variable then i wanted to make a instance of the class which come through the variable value.
    thanx.

    Either cast the object to a HelloWorld or use the reflection API (Google it) - with the reflection API you can discover what methods are available.
    Note: if you are planning to pass in various string arguments and instantiate a class which you expect to have a certain method... you should define an interface and have all of your classes that you will call in this way implement the interface (that way you're sure the class has a method of that name). You can then just cast the object to the interface type and call the method.
    John

  • Error Deploying BPEL process in Oracle SOA 10g

    Hi All,
    Error Deploying the jar file in Oracle SOA 10g.
    Error no : 500
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Following Information from log
    [New log entry]      The BPEL process "InInvoice", revision "1.0" has not been loaded. Either the process was not initialized properly or the process
    has been disabled.
    [New log entry]      Please consult your administrator regarding this error. The application server logs may provide more information regarding this error
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.engine.deployment.DeploymentManager.getProcess(DeploymentManager.java:556)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.engine.deployment.DeploymentHelper.lookupProcess(DeploymentHelper.java:258)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.engine.deployment.DeploymentHelper.getContentFile(DeploymentHelper.java:123)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.ejb.impl.BPELProcessManagerBean.contentFileExists(BPELProcessManagerBean.java:472)
    [New log entry]      11/05/27 02:48:08 at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
    [New log entry]      11/05/27 02:48:08 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [New log entry]      11/05/27 02:48:08 at java.lang.reflect.Method.invoke(Method.java:585)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ThreadState.runAs(ThreadState.java:705)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    [New log entry]      11/05/27 02:48:08 at ProcessManagerBean_RemoteProxy_4bin6i8.contentFileExists(Unknown Source)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.ws.soap.SOAPProviderHelper.copyProcessFile(SOAPProviderHelper.java:284)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.ws.soap.SOAPProviderHelper.doGet(SOAPProviderHelper.java:487)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.ws.soap.oc4j.BPELOC4JServlet.doGet(BPELOC4JServlet.java:190)
    [New log entry]      11/05/27 02:48:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    [New log entry]      11/05/27 02:48:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    [New log entry]      11/05/27 02:48:08 at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    [New log entry]      11/05/27 02:48:08 at java.security.AccessController.doPrivileged(Native Method)
    [New log entry]      11/05/27 02:48:08 at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    [New log entry]      11/05/27 02:48:08 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:644)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    [New log entry]      11/05/27 02:48:08 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    [New log entry]      11/05/27 02:48:08 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303
    [New log entry]      11/05/27 02:48:08 at java.lang.Thread.run(Thread.java:595)
    Error While Deploying Using ant script.
    BUILD FAILED
    /home/c_lprove/sridhar/InInvoice/build.xml:81: A problem occured while connecting to server "xxxx.yyyy.com" using port "11745": <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>500 Internal Server Error</TITLE>
    </HEAD><BODY>
    <H1>Internal Server Error</H1>
    The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.<P>
    Please contact the server administrator,
    [email protected] and inform them of the time the error occurred,
    and anything you might have done that may have
    caused the error.<P>
    More information about this error may be available
    in the server error log.<P>
    </BODY></HTML>

    Yes it is having a receive activity , it receives the cXML from Ariba Adaapter. I checked the adapter it is up.
    I generated the jar and deployed through BPEL console still i get the same error.
    I got the below error
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.

  • How to install SOA 10g on Windows 7 64-bit platform?

    Hi Friends
    How to install SOA 10g on Windows 7 64-bit platform ?
    I've downloaded the 64-bit version downloadable from OTN and able to run the irca.bat on DB 10.2.0.3 however the SOA Installer fails at BPEL Config Assistant step with errors :
    deploy-applications:
    Deploying Oracle BPEL Process Manager ...
    Copying 1 file to C:\SOA134\bpel\system\services\lib
    Copying 1 file to C:\SOA134\bpel\system\services\lib
    Copying 1 file to C:\SOA134\bpel\system\services\lib
    Updating jar: C:\SOA134\bpel\system\services\lib\orabpel.ear
    Running batch script by:
    java admin_client.jar deployer:oc4j:opmn://<domain name>:6003/oc4j_soa -script C:\SOA134\bpel\system\services\install\ant-tasks/bpel_deployapps.txt
    Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.

    Hi,
    We know now why SOA Installer fails...
    Now we need to know why you can not start OC4J properly. What do you see in the log files?
    https://forums.oracle.com/forums/ann.jspa?annID=893
    Cheers,
    Vlad

  • File adapter polling frequency is not consistent in SOA 10g!

    Friends,
    I have used file adapter for polling files in a service in SOA 10G env. with polling frequency 3600 secs. However, i have noticed file polling is not happening at 60 mins interval, instead some times files getting polled in less than 30 mins but again after sometime its polling correctly in 60 mins interval. I am not sure what could be the reason but i need a solution urgently. Please help!

    Could be the managed servers in the cluster are not in sync.
    I faced DB JCA adapter sync issues because of Oracle soa suite bug.
    You could check whether any sync issues are there with File adapters.

  • SOA 10g: Dynamic Host Name and Port in FTP Adapter

    Hello All,
    I am using GET operation in FTP Adapter. I wanted to make Hostname,portName,Username and Password Dynamic.
    Pls suggest how to achieve this in SOA 10g.
    thanks,
    Ab

    or http://blogs.oracle.com/adapters/2010/04/changing_the_connection_factory_jndi_dynamically_in_ftp_adapter.html
    the make the jndi dynamic, but you still have to setup all the jndi lookups before you can dynamically can change them

  • How to convert string to an integer in SQL Server 2008

    Hi All,
    How to convert string to an integer in sql server,
    Input : string str="1,2,3,5"
    Output would be : 1,2,3,5
    Thanks in advance.
    Regards,
    Sunil

    No, you cannot convert to INT and get 1,2,3 BUT you can get
    1
    2
    3
    Is it ok?
    CREATE FUNCTION [dbo].[SplitString]
             @str VARCHAR(MAX)
        RETURNS @ret TABLE (token VARCHAR(MAX))
         AS
         BEGIN
        DECLARE @x XML 
        SET @x = '<t>' + REPLACE(@str, ',', '</t><t>') + '</t>'
        INSERT INTO @ret
            SELECT x.i.value('.', 'VARCHAR(MAX)') AS token
            FROM @x.nodes('//t') x(i)
        RETURN
       END
    ----Usage
    SELECT * FROM SplitString ('1,2,3')
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

Maybe you are looking for

  • How can I get the keynote to work?

    I am trying to play the keynote on the Apple website but it wont play.Any help?

  • [JS] File Naming Issues

    NOTE: I am writing JavaScript for InDesign CS2 and CS3. My script involves writing file names that a user will input. The filenames will later be displayed in a menu. Since characters like ? % " / : can present problems, what's the best way to avoid

  • How do I delete the zoom in and out effect on my slideshow?

    I have installed this widget to my website but I only want the fade in and out effects on the transitions. The zooming is not something I'm interested in since i am showcasing pieces of my portfolio. I need the images to come in and out at 100% of th

  • Setting Application Defaults by admin

    I want to set application defaults for a planning application, such that, when a user logs into the application he sees what I have set as default. eg. Display Options - Thousands separator :comma I changed the Applicaiton Settings via Administration

  • Burning Problem: does Toast interfere?

    I have never been able to enjoy this DVD burner I have in my desktop G4. I've even swapped it out once already. I still can't burn DVDs. Here's what happens: 1) at stage 4, when it looks like the DVD will be burned, my Roxio toast application opens,