Oracle Enteprise 11g, java procedure, fail with ENUM and @anotation tags...

Hello,
I have a problem with java sources on database (java stored procedures)..
My sources uses anotation and Enumerator...
When i try to load java sources to my db with loadjava I get some errors like:
loading : source INSURANCE2.org/mozilla/universalchardet/Constants
Error while determining classes contained in org/mozilla/universalchardet/prober/Big5Prober.java
Exception oracle.aurora.sqljdecl.ParseException: Lexical error at line 75, column 5. Encountered: "@" (64), after : ""
creating : INSURANCE2.org/mozilla/universalchardet/prober/Big5Prober.java
Error while determining classes contained in org/mozilla/universalchardet/prober/CharsetProber.java
Exception oracle.aurora.sqljdecl.ParseException: Encountered "{" at line 63, column 5.
Was expecting one of:
"=" ...
here is some sample of my source compiled with JDK 1.5.0_00
public abstract class CharsetProber
    // constants
    public static final float   SHORTCUT_THRESHOLD = 0.95f;
    public static final int     ASCII_A = 0x61; // 'a'
    public static final int     ASCII_Z = 0x7A; // 'z'
    public static final int     ASCII_A_CAPITAL = 0x41; // 'A'
    public static final int     ASCII_Z_CAPITAL = 0x5A; // 'Z'
    public static final int     ASCII_LT = 0x3C; // '<'
    public static final int     ASCII_GT = 0x3E; // '>'
    public static final int     ASCII_SP = 0x20; // ' '
    // inner types
    public enum ProbingState
        DETECTING,
        FOUND_IT,
        NOT_ME
    // methods
    public CharsetProber()
    public abstract String getCharSetName();
    public abstract ProbingState handleData(final byte[] buf, int offset, int length);
    public abstract ProbingState getState();
    public abstract void reset();
    public abstract float getConfidence();
    public abstract void setOption();On my database I think (correct me if not) I have java 1.5.0_10
  select f_vrni_parameter('java.version') from dual
CREATE OR REPLACE function INSURANCE2.f_vrni_parameter(p_vhodni in varchar2) return varchar2 as language java name  'java.lang.System.getProperty(java.lang.String) return java.lang.String';What I'am doing wrong or what is the right way to upload java source or classes on db? (i will try to upload compiler classes with jdk 1.5.0)
thank you

Solved..
I have uploaded compiled java sources (classes) in a single jar archive into database...

