ADF test appmodule generates illegal java method call for Oracle binds

I'm on the latest (likely) release of JDeveloper 10.1.3.
ADF Business Components     10.1.3.36.73
Java™ Platform     1.5.0_06
Oracle IDE     10.1.3.36.73
Struts Modeler Version     10.1.3.36.73
UML Modelers Version     10.1.3.37.32
Versioning Support     10.1.3.36.73
Using ADF wizards, I've created a readonly view and modified the sql with a named bind variable.
The sql is
SELECT RaDocumentation.RA_DOC_ID,
RaDocumentation.RA_DOC,
RaDocumentation.MIME_TYPE
,dbms_lob.getlength(RaDocumentation.RA_DOC) bloblength
FROM RA_DOCUMENTATION RaDocumentation
where ra_doc_id = :blobKey
Then I defined blobKey in the bind variables section to be type integer with default value of 0. When I run TEST on the appmodule, which only has this view defined in it, a prompt screen appears to ask for a new value for blobKey. When I press enter, an error screen appears saying
Business Component Browser - java.lang.NoSuchMethodError
oracle.jdbc.OraclePreparedStatement.setObjectAtName(Ljava/lang/String;Ljava/lang/Object;)V
This JDeveloper application is generated "out-of-the-box", in that I did not change any defaults, etc from that which comes defaulted in standard JDeveloper 10.1.3. I did apply the most recent JDeveloper patches from Oracle's download site.
Any suggestions as to the problem?

I appreciate your help, but the problem is not yet solved.
Below is the JDev log generated upon execution of the Browser. I do not see anything unusual.
The log is the execution of JDev 10.1.3 after what I think is complete removal of all incarnations of anything relating to JDeveloper. All versions of JDev were deleted, all jdevhome directories. I found a OpenBaseJDBC.jar in the java extensions subdirectory and removed it.
I then downloaded again the production JDev 10.1.3, executed it (it created its jdevhome directory in my home directory), and I updated with the required patch only (patch 5?), and restarted. Created application with a readonly view using a bind variable. Same error appeared. I did not find any suspect .jar files in the java directory.
----- JDev log output --
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java -classpath /Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/jlib/bc4jtester.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jlib/jdev-cm.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/lib/xmlparserv2.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jlib/help4.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jlib/share.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jlib/jewt4.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jlib/oracle_ice.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jlib/ojmisc.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar:/MyDeveloper/JDeveloperApplications/Model/classes:/Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/lib/adfshare.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/lib/bc4jmt.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/lib/collections.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/lib/bc4jct.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jlib/commons-el.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jlib/jsp-el-api.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jlib/oracle-el.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/lib/adfm.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/jlib/adfui.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/lib/adfbinding.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jdbc/lib/ojdbc14dms.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jdbc/lib/orai18n.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/jdbc/lib/ocrs12.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/diagnostics/lib/ojdl.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/lib/dms.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/lib/bc4jdomorcl.jar:/Applications/JDeveloper.app/Contents/Resources/jdev/BC4J/jlib/bc4jdatum.jar: oracle.jbo.jbotester.MainFrame -X 10E38CE209A -H jar:file:/Applications/JDeveloper.app/Contents/Resources/jdev/jdev/doc/studio_doc/ohj/bc4j_f1.jar!/bc4j_f1.hs
2006-10-11 14:16:44.546 java[717] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x13703, name = 'java.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2006-10-11 14:16:44.547 java[717] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (java.ServiceProvider)
BC4J Tester exit code(0)
-- JDev log output end --

