Packages in webstart archive

Normally you should specify the class with the main method in a jnlp file, with the tag
<application-desc main-class="Auteursomgeving" />However, the class that contains my main method is inside a package "author". Using
<application-desc main-class="author.Auteursomgeving" />doesn't seem to work. any suggestions?

The jar file your application is in should contain the directory 'author'. So you need to jar the directory, not just the classes in it.

Similar Messages

  • UDF does not find package in imported archive

    Hello,
    as I want to use a base64 encoding method I have created an imported archive to use the package org.apache.commons.code.binary and want to use Base64 class in an UDF.
    I have created an imported archive in the same SVCW and namespsace as the UDF exists. However when executing the UDF I get the following error message:
    package org,.apache.commons.codes.binary. does not exist
    import org.apache.commons.codec.binary.*
    The import statement in the UDF is spelled correctly and the imported archive was acitvated without error.
    What could be the reason for this?

    Hello,
    I have created an imported archive in the same SVCW and namespsace as the UDF exists. However when executing the UDF I get the following error message:
    package <org,.apache>.commons.codes.binary. does not exist
    import org.apache.commons.<codec.>binary.*
    The import archive procedure you have done is correct. In your UDF check your importing statement as its not in correct syntax.
    and also check the spelling of the package. check the words i have marked with in tags.
    Regards,
    Prasanna

  • [Solved] can't enter package management in latest version of Emacs

    When I try to do something like 'package-install' or 'list-packages' in the latest version of Emacs, it refuses, complaining:
    Lisp error: (void-function package-desc-vers)
    package-desc-vers([(0 0 1) nil "Matrix themed Zone mode" tar])
    ad-Advice-package--add-to-archive-contents(#[514 "@A\303H\304\305A\306HA\307H A\310H \311\fAG\312V\205*
    Last edited by emacsomancer (2014-12-15 15:21:51)

    Do you have an older version of melpa in your load-path (e.g. .emacs.d/elpa/melpa-x.x) over-riding the built-in package management in later versions of emacs?
    If so, delete the melpa-x.x directory and restart emacs.

  • "Show Package Contents" Not Showing

    http://tinypic.com/r/2ajcrgm/7
    There is no "show package contents" option when I right click. This screenshot was on a folder. Same with .dmg etc.
    Help?
    I do have "Secrets" downloaded (extra preferances thing). Maybe there is something there I hit or turn off?

    I think you are confusing what options apply to different file types.
    A .dmg is a disk image - you access it by double clicking it and it mounts on your desktop.
    Within the .dmg you'll see a .mpkg or a .pkg - the icons look like a 3D box. This can be right clicked (control clicked) and you will see the option to Show Package Contents. (Archive.bom, Archive.pax.gz, Info.plist, PkgInfo, Resources)
    Double clicking the .mpkg or .pkg invokes the Installer and installs the resources within the package on to your machine.
    Hope this clarifies things.
    Best Wishes.

  • IDVD archive failing to capture all files

    I understand the difference between saving a iDVD project vs. creating an archive.
    I have a project that includes movie, photo and music assets. This project is archived.
    When I open this archive in iDVD and then go 'Project -> Project Info', sure enough, assets are located in the 'my project Archived.dvdproj/Contents/etc' (i.e. in the package of the archive)
    HOWEVER, one, just one photo from my iPhoto library is still located in ~/Pictures/iphoto_library !!!
    Help, why is this archive incomplete ??
    Thanks for any insights.
    PAC

    All,
    I have solved this problem myself. It turns out the the photo that would not archive correctly was corrupted. The actual file itself had some form of corruption (and iPhoto showed its 'preview' but would not open that image itself for editing).
    I deleted the photo in iPhoto, then replaced it from a backup and bingo, iPhoto could edit it and iMovie would archive correctly.
    So : if iMovie archive fails to archive a file, check carefully that this file is present and opens correctly.
    BB

  • Deploying j2ee compliant archives

    hi can any one pls guide me the various ways to deploy the j2ee compliant archives( .jar, .war., .ear)

    Hi JShankar,
    SDM is used for deploying software packages (Software Deployment Archives and Software Component Archives) that you receive from SAP.
    For other archives, you can use the deploy tool.
    http://help.sap.com/saphelp_nw70/helpdata/en/a8/fcbc3d16f39e33e10000000a11405a/frameset.htm
    SDM is also capable of doing normal deployment, however many administrators may choose to block SDM Access.
    Also SDM deployment generally cause a stop/start of J2EE engine, which is undesirable if many developers are working on the system.
    Deploy tool provides for HOT deployment or on the fly deployment without J2EE restart.
    Regards,
    Siddhesh

  • Re-Install of 10.4.6 from original DVD will not complete on MacBook Pro

    I purchased a new MacBook Pro 15" laptop around Oct 1, 2006 and I am now unable to use it.
    It came with 10.4.6 installed. I updated the system to 10.4.7 and 10.4.8 using update packages directly from the Apple site. Then I ran a Security Update to 10.4.8 and nothing has worked right since.
    I tried using Disk Utility in every way and was always able to repair with no errors found. I tried to troubleshoot various applications to see if they were the issue with no improvement. The ultimate problem was the entire system would freeze and would have to be rebooted. Sometimes the system would boot up, sometimes the apple and gear would run and then a circle with a line through it would replace the apple symbol. Sometimes I would get the dreaded blinking folder with question mark. Most of the time rebooting could eventually get you to the desktop, but the system never worked for longer than 15 to 30 minutes.
    So, I decided to reinstall 10.4.6 from the install DVD that came with my computer. I cannot get 10.4.6 re-installed. I have used disk utility to erase, repair, partition and so on and after a few tries it repairs succesfully.
    I ran the Hardware test and it says no trouble found.
    The install log ends with the following three errors:
    1. unable to copy package source file OSInstall.dist to destination reciept ...
    2. unable to copy package source file archive.bom to destination reciept
    3. Install failed: Some Files for Base System may not have been written correctly.
    I am at the end of my rope. Please help. Thanks!

    I agree...bad drive or bad controller or even a bad connection. Hardware issues on computers still under warranty should be dealt with by Apple. Even though you have already run the hardware test, there could still be a hardware problem. You could try booting from a disk repair utility like Disk Warrior but that means you would have to buy the utility and that's money you should not have to spend on a machine that is still covered by warranty.
    There is one other thing you could try and that would to try and boot the computer into "safe mode" and try everything discussed in this article:
    http://docs.info.apple.com/article.html?artnum=106214
    Also, if you have access to another Mac, you could try booting your computer into target disk mode and then run disk repair from the other computer. Also, if you computer boots into target disk mode, you can copy any vital data and files before you hand it over to Apple for repair.

  • How can I open help file (HTML or .chm) from Java Web Start (new to JAVA)

    Hi All,
    Im trying to open the help file of my application.
    When trying to access the help file from the GUI (pressing F1 for launching the help file), I'm geting the an error, something like:
    "Can't show help URL: jar:file:C:\Documents and Settings\%USER%\Application Data\Sun\Java\Deployment\javaws\cache\http\Dlocalhost\P7001\DMwebstart\RMjar-name!/com/resources/helpFiles/MyHelpFile.html"
    It seems that the file which is packed in a jar, was downloaded to the Java Web Start cache directory:
    C:\Documents and Settings\%USER%\Application Data\Sun\Java\Deployment\javaws\cache\http\Dlocalhost\P7001\DMwebstart
    The code which is activated when launching the help file is:
    try
                ResourceBundle resourceBundle = DoubleResourceBundle.getBundle("Resource", "ResourceImpl");
                RuntimeUtil.launchFile(new File(resourceBundle.getString("help.file")));
            } catch (IOException e)
                // TODO Auto-generated catch block
                e.printStackTrace();
            }where the property "help.file" is in some property file in the resource bundle named "Resource", and looks like this :
    help.file="com/trax/docs/help/global/MyHelpFile.html"
    The function "RuntimeUtil.launchFile" knows how to launch any file in its default application, and indeed it does launches the html, when giving it an absolute path to the file on my PC, as "C:\Helpfiles\MyHelpFile.html" as such:
    RuntimeUtil.launchFile("C:\Helpfiles\MyHelpFile.html");My question is :
    The application is going to be deployed on a Customer PC. How can I access the html file from the code, with a relative path and not its absolute path on the customer pc, which I can't know?
    I found these restrictions regarding web start:
    (copied from "http://rachel.sourceforge.net/"):
    *Rule 1: Java Archives only. No loose files.* All your resources have to be packaged in Java Archives (jar) if you want to have
    them delivered to the user's machine and kept up-to-date automatically by Java Web Start.
    *Rule 2: No file paths.* You can't use absolute or relative file paths to locate your
    jars holding your resources (e.g. <code>jar:file:///c:/java/jws/.cache/resources.jar</code>).
    Absolute file paths won't work because you never know where Java Web Start
    will put your jar on the user's machine. Relative file paths won't work because Java Web Start
    mangles the names of your jars (e.g. <code>venus.jar</code> becomes <code>RMvenus.jar</code>)
    and every JNLP client implementation has the right to mangle your names
    in a different way and you, therefore, can't predict the name with
    which your jar will be rechristend and end up on the user's machine in
    the application cache.Seems complex or impossible, to perform a simple task like opening a file.
    Please advise (I'm new to Java and Web Start).
    BTW, I'm working with IntelliJ IDEA 5.0.
    Thanks,
    Zedik.
    {font:Tahoma}{size:26pt}
    {size}{font}

    the follwing method i have used to open html file ...
    so to access html file i am shipping resources folder with jar file ..
    private void openHtmlPages(String pageName) {
         String cmd[] = new String[2];
         String browser = null;
         File file = null;
         if(System.getProperty("os.name").indexOf("Linux")>-1) {
              file = new File("/usr/bin/mozilla");
              if(!file.exists() ) {
              }else     {
                   browser = "mozilla";
         }else {
              browser = "<path of iexplore>";
         cmd[0] = browser;
         File files = new File("");
         String metaData = "/resources/Help/Files/"+pageName+".html"; // folder inside jar file
         java.net.URL url = this.getClass().getResource(metaData);
         String fileName = url.getFile();
         fileName = fileName.replaceAll("file:/","");
         fileName = fileName.replaceAll("%2520"," ");
         fileName = fileName.replaceAll("%20"," ");
         fileName = fileName.replaceAll("jarfilename.jar!"," ").trim();
         cmd[1] = fileName;     
         try{
              Process p = Runtime.getRuntime().exec(cmd);
         }catch(java.io.IOException io){
                   //Ignore
    can anyone give me the solution..???
    Regards
    Ganesan S

  • Deploying a CF app as WAR file

    I'd like to package an existing ColdFusion application as a
    WAR file and deploy it on a J2EE server. I've been trying to test
    this out locally without success. If you have a magic bullet,
    you're disco-superfly. If you just have a suggestion for further
    troubleshooting, you're still double cherry pie. Gruesome details
    follow... (Thanks!)
    PACKAGING:
    I've got a developer version of MX7 running on Windows XP. I
    threw together a demo CF app, "SimpleApp". In the administrator, I
    go to "Packaging & Deployment" > "J2EE Archives (.ear/.war)"
    and create an archive (SimpleApp.war).
    DEPLOYMENT:
    I've tried this on both JRun and several versions of Tomcat
    without success. On each server, I have been able to deploy a WAR
    file from a previous project created straight from Java/JSP - just
    not the one created in the CF administrator.
    JRun4:
    In the administrator, I "add" the web applications in the
    "J2EE Components" section and everything looks okay. When I browse
    to the webapp created in native Java/JSP, everything looks
    beautiful; but when I browse to
    http://127.0.0.1:8100/SimpleApp/
    I see a "403 Forbidden" error. Server log default-event.log is at:
    http://www.google.com/base_media?q=hand3802261193274630671&size=8
    Tomcat 4.1 running on J2SDK1.4.2_12:
    Native Java WAR deploys and runs fine.
    I copy SimpleApp.war to the Tomcat webapps\ folder and the
    archive is extracted successfully; but Tomcat fails to start the
    application.
    Server logs:
    localhost_log.2006-09-22.txt:
    http://www.google.com/base_media?q=hand-2475548630705385852&size=8
    stdout_20060922.log:
    http://www.google.com/base_media?q=hand-6363724281182167089&size=8
    I notice an error mentioning "Invalid <url-pattern>
    *.cfml/* in servlet mapping" so I go into the extracted webapp,
    comment out the Search Engine Safe URL mappings in web.xml and try
    again. Now get an error about not being able to find a
    configuration file flex-config.xml... Tomcat still can't start the
    webapp.
    Server logs:
    localhost_log.2006-09-22.txt:
    http://www.google.com/base_media?q=hand301238759104060090&size=8
    stdout_20060922.log:
    http://www.google.com/base_media?q=hand-8426419238544575272&size=8
    I heard that MX7 only works with Java versions through 1.4.2
    and Tomcat has it's own compatibility requirements; but I thought
    I'd try other versions of Tomcat...
    Tomcat 5.5 running on JRE1.5.0_06 and bundled SDK:
    Native Java WAR deploys and runs fine.
    SimpleApp won't start (problems similar to above).
    Tomcat 5.5 running on JRE1.4.2_12 (with compatibility patch)
    and bundled SDK:
    Native Java WAR deploys and runs fine.
    SimpleApp won't start (problems similar to above).

    Dear jarviswabi,
    Could you believe I just ran into the same problem you had in 2008, and STILL there are no documented solution to this issue.
    I am trying to deploy a simple CF code using Tomcat 7.0.20, and it just does not work!
    How did you ever resolve this error in Tomcat?  It is supposed to be pretty staright forward, but it just does not work.
    Any ideas?  been looking for days...
    Appeciate any  insight yo may have into this problem.
    Thanks!

  • XML parser not able to find encoding format of xml file with jre1.4.2

    Hi
    I am using jre1.4.2_05 and Weblogic 8.1 version and i have a problem with finding encoding format of xml file.
    I need to parse a xml file and need to find which encoding format that xml is based on that i need to change logic.
    Need to know after parsing each xml file what encoding format the xml is? Here the problem is we are using jre1.4.2_05 by default DOM \ SAX parser is not supported and i looked at few third party parser which are also don't have facility.
    But in latest jre 1.5 or jdk1.5 has this feature. Its difficult to the project to upgrade to jre1.5 or more.
    Please let me know if you have any idea about the issue.

    I had a quick look around and I think you might be able to find them in the support portal...
    SAP Support Portal > Software Downloads > SAP Software Download Centre > Support Packages and Patches > Archive for Support Packages and Patches > Archive - Browse our Download Catalog > SAP Connectors.
    Let me know if you find them.
    Regards,
    Stephen.

  • System Copy Questions R/3 4.6c  + Oracle + Solaris

    dear gurus
    goal system copy in R/3 4.6c + Oracle + Solaris
    I am doing the db export using R3SETUP (quite slow, I have optimize it using split SRT files method)
    I have questions here..
    when I do export I download latest R3szchk, R3load, R3SETUP, R3check, R3LDCTL
    I download from
    Support Packages and Patches - Archive - Additional Components - SAP Kernel -SAP KERNEL 64-BIT - SAP KERNEL 4.6D 64-BIT
    R3szchk, R3load, R3check, R3LDCTL using SAPEXEDB_2364-10001132.SAR (Kernel Part II for Stack Q1-2008)
    R3SETUP using R3SETUP_29-10001132.CAR
    source system : Oracle 8.1.7 - R/3 4.6C - Solaris 9
    my question is
    target system : Oracle 10.0.2 with patches - R/3 4.6C - Solaris 10
    later on when i do import to target system, should I use the same kernel when I do the export, or should I use the one from
    Support Packages and Patches -> Additional Components -> SAP Kernel -> SAP KERNEL 64-BIT -> SAP KERNEL 4.6D_EX2 64-BIT
    another question
    how to speed up the export ? i am stucked with bottle neck in IO, CPU usage is very low, please dont recommend me something related to hardware or disk architecture, if possible recommend me something related to Oracle parameter.
    disk IO  using IO stat showing 100% busy and service time 800-1500
    thanks !

    later on when i do import to target system, should I use the same kernel when I do the export, or should I use the one from
    Support Packages and Patches -> Additional Components -> SAP Kernel -> SAP KERNEL 64-BIT -> SAP KERNEL 4.6D_EX2 64-BIT
    Yes - use that one. It uses the Oracle instantclient instead of the old 9.2 client. Make sure you add "-loadprocedure fast" to the load options, this will enable the fastloader.
    Make also sure you install all the patchsets and interim patches BEFORE you start the data load.
    another question
    how to speed up the export ? i am stucked with bottle neck in IO, CPU usage is very low, please dont recommend me something related to hardware or disk architecture, if possible recommend me something related to Oracle parameter.
    if you disk I/O subsystem can´t deliver more than you are lost with Oracle parameters.
    Markus

  • Create PDF Utility for Safari - Documenation and Contents not in Sync

    I downloaded the acrobat_ittools_create_pdf_032613 package. The archive contains the following three files:
    document.wflow
    info.plist
    SafariCreatePDF.pdf
    The documentation in SafariCreatePDF.pdf assumes that the following files are present:
    Safari Create PDF from Web Page.workflow
    WebCapture.pdf
    I can rename the document.wflow file to document.wflow and make it a valid Automator file, but I am missing the file WebCapture.pdf, which according to the documentation creates JavaScript that needs to be executed when a web page gets converted to PDF.
    Are you planning on updating this file with a more recent and complete version of the solution?
    Thanks. 

    A new zip is now available. Thanks for your post.
    Ben
    http://labs.adobe.com/technologies/acrobat_ittools/
    http://labs.adobe.com/downloads/acrobat_ittools.html

  • Offline ICE transport error

    Hello,
    we try to transport KM content via ICE offline mode. For this, we created links to the content folders in ICE Global offer directory. With click on "complete Package" the content archive is generated.
    When we try to import the file via Content Exchange Package Upload, the following message is shown:
    "fullupdate.zip" does not exist, or file is empty; you cannot upload empty files.
    The archive definitely exists and is not empty.
    Does anybody has an idea?
    Help is highly appreciated and will be rewarded.
    Regards,
    Matthias

    Peter,
    your solution did the trick Thank you very much.
    Cheers,
    Matthias
    Message was edited by:
            Matthias Kral

  • Process and java classes

    Hi...
    My Bpel process accesses some java objects..To keep classes and projects separate I am keepin these classes in a war/ear and deploying it on oc4j...do u think the process can access the java classes in .war file..
    I know i can have the java classes along with process source and copy the libs in BPEL-INF/lib but was trying to keep the code separate..
    The process when compiled and built is packaged into .jar archive ..If we can drop this jar in an .ear package and deploy it probablythen the process can access the java classes..Can I access samples for the same?..
    Thanks
    Bhupinder

    I don't believe you can access java objects from a war/ear, at least I wasn't able to get it working.
    We have been jar'ing the objects up and placing them in C:\OraBPELPM_1\integration\orabpel\system\appserver\oc4j\j2ee\home\applib where the apps server can find them.
    Toby

  • Sap j2ee engine configuration in NWDS

    Hi,
    I am using Netweaver studio 2.0.15 for developing web dynpro application and using  Application server 7.1.
    When I try to configure J2EE engine in Netweaver studio, it is giving a message
    message saying "No system could be found under
    sapmnt."
    If i configure as remote host, server was configured but when i try to deploy the application i am getting message " Cannot determine sdm host. Please configure your engine/sdm correctly."
    Please any one help me to resolve my problem.
    Thanks in advance
    Siva

    <b><b>Hi Siva Prasad
    This is a reference for for your querry regarding SDM, You can lot of materials and descrptions by searching in this URL
    http://help.sap.com/saphelp_nw04/helpdata/en/b8/cd96edb9c8794aa362e6e8b4236a1f/frameset.htm
    <u>Software Deployment Manager</u>
    The Software Deployment Manager (SDM) is a tool with which you can manage and deploy software packages (Software Deployment Archives (SDAs) and Software Component Archives (SCAs)) that you receive from SAP.
    For More Details
    http://help.sap.com/saphelp_nw04/helpdata/en/22/a7663bb3808c1fe10000000a114084/frameset.htm
    <u>Installing a J2EE Engine</u>
    http://help.sap.com/saphelp_nw04/helpdata/en/29/f37941601b040de10000000a1550b0/frameset.htm
    <u>Integrating with the SAP J2EE Engine</u>
    http://help.sap.com/saphelp_nw04/helpdata/en/42/9ddcc9bb211d72e10000000a1553f6/frameset.htm
    Regards
    Chandran</b>

Maybe you are looking for

  • Need help installing my graphics driver in windows vista via boot camp

    New to mac so first time on forum as well. Love the Mac but i also want to get on some old games. C&C The First Decade mainly. I am currently using below. Mac mini Mid 2011 processor 2.5 GHz Intel Core it Memory 4 GB 1333 Mhz DDR3 Graphics AMD Radeon

  • Sending a binary attachment via email, looking for a more clean way

    Hi experts. I finally managed to send a binary attachment via email. Why "finally"? Never done before! Also I got to manage the "not standard" .SAP file extension, because the attachment is a transaction link. So let me explain how i did it: take SO_

  • HELP!! Macbook won't sleep/hibernate

    This is a Macbook (Intel Core Duo) purchased in August of 06. I'm new to Macs and don't know how to troubleshoot them. I need to find a solution for this problem! Problem: At times my bluetooth is working fine, but MOST of the time it says Bluetooth:

  • Can Read but Can't Write to a Database

    hi...i'm fairly new to java and have a problem w/ a database program i have written...i'm running windows xp along w/ access xp...the program i wrote works fine on my computer, however, the program is for my brother and on his computer it only reads

  • Can i purchase and install photoshop cs6 upgrade on a windows 8 pc.

    i have photoshop cs5 upgrade installed on a windows 7 pc. can i purchase photoshop cs6 upgrade from adobe and install it on a windows 8.1 windows pc.this is important because i do not  want to purchase a new pc and then find i cannot purchase and ins