Oracle SQLJ not working in WebLogic

Mybe its a little off topic here, but the JDBC and SQLJ runtime comes with JDeveloper.
I try to deploy my application to WebLogic 7.0.0.1 and cannot get SQLJ code running.
I loaded all jars (JDBC: classes12.jar, nls_charset12.jar; SQLJ: runtime12.jar) to the server. The driver of the connection reports version "Oracle JDBC driver 9.0.1.4".
Here is the exception stack:
java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso or with -codegen=jdbc.      at sqlj.runtime.ref.ConnectionContextImpl.getOracleConnection(ConnectionContextImpl.java:146)      at sqlj.runtime.ExecutionContext$OracleContext.prepareOracleCall(ExecutionContext.java:1517)
Next I`m going to try translating with codegen=jdbc as workaround. But then I cannot use any Oracle specific enhancements.
Thanks for any help,
Robert

I'm not sure off-hand what the solution is. You may want to try the SQLJ/JDBC forum if you haven't already.
-- Brian

Similar Messages

  • CDI not working in Weblogic 12c Embedded EJB Container?

    Hi,
    we are trying to use embedded ejb container from weblogic 12c (12.1.2.0) for our junit tests.
    As our application is running in weblogic 12c, we would like to run our tests  in same environment.
    But we encountered two problems, which brings me to the conclusion that CDI is not working correctly in embedded ejb container.
    1. CDI Interceptor are not working
    2. CDI Objects (@Inject) are null
    I can provide an error message, which I think is thrown, when container tries to access the interceptor, because if I delete the interceptors the error message gets no longer thrown:
    Caused by: java.lang.UnsupportedOperationException: authenticatedLookup is unavailable for BasicNamingNode types
          at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:234)
          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:463)
          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:274)
          at weblogic.jndi.internal.ServerNamingNode_12120_WLStub.authenticatedLookup(UnknownSource)
          at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:483)
    We just want to know, if CDI is not working in embedded ejb container, so we can go ahead and look for another solution for our junit tests.
    Stefan

    Hi There,
    If you have access to Oracle Support Portal, please go through below Knowledge Articles which can provide more information on your requirement:
    Sample Application Using Timer API (CommonJ) to configure Timer Based tasks in Oracle WebLogic Cluster 10.3.X Cluster (Doc ID 1614886.1)
    Clustered EJB Timer - The minimum time for recurring execution of a timer (Doc ID 1931091.1)
    Let us know if it helps.
    Cheers,
    Naveen

  • InvokeODI webservice is not working from Weblogic Server 11gR1

    Hi,
    We have deployed axis2 (1.2) with invokeodi service to weblogic server 10.3.1.
    We have a BPEL process (using Jdeveloper/SOA 11gR1) which is invoking the invokeOdi webservice to
    invoke a scenario. The invoke is failed with the following fault.
    "Unable to access the following endpoint(s): http://www.oracle.com/"
    Complete Stack Trace:
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault} parts: {{ summary=oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://www.oracle.com/ ,detail=Unable to access the following endpoint(s): http://www.oracle.com/ ,code=200 } at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:301) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:935) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.handleNormalInvoke(BPELInvokeWMP.java:440) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:182) at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:140) at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2675) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2558) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1256) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:188) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:285) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4607) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:828) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:610) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:354) at sun.reflect.GeneratedMethodAccessor697.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37) at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54) at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy181.handleInvoke(Unknown Source) at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.java:73) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:34) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:139) at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
    FYI, this is working fine with OC4J 10.1.3.4.
    Any help is greatly appreciated.
    Thanks in advance.
    Thanks & Regards,
    Rama Krishna. P
    Edited by: user4477725 on Aug 19, 2009 12:17 PM
    Edited by: user4477725 on Aug 19, 2009 12:39 PM

    I have developed one web application using Autocompleteextender ajax control and used webservice to get the values.
    It is working in local system where i can enter some text in textbox and it will show related word sear list in dropdown.
    But after hosting in production server, some time like 1 hr or 2 hr it will work. Then it will stop working means if i type test in text box  i will not get the list related to entered text.
    Where exactly the problem. Even i have added webreference of that service. Then also sometime it will work and after some time it will not work
    How to fix this issue. Please suggest me.
    Thanks in advance.

  • Custom DB authentication to an application from Oracle Portal not working.

    Hi All,
    We have a Portal customized and integrated to LDAP for SSO.
    From the portal, we have a link that takes to another custom application that requires another level of authentication. We have implemented this authentication as custom Database based authentication.
    When user login to the portal and access this link, he will be directed for authentication again. This custom application has been installed on a different OC4J instance while Oracle Portal is running in a different OC4J instance.
    Issue is though user details are being propagated to the custom application page, we are receiving an error saying authentication failed.
    In the OC4J instance specific for this custom application, we have configured jazn.xml to use custom authentication.
    Below is the code:
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn-9_04.dtd">
    <jazn provider="XML" location="./jazn-data.xml" default-realm="jazn.com">
    <property name="role.mapping.dynamic" value="true"/>
    <property name="custom.loginmodule.provider" value="true"/>
    </jazn>
    and in jazn-data.xml, we gave the role mapping.
    But the problem is when the link to the custom application is accessed, it seems like the custom autentication mechanism is not working.
    Can anyone throw light on this?
    Do we need to give the same configuration in the j2ee/home/config directory files also?
    Can we use both LDAP and custom DB authentication with in the same OAS setup. Remember as of now, Portal and custom application are running in different OC4J instances but within the same OAS.
    Any help in this regard will be highely appreciated.
    Thanks,
    Sasi Bhushan

    Hi All,
    We have a Portal customized and integrated to LDAP for SSO.
    From the portal, we have a link that takes to another custom application that requires another level of authentication. We have implemented this authentication as custom Database based authentication.
    When user login to the portal and access this link, he will be directed for authentication again. This custom application has been installed on a different OC4J instance while Oracle Portal is running in a different OC4J instance.
    Issue is though user details are being propagated to the custom application page, we are receiving an error saying authentication failed.
    In the OC4J instance specific for this custom application, we have configured jazn.xml to use custom authentication.
    Below is the code:
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn-9_04.dtd">
    <jazn provider="XML" location="./jazn-data.xml" default-realm="jazn.com">
    <property name="role.mapping.dynamic" value="true"/>
    <property name="custom.loginmodule.provider" value="true"/>
    </jazn>
    and in jazn-data.xml, we gave the role mapping.
    But the problem is when the link to the custom application is accessed, it seems like the custom autentication mechanism is not working.
    Can anyone throw light on this?
    Do we need to give the same configuration in the j2ee/home/config directory files also?
    Can we use both LDAP and custom DB authentication with in the same OAS setup. Remember as of now, Portal and custom application are running in different OC4J instances but within the same OAS.
    Any help in this regard will be highely appreciated.
    Thanks,
    Sasi Bhushan

  • Navigation not working in Weblogic Server but working from JDeveloper.

    Hi
    I created a simple application with some page navigations (some declarative and some dynamic using Managed Bean).
    The navigation works fine when I run from JDeveloper. (Local System)
    So I deployed the application to the WebLogic server (Local system with a domain configured with ADF.)
    The pages are getting rendered correctly, bu on button clicks, the navigation is not happening from any of the pages.
    Could I have missed something or is there a way to track what the problem might be?
    JDev : 11.1.1.3
    Web Logic Server : 11gR1 (1.3) which comes with JDeveloper
    Thanks for any help.
    Sameer

    Hi John
    I am not using task flows. I just have some jspx pages defined in the unbounded task flow adfc-config.xml connected with navigation.
    I run from JDEveloper by right clicking on the jspx files.
    The URL when run from jdeveloper is as follows.
    http://127.0.0.1:7101/SessionsPOC-ViewController-context-root/faces/MainPage
    From Weblogic server I am using the link given in the Testing tab of the weblogic administration console.
    The URL is as follows.
    http://10.9.73.103:7001/SessionsPOC-ViewController-context-root (default)
    http://10.9.73.103:7001/SessionsPOC-ViewController-context-root/MainPage.jspx
    Actually, the URL given in the weblogic testing tab is not runnable. I am changing the link as follows to be able to run it.
    http://10.9.73.103:7001/SessionsPOC-ViewController-context-root/faces/MainPage.jspx
    I have defined the MainPage.jspx in the web.xml 's Welcome page. But it is not taking it I guess.
    Also, I am able to run the other page by giving the following url. But the navigation buttons are not working in that page also.
    http://10.9.73.103:7001/SessionsPOC-ViewController-context-root/faces/SecondPage.jspx
    Thanks
    Sameer

  • Debugging not working in weblogic portal

    When I am running my portal app built on weblogic portal 8.1, its throwing an error cannot start debugger. App might not be deployed properly.
    I have redeployed 2-3 times, and its running also fine, but debugger is not working.
    when the app domain starts few exceptions are thrown like,
    primary key voilated,
    jms connection pool could not connect
    Can this be the reason?

    well, from a debugging perspective, the application errors should not prevent a debugger from attaching to the VM. Can you be more specific about when you say the debugger is not starting?
    Thanks
    Mike

  • ORACLE tags not working after 1.5.1 patch

    I have some logic in my template the looks up information from some Oracle tables. This logic worked fine in 1.5.0, however, after applying the 1.5.1 patch it does not perform the Oracle logic, but shows the Oracle code as HTML on the page. Here is the code in question: (This is not the entire code, but one HTML TD that comes before the Oracle code, and one HTML TD that comes after it)
    <TD align="center" valign="top"><A
    href="/pls/portal/PORTAL.home"><IMG src="#WORKSPACE_IMAGES#ihome.gif" alt="Home" border="0"></A></TD>
    <ORACLE>
    BEGIN htp.tableData(htf.anchor2('javascript:help_openTopic(''/insitehelp/Insite_Help.htm'', ''' || pkg_insite_general.help_link(v('APP_ID'), v('APP_PAGE_ID')) || ''')', '', '', '', '><IMG src="#WORKSPACE_IMAGES#ihelpl.gif" alt="Help" border=0'), 'center');
    END;
    </ORACLE>
    <TD align="center" valign="top"><IMG src="#WORKSPACE_IMAGES#ilogout.gif" alt="Logout" border="0"></TD>
    This is what displays on the web page:
    BEGIN htp.tableData(htf.anchor2('javascript:help_openTopic(''/insitehelp/Insite_Help.htm'', ''' || pkg_insite_general.help_link(v('APP_ID'), v('APP_PAGE_ID')) || ''')', '', '', '', '>

    Your removal of functionality in a bug fix has broken a production application for us. This does not seem like something that should have been done with a "patch"
    I have just read all that I can find on "shortcuts" and am not finding what I need.
    Here is what we are doing:
    We are using RoboHelp for our help content. We have a help icon and a help link on the header of the page. This is defined in our template. We have to have the name of the module (Page Alias) to link the page being run to the help content for that page. Since you do not have a system variable for page name or page alias, I have had to put this information into an Oracle table. I was looking that up with a function within the Oracle Tags.
    Can I create a shortcut that would create the following code pl/sql code into a PL/SQL function body:
    BEGIN
    htp.tableData(htf.anchor2('javascript:help_openTopic(''/insitehelp/Insite_Help.htm'', ''' || pkg_insite_general.help_link(v('APP_ID'), v('APP_PAGE_ID')) || ''')', '', '', '', '><IMG src="#WORKSPACE_IMAGES#ihelpl.gif" alt="Help" border=0'), 'center');
    END;
    and call this shortcut where this help icon needs to appear like:
    <TD align="center" valign="top">
    "CALLHELPWITHICON"
    </TD>
    I have done the above, but it does not work. What am I doing wrong, how can I get this to work? We have had to remove our help icons because of this patch.
    I thank you so for your research on this.

  • Periodics Oracle Alerts  not working

    Dear All,
    we are using Oracle11.5.10.2 on AIX 5.3 and Oracle Schedule Alerts are not working ,we need to schedule manually ,what will be the issue.
    we scheduled every day once but it is not running on schedule time.
    Thanks

    Please verify the Periodic Alert Scheduler is running: http://docs.oracle.com/cd/A60725_05/html/comnls/us/alr/chking01.htm
    HTH,
    --Johnnie                                                                                                                                                                                                                                                                                           

  • Oracle Alert not working on Oracle e-Business Suite 11.5.10

    Dear All,
    Oracle Alert was working on Oracle e-Business Suite 11.5.10 with Postfix server. But now
    we changed to MS exchange server instead of postfix server then onwards the alert is not working. I done the configuration according to MS Exchange server, inbound/outbound Server Name/reply-to-Address/added relay host.
    Test Notification Mailer is working fine, but the alert is not working.
    please anyone help me on this.
    regards,
    sva

    Hi Hussien,
    I done the diagnostic test got this warning
    WARNING - The profile option 'RESP_ID' does not exist
    ACTION - Set the 'RESP_ID' profile option. Consult Oracle Alert user guide for more details on this profile option.
    WARNING - The profile option 'EMAIL_ADDRESS' does not exist
    ACTION - To use the 'EMAIL_ADDRESS' profile option value as the :MAILID value, it must be created and set as the 'EMAIL_ADDRESS' profile option and perform some additional setup steps. Please consult Oracle Alert user guide for more details. If the 'EMAIL_ADDRESS' profile option has not been created, or if its value is null, Oracle Alert uses the operating system userid or the application username of the user who triggered the event, depending on the value set for the 'Default User Mail Account' option in the Oracle Alert Options form.
    When I done the oracle alert test it completed with normal. but not sending the mail.
    in the view output ->>
    ************************************************************************* (ROUTINE=alepaa) (FILE=alr/src/except/alepea.c) (LINE=1058)
    Performing alert "aaTest" (ROUTINE=alepaa) (FILE=alr/src/except/alepea.c) (LINE=1060)
    Connecting to "APPS" (ROUTINE=alepaa) (FILE=alr/src/except/alepea.c) (LINE=1114)
    Performing action set "aaPrintActionSet" (ROUTINE=alepea) (FILE=alr/src/except/alepea.c) (LINE=277)
    Performing action "aaPrint" (ROUTINE=alsasm) (FILE=alr/src/sendmail/alspma.c) (LINE=560)
    I don't know whether the configuration is correct in Alert Manager -> System -> options
    Oracle application 11.5.10 is running on HP Unix(DB,conc. server,reports ..) and Redhat linux 4 ( forms,web server)
    please help me on this.
    regards,
    sva

  • Oracle reports not working

    my oracle reports are not working.
    all the inforation is being sent to the rwservlet but the report just consists of the Heading of the report and not the data.
    i have checked the queries in the respective .xml files and run those queries in sql. they are working pretty fine and returning the desired result. if i am trying to generate the reports in excel format, they are getting generated with all data.
    please help me out.

    Is this a problem with one type of report? Does a simple test report created in the builder work ok?
    How are you running the report? From a URL or from Forms?
    Is there any error showing in the ?/reports/logs or in the ?/opmn/logs (either in the report server log or in the OC4J)?
    Can you run the report using rwrun?

  • ListenerAdmin not working in WebLogic

    I seem to be having the same issue that folks are having within the Glassfish server. I've configured the APEX listener on WebLogic 11g (10.3.5). Followed the instructions to create the adminlistener and managerlistener and their respective groups: Admin and Manager and assigned the users apppropriately (followed the installation instructions). I've used listenerConfig to configure the listener but when trying to access listenerAdmin URL I get the dreaded 403 error. Any help would be appreciated.
    Thanks,
    Jack

    Hi Jack,
    could you post some additional information of what exactly you did and which version of APEX Listener you use?
    And did you try to reset your browsers authentication cache? As I've learned when investigating similar problems (also discussed here) both listenerStatus and listenerAdmin use the same realm for basic authentication ("APEX"). If your browser stores your authentication information for one of these realms (which it usually does) and you try to enter the other part, it resends these information, which can lead to a 403 (as discussed in Link http://localhost:8080/apex/listenerConfigure not working).
    Possibly this caching is even instance-independent (as the realm doesn't include any host/instance/... information), so if you've entered different credentials for another instance, this could be an explanation as well. Could you try to erase any entry concerning APEX Listener from your browser cache? Or try a different browser you ususally don't use, perhaps even a portable version of Firefox or something like that, where you can be sure you have a fresh start and can safely abandon everything once you've done?
    The latter case would only be relevant if you aren't even asked before you get the 403. So the question is: Can you enter the credentials at all, or do you get the 403 right away?
    Another possibility: Did you try with a simple password (without any special character)? And did you restart your WLS after adding those users? Possibly these changes aren't effective immediately.
    -Udo

  • jsp:include is not working on weblogic

    I have a problem I write the following code
    html>
    <head>
    <script LANGUAGE="javascript" SRC="js/tab.js"></script>
    <LINK href="stylesheets/global.css" type=text/css rel=stylesheet>
    <title>JobSpinner Status</title>
    </head>
    <body class="bodymargin" onload="setpage(1)">
    <jsp:include flush="true" page="JobSpinnerTab.jsp"></jsp:include>
    <form id="loginForm" action="/jobspinner/JobStatus.faces" method="post">
    <input type="hidden" name="loginForm" value="loginForm" />
    <nobr>
    It is working fine on four to five PC we have checked .
    But the problem is that it is not working on a particular weblogic Server 8.1 SP2 .
    Can someone help me .
    Regs
    Amit Verma

    Are other JSP tags working on the page?
    eg
    Server info = <%= application.getServerInfo() %> <br>
    Servlet engine version = <%=  application.getMajorVersion() %>.<%= application.getMinorVersion() %><br>
    Java version = <%= System.getProperty("java.vm.version") %><br>
    Java home = <%= System.getProperty("java.home") %><br>Your page might be being interpreted as HTML rather than passed through the JSP engine.

  • Copy form Wrod document and Paste in Oracle Forms not working

    Hi
    In one Oracle Finacial instance Copy from other document (word or Excel) and Paste in Oracle Financial Forms not working. Any body know the reason for this?
    Eg. Copy Invoice Number form Excel and Paste it in Some of the payable forms or any other forms
    Regards
    Sunil

    Hi
    We have tried this but no output. ie the issue continues the same. This issue is there for all PC including Server. Is there any other solution avaliable. .
    Regards
    Sunil

  • JDBC stored procedure not working in Weblogic 12.1.3

    Hi,
    We are migrating from WLS 12.1.2 to 12.1.3.
    We have a JDBC stored procedure which used to work correctly under 12.1.2. I understand that 12.1.2 uses ojdbc5/ojdbc6 jars (11.2.0.x). After migrating to 12.1.3, the stored procedure is not working.
    We have narrowed it down to the different between 12.1.2 using ojdbc5/6 and 12.1.3 using ojdbc7 jars, though we do not understand what the difference here is.
    Connection connection = getConnection();
    CallableStatement callableStatement = connection.prepareCall("{call RECEIPT_LOG (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}");
    callableStatement.registerOutParameter("PIO_RECEIPT_LOG_ID", java.sql.Types.INTEGER);
    callableStatement.setLong("PIO_RECEIPT_LOG_ID", 0);
    callableStatement.setString("PIO_DRAWER_NAME", request.getDrawerName());
    callableStatement.setString("PIO_DRAWER_FIRST_NAME", request.getDrawerFirstName());
    callableStatement.setString("PIO_DRAWER_OTHER_NAMES", "");
    callableStatement.setString("PIO_DRAWER_STREET_NO", "");
    callableStatement.setString("PIO_DRAWER_STREET", "");
    callableStatement.setString("PIO_DRAWER_LOCALITY", "");
    callableStatement.setLong("PIO_DRAWER_POSTCODE", 0);
    callableStatement.setString("PI_PAYMENT_TYPE", request.getPiPaymentType());
    callableStatement.setLong("PI_APPLICATION_ID", request.getApplicationId());
    callableStatement.setString("PI_PRIMARY_ID", request.getPiPrimaryId());
    callableStatement.setString("PI_SECONDARY_ID", request.getPiSecondaryId());
    callableStatement.setDouble("PI_AMOUNT", request.getPiAmount());
    callableStatement.setInt("PI_TAX_AMOUNT", 0);
    callableStatement.setNull("PI_VPC_TXNRESPONSECODE", java.sql.Types.VARCHAR);
    callableStatement.setInt("PI_VPC_TRANSACTIONNO", 0);
    callableStatement.setString("PI_VPC_MESSAGE", "");
    callableStatement.setString("PI_VPC_ACQRESPONSECODE", "");
    callableStatement.setString("PI_VPC_RECEIPTNO", "");
    callableStatement.setString("PI_VPC_BATCHNO", "");
    callableStatement.setString("PI_VPC_CARD", "");
    callableStatement.setString("PI_VPC_MERCHTXNREF", "");
    callableStatement.setString("PI_VPC_MERCHANT", "");
    callableStatement.setString("PI_VPC_ORDERINFO", "");
    callableStatement.setInt("PI_VPC_AMOUNT", 0);
    callableStatement.setString("PI_VPC_AUTHORIZEID", "");
    callableStatement.registerOutParameter("PO_RECEIPT_NO", java.sql.Types.VARCHAR);
    callableStatement.registerOutParameter("PO_SOURCE_ID", java.sql.Types.INTEGER);
    callableStatement.registerOutParameter("PO_PAYMENT_METHOD_TEXT", java.sql.Types.VARCHAR);
    callableStatement.registerOutParameter("PO_CREATE_COMMENT", java.sql.Types.VARCHAR);
    callableStatement.registerOutParameter("PO_ERROR_MESSAGE", java.sql.Types.VARCHAR);
    boolean isSuccessful = callableStatement.execute();
    Long receiptLogId = callableStatement.getLong("PIO_RECEIPT_LOG_ID");
    Here, when the callableStatement.execute() is fired, the isSuccessful is false and the output parameter receiptLogId is 0
    Any help appreciated.
    Regards,
    Rahul

    Hi All,
    We still haven't figured out what the problem is with JDBC when using ojdbc7.jar but, as an alternate solution we ported the code to Spring JDBC and got it working.
    Regards,
    Rahul

  • Oracle Streams not working after database restart

    Hi,
    I am new at this so hope that somebody out there can give me some guidance.. I have managed to setup the streams properly on both my 10g database as per the scripts given in StreamsAdminConfig.sql and StreamsSetup.sql.. It worked beautifully on both direction.
    However when i restarted DB1.. suddenly the replication become just one directional only, namely from DB1 -> DB2. I have tried to do DBMS_STREAMS_ADM.STOP_APPLY, STOP_CAPTURE, START_APPLY, START_CAPTURE many times on both DB1 and DB2 but still it works only in one direction.
    Later I tried to restart both databases and not it does not work at all (both direction).. Tried restarting the apply and capture process many times too but get no success. Any idea what I could check or try to find out what when wrong. Thanks.
    regards,
    thamch

    trying viewing the status and error messages in views
    dba_apply, dba_apply_error, dba_capture and dba_propagation at both databases.

Maybe you are looking for

  • Multiclips and multiple audio tracks playing at the same time

    I've only just taken delivery of my first ever mac (only ever used PC) with FCP, and I'm loving it already! Done lots of reading and viewing of video etc etc, and it's not as daunting as I thought it might be. I have one question the books don't seem

  • My area is not on the drop-down list?

    just applied for skype number but my area is not on the drop-down list can't get any further until I choose something from the list, what do I do, just pick the nearest area? Post transferred to create its own new thread (topic); subject/title edited

  • Need a new hard drive for my White Macbook (2008)

    my hard drive crashed and now it runs on the start up disk, i use to have 120 gb available now its down to 3 GB... and i get hard drive errors sometimes, and my macbook takes ages to load up (15 minutes), so i never restart it anymore, I need a link

  • Messages save location changes automatically from ...

    Hi everybody I have a Nokia 5800 with v51.0.006 firmware. My problem is that randomly when i receive text messages the memory change automatically from memory card to phone memory.  Any ideea why?

  • Short dump in production

    Hello Friends, I have a z table and it is working fine in development and quality system and it is giving short dump error when I try to maintain the same table in production using SM30 tcode. Please suggest me what would be the issue here? Thanks, S