Similar Messages

  • Java method call from Oracle?

    is it possible to calll on a running java Class's method from Oracle Stored procedure or something?
    here is the real problem...
    let's take a example of a simple ChatServer...
    let 's say we have two or more chatserver running on the same machine and users are connected to both server. Now one user from one machine send some message to another user whois on machine two. let's for a moment assume that all message have to go through the oracle database. We know at the databse level who is connect on what server. So server1 inserts the message into the databse and trigger should send message to server1 some kind of method, which then looks up the user's thread and send the message to the user.
    any clue?

    Oracle does support Java stored procs. You could have an Oracle java proc put a message on a network connection to do this. Honestly, however, it sounds to me like you need to revisit your design. A database really isn't the place to do this. If you need to keep the two servers in synch, consider a messaging solution like JMS

  • Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile

    Where can I find "Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile"?
    Thanks a lot for your time.

    Hi, this is referring to the JavaDocs for Java methods/classes supported by ADF Mobile. You can typically right (or ctrl) click on any ADF Mobile specific Java method and select "JavaDoc". You can open up a sample app that contains any Java class - for example the HR sample app, and find any method with name "adfmf*". You should be able to see the Java doc for the ADF Mobile related methods/classes.
    Thanks,
    Joe Huang

  • ADF Faces: !-- ERROR: could not create stylesheet for oracle-desktop.xss

    Hi,
    I'm using ADF Faces EA6. Sometimes when I create the EAR, it doesn't include the file "oracle-desktop-ea6-ie-6-windows.css" which muest be present in the "adf/styles/cache" directory. If I check the source code from the browser, it starts like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="ltr" lang="es-ES">
    <head><title>Sistema de Seguridad</title><meta name="generator" content="Oracle ADF Faces"><!-- ERROR: could not create stylesheet for oracle-desktop.xss --><script type="text/javascript" src="/fmv/adf/jsLibs/Commonea6.js"></script><script type="text/javascript">_defaultTZ()</script></head>
    Please note the comment: <!-- ERROR: could not create stylesheet for oracle-desktop.xss -->
    Does somebody know the reason?
    TIA,
    Brian

    If everything is set up properly the css will get generated if it doesn't exist. You do not have to be running in the IDE for the css to be correctly generated. Running the app first is generating the css before you deploy, so you've taken away the symptom but not solved the problem. If you try running on another browser, for example, you'll probably run into the same problem.
    Does your ear get unzipped when you deploy? Do you have a writable file system for the css to get written to? There is a known issue with WebLogic where it doesn't expand the EAR.
    Please check to see if there are errors in the logs.

  • How we build Java Database Connectivity for Oracle 8i Database

    Can any one send me a sample code for Java Database Connectivity for Oracle 8i Database
    it will be a grat help
    Thanks & Regards
    Rasika

    You don't need a DSN if you use Oracle's JDBC driver.
    You didn't read ANY of the previous replies. What makes you think this one willk help? Or any instruction, for that matter?
    Sounds like you just want someone to give it to you. OK, I'll bite, but you have to figure out the rest:
    import java.sql.*;
    import java.util.*;
    * Command line app that allows a user to connect with a database and
    * execute any valid SQL against it
    public class DataConnection
        public static final String DEFAULT_DRIVER   = "sun.jdbc.odbc.JdbcOdbcDriver";
        public static final String DEFAULT_URL      = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Edu\\Java\\Forum\\DataConnection.mdb";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        public static final String DEFAULT_DRIVER   = "com.mysql.jdbc.Driver";
        public static final String DEFAULT_URL      = "jdbc:mysql://localhost:3306/hibernate";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        /** Database connection */
        private Connection connection;
         * Driver for the DataConnection
         * @param command line arguments
         * <ol start='0'>
         * <li>SQL query string</li>
         * <li>JDBC driver class</li>
         * <li>database URL</li>
         * <li>username</li>
         * <li>password</li>
         * </ol>
        public static void main(String [] args)
            DataConnection db = null;
            try
                if (args.length > 0)
                    String sql      = args[0];
                    String driver   = ((args.length > 1) ? args[1] : DEFAULT_DRIVER);
                    String url      = ((args.length > 2) ? args[2] : DEFAULT_URL);
                    String username = ((args.length > 3) ? args[3] : DEFAULT_USERNAME);
                    String password = ((args.length > 4) ? args[4] : DEFAULT_PASSWORD);
                    System.out.println("sql     : " + sql);
                    System.out.println("driver  : " + driver);
                    System.out.println("url     : " + url);
                    System.out.println("username: " + username);
                    System.out.println("password: " + password);
                    db = new DataConnection(driver, url, username, password);
                    System.out.println("Connection established");
                    Object result = db.executeSQL(sql);
                    System.out.println(result);
                else
                    System.out.println("Usage: db.DataConnection <sql> <driver> <url> <username> <password>");
            catch (SQLException e)
                System.err.println("SQL error: " + e.getErrorCode());
                System.err.println("SQL state: " + e.getSQLState());
                e.printStackTrace(System.err);
            catch (Exception e)
                e.printStackTrace(System.err);
            finally
                if (db != null)
                    db.close();
                db = null;
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection() throws SQLException,ClassNotFoundException
            this(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection(final String driver,
                              final String url,
                              final String username,
                              final String password)
            throws SQLException,ClassNotFoundException
            Class.forName(driver);
            this.connection = DriverManager.getConnection(url, username, password);
         * Get Driver properties
         * @param database URL
         * @return list of driver properties
         * @throws SQLException if the query fails
        public List getDriverProperties(final String url)
            throws SQLException
            List driverProperties   = new ArrayList();
            Driver driver           = DriverManager.getDriver(url);
            if (driver != null)
                DriverPropertyInfo[] info = driver.getPropertyInfo(url, null);
                if (info != null)
                    driverProperties    = Arrays.asList(info);
            return driverProperties;
         * Clean up the connection
        public void close()
            close(this.connection);
         * Execute ANY SQL statement
         * @param SQL statement to execute
         * @returns list of row values if a ResultSet is returned,
         * OR an altered row count object if not
         * @throws SQLException if the query fails
        public Object executeSQL(final String sql) throws SQLException
            Object returnValue;
            Statement statement = null;
            ResultSet rs = null;
            try
                statement = this.connection.createStatement();
                boolean hasResultSet    = statement.execute(sql);
                if (hasResultSet)
                    rs                      = statement.getResultSet();
                    ResultSetMetaData meta  = rs.getMetaData();
                    int numColumns          = meta.getColumnCount();
                    List rows               = new ArrayList();
                    while (rs.next())
                        Map thisRow = new LinkedHashMap();
                        for (int i = 1; i <= numColumns; ++i)
                            String columnName   = meta.getColumnName(i);
                            Object value        = rs.getObject(columnName);
                            thisRow.put(columnName, value);
                        rows.add(thisRow);
                    returnValue = rows;
            else
                int updateCount = statement.getUpdateCount();
                returnValue     = new Integer(updateCount);
            finally
                close(rs);
                close(statement);
            return returnValue;
         * Close a database connection
         * @param connection to close
        public static final void close(Connection connection)
            try
                if (connection != null)
                    connection.close();
                    connection = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a statement
         * @param statement to close
        public static final void close(Statement statement)
            try
                if (statement != null)
                    statement.close();
                    statement = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a result set
         * @param rs to close
        public static final void close(ResultSet rs)
            try
                if (rs != null)
                    rs.close();
                    rs = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a database connection and statement
         * @param connection to close
         * @param statement to close
        public static final void close(Connection connection, Statement statement)
            close(statement);
            close(connection);
         * Close a database connection, statement, and result set
         * @param connection to close
         * @param statement to close
         * @param rs to close
        public static final void close(Connection connection,
                                       Statement statement,
                                       ResultSet rs)
            close(rs);
            close(statement);
            close(connection);
    }%

  • JAVA JDBC code for Oracle 9i

    I need java jdbc code for oracle 9i as soon as possible.

    All the information you need is on the web. For some of it, you'll need to register with Oracle. It's free and they don't send annoying emails (at least to me).
    Sample code:
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html
    Code templates:
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/htdocs/templates.htm
    Oracle JDBC FAQ:
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    Oracle9i JDBC Developer's Guide and Reference (for 9.2)
    http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96654/toc.htm
    Oracle general documentation
    http://www.oracle.com/technology/documentation/index.html
    Oracle SQLJ/JDBC forum
    http://forums.oracle.com/forums/forum.jspa?forumID=99

  • Java method call from c passing string more info

    I am trying to call a java method from c passing a String as an argument.
    my C code is as follows.
    //Initalise jstring and class (to recieve String)
    jstring textp;
    jclass texts = (*env)->GetObjectClass(env, obj);
    jmethodID text = (*env)->GetMethodID(env, texts, "texture", "([Ljava/lang/String;)V");
    //Create a new jstring from the char* texturePath (in textures)
    //call the java method with the jstring
    textp = (*env)->NewStringUTF(env,ret.textures->texturePath);
    (*env)->CallVoidMethod(env, obj, text,textp);
    //java code
    // texture which recieves a string
    public void texture(String texturePath){
    The error I get is as follows:
    SIGSEGV 11 segmentation violation
    si_signo [11]: SEGV
    si_errno [0]:
    si_code [1]: SEGV_MAPERR [addr: 0xc]
    stackpointer=FFBED790
    "Screen Updater" (TID:0x4f9060, sys_thread_t:0x4f8f98, state:CW, thread_t: t@11, threadID:0xf2d31d78, stack_bottom:0xf2d32000, stack_size:0x20000) prio=4
    [1] java.lang.Object.wait(Object.java:424)
    [2] sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:78)
    [3] sun.awt.ScreenUpdater.run(ScreenUpdater.java:98)
    "AWT-Motif" (TID:0x40be50, sys_thread_t:0x40bd88, state:R, thread_t: t@10, threadID:0xf2d71d78, stack_bottom:0xf2d72000, stack_size:0x20000) prio=5
    [1] sun.awt.motif.MToolkit.run(Native Method)
    [2] java.lang.Thread.run(Thread.java:479)
    "SunToolkit.PostEventQueue-0" (TID:0x431950, sys_thread_t:0x431888, state:CW, thread_t: t@9, threadID:0xf2e71d78, stack_bottom:0xf2e72000, stack_size:0x20000) prio=5
    [1] java.lang.Object.wait(Object.java:424)
    [2] sun.awt.PostEventQueue.run(SunToolkit.java:407)
    "AWT-EventQueue-0" (TID:0x430ea8, sys_thread_t:0x430de0, state:CW, thread_t: t@8, threadID:0xf3071d78, stack_bottom:0xf3072000, stack_size:0x20000) prio=6
    [1] java.lang.Object.wait(Object.java:424)
    [2] java.awt.EventQueue.getNextEvent(EventQueue.java:212)
    [3] java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:100)
    [4] java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:91)
    [5] java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
    Exiting Thread (sys_thread_t:0xff343db0) : no stack
    "Finalizer" (TID:0x154e98, sys_thread_t:0x154dd0, state:CW, thread_t: t@6, threadID:0xfe391d78, stack_bottom:0xfe392000, stack_size:0x20000) prio=8
    [1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:146)
    [2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:168)
    [3] java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:124)
    "Reference Handler" (TID:0x1506a0, sys_thread_t:0x1505d8, state:CW, thread_t: t@5, threadID:0xfe3c1d78, stack_bottom:0xfe3c2000, stack_size:0x20000) prio=10
    [1] java.lang.Object.wait(Object.java:424)
    [2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:130)
    "Signal dispatcher" (TID:0x13d180, sys_thread_t:0x13d0b8, state:MW, thread_t: t@4, threadID:0xfe3f1d78, stack_bottom:0xfe3f2000, stack_size:0x20000) prio=10
    "main" (TID:0x38918, sys_thread_t:0x38850, state:R, thread_t: t@1, threadID:0x25228, stack_bottom:0xffbf0000, stack_size:0x800000) prio=5 *current thread*
    [1] loader.Callbacks.nativeMethod(Native Method)
    [2] loader.Callbacks.main(Callbacks.java:184)
    [3] graphics.GR_MakeTrack.init(GR_MakeTrack.java:60)
    [4] graphics.GR_MakeTrack.main2(GR_MakeTrack.java:49)
    [5] graphics.GR_MakeTrack.main(GR_MakeTrack.java:41)
    [6] control.GE_main.GE_main1(GE_main.java:87)
    [7] control.GE_main.main(GE_main.java:66)
    gmake: *** [run] Abort (core dumped)

    I am trying to call a java method from c passing a
    String as an argument.
    my C code is as follows.
    //Initalise jstring and class (to recieve String)
    jstring textp;
    jclass texts = (*env)->GetObjectClass(env, obj);
    jmethodID text = (*env)->GetMethodID(env, texts,
    "texture", "([Ljava/lang/String;)V");
    Hi Pete,
    your problem is that the method texture you are trying to find does not exist. If you look carefully at your declaration of the method signature in the GetMethodID call you will see "([Ljava/lang/String;)V" which is trying to find a method that accepts a String array as its parameter. Remove the [ from the method signature and it should work ok. You might want to test text (jmethodID) for NULL or 0 before trying to call it as well.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Wsdeploy generates upper case method calls

    Hi all,
    I'm using
    wsdeploy -tmpdir build\server -keep -o dist\adresse.war build\adresse_prepare.war -verbose
    to generate the server part of my webservice.
    This one put the method call of my only interface call
    getAdresse(String bla)
    to upper cases in all generated classes. So far this doesn't seem to be a problem cause the service is active and seems to work but if I try to generate the client side with
    wscompile -gen:client -d build/client -keep -verbose config.xml
    and direct access to the wsdl-file via the service all client classes are generated with lower case method call.
    Now trying to call the service with the client stubs I get a class not found exception on the server side cause the server seems to be instructed to search for lower case method call classes.
    The generated wsdl file exists of lower case method calls.
    I'm getting mad...
    Please help
    Oliver

    Same problem with the simple hello application....if someone of the creators of this wonderful tool is listening please give me a hint where to look at...I'm really drivin' crazy...
    java.lang.NoClassDefFoundError: hello/HelloIF_SayHello_RequestStruct (wrong name: hello/HelloIF_sayHello_RequestStruct)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

  • Custom Java method call

    I created a new service which should call a java method. It is called from the confirm htm page after check in of a new content item.
    Serice Name INVOKE_ESB_CLIENT
    DIR - custom/component/classes/invokeESBClient
    Class - InvokeESBClient
    method - invokeESBclient
    ServiceHandlers serviceName - DocService
    handler - invokeESBClient.InvokeESBClient
    This is all done in a component which has a service handler to point it the proper directory and class. But I get the following error. Your help is appreciated.
    Unable to execute service INVOKE_ESB_CLIENT and function invokeESBclient.
    (System Error: The service method 'invokeESBclient' is not defined.) The service method 'invokeESBclient' is not defined.
    An error has occurred. The stack trace below shows more information.
    !csServiceDataException,INVOKE_ESB_CLIENT,invokeESBclient!$!csSystemError,\!csMethodNotDefined\,invokeESBclient!csMethodNotDefined,invokeESBclient
    intradoc.common.ServiceException: !csServiceDataException,INVOKE_ESB_CLIENT,invokeESBclient!$!csSystemError,\!csMethodNotDefined\,invokeESBclient
         at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:1742)
         at intradoc.server.Service.buildServiceException(Service.java:1997)
         at intradoc.server.Service.createServiceExceptionEx(Service.java:1991)
         at intradoc.server.Service.createServiceException(Service.java:1986)
         at intradoc.server.ServiceRequestImplementor.handleActionException(ServiceRequestImplementor.java:1453)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1420)
         at intradoc.server.Service.doAction(Service.java:452)
         at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1194)
         at intradoc.server.Service.doActions(Service.java:447)
         at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1114)
         at intradoc.server.Service.executeActions(Service.java:433)
         at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
         at intradoc.server.Service.doRequest(Service.java:1707)
         at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
         at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
    Caused by: intradoc.data.DataException: !csMethodNotDefined,invokeESBclient
         at intradoc.server.Service.doCodeEx(Service.java:518)
         at intradoc.server.Service.doCode(Service.java:472)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1353)
         ... 9 more

    Answers to your questions:
    1. Yes i have compiled the java files, more than once again just to confirm. I unit tested the class by running as a java application before using it in the component.
    2. No, but I did do it after you suggested it. I still get the same error.
    3. Yes classes directory has been added to y components custom classpath.
    4. No, i have not sacified 5.25 in floppy but at this point is I am willing to sacrifice my whole laptop.
    Within the component I have directory named classes and directory name invokeESBClient and then
    component
    ..........classes
    .................invokeESBClient
    .........................InvokeESBClient.class
    .........................InvokeESBClient.java
    This is the contents of resource table
    Resource Tables
    Merge To: ServiceHandlers
    <@table Java_Method_Call@>
    <table border=1><caption><strong>
    <tr>
    <td>serviceName</td><td>handler</td> <td>searchOrder</td>
    </tr>
    <tr>
    <td>DocService</td> <td>invoiceESBClient.InvokeESBClient</td> <td>5</td>
    </tr>
    <@end@>
    I hope this provides enough information.

  • Native - Java Method Call problem - "Wrong Method ID..."

    I am writing a 3d game engine using c++, with all the game logic code in Java, for the purpose of making the thing extendible, easily modifyable, etc...
    I am using J2SE JDK 1.2.2.
    Most things work fine (engine-wise), but i have a few questions about problems i am having getting the JNI to work correctly with calls to Java Methods.
    1. If I use FindClass() to get a jclass reference to a named class, I get one number back. If I then instantiate this class, and then call GetObjectClass() with the instance, I get another number, **which doesnt appear to work for anything**. What is going on here? Can the JVM give different jclass numbers for the same class? Is GetObjectClass() supposed to work?
    2. Is AllocObject() alright for instantiating Java objects? It does seem to allocate memory, and method calls work to the new object. I am aware that it doesn't call a constructor, but I like that, seeing as the initialization is handled through a different [network-synchronized] means.
    3. Using a jclass retrieved using FindClass(), which I store in a global variable, I am able to call methods on an instance that I created in a certain function. I then make sure (?) that the GC can't reclaim the class or object memory by getting a NewGlobalReference to both of them [just to be safe]. However, in a later function, I am unable to call methods using my stored method IDs, ["Wrong Method ID....JVM has been asked to shut down this application in an unusual manner..."]. I am also unable to acquire new methodIDs, as the system returns 0xCCCCCCCC for all method ID queries. Obviously, attempting to use those bogus method IDs results in a JVM crash, in a segment called [2 deep in the untraceable depths of JVM.dll] from the JNI CallVoidMethodV() function. Why is this happening? Is the GC getting in there despite my best efforts? Is it illegal to cache methodIDs, jclass references or jobject references? aaarrggh! :)
    Thanks
    Chris Forbes
    Lead Programmer
    Sprocket Interactive
    [email protected]

    Hi Chris,
    I hit the same sort of problem, when writing a JVMDI ( VM debugger hook ), in C++.
    My question remained unanswered too
    http://forum.java.sun.com/thread.jsp?forum=47&thread=461503&tstart=30&trange=30
    I didn't try a call to NewGlobalRef, as you did... but it sounds like it could be what I was missing.
    I've a couple of ideas, but nothing definite for you.
    1) maybe there's more than one classloader, so that multiple copies of the class are loaded
    2) ensure you're compiling your DLL with "quad-word" ( 8 byte ) alignment.
    Otherwise all your JNI references will be misaligned !
    Since the JNI reference maps to a C++ pointer, it's possible that you can't cache any JNI references.
    That's my vague feeling on the subject.
    As a workaround, you may have to keep requesting any JNI references, eg. jclass & jmethod's, as you need them.
    regards,
    Owen

  • DB Call from Oracle Business Rule +Java Method call from OBR

    Hi,
    1.We have a requirement in project where we need to make DB Call from Business rule.
    We are using ORACLE SOA11g.
    Is this possible.Any pointers on this will be helpfull.
    2.Can we call java method from Oracle Business Rule.If so pls suggest how it can be done.
    Thanks In Advance,
    Oracle SOA User

    You can implement java class to make database updates using JDBC. You can add Java class as fact in business rules and invoke methods as actions of the business rules.
    Hope this will help.
    Jayesh Patel
    http://jayesh-patel.blogspot.com/
    http://www.yagnasys.com/

  • Java method call from c passing string

    I have a c program which gets a char* myVar and I want to pass it to a java method which takes in a string but what ever I try I just get errors. This seems like a simple thing to do but I keep getting stuck so any help would be much appreciated. Thanks

    I think you need to expalin your problem in more detail, or better still, post some code. Then we'll be able to help.

  • Aborting Java Method Call

    Hi,
    I am 2 classes Class 1 and Class2
    from Class1.getData() method I am calling Class2.checkDetails() method
    My problem is that sometimes due to some backend down or some connection issues checkDetails() call takes several minutes to complete.
    In this scenario I want to abort the call altogether and show error details.
    Also I cant change checkDetails() as that module is not under my control, so that handling has to be done in Class1 itself.

    I believe he wants to know how to unblock a blocking method call after X amount of time elapses.
    The best I can suggest is to call checkDetails() in a new thread. Use a timer that sets a "cancel" flag (in the new thread) after X time elapses. When the method call unblocks, (i.e., checkDetails() returns) It should check to see if the canceled variable has been set. If its been canceled, then the thread just disposes, otherwise it keeps on working.

  • Making an asynchronous method call in Oracle Weblogic Workshop 10.3.2

    Hi,
    Need to make a non blocking asynchronous method call from my application.
    There is an http url which i need to call but in asynchronous way.
    example:
    URL myPage = new URL("http://www.mypage.com/");
    URLConnection yc = myPage.openConnection();
    but the method to be invoked in non blocking or asynchronous way, so that the thread doesn't get stuck when the server of the target url ( http://www.mypage.com) is not working.
    regards
    pramod
    mumbai/India.

    Hi Pramod,
    Well in generally all the Synchronous call only if you want to achieve asynchronous method calls use Web-services method call.
    Here is link which help you to achieve your task.
    http://docs.oracle.com/cd/E11035_01/wls100/webserv_adv/asynch.html
    Regards,
    kal

  • What's the chain of methods called for painting components?

    Hi, I'm trying to find out at what point components are painted within a container, as in what methods are being called for that component to be rendered to the graphics context.
    I've tried watching for calls going to paint, paintAll and paintComponents, but if a component has been added to a container it seems that even if I override all of those methods of the container the components that have been added still get displayed.
    So I suppose I have two questions:
    * - What is the chain of methods called when a container is told to paint/repaint itself?
    * - What are the purpose of paintAll & paintComponents, I can't find anything that actually uses these calls.
    Thanks in advance,
    L

    Well it seems that the paint method of the component is being called from sun.awt.RepaintArea.paint(...) which itself is being kicked off from handling an event that's been thrown.
    That's clearer now....but has anyone seen when paintAll, paintComponents or the printXXX counterparts have actually been called by a part Sun's code? I can see how they (Sun) would advocate a practice lke this, but it would seem kinda lame for them to suggest it and then for them not to use it themselves.....that's why I think there's probably something in the JRE that does call these methods at sometime....can anyone cast some light on this?

