Problems wth XSLPROCESSOR

Greetings,
I am trying to develop a PLSQL function that, given the URL of a XML file, it returns a HTML file through a prepared XLS file
So far, the test procedure to check if the function is working ends with a ORA-20103: Null input is not allowed error.
Function is as follows:
     FUNCTION translate_XML(path_xml VARCHAR2, path_xsl VARCHAR2) RETURN CLOB IS
          v_return               CLOB;
          v_processor          SYS.XSLPROCESSOR.PROCESSOR;
          v_style               SYS.XSLPROCESSOR.STYLESHEET;
          v_xmldom               SYS.XMLDOM.DOMDOCUMENT;
          BEGIN
          v_xmldom := SYS.XMLPARSER.PARSE(path_xml);
          v_style := SYS.XSLPROCESSOR.NEWSTYLESHEET(path_xsl, NULL);
          v_processor := SYS.XSLPROCESSOR.NEWPROCESSOR;
          SYS.XSLPROCESSOR.PROCESSXSL(v_processor, v_style, v_xmldom, v_return);
          RETURN v_return;
          EXCEPTION
when others then
sys.xslprocessor.freeprocessor(v_processor);
raise;
          END;
could anyone point me in the right direction, please?

First, try resetting the iPod.
http://support.apple.com/kb/HT1320
If that does not work, you should probably use the Restore button in iTunes to erase the iPod and initialize its software. Then sync everything back, videos and music.
FYI - It's a 5th Gen iPod.

