JNLP mystery. Invisible application-desc/ tag.

Hi all,
I have been trying everything I found on the forums to fix this, but now I am stumped.
Below is my JNLP file. When I launch it. I get the Missing Field Exception. Web Start
can't see my <application-desc/> tag. Anybody knows what happens here? Please help.
Thank you!
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SwingSet2 Demo Application -->
<jnlp spec="1.0+" codebase="http://xp2/roster" href="roster.jnlp">
<information>
<title>Roster 1.0</title>
<vendor>myself</vendor>
<homepage href="http://xp2/roster/index.php"/>
<description>A roster program for basketball announcers.</description>
<description kind="short">A roster program for basketball announcers.</ description>
<icon href="http://xp2/images/roster.gif"/>
<offline-allowed/>
</information>
<security><all-permissions/></security>
<resources>
<j2se version="1.4"/>
<jar href="roster.jar" kind="main"/>
</resources>
<application-desc main-class="roster.RosterApp"/>
</jnlp>

Hello,
Thanks for the response. I removed kind="main" as suggested.
But the same error still appears like below.
An error occurred while launching/running the application.
Category: Launch File Error
The following required field is missing from the launch file: <jnlp>(<application-desc>|<applet-desc>|<installer-desc>|<component-desc>)
It doesn't seem to see the application-desc that I have in the file.
That is so strange.

