First Timer Need Help using Java Web Start

                    The following Error Message was thrown when I tried to launch an app
          using Java Web Start...
An error occurred while launching/running the application.
Title: Swing Application - Hello World
Vendor: Ramanujam
Category: Download Error
Bad MIME type returned from server when accessing resource: http:\\localhost:8000\test/SimpleExample.jnlp - text/html
          My JNLP file
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SimpleExample Application -->
<jnlp codebase="http:\\localhost:8000\test" href="SimpleExample.jnlp">
     <information>
          <title>Swing Application - Hello World</title>
          <vendor>Ramanujam</vendor>
          <description>Test JWS</description>
          <description kind="short">Test JWS</description>
          <offline-allowed/>
     </information>
     <resources>
          <j2se version="1.4"/>
          <jar href="test.jar"/>
     </resources>
     <application-desc main-class="JWSTest"/>
</jnlp>
               The exception thrown :
NLPException[category: Download Error : Exception: null : LaunchDesc: null ]
     at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
     at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
     at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
     at com.sun.javaws.Launcher.downloadResources(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)
Also, How to configure MIME mapping for .jnlp files on J2EE server (I do not have another server) and if there is a need, how do i deploy the jar and the jnlp file on J2EE server?
Kindly help.....

Hi,
I have the same problem, but I do have configured the webserver (Apache 2) correctly and the server is NOT returning a 404 error.
To check this I used the a tcp monitor (Apache Axis).
The error message in Java Webstart is identical to the one discribed above.
In the tcp monitor I see the following :
HTTP/1.1 200 OK
Date: Tue, 19 Nov 2002 15:16:57 GMT
Server: Apache/2.0.43 (Win32)
Last-Modified: Tue, 19 Nov 2002 15:13:58 GMT
ETag: "44eb-300-bebdba39"
Accept-Ranges: bytes
Content-Length: 768
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive
Content-Type: application/x-java-jnlp-file
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://ns003:88/ns" href="jviews.jnlp">
<information>
<title>JViews TWD Demo Applicatie</title>
<vendor>Cap Gemini Ernst & Young</vendor>
<homepage href="default.html"/>
</information>
<resources>
<j2se version="1.3"/>
<jar href="jviewsapplet.jar"/>
</resources>
<application-desc main-class="JViewsClient"/>
</jnlp>
Any idea?
Cheers, Joost

Similar Messages

  • Application started using Java Web Start doesn't launch the first time

    I have a Facebook photo uploader application that I plan to distribute using Java Web Start. I'm using Java 6u4 on Windows XP SP2 with 2GB of RAM. I have Java 6u3, Java 6u4 and Java 5 u14 installed and I'm sure the one used is Java 6u4.
    I signed my application and make use of all security settings.
    Here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
         codebase="http://www.antaki.ca/bloom/jars"
         href="http://www.antaki.ca/bloom/Bloom.jnlp">
    <information>
        <title>Bloom</title>
        <vendor>Carl Antaki</vendor>
        <icon kind="splash" href="http://www.antaki.ca/bloom/Bloom.jpg"/>
        <icon href="http://www.antaki.ca/bloom/bloom32.jpg"/>
      <shortcut online="false">
      <desktop/>
      <menu submenu="Bloom"/>
      </shortcut>
    </information>
        <resources>
            <j2se version="1.5+" initial-heap-size="32m" max-heap-size="128m" href="http://java.sun.com/products/autodl/j2se" />
            <property name="sun.java2d.d3d" value="false"/>
            <jar href="http://www.antaki.ca/bloom/jars/Bloom.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/BrowserLauncher2-1_3.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/SmartProgressMonitor.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/facebook.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/forms-1.1.0.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/json_simple.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swing-worker-1.1.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/glazedlists_java15.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swingx-0.9.1.jar"/>   
            <jar href="http://www.antaki.ca/bloom/jars/jhbasic.jar"/>
       </resources>
    <security>
         <all-permissions/>
      </security>
    <application-desc main-class="ca.antaki.www.bloom.gui.Bloom" />
    </jnlp>Here is the link for my application http://antaki.ca/bloom/Bloom.jnlp
    The first time the application is installed using a link on the browser it's downloaded then the certificate dialog is shown, after that I check the checkbox to accept the certificate permanently. The application doesn't load, it only loads the second time although I see it in the task manager. If I don't accept the certificate permanently it does load. This happens on both Firefox 2 and IE 7. I enabled the console and logging but nothing shows up there.That's really a weird problem, I wonder if Java Web Start is a viable deployment option, it does have great capabilities such as autoupdate but still seems to have important bugs.
    Does anyone have any clue about what is going on.
    The problem doesn't occur on Ubuntu 7.10.
    Thanks,
    Carl Antaki

    >
    You were right my XML file was not correct. I still couldn't find a valid JNLP validator. Sun has to provide that.>No they don't (have to supply a validator for their own document type, though it makes sense to do so), but yes they do (provide a tool that validates XML against schemas). Java can validate XML against a DTD or XSD.
    Check these two threads (and chase the links) for more details.
    JNLP xsd schema
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/c6f65bf1df5f105d/30c6b7e2dc342dc4>
    Validate XML against DTD? XSD OK. SSCCE.
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/5b997a1edb765b11/e831f3066eb4aa38>
    Look especially for the posts by Piotr Kobzda.
    I had a tool on my site based largely on Piotr's codes, that linked to a valid JNLP DTD and XSD, but unfortunately my site is offline at the moment. Andy assures me that the JNLP 6.0 DTD has been corrected for the developer ..download tutorials of web start, though the online (web site) version may still be invalid.

  • JVM - Microsoft JScript.dll Memory Leak when using Java Web Start

    I have posted before a topic related to this matter, although now I have a lot more information about what is going on (although still no fix for it). This is the link to the earlier post, containing JVM HOTSPOT EXCEPTION_ACCESS_VIOLATION
    http://forum.java.sun.com/thread.jspa?threadID=5116970&messageID=9402346#9402346
    The issue is that after deploying on Windows XP a multi threaded, memory consuming (40 Mb) Java Swing application using Java Web Start, and the standard web page (IE6) reference to the jnlp file to launch the installation from Tomcat, each time this application gets executed by double clicking on the desktop icon (with no IE6 interaction at all), calls start being made between jvm.dll (sun) and jscript.dll (Microsoft IE), these interactions never release the memory they consume, so after a period of using the application it crashes unavoidably. If I execute exactly the same application launching it from command line (no Web Start nor IE6 browser involved), the application works nicely all the time, no problem at all.
    My question is: does anyone know why these calls to jscript.dll are even being made during web start application execution? As said, it's a desktop Swing app, it does not need the browser at all, and jscript.dll is a IE dll. Anyone can advice on how these interactions can be eliminated?
    I've worked with Microsoft support for two weeks on this issue and all they have said is that it is a Sun problem and they can not help further.
    Thanks
    Jes�s

    Microsoft suggested (among others) two test.
    1- Install IE7 and run the application
    2-Install Firefox and run the application
    Results were:
    For 1: The application does not crash, apparently IE7 has a newer version of Jscript.dll that, in Microsoft words, handles better 'bad software', refering to 'bad software' to the java virtual machine I guess. Looking at the performance manager you can see memory goes down as with IE6, but at some point memory is released and the app. does not crash. Anyway is still is uncertain to me why Jscript.dll is getting involved at all. Although this solves the problem is not a viable solution for us, because I work in a corporation where changes such as upgrading the IE version on a large number of desktop can not be justified just because one app. is crashing, and it would take a long validation time anyway before the upgrade can proceed.
    For 2: I did install Firefox in a machine and the application still crashed, but it is true I did not uninstall IE6, so the conflictive Jscript.dll was still sitting at system32. Quite possibly the crash would not happen if that dll wasn't there at all.
    Thanks
    Jes�s

  • Unable to run my application using java web start

    i have created one application and use java web start to download the application. all the files are succesfully downloaded but when i try to run the application an expected error occur. this only happen in my machine but not in other machine i'm currently using
    -jsdk1.4.2
    -windows 2000 professional 5.00.2195 service pack 3
    -pentium III 870 Mhz
    -x86-based PC
    -RAM 256 Mhz
    Anyone knows why, plz help me with this puzzle

    Please post the information from the Web Start "Exception" and "Wrapped Exception" tabs when the error occurs (I assume the error was in fact unexpected ;-)
    A blind stab in the dark would be that you don't have write permission to the cache directory on the second machine. Also worth checking that the proxy settings on the second machine are the same as the first (if they are on the same network).

  • Custom classloader fails when using Java Web Start

    Hope you can help me with a problem that is driving me nuts. I have implemented my own classloader to support plugins. This classloader works as follows:
    1. The classloader is configured to access a plugin components jar file downloaded by jws.
    2. The plugin components jar file contains other jar files which contains the actual plugin code to be loaded using my own classloader.
    3. Upon initialization - my classloader extracts all jar files contained in the plugin components jar file into temporary files.
    4. These temporary files are used by my classloader when defining plugin classes.
    The classloader works fine when not using java web start. Then I launch the application using java web start with security policy in .jnlp file set to:
    <security>
    <all-permissions/>
    </security>
    After a while (it was able to load some of the classes) it fails with the following stack-trace:
    Regards,
    Terje
    java.security.AccessControlException: access denied (java.io.FilePermission C:\DOCUME~1\TEOES\LOCALS~1\Temp\activity61102.jar read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkRead(Unknown Source)
         at java.util.zip.ZipFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)
         at my.plugin.ActivityClassLoader.getJarFileEntry(ActivityClassLoader.java:258)
         at my.plugin.ActivityClassLoader.search(ActivityClassLoader.java:244)
         at my.plugin.ActivityClassLoader.loadClass(ActivityClassLoader.java:99)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Does anyone have source code for implementing a simple class loader that can be used with Java Web Start (preferrably with all jar files to be used by the classloader wrapped into a jar file)

    If you implement your own classloader, and then still run with a SecurityManager installed, then your ClossLoader is responsible for asigning the permissions to the code it loads.
    You need your ClassLoader to extend SecureClassLoader, and implement the method :
    SecureClassLoader.getPermissions(CodeSource cs) to return the PermissionCollection you want.
    /Andy

  • Problem with CORBA application deployed using Java Web Start 1_6_0.

    Java Web Start fans and experts:
    We have been using Java Web Start to deploy the client side of a CORBA-based application since the inception of Java Web Start ... including Java Web Start 1.0 right up through the present.
    With Java Web Start 1_6_0, we see evidence that Web Start is "tinkering with" the IOR that CORBA uses to communicate. In all previous versions of Java Web Start, independent of the JRE which the application uses, the stringified IOR have been the same size regardless of whether the application is deployed locally or via Java Web Start. With Java Web Start 1_6_0, the stringified IOR is much longer than the "real" IOR (again, regardless of the JRE used by the application itself). To me this smells like a bug in Java Web Start 1_6_0. Has anyone else observed this behavior?
    Here are some specifics .... I've run the same client application with various JREs both with and without Java Web Start as the deployment mechanism. The application was compiled and runs against servers that are running JDK 1_5_0_09.
    Here is the summary of my results from a Linux box running various JREs, various versions of Java Web Start, and also running as a non-JWS deployed application. I've listed the length of the stringified IOR in each case.
    JRE 1.5.0 non-JWS client: stringified IOR length = 344
    JRE 1.6.0 non-JWS client: stringified IOR length = 344 ... this, I think, excludes the JRE as the cause of these problems.
    Java WS 1.5.0, JRE 1.5.0 JWS client: stringified IOR length = 344
    Java WS 1.5.0, JRE 1.6.0 JWS client: stringified IOR length = 344
    Java WS 1.6.0, JRE 1.6.0 JWS client: stringified IOR length = 1568
    Java WS 1.6.0, JRE 1.5.0 JWS cleint: stringified IOR length = 1568
    In all cases, the stringified IOR length is determined by the service receiving the message and is always running JRE 1_5_9_09 and is
    always the same 344 characters in length UNLESS it was deployed
    using Java Web Start 1_6_0, in which case it in nearly 5 times as big!
    To me, it sure looks as if there is a problem with Java Web Start 1_6_0 to be adding so much to the stringified IOR. Note: it's hard to tell how different the underlying IOR is in the JWS 1_6_0 case because, unlike most other ORBs, the Sun ORB doesn't have a tool to extract the IOR into a human readable structure. However, I can think of no good reason why the identical application deployed using Java Web Start 1_6_0 should have a stringified IOR length that is different than that of the same application deployed in non-JWS form or should differ from the behavior seen in all previous releases of Java Web Start.
    Any clues or suggestions? Has anyone else observed this behavior?
    Thanks,
    John

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • Deploying no java applications using Java Web Start

    Hi,
    I am new to java web start. Is it possible to distribute non java applications using java web start. I have an APP which can run on a desktop in standalone mode. The app has jusy HTML and Java script files. Is it possible to package this app and deploying using java web start? I am assuming If it is possible, I can make updates to the packaged app in the web servers and the updates will be downloaded next time the app is used provided configurations are correct?
    thx

    The app has jusy HTML and Java script files. Is it possible
    to package this app and deploying using java web start? Not really. Resources for JWS need to be zipped,
    while this HTML/JS app. will (I guess) not work from
    inside the depths of a Jar (or Zip) archive.
    Note that you can organise for those files to be
    downloaded and expanded onto a known place
    on the user's disk, by using an 'installer' element,
    but..
    ...I am assuming If it is possible, I can make updates to the
    packaged app in the web servers and the updates ..installers are only called once, and do not 'update'.

  • Dynamic JNLP - displaying using java web start

    Hi,
    I am creating a dynamic JNLP in a servlet at the server side. Please see below.
    String someJnlpString = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n" +
                                                "<jnlp .....    >    </jnlp>";       
            String attachment = "inline; filename=\"launch.jnlp";           
            String ct = "application/x-java-jnlp-file";
            OutputStreamWriter out = new OutputStreamWriter(response.getOutputStream());
            response.setContentType(ct);
            response.setHeader("Cache-Control", "max-age=30");
            response.setHeader("Content-disposition", attachment);
            out.write(someJnlpString);{code}
      Then in my JSP, I am trying to open this JNLP  by using the following code
    {code}        window.open('servlet/DisplayImage?arg=first-arg");The exception that I am getting is JNLParseException could not parse launch file. Error at line 0. If I open the downloaded file then its working.
    Can somebody please advise me how can I directly open that JNLP from the servlet by using java web start?
    Thanks a ton,
    Subhash

    I am able to run it now after clearing the java cache

  • Deployment Issues using Java Web Start

    I am attempting to deploy a Java application that works in JDeveloper. The app has a Database connection to a MSSQL 2000 Server which is loaded into the active Project Libraries as Other JBDC. When I deploy the app using Java Web Start I receive the following error: com.microsoft.jdbc.sqlserver.SqlServerDriver.
    How to I need to configure my deployment so the JDBC works properly? Thanks in advance

    I got it to work with the following settings:
    1. edit ur ctbuild.xml file to have these settings:
    <include name="BC4J/lib/msbase.jar"/>
    <include name="BC4J/lib/mssqlserver.jar"/>
    <include name="BC4J/lib/msutil.jar"/>
    Then have the same jar files in localmt.jsp as
    <jar href="adfjars/BC4J/lib/msbase.jar" />
    <jar href="adfjars/BC4J/lib/mssqlserver.jar" />
    <jar href="adfjars/BC4J/lib/msutil.jar" />
    2. edit data-sources.xml file, if ur using external oc4j as
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="sqlserverDBDS"
    location="jdbc/SQLServerCoreDS"
    xa-location="jdbc/xa/SQLServerXADS"
    ejb-location="jdbc/SQLServerDS"
    connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    username="scott"
    password="PwdForScott"
    url="xxxx"
    inactivity-timeout="30"
    />
    Thnks,
    Sainath

  • Use Java Web Start to distribute Java 3D!

    I try to use Java Web Start to distribute Java 3D Application, I do successfuly tested some simple examples of Java 3D, and the result is as expected as I thought, But when I try to test an Objfile loader example, I failed.
    I simply use like this below:
    BranchGroup b = new objLoad("galleon.obj");
    objTrans.addChild(b);     
    and put the class file and the obj file into a jar file, but seems the objload can not find the model file in path! and if I put the obj file in my server directory and delete it form the jar file, I can run this function in local(double click jnlp file) but still can not run it in web.
    So I think the main problem is the path of the obj file, can anyone give me some advices about this?? thanks!!

    thanx! in fact the objload is a class wrote myself, just as below:
    public class objLoad extends BranchGroup{
    public objLoad(String filename) {
    BranchGroup obj = new BranchGroup( );
    int flags = ObjectFile.RESIZE;
              ObjectFile f = new ObjectFile(flags);
         Scene s = null;
         try {
         s = f.load(filename);
         catch (FileNotFoundException e) {
         System.err.println(e);
         System.exit(1);
         catch (ParsingErrorException e) {
         System.err.println(e);
         System.exit(1);
         catch (IncorrectFormatException e) {
         System.err.println(e);
         System.exit(1);
         obj.addChild(s.getSceneGroup());
    this.addChild(obj);
    actually, i still use ObjectFile as my loader, I wonder if I add obj file in jar, can I load this file through java web start? I read some examples about read some image file to build image icons, and these files are all in jar file.
    Thanks your help!! Can you reply my email [email protected]??

  • You need to install Java Web Start 1.4.2

    Hi!
    I try to access the PI /rep page: http://localhost:50000/rep .
    By doing so I get the following error/warning:
    You need to install Java Web Start 1.4.2
    I am on Windows 64x Bit.
    Question:
    Where can I find and download Java Web Start for Windows 65 bit?
    Thank you very much!
    regards
    Thom

    Hi,
    here you go:
    http://java.sun.com/products/archive/index.html
    BTW I suggest version 1.4.2.9.
    Regards
    Patrick

  • Help with Java Web Start

    Hi everybody,
    I have a simple Java application that has a JFrame containing a TextField displaying some text inside it. I am using the NetBeans IDE. I am trying to Enable Java Web start for this application. The steps I have taken upto now are:
    1. Right click on Project, Java Web Start -> Enable Java Web Start. This created the jnlp file.
    2. In the Resources section, I added the jar file for swing. ( I am not sure if I have to add the path for jnlp.jar etc, or are these found automatically?)
    3. Right click on Project, Java Web Start -> Deploy with Java Web Start. This launches the browser with the Click me link, but on clicking this link, I get the following error.
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Wrapper cannot find servlet class jnlp.sample.servlet.JnlpDownloadServlet or a class it depends on
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.ClassNotFoundException: jnlp.sample.servlet.JnlpDownloadServlet
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         java.lang.Thread.run(Thread.java:534)I have all the jnlp files in my jdk directory, and I am not sure why it can't find it. Is there something I am missing?
    Thanks
    George

    I am not sure what it has to do with servlets, I just followed a tutorial on using Netbeans with Java Web Start, and did only the steps as mentioned in my first post. And ended up with the error.
    Anyways, I added the jnlp jar files(jnlp.jar, jnlp-servlet.jar, jardiff.jar) in the WEB-INF/lib directory. And it seems to deploying it now. I can get my application to load on clicking on the "Click me" link. But the controls on my application don't seem to be working.
    Also, when I try to Right click on my project -> Java Web Start -> Run with Java Web Start, I get the following error message,
    javaws-run: C:\Documents and Settings\Lux\Visualization\nbproject\build-jaws-impl.xml:36: Execute failed: java.io.IOException: CreateProcess: C:\j2sdk1.4.2_13\bin\javaws "file:///C:/Documents and Settings/Lux/Visualization/Visualization.jnlp" error=2
    BUILD FAILED (total time: 0 seconds)
    Any help appreciated.
    Thanks.
    George

  • OpenGL not starting from java using java web start

    Dear All,
    I am a beginner in java2d, please excuse if what I am asking is not your standards. My problem is that I am using a swing application that is delivered to a client machine through the webstart. It is a medical Image viewer(usually DICOM images of size 10~15 MB) . I am using windows XP in my client machines. My graphics card is 'Intel(R) 82865G Graphics controller' and installed with the latesr driver from the intel web site. My current problems are:
    1. I tried starting the opengl through the command line using the option java -Dsun.java2d.opengl=True MyApp. My application started however the verbose says opengl could not be started. The message is as follows:
    Could not enable OpenGL pipeline for default config on screen 0
    2. How can I start open gl when my application is run by java web start? How can I know that open gl has started? I tried giving System.setProperty("sun.java2d.opengl","True") in the main function of the program. I couldnt see any message regarding the opengl in the web start console.
    Any help would be greatly appreciated,
    Thanks in advance,
    zeus

    Im not sure but a lot of times corruption happens and hence its better you redo your scheduling.
    Regards,
    Den

  • Missing class ServerNamingNode_WLStub using Java Web Start

    Hi!
    We're developing J2EE application with Swing clients. Our Swing
    applications work perfectly standalone but fail when distributed via
    Java Web Start. The log says that ServerNamingNode_WLStub cannot be
    found. I've looked through all the WL installation directory and
    couldn't find it too.
    Maybe somebody knows where can I find this class? Or maybe why JWS
    doesn't work properly?
    Please, help. We do need to use Web Start to distribute application
    automatically.
    Thank you in advance.
    Below you can see a stacktrace.
    P.S. Standalone client works perfectly using only weblogic.jar archive.
    Java Web Start 1.2 Console, started Tue Sep 24 15:22:08 EEST 2002
    Java 2 Runtime Environment: Version 1.4.1 by Sun Microsystems Inc.
    Logging to file: C:\Documents and Settings\pawlom\My Documents\webstart.log
    http://localhost:7001/ws/
    java.lang.ClassNotFoundException:
    weblogic.jndi.internal.ServerNamingNode_WLStub
    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 java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:479)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at net.xtrim.crm.ui.delegates.util.Util.getContext(Util.java:64)
    at
    net.xtrim.crm.ui.delegates.UserSessionDelegate.<init>(UserSessionDelegate.java:84)
    at
    net.xtrim.crm.ui.delegates.UserSessionDelegate.login(UserSessionDelegate.java:62)
    at
    net.xtrim.crm.ui.adminconsole.AdminConsole$ConsoleAuthenticator.authenticate(Unknown
    Source)
    at net.xtrim.crm.ui.adminconsole.auth.DialogLogin.login(Unknown Source)
    at net.xtrim.crm.ui.adminconsole.auth.DialogLogin.access$000(Unknown Source)
    at
    net.xtrim.crm.ui.adminconsole.auth.DialogLogin$LoginThread.run(Unknown
    Source)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with
    nested exception:
    [java.lang.ClassNotFoundException:
    weblogic.jndi.internal.ServerNamingNode_WLStub]
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:483)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at net.xtrim.crm.ui.delegates.util.Util.getContext(Util.java:64)
    at
    net.xtrim.crm.ui.delegates.UserSessionDelegate.<init>(UserSessionDelegate.java:84)
    at
    net.xtrim.crm.ui.delegates.UserSessionDelegate.login(UserSessionDelegate.java:62)
    at
    net.xtrim.crm.ui.adminconsole.AdminConsole$ConsoleAuthenticator.authenticate(Unknown
    Source)
    at net.xtrim.crm.ui.adminconsole.auth.DialogLogin.login(Unknown Source)
    at net.xtrim.crm.ui.adminconsole.auth.DialogLogin.access$000(Unknown Source)
    at
    net.xtrim.crm.ui.adminconsole.auth.DialogLogin$LoginThread.run(Unknown
    Source)
    java.lang.ClassNotFoundException:
    weblogic.jndi.internal.ServerNamingNode_WLStub
    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 java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:479)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at net.xtrim.crm.ui.delegates.util.Util.getContext(Util.java:64)
    at
    net.xtrim.crm.ui.delegates.UserSessionDelegate.<init>(UserSessionDelegate.java:84)
    at
    net.xtrim.crm.ui.delegates.UserSessionDelegate.login(UserSessionDelegate.java:62)
    at
    net.xtrim.crm.ui.adminconsole.AdminConsole$ConsoleAuthenticator.authenticate(Unknown
    Source)
    at net.xtrim.crm.ui.adminconsole.auth.DialogLogin.login(Unknown Source)
    at net.xtrim.crm.ui.adminconsole.auth.DialogLogin.access$000(Unknown Source)
    at
    net.xtrim.crm.ui.adminconsole.auth.DialogLogin$LoginThread.run(Unknown
    Source)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with
    nested exception:
    [java.lang.ClassNotFoundException:
    weblogic.jndi.internal.ServerNamingNode_WLStub]
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:483)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.

    Maybe this link can get your started:
    http://www.esus.com/javaindex/j2se/javawebstart/plugingetstarted.html
    Cheers,
    Joris

  • Communicate with servlet after using Java Web Start?

    Is it possible to communicate with servlet to get data back and forth
    after using Web Start to download the client application?
    The demos come with Java Web Start are applications which are
    standalone, don't need communicate with the servlet on Web server
    after being launched. I am wondering if it is possible, and how (HTTP
    & JAX-RPC)?
    Thanx in advance.

    I've done this using HTTP. I get the server and port from the codebase:
    BasicService bs = null;
    try {
    bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
    String codeBase = bs.getCodeBase().toString();
    and use the java.net.HttpURLConnection and java.net.URL classes to send HTTP parameter values to the servlet and to receive results from the HttpURLConnection's input stream.

Maybe you are looking for

  • Standard back ground jobs deletion

    Hi, i have R/3 IDES 4.7 , i created standard background jobs throuth SM36 with default time and dates, due to this reason my system is noe very slow. now i want delete that standard background jobs or i need to reschedule the jobs .. how can i , if i

  • BAPI INSPECTION PLAN

    I am Creating the Inspection Plan by using the BAPI's but (BAPI_INSPECTIONPLAN_CREATE) i got this error message. here FU26FR is the INpection method and master inspection characterstic. the error related to inspection plan charactrstics how to over c

  • HELP!!! Cant make buttons/links work.

    HI, I have a flash that I am trying to make the buttons/links towork on and no matter what I do they just do not work. I have many hours into it so far and just had no success weather using my CS3 how to book of the forums information. I not sure wha

  • Where to deploy the sip servlet

    Hi, general question: where are the servlet .class files, sip.xml and web.xml deployed to? Are there some other (configuration) files to be changed? I have deployed all these files to C:\bea\user_projects\domains\TestDomain\sipserver\config\WEB-INF b

  • Payroll Form - Changes

    Hello Gurus, Can anybody help me on my previous post. Since I was not able to reply to the thread so I had copied the complete thread & pasted it below. As Mr. Zippo said, can somebody elaborate on implementing the formula & calculation. Best Regards