Similar Messages

  • Problem wth plugin modal page

    apex 4.1.1.00.23
    download skillbuilder modal page plugin; imported to application;
    made required changes;
    I IR with link column
    (select case when count(alias)=0 then null
                 else count(alias) end from instance_application
    where alias in (select alias from tnsnames t where t.host=i.host and t.sid=i.sid)) kbrappl
    Link text: #KBRAPPL#
    link attribute:
    id="#HOST#:#SID#" class="setClick" onclick="return false;"
    target URL: javascript:return false;
    Created DA
    event: Click
    selector Type: Jquery selector
    10. set value (parameter for call modal page);
    20. SkillBuilders Modal Page (2.0.0) [Plug-in]
    create page another report with template popup;
    It is working perfect on start page (until main IR filter changed or IR with mutiple pages going to next pages);
    It is look like changing filter or next page DA not Fire;
    Please help

    I solved the problem myself
    I set event scope: live
    Thanks 

  • Problem wth incomplete returns orders -  Shipp pt and route are greyed out

    Hi
    This is the problem with the incomplete return orders (v.02). All the subsequent documents are in complete process, but the returns order status is showing  open status. This is because the user tried to remove the delivery block in returns order using a tcode (customized) and after that the shipping point and route in the returns order are removed and the fields are greyed out. So we need to complete all those returns order either through updating the database tables, please let me know how to achieve this?
    Thanks in advance
    Kishore

    Hi Kishore,
                    As you might have shipping point and the route in the incompletion procedure for this return delivery type and these shipping point and the route are automatically determined, these fileds are greyed out. You have to remove these fileds in incompletion procedure by going to "SPRO-IMG-SHIPPING-BASIC SHIPPING FUNCTIONS-INCOPMLTION FOR DELIVERIES"(VUA2--TRANSACTION).
    Or use seperate shipping conditions for the retunr process ,so that you can detemrine shipping point differently(You can assing some other shipping point as well in shipping point determination by entering Manual shipping point (OVL2).
    Regards
    Ram Pedarla

  • Problem wth sys/utsname.h amd g++

    I was compiling the open source program xtide which is set up for gcc/g++. It compiles cleanly until I get to the file xttpd.cc which produces the following error:
    xttpd.cc:99: error: expected `;' before "foo"
    Line #99 of the file reads:
    utsname foo;
    I though that there must be some problem with the declaration of utsname in /usr/include/sys/utsname.h. I compiles the file using the -E flag, inspected the preprocessor output and found the following lines from the include file:
    # 1 "/usr/include/sys/utsname.h" 1 3 4
    # 16 "/usr/include/sys/utsname.h" 3 4
    #pragma ident "@(#)utsname.h 1.30 04/09/28 SMI"
    extern "C" {
    # 34 "/usr/include/sys/utsname.h" 3 4
    struct utsname {
    char sysname[257];
    char nodename[257];
    char release[257];
    char version[257];
    char machine[257];
    extern struct utsname utsname;
    # 108 "/usr/include/sys/utsname.h" 3 4
    extern int uname(struct utsname *);
    # 123 "/usr/include/sys/utsname.h" 3 4
    Notice the line: extern struct utsname utsname;
    I thought that this might somehow be polluting the C++ name space, so I
    deleted it from the preprocessor output and then the file compiled just fine.
    So my question is whether there is a general problem with a declaration like this in conjunction with C++ or whether this is a problem unique to g++? (I haven't gotten far enough along in getting this to compile with Studio 12 to see if it will also have a similar problem.)
    I'm also confused by the error message. Is g++ expecting a semi-colon because it see the "utsname" in "utsname foo" as an instantiation of a struct and not a type declaration for foo.
    Regards,
    Jeffery Small

    Could you tell us which version of g++, and on which OS.
    Thanks
    Prashanth

  • Pacman -Syu Fails -- Problem wth pm-utils Package

    I just tried to do a "pacman -Syu".
    I get the following errors:
    error:  Could not prepare transaction
    error: failed to commit transaction (conflicting files)
    pm-utils: /usr/bin/on_ac_power exists in filesystem
    errors occured, no packages were upgraded
    Is there a problem with the new pm-utils package?  What is the fix?
    Rob

    webbrewer wrote:Although thinkwiki recommends using APM with the t20, I attempted for a few weeks to get ACPI to work properly on this machine.  I was unable to solve all the issues, as detailed here: http://bbs.archlinux.org/viewtopic.php?id=35061.  With APM, everything works well.
    The HAL website (http://www.freedesktop.org/wiki/Software/hal) doesn't list pm-utils as a dependency.  However, I am willing to give APCI another try.
    I removed apmd and found that all my apm functionality remained despite the absence of a software daemon.  Upgrading hal and installing pm-utils has not caused any issues in my system, contrary to my cautions.

  • Problem wth JAM (making a skyscrapers pkgbuild)

    I am using this:
    # This is an example PKGBUILD file. Use this as a start to creating your own,
    # and remove these comments. For more information, see 'man PKGBUILD'.
    # NOTE: Please fill out the license field for your package! If it is unknown,
    # then please put 'unknown'.
    # Contributor: Your Name <[email protected]>
    pkgname=skyscraper
    pkgver=20alpha41
    pkgrel=1
    pkgdesc="Skyscraper aims to be a fully-featured, modular, 3D realtime building simulator, powered by the Scalable Building Simulator (SBS) engine."
    arch=('i686' 'x86_64')
    url="http://www.skyscrapersim.com/"
    license=('GPL')
    depends=('crystalspace')
    makedepends=('jam')
    optdepends=()
    source=(http://downloads.sourceforge.net/project/skyscraper/Skyscraper/2.0a4.1/$pkgname$pkgver.tar.gz)
    md5sums=(7325eadcdf8c42264fdddffb197f6aaf)
    build() {
      cd "$srcdir/$pkgname"
      ./configure --prefix=/usr
      make || return 1
      make DESTDIR="$pkgdir/" install
    and having this JAM issue: http://pastebin.ca/1519472
    my system have ftjam installed:
    Name           : ftjam
    Version        : 2.5.3rc2-1
    URL            : http://freetype.org/jam/
    Licenses       : custom
    Groups         : None
    Provides       : jam
    Depends On     : glibc
    Optional Deps  : None
    Required By    : None
    Conflicts With : jam
    Replaces       : jam
    Installed Size : 122.44 K
    Packager       : Roman Kyrylych <[email protected]>
    Architecture   : i686
    Build Date     : Wed Oct 31 09:49:06 2007
    Install Date   : Tue Aug 4 16:28:23 2009
    Install Reason : Installed as a dependency for another package
    Install Script : No
    Description    : FT Jam - an enhanced version of the Jam build tool
    any idea?

    well, the problem was in cal3d-svn, a dependency of cristalspace-1.4branch-svn....
    here is the output: http://pastebin.ca/1528369
    Last edited by luuuciano (2009-08-13 18:25:55)

  • Problem with xslprocessor.newStylesheet

    I try to import a XML file with a XSL file to treat the out
    result. The out result is like insert into toto values
    (...,...,....). In internet explorer the result is good with my
    XML and XSL file.
    When i execute the function xslprocessor.newStylesheet i get
    this error message:
    ORA-20100: Error occurred while processing: XSL-1009:
    Attribute 'xsl:version
    not found in 'xsl:stylesheet'.
    ORA-06512: ` "SYS.XSLPROCESSOR", ligne 22
    ORA-06512: ` "SYS.XSLPROCESSOR", ligne 346
    ORA-06512: ` ligne 70
    I tried to write xsl:version='1.0' in the tag 'xsl:stylesheet'
    in xsl file and i get the same errors.
    I am a newbies in Oracle with XML, so all help we'll be wellcome.
    PS: I have read a lot of faq. So i tried to see where i could by
    the Muench's Book, but i am in france and this book will be in
    sold during the middle of the next month.

    XDB Issues (including use of the DBMS_XML.. packages) are best discussed here
    XML DB
    You probably need to use htttpuritype to get the Stylesheet. In general this is conidered bad practive due to the dangers of spoofing etc.

  • Problem in XSLProcessor

    I have following code to process XML with XSLT processor. I am getting no output. Is anything wrong with code ?
    Please help,
    Arun
    begin
    xml_clob clob;
    xsl_clob clob;
    buffer VARCHAR2(4000) := NULL;
    p Xmlparser.Parser;
    Xml_doc Xmldom.DOMDocument;
    xmldocnode Xmldom.DOMNode;
    proc Xslprocessor.Processor;
    ss Xslprocessor.Stylesheet;
    xsldoc Xmldom.DOMDocument;
    docfrag Xmldom.DOMDocumentFragment;
    docfragnode Xmldom.DOMNode;
    xslelem Xmldom.DOMElement;
    xslcmds Xmldom.DOMNodeList;
    BEGIN
    SELECT detaildata INTO xml_clob FROM adam.userdata
    WHERE userid = 50667;
    SELECT xsldata INTO xsl_clob FROM adam.usertemplate
    WHERE usertemplateid = 12;
    p := Xmlparser.newParser;
    Xmlparser.setValidationMode(p, FALSE);
    -- Parse XMLDOC
    Xmlparser.parseclob(p, xml_clob);
    Xml_doc := Xmlparser.getDocument(p);
    -- Parse SS
    Xmlparser.parseclob(p, xsl_clob);
    xsldoc := Xmlparser.getDocument(p);
    -- make stylesheet
    proc := Xslprocessor.newProcessor;
    ss := Xslprocessor.newStylesheet(xsldoc, 'http://www.w3.org/TR/WD-xsl');
    -- process xsl
    docfrag := Xslprocessor.processXSL(proc, ss, Xml_doc);
    docfragnode := Xmldom.makeNode(docfrag);
    Xmldom.writeTobuffer(docfragnode, buffer);
    dbms_output.put_line(SUBSTR(buffer,1,200));
    Xmlparser.freeparser(p);
    END;null

    Would you try to print out the result to buffer directly by:
    xslprocessor.processXSL(proc,ss,xmldoc,resbuf);
    null

  • My ipod touch has been disable for 23 000 000 minutes, i do not know how to fix this problem wth out waiting 44 years lol?

    My ipod has been disabled for 23 000 000 and I do not know how to solve the problem. can someone please help.

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Forgot passcode or device disabled
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:                         
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.
    If you previously synced to the computer then you may be able to recover use of the iPod without erasing the iPod by following the instructions here:
    Disabled Recovery-must use syncing computer.

  • Strange problem wth 0HDCNT_LAST (No. of Employees) Key Figure

    Hi gurus,
    I hava a strange problem with 0HDCNT_LAST key figure.
    The KF has Sum aggregation with Last Value Exception Aggregation for 0CALDAY - standard settings from Bi Content.
    I use this KF in two InfoCubes.
    It behaves in a very strange way in queries based on one of them:
    - when I execute this query for a range of 0CALMONTH (i.e. 01.2009 - 12.2009), I get No. of Employees = 12 for every worker - it should be 1.
    - for some months the Total result is 0, even if there are some workers hired and the results for different Organizational Units is shown well (i.e. 10, 14, 5, and Total = 0 instead of 29).
    Please help... I have already reactivated the KF from BI Content, I have also reactivated the cube. What might be wrong?

    Hi Dorota ,
    you are using exception aggregation at  0CALDAY so it is doing sum at 0employee .try to change it to max or min and then execute query .It should work.
    For more details you can visit following links :
    http://wiki.sdn.sap.com/wiki/display/BI/Exceptionaggregationin+queries
    http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/47/4d6d902dbb22c5e10000000a42189d/frameset.htm
    Regards,
    Jaya

  • Problem wth weblogic.servlet.jsp.jspstub

    hai,
              i have three pages in my application iam calling a login page which verifies the user and gets the data from the database
              and iam showing the results in the secod page and logging from there.
              This process iam doing with a stress tool repeatedly.
              iam observing the created objects in the heapinspector the name of the product is optimiztit.
              iam observing the following contents are increasing on each login process.
              The objects which are increasing are as follows.
              weblogic.servlet.jsp.config,
              weblogic.servlet.jsp.jspstub,
              weblogic.socket.IoRecord,
              weblogic.rmi.internal.dgc.DGCServerHelper,
              java.lang.security.exceptions
              and some other weblogic related objects.
              and once they reach the max heap memory my application is runnig outofmemory exception.
              do i need to follow any configration setting to arrest the above object increments.
              can any body give some help to over come this.it would be a great help for me if i get any healp.
              Any ideas/pointers would be welcome. Thanks for your help.
              Thanks,
              gangadhar
              

    Hi,
              It's peculiar that you're seeing JspStub and jsp.config instances
              increasing. Can you convert your application to a stand alone app that
              doesn't do any database access and send me the application with instructions
              on how to run it. If so, I can look into it quickly - otherwise, I can only
              guess and that is a waste of time for both of us.
              Alex
              "gangadhar" <[email protected]> wrote in message
              news:[email protected]...
              > hai,
              >
              > i have three pages in my application iam calling a login page which
              verifies the user and gets the data from the database
              > and iam showing the results in the secod page and logging from there.
              >
              > This process iam doing with a stress tool repeatedly.
              >
              > iam observing the created objects in the heapinspector the name of the
              product is optimiztit.
              >
              > iam observing the following contents are increasing on each login process.
              >
              > The objects which are increasing are as follows.
              >
              > weblogic.servlet.jsp.config,
              > weblogic.servlet.jsp.jspstub,
              > weblogic.socket.IoRecord,
              > weblogic.rmi.internal.dgc.DGCServerHelper,
              > java.lang.security.exceptions
              > and some other weblogic related objects.
              >
              > and once they reach the max heap memory my application is runnig
              outofmemory exception.
              >
              > do i need to follow any configration setting to arrest the above object
              increments.
              >
              > can any body give some help to over come this.it would be a great help for
              me if i get any healp.
              >
              > Any ideas/pointers would be welcome. Thanks for your help.
              >
              > Thanks,
              > gangadhar
              

  • Problems wth Videos and Music..

    Okay, so I finally figured out how to convert some of my fav Youtube videos to a format that will play on my iPod. I have a 30G video iPod, it'll be 2 years old next month, I'm not sure what gen that is. After I put some of those vids on my iPod, my music started acting up, and now whenevr I pick an artist, the songs will just zip right thorugh the list, for example 1-12 without stopping, and will go back to the main menu (like normal when you finish playing an artist). What did I do wrong? How do I fix it?

    First, try resetting the iPod.
    http://support.apple.com/kb/HT1320
    If that does not work, you should probably use the Restore button in iTunes to erase the iPod and initialize its software. Then sync everything back, videos and music.
    FYI - It's a 5th Gen iPod.

  • Power on off problem wth my hp probook 4530s

    My HP probook was working fine till this morning it just turned itself off and now wont power up at all no lights etc. I then tried another battery I had and when plugged in the orange light will now show to say charging with this battery unlike my other one but still no power or anything, keep pressing and holding the power button but nothing happens? Any help on this or if its a known fault would be great?

    My HP probook was working fine till this morning it just turned itself off and now wont power up at all no lights etc. I then tried another battery I had and when plugged in the orange light will now show to say charging with this battery unlike my other one but still no power or anything, keep pressing and holding the power button but nothing happens? Any help on this or if its a known fault would be great?

  • Problem wth program

    Hey I'm working on this program and have the methods and everything written out. Everything compiles and runs except my output is off by one month. Went through my equations to see if I made a mistake anywhere, but cannot seem to see it anywhere. I was wondering if someone can point it out, because sometimes what one person doesn't see the other person will. Here's my code:
    import javax.swing.*;
    import java.util.*;
    public class EasterClass
    public EasterClass()
    int y;
    public int getEasterSundayMonth(int y)
    int a = y % 19;
    int b = y/100;
    int c = y % 100;
    int d = b/4;
    int e = b % 4;
    int g = ((8 * b) + 13)/25;
    int h = (19 * a) + b - d - g + 15 % 30;
    int j = c/4;
    int k = c % 4;
    int m = (a + 11) * h/319;
    int r = (2 * e) + (2 * j) - k - h + m + 32 % 7;
    int n = ((h - m) + r + 90)/25;
    int p = (h - m) + r + n + 19 % 32;
    int M = n + 1;
    return M;
    public int getEasterSundayDay(int a, int b, int c, int d, int e, int g, int h, int j, int k, int m, int r, int n, int p, int y)
    a = y % 19;
    b = y/100;
    c = y % 100;
    d = b/4;
    e = b % 4;
    g = ((8 * b) + 13)/25;
    h = (19 * a + b - d - g + 15) % 30;
    j = c/4;
    k = c % 4;
    m = ((a + 11) * h)/319;
    r = ((2 * e) + (2 * j) - k - h) + m + 32 % 7;
    n = (h - m + r + 90) / 25;
    p = (h - m) + r + n + 19 % 32;
    int D = p;
    return D;
    Here's my App class it's in the process of being completed as I haven't included any code for calling my other method.
    import javax.swing.*;
    public class FindEasterSundayApp
    public static void main()
    int y;
    EasterClass easter = new EasterClass();
    y = Integer.parseInt(JOptionPane.showInputDialog(null, "Please enter a year to find out what month Easter occurs on"));
    int month = easter.getEasterSundayMonth(y);
    switch (month)
    case 1: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of January");
    break;
    case 2: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of February");
    break;
    case 3: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of March");
    break;
    case 4: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of April");
    break;
    case 5: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of May");
    break;
    case 6: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of June");
    break;
    default: JOptionPane.showMessageDialog(null, "Invalid Entry, Easter will not occur during this month");
    //JOptionPane.showMessageDialog(null, "Easter for the given year occurs on)
    The month is supposed to be April but I get March. This is supposed to be the Gauss algorithm by the way too.

    import javax.swing.*;
    public class FindEasterSundayApp
        public static void main()
         int y; 
         EasterClass easter = new EasterClass();
         y = Integer.parseInt(JOptionPane.showInputDialog(null, "Please enter a year to find out what month Easter occurs on"));
         int month = easter.getEasterSundayMonth(y);
         switch (month)
             case 1: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of January");
             break;
             case 2: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of February");
             break;
             case 3: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of March");
             break;
             case 4: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of April");
             break;
             case 5: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of May");
             break;
             case 6: JOptionPane.showMessageDialog(null, "For the year that was given, Easter occurs in the month of June");
             break;
             default: JOptionPane.showMessageDialog(null, "Invalid Entry, Easter will not occur during this month");
    import javax.swing.*;
    import java.util.*;
    public class EasterClass
         public EasterClass()
            int y;     
        public int getEasterSundayMonth(int y)
           int a = y % 19;
           int b = y/100;
           int c = y % 100;
           int d = b/4;
           int e = b % 4;
           int g = ((8 * b) + 13)/25;
           int h = (19 * a) + b - d - g + 15 % 30;
           int j = c/4;
           int k = c % 4;
           int m = (a + 11) * h/319;
           int r = (2 * e) + (2 * j) - k - h + m + 32 % 7;
           int n = ((h - m) + r + 90)/25;
           int p = (h - m) + r + n + 19 % 32;
           int M = n;
           return M;
        public int getEasterSundayDay(int y)
           int a = y % 19;
           int b = y/100;
           int c = y % 100;
           int d = b/4;
           int e = b % 4;
           int g = ((8 * b) + 13)/25;
           int h = (19 * a + b - d - g + 15) % 30;
           int j = c/4;
           int k = c % 4;
           int m = ((a + 11) * h)/319;
           int r = ((2 * e) + (2 * j) - k - h) + m + 32 % 7;
           int n = (h - m + r + 90) / 25;
           int p = (h - m) + r + n + 19 % 32;
           int D = p;
           return D;
    I have no idea where I'm going wrong, it's got to be something in my equations. Also in Java are mathematical operations done in the same logic Parentheses Exponents Multiply Divide Add Subtract. Could something in the way i have the equations set up be causing this?

  • Toplink JPA Problem

    Please i have this problem wth toplink in netbeans 6.1
    The reason am bringin this here is that it uses toplink implementation of JPA
    I have two projects
    1.project A
    2. Project b
    In project A i have a database with Users,Contacts tables with a datasource configured as projectAdDS pointing to projectADb
    In projectB i have a different database with Users,Contacts tables with a datasource configured as projectBdDS pointing to projectBDb
    Now the generated Entity Classes for each projects is Users , Contacts. They have the same name but different package name
    in project a the Users Entity classes is com.projectA.Users while in projectB is com.projectB.Users.
    Now the problem is where the webapplication of projectA tries to save a Users it save it in projectB database.
    That is the problem even when the two persistent are pointing to two different datasources.
    Project A Persistent. XML
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
      <persistence-unit name="RestfulPU" transaction-type="JTA">
        <jta-data-source>phonebookdb</jta-data-source>
        <class>com.chineduefoagui.entity.Contacts</class>
        <class>com.chineduefoagui.entity.Users</class>
        <class>com.chineduefoagui.entity.Userdetails</class>
        <exclude-unlisted-classes>true</exclude-unlisted-classes>
        <properties/>
      </persistence-unit>
    </persistence><?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
    <persistence-unit name="SoapProPU" transaction-type="JTA">
    <jta-data-source>soapphonebook</jta-data-source>
    <class>com.chineduefoagui.soap.entity.Users</class>
    <class>com.chineduefoagui.soap.entity.Contacts</class>
    <class>com.chineduefoagui.soap.entity.Userdetails</class>
    <exclude-unlisted-classes>true</exclude-unlisted-classes>
    <properties/>
    </persistence-unit>
    </persistence>

    Yes,
    It looks like you are getting 2 connection attempts for phonebookdb (2 is normal) but receive soapphonebook as the connection - this is odd.
    But, I am working fine. In my application which is working now with &lt;exclude-unlisted-classes&gt;true&lt;/exclude-unlisted-classes&gt; on "all" persistence units
    I am working with two (Cell) entities in different packages (both are in the EJB jar). So this is either an issue with entities in the WAR or it is a db platform issue surrounding JavaDB
    See a screencap of both persistence units working on two different datasources with the same entity "alias" but different packages
    [http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#Two_Persistence_Units]
    For reference I get the same 4 logs when I attempt a single JTA connection but in my case my datasource name is listed as null even though my app continues on ok.
    In the case of using both persistence units I get 2 sets of 4 logs = 8 for the 4 connections to the 2 datasources
    The two datasources in my case are Oracle11g (remoteJTA) and Oracle10g (localJTA) - both using the same 11g driver - so it is easier to tell them apart in the logs.
    [EL Example|http://forums.oracle.com/forums/]: enterprise: Object: org.eclipse.persistence.example.jpa.server.entity.Cell@26145598( id: 1 state: null left: null right: null parent: HashSet@234560 references: HashSet@234560)
    When i use the exampleDuplicate persistence unit i get a login for the first datasource
    Oracle 10g = remoteJTA datasource
    [EL Fine|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.356--Thread(Thread[)--Detected Vendor platform: org.eclipse.persistence.platform.database.oracle.Oracle10Platform
    [EL Config|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.403--ServerSession(3303389)--Connection(18436986)--Thread(Thread[)--connecting(DatabaseLogin(
    platform=&gt;Oracle10Platform
    user name=&gt; ""
    connector=&gt;JNDIConnector datasource name=&gt;null
    [EL Config|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.419--ServerSession(3303389)--Connection(28810575)--Thread(Thread[)--Connected: jdbc:oracle:thin:@127.0.0.1:1521:orcl
    User: SCOTT
    Database: Oracle Version: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Driver: Oracle JDBC driver Version: 11.1.0.7.0-Production
    [EL Config|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.419--ServerSession(3303389)--Connection(28892307)--Thread(Thread[)--connecting(DatabaseLogin(
    platform=&gt;Oracle10Platform
    user name=&gt; ""
    connector=&gt;JNDIConnector datasource name=&gt;null
    [EL Config|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.419--ServerSession(3303389)--Connection(26833471)--Thread(Thread[)--Connected: jdbc:oracle:thin:@127.0.0.1:1521:orcl
    User: SCOTT
    Database: Oracle Version: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Driver: Oracle JDBC driver Version: 11.1.0.7.0-Production
    [EL Finest|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.419--ServerSession(3303389)--Thread(Thread[)--sequencing connected, state is Preallocation_NoTransaction_State
    and the persist call
    [EL Example|http://forums.oracle.com/forums/]: enterprise: ApplicationService persisting: [email protected]( id: null state: null left: null right: null parent: HashSet@18981093 references: HashSet@18981093) on EM: org.eclipse.persistence.internal.jpa.EntityManagerImpl@1a7ed8f&gt; later when I use the other example persistence unit i get a login for the second datasource
    Oracle 11g = localJTA datasource
    [EL Fine|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.966--Thread(Thread[)--Detected Vendor platform: org.eclipse.persistence.platform.database.oracle.Oracle10Platform
    [EL Config|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.966--ServerSession(25279766)--Connection(13859800)--Thread(Thread[)--connecting(DatabaseLogin(
    platform=&gt;Oracle10Platform
    user name=&gt; ""
    connector=&gt;JNDIConnector datasource name=&gt;null
    [EL Config|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.966--ServerSession(25279766)--Connection(6794127)--Thread(Thread[)--Connected: jdbc:oracle:thin:@10.156.53.19:1521:orcl
    User: SCOTT
    Database: Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Driver: Oracle JDBC driver Version: 11.1.0.7.0-Production
    [EL Config|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.966--ServerSession(25279766)--Connection(3176465)--Thread(Thread[)--connecting(DatabaseLogin(
    platform=&gt;Oracle10Platform
    user name=&gt; ""
    connector=&gt;JNDIConnector datasource name=&gt;null
    [EL Config|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.997--ServerSession(25279766)--Connection(1751745)--Thread(Thread[)--Connected: jdbc:oracle:thin:@10.156.53.19:1521:orcl
    User: SCOTT
    Database: Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Driver: Oracle JDBC driver Version: 11.1.0.7.0-Production
    [EL Finest|http://forums.oracle.com/forums/]: 2008.12.15 15:43:56.997--ServerSession(25279766)--Thread(Thread[)--sequencing connected, state is Preallocation_NoTransaction_State
    and the persist call
    [EL Example|http://forums.oracle.com/forums/]: enterprise: ApplicationService2 persisting: org.eclipse.persistence.example.jpa.server.entity.Cell@20979305( id: null state: null left: null right: null parent: HashSet@14247956 references: HashSet@14247956) on EM: org.eclipse.persistence.internal.jpa.EntityManagerImpl@14bf56d
    Here is my whole persistence unit (note I am not using the RESOURCE_LOCAL one but I still need an exclude on it
    .&lt;persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence [http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd]"&gt;
    &lt;persistence-unit name="exampleDuplicate" transaction-type="JTA"&gt;
    &lt;provider&gt;org.eclipse.persistence.jpa.PersistenceProvider&lt;/provider&gt;
    &lt;jta-data-source&gt;remoteJTA&lt;/jta-data-source&gt;
    &lt;class&gt;org.eclipse.persistence.example.jpa.server.entity.Cell&lt;/class&gt;
    &lt;exclude-unlisted-classes&gt;true&lt;/exclude-unlisted-classes&gt;
    &lt;properties&gt;
    &lt;property name="eclipselink.target-server" value="WebLogic_10"/&gt;
    &lt;property name="eclipselink.logging.level" value="FINEST"/&gt;
    &lt;/properties&gt;
    &lt;/persistence-unit&gt;
    &lt;persistence-unit name="example" transaction-type="JTA"&gt;
    &lt;provider&gt;org.eclipse.persistence.jpa.PersistenceProvider&lt;/provider&gt;
    &lt;jta-data-source&gt;localJTA&lt;/jta-data-source&gt;
    &lt;class&gt;org.eclipse.persistence.example.jpa.server.business.Cell&lt;/class&gt;
    &lt;exclude-unlisted-classes&gt;true&lt;/exclude-unlisted-classes&gt;
    &lt;properties&gt;
    &lt;property name="eclipselink.target-server" value="WebLogic_10"/&gt;
    &lt;property name="eclipselink.logging.level" value="FINEST"/&gt;
    &lt;/properties&gt;
    &lt;/persistence-unit&gt;
    &lt;persistence-unit name="exampleLocal" transaction-type="RESOURCE_LOCAL"&gt;
    &lt;provider&gt;org.eclipse.persistence.jpa.PersistenceProvider&lt;/provider&gt;
    &lt;class&gt;org.eclipse.persistence.example.jpa.server.business.Cell&lt;/class&gt;
    &lt;exclude-unlisted-classes&gt;true&lt;/exclude-unlisted-classes&gt;
    &lt;properties&gt;
    &lt;property name="eclipselink.jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/&gt;
    &lt;property name="eclipselink.jdbc.platform" value="org.eclipse.persistence.platform.database.oracle.OraclePlatform"/&gt;
    &lt;property name="eclipselink.jdbc.url" value="jdbc:oracle:thin:@127.0.0.1:1521:orcl"/&gt;
    &lt;property name="eclipselink.jdbc.user" value="scott"/&gt;
    &lt;property name="eclipselink.jdbc.password" value="tiger"/&gt;
    &lt;/properties&gt;
    &lt;/persistence-unit&gt;
    &lt;/persistence&gt;
    I also do not see anything from the persistence unit "SoapProPU" in the logs from your servlet. Have you initialized both persistence units there or are there logs from the other servlet?
    For example I used the following servlet with 2 references to session beans that in turn reference the 2 pu's - or you could just use persistence unit injection on the servlet.
    public class FrontController extends HttpServlet implements Servlet {
    @EJB(beanName="ApplicationService")
    public ApplicationServiceLocal applicationService;
    @EJB(beanName="ApplicationService2")
    public ApplicationServiceLocal2 applicationService2;
    @Local @Stateless
    public class ApplicationService2 implements ApplicationServiceLocal2 {
    @PersistenceContext(unitName="exampleDuplicate", type=PersistenceContextType.TRANSACTION)
    private EntityManager entityManager;
    @Local@Stateless
    public class ApplicationService implements ApplicationServiceLocal {
    @PersistenceContext(unitName="example", type=PersistenceContextType.TRANSACTION)
    private EntityManager entityManager;
    This may be DB platform specific, I think a reproduction on the same JavaDBPlatform is required on our side.
    You may be right about the alias name that is narrowed to Userdetails (with no qualifying package). I see the same message when creating the EntityManagerFactory for the particular PU from....
    m_entityName = Helper.getShortClassName(getJavaClassName());
    getLogger().logConfigMessage(MetadataLogger.ALIAS, getDescriptor(), m_entityName);
    and get further because I forgot to add the following exclude so that predeploy does not pick up classes from the persistence.xml classpath.
    &lt;exclude-unlisted-classes&gt;true&lt;/exclude-unlisted-classes&gt;
    I wil let you know when I have switched my reproduction to use JavaDB.
    thank you
    /michael [http://www.eclipselink.org/]

Maybe you are looking for

  • HT3965 How can I change the default Apple ID on and IPad?

    My daughter just gave me her IPod - how can I change the default Apple ID? Every application update comes up with her email address.

  • How to retreive data from a field that contains a "|" symbol

    Hi, Hopefully my title won't confuse anyone . Well I am trying to create a group which would display an employee name(s). In my case, the value comes from a field which can contain multiple values separated by a "|" symbol. See picture below. I am pr

  • Updating error

    So I'm at a loss here. I put new music on my itunes and went to update my nano and it gave me an error message that said that my nano "can not be updated because all the playlists no longer exist" I then went and looked at my ipod and all of the song

  • Saving only PNG in Lightroom 4

    Hello, I finally have the plans on how I am going to manage my images, but I am curious why Lightroom saves both JPG and DNG after it imports them. My camera(Canon 7D) is configured to save both JPG and CR2.  When I import them, in the import window,

  • Report for courses

    Hi Experts, I need to generate a report shows the hierachy of Course Groups, Course Types and the last event date of the course types. A090 relationship(is owned by) need to be displayed also. If I use the standard report 'Course Hierachy', it will n