JAVA error ORA-29541??

Dear All:
I want to use xml to direct print .pdf file, so I use Delivery Manager.
But when I exec procedure, there have some errors!!
Below this step、java and procedure is what I do, please someone can
tell me how can solve it, thnaks!!
1. create java file EBSEmailDelivery.java
2. loadjava EBSmailDlivery.java
3. javac EBSmailDlivery.java
4. create procedure EBSSendEMail
5. SQL> exec EBSSendEMail('aa');
BEGIN EBSSendEMail('aa'); END;
ERROR at line 1:
ORA-29541: class APPS.EBSEmailDelivery could not be resolved
ORA-06512: at "APPS.EBSSENDEMAIL", line 0
ORA-06512: at line 1
CREATE OR REPLACE PROCEDURE EBSSendEMail (cmd VARCHAR2)
AS LANGUAGE JAVA
name 'EBSEmailDelivery.main(java.lang.String[])';
//package oracle.apps.xdo.ebsdelivery;
import oracle.apps.xdo.delivery.*;
//import oracle.apps.xdo.delivery.DeliveryManager;
//import oracle.apps.xdo.delivery.DeliveryRequest;
//import oracle.apps.xdo.delivery.DeliveryPropertyDefinitions;
import java.io.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class EBSEmailDelivery {
public EBSEmailDelivery() {
     System.out.println("AAAAAA");
//int userid = Integer.parseInt(rUser);
// int requestid = Integer.parseInt(rRequestID);
try {
     // create delivery manager instance
          DeliveryManager dm = new DeliveryManager();
          // create a delivery request
          DeliveryRequest req = dm.createRequest
(DeliveryManager.TYPE_IPP_PRINTER);
          // set IPP printer host
          req.addProperty(DeliveryPropertyDefinitions.IPP_HOST, "192.168.1.13");
          // set IPP printer port
          req.addProperty(DeliveryPropertyDefinitions.IPP_PORT, "9100");
          // set IPP printer name
          req.addProperty(DeliveryPropertyDefinitions.IPP_PRINTER_NAME, "/printers/HP LaserJet 4050 Series PCL 6");
          req.addProperty(DeliveryPropertyDefinitions.IPP_ATTRIBUTE_CHARSET,"UTF-8");
          //req.addProperty(DeliveryPropertyDefinitions.IPP_USE_FULL_URL,"true");
          //req.addProperty(DeliveryPropertyDefinitions.IPP_USE_CHUNKED_BODY,"true");
          // set the document format
          req.addProperty(DeliveryPropertyDefinitions.IPP_DOCUMENT_FORMAT,
          DeliveryPropertyDefinitions.IPP_DOCUMENT_FORMAT_PLAINTEXT);
          // set the document
          req.setDocument("/u02/VIS10/AP/viscomn/document/xml_test.txt");
          // submit the request
          req.submit();
          // close the request
          req.close();
} catch (Exception e) {
e.printStackTrace();
static Connection getConnection() throws SQLException, Exception {
String fDriverName = "oracle.jdbc.driver.OracleDriver";
String fDbName = "vis";
String fServer = "altos.advtek.com.tw";
String fPort = "1523";
String fUserName = "apps";
String fPassword = "apps";
Class.forName(fDriverName).newInstance();
Connection dbconn =
DriverManager.getConnection("jdbc:oracle:thin:@" + fServer + ":" +
fPort + ":" + fDbName, fUserName,
fPassword);
return dbconn;
private String getReportTitle(int requestID) {
String reportName = "";
try {
// Try and geta connection to the db
Connection conn = getConnection();
// fetch the report name based on the request id
PreparedStatement getTitle =
conn.prepareStatement("select user_concurrent_program_name \n" +
"from fnd_concurrent_requests fcr,\n" +
"fnd_concurrent_programs_vl fcpv\n" +
"where fcr.concurrent_program_id = fcpv.concurrent_program_id\n" +
"and request_id = ?");
//get the title
getTitle.setInt(1, requestID);
// get the query result in to a result set and then assign the
// value to a variable we can pass back to the calling method
ResultSet titleRslt = getTitle.executeQuery();
titleRslt.next();
reportName = titleRslt.getString(1);
System.out.println(reportName);
//Clean up
titleRslt.close();
getTitle.close();
conn.close();
} catch (SQLException eSQL) {
System.err.println("Could not create connection");
eSQL.printStackTrace();
} catch (Exception e) {
System.err.println("Exception thrown");
e.printStackTrace();
return reportName;
private String getEmail(int userID) {
String eMailID = "";
try {
// Try and geta connection to the db
Connection conn = getConnection();
PreparedStatement getEmail =
conn.prepareStatement("select email_address from fnd_user where user_id = ?");
getEmail.setInt(1, userID);
// get the query result in to a result set and then assign the
// value to a variable we can pass back to the calling method
ResultSet emailRslt = getEmail.executeQuery();
emailRslt.next();
eMailID = emailRslt.getString(1);
System.out.println(eMailID);
//Clean up
emailRslt.close();
getEmail.close();
conn.close();
} catch (SQLException eSQL) {
System.err.println("Could not create connection");
eSQL.printStackTrace();
} catch (Exception e) {
System.err.println("Exception thrown");
e.printStackTrace();
return eMailID;
public static final void main(final String[] args) {
// Arguments passed
//1.$PROFILES$.CONC_REQUEST_ID
//2.$PROFILES$.FILENAME
//3.$PROFILES$.USER_ID
EBSEmailDelivery ebsMail = new EBSEmailDelivery();
}

Hi Tim:
Thanks for reply me.
Recently I test XML's Delivery Manager APIs function,but in User Guide don't
say very clear aoubt how to use this APIs.
I just see a lot of Delivery Manager Java code, so I find some forums and do the forums say.
http://www.orafaq.com/forum/?t=msg&th=64448/0/
I want test XML's Delivery Manager APIs ( e-Mail、Printer、Fax、WebDAV、FTP、HTTP ).
Can you tell me how to use XML's Delivery Manager APIs??
Emily
Thanks a lot!!

Similar Messages

  • SQLJ runtime error ORA-29541

    I am running on an Oracle 8.1.5 database using SQLJ Release 8.1.5.0.0 and JDBC version 8.1 (8.1.5.0.0). My SQLJ program precompiles and compiles successfully, resulting in a .class file which I load without error using the loadjava utility. I then create a procedure to run the stored procedure. All this works just fine. However, when I run the procedure, I get the error:
    "ORA-29541: class <class name> could not be resolved"
    I can't find this error message documented anywhere. (I'm not saying it's not - I'm saying I can't find it.) This same process of loading .class files with loadjava and running them through a wrapper procedure works without errors for JDBC but not SQLJ. Any suggestions on how to fix this?

    Any one of the three following things should help:
    (1) Add the generated .ser file(s) to be loaded by loadjava.
    (2) Use the -ser2class option when translating your SQLJ source and add the additional .class files to be loaded by loadjava.
    (3) Use loadjava to load SQLJ source rather than .class (and .ser) files.

  • Ora-29541 could not resolve class

    Bear with me if I sound stupid. Can't help it (because I am)! I am running this code in Java and I keep getting this error: ORA-29541 AFATDS.joeycode could not be resolved.
    connection=java.sql.DriverManager.getConnection(url, username, password);
    stmt=connection.prepareStatement("Create or replace directory Bfile_dir as '/comp_order/joey/trig/trig/bin');
    stmt.execute();
    stmt.execute("Create or replace JAVA CLASS using BFILE (Bfile_dir, 'joeycode.class')");
    stmt.execute("Create or replace procedure Before_update as language JAVA name 'joeycode.printmsg()';");
    stmt.execute("Create or replace trigger pre_upd_trigger BEFORE UPDATE on table_name CALL Before_update");
    stmt.execute("Update table_name SET column1 = 0");

    Thanks for replying. I tried running the command you gave but an exception was thrown, specifally "Exception in thread "main" java.lang.NoClassDefFoundError: oracle/aurora/util/Wrapper"
    Also, the reason I was trying to do it the way I was trying to do it, was because the program needs to automatically put the java code in the Oracle database at the system startup.

  • ORA-29541 class could not be resolved

    Bear with me if I sound stupid. Can't help it (because I am)! I am running this code in Java and I keep getting this error: ORA-29541 AFATDS.joeycode could not be resolved:
    connection=java.sql.DriverManager.getConnection(url, username, password);
    stmt=connection.prepareStatement("Create or replace directory Bfile_dir as '/comp_order/joey/trig/trig/bin');
    stmt.execute();
    stmt.execute("Create or replace JAVA CLASS using BFILE (Bfile_dir, 'joeycode.class')");
    stmt.execute("Create or replace procedure Before_update as language JAVA name 'joeycode.printmsg()';");
    stmt.execute("Create or replace trigger pre_upd_trigger BEFORE UPDATE on table_name CALL Before_update");
    stmt.execute("Update table_name SET column1 = 0");

    Hi,
    IS this code compiled in the database? If so, which error message did you get upon creating the Java source in the database? Which additional error message did you get along with ORA-29541?
    Btw, which JDBC URL are you using?
    Kuassi
    - blog http://db360.blogspot.com
    - book http://www.amazon.com/exec/obidos/ASIN/1555583296
    - http://www.savedarfur.org/content

  • Java.sql.SQLException: Error while trying to retrieve text for error ORA-24

    Hi All,
    Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which surprised me was when I use type � 3 driver while starting weblogic I get ORA �24327 but when I use Type �4 it starts properly. If you could kindly provide solution it would be great help. I would also appreciate if u can provide information which driver to use where performance is the major concern. I would also appreciate if u could provide feed-back from the industry about booth the driver. Apart from that I have couple have environment where it occurs when 10/12 user access simultaneously. All the open connection is closed in program properly still am getting the error.
    Thanks in anticipation.
    Cheers,
    Tapas
    Environment
    OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
    JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
    Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
    Oracle � 8.1.6
    Delaying 10 seconds before making a beuatpool pool connection.
    Pool 1 (Type �3 )
    weblogic.jdbc.connectionPool.beuatpool=\
    url=jdbc:weblogic:oracle,\
    driver=weblogic.jdbc.oci.Driver,\
    loginDelaySecs=10,\
    initialCapacity=10,\
    maxCapacity=20,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=10,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=xxx;password=xxx;server=xxxx
    Pool 2(Type �4)
    weblogic.jdbc.connectionPool.thinPool=\
    url=jdbc:oracle:thin:@xxx:1521:xxx,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=15,\
    testTable=dual,\
    props=user=xxx;password=xxx;server=xxx:1521:xxx
    allow=everyone
    ---------- LOGIN ERROR CODE: 24327
    java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 �
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:43)
    at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:149)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:109)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    ---------- LOGIN ERROR CODE: 24327
    ---------- LOGIN ERROR CODE: 24327
    Fri Aug 31 00:57:22 GMT-05:00 2001:<I> <JDBC Pool> Sleeping in createResource()
    Fri Aug 31 00:57:23 GMT-05:00 2001:<E> <JDBC Pool> Failed to create connection p
    ool "beuatpool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:43)
    at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:172)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:109)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at weblogic.common.ResourceException.<init>(ResourceException.java:18)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:182)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:109)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at weblogic.common.ResourceException.<init>(ResourceException.java:18)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:125)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)

    Hi,
    I guess you can try some of these:
    - Make sure you're not missing an entry inside your tnsnames.ora file. Thin driver does not require the information inside that file, as opposed to Weblogic's OCI driver. If you are able to connect to the DB using a thin driver, then the problem is most probably (WL)driver-related.
    - Make sure you've properly configured the DB user / password inside your weblogic.properties (config.xml if WL6+).
    - Make sure you're able to access all drivers and classes required (PATH, CLASSPATH, etc...)
    - Make sure the OCI driver version you are using is fully compatible with the Oracle (server) version you are pointing to.
    - Try to access the DB user through some other client (for instance, SQLPlus*).
    Hope this is of some help,
    Freddy.

  • Java.sql.SQLException: Error while trying to retrieve text for error ORA-12545

    Hi,
    I am getting the following error when i tried to connect to Oracle database from
    a servlet. This exception is coming at the time of getting connection. And the
    same code is working when i used in the standalone java program.
    Oracle 8i database and WLS 6.0 are on the same UNIX machine.
    ---------attempting to connect ------
    java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va, Compiled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Can any one help me out.
    Durga

    The problem is solved after exprting the parameter ORACLE_SID=<database_name>
    in Weblogic startup script.
    thank u for the suggestions.
    Durga
    Joseph Weinstein <[email protected]> wrote:
    >
    >
    Durga wrote:
    Hi Joe,
    I have checked the ORACLE_HOME parameter. There was a differnce. Ichanged to
    /oracle/app/product/8.1.7
    Now i am getting different exception. But still the standalone codeis working.
    any clues why I am getting this exception. I will send the code andthe weblogic
    properties file for reference if u need.Good. No, I don't need it. Now make sure the library path that the OS
    uses to find
    Oracle libraries, and our driver libraries etc., is in the same order
    for the
    server as for the shell that is successful on it's own. Make sure your
    Oracle
    client stuff is ahead of any weblogic libraries.
    Joe
    java.sql.SQLException: ORA-12547: TNS:lost contact
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java,Compiled
    C
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, CompiledCode)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
    C
    ode)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
    C
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java,Compiled Cod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java,Compiled Code
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.getRuntimeName(ServletStubI
    mpl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1631)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java,Compiled
    Co
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, CompiledCode)
    Joseph Weinstein <[email protected]> wrote:
    The environment for the server probably doesn't have the same ORACLE_HOME
    setting as your shell when you succeed in a standalone.
    Also, you should be using our connection pools, and you should avoid
    making DriverManager calls in any multithreaded app such as WebLogic.
    Joe
    Durga wrote:
    Hi,
    I am getting the following error when i tried to connect to Oracledatabase from
    a servlet. This exception is coming at the time of getting connection.And the
    same code is working when i used in the standalone java program.
    Oracle 8i database and WLS 6.0 are on the same UNIX machine.
    ---------attempting to connect ------
    java.sql.SQLException: Error while trying to retrieve text for errorORA-12545
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,
    Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, CompiledC
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled
    Code)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va, Compiled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, CompiledC
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
    e)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, CompiledCode
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
    e)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
    e)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, CompiledCo
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    Can any one help me out.
    Durga

  • Java.sql.SQLException: Error while trying to retrieve text for error ORA-12

    Hi,
    I am getting the following error when i tried to connect to Oracle database from a servlet on HP-UX. I am using wls 6.0. And the same code is working when i used in the standalone java program.
    java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
    ode)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
    piled Code)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va, Compiled Code)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
    ode)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
    e)
    at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
    e)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java, Compiled Code)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java, Compiled Code)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java, Compiled Code)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
    de)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Can any one help me out.
    Durga

    This is the text for ORA-12545, there is a problem in your NET8 somewhere.
    http://technet.oracle.com/doc/network.815/a67440/ch11.htm#440586

  • Error: ORA-03113 while executing complex java code from Oracle PL/SQL

    Hi,
    I am trying to execute a complex java code from Oracle PL/SQL. The classes were resolved successfully. But in the middle of execution, I am getting the following error:
    ERROR:
    ORA-03114: not connected to ORACLE
    begin
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 13685
    Session ID: 21 Serial number: 20
    Is there a way to debug the Java classes loaded into oracle? Or is there any utility to find out why the connection was lost?
    Regards,
    Saravana

    Hi Saravana:
    You could use simply System.out.println(..) at your Java code and see the output at the .trc files generated for your Oracle session.
    Or better than this adding Java Util Logging messages at your code, to see how to use JUL API at the OJVM please see this blog post [Using JUL API inside the OJVM|http://marceloochoa.blogspot.com/2007/11/getting-logging-entering-exiting-and.html].
    Best regards, Marcelo.
    PD: ora-0600 generally are associated with RDBMS bugs, but these bugs can be bypassed by replacing the code which throws the exception by other with a workaround.

  • Java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

    Good Day,
    I'm encountering this problem
         java.sql.SQLException: Listener refused the connection with the following error:
         ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    here's the java code
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
    String userName = "mssoriano";
    String passWord = "mssoriano_4319";
    conn = DriverManager.getConnection(url, userName, passWord);
    and here's my tnsnames.ora
    UCSL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
        (CONNECT_DATA =
          (SID = psusldb11)
    Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.

    Hi,
    see this example
    Connect to Oracle DB via JDBC driver
    Frank

  • Blob writing error      ORA-29532 Java call terminated Unsupported feature

    Hi there,
    I've got the following Java code which tries to write to a BLOB file. It's a version of some code to extract files from a zip archive, but with everything but the erroring call stripped out:
    create or replace and compile java source named zipunpack as
    package org.bristol.cyps;
    import oracle.sql.BLOB;
    import java.util.zip.*;
    public class ZipUnpack
    public static int unpack(BLOB ziparray[], String filename, BLOB filearray[])
    throws java.sql.SQLException, java.io.IOException
    BLOB file = filearray[0];
    java.io.OutputStream fileout = file.setBinaryStream(0L);
    return 1;
    This is published as follows:
    create or replace function zip_unpack (
    pio_zip in out nocopy blob
    , pi_filename in varchar2
    , pio_file in out nocopy blob
    ) return number as language java
    name 'org.bristol.cyps.ZipUnpack.unpack(oracle.sql.BLOB[], java.lang.String, oracle.sql.BLOB[]) return java.lang.Integer';
    And called like so:
    procedure send_zip_file (
    pi_zip in out nocopy blob
    , pi_filename in varchar2
    ) is
    file blob;
    completed integer;
    begin
    dbms_lob.createtemporary (
    lob_loc => file
    , cache => false
    , dur => dbms_lob.call
    completed := zip_unpack(pi_zip, pi_filename, file);
    if completed > 0 then
    bare_html.print_blob(file);
    else
    htp.print('File "' || pi_filename || '" not found');
    end if;
    end;
    This, as far as I can tell from the documentation, should work. Unfortunately, though, it generates an error:
    ORA-29532: Java call terminated by uncaught Java exception: java.sql.SQLException: Unsupported feature
    The particular line which is causing the error is the "java.io.OutputStream fileout = file.setBinaryStream(0L);" If I remove this, it runs fine. I'm flumoxed as to why this might be causing an "Unsupported feature" exception when it's documented as being supported. Can anyone shed any light?
    Cheers,
    Robert
    Message was edited for more clarity

    Hi,
    It looks like you are not using 10g JDBC. java.sql.Blob.setBinaryStream is a JDBC 3.0 method. In 9iR2 we added support for jdk14 and added stub methods for JDBC 3.0 behavior without fully implementing them. 10gR1 was the first version where the JDBC3.0 methods were fully supported.
    The workaround is to use the Oracle proprietary method oracle.sql.BLOB.getBinaryOutputStream
    Kuassi, http://db360.blogspot.com

  • ORA-29541 while trying to access web service using UTL_DBWS

    Hi all,
    Solicit your help in the beforesaid scenario:
    I've 9.2.01 RDBMS, JPub 9.2.0.1.0 Production and OC4J Release 10.1.2 (standalone) environment and a local webservice.
    While issuing jpub, I get the following response:
    jpub -user=scott/tiger@ORACLE -sysuser sys/tiger -proxywsdl="e:\IMyFloatWebService.wsdl" -endpoint="http://10.177.238.71:8988/WS_Appln-WSFloat_prj-context-root/MyFloatWebService" -proxyopts=soap,tabfun -dir=FloatValue -plsqlpackage=soap_callout_wrap_eg -proxyopts=noload
    Note: FloatValue\MyFloatWebServiceProxy.java uses unchecked or unsafe operations
    Note: Recompile with -Xlint:unchecked for details.
    FloatValue\MyFloatWebServiceProxyJPub.java
    FloatValue\plsql_wrapper.sql
    FloatValue\plsql_dropper.sql
    FloatValue\plsql_grant.sql
    FloatValue\plsql_revoke.sql
    FloatValue\plsql_proxy.jar
    Please run FloatValue\plsql_wrapper.sql in the user schema, load the generated j
    ar file and run FloatValue\plsql_grant.sql in the SYS schema.
    i. e - I get message as seen above:
    "Please run FloatValue\plsql_wrapper.sql in the user schema, load the generated j
    ar file and run FloatValue\plsql_grant.sql in the SYS schema."
    And in sqlplus, while I try to access the web service, I get this error:
    "SQL> sho user;
    USER is "SCOTT"
    SQL> SELECT soap_callout_wrap_eg.getCircumference(20)
    2 FROM dual;
    FROM dual
    ERROR at line 2:
    ORA-29541: class SCOTT.MyWebServiceFloatRTEProxyJPub could not be resolved"
    Could somebody please advise me where I might be going wrong? Any help in this regards will be highly appreciated.
    Regards,
    Leslie

    Hi,
    I presume your Web Service needs HTTP (BASIC?) Authentication.
    All this needs is setting the following 2 properties, which as can be seen, you are setting....
    UTL_DBWS.set_property(l_call, 'USERNAME', '<username>');
    UTL_DBWS.set_property(l_call, 'PASSWORD', '<pwd>');
    This should work as long as your DBWS Callout Utility was downloaded from OTN after June 2008, and it's version is atleast 10.1.3.1.
    Following is a sample code snippet that was tested successfully for this :
    Declare
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_result sys.XMLTYPE;
    l_request sys.XMLTYPE;
    BEGIN
    l_service := UTL_DBWS.create_service(null);
    l_call := UTL_DBWS.create_call(l_service);
    UTL_DBWS.set_target_endpoint_address(l_call, 'http://xxx.oracle.com:8888/basic/MyWebService1SoapHttpPort');
    UTL_DBWS.set_property(l_call, 'USERNAME', 'username');
    UTL_DBWS.set_property(l_call, 'PASSWORD', 'pwd');
    UTL_DBWS.set_property(l_call, 'OPERATION_STYLE', 'document');
    UTL_DBWS.set_property(l_call, 'SOAPACTION_USE', 'true');
    UTL_DBWS.set_property(l_call, 'SOAPACTION_URI', 'http://xxx.oracle.com:8888/basic/MyWebService1SoapHttpPort');
    l_request := XMLTYPE('<Z_CENTRICITY_GET_DOCLIST
    xmlns:urn="urn:sap-com:document:sap:rfc:functions">' ||
    '<I_INCLUDE_OLD_VERSIONS></I_INCLUDE_OLD_VERSIONS>' ||
    '<I_INSTITUTION>0001</I_INSTITUTION>' ||
    '<I_PATIENT_NR>0000000181</I_PATIENT_NR>' ||
    '</Z_CENTRICITY_GET_DOCLIST>');
    l_result := UTL_DBWS.invoke(l_call, l_request);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line(sqlcode || ' ' || sqlerrm);
    END;
    Hope this helps,
    Yogesh

  • Loadjava error: ORA-29540: class oracle/aurora/rdbms/DbmsJava does not exist

    Hi,
    I'm trying to create a simple Java stored procedure running 8.1.6. When using loadjava (c:\jdk1.2.2\bin\java -classpath .;d:\orant8i\lib\aurora_client.jar;d:\orant8i\javavm\lib\aurora.zip;d:\orant8i\sqlj\lib\translator.zip;d:\orant8i\jdbc\lib\classes111.zip oracle.aurora.server.tools.loadjava.LoadJavaMain -u system/manager -f -v Test.class), I get the above error. The problem: file DbmsJava exists in the included aurora.zip package. To verify this, I checked the zip file, and I successfully compiled a test program importing the class.
    Any ideas?
    Thanks,
    Bernd

    I also tried another approach to create a Java stored procedure, and got an error which I think has the same cause as above:
    public class Test { public static void test() {System.out.println("Test");}}
    create directory dir as 'C:\Test';
    create java class using bfile(dir, 'Test.class');
    create procedure test is language java name 'Test.test()';
    call test();
    ORA-29541: class CM.Test could not be resolved

  • ORA-29541: impossible de risoudre la classe SYSTEM.jsearch

    Hello,
    I explain my trouble
    I have created a class Java jsearch.class
    1) first try (it works !)
    jsearch.java
    import java.util.Locale;
    import java.util.Date;
    import java.io.*;
    import oracle.ifs.beans.DirectoryUser;
    import oracle.ifs.beans.DocumentDefinition;
    import oracle.ifs.beans.Document;
    import oracle.ifs.beans.Selector;
    import oracle.ifs.common.SortSpecification;
    import oracle.ifs.beans.LibraryObject;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.beans.Folder;
    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.beans.PrimaryUserProfile;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.common.CleartextCredential;
    import oracle.ifs.common.ConnectOptions;
    import oracle.ifs.common.AttributeValue;
    import oracle.ifs.common.IfsException;
    public class jsearch {
    //public static String buildsearch (String filename) throws IfsException
    public static String buildsearch (String filename)
         filename=filename+" de la fonction buildsearch";
         return filename;
    public static String search (String filename)
    //      try {
              filename=buildsearch(filename);
    //catch(IfsException e) { };
    return filename;
    j'exicute cette classe dans mon environnement Oracle IFS
    (system/manager)
    sous SQLPLUS en utilisant le script suivant :
    -- @jsearch.sql
    set serveroutput on
    set echo off
    spool jsearch.log
    call dbms_java.loadjava('-f -r -v c:\YTW\myclasses\jsearch.class');
    CREATE OR REPLACE function fsearch (s1 in VARCHAR2) return VARCHAR2
    AS LANGUAGE JAVA
    NAME 'jsearch.search(java.lang.String) return string';
    spool off
    set echo on
    exec dbms_output.put_line(fsearch('ceci provient'));
    l'exicution de ce script donne :
    SQLPLUS>@jsearch
    Appel termini.
    Fonction criie.
    SQL> exec dbms_output.put_line(fsearch('ceci provient'));
    ceci provient de la fonction buildsearch
    Procidure PL/SQL terminie avec succhs.
    SQL>
    ok it works
    2) second try (it doesn't work...)
    search.java
    import java.util.Locale;
    import java.util.Date;
    import java.io.*;
    import oracle.ifs.beans.DirectoryUser;
    import oracle.ifs.beans.DocumentDefinition;
    import oracle.ifs.beans.Document;
    import oracle.ifs.beans.Selector;
    import oracle.ifs.common.SortSpecification;
    import oracle.ifs.beans.LibraryObject;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.beans.Folder;
    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.beans.PrimaryUserProfile;
    import oracle.ifs.beans.PublicObject;
    import oracle.ifs.common.CleartextCredential;
    import oracle.ifs.common.ConnectOptions;
    import oracle.ifs.common.AttributeValue;
    import oracle.ifs.common.IfsException;
    public class jsearch {
    public static String buildsearch (String filename) throws IfsException
    //public static String buildsearch (String filename)
         filename=filename+" de la fonction buildsearch";
         return filename;
    public static String search (String filename)
         try {
              filename=buildsearch(filename);
    catch(IfsException e) { };
    return filename;
    SQLPLUS>@jsearch
    Appel termini.
    Fonction criie.
    SQL> exec dbms_output.put_line(fsearch('ceci provient'));
    BEGIN dbms_output.put_line(fsearch('ceci provient')); END;
    ERREUR ` la ligne 1 :
    ORA-29541: impossible de risoudre la classe SYSTEM.jsearch
    ORA-06512: ` "SYSTEM.FSEARCH", ligne 0
    ORA-06512: ` ligne 1
    SQL>
    Why I don't understand !!!

    ok :)
    my class does import many others, it is in fact a bit of code that sends an email using javamail api, the two packages used are mail.jar and activation.jar which i 've downloaded from javasun.and i think my problem is in these classes, in fact i've compiled myclass with javac, after having included the two packages (mail and activation), and it generated no error.
    i have used sql*plus to load these packages :
    exec sys.dbms_java.loadjava('-v -r -grant PUBLIC -synonym /lib/jaf-1_0_2/activation.jar');
    exec sys.dbms_java.loadjava('-v -r -grant PUBLIC -synonym /lib/javamail-1_3/mail.jar');
    is there any problem in these commands? sql*plus said 'Procidure PL/SQL terminie avec succhs.' :))
    if the jars are successfully loaded, where can i find them in oracle ? how can i verify they are really loaded in the database ?
    thanks for help

  • ORA-29541: class ORDSYS.oracle/ord/media/img/PropsAdapter could not be reso

    When running the demo for the product_media (pm) schema I get:<br><br>
    ERROR at line 1:
    ORA-29541: class ORDSYS.oracle/ord/media/img/PropsAdapter could not be resolved
    ORA-06512: at "ORDSYS.ORDIMG_PKG", line 814
    ORA-06512: at "ORDSYS.ORDIMAGE", line 89
    ORA-06512: at "ORDSYS.ORDIMG_PKG", line 901
    ORA-06512: at "ORDSYS.ORDIMAGE", line 572
    ORA-06512: at line 22I ran this code directly from the docs(section 2.1.4):<br><br>
    DECLARE
      img ORDImage;
      aud ORDAudio;
      vid ORDVideo;
      ctx RAW(64) := NULL;
    BEGIN
      -- Insert a new row into the pm.online_media table
      DELETE FROM pm.online_media WHERE product_id = 3003;
      INSERT INTO pm.online_media
             (product_id,
              product_photo,
              product_audio,
              product_video)
      VALUES (3003,
              ORDImage.init('FILE', 'MEDIA_DIR', 'laptop.jpg'),
              ORDAudio.init('FILE', 'MEDIA_DIR', 'laptop.mpa'),
              ORDVideo.init('FILE', 'MEDIA_DIR', 'laptop.rm'))
      RETURNING product_photo, product_audio, product_video
      INTO img, aud, vid;
      -- Bring the media into the database and populate the attributes 
      img.import(ctx);
      -- ORDImage.import also calls ORDImage.setProperties;
      aud.import(ctx);
      aud.setProperties(ctx);
      vid.import(ctx);
      vid.setProperties(ctx);
      -- update the table with the properties we have extracted
      UPDATE pm.online_media
      SET    product_photo = img,
             product_audio = aud,
             product_video = vid
      WHERE  product_id = 3003;
      COMMIT;
    END;
    /I did narrow it down to the Annotator.jar I believe, but I am not sure. I have uninstalled the ord schema and the JVM and then resinstalled...anyone have a clue?
    chet

    while running ord\im\admin\imchk.sql:
    ...snipped
    com.sun.media.jai.* Java package                   VALID
    com.sun.media.jai.mlib.* Java package              VALID
    com.sun.medialib.mlib.* Java package               VALID
    javax.media.jai.* Java package                     VALID
    oracle.ord.media.* Java package                    INVALID
    262 rows selected.
    interMedia installation is invalid
    PL/SQL procedure successfully completed.when installing (ord\im\admin\iminst.sql):<br><br>
    ...snipped
    BEGIN dbms_java.loadjava('-synonym -schema ORDSYS -resolve -grant PUBLIC ord/jlib/ordimann.jar'); END;
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    oracle.aurora.server.tools.loadjava.ToolsError: Error during loadjava: Failures
    occurred during processing. Check trace file for details
    ORA-06512: at "SYS.DBMS_JAVA", line 222
    ORA-06512: at line 1
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    BEGIN dbms_java.loadjava('-synonym -resolve -schema ORDSYS ord/jlib/jai_core.jar ord/jlib/mlibwrapper_jai.jar ord/jlib/jai_codec.jar ord/jlib/ordimimg.jar'); END;
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    oracle.aurora.server.tools.loadjava.ToolsError: Error during loadjava: Failures
    occurred during processing. Check trace file for details
    ORA-06512: at "SYS.DBMS_JAVA", line 222
    ORA-06512: at line 1ordimimg.jar has the PropsAdapter class. The trace file just say that it (each class) can't be resolved, with no other error message. I followed the README in the ord\Annotator directory setting up environment variables as well...

  • Create java: error reporting

    Hey all,
    Does anyone have any suggestions for how to receive more specific error messages from the compilation of java sources through sql statements? For example, I just tried compiling a piece of code and received the following error message:
    ORA-29511: could not resolve Java class
    I'm not surprised that I received the error, but it's a little inconclusive.
    Any ideas?
    Thanks,
    Jonathan

    Umm.....so....I just realized this may actually be a problem with the HTML DB interface. I had assumed it would transparently pass db error messages to the front-end. -_-;;
    I'm actually having trouble replicating this error now. Right now, when I try the following three commands I receive the following replies:
    1) Statement processed.
    2) Function created.
    3) ORA-29541: class ARDB.CalendarInterface could not be resolved
    The 'create java' statement should be returning a 'cannot find class' error.
    Hmm.....excuse the long post.
    Jonathan
    create or replace and compile java source named "CalendarInterface" as
    import oracle.calendar.soap.client.CalendaringResponse;
    import oracle.calendar.soap.client.Calendarlet;
    import oracle.calendar.soap.client.CreateCommand;
    import oracle.calendar.soap.client.authentication.BasicAuth;
    import oracle.calendar.soap.iCal.iCalendar;
    import oracle.calendar.soap.iCal.vCalendar;
    import oracle.calendar.soap.iCal.vEvent;
    public class CalendarInterface
      public static int addEvent(String title, String description, String dtStart, String duration)
           iCalendar ical   = new iCalendar();    
           vCalendar vcal   = new vCalendar();
           vEvent    vevent = new vEvent();
           ical.addvCalendar(vcal);
           vcal.addvComponent(vevent);
           String uid     = "ARDB-TEST-2";
           vevent.setEventClass(vEvent.k_eventClassPublic);
           // dtStart format: "yyyymmddThhmmssZ"
           vevent.setDtStart(dtStart);
           // Duration format: "PThhHmmM"
           vevent.setDuration(duration);
           vevent.setLocation("HQ");
           vevent.setSummary(title);
           vevent.setUid(uid);
           vevent.setXEventType(vEvent.k_eventTypeAppointment);
           vevent.setDescription(description);
           CreateCommand create = new CreateCommand();
           create.setCmdId("test");
           create.setiCalendar(ical);
           Calendarlet cws = new Calendarlet();      
           BasicAuth auth = new BasicAuth();
           auth.setName("username");
           auth.setPassword("password");
           cws.setEndPointURL("url");
           cws.setWantIOBuffers(true);
           cws.setAuthenticationHeader(auth.getElement());
           try {
              CalendaringResponse response = cws.Create(create.getElement());
           } catch (Exception ex)
             System.out.println("There was an error while retrieving a response from the Calendar server.");
           return 1;
    CREATE OR REPLACE FUNCTION addEvent (
       title IN VARCHAR2,
       description IN VARCHAR2,
       dtStart IN VARCHAR2,
       duration IN VARCHAR2)
       RETURN NUMBER
    AS LANGUAGE JAVA
       NAME 'CalendarInterface.addEvent (
                java.lang.String,
                java.lang.String,
                java.lang.String,
                java.lang.String)
                return int';
    declare
      retval   number;
    begin
      retval := addEvent('Title', 'Description', '20050817T100000Z', 'PT01H00M');
      htp.p(retval);
    end;

Maybe you are looking for

  • MTA Exam 98-361 CS - Please Help ASAP - It would be greatly appreciated!

    Hey guys: I am brand spanking new to this development scene and have zero background in any type of IT so, please bare with me..I'm currently active duty military planning on getting out in the fall. I heard about the MSSA program offered by Microsof

  • HT201184 how do i change network name?

    How do i change my network name?

  • SAPScript issues - J_1B_BORDERO

    Hi all, I am having a hard time figuring out where the data for the SAPScript form J_1B_BORDERO is begin collected. I need to modify the form by adding additional data to it, but unless I figure out which program to modify I can not do it. I have bee

  • Connect RE1000 via wired not wireless

    Can the RE1000 connect to the network via the Ethernet jack? We've got a big house with plaster/metal lath walls and it doesn't seem to be picking up the wireless signal of the E4200 V2 once I configure it in the same room, then move it to the other

  • Difference between Oracle BPEL PM and SOA server suite

    Dear Experts, Right now I am having JDeveloper 10.1.3.4 & Oracle BPEL PM Server 10.1.3.1 with me. Is that two enough to build Business Rules Engine with BPEL process & Human Task Also I having very big question that Oracle BPEL PM Server and SOA serv