Problem calling ejb in oas from non-oracle java client

I am trying to call an ejb that is deployed in OAS 9i from a java server page running another non-Oracle app server.
I continue to get the following error:
java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't
instantiate default ORB implementation com.visigenic.vbroker.orb.ORB minor
code: 0 completed: No
I don't think it's a classpath problem. In desperation, I added every jar file in the Oracle directory structure to my classpath.
The ejb works fine with jsp on OAS, but (at the moment) using OAS as our production web container is not an option.
Is this even possible?
null

Hi Andrei,
is that all you get? No more nested exceptions? This snippet isn't really explaining thery much...
Best regards
Stefan

Similar Messages

  • How to call a COM object from an Oracle Form?

    Hi All,
    Pls advice. How to call a COM object from an Oracle Form?
    Thanks.

    try asking the "Form" forum

  • Error while calling standard OAF page from custom Oracle Form

    Hi,
    I am calling standard OAF page from custom oracle form using the following code.
    FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'FUN_TRX_ENTRY_OUT_VIEW_BATCH',
    OPEN_FLAG =>'Y',
    SESSION_FLAG =>'N' ,
    OTHER_PARAMS =>'&ViewBatchID = "' || NAME_IN('FUN_AGIS_LINE_D.BATCH_ID') ||
                        '&CallingFunction = "' || 'MANEXPINQ' ||'"');
    But I am getting this error.
    oracle.apps.fnd.framework.OAException: This request was not processed as the request URL %2FOA_HTML%2FOA.jsp%3Fpage%3D%2Foracle%2Fapps%2Ffun%2Ftransaction%2Fentry%2Fwebui%2FViewOutBatchPG%26OAPB%3DFUN_PRODUCT_BRAND%26OAHP%3DFUN_SSWA_MENU%26OASF%3DFUN_TRX_ENTRY_OUT_SEARCH%26_ti%3D1217029204%26language_code%3DUS%26%26ViewBatchID%20%3D%20%22203148%26CallingFunction%20%3D%20%22MANEXPINQ%22%26CallFromForm%3D%27Y%27%26oas%3DqZqg3tmdEdUNyw_HtskVow.. contained potentially illegal or un-encoded characters. Please try again by submitting a valid URL or contact your systems administrator for assistance.
    Please let me know any thing I missed out here.
    Any suggestion will highly appreciated.
    Thanks & Regards,
    Sunita

    I am using FND_FUNCTION.EXECUTE to call a OAF page from PLSQL in R12. I am getting following error"Error(9,23): PLS-00302: component 'EXECUTE' must be declared"

  • Calling EJB 3.0 from ALBPM

    Hi,
    I tried calling EJB 2.1 from ALBPM and it worked.
    But I was nto able to call EJB 3.0.
    Is calling EJB 3.0 supported from ALBPM 6.0.2?
    If yes, how to call a business method in EJB 3.0?

    Frank,
    Thanks. The @LOB annotations are missing.
    Create table with:
    CREATE TABLE TestBlob (id number PRIMARY KEY, xmlCol BLOB);
    INSERT INTO TestBlob VALUES(1, EMPTY_BLOB());
    The following is the complete listing for the EJB 3 class generated from table TestBlob.
    package ejb3;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    @Entity
    @NamedQueries({
    @NamedQuery(name = "Testblob.findAll", query = "select o from Testblob o")
    public class Testblob implements Serializable {
    @Id
    @Column(nullable = false)
    private Long id;
    private byte[] xmlCol;
    public Testblob() {
    public Testblob(Long id) {
    this.id = id;
    public Long getId() {
    return id;
    public void setId(Long id) {
    this.id = id;
    public byte[] getXmlCol() {
    return xmlCol;
    public void setXmlCol(byte[] xmlCol) {
    this.xmlCol = xmlCol;
    }

  • Problems calling context-sensitive AIRHelp from Adobe Flex App

    Hi everyone...
    I´m having problems calling context-sesitive AIRHelp from Flex.
    I can launch the help from flex using the following code (flex), but allways starts on the default topic.
    private function invocarAirHelp(tema:String):void {
          var appID:String = "pc1";
          var pubID:String = "8C47FDE4638CAF7F210634E52A5F8318D893A57C.1";
          var mgr:ProductManager = new ProductManager("airappinstaller");               
          mgr.launch("-launch " + appID + " " + pubID);
    the launch method can recive parameters after the publisherID, but i dont know the parameters that i should give to the method to start the AIRHelp on an specific topic.
    I tryed using the parameters as the call was on the command line, ex:
      mgr.launch("-launch " + appID + " " + pubID + " -csh mapnumber 12");
    but i can get any results... with those parameters the help application doesn´t even start
    Anyone have an idea to make this works?
    Thanks in advance, Sabin

    Hi Sabin,
    The only supported way to launch AIR applications from the browser is the air "browser API": http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html#1035834
    The browser API uses ProductManager internally and exposes higher-level browser API so that we change the implementation if necessary someday. The browser API will stay the same, even if the interactions through ProductManager (or something else) change.
    The browser API (air.swf) has other features that make it the preferred way to launch apps. For instance, it provides accurate information about which platforms support AIR, and can therefore manage install of new apps and of the runtime itself.
    Also, if the application is not installed then Browser API will return Error to the flex application, but that does not happen in case of ProductManager.
    That said, you can probably use "--" to separate arguments intended for airappinstaller from arguments that should be passed through to the app itself. 
    mgr.launch("-launch " + appID + " " + pubID + " -- -csh mapnumber 12");
    -Praful Jain

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • Calling EJB via IIOP from Oracle database

    Hi all,
    I hope someone has a solution for calling an EJB from a Oracle PL/SQL
    procedure.
    We are using IIOP because T3 force weblogic.jar (approx 30MB) to be
    loaded in the database. Unfortunately, Oracle refuse it with many
    errors, and corrupt its own JVM !
    so... IIOP
    When we try that, we get the following error :
    org.omg.CORBA.OBJ_ADAPTER: minor code: 1398079492 completed: No
    at com.sun.corba.se.internal.corba.ORB.connect(ORB.java:1098)
    at com.sun.corba.se.internal.corba.ORB.getServantIOR(ORB.java:1140)
    at com.sun.corba.se.internal.corba.ClientDelegate.getServiceContexts(ClientDelegate.java:254)
    at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:346)
    at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:366)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:198)
    at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:265)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:188)
    at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java:1461)
    at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:281)
    at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:256)
    at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:193)
    at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:73)
    at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:35)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:293)
    at javax.naming.InitialContext.init(InitialContext.java:269)
    at javax.naming.InitialContext.<init>(InitialContext.java:245)
    at ch.xxx.ConnectEJB.getInitialContext(ConnectEJB.java:99)
    The environments are Oracle 9.2 and WLS 7.0, Client and Server use JDK
    1.3.1
    The same test client is running without any error from a jvm outside
    Oracle.
    Thanks in advance for your help.
    Chris.

    [email protected] (ChrisFR) writes:
    Sounds like a question for Oracle.
    andy
    Hi all,
    I hope someone has a solution for calling an EJB from a Oracle PL/SQL
    procedure.
    We are using IIOP because T3 force weblogic.jar (approx 30MB) to be
    loaded in the database. Unfortunately, Oracle refuse it with many
    errors, and corrupt its own JVM !
    so... IIOP
    When we try that, we get the following error :
    org.omg.CORBA.OBJ_ADAPTER: minor code: 1398079492 completed: No
    at com.sun.corba.se.internal.corba.ORB.connect(ORB.java:1098)
    at com.sun.corba.se.internal.corba.ORB.getServantIOR(ORB.java:1140)
    at com.sun.corba.se.internal.corba.ClientDelegate.getServiceContexts(ClientDelegate.java:254)
    at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:346)
    at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:366)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:198)
    at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:265)
    at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:188)
    at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java:1461)
    at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:281)
    at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:256)
    at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:193)
    at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:73)
    at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:35)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:293)
    at javax.naming.InitialContext.init(InitialContext.java:269)
    at javax.naming.InitialContext.<init>(InitialContext.java:245)
    at ch.xxx.ConnectEJB.getInitialContext(ConnectEJB.java:99)
    The environments are Oracle 9.2 and WLS 7.0, Client and Server use JDK
    1.3.1
    The same test client is running without any error from a jvm outside
    Oracle.
    Thanks in advance for your help.
    Chris.--
    " .sigs are like your face - rarely seen by you and uglier than you think"
    mail: [email protected]

  • Problems calling external Web Service from a Java Stored Procedure

    I'm using a sample code that I found here about calling external web services from a Java Store Procedure ( Credit Agency Web Service http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/wsclient/Readme.html ) but when I run it ,send this error. I dont know what can I do or what is missing. Please help me. Thanks.
    Error: Premature EOF encountered [java.io.EOFException] [SOAPException: faultCode=SOAP-ENV:IOException; msg=Premature EOF encountered; targetException=java.io.EOFException: Premature EOF encountered] at org.apache.soap.SOAPException.(SOAPException.java:77) at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:765) at org.apache.soap.rpc.Call.invoke(Call.java:261) at oracle.otnsamples.wsclient.CreditAgencyServiceStub.authorizeCustomer(CreditAgencyServiceStub.java:84) at Products.jspService(Products.jsp:120) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:795) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:794) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)

    I'm also facing problem in running the example on the page http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/wsclient/Readme.html
    I've Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 and Oracle Application Server 10g (10.1.3). When I executed the following command,
    loadjava -thin -user sys/password@localhost:1521:oradb -resolve -synonym -verbose -grant public %OC4J_HOME%/webservices/lib/soap.jar %OC4J_HOME%/lib/dms.jar %OC4J_HOME%/jlib/javax-ssl-1_1.jar %ORACLE_HOME%/lib/servlet.jar %OC4J_HOME%/j2ee/home/lib/mail.jar
    ... mentioned in step 3 under the "Configuring the Application" section on the above link, the process terminates with the following error
    The following operations failed
    class oracle/net/www/protocol/https/Handler: resolution
    class oracle/net/www/protocol/https/HttpsURLConnection: resolution
    class oracle/soap/client/ProviderManagerClient: resolution
    class oracle/soap/client/ServiceManagerClient: resolution
    class oracle/soap/providers/JavaProvider: resolution
    class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
    class oracle/soap/providers/sp/SpProvider: resolution
    class oracle/soap/server/http/SOAPServlet: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
    class org/apache/soap/messaging/Message: resolution
    class org/apache/soap/rpc/Call: resolution
    class org/apache/soap/rpc/RPCMessage: resolution
    class org/apache/soap/rpc/Response: resolution
    class javax/net/DefaultServerSocketFactory: creation (createFailed)
    class javax/net/DefaultSocketFactory: creation (createFailed)
    class javax/net/ServerSocketFactory: creation (createFailed)
    class javax/net/SocketFactory: creation (createFailed)
    class javax/net/ssl/DefaultSSLServerSocketFactory: creation (createFailed)
    class javax/net/ssl/DefaultSSLSocketFactory: creation (createFailed)
    class javax/net/ssl/HandshakeCompletedEvent: creation (createFailed)
    class javax/net/ssl/HandshakeCompletedListener: creation (createFailed)
    class javax/net/ssl/SSLException: creation (createFailed)
    class javax/net/ssl/SSLHandshakeException: creation (createFailed)
    class javax/net/ssl/SSLKeyException: creation (createFailed)
    class javax/net/ssl/SSLPeerUnverifiedException: creation (createFailed)
    class javax/net/ssl/SSLProtocolException: creation (createFailed)
    class javax/net/ssl/SSLServerSocket: creation (createFailed)
    class javax/net/ssl/SSLServerSocketFactory: creation (createFailed)
    class javax/net/ssl/SSLSession: creation (createFailed)
    class javax/net/ssl/SSLSessionBindingEvent: creation (createFailed)
    class javax/net/ssl/SSLSessionBindingListener: creation (createFailed)
    class javax/net/ssl/SSLSessionContext: creation (createFailed)
    class javax/net/ssl/SSLSocket: creation (createFailed)
    class javax/net/ssl/SSLSocketFactory: creation (createFailed)
    class javax/security/cert/Certificate: creation (createFailed)
    class javax/security/cert/CertificateEncodingException: creation (createFailed)
    class javax/security/cert/CertificateException: creation (createFailed)
    class javax/security/cert/CertificateExpiredException: creation (createFailed)
    class javax/security/cert/CertificateNotYetValidException: creation (createFailed)
    class javax/security/cert/CertificateParsingException: creation (createFailed)
    class javax/security/cert/X509Certificate: creation (createFailed)
    exiting : Failures occurred during processing
    I've checked the path to all the jar files.
    I tried to run the command again with system/password instead sys/password but then I got the following stacktrace:
    The following operations failed
    class oracle/net/www/protocol/https/Handler: resolution
    class oracle/net/www/protocol/https/HttpsURLConnection: resolution
    class oracle/soap/client/ProviderManagerClient: resolution
    class oracle/soap/client/ServiceManagerClient: resolution
    class oracle/soap/providers/JavaProvider: resolution
    class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
    class oracle/soap/providers/sp/SpProvider: resolution
    class oracle/soap/server/http/SOAPServlet: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
    class org/apache/soap/messaging/Message: resolution
    class org/apache/soap/rpc/Call: resolution
    class org/apache/soap/rpc/RPCMessage: resolution
    class org/apache/soap/rpc/Response: resolution
    exiting : Failures occurred during processing
    Thanks in advance for any useful help.
    -

  • How can we call a WEB SERVICE from an Oracle DB?

    <h2>
    What the methods available to call a WEB SERVICE from the DB. I.e. through a DB Stored Procedure?
    I was given this article by a colleague, but since it’s a 2005 one, I feel it could be outdated?
    http://www.oracle.com/technology/pub/articles/mensah_dws.html
    Also, is it possible to write ONE “Common” DB stored procedure to call ANY WEB SERVICE?
    </h2>

    <h2> No Girish, what I meant is, since it is 2005 article, the method it describes to call a WS is out of date.
    Because I am quite sure in 2009, 4 years later Oracle must have added built-in packages and other methods to simplify it???
    Also, I would be very grateful if you advice on the other issue: Is there a way to create a single DB stored procedure to call ANY WS?? i.e. a common routine to call any web service?
    </h2>

  • Problem in OWB: connecting to a non-oracle database

    Good day,
    i'm working on a windows 32 bit machine,i have Oracle database , OWB 11.2.0.1 installed on it
    i'm trying to make OWB connect to a "Sybase" source database on another server , using ODBC
    i've tested the connection from SQLPLUS and it's working perfectly
    but when i test the connection from OWB locations , it gives me this error:
    "ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [OpenLink][ODBC][SQL Server]Statement(s) could not be prepared (0)
    {42000}[OpenLink][ODBC][SQL Server]"DUAL" not found. Specify owner.objectname
    or use sp_help to check whether the object exists (sp_help may produce lots of
    output).
    (208) {42S02,NativeErr = 208}
    my questions are :
    -why would OWB check for DUAL table on a sybase database? is that a bug in OWB?
    -can i bypass this step and just import metadata from the sybase source database? (i tried importing,but OWB performs the same test before importing)

    Hi Chris,
    I haven't tried it, and these are just some of my thoughts, but I
    think you would need to load the JDBC driver for the other database
    into the Oracle database (using the "loadjava" tool, of-course).
    Then your java stored procedure should be able to instantiate the
    third party JDBC driver and obtain a connection to the other database.
    Hope this helps.
    Good Luck,
    Avi.

  • Calling a Database Procedure from an Oracle Form

    Hi,
    I have a question we will be calling the procedure from an Oracle form and through that can we pass like 1000 input values to this procedure and we need to return certain values back to the Oracle Form also. Here the proceduere take two or more parameters. Please advice.
    To receive the input values we have the input parameter of the procedure as type object, so that we can receive multiple parameter values.
    Thanks and Regards
    Srinivas

    user2626293 wrote:
    Hi Francois,
    Thanks for your response, please suggest me as to how we can acheive passing of parameters which can hold multiple values, while making a call to the database procedure from the Oracle Form
    Hi Srinivas,
    Here is an example of procedure...
    CREATE OR REPLACE PROCEDURE P_GET_SAL (P_EMPID NUMBER, P_SAL OUT NUMBER)
    IS
    BEGIN
         SELECT SALARY
         INTO P_SAL
         FROM EMPLOYEE
         WHERE EMPLOYEE_ID=P_EMPID;
    END;
    SQL> VAR G_SAL NUMBER;
    SQL> EXEC P_GET_SAL(100,:G_SAL);
    PL/SQL procedure successfully completed.
    SQL> PRINT G_SAL;
    G_SAL
          2300Hope this helps
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.*

  • Calling a Crystal Report from and Oracle Form6i

    I am attempting to call a crystal report from within an oracl form. I would appreciate documentation/suggestions on how to accomplish this task.
    Thanks
    NBranson

    HI Nicole,
    I have used crystal reports from oracle forms in one of my project. Send a mail to this address, i ll reply you back with the source code. My email address is [email protected] .
    But if you just want to know the steps here it is :
    STEPS TO display the Crystal Report in Oracle Forms :
    1. Create a new form.
    2. Create a control block, name it 'CONTROL'.
    3. Create a CONTENT canvas, name it 'REPCAN'.
    4. Create an ActiveX control on the canvas, name it 'CrystalReport1'.
    5. Create a Image item , name it 'REP'. Make sure that image item overlaps the ActiveX control completely, this image item is used to get the item handle. Enlarge this object such a way that it will fit the window, the report gets displayed in this item so the item size should be adeqately large.
    6. Right click on the ActiveX control item, select Insert Object from the menu.
    7. From the list select Crystal Reprot Control.
    8. Select the Progrm=> Import OLE Library Interface Menu in the form.
    9. Select Crystal.CrystalReport from the List, this will list two methods and one Event . The two methods are CrystalCtrl and IRowCursor, the event is CrystalReprotEvent.
    10. Select all the three and click on the OK button to accept. This will create the program units.
    11. In the When-New-Form-Instance trigger of the form write the following code.
    Declare
         charWinHandle varchar2(50);
         numWinHandle Number;
    Begin
         Set_Application_Property(Cursor_Style,'BUSY');
         charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
         numWinHandle := To_Number(charWinHandle);
         :Item('Control.CrystalReport1').OCX.Crystal.CrystalReport.WindowParentHandle := numWinHandle;
         :Item('Control.CrystalReport1').OCX.Crystal.CrystalReport.WindowState := 2;
         :item('CONTROL.CRYSTALREPORT1').OCX.Crystal.CrystalReport.Connect := 'DSN=;UID='||Get_Application_Property(UserName)||';pwd='||Get_Application_Property(password)||';dsq=;';
         Crystal_CrystalCtrl.ReportFileName (:Item('Control.CrystalReport1').interface,'C:\Sample_Rep.Rpt');
         Set_Window_Property(Forms_Mdi_Window,Window_State,Maximize);
         Set_Window_Property('MAIN',Window_State,Maximize);
         :reptitle := 'Report Preview Window';
         numWinHandle := Crystal_CrystalCtrl.PrintReport(:Item('Control.CrystalReport1').interface);
         Set_Application_Property(Cursor_Style,'DEFAULT');
    End;
    One thing to mark here is the, change the report name and path according to your required file name and path in
    Crystal_CrystalCtrl.ReportFileName (:Item('Control.CrystalReport1').interface,'C:\Sample_Rep.Rpt');
    12. If you want to run multiple reports then create a parameter and pass the file name to the form through the parameter. In the above line of code, you can replace the file name with parameter, so each time the form is called with different parameter with the file name , it displays different reports.
    13 Run the Form.

  • Replicaition environment from non-Oracle to Oracle using Streams

    Hi guys,
    I'm finding my way to establish a replication environment from any non-Oracle db to Oracle using Streams.
    I've checked Oracle's documentation about this function. The answer is I have to write a custom application which will capture changes in Heterogeneous db and access pl/sql to format this changes to LCRs and enqueue these LCRs into Oracle Streams.
    theoretically, we all can understand this idea, but I don't know if there's any more detailed comments on this.
    Anyone have such experiences, pls give your introduction hereby, and we can make an example like replicate from Sqlserver to Oracle using Streams, or even any other techniques.
    Assuming we have establish the HS connectivity using Transparent gateway.
    Followups are welcomed.

    Hi Yukun,
    I'm developing right now an environment that will replicate changes from an Adabas (mainframe) database to Oracle. The greatest challenge is to pass your (sqlserver or other database) data to the Oracle db. When done you must have (like it is said in documentation) a manual process that will convert your data in LCRs then enqueue them. From there, it is a normal streams environment. I can (try to) answer more detailed questions if you need it. I don't have any experience with sqlserver database.
    Claudine

  • Calling ejb of wl6 from VAJ

    Can i run inside visual age 3.0 a java application program that calls
    EJB residing
    on a weblogic 6.0 server?
      thanks
        OHAD

    No, there are certain server features that require 1.3 to operate, but
    it's not every weblogic class. JDK 1.2 is supported for clients of 6.0,
    see:
    http://e-docs.bea.com/wls/platforms/index.html#mix
         -- Jim
    OHAD wrote:
    >
    The problem is that the clients needs classes of weblogic server and
    therefore
    also require jdk 1.3. Isn't it correct?
    OHAD
    Jim Edwards-Hewitt wrote:
    Probably. While the server requires JDK 1.3 (which VAJ doesn't have
    yet), clients can run with earlier Java versions.
    -- Jim
    OHAD wrote:
    Can i run inside visual age 3.0 a java application program that calls
    EJB residing
    on a weblogic 6.0 server?
    thanks
    OHAD

  • Problems calling a html form from a different page

    Hi,
    I'm working on a logon for a website. I have a html page and a jsp page that contains the login function. I want to call the login form after the user presses submit. But I'm having problems calling the form from the html page.
    Any help appreciated.
    Here is my html page:
    <form method="POST" action="login.jsp">
    <table>
    <tr>
    <td>
    <div align="center">
    <b>UserName:</b>
    <input name="user_name" type="text" class="input" id="username" maxlength="18">
    <b>Password:</b></font>
    <input type="password" name="password" class="input" maxlength="18">
    </input>
    <input type="button" border="0" value="Login" width="30" height="20">
    </input>
    My jsp page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <body bgcolor = "#E5E8EF">
    <script language="javascript">
    function login(form) {
         alert("hello");
    if (form.username.value=="joe") {
    if (form.password.value=="bloggs") {             
    location="success.html"
    } else {
    alert("Invalid Password")
    } else {  alert("Invalid UserID")
    //-->
    </script>
    </body>
    </html>

    So your intention is that the JS function would be invoked somehow?
    Are you aware that Javascript is a completely different language from Java/JSP/JSTL?
    Here is a listing of some JSP/Servlet tutorials which might help you further:
    http://www.google.com/search?q=java+tutorial+site:sun.com
    http://www.google.com/search?q=jsp+tutorial+site:sun.com
    http://www.google.com/search?q=servlet+tutorial+site:sun.com

Maybe you are looking for

  • RFC lookup issue

    Dear experts, i have a file to file scenario where in the graphical mapping i have to write a RFC lookup to get some data from R3 system ... i have written the following RFC lookup and it is working fine.... java.lang.;java.util.;com.sap.aii.mapping.

  • Vendor as mnditory in QA01 transaction

    Hi friends, I got an urgent requirement.. In QA01 transaction.. I want Vendor as manditory field..when the inspection value is particular value.. please give the procedure.. and imp code.. regards, sampath.

  • Grant access to schema

    Can some give me a script to do the following: I have a schema name ABC and I want to give a user XYZ read access to all objects in the ABC schema. ie (TABLES, VIEWS. SWQUENCES etc)

  • Single pixel formation in Intensity graph

    I needed to capture a image using CCD camera. Though it has 16 bit resolution, i need to focus on ONE PIXEL. The process goes like this. Save the image information in a spread sheet array and then find the max value of the array. Till this step, i am

  • DB target status shows "Up" in Grid Control console, but actually "Down"

    We've recently installed Grid Control 10.2.0.5. We recently noticed issue regarding false status indicators for several db targets monitored. From GC console, db target show status "Up" (Green Arror) when db is actually down. Should show status as be