The cache about Java Web Start

can anybody tell me about the meaning of the jws cache structure?
i want to konw the meaning of
P8080
DMJNLPExamples
DMapp
DMlib
RTjbossall-client.jar
RCjbossall-client.jar
RMjbossall-client.jar
what is meaning of the prefix of this directory and file?
thanks in advance!
Gordon

Warning - the cache structure is internal to Java Web Start and subjuct to change between versions of javaws.
In fact Sun has plans that would merge the webstart and plugin cache in 1.6.0, completely changing the structure.
That being said, in the current format, the prefix chars are as follows (from the source bundle of 1.4.2):
first leter is a Type, second leter is an Attribute:
Types:
public final static char DIRECTORY_TYPE = 'D'; // Used internally
public final static char TEMP_TYPE = 'X'; // Used internally
public final static char VERSION_TYPE = 'V'; // Used internally
public final static char INDIRECT_TYPE = 'I'; // Used internally
public final static char RESOURCE_TYPE = 'R'; // JAR/CLASS/IMAGE
public final static char APPLICATION_TYPE = 'A'; // Application-Desc
public final static char EXTENSION_TYPE = 'E'; // Extension-Desc
public final static char MUFFIN_TYPE = 'P'; // Muffins!
Attributes:
public final static char MAIN_FILE_TAG = 'M'; // The main resource (Jar, image or muffin)
public final static char NATIVELIB_FILE_TAG = 'N'; // A directory where a native lib jar gets expanded into
public final static char TIMESTAMP_FILE_TAG = 'T'; // The timestamp file
public final static char CERTIFICATE_FILE_TAG = 'C'; // A certificate stored with the resource
public final static char LAP_FILE_TAG = 'L'; // LocalApplicationProperties
public final static char MAPPED_IMAGE_FILE_TAG = 'B'; // Translated images (such as bmp)
public final static char MUFFIN_ATTR_FILE_TAG = 'U'; // running out of letters - U is for mUffin
/Dietz

