Witold,
One minor correction in my earlier message. When you try to use the
javaws command to launch the client, use the full host name, not just ubu.
Sorry for the confusion.
- Tim
Tim Quinn wrote:
> Hello, Witold.
>
> Sorry this is not working easily for you. I have a few questions for
> you.
>
> 1. What release and build of GlassFish are you using? This may not
> make a difference but please let us know.
>
> 2. Can you please try the following experiment? Instead of trying to
> launch the app client from the admin GUI, try launching it yourself
> from a command-line prompt using:
>
> javaws "http://ubu:8080/SOP/SOP-app-client"
javaws "
http://ubu.mycorp.com:8080/SOP/SOP-all-client"
>
> Based on the info you sent, I think this URL should work. If not,
> look in the server.log file around the time you deployed the app or
> after the most recent restart if the app was already deployed. The
> log file will contain a message announcing what "context-root" will
> work for launching that app's client. If your client expects any
> command-line arguments, add them to the URL as a query string such as
> ?arg=firstArg&arg=secondArg.
>
> 3. I assume when you try to access the app from another network you
> use the full host name, such as something like ubu.mycorp.com. Is
> that right?
>
> 4. What OS is your server system (ubu) running?
>
> 5. If it's a Windows system, does the networking properties properly
> identify the system with its full path and not just ubu? (I'm less
> familiar with the corresponding setup on non-Windows systems.)
>
>
> - Tim
>
> Witold Szczerba wrote:
>> Hello there,
>> I had really hard time trying to run my EAR application deployed on
>> remote Glassfish server.
>> To make things easier I am focusing right now on Java WebStart.
>>
>> Every thing's working perfectly when I launch that application from
>> within the same computer/network where Glassfish is. But when I go to
>> another computer (it is actually on different ip network) and point
>> mozilla at glassfish admin page, navigate to my application and
>> download .jnlp file, then Java WebStart cannot start it.
>> Exception:
>>
>> com.sun.deploy.net.FailedDownloadException: Unable to load resource:
>> http://ubu:8080/__JWSappclients/__appclient/SOP/SOP-app-client/main.jnlp
>>
>> I have opened that jnlp file in text editor and there are, for example:
>> <jnlp ..............
>> href="http://ubu:8080/__JWSappclients/__appclient/SOP/SOP-app-client/main.jnlp">
>>
>>
>> The reason that is not working is that from withing the Internet or
>> any other network inside my company "ubu" does not exist. It is inside
>> special network (something like DMZ) where are servers and firewall is
>> redirecting different ports to different computers.
>>
>> I was thinking I can manually change every "ubu" into router's name or
>> IP. I did it, but it did not help much... Here is another exception:
>>
>> com.sun.deploy.net.FailedDownloadException: Unable to load resource:
>> http://ubu:8080/__JWSappclients/__appserver/aslib/fscontext.jar
>>
>> It looks like my domain1 is really insisting to be visible everywhere
>> on this planet as "ubu".
>>
>> How can I tell my "domain1" to use different name and/or IP address?
>>
>> Right now I really do not know what to do. I have few days to make
>> this working, our customer wants to see our application (he is in
>> different city and wants see it installing/starting with one click on
>> html link - this is what we promised him) and I cannot make Glassfish
>> usable outside our DMZ network :( - the only network he can be visible
>> as "ubu".
>>
>> Please help me or I will be in big troubles :(
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>