Results 1 to 7 of 7

Thread: Java Web start - find out server

  1. #1
    Join Date
    Mar 2010
    Posts
    330

    Java Web start - find out server

    Hello,
    I want to run an application in Java Web Start and they and a link to the server (from which comes the application). How do I come to the right host? Can the launch of java web start be determined in any way? Thank you for your help. Help is expected here.

  2. #2
    Join Date
    Nov 2009
    Posts
    343

    Re: Java Web start - find out server

    Possibly you can use the following function / method in your code and see what is the output of the code
    Code:
    javax.jnlp.BasicService # getCodeBase ().
    though I have not checked it manually, but I think this should work for you.

  3. #3
    Join Date
    Jan 2010
    Posts
    126

    Re: Java Web start - find out server

    Running on the server, a container? I have something for times a JSP made, which generates the JNLP file and its host information (Hostname, port) As properties about the generated JNLP file, the WebStart application does not start, even I need a little help regarding this topic. Thank you.

  4. #4
    Join Date
    Mar 2010
    Posts
    330

    Re: Java Web start - find out server

    Hello,
    Thank you, Can I really count on me, the Service Manager throws an exception when the application directly (ie is run with java instead of javaws)? Or else can I distinguish between direct and JNLP version? I have not found any article on this yet. More help is appreciated.

  5. #5
    Join Date
    Dec 2009
    Posts
    192

    Re: Java Web start - find out server

    That is basically correct. I had but in addition to the host name or more Information about Mountain Boar (for example, the listen port of the Application Server, wanted the users have the name of the Application Server for Log-in to see). And as the generation of the JNLP descriptor held within the container, I could also easily the same WAR file into different containers on the same machine install.

  6. #6
    Join Date
    Nov 2009
    Posts
    67

    Re: Java Web start - find out server

    which brings me then to the next problem: how do I get in the jnlp file legal language that I like each of the surveyed server would like to use as a codebase? In the jnlp file contains the RootElement yes "jnlp" with the attribute
    "Codebase":
    Code:
    <jnlp spec="1+" codebase="http://myserver/webstart" href="test.jnlp">
    ....
    </ Jnlp>

  7. #7
    Join Date
    Jan 2010
    Posts
    126

    Re: Java Web start - find out server

    I now have a number of servers, each of these Webstart Service (And also offer their own codebase), the independent from each other (and sometimes not at all to the internet connected). Therefore, the codebase is always the main server be. How can I now set up as the jnlp without each adjust computer to do? An attempt was
    Code:
    <jnlp spec="1+" codebase="/webstart" href="MyClient.jnlp">
    ....
    </ Jnlp>
    but this does not work. How do I get a generic entry to go there?

Similar Threads

  1. Java Console does not start
    By KALYAN23 in forum Software Development
    Replies: 6
    Last Post: 28-07-2010, 10:26 AM
  2. Exception in Java Web Start
    By Jaganmohini in forum Software Development
    Replies: 6
    Last Post: 27-07-2010, 01:15 PM
  3. Find date in java
    By Allan.d in forum Software Development
    Replies: 3
    Last Post: 09-12-2009, 10:43 AM
  4. Java 11 cannot find symbol
    By Wyvern in forum Software Development
    Replies: 3
    Last Post: 02-09-2009, 01:12 AM
  5. How to Start programming in JAVA ?
    By Keegan in forum Software Development
    Replies: 11
    Last Post: 22-12-2008, 02:02 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,913,577.41408 seconds with 17 queries