Similar Messages

  • Can we change the title of "Java Web Start" window?

    Hi while running our application into "Java Web Start" using jnlp configuration file, may I know how to change the title of Java Web Start Window.
    At present it show the title like "Java Web Start" I want to customize, is it possible? , How?

    As far as I know this is not possible. You can customize the splash window displayed with the jnlp how your told, but the title of the window cannot be changed.
    Edited by: Phlipp_Meier on Oct 5, 2007 6:14 AM

  • Can we change the label of Java Web start at the time of downloading applic

    can we change the label of Java Web start at the time of downloading application?
    At the time of downloading application(jar files) java web start shows "Downloading Application" lable on it window , so can we change it so some other..

    The 'splash' screen might be of interest to you.
    Here is the quick description from the FAQ.
    <http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html#206>
    Section 3.5 of the JNLP Spec. has more details on using a splash screen for an application.
    (But if you mean changing the very first screen seen when downloading an application the first time, the answer is 'no'.)
    Late addendum..
    By the way - now I review your question, I note you stress 'while jars are downloading'.
    There is another strategy you might take. Mark most of the application jar's as 'lazy' download, get the main GUI on-screen quickly, then use the JNLP API's DownloadService to fetch the rest of the jars, after the application is running.
    This has the advantage that, then we can have complete control of whatever is shown on the screen during the bulk of the downloads. We might show ..a 'splash screen', or a dialog with the application name on it, or a progress dialog, ..or any combination of the three.
    Edited by: AndrewThompson64 on Oct 22, 2007 3:01 PM

  • About Java Web Start Problems

    Hi, everyone....
    When I want to deploy BC4J Application using the Java Web Start , I occur one exception.
    Java Web Start show exception for me :
    java.lang.ExceptionInInitializerError
         at oracle.jbo.mom.DefinitionManager.<init>(DefinitionManager.java:122)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.<init>(JUMetaObjectManager.java:52)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom(JUMetaObjectManager.java:131)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:363)
         at mypackage1.FormDepartmentsView1EmployeesView3.main(FormDepartmentsView1EmployeesView3.java:376)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.xdkjava.compatibility.version 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.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at oracle.xml.parser.v2.XMLParser.<clinit>(XMLParser.java:753)
         ... 16 more
    Can anyone Know what is wrong ?

    Wei,
    did you sign the jar files you deploy ? Please follow the instruction sin teh online help and have a look at the batch file that need to be run to create the JClient ear file. This file contains signing information that might not be true for your system.
    Frank

  • Override the launch of Java Web Start

    How can we stop the auto launch of Java web start and prompt the user to enter the desired location to download the jars.
    And then launch the jars from that location.
    Is there any solution for this.
    Please help me in this regard
    Nandita

    The whole idea of WebStart is to relieve the user of the burden of downloading binaries themselves. The whole point is, they just click a link on a web page, some magic happens, and their app starts up.
    Your idea is a complete waste of time.

  • About java web start and *.jnlp

    very strange. I can start it if I replace http://127.0.0.1/ with
    file:///d:/ I copy the same .jar, .html, .jnlp to the www root, then my
    browser can't start it, just display it as a text file. like the
    following. Who knows what's happening here. Thanks!
    <?xml version="1.0" encoding="UTF-8" ?>
    - <jnlp spec="1.0+" codebase="http://127.0.0.1/test"
    href="Geostatistics.jnlp">
    - <information>
    <title>Geostatistics Demo App</title>
    <vendor>NCGIA UCSB</vendor>
    <homepage href="http://127.0.0.1/test/Geostatistics.html" />
    <description>This is an active learning demo for
    geostatistics</description>
    <icon href="../image/duke.jpg" />
    <offline-allowed />
    </information>
    - <security>
    <all-permissions />
    </security>
    - <resources>
    <j2se version="1.3+" href="http://java.sun.com/products/autodl/j2se" />
    <jar href="classes.jar" />
    </resources>
    <application-desc main-class="sampling.SampleApp" />
    </jnlp>

    Hi,
    -To make IE associate with .jnlp is the same way you set in the explorer.
    -but i'm using Netscape which is my prefer.. I just set it in....
    EDIT -> Preferences -> Navigator -> Helper Application -> [New Types]
    then Set MIME : "application/x-java-jnlp-file" and Application to Use : javaws.exe (Java Web Start)...
    ummm this should make Netscape See JNLP file and launch it with JWS...
    PS. Ummm... I have to say that i'm newbie.. sometime i know how to make it works but i don't know how to make it work properly. So if somethings wrong, DON'T hesitate to give an advice. I really want to know how to make those work properly.
    Hope it works.
    Jeng

  • Error while launching of the application thru java web start

    I have java webstart 1.2. While opening one of the application, its showing me following error message,
    "javaws.exe has generated error and will be closed by Windows. You will need to restart the program. An error log is being created."
    After that application works fine(It does not close the application) and no log file is generated.
    Can any one tell me what is the cause of this problem.
    Regards,
    Pravanjana

    You shouldn't give up without studying the source of JMF.
    JMFSecurityManager blocks opening the webcam when it recognizes that the application is executed as an applet. JMF - in fact JMFSecurityManager - cannot distinguish between an applet and a java webstart application because it only evaluates System.getSecurityManager().
    If the application is deployed via webstart the System.SecutityManager is NOT null and so JMFSecurityManager makes problems.
    So the easiest solution of this problem is to call System.setSecurityManager(null) before any static function of JMF is executed or any class of the Framework is instanciated - e.g in the main-function. Java webstart allows to execute the command if the .jnlp-file requests all-permissions.
    Another possibility is to read the properties. Therefore jmutil.dll has to be deployed and in C:\WINDOWS\java\.jmfdir the first line must contain the path of jmf.properties. This should be an alternative but I haven't checked if it works.

  • Application does not show up in the manager console -- Java Web Start

    Hi...
    I have downloaded the jnlp file so many times but still the aplcation is not displayed in the JWS manager console.
    This my jnlp file : -
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://2m6:8100/jws/" href="ChatApplication.jnlp">
    <information>
    <title>Chat Trial</title>
    <vendor>SAI</vendor>
    <description>Just an example</description>
    <icon href="images/icon.gif"/>
    </information>
    <security>
    <all-permissions />
    </security>
    <resources>
    <j2se version="1.3"/>
    <jar href="chatapplication.jar"/>
    </resources>
    <application-desc main-class="ChatImpl"/>
    </jnlp>
    Can anyone give me any suggestions???? They are welcome.
    -Sid

    Actually this problem usually occurs as a result of the way you have configured your href line for the jnlp file. If you are still having some problems try putting in:
    href="http://2m6:8100/jws/ChatApplication.jnlp"
    See if that helps it at all. It's possible that it's not using the relative reference combined with the codebase URL given.

  • Java Web Start and DeployDirector: What's the difference?

    I am the product manager for DeployDirector at Sitraka (now part of Quest Software). I'm NOT in sales; I'd simply like to provide you with some information.
    From talking with DeployDirector users and evaluators, and from my own discussions with the folks at Sun, I have discovered that there is great deal of confusion about the difference between Java Web Start and DeployDirector. I'd like to clarify this by periodically posting some information about the two.
    Though the products seem similar in concept, they are designed for different purposes. They both deploy, auto-update and manage the JRE for client-side Java applications, but beyond that, they are quite different.
    Java Web Start is ideally designed for applications deployed over the Internet, where application-provider trust is an issue. Why? The security sandbox guarantees that application can do no harm. (There's some good information about Java Web Start and sandbox apps on ScheduleWorld at http://www.scheduleworld.com/itsYourLife.html) Web Start's architecture simply consists of a client piece that interprets a JNLP file. Because of the sandbox and its simplicity, I believe JWS is best used for independent software vendors, independent developers, etc.
    Because DeployDirector is ideally designed for internal enterprise applications, it does not enforce the security sandbox. Trust is not an issue here, because internal users typically trust their internal IT group. DeployDirector's architecture consists of both a client and a server piece, which allows us to support more complex deployment and update scenarios (e.g., scheduled and optional updates) and applications management capabilities like rollback, reporting, exception monitoring, authentication/authorization out of the box. All of this is configured through the DeployDirector administration console.
    In some situations, DeployDirector may be unnecessary overhead. In other situations, Java Web Start simply does not provide enough capability and building in this into Web Start can be difficult.
    If you'd like more information, we have whitepapers and case studies (including one specifically about DeployDirector and JWS) available on our website at http://www.sitraka.com/software/deploydirector/
    If you'd like to discuss some of these differences, or if you have questions about DeployDirector, feel free to email me directly. (Or post here, of course.)
    Thanks,
    Sonal Champsee
    [email protected]

    Hi Gerald,
    Given what I know about your emnity towards DeployDirector (which is clearly illustrated in this thread: http://forum.java.sun.com/thread.jsp?thread=348061&forum=38&message=1446155 that was evidently a response to this article: http://www.javaworld.com/javaworld/jw-11-2002/jw-1122-autoupdate.html) I'm going to take a (pardon the expression) "don't feed the trolls" approach here.
    I'm simply re-iterate that JNLP, and its implementations such as Web Start and OpenJNLP, are designed for a very different set of users that DeployDirector. The differences in functionality between the two products reflect that.
    The enterprise has different requirements in a deployment mechanism for its internal, critical applications than software vendors and independant developers. DeployDirector addresses the requirements of the enterprise. Frankly, most of our recent customers only chose to buy the product after initially rejecting it and (unsucessfully) attempting to use JNLP and Web Start. Sometimes people only learn the hard way: different users have different requirements which are suited to different tools or technologies.
    Sonal

  • Ask the Experts Session on Java Web Start (April 10-14)

    Got a question about Java Web Start? Post it on the Ask the Experts page (http://java.sun.com/developer/community/askxprt/index.html) during the week of April 10 and get answers from three key members of the Java Deployment team in J2SE: Andy Herrick, Thomas Ng, and Cheng Dan.

    Java Plug-in technology, included as part of the Java
    Runtime Environment, Standard Edition (Java SE),
    establishes a connection between popular browsers and
    the Java platform. This connection enables applets on
    Web sites to be run within a browser on the desktop.
    Got a question about Java Plug-in technology? Submit
    your questions from February 12 through February 16
    and get answers from key members of the Java SE
    Deployment Team.It's just two days since i read an article on developers who write Java Plug-in's for browsers.I just can't remember where!

  • Java Web Start is taking too long time to fill the bar

    Hi All,
    I am using Eclipse and using JBOSS from Remote and when I am deploying an applent with Java Web Start, it is taking a very long time for filling the bar(taking more time for verifying and downloading Application).
    Can anyone help me for fixing it.
    Thanks in Advance.

    795697 wrote:
    Hi,
    when I am deploying an Applet with the help of Java Web Start It is taking too much time for verifying and downloading the application.
    I am using Eclipse and JBOSS.
    This is the problem.
    I think you can understand it.I can't. I don't understand what Eclipse and JBoss have to do with webstart and I can't understand what webstart has to do with deploying an applet.
    Its all just completely unrelated! I'm just going to make a dumb assumption and say that it is your computer.

  • Java Web Start and the Mac OS

    I am new to the Mac OS and to Java Web Start. Using Java Web Start to launch a Java application on the Mac is discussed in several of the posts here. However, in the requirement section of the Overview for Java Web Start says
    "Requirements
    Desktop/Client requirements:
    The client machine requires support for the Java Runtime Environment (JRE), version 1.3 or later. Java Web Start is available for Windows 98/NT/2000/ME/XP, the Solaris Operating Environment, and Linux."
    As you can see, Mac OS is not mentioned. Yet Java Web Start exists on my Mac. Am I looking at the wrong documentation? The document is located at
    http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/overview.html#jws
    I don't know how to use Java Web Start . I don't even know where to look for help. If anyone would care to offer some help it would be greatly appreciated.

    You are looking in the right place alright. The reason OSX is not mentioned in the document (or, by extend, any of the official sun documents) is that sun does not (may not?) provide an official java release on OSX. Java on OSX is implemented by Apple (and much to the dismay of both users and developers, they are not doing a very good job). Still, Apple's java usually fulfills the same specifications as the official sun java, so you can take any one of sun's documents on webstart or any other technology and it will usually work on the Mac. You just can't expect sun to assure that a technology will work on a platform they have no control over...

  • Customize the "update message" for Java Web Start

    For the default value (false) of silentInstallLicenseAcceptance in Java Web Start when an application's server side has changed, the user will be asked with a message box whether he/she wants to update his local application now or quit the application.
    I would like to know if I can manipulate the message that Java Web Start should ask the user. I also would like to know if I can change the button from Yes/No to Upgrade Now and Upgrade Later.
    Any API reference, idea, tutorial or sample code would be appreciated.

    I'm pretty sure that list is not accurate for the Java Web Start released in Update 4 recently. I have an app which attempts to specify heap and stack sizes using java-vm-args="-Xmx1024m -Xms1024m -Xss8m"; when I use the Java console to display memory usage, it shows that the heap is 81MB (which is the default). If I use initial-heap-size="1024m" max-heap-size="1024m" in the same JNLP file, the heap size is set properly.
    Unfortunately I don't think there's any way other than -Xss to set the stack size in a JNLP file, and I need to do that too.
    It's also possible that I screwed something up which caused this problem, but I reproduced it on both my Mac Pro and my Macbook Pro.

  • Java Web Start and C++ executable

    Can anyone please help me to deploy an application including three C++ executables using Java Web Start?
    I packaged each .exe file into .jar and created a java program called "ExecTest" that attempt to launch the .exe by calling Runtime.exec (someapp.exe).
    My JNLP file looks like:
    <resources>
    <jar href="app/someapp.jar"/>
    <jar href="ExecTest.jar" />
    </resources>
    <application-desc main-class="ExecTest">
    The problem I am having is that Runtime.exec wants the full absolute pathname for the executables. But the cached jar files all have some arbitrary letters prefixed, so I cannot specify them beforehand.
    Any ideas?
    Thanks in advance.
    Suh from Toronto. (Go! Leafs Go!)

    I've deployed serialio.com's replacement for javax.comm via Java Web Start, and I managed to package the .dll in a .jar without any difficulties.
    Perhaps the System.loadLibrary() function knows about the renaming that Java Web Start does...
    If so, then the following might do the trick:
    - Use System.loadLibrary() to load your .exe file. Windows uses the same fileformat for DLLs and EXE files, and hence System.loadLibrary() should be a safe no-op. Presumably you are
    - Use System.mapLibraryName() to find the full path to your .exe.
    �yvind

  • How to add Java Web Start MIME type to Sun Java SYstem Application Server?

    Hi,
    In the process of learning about Java Web Start,
    I read in the document that I had to add "application/x-java-jnlp-file JNLP " to a configuration file.
    Does anyone know where that file is for Sun Application web server( vesion 8, on WIndows)?
    Thanks,
    Sun

    I believe you can add it to default-web.xml file located in your server config dir.
    (i.e. /opt/SunAppServer8/domains/domain1/config/default-web.xml)

Maybe you are looking for