Java Web Start application doesn't run in Tomcat

I successfully did a Java Web Start example for me to learn then I tried another one where I encountered an error:
This is what Tomcat 6.0.18 says. The deploy is successful but when I try to run the web start application
with this htmlcode
<A href="http://localhost:8080/ConvertorValutar/app/launch.jnlp">I get this error witch leads me to think that it can't find the jar correct ?
type Status report
message /convertorvalutar/
description The requested resource (/convertorvalutar/) is not available.Appendix:
This is how I am doing the JAR
jar cfvm convertorvalutar.jar myManifest2.mf Java*.class IRata*.class The myManifest2.mf is
Main-class: JavaWebStart_Convertor witch is the main class
This way I am doing the WAR:
del *.war /F /Q
jar cfv convertorvalutar.war app/* WEb-INF/*This is the correct directory structure
&#9474;   faWar.bat
&#9474;   convertorvalutar.war
&#9474;
&#9500;&#9472;&#9472;&#9472;app
&#9474;       ConvertorValutar.jar
&#9474;       launch.jnlp
&#9474;
&#9492;&#9472;&#9472;&#9472;WEB-INF
    &#9474;   web.xml
    &#9474;
    &#9492;&#9472;&#9472;&#9472;lib
            jnlp-servlet.jarThis is the web.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<!-- Standard Action Servlet Configuration (with debugging) -->
<web-app>
     <servlet>
          <servlet-name>JnlpDownloadServlet</servlet-name>
          <servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
     </servlet>
     <servlet-mapping>
          <servlet-name>JnlpDownloadServlet</servlet-name>
          <url-pattern>*.jnlp</url-pattern>
     </servlet-mapping>
</web-app>
</web-app>This is the jnlp:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://localhost:8080/convertorvalutar/app">
<information>
     <title>Convertor Valutar</title>
     <vendor>remus.dragos</vendor>
     <description>Simple Java Web Start Example</description>
</information>
<resources>
     <j2se version="1.5+"/>
     <jar href="ConvertorValutar.jar"/>
</resources>
<application-desc main-class="JavaWebStart_Convertor"/>
</jnlp>Where is the problem?
Edited by: remus.dragos on Dec 9, 2008 7:14 PM

I did checked the names again and I found that the makeJar.bat had an "issue".
It missed the del *.jar and I had 2 uppercase letters like ConvertorValutar, instead of convertorvalutar.jar.
After that I rebuild the war and deployed and it works :)
Thanks.

Similar Messages

  • Java web start application runs too slow...

    Hello,
    I am new to Java Web Start. I have created a java web start application and when i enable web start from local Execution, then it works perfectly well. But when i upload it on server and then download the application, then it is too too slow...i mean it takes minutes to get the output on clicking some button....my jnlp file is as under:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <jnlp codebase="http://(web server code base)" href="launch.jnlp" spec="1.0+">
    <information>
    <title>ERD</title>
    <vendor>Deepika Gohil</vendor>
    <homepage href="http://appframework.dev.java.net"/>
    <description>A simple java desktop application based on Swing Application Framework</description>
    <description kind="short">ER Deign Tools</description>
    </information>
    <update check="always"/>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.5+"/>
    <jar href="ERD_1_2.jar" main="true"/>
    <jar href="lib/appframework-1.0.3.jar"/>
    <jar href="lib/swing-worker-1.1.jar"/>
    <jar href="lib/jaxb-impl.jar"/>
    <jar href="lib/jaxb-xjc.jar"/>
    <jar href="lib/jaxb1-impl.jar"/>
    <jar href="lib/activation.jar"/>
    <jar href="lib/jaxb-api.jar"/>
    <jar href="lib/jsr173_api.jar"/>
    <jar href="lib/ant-contrib-1.0b3.jar"/>
    <jar href="lib/jaxb-impl.jar"/>
    <jar href="lib/jaxb-xjc.jar"/>
    <jar href="lib/FastInfoset.jar"/>
    <jar href="lib/gmbal-api-only.jar"/>
    <jar href="lib/http.jar"/>
    <jar href="lib/jaxws-rt.jar"/>
    <jar href="lib/jaxws-tools.jar"/>
    <jar href="lib/management-api.jar"/>
    <jar href="lib/mimepull.jar"/>
    <jar href="lib/policy.jar"/>
    <jar href="lib/saaj-impl.jar"/>
    <jar href="lib/stax-ex.jar"/>
    <jar href="lib/streambuffer.jar"/>
    <jar href="lib/woodstox.jar"/>
    <jar href="lib/jaxws-api.jar"/>
    <jar href="lib/jsr181-api.jar"/>
    <jar href="lib/jsr250-api.jar"/>
    <jar href="lib/saaj-api.jar"/>
    <jar href="lib/activation.jar"/>
    <jar href="lib/jaxb-api.jar"/>
    <jar href="lib/jsr173_api.jar"/>
    </resources>
    <application-desc main-class="erd.screen1">
    </application-desc>
    </jnlp>
    I dont understand the reason. Could you please help me out.
    Thank you,
    Deepika Gohil.

    Check your web server's access logs to see how many requests web start is sending for each jar. After you've loaded the application the first time, for each subsequent launch, if you've got everything configured right, you should only see requests for the JNLP file and maybe some gifs because web start should load everything else out of the cache (if you're using the version-based download protocol). Or if you're using the basic download protocol, then you might see requests for each jar file, but even in this case, if your web server is prepared to evaluate the last-updated attribute for each jar request and for jars that have not changed, respond with no actual payload and a header value of Not-Modified, then that should run almost as fast.
    You might also want to consider changing the "check" attribute of the "update" element from "always" to "background" for a couple of reasons. It should allow your app to start sooner (but this means that you might have to launch once or twice after an update is applied to the web server before the update shows up on the workstation). Also, my impression is that "always" is broken and prevents web start from ever checking to see if your jnlp file has been updated if you launch your app from a web start shortcut - launching from a browser is less likely to have this problem, depending on how often your browser is configured to check for updated resources.

  • Java Web Start application failing on my user account

    Hi All,
    I've been tearing my hair out over this for a while and haven't been able to get anywhere wiht it. I've finally cracked and decided to post a plea for help in here.
    Basically, I have a web start application that will not start under my user profile but will under a new account I created. If I try and start it from the terminal with javaws I get "Bus Error" and that's all. Double clicking it gives me a crash dialoge box and the details can be seen here:
    http://pastebin.com/m77b1111f
    As I said before, running it in the other account works fine as does "sudo javaws /path/to/app.jnlp" but I really don't want to have to do that every single time.
    I've deleted the JavaCache folder as well as any ~/Library/Preferences/java.plist all without any joy. Also, I'd like to add that there are a number of other Web Start apps that run without any problems.
    Any ideas?

    Thing is, if there was corruption of something that was system wide, it wouldn't work under a different profile, right?
    Unpredictable as to how lomg it would work on a new account.
    Is this usually the case for a safe boot?
    Yes, it runs fsck_hfs -fy on the whole drive, dumps several caches & so on, the next boot will also take longer than usual as it rebuilds caches & so on.

  • Java Web Start Application surprisedly does not start anymore based on new JRE1.7.0_45

    Hi everyone,
    we have to maintain a self-developed Java Application which is running based on JRE1.5.0_51 (x64). Our recent client machines have JRE1.7.0_40 (x64 too) installed in addition to the mentioned (and needed) JRE1.5.0_51 (x64).
    Everything was fine up to the point where we tried to install the newest JRE1.7.0_45 (x64) as the new version for doing the web start magic. The result is that our application (which is/was unchanged!) does not launch anymore. The strange thing is that we do not get any StackTrace, Exception or something else like this.
    The startup process simply hangs :-(
    Nothing has changed (application itself, firewall, network settings, hardware) apart from the new JRE version. It's reproducible at will. If I install JRE1.7.0_40 (x64) the application starts, if I install JRE1.7.0_45 (x64) the application hangs.
    I can say for sure, that in both cases (*_40 AND *_45) Web Start is able to do the synchronizing job and to launch the application base on the correct JRE1.5.0_51 (x64).
    My guess is that in case of an installed JRE1.7.0_45 (x64), the application hangs when it tries to connect to the database (Oracle 11g) via JDBC.
    I found a little hint in the Web Start Console. Therefore I had to switch the trace level of the console to 3 (which includes security, network and basic)
    In case of an installed JRE1.7.0_40 (x64) - which leads to a running application - I will receive the following output:
    Java Web Start 10.40.2.43
    JRE-Version verwenden 1.5.0_51-b10 Java HotSpot(TM) 64-Bit Server VM
    security: Istrusted: http://PKS-Server/jnlp2/advise_office.jnlp true
    avawsApplicationMain     3798 DEBUG root                : get Service: com.sun.jnlp.BasicServiceImpl@3b8e609b  fileName: connection.properties
    network: Cacheeintrag nicht gefunden [URL: http://PKS-Server/jnlp2//connection.properties, Version: null]
    network: Verbindung von http://PKS-Server/jnlp2//connection.properties mit Proxy=DIRECT wird hergestellt
    avawsApplicationMain     3803 INFO  root                : 'Alex2 connection.properties' wurde vom WebServer gelesen
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    avawsApplicationMain     4488 DEBUG root                : get Service: com.sun.jnlp.BasicServiceImpl@3b8e609b  fileName: connection.properties
    network: Cacheeintrag nicht gefunden [URL: http://PKS-Server/jnlp2//connection.properties, Version: null]
    network: Verbindung von http://PKS-Server/jnlp2//connection.properties mit Proxy=DIRECT wird hergestellt
    avawsApplicationMain     4492 INFO  root                : 'Alex2 connection.properties' wurde vom WebServer gelesen
    Connect OK => application starts.
    In case of an installed JRE1.7.0_45 (x64) - which leads to a hanging application - I will receive the following output:
    Java Web Start 10.45.2.18
    JRE-Version verwenden 1.5.0_51-b10 Java HotSpot(TM) 64-Bit Server VM
    security: Istrusted: http://PKS-Server/jnlp2/advise_office.jnlp true
    avawsApplicationMain     3805 DEBUG root                : get Service: com.sun.jnlp.BasicServiceImpl@25a41cc7  fileName: connection.properties
    network: Cacheeintrag nicht gefunden [URL: http://PKS-Server/jnlp2//connection.properties, Version: null]
    network: Verbindung von http://PKS-Server/jnlp2//connection.properties mit Proxy=DIRECT wird hergestellt
    avawsApplicationMain     3810 INFO  root                : 'Alex2 connection.properties' wurde vom WebServer gelesen
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    network: Verbindung von socket://PKS-Server:1521 mit Proxy=DIRECT wird hergestellt
    These last "network:" log entries will never stop. This will lead to an infinite loop which results in a great memory leak. I have to kill the process via windows task manager in order to get rid of it.
    Does someone out there has the same problem? Are there any new additional security issues which prevent my client to establish the database connection on port 1521?
    Any other ideas?
    Thanks in advance for any hint on this issue!
    Regards,
    Alex

    Resolution: We still were not able to solve this issue! The only way to get out of this is to install the JRE1.5 as the x64 variant. In this case no switching from 64-bit to 32-bit is needed and everything is on track again.
    But this is still strange and unexplainable :-(

  • First Java Web Start download doesn't update, second time does

    I'm using Java Web Start with our application. This release we upgraded to java 1.5 from 1.4. Now I have a few PCs, not all, that do not get updates the first time they launch the application. But when the launch it the second time they get the download. The jnlp didn't change between releases? Any suggestions? I'm not using lazy loads, in fact I'm using the default which should be eager.
    Thanks.

    Hi,
    I have similar situation. At the machine is installed Java 1.6 u1. Setup first version of application. After deploy second version of application and run application start update, but console show that application use old packages. At the same time main package is uploaded? I'd try to use <update check="always"?> but there are no positive result.
    At the same time then installed Java 1.6 u2, all works fine.
    Any suggestion, how it could be resolved, without Java 1.6 u2 installation?
    Thans, Kirll.

  • Java Web Start applications and Gatekeeper

    As more of our customers upgrade to Mac OS X 10.8 or later or purchase new machines we've had to deal with helping more of them work around Gatekeeper for our Java Web Start deployed applications. Many discussions found on the web show the confusion that surrounds this technology and how it interacts with Web Start apps. Most "solutions" suggest various security changes like allowing apps downloaded from anywhere. The one we most often employ is to control-click the JNLP file and choose Open. Then the dialog has an option to "install" the application anyway.
    My take-away from the discussions has been that Gatekeeper is looking for what it considers to be executable code, including JNLP files and Java applets, to be signed via codesign which is stored as an extended HFS attribute and as a result is not transferred over HTTP unless the file is wrapped into some bundle like xip or in a disk image (dmg). Neither of these are a click-and-run experience and move me from the realm of Web Start deployment to just wrapping it up as an Apple app bundle.
    Before OS X 10.8 (Mountain Lion) was released, Scott K published on the Talking Java Deployment blog an article titled Java applications and Gatekeeper where he suggested the best possible user experience comes from creating an app that is bundled with Java and signed with an Apple Devloper ID using the codesign tool. (Note this is not the same as the code signing from jarsigner in the JAR/META-INF. The article ends, edited, with a statement that Gatekeeper does not apply to command-line tools like java, javac, javah and so on. It has been my experience that it does seem to apply to javaws or whatever is used on the Mac to launch a Web Start app from a JNLP file. It is as if Apple has said they don't trust the Java security model for downloaded dynamic code and are adding an extra restriction that seems to severely limit the "click-and-run" functionality of Web Start or applets.
    Is there anything I can do to get a JNLP file to "just work" for Mac end users like it use to before 10.8 / Gatekeeper?
    Is there anything in the works from Oracle to fix this issue?
    Jacob

    Probably not the case here, but considering it is a development machine it is something to check. The symptoms you describe are exactly what happens when you setup JWS applications to be remotely debugged, and specify suspend=y. In that case, before the application launches, it waits for Eclipse (or some other development environment) to connect to it. I do this all the time and what happens before Eclipse attaches to the process is exactly what you describe. Check the JAVAWS_VM_ARGS to see what VM parameters are being used.
    Jake

  • Java Web Start 6 doesn't work since today

    Since today we can't use Java webstart 6
    when we want to start our company program it cames following error
    n-az10095:Commands vef$ javaws
    Java Web Start splash screen process exiting ...
    Can not find message file: No such file or directory
    I have reinstalled java6 several times and often reboot between the steps
    it didn't fixed the problem.
    we can't update to java web start 7 because our company programm doesn't support it.
    So a lot of people can't work at the moment.
    We have the same problem on macs running osx 10.7.5 and osx 10.8.2
    Please help!

    yabbanoname wrote:
    See also https://discussions.apple.com/thread/4760961
    Your answer isn't correct.
    The problem is the locale setting.
    Try
      LANG=C javaws

  • How to count number of Java Web Start application downloads?

    Hello,
    The title says it all. Is there a reliable and secure way to get the number of times my application jars have been downloaded?
    Reason: I am trying to determine whether a business model that charges (say) 1 cent, each time a jar is downloaded, is viable.
    thanks,
    Anil

    Hello,
    The title says it all. Is there a reliable and
    secure way to get the number of times my
    application jars have been downloaded?Absolutely, but this will have to be done at the server level. Each time a request for the JNLP file is made, simply log it. But again, I don't think you can/would do this in Java so it's server-specific regarding implementation.
    Reason: I am trying to determine whether a
    business model that charges (say) 1 cent, each time a
    jar is downloaded, is viable.
    thanks,
    AnilWell, I guess you could log the IP that made the request, because you don't want to charge someone twice if they crash and reload in 5 minutes, right?

  • Java web start security dialog with Java 7 update 51

    I build a Java Web Start application signed with a valid certificate.
    When I star the application the security dialog appear correctly as show in this figure
    http://www.java.com/en/img/download/trusted_signed.jpg
    My issue is about the "do not show again" checkbox.
    If the attributes href are present in the jnlp tag of the jnlp file the checkbox appear.
    If the attribute are not present, the checkbox doesn't appear and the run needs to be confirmed every time.
    (Example:
    <jnlp spec="1.0+" codebase=
    "http://docs.oracle.com/javase/tutorialJWS/samples/deployment/webstart_ComponentArch_DynamicTreeDemo"
    href="dynamictree_webstart.jnlp">
    This is a problem because my jnlp file is under a password protected directory and if href is specifed, the Java Web Start application try to retrieve it as the other resources. ( result in access denied because only the browser session is authenticated and the run fails)
    The documentation at Deploying a Java Web Start Application said:
    The codebase and href attributes are optional when deploying Java Web Start applications that will run on at least the Java SE 6 update 18 release or later. You must specify the codebase and href attributes when deploying Java Web Start applications that will run with previous releases of the Java Runtime Environment software.
    What is the right code? With href or without?
    Is this a BUG or a feature?
    How can I show the "don't show again" checkbox without having to specify the href attribute?

    From the documentation at JAR File Manifest Attributes for Security
    If the Application-Library-Allowable-Codebase attribute is present and matches the location from which the RIA is started, then a single host is listed in the Location field for the prompt and the option to hide future prompts is provided.
    This issue is also discussed here: Java Web Start security dialogs with Java 7 update 51 - Stack Overflow

  • Java Web Start doesn't run by clicking on the link, how can I fix it?

    Hello,
    I've been trying to make a Java Web Start application, I finished everything, but when I click on the link which is connected to the jnlp file, it only displays the XML code in the explorer instead of running the program. But if i download the jnlp file and double click it, it starts the Java Web Start. Anyone can tell me how to fix this?
    I thought may be JRE installation, but I tried to click on some sample on the web, it works fine for other Java Web Start application, but not mine.
    Thanks you.
    Kit

    Does your webserver know about JNLP? You need to map the .jnlp extension to "application/x-java-jnlp-file".
    See the Web Server Setup section of http://java.sun.com/developer/technicalArticles/Programming/jnlp/

  • Error while running Java Web Start in JDK 1.5

    I have been running an application using Jboss3.2 in JDK1.4.2_09. The Java Web Start application ran perfectly then.
    Now, I am running Jboss3.2 with JDK 1.5.0_11. While some applications (HTML client and some Java Web Start applications are working correctly) are working correctly, this particular Java Web Start application fails.
    General Tab:
    An error occurred while launching/running the application.
    Title: Server_Security
    Vendor: df
    Category: Download Error
    Bad MIME type returned from server when accessing resource: http://localhost:8080/webapp/SampDB1/Server_Security/application/javassist.jar - null
    Exception Tab:
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:617)
         at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(DownloadProtocol.java:884)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:698)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:662)
         at com.sun.javaws.Launcher.downloadResources(Launcher.java:1032)
         at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:375)
         at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
         at com.sun.javaws.Launcher.run(Launcher.java:165)
         at java.lang.Thread.run(Thread.java:595)

    You appear to be using a 1.4.x program on a file belonging to 1.5. Check your path variable, it's probably the cause.

  • ¿Does exist any tablet which runs java web start?

    I want to buy a tablet pc, for example, Samsung Galaxy, Ipad... or similar, for me it's not important the brand.
    ¿do you know if exists any tablet which can run a java web start application?
    My application is compiled with jdk 1.4 and starts by a simple .jnlp web file.

    799037 wrote:
    Thanks friend.
    Then, ¿does anybody know a particular model of tablet pc that runs JVM (and therefore JWS)?Read what I say: you need a tablet which runs a normal Windows or Linux OS. You don't run the JVM, the JVM has implementations for specific operating systems. So that is your criteria: it must be able to run such an OS. Once you have that, you can install the Java runtime on it.
    Generally that will be a laptop/netbook which can be transformed into a tablet by turning the screen. Check your favorite computer web shop for possibilities, there are a few. Not really a Java question anymore either.

  • Java console doesn't launch when starting Java Web Start app from Firefox

    Updated my Linux desktop from RHEL to Fedora 12 with resultant upgrade of Firefox to 3.5.9 and now when I launch our Java Web Start application, no Java console appears. The Java Control Panel still shows "Show Console" as set. My app uses Java 1.5 which I have installed on my desktop.
    What do I do to properly configure my browser/desktop to support use of the Java console?
    Please help, I need to debug our app!
    Ilane

    IlaneMarie wrote:
    ..Please help, I need to debug our app!Cannot tell you the answer to your FF hassles (because I have no idea why you're seeing that behaviour(1)), but note that you might be able side-step FF by launching a JWS app. using the javaws tool directly from the command line or an Ant build file.
    1) Though you might try rebooting the machine if any installation/configuration changes have occurred since last boot.
    Also note that many problems with JWS apps. can be sorted be checking the JNLP using JaNeLA.

  • Err. in programs copiled with Jdev 9.0.3 and run with Java Web Start

    Hi all,
    when I build my programs with Oracle9j JDeveloper 9.0.3.988 and I use them with Java Web Start, programs do not run, while when compiled with Oracle9j JDeveloper 9.0.2.x it runs without problems.
    The Java version used in both cases is 1.4.0.
    Here's an example of the log from Java Web Start:
    Error in JavaWeb Start
    viewer/imageViewer/ViewerAppState$1 (Illegal Variable name " val$files")
    java.lang.ClassFormatError: viewer/imageViewer/ViewerAppState$1 (Illegal Variable name " val$files")
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.sun.jnlp.JNLPClassLoader.defineClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.access$1(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
         at viewer.imageViewer.UtilityMenuPane.jbInit(UtilityMenuPane.java:167)
         at viewer.imageViewer.UtilityMenuPane.<init>(UtilityMenuPane.java:155)
         at viewer.imageViewer.UtilityMenuPane.getInstance(UtilityMenuPane.java:147)
         at viewer.imageViewer.ImageViewerFrame.jbInit(ImageViewerFrame.java:179)
         at viewer.imageViewer.ImageViewerFrame.<init>(ImageViewerFrame.java:145)
         at viewer.imageViewer.ImageViewerFrame.getInstance(ImageViewerFrame.java:126)
         at viewer.ImageViewer.execute(ImageViewer.java:30)
         at viewer.Viewer.execute(Viewer.java:63)
         at viewer.Viewer.<init>(Viewer.java:27)
         at viewer.Viewer.main(Viewer.java:40)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:536)
    Does anybody know why this happens?
    Thanks

    Hi There.
    We had the same problem with some of our code. We moved the definition of the class from a method out of the method. Like this:
    public class{
    class{
    instead of doing this:
    public class{
    method() {
    class{
    This worked with the web start......
    Best regards
    Jesper Lorentzen

  • Java Web Start won't work, applications don't open

    I have this problem.
    When I open a Java Web Start application, a white loading screen shows up (Java Loading...), and I wait a few seconds, nothing happens, and the screen disapears. I don't have an idea what's wrong. I'll appreaciate any help.

    Do you have Java configured to pop up a console
    when JWS applications load? If not, ask it to do
    so (I am still not sure that the console will appear,
    but it is worth a try).
    Are you able to load any JWS applications?
    Here is a specific example of a very simple one
    http://www.physci.org/jws/#bs (the basicserv.jnlp)

Maybe you are looking for

  • Excise Transaction Flow

    Iam using SAP 8.8 PL 13.  I need to know the LOGIC and flow of Excise Transactions and how Excise reports are generated. I create a GRPO for an Excisable Item with Tax Code BED 10%. Suppose the cost of the Item is Rs.10000/-. In Incoming Excise Invoi

  • When I open Firefox, there is no place to type in a web address! What happened to it?

    When I open Firefox, the tab to type in the web address is not there, nor anywhere else--Where did it go?

  • A glossary in Flash

    Hello, I am trying to make a glossary in flash. The page will look as follows: on top I have the alphabet on the left I have a scrolling dynamic textfield with hundreds of technical words in alphabetical order. on the right a panel for the explanatio

  • Converting PDF to Jpg file

    hi i am looking for an pure java api wich will convert pdf file into jpg.

  • Retrieval of xmltype data into java

    Hi Right now we are facing an issue xmltype retrieval from oracle 10g to java. I used xmltype column.getClobval() to get the xml content, but unable to do the parse to get the xml data. So i tried getStringval(), getting the xml content as string for