Query regarding j2se tag in JNLP file for JRE 1.4.2_07

Hi,
Can the j2se tag take different servlet link other than "http://java.sun.com/products/autodl/j2se" in the href field.
eg: <j2se initial-heap-size="64m" max-heap-size="512m" version="1.5+" href="http://localhost:8080/j2se"/>
Since i am planning to download latest JRE from the sun site and place it my local server so that download time can be reduced for other users.
Thanks in advance
Bharath

There is no utility that I'm aware of. The installer is InstallAnywhere from Zerog, and it uses the MS installer to actually do the install. So you can look at either Zerog or MS for one.
Sun's Java 5 version has deployment information, including silent install options, at:
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/index.html
I don't know if that exists for your version.

Similar Messages

  • Icon tag in jnlp file

    Hello all.
    I've been trying to include a custom icon with my web start application by using the <icon href="/images/camera.gif"> tag in the jnlp file. The image is included in the .jar file properly and then in the .war file, but the default web start icon always shows up instead (ie: on the desktop, start menu, and in the Java Web Start launcher).
    Does anyone have any hints on what might be going on?
    Any help will be greatly appreciated!
    Thanks.
    Chris
    [email protected]

    I'm having a similar problem ... but I think the .jnlp is structured right...
    gfpr.jnlp file...
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for gfpr applet -->
    <jnlp
    spec="1.0+"
    codebase="$$codebase">
    <information>
    <title>Financial Planning & Reporting Accelerator</title>
    <vendor>Unilever Cosmetics International</vendor>
    <description>GFPR Applet</description>
    <description kind="short">The client applet for GFPR.</description>
    <icon href="minesweeper32.gif" width="32" height="32" />
    <icon href="minesweeper64.gif" width="64" height="64" />
    </information>
    <resources>
    <j2se version="1.3"/>
    <jar href="gfprclientapplet.jar"/>
    <jar href="xerces.jar"/>
    <jar href="xalan.jar"/>
    <jar href="log4j.jar"/>
    <jar href="jdom.jar"/>
    <jar href="uciutilities.jar"/>
    <jar href="f1j9swing.jar"/>
    <jar href="crimson.jar"/>
    <jar href="jaxp.jar"/>
    </resources>
    <applet-desc documentBase="$$codebase"
    name="GFPR applet"
    main-class="com.unilever.uci.gfpr.presentation.fprAccelerator"
    width="760"
    height="400">
    </applet-desc>
    </jnlp>
    WAR structure....
    /app/gfpr.jnlp
    /app/minesweeper32.gif
    /app/minesweeper64.gif
    /app/****.jar (all the referenced jars)
    /META-INF/MANIFEST.MF
    /WEB-INF/web.xml
    /WEB-INF/lib/jnlp-servlet.jar
    anyone have any ideas ??
    thanks
    dave

  • Query regarding the conversion of DME file in MT940 format.

    Hello Experts,
    I have a query regarding the generation of MT940 file after generating the payment file from other DME tree.
    After completion of payment run, my payment file is generated in the DME format which is according to the DME tree.
    I want to convert the DME file (which is generated via F110)  from existing format to the standard MT940 format.
    Is there any standard program which converts the DME file to MT940. If so,  please inform me as early.
    I have tried to upload the DME file in FF.5 transaction, but it is not allowing me to convert the file in MT940 structure.
    Or please inform the steps how i can convert the file .
    Awaiting for your inputs.
    Thanks in advance

    Hi Zareena.
    I would like to suggest,
    SX_OBJECT_CONVERT_RAW_TXT.
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • security tag in JNLP file

    Hi,
    I have a signed javaws app. I set a couple of PROPERTYs in the JNLP file, leave the <security> tag empty, grant all-permissions in my client machines' javaws.policy file.
    After I started the app via javaws, I can access system properties (such user.home, etc) and read/write/delete local files, I am happy only that I cannot get the PROPERTYs I set in the JNLP file !
    According to the document, reading PROPERTYs set in the JNLP file should be simple and straight forward, System.getProperty() should do the trick, but it does not.
    I add <j2ee-application-client-permissions /> to the <security> tag in the JNLP file, here it goes, I can read the PROPERTYs from the app if it is started by javaws 1.4.2 (coming with JDK1.4.2). But sad again, if the app is started by javaws 1.2, the PROPERTYs still hide from me.
    Eventually, <all-permissions /> in the <security> tag will do the magic, but I am lost here. What is the point of security here that I cannot read the PROPERTYs I set in the JNLP file while I can even delete files from local disk? This <all-permissions /> magic allows the app jumping out of the sandbox?

    This looks like an example of bug:
    5062655: Permissions granted by policy files don't apply to jnlp properties.
    which is marked as fixed in mustang (1.6.0)

  • Query regarding Import Dimensions using Flat File in EPMA

    Hi All,
    I am trying to import dimensions and Dimension properties using a flat text file to the master dimension library. If I try to include any properties (HFM) in the !Members Section, I am getting an error "Input Line ... does not have the expected format of 1 columns". But if I remove the properties and just build the members and hierarchies without any properties definition, I am able to succeed. Can someone guide me on what I might be missing with regards to member properties? Below is the format of the input text file.
    !Section=Dimensions
    'Name,DimensionClass,DimensionAlias,CustomDimensionID
    HFM_Entity,Entity,HFM_Entity,
    !MEMBERS=HFM_Entity
    'Name,Allow Adjustments
    10001000,Y
    10001100,Y
    !HIERARCHIES=HFM_Entity
    'Parent,Child
    Please let me know if any other information is required.
    Cheers,
    HyperionUser

    Hi,
    Have a look in directory \Hyperion\products\Planning\bin\sampleapp
    there is a sample ads file :- SampApp Source Flat File.ads
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Pass XML in argument tag in JNLP file

    Is there a way to pass an xml string in the <argument> tag. I tried to do it but I get xml parsing error. It seems that the xml becomes the child node when I pass that to the arguments tag. the CDATA also does not work. Has anyone done this successfully. thanks
    I am trying to pass somthing like
    <argument><Settings><URL>http://xxx.com</URL></Settings></argument>
    this is just an example I have also tried
    <argument>"<Settings><URL>http://xxx.com</URL></Settings>"</argument>
    this also errors out.
    <argument><![CDATA[<Settings><URL>http://xxx.com</URL></Settings>]]</argument>
    that does not work too.
    Please let me know if there is anything else I can try

    I've successfully used CDATA to embed HTML in an argument, on JDK 1.5 at least (not tried on others yet).
    Your CDATA closing section should be: ]]> Yours is missing the end bracket - if that's not an error in your post it's probably the cause of the XML parsing error.

  • How to embed jnlp file into html page using object tag

    hi everyone,
    i have written one jnlp file like this.
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- JNLP file for Demo applicaion -->
    <jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
         <information>
              <title>Demo Application</title>
              <vendor> </vendor>
              <description>Sample Demo Application</description>
              <offline-allowed/>
         </information>
         <security/>
         <resources>
              <j2se version="1.3+" />
              <jar href="common.jar" main="true" download="eager" />
              <jar href="classes12.jar" download="eager" />
              <jar href="toplink.jar" download="eager"/>
              <package name="com.applet.*" part="applet" recursive="true"/>
         </resources>
         <applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
    </jnlp>
    i am trying embed that jnlp file using object tag like
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">     
    <PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
    </OBJECT>
    but i am not able to load the applet using Web Start.
    Can anyone please help me. This is very Urgent for me.
    Thanks & Regards,
    Shiva.

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • Deploying FX as a Desktop App - jnlp file codebase should be...what?

    Howdy,
    If I try and run my deployed JavaFX app on another PC I get an error pointing back to the codebase that NB created in the <appname>.jnlp file:
    codebase="[http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/E%3A/JavaFX/Projects/Concentration/Concentration11/dist/]"My main question is, for a standalone desktop FX app you want to distribute, what should the codebase be?
    I assume you don't point to your developer machine's URL because of course that won't exist on someone else's machine. And unlike most web examples, this won't be running from a server.
    Many other examples refer to running the jar file from the command prompt - not acceptable if you are selling an applet, or even just distributing to the general public.
    So how does this work - how do you set up the jnlp file for desktop deployment? And, do you have to manually do this, or is there something I am missing in NB (6.8) ?
    Many thanks in advance.

    Hi Phil and thank you. I admit have been avoiding learning to compile from the command prompt or with other tools due to the ease that NB affords - but it seems that NB is introducing some issues lately.
    I haven't tried the other tools yet, but I thought maybe I could just edit the NB created jnlp file:
    [http://forums.sun.com/about:blank]<jnlp spec="1.0+" codebase="file:/" href="Concentration11.jnlp"> [http://forums.sun.com/about:blank]<information>  <title>*Concentration11*</title>  <vendor>*Gary*</vendor>  <homepage href="http://localhost:8082/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/E%3A/JavaFX/Projects/Concentration/Concentration11/dist/"/>  <description>*Concentration11*</description>  <offline-allowed/>  </information> [http://forums.sun.com/about:blank]<resources>  <j2se version="1.5+"/>  <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>  <jar href="Concentration11.jar" main="true"/>  <jar href="lib/derby.jar"/>  <jar href="lib/derbyclient.jar"/>  <jar href="lib/derbytools.jar"/>  <jar href="lib/.netbeans-derby_JapaneseWords.jar"/>  </resources> [http://forums.sun.com/about:blank]<application-desc main-class="com.sun.javafx.runtime.main.Main">  <argument>*MainJavaFXScript=dbPackage.Main*</argument>  </application-desc>  <update check="background"/>  </jnlp>Replacing the code base with your file idea, if I try to run from the jnlp file it complains it can't find the resource:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: file:/Concentration11.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    <...more...>Sorry to be so dense. Any ideas what I am flubbing up this time?
    Thank you Phil.

  • How to set  max-heap-size outside the jnlp file?

    Due to bug_id=6631056 It may not be possible to specify max-heap-size within
    the JNLP file for certain jnlp java applications.
    Are there other possibilities to specify this Jvm parameter?
    In the ControlPanel there is the possibility to specify Xmx for applets but not for jnlp.
    I have tried to add properties like
    "deployment.javaws.jre.0.args=Xmx\=128M" without success
    Many thanks

    Even in JNLP also you can specify the max heap size
    <j2se version="1.5+" initial-heap-size="128m" max-heap-size="512m"/>
    Thanks,
    Suresh
    [http://sureshdevi.co.in|http://sureshdevi.co.in]

  • Problem in jnlp file

    hi,
    For sandbox i created the repository.jnlp file and used.
    at the same time i created the repository.jnlp file for developement server but it giving the error as
    "com.sap.aii.utilxi.misc.api.ReconnectRuntimeException"
    "Cannot open connection on host: (     )  and port:
    i think there is problem in rmi port..
    Is the RMI port is same for both sandbox and Development server????
    regards
    sasi

    hi,
    ur not able to see the file in development pls do chk with the client nos and ports
    make that the file is in active mode
    provide some more info
    thnx
    sampath

  • JNLP file error

    Hello
    I got some strange behavior in my program and I don't understand why. Here is the situation.
    I have 2 jnlp files with the exact same content except one character.(the name of the file in the href below codebase). The first one is running perfectly fine and the second return me an error. Here are the 2 files (HelloFrame(running fine) and HelloFrame2(returning error))
    The error message is : Il manque le champ obligatoire suivant dans le fichier de lancement : <jnlp>
    which mean : There is missing an obligatory field in the launching file : <jnlp>
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for Notepad -->
    <jnlp spec="1.0+"
          codebase="http://www.gudradain.byethost12.com/"
          href="HelloFrame.jnlp">
       <information>
          <title>HelloWorld Essai</title>
          <vendor>Marc-Andre</vendor>
          <description>HelloWorld Essai</description>
          <homepage href="http://www.gudradain.byethost12.com/"/>
          <description kind="short">Small App pour me pratiquer avec java web start</description>
          <offline-allowed/>
       </information>
       <resources>    
            <jar href="HelloFrame.jar"/>  
         <j2se version="1.6+"
               href="http://java.sun.com/products/autodl/j2se"/>
       </resources>
       <application-desc main-class="Test2.HelloFrame"/>
    </jnlp>
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for Notepad -->
    <jnlp spec="1.0+"
          codebase="http://www.gudradain.byethost12.com/"
          href="HelloFrame2.jnlp">
       <information>
          <title>HelloWorld Essai</title>
          <vendor>Marc-Andre</vendor>
          <description>HelloWorld Essai</description>
          <homepage href="http://www.gudradain.byethost12.com/"/>
          <description kind="short">Small App pour me pratiquer avec java web
    start</description>
          <offline-allowed/>
       </information>
       <resources>    
            <jar href="HelloFrame.jar"/>  
         <j2se version="1.6+"
               href="http://java.sun.com/products/autodl/j2se"/>
       </resources>
       <application-desc main-class="Test2.HelloFrame"/>
    </jnlp>Here is the complete error message :
    MissingFieldException[ Il manque le champ obligatoire suivant dans le fichier de lancement : <jnlp>]
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Ok I found a way to fix this problem but I don't like it. It's really stupid and I don't know why it would in anyway matter but it does. So if anyone could understand something of my following explication and tell me why it do it, I would be really gratefull.
    Here is what cause the problem and what I did to solve it.
    If I create a JNLP file and I don't upload it yet on my server (http://www.gudradain.byethost12.com/) and I try to run it from the folder in which I create it I will get an error message (which seems normal)
    If I upload my JNLP file that I got an error message sometime before on my server and I then try to run it I still get an error message (which I don't understand why because the file is on the server now so it should be able to access it)
    But if I create an exact copy of this file and I put it on the server and then test it (so I didn't get any error message before I test it) now it will work
    What I realize is that if I ever get an error message with a JNLP file that mean my JNLP file is screw and will always return an error message even if I correct this error. WHY!!!???

  • Issue With Signed JNLP file

    Hello,
    There seems to be a restriction in signed JNLP files with regards to relative path set in codebase ?
    (when we set the codebase to be a full url of the download site it works.).
    The problem for us is we want JNLP file for dev and Prod to be identical and not having to hardcode
    download URL.
    We have a start.jnlp which start our app. All our jars are signed. To avoid the usual warning message
    we decided to sign the JNLP file and include JNLP-INF/APPLICATION.JNLP in our jar that contain the main file.
    //start.jnlpl and APPLICATION.JNLP have the following
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp codebase="webstart" href="start.jnlp">
    </jnlp>
    Error/Exception
    BadFieldException[ The field <jnlp>codebase has an invalid value in the signed launch file: webstart,webstart]
         at com.sun.javaws.jnl.XMLUtils.getAttributeURL(Unknown Source)
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDescHelper(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any input will be greatly appreciated.
    Thanks
    Jc

    >
    There seems to be a restriction in signed JNLP files with regards to relative path set in codebase ?
    (when we set the codebase to be a full url of the download site it works.).>That is a problem. Sun seems to think there are many forms of launching where the codebase must be explicitly set for the JNLP to work correctly, and this is one of them. In fact, the only time I know it will work with a relative codebase is when embedding an applet using JNLP - and then it has to have no codebase to work!
    >
    The problem for us is we want JNLP file for dev and Prod to be identical and not having to hardcode
    download URL.>But this is really a matter of approaching the problem the most efficient way, and I would argue that way is to write a build file which will make both versions of the application. It might require a more complicated build file (OK - it will require a more complicated build file), but once it is done you will barely notice any difference in build time, and you can get on with development.

  • JNLP File Generated By A Servlet

    Based on configuration issues with our system build, I have created a servlet that generates the JNLP file for an app we have created. Once the file is written and contains all the dynamically generated info, it is never written by the servlet again.
    I noticed in creating the servlet, initially, that I actually HAD to write the JNLP file. Returning the JNLP file and setting the mime type in the HTTP response was not enough. When Web Start is invoked by the browser, it goes back to the stored JNLP file on the server.
    Can anyone explain why this is necessary?? Its seems redundant. If I can create the JNLP dynamically and pass it back to the browser, why must Web Start retrieve the JNLP file AGAIN from the web server after it launches??
    John Turner
    Software Engineer
    Context Media, Inc
    [email protected]

    There is a limit to what you can do with dynamically generated JNLP files. The combination of codebase and href must exactly specify the JNLP resource that you are retrieving. If you're using a servlet with parameters in a query string to generate the file, it should look like this:
    <jnlp spec="1.0+" codebase="http://app.datadevelopment.com/app" href="MyServlet?param1=value1&param2=value2">
    As long as the MIME type returned by the servlet is "application/x-java-jnlp-file", JWS will start just fine. Unfortunately, JWS will then bomb badly because it tries to use the href attribute as part of the file name for saving the file, and Windows at least doesn't like question marks in a file name.
    A workaround is to replace the query string with path values:
    <jnlp spec="1.0+" codebase="http://app.datadevelopment.com/app" href="MyServlet/param1=value1/param2=value2">
    I'm not 100% sure that this will work with the '=' sign as my application needed only one parameter so I dispensed with the paramN=valueN and replaced the directory with valueN only. The point is, though, that each and every time the application is launched JWS will go to the web server to get the latest copy of the JNLP and the only way I have found to dynamically generate the content is to append the necessary parameters as path names after the script (JSP in my case, servlet in your case).
    If you have multiple parameters and the '=' sign is a problem, strip out the parameter name and require that the parameters be specified in the same order each time. Use one directory delimiter per parameter.
    You can use request.getPathInfo() to retrieve the path after your servlet.

  • Jnlp file shown as XML in Internet Explorer

    My problem is somewhat complex and have given me a headache while it seem to be a completely erratic behaviour. (Erratic, not over time, but over different computers.)
    The main trouble is that I've got two separate webservers serving jnlp files for a production and a test environment. A user can access both servers and there no troubles finding and clicking at jnlp-files. There is however troubles while the jnlp-files in the test environment are shown as XML ("xmltext" in the Internet Explorer way) files.
    But only when using Internet Explorer. The problem do not occur when using Netscape and never in the production environment (webserver).
    I've triple checked the mimetype configuration of both the webservers and they are ok.
    The result of a "get", from both webservers, is (except for the timestamps):
    HTTP/1.1 200 OK
    Server: Netscape-Enterprise/4.1
    Date: Tue, 11 Jun 2002 14:05:32 GMT
    Content-type: application/x-java-jnlp-file
    Last-modified: Tue, 26 Mar 2002 15:58:27 GMT
    Content-length: 1763
    Accept-ranges: bytes
    Connection: close
    The client computer is running Win2000, Internet Explorer v5.50 and a newly installed JavaWebStart.
    Well, there are more to it. This behaviour is for some users at the company. There are users that can, with no problem, run the application deployed at the webserver in the test environment.
    A user who can not load jnlp-files in the test environment using his computer, can be able to load the program at another computer as he logs in.
    Is there anyone who can help me out with this one?
    How come the user(s) at a computer (and one login account) have different Internet Explorer behaviour when getting a jnlp file from two seperate webservers (using same webserver mime setup) when other users (computers) don't?

    I've seen a lot of messages concerning the response of the webserver in posts of this JWS&JNLP forum. Some people gives the advise to use telnet to get the server response. I've used this code (based upon some free sun code in some tutorial trail I think it was).
    import java.io.*;
    import java.net.MalformedURLException;
    import java.net.Socket;
    import java.net.URL;
    * Programmed using the beautiful Java programming tool
    * <a href="http://www.intellij.com/idea/">Idea</a>.
    * If you have not used it, try their free 30day trial version out
    * (clean and nice (un)install, no nags, fully functional). I can not work without it.
    * (This is not ment to be an advertisment but merely my personal recomendation.)
    * <p>
    * Usage:
    * <code>
    * % HttpResponse http://www.ibitec.se/index.html
    * % HttpResponse http://www.intellij.com/idea
    * % HttpResponse http://www.anyhost.com/anyjnlpfile.jnlp
    * </code>
    public class HttpResponse {
        private static int HTTP_PORT = 80;
        public static void main(String[] args) {
            for (int i = 0; i < args.length; i++) {
                System.out.println("Getting server response for url:\n\"" + args[i] + "\"\n");
                try {
                    URL url = new URL(args);
    if (url.getPort() != -1) HTTP_PORT = url.getPort();
    if (!(url.getProtocol().equalsIgnoreCase("http"))) {
    System.err.println("Sorry. I only understand Http not protocol " + url.getProtocol());
    continue;
    Socket socket = new Socket(url.getHost(), HTTP_PORT);
    OutputStream theOutput = socket.getOutputStream();
    PrintWriter pw = new PrintWriter(theOutput, false); // no auto-flushing
    String EOL = "\r\n"; // native line endings are uncertain so add them manually
    pw.print("GET " + url.getFile() + " HTTP/1.0" + EOL);
    pw.print("Accept: application/x-java-jnlp-file, text/plain, text/html, text/*" + EOL);
    pw.print(EOL);
    pw.flush();
    InputStreamReader isr = new InputStreamReader(socket.getInputStream());
    BufferedReader br = new BufferedReader(isr);
    BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
    int character;
    while ((character = br.read()) != -1) bw.write((char)character);
    bw.flush();
    } catch (MalformedURLException e) {
    System.err.println("\"" + args[i] + "\" is not a valid URL.");
    } catch (IOException e) {
    System.err.println(e);
    if (args.length == 0)
    System.err.println("Usage: " + HttpResponse.class.getName() + " <url1> [url2 url3 ...]");

  • About multiple JARs in jnlp file

    If the application has number of jar files, then how to accomodate those in <resources> element of jnlp file?
    I have tried by putting those jars in a single folder and giving the complete path of *.jar files but its not working.
    Can anyone please suggest some solution?

    If the application has number of jar files, then how
    to accomodate those in <resources> element of jnlp
    file?The other poster gave a broad outline, for more details,
    see section 4.3 "Specifying Code Resources" of the
    JNLP Specification*.
    * The JNLP Spec. is donwloadable, but is not
    available for on-line browsing.
    http://java.sun.com/products/javawebstart/download-spec.html
    I have tried by putting those jars in a single folder** Where?
    and giving the complete path ...It is best to specify a path relative to, and 'below'
    the codebase.
    ...of *.jar files but its not working. That is not very specific. What is 'not working'?
    Perhaps the code is just lazy - in need of a bit
    of a rest and a holiday?
    Most other problems show errors in the Java
    Console. The Java Console can be configured
    to automatically open when launching a JWS
    app., and that is a good thing when an app. is
    not launching correctly.
    See the options in the Java Control Panel for
    auto-popping the console.
    Can anyone please suggest some solution?1) Configure the Java Console to open
    automatically, and copy/paste any exceptions
    seen.
    2) Check the JNLP file for well formedness***,
    before posting it here.
    3) ** Describe the paths to your JNLP file, and each
    of the paths to the resources.
    *** The well-formedness of a JNLP file (which is
    XML) can be checked in a little tool I put here..
    http://www.physci.org/xml/xmltools.html#xmlwfc

Maybe you are looking for

  • Field length change in Web Dynpro Components iView

    Hi, We are using SAP MDM Web Dynpro Components - Configuration Manager (NW7.3) to develop the UI. One of the issue while disply field is, Though field maintained in MDM has only 2 charaters UI that displays a full-screen-width field. I would like to

  • After installing the latest version of Kaspersky Anti-virus, I can no longer receive e-mails.

    I can send e-mails, but I can't receive any and they do not get copied to my Sent folder. I have two accounts (using the same Thunderbird installation and the same IMAP server) and both have the same problem. Thunderbird no longer asks my for my pass

  • Livecache recovery from cold backup  with raw devspaces

    We are recovering the Livecache database from code backup to  a database with raw devspaces. We gave the following raw parameters to DATA and LOG devspaces: DATA Devspace: /dev/vx/rdsk/azdevdg/lvlzddisk1 LOG Devspace: /dev/vx/rdsk/azdevdg/lvlzddisk3

  • Discrepancy between IM stock and WM Stock

    Hi experts, We found there is discrepancy between IM stock and WM Stock.Before configuring WM storage types , IM Stocks are not syched. So WM stocks are showing less then IM stocks,. Now i need to synch up the IM stock and WM stock. what we needs to

  • Video over ip with cisco 891

    Hello, We used to communicate with our office in Vietnam by using a video conference terminal (polycom HDX 7000) We just used H.323 protocol, without any gatekeeper, and called the other endpoint terminal with just the IP address. Few days ago, we ch