Getting "Error loading archive: Couldnt read datasource" when deploying

Hi!
I believe this to be a common problem (i've had the problem with several installations) but i have searched the forums (well, not all) but haven't found any solution yet.
When I try to deploy an application i get an Exception saying:
"Fatal Error: Error loading archive: Couldnt read datasource file at file:C:/j2ee/home/application-deployments/simpleapp-app/data-sources.xml: ./data-sources.xml".
I have found a workaround to the problem, putting a data-sources.xml file into the newly created .../application-deployments/simple-app directory. But this is not a good solution...
Shouldn't the OC4J read the default $J2EE_HOME/config/data-sources.xml when there is no such file under the application specific directory?
Can anybody help me with this?
Regards
/Stefan Fdgersten

Hello!
I use JDeveloper 9i to deploy the application. I don't know how to NOT package the data-sources.xml with the EAR (with jDeveloper). But even if the file is packaged within the EAR, shouldn't it be put to the right place when deployed? Is this a problem with JDev -> OC4J or is it me?
Regards
/Stefan Fdgersten, InfoGrator

Similar Messages

  • Error loading archive: no valid header or TOC found (80040002)

    Dear Gurus,
    I had recorded a tutorial which is am attempting to edit now.
    On opening the tutorial through the editor, I get the following message:
    "The following error occured while opening the file:
    error loading archive: no valid header or TOC found (80040002)"
    I am able to edit other tutorials satisfactorily.
    I seek guidance in resolving the error and opening the tutorial.
    Regards,
    Ajay

    Hi Ajay,
    Do you have a solution for this issue?
    Regards,
    Leela.

  • After upgrading to 10.3.1 I get error -50 on startup and 1008 when I try to sign in to the store

    After upgrading to iTunes 10.3.1 I get error -50 on startup and 1008 when I try to sign in to the Store. How do I fix this?

    I got the solution from another post...
    use the Finder to navigate to /library/preferences/SystemConfiguration and delete NetworkInterfaces.plist ( you will be prompted for username and password), then reboot. You will get a message about new network interface found--just reset the network info.
    That did it for me.

  • I get error message''one file not found'' when tring to sync Ipod Nano 6th gen to I tunes. Help

    I get error message''one file not found'' when tring to sync Ipod nano 6th gen to Itunes. Help

    See:
    iTunes cannot sync... apps not determined installed on...: Apple Support Communities
    installed apps could not be determined...: Apple Support Communities

  • Get error message in 9.3.4 when try to open Court documents

    When I try open certain public documents from Court websites with Safari, the document will not load (just "spinning" in attempt to load).  With Firefox, I get an error message that Adobe Reader cannot open the PDF file.  I am otherwise able to open PDF files that I create or that are sent as attachments to me.  Using Mac OS 10.5.8.
    Tahnks,
    Michael

    very weird....have had this problem for last several weeks and have trashed and reloaded 9.3.4 reader many times, all with the same result......almost magically today after posting this, my problem has resolved itself........explain that one!

  • Installed Firefox 4 on my Mac; getting error messages upon start up and when opening photos (i.e. ebay)

    I updated to Firefox 4 and now continuously receive error messages. One example is when I'm in Ebay and click on a photo to enlarge I get the following error message.
    (JavaScript Application)
    can't create mcafee plug-in object: TypeError:
    Components.classes(cid) is undefined
    Another example is upon start up of Firefox I receive an error message but I can't make it out since its half hidden on my desktop but I have to click "ok" in order to open up Firefox.
    I'm barely learning how to use this Mac (a task in its self), but now I have these error messages? Can I just go back to my older version of Firefox to make these error messages go away?
    Thanks, JR.

    Thank you very, very much. This was my very first time trying to solve a technical issue on my Mac... your advice worked great. I disabled all the add-on apps and it solved my issue. Don't know if I should have disabled all but it seemed to work... Thanks again for the advice.

  • HT4528 getting error 4005 on my iphone 4 when i tried updating it to ios 7

    i am getting error 4005 when trying to update it to ios 7 and now im getting the itunes icon to connect to usb

    If you were using ios7 beta prior to the update and your now stuck in recovery mode, others have figured it out and ive talked with senior advisement on the matter to flag this issue. All you need to do apperently is go to a different computer and "recover" your iphone to ios 7 through that. A lot of us developers have had this issue.

  • Keep getting error message DF001, DF037... when i try to install aps. whats up??

    Exit Code: 7
    Please see specific errors below for troubleshooting. For example, ERROR: DF001, DF037,D ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 13 error(s)
    ----------- Payload: Adobe Premiere Pro CC 7.0.0.0 {505FF1AC-E7F5-4462-BBA7-08900E7E9EEF} -----------
    ERROR: DS015: Unable to read symlink target of source file "/Library/Application Support/Adobe/Installers/adobeTemp/{505FF1AC-E7F5-4462-BBA7-08900E7E9EEF}/Assets1/univers al/App/Adobe Premiere Pro CC.app/Contents/Frameworks/Frontend.framework/Versions/Current"(Seq 1947)
    ERROR: DF037: Unable to delete directory "/Users/dereksheehan/Library/Preferences". Check and correct folder & parent directory permissions and then try again.(Seq 38)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryV2Command(Seq 38)
    ERROR: DF037: Unable to delete directory "/Library/Preferences". Check and correct folder & parent directory permissions and then try again.(Seq 37)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryV2Command(Seq 37)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Premiere Pro CC/Adobe Premiere Pro CC.app/Contents/Required". Try setting correct permissions to the specified file/folder or parent folder, so that admin has rights to modify it.(Seq 33)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryV2Command(Seq 33)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Premiere Pro CC/Adobe Premiere Pro CC.app/Contents". Try setting correct permissions to the specified file/folder or parent folder, so that admin has rights to modify it.(Seq 33)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 33)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Premiere Pro CC/Adobe Premiere Pro CC.app". Try setting correct permissions to the specified file/folder or parent folder, so that admin has rights to modify it.(Seq 33)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 33)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Premiere Pro CC". Try setting correct permissions to the specified file/folder or parent folder, so that admin has rights to modify it.(Seq 33)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 33)

    Dereksheenhan21 your file permissions under your current User account have become compromised.  Please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html for information on how to adjust your User account's file permissions.

  • Firefox getting error loading sound from server

    I'm using the following code to load some 30 sec soundbytes
    from a server. Safari works without error most of the time. When it
    fails it gives me a "webKiterrorDomain" message.
    Firefox just won't load anything ever.
    None of the 10 soundbytes refuse to load all the time with
    Safari. And the order in which I click on them doesn't seem to
    matter. Any at random will probably will load but 20% chance it
    might not.

    This is what I tried at the very first. It didn't work well
    so I tried the totalBytes / getBytes thing which seemed to work
    better. Then, because it didn't always work, I thought that perhaps
    there were times when the total bytes didn't exactly equal what was
    downloaded (can this be true?). So I gave it a range of error of 10
    bytes by using the Math.abs() difference between the two. This
    worked okay but still not always. Currently, the first click, after
    clearing the cache in Firefox, usually doesn't play the sound.
    Clicking the same mc again usually does play the sound. Sometimes
    if I click sound "A" (doesn't work) then I click sound "B" (doesn't
    work), then I click "A" again it works. Sometimes clicking "A"
    twice (works) then click "B" once (works). Other sounds might work
    on the first try but often the first click on an mc after a cache
    empty will fail.
    When I used the
    IF (success) {
    my_sound.start();
    earlier I found that this sometimes never got to be true. I
    found this complaint elsewhere on the Internet.
    Is this a Flash bug or browser bug? Safari is inconsistent as
    well but yields a "webKitErrorDomain203", though perhaps for a
    totally unrelated reason.. don't know.
    Anyway.. any work around would be appreciated.
    If you want to check it for yourself go to:
    http://www.laurasiersema.com
    then navigate to "music"
    thanks, chop

  • Get error 10240 in labview 6i Evaluation when I run my VI's from lv5.1

    I want to run my VI's - created in Labview 5.1 - in Labview 6i Eval.The device PCI 6024E is detected in MAX, but I get "Error-10240 occurred at AI Group Config
    Possible reasons:NI-DAQLV: The driver interface could not locate or open the driver".
    Ni-Daq version 6.9
    Operating System: Windows 98
    CPU: Pentium
    RAM: 64 MB
    The test examples work with the device.

    Hello,
    I think you posted your question in the wrong forum...this forum is for questions pertaining to the National Instruments product "Measure for Windows". In order to get the maximum exposure to an appropriate audience for your question, I recommend you post in the Measurement Hardware >> Multifunction I/O category.
    Nevertheless, I will venture a guess as to why you are seeing this problem. If you brought your VIs over to LabVIEW 6i in an LLB, then you may have saved all the DAQ VIs (AI Config, AI Start, etc.) into that LLB. You should not have done that. LabVIEW needs to use its own copies of the DAQ VIs (in the vi.lib folder), not the ones in your LLB. There is a utility on the NI website that will go through an LLB and remove any vi.lib VIs from
    that LLB...you should use this tool on your LLB, then re-load your VIs. I searched ni.com for "removing vi.lib" (without the quotes) and it was the first link that came up in the search results. After using this tool, your VI will then link to the DAQ subVIs in vi.lib and I imagine it will run without errors at that point.
    If this suggestion does not help, you will probably get the best suggestions from the aforementioned Multifunction I/O forum.
    Good luck, and have a nice day.
    Darren
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • I've just downloaded OS X Lion and everything is working including e mail but keep getting error message of Safari quit unexpectedly when trying to access it.when accessing Safari

    I have just downloaded OS X Lion and everything is working apart from Safari. I get error message saying that Safari has quit unexpectedly. Internet connection appears fine. What's the problem?

    Welcome to Apple Communities
    http://www.reedcorner.net/understanding-upgrade-nightmares/

  • I keep getting error message file not found 404 when I attempt to combine files

    I have used the adobe cloud many times to combine files, today it is not working. Just keep getting error message.
    Please advise!
    Thanks,

    Hi iabrad,
    I'm sorry to hear that you're running into problems with the Acrobat.com website today. Let's start with this:
    Log out, clear the browser cache, and try logging in to https://cloud.acrobat.com/combinepdf
    Try a different web browser. For a list of supported browsers, see System requirements | Acrobat.com
    If that doesn't do the trick, let us know (and please tell us what browser/OS you're using, and if the error occurs regardless of what files you try to combine--if you even get the far in the process!).
    Best,
    Sara

  • I keep getting error messages "server not found " but when I press "try again" the page loads immediately, you know why ? thanks

    I´ve checked the wireless and internet connections and they work perfectly. I belive thas has something to do with the browser. I work with a Mac Book 2.1 ghz and Mac OS 10.5.8 .Thanks for all your help.

    check out this article: [http://support.mozilla.com/en-US/kb/server%20not%20found Server not Found]

  • Getting error while Archiving the IDOCS

    Hello,
    i am using the archiving object IDOC.
    I am getting an error "Infostructure SAP_IDOC_001 contains error. When running the production Mode.
    I tried to run the same in Test mode there was no error.
    The error is occurring in the delete program.
    I tried to debug it and figured out that while selecting the Archive file to delete it is giving the error.
    The IDOC has been written successfully to the archive file path.
    Not able to figure out as to why it is giving error when running in Production Mode
    Thanks
    Nishant

    if SAP gives an error "Infostructure SAP_IDOC_001 contains error", then I would focus on this.
    Of course this error can only happen in production mode, as SAP will only then update the infostructure, it does not update infostructures in test mode.
    use SARI, click customizing, enter Infostructure SAP_IDOC_001 and check if you can activate the info structure without errors.
    check if OSS note 1358690 is of some help. Otherwise open a message at SAP directly.

  • Getting errors loading flat file into BI 7 from application server

    We are able to load the file via local (from the PC) successfully but when we try and load the exact same file from the application server we get an error:
    Error 'The argument '151.8470707' cannot be interpreted as a number' when assigning application structure, line 478, contents "11 140604     1000 8110 902070    P..."
    What is really strange if we split the file into 2 we are able to load each of the sections successfully from the appliation server.  We have a need to load the whole file from the application server and don't wish to split it up.  Can anyone tell me how to make this work??

    what I should do is the following:
    open the 3 files you have using notepad and compare line 478 in the original file (that had the error) with the corresponding line in one of those 2 other files. what are the differences? the answer to this question might give you a clue.
    and if you don't see any differences try to cut and paste that one line with the error to a new 4th file and load this one and see if the error reoccurs (I think it will).
    regards, André

Maybe you are looking for

  • Messages in Outbox (email) will not send.  Getting error message.....

    Lately I cannot get any messages in my email outbox to send (pics I take, then forward through email).  I keep getting an error message, "A copy has been placed in your mailbox.  The sender address "xxxx" was rejected by the server."  It is the same

  • Blue ray disc

    I need to know if my system will play blue ray disc ? Or burn them also ? This question was solved. View Solution.

  • How do I look at HTML & CSS of InDesign files

    I'd like to change the HTML and CSS of my pages. How can I do this? Can I do this with snippets? How can I see the HTML and CSS of my various InDesign files? Is is possible?

  • Update feature doesn't

    This applies to In Design CS4, Illustrator CS4, Photoshop CS2, Acrobat Professional... but the Adobe Update service doesn't.  It simply tries and rejcets on each program right through the list, so all my really expensive new programs are still as fir

  • Roll back to previous version of Premiere CC

    This might help someone. I was having allot of issues after I updated to 7.2 with audio dissolves and playback so I reverted back to 7.1. This is how to do it: Follow links on this thread on how to download version 7.0.1: http://forums.adobe.com/mess