ClassLoader in JAR file not loading config file properly

Hi all,
I have an application that I am going to deploy using JavaWS, and everything works fine except for one little hitch. I have a configuration file, nvacconfig, located at NVAC.jar/config/nvacconfig. I'm trying to load this file into my application using a ClassLoader, but it does not seem to be working.
I have a method from a certain class that loads the configuration file. The class is not important, as it is part of an API that I cannot alter. This class has a load(String file) method, that loads the specified configuration file with a String argument. This works fine when I run my application from the command line and when the configuration file is not located in the JAR, but I need to include this configuration file in my JAR, so I can run my app in the JWS sandbox.
To load the file when it is NOT inside a JAR, and is simply located at config/nvacconfig, I just use:
id.properties.load("config/nvacconfig");and it loads the configuration file, nvacconfig.
When I include the file in my JAR and try to load it using a ClassLoader, it does not seem to work, and the load method cannot find the file. This is how I am trying to accomplish this:
ClassLoader cl = this.getClass().getClassLoader();
URL url = cl.getResource("config/nvacconfig");
String file = url.toString(); //I have also tried String file = url.getFile();
id.properties.load(file);This does not work, and I'm not sure why.
Is there something I am doing wrong? Is this the wrong way to go about this?
Any advice would be greatly appreciated.
Thanks,
Dan
Message was edited by:
Djaunl

