Using the XSQL Page Processor Programmatically Issue

HI,
I am using the oracle class "oracle.xml.xsql.XSQLRequest " to make use of the XSQL Page Processor from within a Java program and generate a diffenent format files (i.e. HTML, PDF). Everything works fine from the jdeveloper ,but when i deploy the code to Tomcat, I am getting the following error when I click on a submit button(The calls to Java code):
java.lang.RuntimeException: java.lang.RuntimeException: Fatal error. Cannot create connection manager factory: oracle.xml.xsql.XSQLConnectionManagerFactoryImpl
Here is the java code for rerfernce:
// Construct the URL of the XSQL Page
URL pageUrl = new URL("file://"+ContextPath+"invoice_html.xsql");
// Construct a new XSQL Page request
XSQLRequest req = new XSQLRequest(pageUrl);
// Setup a Hashtable of named parameters to pass to the request
Hashtable params = new Hashtable(1);
// pass the invoice value
params.put("Invoice",rs.getString(3)); //Invoice Id
// Create a invoice file
File invoiceFile = new File(rs.getString(7)+rs.getString(3)+rs.getString(5));
// Create an Output Stream
FileOutputStream outStream = new FileOutputStream(invoiceFile);
// Filter bytes to ASCII
PrintWriter out = new PrintWriter(outStream);
// Generate a HTML invoice for each account
req.process(params, out, new PrintWriter (System.err));
// Close the PrintWriter
out.close();
Any Solution or comments will be really appricated.
Thanks
Mohammad

I have fixed the problem.

