Experiences with Adobe XPAAJ, XML Parsers, OC4J /AS 10.1.2,10.1.3 and DB10g

Over the past couple of weeks we have been working on a solution which uses the newly available adobe XPAAJ api's (XML/PDF Access API for Java) for Java.
The client has a legacy requirement to where users are issued with a pdf form which they complete, save and upload to the server via a JSP. A neat bit of Java code utilizing the XPAAJ API's then strips out the form entered data and spits out XML. This is then parsed and inserted into relational tables within the schema.
Our solution needs to be deployed to an Oracle stack. However we ran into a number of problems when deploying the solution to AS 10.1.2. The adobe API's are not compatible with the Oracle XML Parsers. When extracting the form data, no error is reported and the code which performs the xml parsing just fails. Very nasty.
The main problem has been that Oracle XDK libraries have been hard-coded into the classpath of the container using the referential JAR file Class-Path mechanism. Altering this has required the use of the JRE extension library mechanism, or altering the boot classpath of the JVM when it is launched to load the alternative XML parser implementation instead. While this works, it has been an unsupported operation since the effect of this change is not limited to a specific application – it’s effect are felt across the entire container and this may lead to unpredictable results at runtime.
~http://www.oracle.com/technology/tech/java/oc4j/10131/how_to/how-to-swapxmlparser/doc/readme.html
We did look at a number of other solutions including embedding the java classes I'd written into the database. After loading the apache Xerces api's into our schema we hit upon the same problem. It seems that the same thing happens in the database and the Oracle XML parser is used by default.. Please see SR Number : 6153038.994 on Metalink.
If you can upgrade to AS 10.1.3 then you can follow the excellent how to at:http://www.oracle.com/technology/tech/java/oc4j/10131/how_to/how-to-swapxmlparser/doc/readme.html . Demo code can be found at: http://www.oracle.com/technology/tech/java/oc4j/10131/how_to/how-to-swapxmlparser/how-to-swapxmlparser.zip
The how-to details how to swap xml parsers within the application server.
Other possible solutions that are also available include:
- Shelling out to the OS from the DB or Apps Server, You can then execute the app as a command line app with a custom classpath. Very bad architecture design.
- Setting up an RMI client / server application where client is the db or apps server. You can find examples of this on the web. google 'Simple RMI example'.
- Bootstrapping the XML parser in AS 10.1.2 (unsupported).
I hope people have found this informative. It might save someone a lot of time.
Message was edited by:
Kris Jones

"When I was installing SOA 10.1.3.1.0 on oracle 10.2.0.1 and it was giving error that it needs minimum 10.2.0.3, just wondering 10.1.2.0.2 + SOA =will this work?"
so you talk about the db version. SOA 10.1.3.x runs on 10.2.0.1 and above (I ran for the longest time on XE) and if I remember correctly that's a warning, and not a hard prereq.
Regarding Appserver versions - soa 10.1.3 runs on AS 10.1.3 only