Maybe you are looking for

  • Error shown in console while running BPEL process

    We have built one BPEL process that creates AR invoices in Oracle Apps from a legacy system. While deploying the process it deploys without Error, but when viewing the process through BPEL Console by clicking the instance it throws Below ERROR -- "ja

  • Restoring computer

    I had to restore my computer to square 1, thereby restoring itunes. Can I transfer my music from the ipod to the itunes or do I have to copy ALL my songs back on from cd's. None of my songs came from the internet, I own all cd's. I hate to rebuild fr

  • Custom Run-Time Menu Not Found in User.lib

    Our Instrument Run-Time Menus are getting lost. This is because we have some computers that are 32 bit and the code is located at C:\Program Files\National Instruments\LabVIEW 2011\user.lib\InstrumentDrivers Other computers are 64 bit and the code is

  • [Solved] Default Applications

    I'm using gnome 3.6.1 and when i try to change default applications from system settings>details>default applications  control center exits without any change! Problem was there since gnome 3.4 but then it just didn't change anything now it exits con

  • Error prompts after Quicktime compatibility download

    Because I am using apps from the new iLife 08, I downloaded both MAC OS 10.4.10 along with the Quicktime Compatibility download on my G5 dual 2.0GHz MAC. Now Quiktime Pro 7.2 will not record. I get the following error prompt when I try to record eith