Similar Messages

  • Cannot Test this Web Service using the Test Page

    Hello,
    I'm using
    - JDeveloper 11.1.1.3.0
    - SOA Suite 11.1.1.3.0
    - Weblogic Server 10.3.3
    - Windows XP SP3 (german version)
    Now I'm having a BPEL-Process (SOA) Project created in JDeveloper and deployment to the server works fine, i.e. the service can be seen in enterprise manager.
    But if I want to test the service using the webservice tester it get the following error if I copy the URL for getting the WSDL file to another browser tab:
    Cannot Test this Web Service using the Test Page
    Endpoint Name : FabricProvider (Service Description)
    You can test the Web Service using a Java client.
    Failed to Load a composite for composite identified by default/ReisebuchungService!1.0*soa_6aebb5fb-7830-497b-b853-839518d112f0
    Please verify that the composite has been deployed.
    Can you help me with this issue? I have no idea where to start debugging or resolving the problem.
    Thanks in advance

    Heya
    others and I face the same issue, reported here:
    TP4: Cannot Test this Web Service ...
    Oracle is not too responsive on the issue though.... :(
    Cheers Christian.

  • OS X Mavericks failed to download Use the Purchases page to try again.

    how to solve OS X Mavericks failed to download Use the Purchases page to try again.

    I have found a solution for this issue.
    OS X Mavericks failed to download, Use the Purchases page to try again
    I was trying to upgrade Mac OS and kept running into this error message when I tried to resume interrupted download. I was able to get around this problem by following steps mentioned below, which were originally posted in this post.
    Quit App Store.
    Open Terminal.
    Execute this: defaults write com.apple.appstore ShowDebugMenu -bool true
    Launch App Store.
    At the Menu bar, there should be a "Debug".
    Click on that and press "Reset Application"
    Restart App Store.

  • I have problem in mac store when i try to download app i get note (( app failed to download use the purchases page to try again ))

    i have problem in mac store when i try to download app i get note (( app failed to download use the purchases page to try again ))
    i try to downlod twitter and ccleaner but i can't open the app  ?!?!!!

    It can also be an iTunes issue. Many of us, including myself, are not used to the new interface of iTunes 11 and would find ways to downgrade the available iTunes 11 back to iTunes 10.7 in Mac OS Mavericks. The only issue with downgrading (using AppZapper and Pacifist) is that you will not be able to update/install apps from the App Store after rebooting the Mac.
    If you happen to have downgraded your iTunes in this method, then uninstall the iTunes 10.7 and reinstall iTunes 11 again - the App Store should resume its download/update function without any issue.
    Hope this helps.

  • When I use the new Pages on my iPad, I can't open it on my new computer. It tells me that I must download the new Pages to see the Pages document, but when I try to download the new pages to my computer it tells me all apps are up to date.

    When I use the new Pages app. On my IPod  to type documents, I can't open them on my new computer. It sends me a message that I have to download a newer version of pages to see the Pages document. When I try to do that it tells me all my apps are up to date and will not allow me to upgrade the pages on my iMac.
    Any suggestions?

    What level of OS X is installed on your Mac (your profile is incomplete)?
    Barry

  • Can you tell me how I can ask for help with the following Indesign question:  I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whet

    I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whether or not my JPEG files were sufficiently HI-Res for the printer.  I don't know how I did it but somehow the window has changed so that now it does not have the alphabetical/numerical/Hi-Res information.  It just shows the pages in a two page spread in numerical order.  How can I restore the window so that I will be able to view the information as I did previously.
    Your help will be appreciated,
    Don Unwin
    [Personal Information Removed]

    The pages panel is not the place where you see this information.  You can customize the Links panel to show all sorts of things, including the page number, effective and actual ppi, and whether the link is OK or needs updating.

  • Help! I am trying to use the scripts image processor in Photoshop CC.

    Help! I am trying to use the scripts>image processor in Photoshop CC. When I click on it it comes up with an error saying that it cannot find the Javascript Plug In. I have the newest version of Java installed. How do I get it to work in Photoshop. Do I have to download a separate plug in? Any help would be greatly appreciated.

    Java is not Javascript.
    Do you have a Mac or PC?
    If PC, do you have this file on your system?
    C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Required\Plug-Ins\Extensions\ScriptingSupport.8li
    If not, you've got a corrupted installation of Photoshop.  Uninstalling and reinstalling may help.
    -Noel

  • Why can't I use the function of menu item 'issue delivery output'?

    why can't I use the function of menu item 'issue delivery output' in main screen of delivery note?
    And at the same time I can't use the button of printing in main screen of delivery note.
    the main screen of delivery note I mean above is in screen of maintaining shipping data instand of the first screen of VL02N.
    TKS in advance.

    Hi,
    Because delivery will be having header level output and item level output. So if u try to print through main screen then system will not know whether it is header related or item related. That is the reason it is only print output at header level or item level but not in main screen.
    I think u may have doubt like how billin will be issued output through Main screen. Because for billing both header and item level data are same..
    Regards
    Sankar

  • I have just upgraded to the new OS X V. 10.10.3 but cannot access my iCloud Drive documents using the resident Pages and Numbers software on my MacBook Pro. Help needed.

    I have just upgraded to the new OS X V. 10.10.3 but cannot access my iCloud Drive documents using the resident Pages and Numbers software on my MacBook Pro. Help is needed to access those documents using the resident software on my MacBook Pro rather than the Beta software on iCloud.com.

    I have iCloud Drive set on the Finder sidebar and use that to open the Numbers Spreadsheet on iCloud.
    OSX 10.10.3
    Best.

  • How do I put a hyperlink in a document using the New Pages ... ?

    Using the "new" Pages;
    how do I put a hyperlink in a document ... ?
    I didn't have any problems with this using the Pages 4.2 or whatever ...

    There is a help menu
    http://help.apple.com/pages/mac/5.2/#/tand51db403

  • When I try update iMovie or Xcode I got message "Use the Purchases page to try again." [ After Security Update 2015-002]

    After updating Security Update 2015-002, apps cannot be updated in App Store () by showing "Use the Purchases page to try again."
    what should i do?
    MacBook Pro (Retina, 13-inch, Mid 2014), OS X 10.10.2 ,Yosemite

    From the Store menu, select
              Check for Unfinished Downloads...

  • Use the Updates page to install the 10.9 update or if you would like to download the full OS X installer click Continue.

    When I downloaded the OX I still have in the apple store on the OS X "download" When I click again on it I receive the following message : OS X v10.9 is already installed on this computer. Use the Updates page to install the 10.9 update or if you would like to download the full OS X installer click Continue. What does it mean "full" OS X installer?I downloaded already three times the same.

    Mac OS X 10.9.3 is the latest released version of the Mavericks operating system.
    You can see what you have installed by clicking the apple, left-side of the menu bar, About This Mac and you will see below the Apple logo the installed version of the operating system.
    If it is not 10.9.3 and you want to update to that version, then continue with the download and install.
    Or, you can simply click Software Update (below About This Mac) and the system will do that for you.

  • During the installing the FCP the massage are came "Final Cut Pro Failed to Download use the purchases page to try again" what mean by this i have to purchases again?please help

    During the installing the FCP the massage are came "Final cut pro faild to download use the purchuses page to try again"what mean by this i have pruchuse again?

    Hey Hamidpetra!
    That message is referring to your past purchases page for the Mac App Store. More information on this can be found here:
    Download past purchases
    http://support.apple.com/kb/ht2519
    Use the information in this article to find your past purchases and re-download your copy of Final Cut Pro. Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • I got message "OS X Yosemite failed to download" "Use the Purchases page to try again."

    i got message "OS X Yosemite failed to download" "Use the Purchases page to try again." when i download OS X Yosemite
    i got this message when i downloaded 869.7MB and i can't download more than that
    what should i do??

    This seems to be working for me. VPN using https://www.getcloak.com/ - 30 day free trial. Crossing my fingers since the download isn't done yet.
    I had a hunch that my ISP was the culprit. I cannot download anything from the appstore that had more than 1 gig filesize. Xcode, mavericks, yosemite. They would all stop and give the "failed to download....use purchase page..." error the moment the appstore starts downloading.
    None of the changing DNS, emptying of cache, on/off appstore, or restarting worked.
    I'm on an iMac, Maverick.

  • I got message "Use the Purchases page to try again."

    i got message "application failed to download" "Use the Purchases page to try again." when i download any application from app store
    i got this message when i downloaded 869.7MB and i can't download more than that
    what should i do??
    MacBook Pro (Retina, 13-inch, Late 2013), OS X (10.10.2)

    From the Store menu, select
              Check for Unfinished Downloads...

Maybe you are looking for

  • How do I import mailboxes into Mail v.3.5 from v.2.1.3?

    Every time I try to import even a single mailbox from my PowerBook G4 (OS X 10.4) into my iMac (OS X 10.5) using the 'mbox files' setting the new version of Mail seizes up. I'm following the onscreen instructions for mbox and accessing the mailbox fi

  • Macbook and Iphoto giving me grief!

    2 questions really........... The other day my Macbook decided to turn itself off without any warning or explanation - I was running on the battery but was nowhere near minimum power. Would not come on again until I attached power cable. This has hap

  • Video ipod data became corrupt and now wont do anything

    my video ipod 30G said it was corrupted one day which made me angry so i reset it to the factory settings took like 10 minutes to reset and now it doesnnt show up in itunes. it shows up in mycomputer but when i try to access it it just freezes up.

  • Number range generation failure

    Dear Team, While creating 57F4 challan in J1IF01, we are getting followng error "number range generation failure". Kindly suggest why we are getting this error & also the solution. Regards, Sathya.

  • AppleScript Extension Logo Blank?

    Hello, all. I have a question. My OS 9.2.2 system functions all right, but I simply have an issue sending email in Netscape 7.02. I have 4 email accounts set up in the Email client. All of the other email accounts send/receive mail fine, but I have o