Similar Messages

  • Any experience with Adobe After Effects?

    Has anyone experience with Adobe After Effects and FCE. Does it work together?
    WA

    They will work together. There is no export to or send to function or no XML function to go to AE but the media will work in AE and the finished product can be brought into FCE.

  • I had a recent not so great experience with Adobe Connect

    I had a recent not so great experience with Adobe Connect that I need you help on.  Keep in mind that I tested the Connect session with the presenter the day before and Connect worked very well.   On the day of the event I opened the room to get the speaker logged in as a “Presenter”.  No problems with that however I noticed that there was no “Share My Screen” button to be found anywhere. In essence I could not get him connected.
    To resolve this I was forced to close out the old session and start a fresh one where I could share the presenter’s screen.  Once we were going a few of the participants mentioned that they were having problems getting audio.  Most online said they were fine but a few mentioned that we not getting the audio fluidly.  I explained that it may be due to their bandwidth and to be patient that it would cache.  Then I notice that same issue that I had talked about with a Connect technician before where all audio stops working after about  1hour into the presentation.  They way I have resolved this was to log the presenter out and log him back in.
    Keep in mind that I am online with 3 other computers via WiFi monitoring and seeing the presentation as the online viewers are seeing it and I can see it coming through flawlessly.  So, for the few who had problems I attributed it to the lack of bandwidth in their area.   However, at 1 hour into the presentation the audio dropped out completely while the video was fine and this reflected on my machines as well.  This is the continuing experience that I keep having with Connect.  The total amount of people online was 9.
    Now, I have a Photoshop user group meeting that will take place online this Thursday  June 17th from 5 – 7pm featuring Dave Cross and we have about 200 people registered for that. It would be great if we could have one of the engineers attend that session.
    I look forward to your reply.

    I had a recent not so great experience with Adobe Connect that I need you help on.  Keep in mind that I tested the Connect session with the presenter the day before and Connect worked very well.   On the day of the event I opened the room to get the speaker logged in as a “Presenter”.  No problems with that however I noticed that there was no “Share My Screen” button to be found anywhere. In essence I could not get him connected.
    To resolve this I was forced to close out the old session and start a fresh one where I could share the presenter’s screen.  Once we were going a few of the participants mentioned that they were having problems getting audio.  Most online said they were fine but a few mentioned that we not getting the audio fluidly.  I explained that it may be due to their bandwidth and to be patient that it would cache.  Then I notice that same issue that I had talked about with a Connect technician before where all audio stops working after about  1hour into the presentation.  They way I have resolved this was to log the presenter out and log him back in.
    Keep in mind that I am online with 3 other computers via WiFi monitoring and seeing the presentation as the online viewers are seeing it and I can see it coming through flawlessly.  So, for the few who had problems I attributed it to the lack of bandwidth in their area.   However, at 1 hour into the presentation the audio dropped out completely while the video was fine and this reflected on my machines as well.  This is the continuing experience that I keep having with Connect.  The total amount of people online was 9.
    Now, I have a Photoshop user group meeting that will take place online this Thursday  June 17th from 5 – 7pm featuring Dave Cross and we have about 200 people registered for that. It would be great if we could have one of the engineers attend that session.
    I look forward to your reply.

  • I'm told there is a virus associated with Adobe Reader. How can I tell if my machine is effected and if so what is the cure. I'm running OS X10.6.8 on an iMac with safari 5.1.5

    I'm told there is a virus associated with Adobe Reader. How can I tell if my machine is effected and if so what is the cure. I'm running OS X10.6.8 on an iMac with safari 5.1.5

    There are no viruses currently affecting the Mac but there is something called Flashback which is malware that has been doing the rounds and affected many Mac users. Apple have released some updates to Java that should remove it and improve protection. Run Software Update to see if there is anything for downloading.
    A few precautions that can help prevent your Mac becoming infected:
    If you use Flash only download it directly from Adobe.
    In all web browsers disable Java (but do leave Javascript on as that's something else).
    In all web browsers make sure downloaded files aren't set to automatically open after downloading.
    Consider disabling Java completely (launch Java Preferences in the Utilities folder and disable it - you'll likely rarely, if ever need it. If you do just turn it on and off again when your done).
    You can also check out this link:
    http://lifehacker.com/5900434/how-to-find-out-if-your-mac-was-infected-by-the-fl ashback-trojan-in-one-click

  • Error with Adobe Acrobat X "error opening the document. The file is damaged and could not recover"

    Good morning,
    I have a problem when generating PDF files with Adobe Acrobat X.
    When I give print a Word document 2003 ... 2007 ... 2010 ... and select a network drive to save the PDF file, I get the following error "error opening the document. Thefile is damaged and not could recover."
    The file is saved on your drive well ... but I always get this error.
    Any ideas???
    Thank you.

    First of all thanks for responding.
    The installed version of Adobe's Adobe OS X and Windows XP machines is thelatest patch level.
    The local system .... works well ... Open Office 2010 ... create a new Word document and save it locally ... and all good.
    The problem is though that same machine ... it enters network (not Windows network. OES2 is a network with Novell network client) ... and to open and create a new document to WORD .... when printing the PDF printer ... select a network drive... and when the document is saved well ... but it shows the error.
    I have an amount of hours lost with this ... I hope you can help me find a solution.
    Thank you very much.

  • Terrible Experience With Adobe Upgrade

    I purchased a copy of PS Elements 9 from Amazon in early October.  I noticed that version 10 was out and contacted Adobe regarding an upgrade.  After registering my PSE 9 and emailing my Amazon receipt as requested by support, I was told that I was not elgible for an upgrade because my PSE was already registered to another user.  They suggested that I contact Amazon.  This is pure @#$%.   My software came in a sealed box from Amazon with no signs of tampering, etc.  I have started 3 different support cases and called 3 different times with no results.  The last time they escalated my case to Level 2 but I haven't heard from them for the past 3 weeks.
    Does anyone have any suggestions for cracking this problem?

      It really depends how close the date of purchase was to the first launch of PSE10.
    http://kb2.adobe.com/cps/153/tn_15304.html#main_I_meet_the_requirements__How_do_I_place_my _order_
     

  • Do you have experience with Adobe Revel moving files from an iMac to the "cloud"?

    Over the past few months, Adobe has been moving photo files from personal MACs into their cloud space (Adobe Revel).  They have just hit my computer this weekend.  Is there a way using the Apple operating system to find out the names of the files Adobe moved?

    I can tell you with certainty that for documents of any kind "GoodReader" is an excellent app. It will let you connect to your mac via wi-fi. It mounts it as an external drive and you can create folders and drag files to the folders.
    I haven't tried dragging any movies or music but there wouldn't be anything to stop you from doing so. There is also a file management component to the app that lets you choose an "Open with ... " type of dialog and open a file with pages if it is a .doc file, or GoodReader can open pdf, doc, xls and many other doc types.
    Very happy with this .99 cent app. I agree with the other question though. If I rip a dvd, I use handbrake to convert to mp4 and add to my iTunes - then sync as per normal.

  • I created a website and a phone version with Adobe Muse. In order to add schema tags, I downloaded Dreamweaver and edited the website. Will these tags remain if I edit the site with muse again? Does Dreamweaver have to download the phone layout separately

    Also, I want to add Schema tags to the Muse master page copy, particularly serviceArea tags, but I'm not seeing the elements in Dreamweaver. Where are elements from the master found in Dreamweaver?

    Hi,
    I checked the first site, and there is no phone/tablet layout. On My phone, you desktop version appears fine.
    regarding second site, I see the phone layout with template content, so I doubt, if you have deleted the phone layout folder from the server, but did not delete the layout in Muse file. Hence when you publish the site again, the folder was created again.
    could you please confirm this, so I can test it further.

  • How can I contact with Adobe Systems because I want to know how many licenses are there and if its includes Bridge?

    I want to buy Creative Cloud, but I don't know how many licenses are included
    and I don't know if Bridge program is include too
    I hope you can help me
    I rang to 900810339 but nobody respond to phone
    thak U

    I want ask too about that

  • Cs 4 with adobe acrobat 9 pro.

    I have reloaded cs 4 with adobe acrobat 9 pro. But I get a repair setup message and whether I check the boxes or not, nothing happens and the program will not load.

    Hi Roger,
    I am sorry for the inconvenience caused, lets try to resolve the issue.
    I will recommend you to completely uninstall CS4 following the steps mentioned in this KB doc. Adobe - Adobe CS4 Clean Script
    2) Restart your system
    3) Now re-install CS4.
    Let me know if you still experience any issue.
    Regards,
    Aadesh

  • Package javax.xml.parsers does not exist

    When I compile the sample program for xml, DOMEcho.java, or any other xml java program, I get errors on the import statements.
    For all the import statements within java.xml.* I get an error message such as: package javax.xml.parsers does not exist.
    I have my path and classpath variables set as follows.
    REM Java initialization
    SET PATH=c:\Documents and settings\User\jwsdp-1_0_01\bin;c:\j2sdkee1.3.1\bin;c:\jdk1.3.1_01\bin;%PATH%
    SET JAVA_HOME=c:\j2sdkee1.3.1_01
    SET JAVA_XML_PACK_HOME=c:\java_xml
    SET JAXM_HOME=c:\java_xml\java_xml_pack-summer-02_01\jaxm-1.1_01
    SET JAXP_HOME=c:\java_xml\java_xml_pack-summer-02_01\jaxp-1.2_01
    SET JAXR_HOME=c:\java_xml\java_xml_pack-summer-02_01\jaxr-1.0_02
    SET JAXRPC_HOME=c:\java_xml\java_xml_pack-summer-02_01\jaxrpc-1.0_01
    SET CLASSPATH=c:\Documents and settings\User\jwsdp-1_0_01\bin;c:\Documents and settings\User\jwsdp-1_0_01
    SET CLASSPATH=%CLASSPATH%;c:\jdk1.3.1_01\bin;c:\jdk1.3.1;
    SET CLASSPATH=%CLASSPATH%;c:\java_xml\java_xml_pack-summer-02_01\jaxm-1.1_01;
    SET CLASSPATH=%CLASSPATH%;c:\java_xml\java_xml_pack-summer-02_01\jaxp-1.2_01;
    SET CLASSPATH=%CLASSPATH%;c:\java_xml\java_xml_pack-summer-02_01\jaxr-1.0_02;
    SET CLASSPATH=%CLASSPATH%;c:\java_xml\java_xml_pack-summer-02_01\jaxrpc-1.0_01
    Any ideas?

    Now that the first program compiled I tried another sample program:
    StandAlone.java and
    got the same errors.
    * $Id: StandAlone.java,v 1.10 2002/04/06 00:47:31 mode Exp $
    * $Revision: 1.10 $
    * $Date: 2002/04/06 00:47:31 $
    * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    This program starts with...
    import java.io.*;
    import javax.xml.soap.*;
    import java.net.URL;
    import javax.mail.internet.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import org.dom4j.*;
    * A StandAlone JAXM Client.
    public class StandAlone {

  • Web Data Scraping with Adobe Flex?

    Hi all.
    I need to get a lot of data coming from several websites.
    For now, I'm using Djuggler, but I'm wondering if something simular can be achieved with Adobe Flex?
    I have no experience with Adobe Flex in this field, so any remarks, comments, suggestions, tutorials, would be much much appreciated!
    I need to have good arguments to convince my boss to buy Adobe Flex :-)
    Thanks a lot in advance!!!
    Kind Regards
    Jurgen Landrie

    No.  Read-access won't help.  What is required is that there is a webservice available for your use.
    For example, you can go to Yahoo and view stock quotes via the Yahoo finance page.  And yes, you can screen-scrape it, but Yahoo also provides a webservice to access the quotes directly.  Flex is designed to make calls to those webservices and display the data.  IIRC, the terms and conditions of many websites discourage or disallow screen-scraping.

  • Experience with "Auto-Complete and Go-Less Prompts"

    Hi all,
    does anyone have experiences with editing instanceconfig.xml for auto-completing prompts?
    Is it buggy? Or are there any kinds of risks?
    reference: http://www.peakindicators.com/media_pi/Knowledge/oracle%20bi%2011g%20-%20applying%2011.1.1.6.2%20bp1%20-%20windows.pdf
    Please have a look at page 10, it describes how to edit the xml
    Thanks

    Hi Frank,
    I understand the single matching value and expecting move out in single tab for perfect match only. inputComboboxListOfValues selects the entry in one tab [even for single matching value] and user has to press another tab to go to next attribute.
    Are you suggesting that it actually moves out to next field in single tab for "single matching value"?
    Thanks,
    Jai

  • On Mac OS 10.9 with Adobe CC 2014, preview icons not displaying

    We've had increasing problems with icons in Photoshop, ever since CS6. We're now on PS CC 2014 and the latest MAC OS 10.9, and the issue with icons is becoming unbearable! We simply can't find things anymore, and it's starting to really be a problem.
    At first it was just the little tiny preview icon in the title bar that disappeared and just shows a generic icon. But now the finder preview is not showing correctly with PSD files, and TIF files created in Photoshop. We thought it might be an OS issue, so we followed steps to delete the com.apple.preview.plst file and restart. But the problem persists. HOWEVER, if I open one of these files in GIMP, and then save, the icon comes back. Open the same file in PS and the icon disappears again.
    Any idea how to fix this? It's driving us nuts.

    Chris
    Why is it that when I re-save a TIF file in GIMP that I get an image preview, but not with Adobe PS?
    You've been blaming this on Apple since CS6 and over the versions I've grown to really resent your response on this forum.
    Why does GIMP, a free program save thumbnails correctly but the most expensive image editing program cannot?
    I'd at least like an answer to the GIMP question. Why does it work and PS does not?

  • Issue with Adobe Reader (Desktop app) on Mac OS X Lion

    Hi there,
    I want to print a pdf like a booklet.
    I first try with Adobe Reader 9 but it says something lik "Unable to print document" and "no pages selected for print". And the print to pdf doesn't work either.
    here is a screenshot of the parameters pop-up (sorry it's in french)
    After that I decided to install Adobe Reader X (10.1) but when I choose print from the menu nothing pop-up it's like if print was disable (but the text in the menu is not grayed out)
    So how can I achieve what I want to do?
    PS: I cannot install the 10.1.1 update. I've tried two way:  first from the drop down menu it says that an internal error has happened (the loading of an application's ressource failed), second I've downloaded the update from the website and an internal error occurs during the installation process.
    Thanks in advance
    Camille Gallet

    Thanks for the suggestion! I found what the problem was. I dragged the old Adobe folder to the trash in an attempt to uninstall it. I then downloaded a fresh copy and installed that. When the Adobe 5.0 folder (for Adobe Reader 5.0.5) was open, I saw the "CoolTypeCarbonLib" file in it. I then double-clicked the Adobe Reader icon and it started just fine. Then, I pressed the Alt/Option key and dragged the Adobe Reader icon to make a copy on the desktop. When I double-clicked the icon I created on the desktop, I got the "CoolTypeCarbonLib" error. So, I made he mistake of incorrectly making a copy of the Adobe Reader icon on the desktop.
    Now that it's working, how can I make an Adobe Reader icon on the desktop that will actually work?
    have the Software Update CP check if you need any
    updates. You don't have to use the Software Update CP
    to download and install them, but I'm betting it'll
    report about 6 required updates you should get.
    CarbonLib v1.6 will be one of them.
    As well as iTunes v2.0.4, AppleScript v1.8.3, Java
    1.2.6, etc.
    Ok, how do I do this? I'm not really a Mac user.
    Thanks!
    Peace...

Maybe you are looking for

  • Links in pdf's work if...

    The links created in version 5.0.1 when exporting to a pdf did not work.  They now work in 5.1 newly created docs EXCEPT if you open a doc created in 5.0.1 they will not work.  If you copy paste to a new document they work. FYI

  • How to consider only values 0 when calculating Averages

    Hi, Currently, I am using Avg (table.column) function to caluclate averages. However, one of our user wants to only consider records that are >0 when calculating averages. For example if a result set as 10 records, and only 2 of them has values >0 th

  • Best practice for copying help...

    I am creating a webhelp project to be accessed from an internal homegrown intranet app(by clicking on a help button within the app it fires up the help screens in a new window).... I published the help out to a network share however now in testing op

  • Material Batch in Production Order

    Good afternoon, We have the scenario where a Material batch is only allowed in ONE production order, for example: Material 123, Batch A: Qty50 Material 123, Batch B: Qty50 I have a production Order that requires 75 of Material 123. The production Ord

  • Adding objects to list

    Hi, I am new java. I have a probelm adding objects to list. This is the following code. class Test{ List <>dataList = new ArrayList<>(); public List<A> getAList(){ dataList.add(new A()); return dataList ; public List<B> getBList(){ dataList.add(new B