Using JAXB 2.0 as the Java Serializer for WSIF bindings

Hello All:
I am trying to invoke a Java Class from a BPEL process (using native WSIF Java Binding) using JAXB 2.0 as the Java Serializer. However it seems that Oracle already has an older verion of JAXB on the classpath which results in an exception during the serialization (could not find jaxb.properties in the package ...). Can you guys tell me how to pick up the newer version of the JAXB library. I have added the required jar files as a shared library. How can the classloading behaviour be altered to accomodate this?
Does 10.1.3.4 take care of this? I have 10.1.3.3 currently

Hi,
Did you ever solve this issue? I'm having the same problem with toplink and hibernate jars....
Regards,
Zaloa

Similar Messages

  • Need I the JAVA Addin for Web dynpro ABAP

    Hello Experts,
    have I to install the JAVA-Addin for using Web dynpro ABAP?
    Best regards
    Heike

    No you don't, but when you want to use your application in Portal, you. Or if you want to use Adobe Interactive Forms, than too you need java.

  • Latest supported version of the Java SDK for XI R3.1

    Hi all,
                Does anyone have any ideas or views on the latest supported version of the Java SDK for 3.1 on windows ?
    We are using Tomcat which ships with SDK version 1.5.0_12, I know that updating this to a later version can result in a considerable performance boost for Infoview and its supported applications especially webintelligence.

    Hi Bashir, That's interesting  you're using a relatively up to date version of the java SDK. Business Objects documentation states that versions up to 1.5.0_xx are supported. Did you notice any improvements in performance of the system by using the later version 1.6.0_17 ?. There are generally very significant improvements in successive updates of the SDK in term of memory management, reliability and other general bug fixes, so it's something that we will take into consideration.
          Thanks

  • The Java source for TEA (Tiny Encryption Algorithm)

    Hi,
    I'm looking for the Java implementation for both encode and decode routines for TEA.
    I did them in C but I used "unsigned" modifier for data because I have to perform the left shift.
    Of course, I'll be happy if someone can give me a solution for the simulation of an "unsigned" int in Java.
    Thanks a lot!

    For simulating unsigned int:int signedInt = -2001;
    long unsigned = signedInt & 0xffffffff;

  • Do I need to use a voltage adapter in the U.S. for my European Macbook?

    do I need to use a voltage adapter in the U.S. for my European Macbook?

    If using the Apple supplied charger unit, you will simply need a plug adapter for the US power system.

  • Hello, I bought my iphone in japan. And now I'm in Brazil and I use it here, I need the unlock code for me to use here. please

    Hello, I bought my iphone in japan. And now I'm in Brazil and I use it here, I need the unlock code for me to use here. please

    williamjapa wrote:
    Hello, I bought my iphone in japan. And now I'm in Brazil and I use it here, I need the unlock code for me to use here. please
    Only the carrier to which the phone is locked can authorize an unlock. None of the Japanese carriers will do that. Sell the phone and buy one that works in Brazil.

  • Compiling code using an older version of the java compiler

    I'm trying to make some very simple applets. I thought I compiled them using the command prompt: javac -source 1.1 *.java
    However now the same computer does not recognize 1.1 as a valid source. It does recognize 1.2 as a valid source but I need a version before 1.2 as I can view the applets that I compiled previously in an older browser than I can the most recently compiled applets. is there any way to get a list of valid compiler versions? I've found some listings but they are usually talking about the Java Virtual machine, not the compiler, and the ones that I have found about the compiler don't work. Or where can I find links to download outdated compilers?

    The documentation for the javac tool (compiler) tells what values of -source and -target are valid for each version (it changes by version). Note that the libraries used for compiling should also match the source version.
    Earlier versions of Java are archived at http://java.sun.com/products/archive/index.html

  • JAXB is not generating the setter method for my tag

    Hi,
    I am generating java classes form my .xsd file using JAXB.
    The xsd definition has defnes a Form as a sequence of FormElement, where FormElement is a choice of graphical components like text etc. Form can have 0 or unbounded elements of typeFormElement
    Example
    <xs:element ref="sswfm:FormElement" minOccurs="0" maxOccurs="unbounded"/>
    It is creating the getter method for this tag like this-
    java.util.List getFormElement();
    but does not create setter method, namely, setFormElements which I would like to use when marshalling from swing to XML.
    If i remove the maxOccurs="unbounded, it is creating the setter method for this tag.But i want to keep this tag as it it and needs the setter method also.
    What should i do? Has one tried this before. HELP if you can
    Thank you in advance.

    Hi RavindraKshirsagar,
    We have a problem like you faced. Our requirement is that, we need to generate dynamically the PERSON element in our javabean.
    <xs:element name='SERVICE_REQUESTER'>
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref='ORGANIZATION' />
                        <xs:element ref='PERSON' maxOccurs='unbounded' />
                   </xs:sequence>
              </xs:complexType>
         </xs:element>For this maxOccurs, as JAXB is not generating any Setter Method. As we need to get data dynamically from external application. If you could help us in handling this case dynamically, it will be well and good.
    Please send us the script / code asap.

  • The JAVA program for "Philosopher Problem"

    When I learn the book of "Operating Systems (Design and Implementation)"(written by Andrew S.Tanenbaum), I try to write a program for the "Philosopher Problem" . In the book there is a sample of this problem in C language, and I write it in JAVA. The following is my program, I have tested it. It is correct, but maybe it is not the most efficient way to solve the problem. Can you think out a more efficient program in JAVA to solve this problem?
    * Philosopher Eating Problem
    * @author mubin
    * @version 1.0
    public class PhilosopherEating {
    //Philosophers' number
    private final static int PHER_NUM = 20;
    //Philosophers' state
    private volatile static int[] pherState = new int[PHER_NUM];
    //THINKING
    private final static int THINKING = 0;
    //HUNGRY
    private final static int HUNGRY = 1;
    //EATING
    private final static int EATING = 2;
    //Philosophers thread group
    public static Philosopher[] philosophers = new Philosopher[PHER_NUM];
    //finish indicator
    public volatile static boolean finished =false;
    //thread lock
    public static Object threadLock = new Object();
    public PhilosopherEating() {
    * Philosopher class
    * @author mubin
    * @version 1.0
    public static class Philosopher extends Thread{
    int pherNo ;
    public Philosopher(int no){
    this.pherNo = no;
    public void run(){
    while(!PhilosopherEating.finished){
    think();
    takeForks(this.pherNo);
    eat();
    putForks(this.pherNo);
    * Thinking
    private void think(){
    System.out.println("Philosopher"+this.pherNo+"is thinking...");
    try {
    Thread.sleep( (int)(Math.random()*100));
    }catch (Exception ex) {
    ex.printStackTrace(System.out);
    * Eating
    private void eat(){
    System.out.println("Philosopher"+this.pherNo+"is eating...");
    try {
    Thread.sleep( (int)(Math.random()*100));
    }catch (Exception ex) {
    ex.printStackTrace(System.out);
    * Take the fork
    private void takeForks(int no){
    //System.out.println("takeForks:no:"+no);
    synchronized (threadLock) {
    pherState[no] = HUNGRY;
    testPher(no);
    * Put down the fork
    private void putForks(int no){
    //System.out.println("putForks:no:"+no);
    synchronized (threadLock) {
    pherState[no] = THINKING;
    if( pherState[getLeft()]==HUNGRY ){
    philosophers[getLeft()].interrupt();
    if( pherState[getRight()]==HUNGRY ){
    philosophers[getRight()].interrupt();
    * Return the NO. of philosopher who is sitting at the left side of this philosopher
    * @return the NO. of the left philosopher
    private int getLeft(){
    int ret = (pherNo-1)<0? PHER_NUM-1 : (pherNo-1);
    return ret;
    * Return the NO. of philosopher who is sitting at the right side of this philosopher
    * @return the NO. of the right philosopher
    private int getRight(){
    int ret = (pherNo+1)>=PHER_NUM ? 0 :(pherNo+1);
    return ret;
    private void testPher(int no){
    while(true){
    if(pherState[no]==HUNGRY
    &&pherState[getLeft()]!=EATING
    &&pherState[getRight()]!=EATING) {
    pherState[no] = EATING;
    //Print and check the philosophers' state
    printPher(pherState);
    return;
    }else{
    try {
    System.out.println(" Philosopher "+this.pherNo+"is waiting a fork");
    threadLock.wait();
    }catch (java.lang.InterruptedException ex) {
    System.out.println(" Philosopher "+this.pherNo+"is interrupted and woken up to take fork");
    //when it is interrupted, do nothing. Just let it continue!
    }//end of while(true)
    * Print and check the philosophers' state.
    * To insure there are no two philosophers sit side by side
    * are eating at the same time.
    private static void printPher(int[] phers){
    System.out.print(" philosophers' state��");
    for (int i = 0; i < phers.length; i++) {
    System.out.print(" "+phers);
    System.out.println("");
    for (int i = 0; i < phers.length-1; i++) {
    if (phers[i]==EATING && phers[i+1]==EATING){
    System.err.println(i+" and "+(i+1)+"two of philosophers sitted side by side are eating at the same time!");
    if (phers[0]==EATING && phers[PHER_NUM-1]==EATING){
    System.err.println("0 and "+PHER_NUM+"two of philosophers sitted side by side are eating at the same time!");
    public static void main(String[] args) {
    for (int i = 0; i < PHER_NUM; i++) {
    PhilosopherEating.pherState[i] = THINKING;
    PhilosopherEating aPhilosopherEating = new PhilosopherEating();
    for (int i = 0; i < PHER_NUM; i++) {
    philosophers[i] = new Philosopher(i);
    philosophers[i].start();
    try {
    Thread.sleep(30000);
    catch (InterruptedException ex) {
    ex.printStackTrace(System.out);
    //End all the threads of philosophers
    PhilosopherEating.finished = true;

    this problem is about learning how to use threads/synchronise objects etc, the efficiency of the code isn't really an issue, if that's what you mean. As for the efficiency of the solution, it's very hard to tell how efficient it is, but as long as all the philosphers get to eat there's no problem. I haven't really scrutized your code, but I'm not sure that you have a deadlock free solution: as long as it is possible for all the phils to pick up one fork at the same time there's a problem, and it seems from your code that each philosopher will pick up "his" fork. Again, I could be wrong, I haven't really looked. If you haven't come up with a solution, try drawing it on paper and working it out, or if you're lazy a quick google will probably give you the answer, but I'm pretty sure nobody here will :)

  • Fedora 13: After upgrading from FF3.6 to FF6.0.2 I no longer have a Java plugin. How do I configure the Java Plugin for FF 6 ? There is no Java Plugin at the site

    I am Fedora 13x64 bit. I just installed FF v6.0.2 from the FF download site. I backed up the existing FF 3.6 as firefox_old
    I need to have a Java plugin to access company site, how do I configure the Java Plugin ?
    At the Plugin area in FF6 there is no Java Plugin available, even after a search.
    I have Java 1.6.0 installed in the OS at:
    /usr/lib/jvm/java-1.6.0/jre/lib/amd64/libnpjp2.so
    I googled how to configure Java Plugin for FF 6 for Fedora 13 and the trick was to create a soft link from /home/<userID>/.mozilla/plugins to the above libnpjp2.so

    AVtech wrote:
    . . . If a person can't get an answer here I don't know where else to turn since Sun certainly wouldn't offer tech support for a free product . . .These forums are user forums, and only occasionally visited by Sun employees. Sun does provide Java technical support options, although (of course) at a charge.
    See:
    http://developers.sun.com/services/
    . . . I guess we'll just use JRE 5 until it's unsupported, whenever that will be. I'm still waiting for an answer on that question, too. See:
    http://java.sun.com/products/archive/eol.policy.html
    http://www.sun.com/service/eosl/
    This document (part IV and Appendix) has some debugging and troubleshooting information that may allow someone involved in the problem to resolve the cause:
    See:
    http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/contents.htm
    Any steps that you can take to isolate the problem to specific Java versions, browsers, applets, web sites, operating systems (and versions), etc, would enhance the possibility of getting help.
    You can try the applets at this Sun location and see if any of them are "slow".
    See:
    http://java.sun.com/javase/6/docs/technotes/samples/demos.html

  • Installed the Java patch for MAC yesterday and immediately could not get adobe reader to show pdf files...have troubleshot and can't seem to remedy ...ideas?

    I have used the Firefox troubleshooting guides, no good. The Java patch is enabled and shows when I check applications. However when I run Firefox plugins it still shows the java plug in is outdated and need to be updated immediately.

    OK, I went to the Firefox knowledge base article you cited and followed the directions with the exception that in the drop down menu I choose Adobe Reader for PDF files rather than the plug in default that apparently was set by the Java patch. Problem solved !!!!!!! Thank you so much for taking the time to get me back to the basic place I needed to be to correct this issue. YOU ROCK!!!!

  • What are the Java libraries for RFID

    I need to know the Java classes implemented in RFID infrastructure for processing data and events between readers and tags?

    Hi,
    You can install the Java proxy runtime on the SAP J2EE Engine Release 6.40 SP5 or higher.
    The messaging system that the Java proxy runtime uses to send messages to the Integration Server must also be installed on the J2EE server.
    To send messages from a J2EE application, the application must be programmed against beans that encapsulate all details about the Java runtime. The following classes are generated:
    ·        Proxy classes that send or receive messages using the Java proxy runtime.
    ·        Bean classes as an outer shell that conform to the J2EE standard. The beans call the proxy classes for communication.
    The classes must be deployed on the J2EE server together with their J2EE application
    see this link for the example scenario http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d

  • What the mechanism of the Java Proxy for Web Services in WLS 8.1

    Hi, all;
    I try to find out how the java proxy of web service in weblogic server 8.1
    works. Suppose I use the java Proxy of a WebSerice in a client application whatever
    whithin or outside the application of the web service, does the proxy actually:
    1. translate my java arguments objects in XML to create SOAP msg,
    2. then send the msg across the network, and web service also response SOAP msg,
    3. then proxy translate it into return value of the method call ?
    If that is true , the Java Proxy seems very inefficient, right?
    Can any body tell me how the proxy works ?
    regards,
    shannon

    Hi Shannon,
    The type of proxy I'm familiar with is at the http connection level and
    associated with the networking properties in the JDK, See:
    http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
    Your question may be related to JWS proxies, See:
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
    You may want to ask this question in the workshop newsgroup.
    Hope this helps,
    Bruce
    shannon lee wrote:
    >
    Hi, all;
    I try to find out how the java proxy of web service in weblogic server 8.1
    works. Suppose I use the java Proxy of a WebSerice in a client application whatever
    whithin or outside the application of the web service, does the proxy actually:
    1. translate my java arguments objects in XML to create SOAP msg,
    2. then send the msg across the network, and web service also response SOAP msg,
    3. then proxy translate it into return value of the method call ?
    If that is true , the Java Proxy seems very inefficient, right?
    Can any body tell me how the proxy works ?
    regards,
    shannon

  • I can't install the java applet for google drive

    I want to upload complete maps into drive as a backup. But every time I want to install the Java applet a little yellow bar appears in drive wich says: ''The installation of the java applet has failed.''
    (I'm using a dutch version, so the quotations are just a free translation to english.)
    When I click on the add-on button next to the padlock and click on ''allow to continue'' the page appears to refresh, but then the add-on button just reappears next to the padlock and nothing has changed.
    I have enabled java through the padlock and at the permissions tab, but that didn't solve it.
    I have also followed these steps: https://support.google.com/drive/answer/2424368, but these also didn't help.
    I have the latest versions of java and firefox installed, and I'm running windows 7.
    Please help

    This can be caused by blocking unsigned Java applets.
    What should I do when I see a security prompt from Java?:
    * http://www.java.com/en/download/help/appsecuritydialogs.xml
    There are other things that need your attention.
    Note that your System Details List shows multiple Flash plugins.
    # Shockwave Flash 12.0 r0
    # Shockwave Flash 11.9 r900
    You can find the installation path of all plugins on the <b>about:plugins</b> page.
    You can check the Flash player installation folder for multiple Flash player plugins and remove all (older) version(s) of the plugin (NPSWF32) and (re)install the latest Flash player.
    *(32 bit Windows) C:\Windows\System32\Macromed\Flash\
    *(64 bit Windows) C:\Windows\SysWOW64\Macromed\Flash\

  • How to use time machine to replace the current iMovie for one a few weeks ago?

    I have a movie in iMovie that somehow became unusable.  The size says it is 10GB when it should only be about 1GB.  I have been to the Genius Bar for a total of 4 hours and the only solution we can find is to REMAKE the entire movie.  They say that one or more of my movie clips must have imbedded data that it shutting the whole iMovie program down.  They say there is no way to know which clip is causing the problem.  I really don't want to remake the entire 2 hour movie.  I tried to use time machine and found my movie from about 3 weeks ago (before it ballooned to 10GB--so I guess before I added the bad clip) and I just wanted to replace my current one with this version and just fill in the last 3 weeks of data.  However I can't seem to do this.  Does anyone know how to do this using iMovie '08?

    sheri69 wrote:
    I tried to use time machine and found my movie from about 3 weeks ago (before it ballooned to 10GB--so I guess before I added the bad clip) and I just wanted to replace my current one with this version and just fill in the last 3 weeks of data.  However I can't seem to do this.  Does anyone know how to do this using iMovie '08?
    You don't do it with iMovie, but with Time Machine.
    Quit iMovie, then locate and select the file you want to restore in your backups via the "Star Wars" display and click the Restore button.  See #15 in Time Machine - Frequently Asked Questions.

Maybe you are looking for

  • Queue Name

    Hi XI gives random queue names, for EO and EOIO queues. When is the queue name generated ? Is it when the message enters the SMQ2 of the XI ? Logically it should get a name there. Would it change when it reaches the SMQ1 ? The outbound queue to the r

  • The iTunes Store Is Not Supported In This Country

    I am trying to access the iTunes store from my iPhone and I get the above message. I'm in Australia so I know full well that iTunes is supported here! I am able to use and access the App Store perfectally fine and had no issues downloading apps from

  • External hard drive vs USB drives?

    I'm in need of backup storage for my MBP but my mind is fuzzed up by all the options, reviews, etc... What's the best - USB drives or an external hard drive? There's conflicting reviews on different brands - is there one that best for Mac?

  • ITunes OS 9 to OS X

    I have a dual boot Imac Flat panel G4 700MHz. It will run OS 9 and OS X. I have stayed in OS 9.2 and have recently upgraded my OS X to 10.39. I opened iTunes in OS X and none of the song lists or library was listed. I teach music and use these song l

  • Can i use my Late-2013 iMac as a monitor for PS4?

    Hi There, I want to use my Thunderbolt Mac as a monitor for PS4. I searched up forums but couldn't find an exact answer for my question. Can you help me? Thank you.