Similar Messages

  • Use of installer-desc tag and the ExtensionInstallerService of the jnlp

    I have an application where, the properties file is outside the jar file. Each client machine has it's own copy of properties file. At some instances the user has to update the properties file ( to him it's a config file). This is ok with the system when i was not using Web start. Now with web start, i want to give the properties file to the user along with the download. ie. I don't want to post it explicitly, it should go with the installation(ie. download), but place it on a specified location on the client machine. I've seen the <installer-desc> tag, where i've seen there's someother jnlp file also related to the main jnlp file. I couldn't get the correlation. Can anybody help me giving me some info. about <installer-desc> and the ExtensionInstallerService of the javax.jnlp package. Please!! it's very urgent.
    Thanks
    Aparna

    As you have proberbly seen, I have a problem with the return from a <installer-desc> but here is how I did it.
    main.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="file or url goes here" >
    <information>
    <title>Main launcher title</title>
    <vendor>Company name</vendor>
    <offline/>
    </information>
    <resources>
    <j2se version="1.2+" />
    <extension
    name="Native installer"
    href="native.jnlp">
    </extension>
    <jar href="main.jar" main="true"/>
    </resources>
    <application-desc main-class="unic.app.launch"/>
    </jnlp>
    native.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="file or url goes here/">
    <information>
    <title>Native installation</title>
    <vendor>Company name</vendor>
    <offline/>
    </information>
    <resources>
    <j2se version="1.2+" />
    <jar href="native.jar" main="true"/>
    </resources>
    <installer-desc main-class="unic.native.install" />
    </jnlp>
    unic.native.install makes all connections with the ExtensionInstallerService (progressbar/heading/status) and installs native stuff. Works all fine, but when all is installSucceeded(false), JWS shows the error "Installation failed" ?? Don't see why..

  • JNLP-run JavaFX application hangs in full screen on Mac

    Hi all,
    I am on Mac OS X 10.9 running JDK 7u45.
    I have the JNLP file below:
    <?xml version='1.0' encoding='UTF-8'?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/jnlpTester">
    <information>
    <title>Title</title>
    <vendor>Vendor</vendor>
    </information>
    <resources><jfx:javafx-runtime version="2.1+"/></resources>
    <resources><jar href="lib/jnlpTester.jar" main="true"/></resources>
    <application-desc main-class="application.JNLPTester"/>
    <security><all-permissions/></security>
    </jnlp>
    The jar file (jnlpTester.jar) contains the following JavaFX application:
    package application;
    import javafx.application.Application;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.scene.control.ListView;
    import javafx.stage.Stage;
    public class JNLPTester extends Application {
        public static void main(String[] args) {
            launch(args);
        @Override
        public void start(Stage primaryStage) throws Exception {
            Parent root = new ListView<>();
            primaryStage.setTitle("Hello World");
            primaryStage.setScene(new Scene(root, 300, 275));
            primaryStage.show();
    The application starts without any problem (see http://tinypic.com/r/29glonq/5). However, when I click on the full screen icon, the application does not go to full screen and the interface hangs (see http://tinypic.com/r/2mwizk/5). When I run the application from my IDE (eclipse) there is no such problem (see http://tinypic.com/r/2gsleep/5).
    Would anyone have any idea about this?
    Many thanks in advance,
    Hayrettin

    No it's simple, but it's not exactly what you are looking for. What I use this for is just to be able to watch a video like an .avi on my tv while surfing the web or writing a document. I hook up the computer to the tv via HDMI and then set the screens up in extended mode(not mirroring) then just drag the VLC window to the TV screen and choose VLCs full screen once the video has started. The problem is it still acts like one monitor so if you do a desktop or full screen swipe on the MBP both screens swipe resulting in the video missing from the TV. So, as I said not excatly what you want, but works to some extent.

  • Application module tag security

    Hi, two questions:
    1.Can I use datasources.xml to define the username and password attributes of the application module tag?
    2.It is said that "when a username/password is defined in the JDBC connection named by the configuration you do not need to use username/password attribute" in the application module tag help. I could not do it. It always want me to write the username and the password values in the jsp. How can I do it?
    Thanks a lot...

    Tolga,
    I'm not quite sure I understand your question. There are 2 ways of creating a connection from a DataSource. First, if in your data-sources.xml file you have configured the data source fully, you do not need to provide a username and password. The section below is from the default data-sources you get on installation:
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="tiger"
              url="jdbc:oracle:thin:@localhost:5521:oracle"
              inactivity-timeout="30"
         />
    Note that the username and password are supplier. You can get a connection by using:
    Context c = new InitialContext();
    DataSource ds = (DataSource)c.lookup("jdbc/OracleCoreDS");
    Connection conn = ds.getConnection();
    This will give you an instance of the connection object for the SCOTT/TIGER schema, on port 5521 on the oracle database (i.e. whats defined in the default data-source.xml).
    To pass the username and password programatically, do not provide the username and password lines in the data-sources.xml, and when you look up the connection use:
    Connection conn = ds.getConnection("scott", "tiger");
    So passing in the username and password.
    Rob Cole
    Oracle

  • Problem on Mac OS [ColorSync/Profiles/EW-sRGB    Tag 'desc': Tag size is not correct. Could not be fixed.]

    Problem on Mac OS [ColorSync//Profiles/EW-sRGB
    Tag 'desc': Tag size is not correct. Could not be fixed.]
    My screen contrast has gone awry and the ColorSync Utility is unable to fix the problem. In searching the wisdom of the web, I found a response from 2009 on another forum, which referenced this forum. But the thread is gone. The information was in regard to the Color Profiler. Can anyone help? Has anyone had to deal with this? I found a lot of people looking to fix this, but not a lot of follow-up replies with answers. I have tried reinstalling the file from a back-up and re-booting, but to no avail. Some have suggested a problem with the Epson software. But without any detail, I don't know what to look to change. Any help, advice, cures, etc. would be greatly appreciated. Thanks!

    Sorry, I thought you asked what course of action to take.
    It means the data for that "tag" in the profile is not the size expected - I know, that's obvious too. The 'dmnd' tag contains the manufacturer's description.
    http://www.oyranos.org/wiki/index.php?title=DeviceSettings_in_ICC0.2
    You could try opening it in ColorSync Utility and editing the tag.

  • Weblogic-application.xml and prefer-application-packages tag issue.

    Hi All,
    To solve one of the issue I have mentioned already in
    http://forums.bea.com/bea/thread.jspa?threadID=300000394 post.
    I am planning to use prefer-application-packages tag in weblogic-application.xml but it says XML is invalid and shows following error in workshop 9.2.1.
    Severity     Description     Resource     In Folder     Location     Creation Time     Id
    2     cvc-complex-type.2.4.a: Invalid content was found starting with element 'wls:prefer-application-packages'. One of '{"http://www.bea.com/ns/weblogic/90":library-ref, "http://www.bea.com/ns/weblogic/90":fair-share-request, "http://www.bea.com/ns/weblogic/90":response-time-request, "http://www.bea.com/ns/weblogic/90":context-request, "http://www.bea.com/ns/weblogic/90":max-threads-constraint, "http://www.bea.com/ns/weblogic/90":min-threads-constraint, "http://www.bea.com/ns/weblogic/90":capacity, "http://www.bea.com/ns/weblogic/90":work-manager, "http://www.bea.com/ns/weblogic/90":application-admin-mode-trigger, "http://www.bea.com/ns/weblogic/90":session-descriptor, "http://www.bea.com/ns/weblogic/90":library-context-root-override}' is expected.     weblogic-application.xml     wivApp/EarContent/META-INF     line 22     June 13, 2007 9:12:51 AM     191
    This is my weblogic-application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-application.xsd">
    <wls:application-param>
    <wls:param-name>webapp.encoding.default</wls:param-name>
    <wls:param-value>UTF-8</wls:param-value>
    </wls:application-param>
    <wls:library-ref>
    <wls:library-name>beehive-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>wls-commonslogging-bridge</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>weblogic-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:prefer-application-packages>
         <wls:package-name>org.apache.log4j.*</wls:package-name>
    </wls:prefer-application-packages>
    </wls:weblogic-application>

    Hi Hitesh,
    Got the same problem.
    What I did to fix it was to switch both declarations :
    Before :
    http://www.bea.com/ns/weblogic/90
    http://www.bea.com/ns/weblogic/90/weblogic-application.xsd
    After :
    http://www.bea.com/ns/weblogic/90/weblogic-application.xsd http://www.bea.com/ns/weblogic/90
    And the Workshop error's gone.
    Note that I don't think it would have prevented your filtering class loader from working.
    Regards

  • When I start Firefox, I get this alert message "[JavaScript Application] XML tag name mismatch (expected META)". What is this message?

    My firefox updated today automatically, and then when it started up, it displayed this alert message:
    "[JavaScript Application] XML tag name mismatch (expected META)"
    I can press OK and my browser then works just fine and I can go to websites and what-not. I have not run across any problems or anything. I am just wondering what this alert message means and if I should fix it?
    I tried closing the browser and pulling it back up, and the same message was displayed. Also, if I open a new window the same message is displayed. But it is only displayed right when I open the browser, and does not show up anytime while using the browser.

    If you click the Home button from another page, does the error repeat? If so, what is your home page?
    When Firefox starts, it fires up a lot of add-ons. A standard diagnostic for add-on issues is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    Do you still get the message? If not, one of your add-ons might not be fully compatible with Firefox 14 or might need an update.

  • Dynamic JNLP and JWS Application Manager

    All,
    I have a Swing application that communicates to the server via Servlets. I have packaged the entire application into a WAR file and I am using JWS to distribute to the users.
    The "main" method of my application accepts two parameters, one of which is dynamic based on information from the web server. To be able to calculate the value of that parameter, I decided to dynamically create and serve my JNLP file through a servlet. The parameter is then passed into the application via the <argument> tag in the served JNLP file.
    That part works great. However, once the application is installed, it doesn't show up in JWS Application Manager. My best guess is because there is not a "physical" JNLP file for reference.
    Can anyone out there confirm or deny my guess? And, more importantly, can anyone give me an idea on how to keep the dynamic JNLP file and get it to install in the JWS Application Manager?
    Thanks!

    Got it fixed. Apparently, the JWS Application Manager "view" setting wasn't correct. Once it was working, the application was showing up fine.

  • JNLP & User Authentication (Application Portal Dilemma)

    There is an interesting article on JavaWorld under the Applied Java Topic about distributed applications and Java Web Start. Recently I have also become a big fan of rapid thick-client deployment using the JNLP framework. However, I (and many others I suspect) have come across a road-block implicit to distributed application (non-applet) development. There is no ability to preserve a session.
    Now in Jonathan Simon's article, in presents the case for "Application Portals" in which one could easily set up an authentication servlet and during run-time construct a list of verified applications. This implementation seems straightforward and but I am confused on one simple point for which I am in "dying-need" of clarity. The JNLP simply provides a link and protocol to deploy and update the client-side application. Upon initial execution or launching, the "link" is unknown making this solution great. However, once launched the link can be determined and the application can be executed without the use of the authentication portal (or if an off-line implementation is also deployed - launched locally).
    Is there a current design pattern to circumvent this limitation? How can I pass session information or even arguments to the client-application when launched? What happens when the application is launched via the desktop integrated icon? At first glance, I would expect the solution to be to invoke a WebService from the application upon execution of main. This service would then authenticate, but still would require its own interface for data (user/pass) capturing - thereby nullifying the entire point of setting up an authenticating application portal.
    Any suggestions or clarity would be well received

    I'm not sure if this will help you guys or not, but there is a guide for deploying JNLP applications from a servlet here: http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloadservletguide.html
    Perhaps you can use this to dynamically specify the JNLP file. If a user accesses the server from the plain URL the servlet assigns a new session id, and places this in the codebase or href of the JNLP file it sends to the user. Later when the user runs the JNLP application from app manager, or an icon, the servlet will see the decorated codebase/href and act accordingly.
    Anyway, like I said, I'm not sure if this is exactly what you are looking for, but I think it has been used in the past for session maintenance.
    As to why JNLP doesn't support portal tech... these two technologies were invented at the same time. Initially they were somewhat competing ideas.
    For the future it might be possible to make JNLP more portal friendly, but in that case, Sun needs to have a better idea from the users what is needed. Simply saying, "make it better" is just to vague. Be specific, and who knows what good ideas might be picked up. (Another possibility is to contribute your own ideas for improvement through http://www.java.net/).
    Mike.

  • Passing arguments from jnlp file to application

    Hi,
    I am using a jnlp file to launch an application. This is working perfectly. Now I want my application to get some custom properties for making an rmi connection . The only place where I must specify this is in the jnlp file which is dynamically generated. The dynamically generated JNLP file contains:
    <property name="abc.rmi.adapter.host" value="localhost"/>
    <property name="abc.rmi.adapter.port" value="5050"/>
    <property name="abc.rmi.adapter.servicename" value="abc/RMIClientAdapter/"/>
    This does not work.
    However, according to sun only certain types of properties are supported by jnlp for security reason. Is there any way to get over this and have my custom properties. Any help will be appreciated.
    Thanks,
    dasappan

    If you are trying to use RMI, you probably need all-permissions allready.
    for applications requesting all-permissions, all of the properties set in the jnlp file will be set as system properties before the applications "main" is called.
    If you are not using <security><all-permissions/></security>, then only specific trusted properties, plus any begining with "javaws." or "jnlp." will be allowed.
    For properties you just need to pass to yourself, just append "jnlp." to the front of them.
    /Andy

  • A JNLP based Java application is not running on JDK/JRE 1.7

    I am planning to upgrade users to java 7 up40. The generated command line that I am calling via the Process is working find when I run using jre1.6 but it doesn't work when I call javaw via jre1.7. Very strange that if i update xbootclasspath to use 1.5 or 1.7 it works but it doesn't work jre1.6.
    As suggested in other forums I updated the version in jnlp to 6 and also cleared the stderr and stdout from the process error stream and input stream in separate thread but still the thread is locked in FileInputStream.readBytes and doesnt move futher with jre1.6 as the classbootpath.
    any help on this regards will be helpful.

    btw this happens only if user does not have java 7 installed on their machine. As the app tries to install and run and so picks up javaw to java 7 and jre 1.6 in xbootclasspath.

  • Background invisible application

    Dear Programmers,
    Is there any method using which I can get the other windows text?
    Let�s say a user is typing something in some window. Let�s say Microsoft Word.
    I want my application should run in background and collect the information.
    This can be done using Key listener. But the problem is �focus�. Whenever user clicks on other window, my application loosing focus and hence deactivates. Also requestFocus() method proved useless here. Because if my application will remain always on top, then how the user will use other application??
    What I did is:
    addFocusListener(new FocusAdapter()
                   public void focusLost(FocusEvent e)
                        requestFocus();
                        toFront();
    So my question is, is there any method using which I can get foreground typed information by running my application in the background that also invisibly?? Please let me know that�
    Thanks in advance
    Yours truly,
    Thobais Rieper

    No, it is not possible. Go write your spyware in some other language.

  • Mystery invisible layers in AE CC

    When using 3D layers and the camera in AE CC, some layers suddenly turn invisible. They're not gone, as the program can still sense them, they're just not visible. The status is still the same after restarting AE. What have I missed here???

    Without screenshots of the comp and timeline as well as proper technical information nobody can tell. Could be a technical issue, could be a combination of settings, could be something else. We simply can't know based on your generic description.
    Mylenium

  • Mysterious color application confusing me!

    Hello,
    I have just recieved an Indesign file from a client that I'd like to apply some edits to. The image consists of a couple of black and white images layered on top of each other. They only look semi-transparent in Indesign, although their Opacity is set to 100%. I have the linked files in my posession and they are solid black and white.
    Somehow, the old designer applied a color to these black and white images. I can't see where she might have done that. I'd like to be able to change the colors if need be.
    Anyone have any ideas?
    Thanks,
    Sarah

    Indesign cannot edit the color of the imported images
    Not totally true. At least for black & white images or grayscale images ( e.g. TIFF) one could always apply a fill color.
    @Sarah – so select one of those images with the direct selection tool (the white arrow) and see if a color swatch is applied in the color swatches panel for fill.
    You also could set a black & white or grayscale image to "overprint". This might  also be the case.
    See this screenshot (German UI of InDesign CS5.5):
    A screenshot of the selected image could help. "Swatches" panel and "Attributes" panel open.
    Uwe

  • Passing arguements to webstart app using jnlp arguement tag

    Hi,
    I have in jnlp file
    </resources>
        <application-desc main-class="com.Frame">
            <argument>x</argument>
            <argument>y</argument>
        </application-desc>then in application I have
    public static void main(String args[]){
            String x = args[0];
            String y = args[1];The value of x gets passed but the value of y is null
    Anyone have any ideas of the problem ?
    Thanks

    Yes, thanks
    I had an error in the code before hand that I fixed and it was picking up the old jnlp.
    In
    Control Panel - java - general - Temporary Internet Files - click view and delet old jnlp files

Maybe you are looking for

  • Extended notifications and UWL

    Hi Friends,   I am using Extended notifications for sending notifications to lotus notes. In the notification we can maintain shortcut to open the workitem in SAP GUI. But the users use only UWL to access work items.So Is there any way to maintain th

  • Top level navigation

    Hi All, I got a role A which has a couple of iviews B, C , D now my requirement is to get rid of the role to be displayed in TLN and instead display only the iviews B C and D. Any help would be rewarded with points. Regards, DJ

  • Unable to create Import Declaration Prior to GR in GTS 10.1

    Hello Experts need your help Unable to create Import Declaration Prior to GR in GTS 10.1 All Plug-In settings are in place All configurations in GTS are in place Till yesterday I was facing the issue of IBD not getting transferred to GTS. I was getti

  • How to solve :  java.lang.OutOfMemoryError: Java heap space

    Dear all, Am using Jdeveloper 11.1.1.3 with weblogic10... I keep getting out of memory error while working on the application , here is the exact error message that i copied from the server log : ####<28/11/2010 GMT 09:17:58 ص> <Critical> <Health> <j

  • I have a 2009 i mac 27" with 10.6.7, i'm having trouble downloading 10.6.8

    my mac want download 10.6.8 it keeps saying to restart but the window with the download want come on. it just restarts with no download.