try this:
import java.io.*;
import java.util.jar.*;
import java.util.zip.*;
public class ExtractFromJAR {
     public void extractFileFromJAR(String dest, String fileName) {
          try {
               String home = getClass().getProtectionDomain().getCodeSource().getLocation().getPath().replaceAll("%20",
               JarFile jar = new JarFile(home);
               ZipEntry entry = jar.getEntry(fileName);
               File efile = new File(dest, entry.getName());
               InputStream in = new BufferedInputStream(jar.getInputStream(entry));
               OutputStream out = new BufferedOutputStream(new FileOutputStream(efile));
               byte[] buffer = new byte[2048];
               for (;;) {
                    int nBytes = in.read(buffer);
                    if (nBytes <= 0)
                         break;
                    out.write(buffer, 0, nBytes);
               out.flush();
               out.close();
               in.close();
          } catch (Exception e) {
               e.printStackTrace();
     public static void main(String args[]) {
          new ExtractFromJAR().extractFileFromJAR(".", "file.txt");
}

Similar Messages

  • Imported Jar file not loaded at run time ORA-105100

    Oracle 9iDS forms Version 9.0.2.9.0
    Oracle 9iAS Release 2
    I have imported java classes from a jar file into my form. I have it working in client server. Added the entries to the classpath in the default.env and system environment variable for development of the form and for execution.
    Moved the jar file, form and testing html to the application server. Modified the classpath in the default.env file. Tested the form. Got the ORA-105100 error. MetaLink note 261650.1 states that error frm-40735 When-Button-Pressed triger raised exception ORA-105100 if calling a java function from a jar file. Cause: Jar file not loaded at run time. Solution: add in your default.env CLASSPATH parameter your jar file including the whole directory of the jar file location. That has been done and the OC4J has been restarted. Still get error.
    Oracle support has not been able to give me much help as of yet. Does anyone have any further ideas, or documentation that I can read to help get this working?
    Thanks in advance for any assistance that is offered.

    Hey people any clues?

  • Tomcat6 does not load class files from WEB-INF/lib/myjarfile.jar  WHY???

    I have placed my jar file in c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jar
    But, after restarting tomcat6, when i try to import the class file contained in the myjarfile.jar in a servlet, it says
    ProcessFileUpload.java:4: package test.test1 does not exist
    import test.test1.*;
    ^It clearly tomcat's class loading problem.
    As i unzipped my jar and placed the packagefolder structure to
    c:\tomcat6\webapps\my-application\WEB-INF\classes\testand it works perfectly.
    Anyone knows its workaround? please suggest if any configuration changes is required in tomcat or so.
    Thanks.
    ---Sujoy

    Thank you gimbal2 . There was error in creating the jar file myjarfile.jar.
    But, now I have created it again and placed it in place
    c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jarand tried to use one on the Class file included within the jar to compile my servlet. But, still I am getting error at servlet compilation time. I want to place executable jar files in
    c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jar and compile my servlet and execute the servlet.
    I DO NOT WANT TO unzip the jar, placing all unzipped files to
    c:\tomcat6\webapps\my-application\WEB-INF\classes\ folder and comiple my servlet and execute the servlet. But, I am failing to user WEB-INF\lib\ folder facility....please help me why i am not getting class files from WEB-INF\lib\ folder.
    If you please see the small code bit and tell me any possible error that would be very helpful.
    Step 1: my library java file MyClass.java
    package test.test1;
    public class MyClass {
         String myName = "Default return string value";
         public void setMyName(String varName) {
              this.myName = varName;
         public String getMyName() {
              return this.myName;
    }Step2 : Creating jar file of my library class files
    C:\jdk1.6\bin>jar cvf myjarfile.jar test
    added manifest
    adding: test/(in = 0) (out= 0)(stored 0%)
    adding: test/test1/(in = 0) (out= 0)(stored 0%)
    adding: test/test1/MyClass.class(in = 452) (out= 296)(deflated 34%)
    adding: test/test1/MyClass.java(in = 230) (out= 140)(deflated 39%)
    C:\jdk1.6\bin>Step3 : Double checking the created jar file content by listing its content
    C:\jdk1.6\bin>jar tf myjarfile.jar
    META-INF/
    META-INF/MANIFEST.MF
    test/
    test/test1/
    test/test1/MyClass.class
    test/test1/MyClass.java
    C:\jdk1.6\bin>Step4 : Placed myjarfile.jar to
    c:\tomcat6\webapps\my-application\WEB-INF\lib\Step5 : Restarted standalone Tomcat6 in my Windows XP SP2.
    Step6 : Created a simple servlet LibFolderTest.java within my-application\WEB-INF\classes\ folder with code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import test.test1.*;
    public class LibFolderTest extends HttpServlet {
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              MyClass mc = new MyClass();
              out.println(mc.getMyName());
    }Step7 : Tried to compile my servlet LibFolderTest.java and got the following error
    LibFolderTest.java:4: package test.test1 does not exist
    import test.test1.*;
    ^
    LibFolderTest.java:11: cannot find symbol
    symbol  : class MyClass
    location: class LibFolderTest
                    MyClass mc = new MyClass();
                    ^
    LibFolderTest.java:11: cannot find symbol
    symbol  : class MyClass
    location: class LibFolderTest
                    MyClass mc = new MyClass();
                                     ^
    3 errorsThe above servlet compilation error on Step7 is telling me that myjarfile.jar is not loaded by Tomcat6 or not available for use when compiling servlet. I want to use myjarfile.jar from within WEB-INF\lib\ folder but I can not. please help.
    ---Sujoy

  • Issues using multiple load-config files with ant

    Hello,
    Not sure if this is the correct place...
    I am creating an ant build script to compile our flex application. I am trying to use the default flex-config by doing <load-config filename="${flex.sdkPath}/frameworks/flex-config.xml"/> and project specific config file add the datavisualization module and any other libraries we might need in the future. I am trying to do this as I don't want to modify the flex-config.xml
    The issue I keep running into is I get a compiler error saying "unable to locate specified base class 'spark.comonents.application..". if I place the custome load-config file above the adobe default flex-config it gives errors stating it the "SeriesSlide" type
    <mxmlc file="${project.sourcePath}/FBApp.mxml"
             output="${project.output.binaryPath}/${project.output.fileName}.swf"
             locale="en_US"
             static-link-runtime-shared-libraries="false"
             static-rsls="false"
             use-network="true"
             accessible="false"
             debug="true">
             <load-config filename="${flex.sdkPath}/frameworks/flex-config.xml"/>
             <load-config filename="C:/Hudson/.hudson/jobs/FB 2.0 Flex/workspace/FBApp/FB-config.xml"/>
             <source-path path-element="${flex.sdkPath}/frameworks/libs"/>
             <source-path path-element="${project.sourcePath}"/>
             <library-path dir="${flex.path}/sdks/${flex.sdkVersion}/frameworks/locale/en_US"
                includes="*"/>
             <library-path dir="${project.libraryPath}"
                includes="*"/>
             <keep-as3-metadata name="Protected"/>
          </mxmlc>
    the following is my FB-config.xml
    <?xml version="1.0"?>
    <flex-config>
       <runtime-shared-library-path>
    <path-element>C:\Program Files\Adobe\Adobe Flash Builder 4 Plug-in\sdks\4.1.0\frameworks\libs/datavisualization.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/datavisualization_4.1.0.16076.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>datavisualization_4.1.0.16076.swz</rsl-url>
    <policy-file-url>.</policy-file-url>
       </runtime-shared-library-path>
    </flex-config>
    It seems to be that the first "load-config" ant runs into is the only one that gets used. When looking around the internet I have multiple cases of where people say they have successfully used multiple load-config files.
    This one in particular.
    http://flashdevelop.org/community/viewtopic.php?f=13&t=5629&view=previous
    If I had to guess on what was wrong I believe my FB-config.xml file is incorrect but I can't find an example of anyones custom configuration file.
    Any guidance would be apprecaited.

    I am embarrassed to say that your solution answered my question.
    I was about 10 min away from rewriting my Ant script to just use the mxmlc.exe directly instead of the mxmlc ant tag. I kept running into the -flex-config+=YourConfig.xml for the command line option but never saw the xml variant.
    http://blog.flexexamples.com/2008/12/21/using-a-custom-flex-configxml-file-in-flex-builder -3/
    http://livedocs.adobe.com/flex/3/html/help.html?content=configuring_environment_3.html
    Does Flex have any documenation that shows all the different tags that are available like the Ant documenation?
    http://ant.apache.org/manual/Tasks/delete.html
    Thanks at ton.

  • Loading config files

    Is there a "standard" way to load config files?
    I remember reading something about ResourceBundler or something to that effect, but can't find that thread now.
    Essentially i don't want to have to put "../../conf/myconf.xml" in my code. I also believe that some folks have suggested to simply throw the path to the conf file in my CLASSPATH and that should do the trick, but i'm not convinced that the CLASSPATH is the right place to put such paths.
    Help?
    Anybody?
    Thanks.

    Relative paths are a good solution, especially if you allow for the specification of the "root" or "home" directory of your application via a System property. Then you can look up the System property, and traverse your relative paths based on that.
    - Phil

  • Xml file not loading from different server

    Hi,
    I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
    http://www.sainters.net/newsletters/2010/flash_test_membership2.html
    http://www.eckul.com/number.xml
    <?xml version="1.0"?>
    <inventors>
        <person>
            <name>892</name>
            </inventors>
    function loadXML(loaded) {
    if (loaded) {
    _root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    _root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    name_txt.text = _root.inventor;
    comment_txt.text = _root.comments;
    } else {
      trace("file not loaded!");
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("http://www.eckul.com/number.xml");

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • Safari not loading .css files / hanging page load

    A bit of an odd one this...
    I'm having a few issues a couple of websites in that the page takes an age to load - and when (if) it does, the CSS file hasn't loaded, so the page is unstyled.
    One page is http://www.liverpoolfc.tv - the main page and the advert page before it both have the same issue.
    From the activity report, this is because the browser is not completing the download of the file http://www.liverpoolfc.tv/lfc.css - although this will download fine if I download the file not as a part of the site.
    The (Safari) activity report shows that the page's .css file is stalling, in this case at 8.0KB out of 8.6KB - this is consistent each time I try to load the page.
    The problem occurrs in both Safari (3.2.1) and Firefox (3.0.6) on Mac OS X 10.5.6. It also happens with the current version of WebKit and Camino. The computer is up to date on all other relevant patches, including the recent Security Update, Java Update 3 and Flash.
    I'm experiencing this problem with another website, again with the .css file not loading.
    Similarly, I have two computers (both the same versions of software) and the problem is consistent between them.
    What I've tried so far...
    - resetting Safari
    - deleting the cookies manually
    - using a proxy server
    - starting Safari in Rosetta
    - using a copy of Safari without any user preferences (via the System Admin login)
    None of these have made a difference. However, given that this is a problem across Safari, Firefox etc., I suspect this must be an issue in a shared component.
    Any thoughts?

    1. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    2. From the menu bar, select
               ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Delete All. Close the preference pane. Test.
    3. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • Troubles with xmp files not loading...

    I'm having troubles with xmp files not loading with images but are present in the image folders. does anyone know why this is happening and if there is a way to fix this. Also when trying to load the xmp individually they are grayed out and unable to load. I have tried this on different machines (Macs) and still no luck. Any help would be greatly appreciated in this issue.

    > The information contained in the XMP file is stored in the DNG file so there is no need for a separate file.
    Aww, yuck!! That's a real drag...
    When editing lots of files (yesterday's shoot produced 8GB) I back everything up to off-line storage and then, after doing all my edits and crops in ACR, I only have to copy over the small XMP files which takes no time at all.
    So if I re-edit the DNG with ACR I have to re-copy ALL the files again to the off-line storage.
    I used to sometimes even save 2 versions of the xmp files when I needed 2 different crops of the same images, such as doing a wide screen 'cinema' crop for a corporate client's Intranet presentation of their event, as well as more standard crops to be used for their newsletters.
    Guess I won't be using DNG any more..
    Thanks for the help Kees :-)
    Russell

  • SQL Server 2012 Express - Could not load the file or assembly 'Microsoft.VisualStudio.OLE.Interop

    Windows 7 Home Premium, SP1
    64-bit
    I just installed SQL Server 2012 express - Express with Advanced Services (contains the database engine, Express Tools, Reporting Services, and Full Text Search),
    file name -  SQLEXPRADV_x64_ENU.
    Opening SQL Server Management Studio causes the error -
    "Could not load the file or assembly 'Microsoft.VisualStudio.OLE.Interop,
    Version=7.1.40304.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
    system cannot find the file specified."
    Do I need to install another file? Did I download the wrong version?
    Any suggestions? Thanks for any help.

    Hello,
    The issue may occure when the installation of your SQL Server is not a complete or a successful one. Did you try to repair or reinstall the SQL Server Express?  You can also try to install
    Service Pack 1 for SQL Server 2012
    to check if the issue presists.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • External w3d file not loading once in the server

    Hi,
    i have my director file that loads external files in w3d
    format, but they are not loading once i upload them in the server,
    they load on my local computer, but they stop loading once in
    the server,
    I have done some research, and I found out that there have to
    be some 'correct mime types' you can read this thread here:
    http://director-online.com/forums/read.php?3,19629
    my question is: How do I change these mime types in the
    server? or what should i do to make my w3d files load?

    Hi,
    First check your extension names it most be ".w3d" and not
    ".W3D" or ".w3D". Second your shockwave 3d files must to be on a
    folder called "dswMedia" for security reasons on the server. Any
    external file you need for your movie online most to be there.
    At last, before you send any command to your loaded .w3d file
    inside your movie be shure to check it´s member estate, if you
    tray to do something with it and isn´t ready this generate
    problems or simply does nothing halting your movie.
    Have a nice day.

  • I can not load RAW files from my nikon d810

    I Have a problem Reading RAW files from my nikon d810

    Thanks,
    Joop
    Op 26 jul. 2014 om 17:40 heeft Rikk Flohr <[email protected]> het volgende geschreven:
    I can not load RAW files from my nikon d810
    created by Rikk Flohr in Photoshop Lightroom - View the full discussion
    https://forums.adobe.com/search.jspa?q=D810
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6585986#6585986
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Lightroom by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Dreamweaver widget spry .js files not loading

    Problem with spry .js files not loading on index.html whats wierd is it works on other servers but not on other one, is there any js restrictions on the server, links the same, Is it;
    1. useing site root to lnk .js? buggered if I know! But really need to fix this, and all other widgets I have on the site are fine.
    2. Some one suggested there should also be a SpryWidgetBase ? whats that about?
    3.Is my DOCTYPE  ok?
    As I said here it is fine http://www.tompriceshs.wa.edu.au/Publish/ and its the exact same copy! as http://www.tompriceshs.com.au/ but not working here as you will see.
    Your greatness is required yet again! Please.
    Skip

    These are the first lines of the working SpryWidget.js
    // SpryWidget.js - version 0.16 - Spry Pre-Release 1.7
    // Copyright (c) 2009. Adobe Systems Incorporated.
    // All rights reserved.
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions are met:
    //   * Redistributions of source code must retain the above copyright notice,
    //     this list of conditions and the following disclaimer.
    //   * Redistributions in binary form must reproduce the above copyright notice,
    //     this list of conditions and the following disclaimer in the documentation
    //     and/or other materials provided with the distribution.
    //   * Neither the name of Adobe Systems Incorporated nor the names of its
    //     contributors may be used to endorse or promote products derived from this
    //     software without specific prior written permission.
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    // POSSIBILITY OF SUCH DAMAGE.
    (function() { // BeginSpryComponent
    and this is the same for the not working JS
    / SpryWidget.js - version 0.16 - Spry Pre-Release 1.7//// Copyright (c) 2009. Adobe Systems Incorporated.// All rights reserved.//// Redistribution and use in source and binary forms, with or without// modification, are permitted provided that the following conditions are met:////   * Redistributions of source code must retain the above copyright notice,//     this list of conditions and the following disclaimer.//   * Redistributions in binary form must reproduce the above copyright notice,//     this list of conditions and the following disclaimer in the documentation//     and/or other materials provided with the distribution.//   * Neither the name of Adobe Systems Incorporated nor the names of its//     contributors may be used to endorse or promote products derived from this//     software without specific prior written permission.//// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE// POSSIBILITY OF SUCH DAMAGE.(function() { // BeginSpryComponent     if (typeof Spry == "undefined" ||
    My guess is that the latter has been cottupgwd on the way up. Sorry, corrupted.
    To prove the theory, simply link SpryWidget.js from ..wa.edu.au to ..com.au as in
    <script type='text/javascript' src='http://www.tompricehs.wa.edu.au/Publish/Spry-UI-1.7/includes/SpryWidget.js'></script>
    Gramps

  • Newbie: could not load keystore file (password may be incorrect)

    I'm getting the error in the subject.
    Here's the command I used to sign it:
    adt -certificate -cn mycertificate 1024-RSA mycertificatefile.p12 ps
    Here's what I do next:
    adt -package -storetype pkcs12 -keystore mycertificatefile.p12 myTest.air myTest.xml myTest.html
    I then use the password "ps" when it asks for the password.  This is what it spits back to me.
    password: ps
    could not load keystore file (password may be incorrect)
    usage:
      adt -checkstore SIGNING_OPTIONS
      adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <country> )? <key-type> <pfx-file> <password>
      adt -help
      adt -migrate SIGNING_OTIONS <air-file-in> <air-file-out>
      adt -package SIGNING_OPTIONS <air-file> <app-desc> FILE_ARGS
      adt -prepare <airi-file> <app-desc> FILE_ARGS
      adt -sign SIGNING_OPTIONS <airi-file> <air-file>
      adt -version
    SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )?
    FILE_ARGS: <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))*
    I do indeed have myTest.xml and myTest.html files in the folder I'm running this in.
    Any suggestions as to how I might be able to fix this and proceed, would be highly appreciated. Thanks.
    Jason

    I had the same problems but when I executed the adt commands from bin-debug folder it works....

  • Reader will not load pdf files

    my adobe reader will not load pdf files. I tried un-installing and re-downloading the reader. same thing it won't work. It works on my other computer

    The operating system is Windows 7. I get error message "there is no email program to perform the requested action". I get same error for local C: drive, jump drive, online firefox or microsoft browser. same problem.
    I fixed the problem by un-installing adobe xi and re-downloading adobe x. Its working great. adobe xi may work OK on windows 8. I have a laptop with Windows 8. I will be trying that tomorrow. I will send you a message.
    Lightman6770

  • JDEV 10.1.3  XML Editor does not load XML file

    I am trying to edit a large (300MB+) xml file with JDEV 10.1.3 running on a Windows XP Pro workstation with a 2.8 ghz processor and 1GB of memory. The XML file has application data in it. The file loads just fine into the Oracle database using the XML Developer's toolkit so I don't thing there is anything wrong with the XML.
    I'm finding that the XML editor does not load the file. Many minutes elapse, then JDEV appears to simply give up - JDEV is no longer busy. There's no XML data to edit - that window is empty. There are no error messages displayed.
    I'm new to JDEV so I need to know if there is an error log file I should examine.
    BTW, other XML editors (XML Spy, Stylus Studio, etc) simply run out of memory and lock up the machine - it appears they are tryign to convert the XML file contents into 32-bit unicode in memory, build a list of pointers to impose a DOM-like structure, and then load their editor.

    Do you really want to manually edit the 300MB file? how much scrolling will you need to do to get to the last row?
    In any case it is likely that JDeveloper also runs out of memory - you can try running the [jdev-root]\jdev\bin\jdev.exe file and see if you get any error message in the log window.

Maybe you are looking for

  • Target is in broken state. Reason - Disabled target

    Hi , Could any one help , EM showing this message , but agent is fine , In Log , I found this errors , 2008-08-21 03:54:19 Thread-4133356928 Error parsing /apps/oracle/product/10.1.2/db/sysman/admin/metadata/oracle_webcache.xml, this metadata file wi

  • Splitting PDF makes part 1 too big

    I can only upload a maximum of 5MBs to a particular website but I have a 9.2MB PDF to upload. I would like to split it into two equal sized parts or at least no part bigger than 5MBs. I am using Acrobat 9.3.2 and even if I split the file into 6 parts

  • Spry Image Slideshow

    I am having an issue with the widget Spry image slideshow-Basic (1,0), when i preview the slideshow it worked perfectly, once i have uploaded it to the server the slideshow doesn't load, it just loads the images in a line below eachother. When i open

  • Cannot open .jsp files from browser

    Hi! I cannot open .jsp files form the browser.(Some sample jsp files I downloaded open without any problem, only the ones I added, don't- they're in the same directory, with their java files in the web-inf folder.) I have jdk1.2.2,jswdk1.0.1,jsse1.0.

  • Notifications to a responsibility or role?

    Hello, We are in a multi-org environment. I have set the HZ User Creation Workflow Administrator role item attribute as SYSADMIN. I would like to send notifications to a responsibility which in turn will send an email to the users of the responsibili