+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
Enterprise Software Thread, Running Java applets through an AD Authentication proxy in Technical; Hi, It appears there's a problem running Java applets when using a proxy server with AD Authentication. The upstream proxy ...
  1. #1
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    561
    Thank Post
    59
    Thanked 16 Times in 15 Posts
    Rep Power
    18

    Running Java applets through an AD Authentication proxy

    Hi,

    It appears there's a problem running Java applets when using a proxy server with AD Authentication. The upstream proxy appears to work fine so am looking to globally configure Java to use the upstream proxy to get around this issue however, a reg frag to populate the appropriate values doesn't change the radio button away from "Use browser settings" to "Use proxy server" within the Java Console and the same is the case for manually populating the "deployment.properties" file within the user profile. I then thought that this could be pre-populated within the msi but can't find this file within the data1.cab file and there doesn't appear to be any tables that contain the relevant data within the msi itself so really doesn't want me to set this by the looks of things!!

    Any ideas how I can do this?

  2. #2
    Cache's Avatar
    Join Date
    Apr 2008
    Location
    Cumbria
    Posts
    1,116
    Thank Post
    414
    Thanked 149 Times in 147 Posts
    Blog Entries
    3
    Rep Power
    59
    I use GPP to deploy the deployment.properties and deployment.config files into the relevent java directories on the workstations.

    deployment.config is put in the (because we still use java6) Program Files\Java\jre6\lib folder and contains the following:

    Code:
    #Points to the Deployment.config file
    
    deployment.system.config=file\:C\:\\Program files\\Java\\jre6\\lib\\deployment.properties
    And then we put the deployment.properties into the smae folder which has the following:

    Code:
    #Java Deployment.Config for admin machines
    #Routes all Java traffic straight out through to CLEO/Cumbriagfl proxy which removes kerberos issue
    deployment.proxy.ftp.host=wwwcache.cleo.net.uk
    deployment.proxy.https.port=8080
    deployment.proxy.bypass.list=intranet;*.domain.local;
    deployment.proxy.bypass.local=true
    deployment.proxy.ftp.port=8080
    deployment.proxy.http.host=wwwcache.cleo.net.uk
    deployment.proxy.type=1
    deployment.proxy.https.host=wwwcache.cleo.net.uk
    deployment.proxy.same=true
    deployment.proxy.http.port=8080

  3. Thanks to Cache from:

    randle (8th January 2014)

  4. #3
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    561
    Thank Post
    59
    Thanked 16 Times in 15 Posts
    Rep Power
    18
    I don't appear to have a deployment.config file present anywhere on the local drive so I'm assuming this file needs to be created manually? Is it a case that the install detects the deployment.config file automatically and this reads the deployment.properties file and configures this accordingly?

  5. #4
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    561
    Thank Post
    59
    Thanked 16 Times in 15 Posts
    Rep Power
    18
    Currently the application data for Java is "C:\Users\username\AppData\LocalLow\Sun\Java\Deplo yment" which doesn't help with the deployment of these files and regardless of creating the deployment.config manually, Java still doesn't look to be using the upstream proxy!

  6. #5


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,125
    Thank Post
    203
    Thanked 2,391 Times in 1,771 Posts
    Rep Power
    704
    Quote Originally Posted by randle View Post
    I don't appear to have a deployment.config file present anywhere on the local drive so I'm assuming this file needs to be created manually? Is it a case that the install detects the deployment.config file automatically and this reads the deployment.properties file and configures this accordingly?
    Yes to both questions. I normally put the two deployment files in '%SystemRoot%\Sun\Java\Deployment'.

    http://docs.oracle.com/javase/7/docs...roperties.html
    Last edited by Arthur; 7th January 2014 at 04:59 PM.

  7. Thanks to Arthur from:

    randle (8th January 2014)

  8. #6
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    561
    Thank Post
    59
    Thanked 16 Times in 15 Posts
    Rep Power
    18
    Was just about to post back that I'd found the same documentation and seen the system level deployment section.

    I've placed both files in this location with the deployment.config pointing to the deployment.properties files within '%SystemRoot%\Windows\Sun\Java\Deployment' yet still no luck. I can't help but think the existing deployment.properties file located in 'C:\Users\username\AppData\LocalLow\Sun\Java\Deplo yment' is overriding this maybe or do I need to trigger this change off with a reboot or something maybe!?
    Last edited by randle; 7th January 2014 at 04:39 PM.

  9. #7
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    794
    Thank Post
    37
    Thanked 59 Times in 56 Posts
    Rep Power
    16
    Try deleting the user file. It should ignore the user one and use the system one.

  10. #8
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    561
    Thank Post
    59
    Thanked 16 Times in 15 Posts
    Rep Power
    18
    Yes I thought of this but wanted to avoid anything that involved manual interaction but have just seen that I can delete files through GPP also so will test this out and see if it works. Beers all round if so

  11. #9


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,125
    Thank Post
    203
    Thanked 2,391 Times in 1,771 Posts
    Rep Power
    704
    Quote Originally Posted by randle View Post
    yet still no luck.
    There was a typo in the path I posted above (since I was typing the reply on my phone). I've edited my post now.
    Last edited by Arthur; 7th January 2014 at 05:05 PM.

  12. #10
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    561
    Thank Post
    59
    Thanked 16 Times in 15 Posts
    Rep Power
    18
    Thanks for the update. I tried this and deleted the existing file but when running an applet in IE this file just gets re-created within 'C:\Users\username\AppData\LocalLow\Sun\Java\Deplo yment' so looks to be completely ignoring the manually created files!!

  13. #11


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,125
    Thank Post
    203
    Thanked 2,391 Times in 1,771 Posts
    Rep Power
    704
    What does your deployment.config file look like? This is mine.

    Code:
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    deployment.system.config.mandatory=true

  14. #12
    free780's Avatar
    Join Date
    Sep 2012
    Posts
    794
    Thank Post
    37
    Thanked 59 Times in 56 Posts
    Rep Power
    16
    I thought the file is created but is ignored. You could add a exception to the proxy settings and see if the setting is carried to the user file.

  15. #13


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,125
    Thank Post
    203
    Thanked 2,391 Times in 1,771 Posts
    Rep Power
    704
    Quote Originally Posted by free780 View Post
    I thought the file is created but is ignored.
    Is it. The settings in the system-level configuration files will take precedence over the user-level settings.

  16. #14
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    561
    Thank Post
    59
    Thanked 16 Times in 15 Posts
    Rep Power
    18
    Quote Originally Posted by Arthur View Post
    What does your deployment.config file look like? This is mine.

    Code:
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    deployment.system.config.mandatory=true
    Hmmm you have forward slashes in your path where I have only back slashes as per the example above. I'll change mine tomorrow, test and let you know. I'll also post my files so you can see the content.

  17. #15


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,125
    Thank Post
    203
    Thanked 2,391 Times in 1,771 Posts
    Rep Power
    704
    Quote Originally Posted by randle View Post
    Hmmm you have forward slashes in your path where I have only back slashes as per the example above.
    That could be why it doesn't work then.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. AD Authentication through a QNAP NAS box
    By andyturpie in forum Network and Classroom Management
    Replies: 2
    Last Post: 22nd May 2012, 08:28 AM
  2. Replies: 6
    Last Post: 3rd November 2010, 02:42 PM
  3. Replies: 5
    Last Post: 28th June 2006, 06:15 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •