Java API to interface with JVMTI?

Hi All!
Is there a Java API available, to interact with the JVMTI API added in JDK 1.5.
Thanks.

Hi,
Can any one Please Help me out am Stuck up with the following Exception While trying to invoke a External java Function.
Step 1: Written the attached Java Class from "Oracle WorkFlow's Developers's" guide.
Ref: http://www.stanford.edu/dept/itss/docs/oracle/10g/workflow.101/b10284/deffa02.htm#stdjfa
Step 2: In builder created a process and created a Java Function
<package-name>.<class-name>
Step 3: Compiled the Java Class,and Created a jar file and included the jar and the required .jar files [which are required to make that class compile free] in the class path.
Step 4: We modified the wfjvlsnr.bat by including the custom jar file which was created and the dependent jar files in the classpath and ran the Java Agent.
Step 5: Invoked the Process from client, once the process is invoked we are getting
Unable to load class gov.oracle.apps.fnd.wf.SampleWF
java.lang.ClassNotFoundException: gov.oracle.apps.fnd.wf.SampleWF
Tue Oct 10 14:33:38 GMT+05:30 2006 Enqueuing VAC02/VAC02 gov.oracle.apps.fnd.wf.SampleWF
null
Unable to load class gov.oracle.apps.fnd.wf.SampleWF
: java.lang.ClassNotFoundEx
ception: gov.oracle.apps.fnd.wf.SampleWF
please do reply to my mail [email protected]

