Use Java With BPEL

Hi All,
I'm using bpel version 10.1.3.3.
I've created many classes inside the process, and imported JAR files as well.
So now I have in the "Application Sources" directory all the classes I need (java files inside packages), and the JARS I've imported by: enter the project properties-Libraries-Add Jar/Directory.
I'm using a Java Embadding activity to initiate all the code.
The project compiled and deployed.
My problem is that when I get to the first class that I need to use (by import) one of the jars I'm getting en error (I can see it only in the activity flow and not in the server log - I set it to debug):
<runtimeFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="code"><code>java.lang.NoSuchMethodError</code>
</part>
<part name="summary"><summary>org.apache.commons.lang.ArrayUtils.contains([CC)Z</summary>
</part><part name="detail"><detail>[Ljava.lang.StackTraceElement;@85dc5a</detail>
</part></runtimeFault>
The strange thing is that the class I'm getting the error in ,uses torque.jar and not commons-lang-2.1.jar (the ArrayUtils locate there). I'm using the commons-lang-2.1.jar but for other classes.
I tried the add the classpath by configure files:obsetenv.sh/domain.xml/application.xml with no success.
I can see the jar files in BPEL-INF on the server.
Any help???

try adding the required jar files in server.xml just before orabpel.jar entry.

Similar Messages

  • How to read azure storage data using JAVA with REST API

    Hi,
    We have a cloud service in our lab. We have enabled diagnostics
    in cloud services. So WADPerformanceCounterTable was created in storage account. Now , We want to read the WADPerformanceTable using
    JAVA with REST API. Is there any way to collect these details. please give me any
    sample code to connect azure storage using table service REST API.
    Thanks & Regards
    Rathidevi

    Hi,
    Please have a look at this article:
    https://convective.wordpress.com/2010/08/18/examples-of-the-windows-azure-storage-services-rest-api/, it demonstrate how to use table service Rest API, it also give us the code, hope this helps. Of course, the
    MSDN article could also help us coding.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use Java with PL/SQL commands to send an email with attachment

    Apologizes in advance if this is the wrong place to ask the question.
    I need to use Java with PL/SQL commands to send an email with attachment. My java application runs from the command line and does some magic to gather info from an Oracle 11g db. If the DB has sendmail configured, I'd like to send the results of the data gathering as an attachment to the email addresses. I'm not sure how to do this. I've been reading up on on PL/SQL can send email with UTL_SMTP - with attachments. I'm just not sure how to translate that into being triggered by my Java application. Any suggestions or pointers on what I should read would be appreciated.
    Background - I've been programming in Java for 10+ years, but this is my first time using databases. I also have been on these forums for a long time, but lost my profile when it was switched to Oracle.
    Thanks for all help.

    user13726880 wrote:
    The original requirements were put together and given to me, an Oracle newbie. They expected the Java app to use something intrinsic to Oracle and Unix sendmail. To solve my problem, I use a JDBC connection to run some SQL commands. I take that data, format it and send the results by email to the user. By default the requirement is to send it as an HTML attachment using Unix 'sendmail'. So I do that using Runtime exec. I have also added JavaMail functionality as an alternative to sendmail. It works great and as expected.Sounds like a reasonable solution.
    Note however that PL/SQL itself can send email. And PL/SQL can call unix sendmail too.
    However myself I would have done it in java with JavaMail.

  • Accessing BAPI's using JAVA with out using webdynpro URGENT

    hi Experts,
    What is the procedure for calling RFC/BAPI's using JAVA with out using the webdynpro. Please let me know what are the possibilities with step by step implementation.
    Regards
    Vijay

    Hi Boris Rubarth,
    Thaks for relavant information.
    I have kind of the requirement. The clinet is asking for connecting the SAP RFC using java application. The build Jar or .war or .Ear for which are going to develop should be compatible for running on any of the Applications server like they have Tom cat, weblogic, websphere server.
    so the .jar for or .ear file which we are going to develop should be able to run accessing the RFC/ BAPIs from any of these servers other than SAP WAS that is what their target.
    Please give me your suggestion, which is better approach. currently their SAP system is 4.6c . So presently it is not possible the webservice approach. But they have plans to go for upgrade to ECC6.0
    In that case only JCO option is possible. If use this option . Is it possible to access application which is deployed irrespective of the WAS by doing the required configuration.
    Basically i am aware of the ABAP webservice work bech steps and also the JAVA coding also.
    Please suggest me what is the better way to achieve this.
    Regards

  • How to generate reportdesign dynamically using java with out xml file

    hi
    how can i generate a reportdesign dynamically using java with out passing xml file to jasperDesign , i want to create my reportdesign with out xml file
    how can i ,please help
    thanks

    LiveCycle does provide a Java API to forms; LiveCycle is in fact a suite of programs, mostly enterprise level for running on server (next to which the cost of the master suite is a drop in the ocean). LiveCycle Designer is perhaps the only end user tool, and it is not for server use and doesn't have an API.
    Are you looking for a server solution? If so, nothing in the master suite can help, it isn't for server use.

  • I cannot use JAVA with Firefox but I can use it with Internet Explorer WHY?

    I have never had a problem when JAVA 7 was needed to use a program. Until now. Firefox will not allow me to use Java. I have to open Internet Explorer when working with any program and it works.

    To protect Firefox users, Mozilla has blocked/disabled Java 7 u6 and below due to serious security flaws in the previous versions of Java 7. The security flaw would also apply to any other browser using the affected versions of Java 7. You can see the version of Java and whether it is disabled in Add-ons > Plugins; look for "Java Platform SE...". See - https://addons.mozilla.org/en-US/firefox/blocked/p138
    You can check your '''''enabled''''' Plugins at any time - https://www.mozilla.org/en-US/plugincheck/
    Information about Java, testing and updating it - https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content

  • Can I use Java with SQL Server CE edition?

    Hi,
    Can anybody tell me whether I can use Java to program the database operations for SQL Server CE?

    Hi:
    I have the same question. I don't know java how to connect the Microsoft SQL Server CE. Do you know the answer now? Please let me know. Thank you very much.
    chia-li
    [email protected]

  • How can I use java with DMI(Desktop Management Interface)? Help please..

    I want to use Java to develop DMI. Please help...Thanks.

    You are not getting replies because your question may need a course to answer. Just like, hey, can someone tell me how to write an email application? Or,
    Can someone show me how to build a house?
    Start writing your application, when you get stucked, post your questions.
    Or, at least be more specific. Like, elaborate DMI and things like that.
    Do a search on DMI, you may find what you need.

  • How to use ESb with BPEL....

    I have created An ESB now i want to use that in BPEL.how can i do so...I am working in Jdeveloper...

    You can just create a service pointing to the wsdl of you esb service like you do for every other service.
    In the esbconsole select your routingservice and you will see the wsdl-url in the second tab..use this one.
    or create partnerlink...and instead of create a new one..use the flashlight to search your newly create esbproject.
    service explorer > registered esb services > etc

  • Using Java with Oracle Spatial

    I am using the JDBC (Java classes dowloaded from
    technet.oracle.com - (sdoapi.zip)) together with Oracle Spatial
    8.1.6. I am writing a collection of Linestrings into Oracle
    Spatial using the supplied java classes(sdoapi.zip). I use the
    function createGeometryCollection(myCollection)to write the
    Linestring collection to Oracle Spatial and they are written to
    the database without error. However, when I try to read the
    object back I get the following error:
    Exception in thread "main"
    oracle.sdoapi.geom.InvalidGeometryException
    at oracle.sdoapi.adapter.AdapterSDO.importGeometry
    (AdapterSDO.java:101)
    at
    MapInfoToOracleSpatial.MapInfoToOracleSpatial.main
    (MapInfoToOracleSpatial.java:211)
    I do not have a listing of this code so can you please tell me
    what the error is (line of code) at line 211. Also, when I use
    the Oracle Spatial Index Advisor to view the spatial data, it
    only displays a quarter of the data. When I use MapInfo to view
    it's equivalent TAB (Table) file it views correctly all the
    data.
    I can't understand why this is happening because the writing to
    oracle and creation of each individual linestring does not
    throw an error. It is only when I try to read back larger
    objects from the database (2500 points) that it gives an error.
    Is there a limitation on the size one can create linestrings?
    Thanks
    Regards
    Stephen Syrett
    Mobile Telecommunications Network
    (MTN) South Africa

    Latest Oracle Openworld Spatial/MapViewer activities list:
    http://www.oracle.com/us/products/database/options/spatial/ssLINK/oow10-focuson-spatial-169204.pdf
    thanks
    LJ

  • Howto use java with html

    Hi,
    I have got following project :
    an axis webcam displays an image thanks to http protocol
    at the right of my image, I have to create a panel with some java controls.
    I would like some hints on howto do this?
    Do I need a to setup a web server or is it possible to do this using a single html file loaded in my browser ?
    Best Regards
    Steph

    At best you can load an applet in a html page (the other possibility is to use servlets and JSP's to do server side processing, which is most likely not what you want to do).
    But what do you want to do with these "java controls"?

  • For people who wants to use java with version of palmos before 3.5.

    The new version of kjava for palmos (MIDP) you can found on java.sun.com only works if
    you use a version fo palmos greater than 3.5. If not you need to use the presious
    virtual machine kvm and KvmUtil.
    You need the two following files :
              j2me_cldc-1_0-src-winsol.zip
              j2me_cldc-1_0-src-palm_overlay.zip
    You can find them on :
    http://www.thierrychevalier.fr.fm/
              ThChevalier

    Damn, have been looking for this a very long time...
    But euhm, crappy tripod server! Downloading is always timing-out.
    Couldn't you put it on another (faster) server?
    Or perhaps somebody who did manage to download the .zips could place it somewhere else?
    Frustrating this is ...

  • How can i use java with xml in netbean ide tell me step by step

    i am vivek kumar kanaujia from Kanpur

    No.
    Your client has provided you with a SMS gateway, and we don't know anything else about it. So we can't give you the code.
    Even if we could give you the code, we don't know what you want to do with it - what functionality do you want to expose to the users of the JSP?
    Even if we could knew what you were using and exactly what you wanted to do with it, why on earth would we want to write all your code for you?
    [Please read this link|http://www.catb.org/~esr/faqs/smart-questions.html]

  • Using java with mysql JDBC

    Hello
    I'm trying to write a program which reads in tab-delimeted text files and then stores the results in a mysql database. The files are roughly 20,000 lines long and can have up to 10 columns, so for the biggest files I have 200,000 pieces of data to be stored seperately in the database.
    I'm currently using the readLine() method of bufferedreader, then using the split function to seperate the string into tokens. The problem is that it seems to be very slow. It is a lot of information, and im not running it on a very fast machine, but even so im sure there must be a more efficient way of acheiving this.
    Here's some of my code:
    BufferedReader in = new BufferedReader(new FileReader("test.res"));
    while((result = in.readLine()) != null) {
    result = in.readLine();
    aLine = result.split("\t");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[0] +"')");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[1] +"')");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[2] +"')");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[3] +"')");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[4] +"')");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[5] +"')");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[6] +"')");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[7] +"')");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[8] +"')");
    stmt.executeUpdate("INSERT INTO test(words)" + "values('" + aLine[9] +"')");
    I would appreciate any advice thanks.
    PS this is the first time ive tried anything like this so im probably missing something obvious.

    Form the example you have chosen it seems to me, that your table only has one column (words) and that you have multiple value entries for that column in one line of your text file ?!
    That is strange. Normaly I would assume (like the other answers indicate) that you have several columns and that each line in your text file has n values each for a different column.
    Have look at PreparedStatement.
    // the name of your connection is con, you have six columns named col1 to col6 and six entries per line, All six are strings...
    PreparedStatement pstmt = con.prepareStatement("insert into test (col1 , col2 , col3,col4,col5,col6) values( ? , ? , ? , ? , ? , ?)") ;
    BufferedReader in = new BufferedReader(new FileReader("test.res"));
    while((result = in.readLine()) != null) {
       result = in.readLine();
       aLine = result.split("\t");
       for (int i = 0 ; i < 6 ; i++) {
           pstmt.setString((i+1),aLine) ;
    pstmt.executeUpdate() ;
    But this is still not the fastest approach. MySQL supports bulk imports
    Have look at this feature. Maybe the fastest way is to 'convert' the textfile into something like a MySQL dump an than process it using it the MySQL import features.

  • How can I use java with os x 10.8.3

    When I downloaded OS X 10.8.3 pogo can not find Javca on my computer.  How do I get Pogo to find java on my computer?

    I've faced the same problem. I've corrected it by reinstalling and re-enabling Java 6.
    First, I've installed the latest Java 6 (http://www.macupdate.com/app/mac/39490/apple-java).
    Then, I've re-enabled it, following the steps below:
    Open Terminal, located in the Utilities folder.
    Enter this command, then press the Return or Enter key:
    sudo mkdir -p /Library/Internet\ Plug-Ins/disabled
    Enter this command, then press the Return or Enter key:
    sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled
    Enter this command, then press the Return or Enter key:
    sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
    To re-enable Java SE 6 Web Start, enter this command, then press the Return or Enter key:
    sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws
    After restarting the browser, voilà, it worked.

Maybe you are looking for

  • In ESS- Personal Information want to call extra ITs.

    Hi All, We are using Portal versions 7.3 and ECC 6, EHP6 In Ess- Personal Information (Workset) there are 5 iviews (IT0002, IT0006, IT0009, IT0021, IT0185) this all are standard. In this workset (Personal Information) I want to call another ITs. Thos

  • Is it possible to remove a ContactEmployees using DI-API?

    Hi: I need to remove from B1 database a lot of contact employees without remove the business partner, i checked out the DI-API reference and i noted that the ContactEmployees object not have a Remove method.  Does exists any form of remove this objec

  • Installing Dreamweaver CC on Windows 7 (was: Help)

    How do I install dreamweaver cc I have a windows 7 laptop.

  • Database ISO files

    Hi, I have OEL on VMWare and trying to install Oracle 11g on this machine. But I reallize, to install Oracle I'll need an ISO file which I can read from virtual CD ROM. Any one know where I can find Oracle Database setup ISO files ! Thanks.

  • Verification required now!

    Ever since the new upgrade to my ipad today, when I go to download an app it says verification required. I never had the before all I would do is put in my password and boom the downloading would start, what gives? How can I fix this? I don't not wan