Similar Messages

  • Does Oracle have Extended Stored Procedure like SQL Server and Sybase?

    Hi, i am new to Oracle. I want to know if...
    Does Oracle have Extended Stored Procedure like SQL Server and Sybase?
    If it does not have, then how can i call outside program written in C or JAVA from the Database stored procedure or trigger?

    refer to this link on external procedures
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/manproc.htm#11064

  • Need some help with cfoutput and a tag

    hey there,
    got meself into some issues with <a> and <cfoutput> tags.
    Problem:
    myResult = <a href="http://www.mysite.co.uk" rel="nofollow">mysite</a>
    <cfoutput>#myResult#</cfoutput> outputs "<a href="http://www.mysite.co.uk" rel="nofollow">mysite</a>" (surprise isn't it?)
    now is there any way to output it as html so it would display a link to "mysite"???
    cheers,
    Simon

    thanks!
    I've missed the fact that it was xml data. Just added .xmlText at the end and that sorted my problems. However I'll write down cfsavecontent solution for the future reference.
    cheers,
    Simon

  • Oracle 8.1.6 Installation fails with java.lang.NullpointerException

    HI,
    We are installing Oracle 8.1.6 on a D Class machine running HPUX 11.0 OS
    While i start the Universal Installer, it fails with the following
    error.
    Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
    Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
    Exception java.lang.NullPointerException occurred..
    java.lang.NullPointerException
    at sun.awt.motif.MComponentPeer.setFont(MComponentPeer.java:197)
    at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:73)
    at sun.awt.motif.MToolkit.createFrame(MToolkit.java:177)
    at java.awt.Frame.addNotify(Frame.java:203)
    at java.awt.Window.show(Window.java:143)
    at java.awt.Component.show(Component.java:511)
    at java.awt.Component.setVisible(Component.java:473)
    at
    oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:419)
    My ORACLE_TERM is set to dtterm.
    Can anybody give some suggestions what would be the problem..?
    Thanks
    vinod
    null

    Pretty much the same thing, Tomcat is the web server in CUCM, so that should have been sufficient.
    Please rate all useful posts!
    Chris

  • Oracle 8i Stored Java Procedure and OAS 4.0.8

    Hi,
    I'd like to call a Java Stored Procedure
    from the OAS, like an ordinary PL/SQL
    package. The Java Stored Procedure should
    generate HTML-code to display in the browser.
    My first try was, to use the
    SQL wrapper function and the PL/SQL cartridge
    of the OAS, but unfortunately, I always
    get an "Request failed" with the error
    number 20001 (user defined error).
    Does anybody has managed to do this?
    Thanks,
    Thorsten.

    Please read the Jdeveloper release Notes...
    There is no version of Jdeveloper certified to deploy to OAS 4.0.8.2.

  • BRBACKUP fails with DB13 and TIVOLI on AIX and ORACLE

    Hi,
    We have the Tivoli setup for SAP on AIX and Oracle.
    when we run the brbackup directly we are able to get it through. But when we do the same with DB13 and Tivoli attached we are not able to get through and it throws an error.
    Would be very nice and kind of you if you could share your setup knowledge with me regarding Tivoli and SAP.
    Thanks & Regards
    Shrenik
    9393930803

    Unfortunately nobody here has a crystal ball to look into and see what is happening on your system in both cases.
    We could ask you "have you done this" or "did you configure that" but it´s very cumbersome.
    So please: provide logfiles of failed attempts if there is "an error" so we see which error it is and we can see if we can help.
    Markus

  • Help with JSP and JSTL tag

    I am trying to accomplish the following
    -display a checkbox if the phrase "platinum" appears in a string
    -display a radio button otherwise
    Here is my code:
    <c:when test="${fn:containsEqualIgnoreCase(${product.description}, 'platinum' })}">
                      <td width="40">
                       </td>
                     <td width="1">
                        <html-el:checkbox property="dishHDProduct"             value="${product.productId}:${product.presentationChannelText}:${product.programmingType}" disabled="true"/>                                                            
                                                                  </td>
                                                             </c:when>
                                                             <c:otherwise test="${fn:containsEqualIgnoreCase("platinum")}">
                                                                  <td width="1">
                                                                       <html-el:radio property="dishHDProduct" value="${product.productId}:${product.presentationChannelText}:${product.programmingType}"/>                                                            
                                                                  </td>
                                                             </c:otherwise>I suspect that I cannot use the <when> <otherwise> stuff with the function JSTL tag, but I may be wrong. I am new to this and open to all suggestions.
    Thanks!

    This is actually the way I ended up solving my own problem:
    <c:choose>
                                                             <c:when test="${product.presentationChannelText == 'PlatinumHD'}">
                                                                  <td width="10">
                                                                  </td>
                                                                  <td width="1">
                                                                       <html-el:checkbox property="dishHDProduct" value="${product.productId}:${product.presentationChannelText}:${product.programmingType}" disabled="true"/>                                                            
                                                                  </td>
                                                             </c:when>
                                                             <c:otherwise>
                                                                  <td width="1">
                                                                       <html-el:radio property="dishHDProduct" value="${product.productId}:${product.presentationChannelText}:${product.programmingType}"/>                                                            
                                                                  </td>
                                                             </c:otherwise>
                                                        </c:choose>Because I am not able to use JSP 2.0 and therefore must use JSTL 1.0

  • Regular expression to search if a word occurs with z and /z tags

    Hi ,
    I am trying to create a regex to search for the occurence of two words within <z> and </z> tags.(they must occur between <z> and and next immideate </z> tags)
    This is my regex
    <z>\s[\w\W]+?(?!</z>)word1[\w\W]+?(?!</z>)word2[\w\W]+?</z>|<z>\s[\w\W]+?(?!</z>)word2[\w\W]+?(?!</z>)word1[\w\W]+?</z>
    I am trying to specify (?!</z>) in order that i insist that my regex engine does map for word1 and word2 within <z> and its next immideate </z> tags. The words can appear either ways word1 followed by word2 or vice versa.
    The above regex does not work fine.
    It maps fine for the following sentence
    <z> This is test for pattern for a Regex </z> <z> Also we would like to conclude what is happening </z> <z> Another test for paragraph is happening </z>
    The regex is as follows
    <z>\s[\w\W]+?(?!</z>)pattern[\w\W]+?(?!</z>)Regex[\w\W]+?</z>|<z>\s[\w\W]+?(?!</z>)Regex[\w\W]+?(?!</z>)pattern[\w\W]+?</z>
    But, when i include the </z> in between pattern and Regex , it should not match, but that is not what is happening.
    <z> This is test for pattern </z> for a Regex</z> <z> Also we would like to conclude what is happening </z> <z> Another test for paragraph is happening </z>
    Please let me know how I can accomplish the same.
    Thanks.

    oops.. sorry ..this is aligned better ...
    Hi , I am using this regex
    (?=(?:(?!</z>).)+?\bpattern\b.+</z>)(?!(?:(?!</z>).)+?\bscientific\b.+</z>)((\bpattern\b(?:(?!</z>).)+)\bpattern\b|\bpattern\b)I have written the above regex to match pattern between <z> and </z> provided there is no word "scientific" within that "z" tags.
    I have been trying to replace the regex to do the same between two sentences, here in my case I have a paragraph with multiple sentences. The delimiter to determine a sentence is dot (.). So i am trying to specify the condition as above to match between two sentences - using representation for dot as (\. )
    The following is my regex
    (?=(?:(?!\.).)+?\bpattern\b.+\.)(?!(?:(?!\.).)+?\bscientific\b.+\.)((\bpattern\b(?:(?!\.).)+)\bpattern\b|\bpattern\b) But this does not work..
    Can you please tell me how to go about this?
    Thanks.

  • OIM 11g setXellerate password fails with weird message on massive usage

    Hi,
    i have set up trusted reconciliation from a database table with OIM 11g (11.1.1.3). Now, the default password is the concatenation of two other fields and i have built an adapter that uses the setXelleratePassword method to set the OIM user password an attached it to the xellerate reconciliation insert event. Now, when running the reconciliation, the password is correctly set only for the first 10 users or so, after which i get this error for every following event.
    <Apr 6, 2011 12:07:27 PM CEST> <Error> <oracle.iam.identity.usermgmt.impl> <BEA-000000> <The password change operation failed.>
    <Apr 6, 2011 12:07:27 PM CEST> <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcPasswordOperationsBean/setXelleratePassword encounter some problems: Error occurred while setting user password.>
    Thor.API.Exceptions.tcAPIException: The password change operation failed.
         at com.thortech.xl.ejb.beansimpl.tcPasswordOperationsBean.setXelleratePassword(tcPasswordOperationsBean.java:158)
         at Thor.API.Operations.tcPasswordOperationsIntfEJB.setXelleratePasswordx(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor1074.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    the error is quite generic, and does happen only when there is a "massive" reconciliation run. I thought about the open file limit and the connection pool max values, but in the logs there are no errors related
    What should i look at?
    Thanks in advance

    Hi
    Have you tried to change the reconciliation batch size to 1 or something?
    I had something similar with just one account getting updated by my post-process hanndler.
    Anyway how did you attach your adapter to the reconciliation insert event? I have been trying to do this but the list that comes back does include the adapter i have created when i tried to select and adapter to run.
    Please guide how you did on design console or gui.
    Thanks

  • Oracle Calendar Server Configuration Assistant fails with Red Hat ES 4

    I am trying to install Oracle Collaboration Suite 10.1.2 on a Red Hat ES 4 server platform.
    I have installed with the Advanced Installation Option. The infra installation proceeds well then when i try to install the ocs application tier (different Oracle Home) the Calendar Server Configuration Assistant fail.
    Output :
    ================================================================================================================
    Output generated from configuration assistant "Calendar Server Configuration Assistant" (attempt 1):
    Time zone selected: EBST3EBDT.Warning: Existing node(s) found in unison.ini. Using node 1 for configuration tasks.
    Current State for Instance:ocsapp.lf-ocs1.lima_e_falcao.inet
    Component Type Up Status In Sync Status
    ================================================================================
    1 HTTP_Server HTTP_Server Up True
    2 OC4J_Content OC4J Up True
    3 OC4J_Mail OC4J Up True
    4 OC4J_OCSADMIN OC4J Up True
    5 OC4J_OCSClient OC4J Up True
    6 OC4J_Portal OC4J Up True
    7 OC4J_RM OC4J Down True(Disabled)
    8 OC4J_Wireless OC4J Up True
    9 OC4J_imeeting OC4J Up True
    10 Service_Component_Cont OC4J Up True
    11 home OC4J Up True
    Warning: more than one process-type Element in the snippet. only the 1st one is appended
    Error: can not append, there is a same named process type element in the exisitng ias-instance.ias-component
    Error: Could not configure OPMN module information.
    java.io.IOException: /u01/oracle/product/10.1.2/ocs_2/jdk/bin/java returned 1
         at oracle.calendar.server.configuration.OCalConfig.runExternalProgram(Unknown Source)
         at oracle.calendar.server.configuration.OCalConfig.runExternalProgram(Unknown Source)
         at oracle.calendar.server.configuration.OCalConfig.configureOPMN(Unknown Source)
         at oracle.calendar.server.configuration.OCalConfig.run(Unknown Source)
         at oracle.calendar.server.configuration.OCalConfig.main(Unknown Source)
    3 [main] ERROR emSDK.config - oracle.sysman.emSDK.conf.TargetAdditionException: Target[oracle_calendar_ocal,ocsapp.lf-ocs1.lima_e_falcao.inet_Calendar Server] already present in /u01/oracle/product/10.1.2/ocs_2/sysman/emd/targets.xml
    oracle.sysman.emSDK.conf.TargetAdditionException: Target[oracle_calendar_ocal,ocsapp.lf-ocs1.lima_e_falcao.inet_Calendar Server] already present in /u01/oracle/product/10.1.2/ocs_2/sysman/emd/targets.xml
         at oracle.sysman.emSDK.conf.TargetInstaller.addTargetInt(TargetInstaller.java:1148)
         at oracle.sysman.emSDK.conf.TargetInstaller.addTargetFromFile(TargetInstaller.java:1075)
         at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3669)
    Target[oracle_calendar_ocal,ocsapp.lf-ocs1.lima_e_falcao.inet_Calendar Server] already present in /u01/oracle/product/10.1.2/ocs_2/sysman/emd/targets.xml
    Warning: ocad.conf already included in /u01/oracle/product/10.1.2/ocs_2/Apache/Apache/conf/oracle_apache.conf.
    Error: java.io.IOException: /u01/oracle/product/10.1.2/ocs_2/jdk/bin/java returned 1: Registration of ocal_targets.xml into targets.xml failed.unistart: Oracle Calendar Server 10.1.2.0.0
    unistart: Copyright (c) 1993, 2005, Oracle.
    unistart: All rights reserved.
    unistart:
    unistart: opmnctl: opmn is already running
    unistart: opmnctl: starting opmn managed processes...
    unistart: The Calendar Server started successfully.
    Orclguest account has already been provisioned for Calendar.
    Fatal Exception caught : java.lang.NullPointerExceptionopmnctl: stopping opmn managed processes...
    Configuration assistant "Calendar Server Configuration Assistant" failed
    ================================================================================================================
    Someone can help me?
    Thanks a lot.

    is it a reinstallation or a first one on a bare server ? if there were several attempts please be sure you cleaned evrything before launching the installation :
    - product directory
    - /etc/ora*
    - database
    - oraInventory
    - /tmp (I had a similar issue with remaining files in /tmp, even after rebooting)
    If it doesn't work, check that you don't hit the NO-EXCUTE problem (see the OCS 10.1.2 release notes, look for "noexec")

  • Working with Oracle Objects in JAVA - How to with views

    Hello,
    I am trying to access to Oracle object types from Java.
    My problem is, I have relational tables, Object Types and Object Views.
    All the examples I found from Oracle manuals are working with Object Tables(Table column is created as Object Type).
    You run a query and get this object type (oraconn.GetObject(1)) and the query is (SELECT * FROM Object_Table) so its get first column(which is an object type) and cast it to Java Class(with SQLDATA or ORADATA).
    The problem is that my data is in Relational Tables and I don't want to export them to Object tables.
    I want to get it from Object View.
    Is this possible? Or better is anybody has an example???
    Thx in advance

    Hi,
    I think you will be able to help me. your question made me to think that you will be able to help me. Here the question goes.
    I have a Stored Procedure which returns a user defined ROWTYPE(its a IN OUT param to the procedure). I need to call this procedure from my Java program. So I would like to know how to do it. Do we need to use any packages provided by oracle or some thing like that.
    thanks & regards,
    Anil.
    [email protected]

  • "Log on failed" with ODBC and Stored Procedure

    I am in the process of porting our application from CR10 to CR.NET and am having some trouble setting the log on info.
    I have a report that was designed against a stored procedure and a development database.  The connection at design time is ODBC to a SQL Server.  At runtime I want to set the database and logon credentials to that of the production server, set the stored procedure parameters, and then display the report.  No matter what I do always get "Log on failed" error.
    After having considerable trouble with ApplyLogOnInfo on the tables where it seemed to not actually apply my changes, I finally found code which appeared to work elsewhere on this forum.  So this is the code that I have now, but the call to VerifyDatabase on the report always throws the Log on Failed exception:-
    void SomeClass::SetLogOnInfoForReportRecursively(ReportDocument^ ReportObj)
            CrystalDecisions::Shared::TableLogOnInfo^ l_pTableLogOnInfoToSet = gcnew CrystalDecisions::Shared::TableLogOnInfo();
            CrystalDecisions::Shared::ConnectionInfo^ l_pConnectionInfo = l_pTableLogOnInfoToSet->ConnectionInfo;
            l_pConnectionInfo->AllowCustomConnection = true;
            l_pConnectionInfo->ServerName = gcnew String(m_strServerName);
            l_pConnectionInfo->DatabaseName = gcnew String(m_strDatabaseName);
            l_pConnectionInfo->UserID = gcnew String(m_strUserID);
            l_pConnectionInfo->Password = gcnew String(m_strPassword);
            DbConnectionAttributes^ l_pConnectionAttributes = gcnew DbConnectionAttributes();
            l_pConnectionAttributes->Collection->Set("Database DLL", "crdb_odbc.dll");
            l_pConnectionAttributes->Collection->Set("QE_DatabaseName", String::Empty);
            l_pConnectionAttributes->Collection->Set("QE_DatabaseType", "ODBC (RDO)");
            l_pConnectionAttributes->Collection->Set("QE_SQLDB", true);
            l_pConnectionAttributes->Collection->Set("SSO Enabled", false);
            l_pConnectionInfo->Attributes = l_pConnectionAttributes;
            //main connection
            ReportObj->SetDatabaseLogon(l_pConnectionInfo->UserID, l_pConnectionInfo->Password, l_pConnectionInfo->ServerName, l_pConnectionInfo->DatabaseName, false);
            //other connections
            for each(CrystalDecisions::Shared::IConnectionInfo^ pConnection in ReportObj->DataSourceConnections)
                pConnection->SetConnection(l_pConnectionInfo->ServerName, l_pConnectionInfo->DatabaseName, l_pConnectionInfo->UserID, l_pConnectionInfo->Password);
                //pConnection->SetLogon(l_pConnectionInfo->UserID, l_pConnectionInfo->Password);
                pConnection->LogonProperties->Set("Data Source", l_pConnectionInfo->ServerName);
                pConnection->LogonProperties->Set("Initial Catalog", l_pConnectionInfo->DatabaseName);
            // Now we need to set the log on info for any subreports otherwise they will always look for the datasource they were set up with.
            if (!ReportObj->IsSubreport)
            for each (ReportDocument^ l_pSubReport in ReportObj->Subreports)
                 SetLogOnInfoForReportRecursively(l_pSubReport);
            for each (CrystalDecisions::CrystalReports::Engine::Table^ l_pTable in ReportObj->Database->Tables)
                TableLogOnInfo^ l_pCurentTableLogOnInfo = l_pTable->LogOnInfo;
                l_pCurentTableLogOnInfo->ConnectionInfo = l_pTableLogOnInfoToSet->ConnectionInfo;
                l_pTable->ApplyLogOnInfo(l_pCurentTableLogOnInfo);
                if (!l_pTable->TestConnectivity())
                   // handle error situation
    ... then the calling code
    SetLogOnInfoForReportRecursively( pReportObj );
    // l_Parameters contains the stored proc param name/values pairs to set at runtime
    for each (KeyValuePair<String^, String^> param in l_Parameters)
            pReportObj->SetParameterValue(param.Key, param.Value);
    pReportObj->VerifyDatabase();
    which then fails.  Can anyone see what I am doing wrong?
    Thanks

    Hi Paul,
    Are you using CR for VS SP 13? If not you can get it here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    And MS SQL Server does not use a blank database name:
    l_pConnectionAttributes->Collection->Set("QE_DatabaseName", String::Empty);
    Set it to a database used in the report.
    And you don't need to call .Verify, unless the reports are not up to date, which is not recommended, you should be using ReplaceConnection. ( Search for this, KBA's and posts on how to use it )
    So rather that call .Verify try CRTable.TestConnectivity();
    If that fails then you know your log on failed also.
    Curious, if you try to preview the report it should prompt for log on info, if the Server and Database names are grayed out ( not editable ) then CR can't find the client either.
    And MS recommends using the client that matches the version of SQL Server, So if 2005 and less you can use the MDAC SQL Client driver, for MS 2008 then use the SQL Native 10 or above.
    Don

  • Call to Package Procedure fails with wrong number or type of parameters

    I think its getting to the correct package and procedure since if I change the name slightly, I get an error about it not being defined.
    Here is my Parameter set up:
    OracleParameter[] theParams = new OracleParameter[26];
    theParams[0] = new OracleParameter("P1",OracleDbType.Char,2);
    theParams[1] = new OracleParameter("P2", OracleDbType.Char, 12);
    theParams[2] = new OracleParameter("P3", OracleDbType.Char, 12);
    theParams[3] = new OracleParameter("P4", OracleDbType.Char, 12);
    theParams[4] = new OracleParameter("P5", OracleDbType.Double);
    theParams[5] = new OracleParameter("P6", OracleDbType.Char, 12);
    theParams[6] = new OracleParameter("P7", OracleDbType.Char, 12);
    theParams[7] = new OracleParameter("P8", OracleDbType.Char, 12);
    theParams[8] = new OracleParameter("P9", OracleDbType.Char, 10);
    theParams[9] = new OracleParameter("P10", OracleDbType.Char, 3);
    theParams[10] = new OracleParameter("P11", OracleDbType.Char, 2);
    theParams[11] = new OracleParameter("P12", OracleDbType.Char, 2);
    theParams[12] = new OracleParameter("P13", OracleDbType.Char, 2);
    theParams[13] = new OracleParameter("P14", OracleDbType.Char, 6);
    theParams[14] = new OracleParameter("P15", OracleDbType.Char, 6);
    theParams[15] = new OracleParameter("P16", OracleDbType.Varchar2);
    theParams[16] = new OracleParameter("P17", OracleDbType.Char, 2);
    theParams[17] = new OracleParameter("P18", OracleDbType.Char, 16);
    theParams[17].Direction = System.Data.ParameterDirection.Output;
    theParams[18] = new OracleParameter("P19", OracleDbType.Char, 12);
    theParams[18].Direction = System.Data.ParameterDirection.Output;
    theParams[19] = new OracleParameter("P20", OracleDbType.Varchar2, 12);
    theParams[20] = new OracleParameter("P21", OracleDbType.Varchar2);
    theParams[21] = new OracleParameter("P22", OracleDbType.Char, 2);
    theParams[22] = new OracleParameter("P23", OracleDbType.Char, 2);
    theParams[23] = new OracleParameter("P24", OracleDbType.Char, 2);
    theParams[24] = new OracleParameter("P25", OracleDbType.Char, 2);
    theParams[25] = new OracleParameter("P26", OracleDbType.Char, 2);
    Now the problem is that the package definition is declared using types from database table columns, for the most part.
    So for those, I used the real types of those columns, like for CHAR(2) I used OracleDbType.Char with length 2.
    There are just a few odd balls that I'm not sure about.
    For new OracleParameter("P5", OracleDbType.Double);, this is a parameter defined usijng a column type, that is NUMBER(8). Not sure what to use here.
    For the line theParams[15] = new OracleParameter("P16", OracleDbType.Varchar2);, the parameter definition for the procedure parameter is VARCHAR2. So I used that with no length specified. Is that correct?
    The oddest is this one, theParams[19] = new OracleParameter("P20", OracleDbType.Varchar2, 12);, where the procedure parameter is defined as a type from another package. That in turn is defined as a RECORD:
    TYPE t_log_rec IS RECORD (
    log_seq t_handle -- VARCHAR2(12)
    and t_handle is defined in terms of another table column, and that is defined as VARCHAR2(12).
    Any help on how to map those Oracle types back to .Net Oracle data types and parameter definitions is appreciated.

    PLSQL Record types cannot be passed directly via OCI (read client) apps, and can only be instantiated/passed from other PLSQL procedures.
    You could create a wrapper procedure in the database that accepts all scalar types, which then converts the varchar2 into a t_log_rec and then calls the "real" procedure.
    Or, you could instantiate a t_log_rec inside an anonymous block and call the real procedure via that anonymous block.
    Varchar2 parameters need size defined. When you assign an IN param a value, size is implicitly defined. OUT parameters need to have size explicitly defined.
    Hope it helps
    Greg

  • OIM 11G, DSML integration failing  with null pointer exception

    Hi,
    we are facing the similar probelm while sending a request from TIBCO BW to OIM 11G (Which is weblogic)
    The below request from TIBCO is not working and thowing a NULL POINTER EXCEPTION
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
    <ns:OIMUser xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://xmlns.oracle.com/OIM/provisioning" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">
    <ns:OIMUserId>xelsysadm</ns:OIMUserId>
    <ns:OIMUserPassword>Welcome123</ns:OIMUserPassword>
    </ns:OIMUser>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <ns0:processRequest xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://xmlns.oracle.com/OIM/provisioning">
    <sOAPElement xmlns="">
    <ns:modifyRequest xmlns:ns="urn:oasis:names:tc:SPML:2:0" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" returnData="data">
    <ns:psoID ID="Users:21"/>
    <ns:modification name="Users.User ID" operation="add">
    <ns:value>Richard1</ns:value>
    </ns:modification>
    </ns:modifyRequest>
    </sOAPElement>
    </ns0:processRequest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But if we change the <sOAPElement xmlns=""> to <sOAPElement> (removing the empty namespace) we can able to fire this soap.
    Could you please let me know are there any patch, workaround for this issue.
    Thanks
    Madhu

    I don't think OIM 11g supports DSML profile and may be that's the reason you are getting NPE.
    See: http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/spmlapi.htm#CHDCBJAI
    It states:
    "SPML has two profiles: the XSD profile and the DSML profile. This release of Oracle Identity Manager makes use of the XSD profile."

  • Oracle JDeveloper 11g Java unexpected

    Hi All,
    i'm following the base tutorial to build AND when i click on Run i got this error:
    [waiting for the server to complete its initialization...]
    \Java\jdk1.6.0_33 non atteso.
    Process exited.\Java\jdk.1.6.0_33 isnt in my PATH variable, and i've setted the default JVM when i have installed JDeveloper
    If i Right click on AppModule->Run all works fine.
    Could you help me?
    Thanks
    Edited by: f.biegi on 28-mag-2013 13.14

    I have uninstalled JDeveloper and installed it again, now i have specified my JVM: C:\Program Files (x86)\Java\jdk1.7.0_10
    If i select Model -> Right Click -> Project Properties.. -> Libraries and Classpath
    In this section i have: Java SE Version: 1.7.0_10
    Clicking on Change button i have this
    - Project
    - User
    1.7.0_10
    - Extension
    1.7.0_10 (Default)
    If i click Run (right on my page -> Run), i got the same error: \Java\jdk1.6.0_33 non atteso.
    This is my PATH variable
    C:\OracleDB\base\product\11.2.0\dbhome_1\bin;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%systemroot%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Oracle\VirtualBox;C:\xampp\php;C:\xampp\php\pear\PEAR;%systemroot%\System32\WindowsPowerShell\v1.0\

Maybe you are looking for

  • Yosemite graphics and sound issues

    this is my computer: MacBook Pro (15-inch, Early 2011) Processor 2 GHz Intel Core i7 Memory 4 GB 1333 MHz DDR3 Graphics Intel HD Graphics 3000 384 MB i have been dealing with a very inconsistent problem since i've downloaded yosemite. I'll start with

  • Deficit of BA Stck.in qual.insp 1 EA : 270/MAP101 AB01 0001 0000069184

    Hi , in transaction MB11 we are doing a movement 331 on warehouse 001 of 1 pieces material. we receave the following error : Deficit of BA Stck.in qual.insp 1 EA : 270/MAP101 AB01 0001 0000069184 We check also MMBE and the goods are avalaible. Wath C

  • Not able to deliver report to a folder through WEBDAV method in BIP 11g

    Below is the log from file bipublisher.log which i am getting wen trying to deliver report to a folder in UCM sever:- [2011-11-18T13:20:47.300+05:30] [AdminServer] [WARNING] [] [oracle.xdo] [tid: 39] [userId: <anonymous>] [ecid: af46278784e183e2:d1c6

  • Hyphenation not working

    Hi guys, I have hyphernation ON, but is not working. I see an strange sign from the original text, maybe is a non breaking word character imported from the original text in Word Office. Here is the picture http://www.pixentral.com/show.php?picture=1J

  • WLC 5508 webauth_bundle

    Hi I'm trying to upload webauth_bundle-1.0.2.zip file on WLC 5508 controller with software version 7.0.220.0 via tftp server. First the controller says that "Unknown bundle type. Valid bundle is a tar file." so I unzip file and create a tar file and