Similar Messages

  • Java API to work with Oracle Workflow

    Hi,
    I'm new to Oracle Workflow. Currently, I'm starting to work on a java front-end to work with some features of Oracle Workflow.
    The only thing I know, is that I should be using workflow 2.6.3, and someone gave me a jar which is supposed to be the java API to the workflow, and a link to some online info:
    http://download-uk.oracle.com/docs/cd/B19306_01/workflow.102/b15855/toc.htm
    The api I received, was a jar file named "wfapi.jar". It was sent to me by email, don't know where they got it from.
    And that's it ... it's the only info I received.
    Searching the web, I found this interesting article:
    http://www.oracle.com/technology/products/ias/workflow/release262/wfjavawp.pdf
    That teaches me how to work with the java API, but the document itself is intended for release 2.6.2 (november 2001). So I started doing the first coding, and found that I have no way of implementing the instruction: "import oracle.apps.fnd.common.*;"
    Seems I don't have the "common" part of the package ... that just pops up two reasons:
    1. I don't have the complete java API;
    2. This code is for version 2.6.2, and in version 2.6.3 of the API the "common" was removed (which I think it would be quite odd).
    So I endup with no way of testing, and don't know the product well enough to start working and learning with it.
    Anyone can give me some lights?
    Where can I find a complete and definite complete java API?
    What about some guide with some examples on how to start working with the API?
    Where can I search the demo java programs?
    If I download the Oracle Workflow 2.6.3 from oracle.com, will I be able to get that API? Will I need to install it to get the API? Do I need the Oracle DB to be installed first?
    I would appreciate some help on how I can startup using this, or what should I look for, and most importantly, where?
    Thank you very much.
    ----- code example -----
    To test using what I got, I've ran the following code:
              String sUser = "myuser";
              String sPass = "mypass";
              String sJdbc = "jdbc:oracle:thin:@";
              String sStrg = "myserver:1520:mysid";
              String sCharSet = null;
              WFDB myDB;
              WFContext ctx;
              myDB = new WFDB(sUser, sPass, sJdbc, sStrg);
              sCharSet = System.getProperty("CHARSET");
              if(sCharSet==null) {  //cannot be null
                   sCharSet = "UTF8";
    This just gives me the following message:
    [22-11-2005 14:58:54:328 GMT] 7b4542dd WebGroup E SRVE0026E: [Servlet Error]-[oracle/apps/fnd/common/VersionInfo]: java.lang.NoClassDefFoundError: oracle/apps/fnd/common/VersionInfo
         at      at oracle.apps.fnd.wf.WFDB.<clinit>(WFDB.java:27).null(Unknown Source)
    So it seems the "common" is needed after all ...

    Hi,
    Can any one Please Help me out am Stuck up with the following Exception While trying to invoke a External java Function.
    Step 1: Written the attached Java Class from "Oracle WorkFlow's Developers's" guide.
    Ref: http://www.stanford.edu/dept/itss/docs/oracle/10g/workflow.101/b10284/deffa02.htm#stdjfa
    Step 2: In builder created a process and created a Java Function
    <package-name>.<class-name>
    Step 3: Compiled the Java Class,and Created a jar file and included the jar and the required .jar files [which are required to make that class compile free] in the class path.
    Step 4: We modified the wfjvlsnr.bat by including the custom jar file which was created and the dependent jar files in the classpath and ran the Java Agent.
    Step 5: Invoked the Process from client, once the process is invoked we are getting
    Unable to load class gov.oracle.apps.fnd.wf.SampleWF
    java.lang.ClassNotFoundException: gov.oracle.apps.fnd.wf.SampleWF
    Tue Oct 10 14:33:38 GMT+05:30 2006 Enqueuing VAC02/VAC02 gov.oracle.apps.fnd.wf.SampleWF
    null
    Unable to load class gov.oracle.apps.fnd.wf.SampleWF
    : java.lang.ClassNotFoundEx
    ception: gov.oracle.apps.fnd.wf.SampleWF
    please do reply to my mail [email protected]

  • Java API for working with digital signature.

    Hi,
         I have to check whether a pdf form is modified since it is digitally signed, using a java program.
         Are there any java APIs(provided by SAP) available for that?
         Can I use IWDPDFDocument API in java program? I tried it but I am getting 'classnotfoundexception'.
    Thanks,
    Prabhakar.

    may i know what service pack of SAP NetWeaver  Developer Studio version are you using?
    as the "IWDPDFDocument" is only available on SAP NetWeaver 2004S SPS 10 and above
    and you just need to import either this two class
    com.sap.tc.webdynpro.clientserver.adobe.api
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.api 
    hope this information could help you
    Regards
    Jia Jun

  • Why abstact class implemented in java . differce in interface with it

    Hi any one help me.
    please make me clear what is the difference between abstarct class and
    iinterface

    I think Ive answered this question before but there are some things you cant do with a interface that you can do with a interface here is an example.
    class Controller{
        Integrer sync = new Integer(10);
        GuiDef guiDef = new GUIImpl(this);//Gui def is a interface That represents a 
                                      //abstract User Interface
        abstract class SwingTheader extends Thread{
            public void run(){
                Synchronized(sync){
                    try{
                        process();
                    catch(MyCustomException mce){
                        guiDef.reportException(mce);
            public abstract void process()throws MyCustomException;
    }You can use this inner class to handle any time consuming process initiated by a swing component

  • Java API for working with Pivot Tables...?

    Hi,
    I want to create/modify an existing pivot table in an excel sheet. Is there any open source available to work on pivot tables.
    I have seen few articles mentioning that POI supports updation of data, though the apache site says that it does not support working with pivot tables. I am able to copy an existing excel template with pivot table to a new excel using poi but am stuck with updating....
    Thanx,
    Praveen.

    Hi,
    The JExcelAPI does not support working with pivot tables... I am still in search of an open source to work with pivot tables....
    btw, we are able to update an existing pivot table using apache poi. But we need to change the data range of the pivot table during run time... Am stuck with this... Has anyone come across any open source to work with pivots???
    Regards...

  • Java program to interface with Microsoft Outlook and Exchange.

    I am in the process of writing a Java GUI application that can connect to Microsoft Exchange servers and get appointments information.
    I tried using JIntegra's Java Exchange Bridge but I keep getting a "AutomationException - class not registered" error whenever my code gets to the part where it attempts to login.
    Ive configured everything properly and have the appropriate access.
    Can anyone help me or give me some ideas of another way to implement this GUI?
    Thanks

    Ive configured everything properlyQuite likely not.
    I know almost nothing about JIntegra -- but when I look at their website, I see a "Support" page and a "Knowledge Base" page. Seems to me there is a much higher density of expertise over there than there is here.
    I know in Windows you can't use a DLL unless you've registered it, which does something to your registry. And you have to be an administrator to do that. Perhaps you have to do something like that on your machine.

  • Java card applet interfacing with GUI

    Hi, just wondering if anyone has any sample code or can point me to any relevant (recent) articles of a GUI application using the OCF to communicate with an applet on a Javacard.
    I am looking to store and retrieve string data to and from a Javacard.
    Many thanks
    Damian

    ok, I know I shouldn't really reply to my own posts!...but after reading some documentation on the OCF web site I understand that the framework provides a number of services.
    As previously mentioned, I wish to store and retrieve string data from the card. In order to do this, should I use "FileAccessCardService"?
    Or, because I am using Javacard, is it necessary to use the "AppletAccessCardService" and "AppletManagerCardService"?

  • Difference between interfaces in Java API and user defined interfaces

    Is there any differences between the interfaces (such as KeyListener, ActionListener and EventListener etc.,) in Java API and the user defined interfaces.
    The user defined interfaces seems to be empty without any functionality (except its constant and method declarations). But the interfaces in Java API seems to have some functionality behind them, since they route the device events to the programs.
    Actually what is happening behind the Java API's interfaces?
    Please clarify.

    Ummm, no they are not (or at least some of them are not). Also, some things we support now we may not have supported in a previous release.
    If you look at the section 2 (Working with TimesTen Data Stores0 in the TimesTen Java Developer's Guide and look at the sections:
    TimesTen JDBC Extensions
    Additional TimesTen classes and interfaces
    then you will see the extra functionality documented there. Of course, if you do not need any of this functionality then you can simply treat them as the base classes from java.sql and they will work fine so it is easy to make most of your code generic.
    Chris

  • Oracle 11g Standard Edition + Locator Java API

    We have Oracle 11g Standard which includes the Oracle Locator package, but not the Oracle Spatial.
    I would like to use the Oracle® Spatial Java API in my java code, but am unsure of the licensing implications of this.
    I require some form of java api in order to access the geomettry objects stored in the database. Oracle do not allow the download of the java files seperately. I was unable to find any reference to a 'Oracle Locator Java API'
    Could someone let me know what exists in terms of Java API's, what i am entitled to use under the current licensing rules, and where I can download the necessary source/jar files?

    Thanks for letting me know the location of the jar files, that will at least help me get things going.
    I am still concerned about licensing issues, as your reply appears to contradict itself:
    "There is no licensing issues if you just want to use Oracle Spatial Java API(sdoapi.jar) with your spatial data in the Oracle 11g Standard DB."
    and
    "You cannot use some oracle spatial features (PL/SQL packages and their java APIs) in the standard edition."
    I could use some clarification on this. I'm currently assuming that you mean I can legitimately use the spatial java API with any features I have available within the 11g Standard DB (i.e Oracle Locator subset of the Oracle Spatial package), but that I can't take that for granted, especially considering how militant Oracle are being over licensing and patents these days.

  • How to use java api while java programming especially using javase and java swing?

    i need help for java api for undo, redo, htmleditorkit,editorkit.
    in my project i have to use java swing for desktop application but, i need help for how to implement and how to retrieve java api.
    please reply with example or code..

    i need help for java api for undo, redo, htmleditorkit,editorkit.
    in my project i have to use java swing for desktop application but, i need help for how to implement and how to retrieve java api.
    please reply with example or code..
    You find examples and code by searching the internet, not by using forums.
    Start with The Java Tutorials - it has trails for the bulk of the Java functionality.
    See the trail 'How to Write an Undoable Edit Listener'
    http://docs.oracle.com/javase/tutorial/uiswing/events/undoableeditlistener.html
    You learn by DOING - not by reading. Actually DO the tutorial example and try to understand WHAT it does and HOW it does it.
    Then search for other tutorial trails that are of interest.

  • Oracle Workflow Java API

    Hi everyone,
    some questions to that API (maybe only Oracle can answer):
    1) in the "Oracle Workflow and Java Technical White Paper" an API-Function called "setItemOwner" ist described but you cannot find this method inside any class of the wf*.jar files. Where is it ?
    As i understnd, the owner of a workflow-item(process) is needed to watch the processes with workflow-monitor.
    Do we have to implement this function/method ?
    2) I found out, that the Java API is, compared with the PL/SQL packages, slightly incomplete?
    Several functions/methods are not implemented and other functions/methods are not of the same functionality as their PL/SQL counterparts.
    An Example: CreateProcess
    The Java method "createProcess" has two parameters fewer (user_key and owner_role). API methods to set the user key or to set the owner (see Question 1) are not implemented.
    Is there a special reason for that ?
    Thanks
    Ralf

    Ralf,
    1) setItemOwner should be in the WFEngineAPI class in the package oracle.apps.fnd.wf.engine.
    2) It is true that the Java and PL/SQL implementations are not exactly the same - some APIs are available only in PL/SQL, others only
    in Java. The Workflow Guide lists which ones are currently available where. If there is functionality you would like to see added, I
    think the best thing to do is log an enhancement request.
    Regards,
    Clara
    Hi everyone,
    some questions to that API (maybe only Oracle can answer):
    1) in the "Oracle Workflow and Java Technical White Paper" an API-Function called "setItemOwner" ist described but you cannot find this method inside any class of the wf*.jar files. Where is it ?
    As i understnd, the owner of a workflow-item(process) is needed to watch the processes with workflow-monitor.
    Do we have to implement this function/method ?
    2) I found out, that the Java API is, compared with the PL/SQL packages, slightly incomplete?
    Several functions/methods are not implemented and other functions/methods are not of the same functionality as their PL/SQL counterparts.
    An Example: CreateProcess
    The Java method "createProcess" has two parameters fewer (user_key and owner_role). API methods to set the user key or to set the owner (see Question 1) are not implemented.
    Is there a special reason for that ?
    Thanks
    Ralf

  • How to install JAVA API client files :: Using JAVA Proxy & NWDS

    Hi
    I am going to integrate the SAP with one "AB" System which is providing Java API to integrate with their client ( which in turn will connect with AB System ). So AB System is providing JAR files & property files, in order to instantiate objects & call those APIs.
    Now I am going to write the JAVA code in NWDS which is installed on my Laptop so I am sure I need to give this jar files under ::
    <i>Project -> Properties and then Java Build Path -> Libraries.
    Choose Add External JARs</i>
    But where do I need to add property files.
    Also do I need to install the same files on XI Server too & do I need to install the "AB" System Client also on XI Server or it can be installed some place else too.
    Regards
    - Lalit -

    Lalit,
    ><i>But where do I need to add property files</i>
    How are you going to access the properties file? Are you going to use Java IO to read the file or are you dgoing to bundle the property file as a resource and use the getResource() . If you are going to use Java IO then you will have to hard code the property file path in your code and make sure that your Proxy can read the property file.
    If your property file is going to vary across environments, I woudl suggest this approach. Make sure that the property file path will be same in all environments and it will work fine and make sure that your proxy will have OS level IO access as well.
    Another option would be to have the property file bundled as a respurce, but, making changes to the file in this case will be an issue!
    ><i>Also do I need to install the same files on XI Server too & do I need to install the "AB" System Client also on XI Server or it can be installed some place else too.</i>
    When you create the EAR file for your Java Proxy, remove all XI .jar files and just make sure that the Client JAR is available in the EAR file. You need not install the Client JAR file anywhere as long as the jar file is a part of the EAR!
    Regards
    Bhavesh

  • How to install JAVA API client files :: Using XI JAVA Proxy & NWDS

    Hi
    I am going to integrate the SAP with one "AB" System which is providing Java API to integrate with their client ( which in turn will connect with AB System ) using SAP XI. So "AB" System is providing JAR files & property files, in order to instantiate objects & call those APIs.
    Now I am going to write the JAVA code in NWDS which is installed on my Laptop so I am sure I need to give this jar files under ::
    Project -> Properties and then Java Build Path -> Libraries.
    Choose Add External JARs
    But where do I need to add property files.
    Also do I need to install the same files on XI Server too & do I need to install the "AB" System Client also on XI Server or it can be installed some place else too.
    I am not much into JAVA so pls. try to give me detailed steps.
    Regards
    - Lalit -

    Lalit,
    ><i>But where do I need to add property files</i>
    How are you going to access the properties file? Are you going to use Java IO to read the file or are you dgoing to bundle the property file as a resource and use the getResource() . If you are going to use Java IO then you will have to hard code the property file path in your code and make sure that your Proxy can read the property file.
    If your property file is going to vary across environments, I woudl suggest this approach. Make sure that the property file path will be same in all environments and it will work fine and make sure that your proxy will have OS level IO access as well.
    Another option would be to have the property file bundled as a respurce, but, making changes to the file in this case will be an issue!
    ><i>Also do I need to install the same files on XI Server too & do I need to install the "AB" System Client also on XI Server or it can be installed some place else too.</i>
    When you create the EAR file for your Java Proxy, remove all XI .jar files and just make sure that the Client JAR is available in the EAR file. You need not install the Client JAR file anywhere as long as the jar file is a part of the EAR!
    Regards
    Bhavesh

  • MDM JAVA APIs

    Hi Everyone,
    I wanted to know with which version MDM4J was deprecated and new MDM Java APIs was launched.
    Thanks in advance.

    Hi,
    the so-called new MDM Java API was introduced with MDM 5.5 SP03.
    Regards
    Ingo

  • IFS logging/tracing when using IFS Java APIs

    We are using IFS 1.1 and the java APIs that come with it
    (oracle.ifs java packages). In the IfsDefault.properties file
    you can specify tracing options. I have enabled tracing in this
    properties file, but I don't know where the tracing output
    goes. Where/how can I specify the output file for this tracing?
    Thanks
    Bryan - [email protected]

    I think posting the question in the IFS forum (or the database forum if there's no IFS forum) will be the fastest route to an answer on this one.
    Unfortunately, we're not IFS experts in the JDev team...

Maybe you are looking for