• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

JAWS behind authenticated proxies?

 
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Will JAWS face problem accessing the deployed applications from behind a proxy and firewall? My proxy requires authentication but there is no way to confgure the username and password in the JAWS application.
-sudharsan
 
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have an JWS app using ssl and https. JWS, or/and the browser will pop up an authentication dialog. You don't have to implement that yourself.
chantal
 
Sudharsan Govindarajan
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
chantal,
When i try to access the Poseidon for UML through Java Web Start, i get the following Error

And the Exception is

This is the wrapped Exception

What could be the reason for this Exception?
thanks
Sudharsan
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
I can't say what the reason is. Hm, obviously there is a problem with the location of the jnlp-file. But I suppose this problem is caused through the download. so I would suggest to things:
- delete the JavaWebStart cache. This directory is in your home under ".javaws" (in my case (linux) its:
"~/.javaws/cache"
deleting this directory will remove all files that have been downloaded by jws, including the jnlp files. (using the javaws admin gui is not that efficient, I suspect.)
If you don't want to remove all the cache, remove only the Poseidon directory: something like cache/http/wwwgentlewarecom/...
- if you have downloaded any jnlp files (Poseidon) yourself and saved them at another location, remove them as well.
- try again.
If it does not work this time, and you didn't try it, yet, then download the jnlp file directly using "save link target as" in your browser.
start javaws from the commandline giving this jnlp file as argumen "$ javaws Poseidon....jnlp"
hope this will help
Chantal
 
Sudharsan Govindarajan
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hmmm.
Nothing works out. I've cleared the cache..
tried running javaws command line with the downloaded JNLP file...
The Java WS readMe says


Java Web Start will also prompt you for a user name and password required to access an authenticating proxy server.


But i'm not getting the passowrd entry dialog. Can that be a reason?

Sudharsan
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a last option. I didn't think of it, the last time, sorry.
Start the javaws admin gui. go to Preferences (or Options? I have a localized version here, so I don't know what's there in English). A dialog opens where you can chose between:
Proxies:
- without
- use Browser
- manually
In my case, "use Browser" is selected. Sometimes it is disabled, I don't know if you can change the settings in the configuration file directly, in that case.
I would try to switch between theses options and see whether it changes something. It should do it!
Chantal
 
Sudharsan Govindarajan
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried those options too. But it did'nt work out. Anyway thanks chantal!
-sudharsan
 
Not so fast naughty spawn! I want you to know about
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic