Hey all,

We've successfully deployed the JavaRE 1.0.8.73 on a Windows 7 SP1 x64 workstation. After that we've added the deployment.config, deployment.properties and the exception.sites files in the C:\Windows\Sun\Java\Deployment directory. Find below the content of each of them.

When we launch a website with java applets (for example: Java Uninstall Toolthen a Configuration error message appears. The details of the message is: Unable to find specified configuration file. You cannot view applets in your browser because a required configuration file could not be found at the specified location: file:///C:/Windows/Sun/Java/Deployment/deployment.properties. You will need to restart your browser when the configuration file problem is resolved.


This message appears when we've logged in with a standard and even with a localadmin account.

Can anyone help us with this issue? We've verified each parameter in the files, but we can't find the reason of the error message



Find below the content of:

- deployment.config

deployment.system.config=file:///C:/Windows/Sun/Java/Deployment/deployment.properties
deployment.system.config.locked

deployment.system.config.mandatory=false
deployment.system.config.mandatory.locked



-deployment.properties

#deployment.properties
#Tue Jan 26 11:58:38 CET 2016
deployment.webjava.enabled=true
deployment.webjava.enabled.locked
deployment.security.level=HIGH
deployment.security.level.locked
deployment.insecure.jres=PROMPT
deployment.insecure.jres.locked
deployment.expiration.check.enabled=false
deployment.expiration.check.enabled.locked
deployment.security.askgrantdialog.notinca=true
deployment.security.askgrantdialog.notinca.locked
deployment.security.askgrantdialog.show=true
deployment.security.askgrantdialog.show.locked
deployment.security.notinca.warning=false
deployment.security.notinca.warning.locked
deployment.javaws.shortcut=never
deployment.javaws.shortcut.locked
deployment.javaws.autodownload=never
deployment.javaws.autodownload.locked
deployment.console.startup.mode=SHOW
deployment.console.startup.mode.locked
deployment.proxy.type=3
deployment.proxy.type.locked
deployment.trace=true
deployment.trace.level=all
deployment.max.output.files=5
deployment.trace.locked
deployment.log=true
deployment.log.locked
deployment.version=8
deployment.system.tray.icon=false
deployment.system.tray.icon.locked
deployment.security.mixcode=Enable
deployment.security.mixcode.locked
deployment.javaws.associations=2
deployment.javaws.associations.locked
deployment.security.revocation.check=NO_CHECK
deployment.security.revocation.check.locked
install.disable.sponsor.offers=true
install.disable.sponsor.offers.locked
deployment.javapi.lifecycle.exception=false
deployment.javapi.lifecycle.exception.locked
deployment.javaws.jre.0.enabled=true
deployment.javaws.jre.0.enabled.locked
deployment.javaws.install=IF_HINT
deployment.javaws.install.locked
deployment.security.sandbox.jnlp.enhanced=true
deployment.security.sandbox.jnlp.enhanced.locked
deployment.security.clientauth.keystore.auto=true
deployment.security.clientauth.keystore.auto.locked
deployment.security.sandbox.awtwarningwindow=true
deployment.security.sandbox.awtwarningwindow.locked
deployment.security.jsse.hostmismatch.warning=true
deployment.security.jsse.hostmismatch.warning.locked
deployment.security.https.warning.show=true
deployment.security.https.warning.show.locked
deployment.security.browser.keystore.use=true
deployment.security.browser.keystore.use.locked
deployment.security.blacklist.check=false
deployment.security.blacklist.check.locked
deployment.security.password.cache=true
deployment.security.password.cache.locked
deployment.security.SSLv2Hello=true
deployment.security.SSLv2Hello.locked
deployment.security.SSLv3=true
deployment.security.SSLv3.locked
deployment.security.TLSv1=true
deployment.security.TLSv1.locked
deployment.security.TLSv1.2=true
deployment.security.TLSv1.2.locked
deployment.security.TLSv1.1=true
deployment.security.TLSv1.1.locked
deployment.security.validation.ocsp=false
deployment.security.validation.ocsp.locked
deployment.security.validation.crl=false
deployment.security.validation.crl.locked
deployment.cache.enabled=true
deployment.cache.enabled.locked
deployment.cache.jarcompression=9
deployment.cache.jarcompression.locked
deployment.cache.max.size=250
deployment.cache.max.size.locked
deployment.user.security.exception.sites=c\:/Windows/Sun/Java/Deployment/exception.sites
deployment.user.security.exception.sites.locked
deployment.security.tls.revocation.check.locked
deployment.roaming.profile=false
deployment.roaming.profile.locked
deployment.security.use.native.sandbox=true
deployment.security.use.native.sandbox.locked
deployment.browser.path=C\:\\Program Files\\Internet Explorer\\iexplore.exe
deployment.browser.path.locked
deployment.security.use.user.home.java.policy=true
deployment.security.use.user.home.java.policy.locked

#Java Deployment jre's
#Tue Jan 26 11:58:38 CET 2016
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.platform=1.8
deployment.javaws.jre.0.osname=Windows
deployment.javaws.jre.0.path=C\:\\Program Files\\Java\\jre1.8.0_73\\bin\\javaw.exe
deployment.javaws.jre.0.product=1.8.0_73
deployment.javaws.jre.0.osarch=amd64
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.enabled=true
deployment.javaws.jre.0.args=



-exception.sites

http://www.GeoAstro.de

http://www.greenfoot.org/

https://www.microsoft.com

http://java.com



- Java Console

Java Plug-in 11.73.2.02
Using JRE version 1.8.0_73-b02 Java HotSpot(TM) Client VM
User home directory = C:\Users\username
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
preloader: Construct preloader delegate
preloader: Construct preloader delegate adapter=class com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter
network: Created version ID: 1.8.0.73
network: Created version ID: 1.8
network: Created version ID: 8.0.71
cache: CacheEntry IP mismatch: 2.16.86.67 != 23.222.42.148
network: Cache entry not found [url: http://java.com/applet/JavaRemovalTool/launch.jnlp, version: null]
cache: CacheEntry IP mismatch: 2.16.86.67 != 23.222.42.148
network: Cache entry not found [url: http://java.com/applet/JavaRemovalTool/launch.jnlp, version: null]
cache: CacheEntry IP mismatch: 2.16.86.67 != 23.222.42.148
network: Cache entry not found [url: http://java.com/applet/JavaRemovalTool/launch.jnlp, version: null]
network: Connecting http://java.com/applet/JavaRemovalTool/launch.jnlp with proxy=HTTP @ proxy-client.
network: Connecting http://java.com/applet/JavaRemovalTool/launch.jnlp with cookie "s_cc=true; s_sq=sunjava%3D%2526pid%253Djavac%25253AVerify%25253Auninstallapplet.jsp%2526pidt%253D1%2526oid%253Dfunctiononclick%252528event%252529%25257BagreedToTOU%252528%252529%25253B%25257D%2526oidt%253D2%2526ot%253DA%2526oi%253D96; s_nr=1456403377649; gpName=javac%3AVerify%3Auninstallapplet.jsp; gpChannel=javac%3AVerify; gpServer=java.com"
network: Connecting http://java.com/applet/JavaRemovalTool/launch.jnlp with proxy=HTTP @ proxy-client.
network: ResponseCode for http://java.com/applet/JavaRemovalTool/launch.jnlp : 200
network: Encoding for http://java.com/applet/JavaRemovalTool/launch.jnlp : null
network: Server response: (length: 793, lastModified: Fri Feb 05 20:53:59 CET 2016, downloadVersion: null, mimeType: unknown)
cache: CacheEntry IP mismatch: 2.16.86.67 != 23.222.42.148
network: Cache entry not found [url: http://java.com/applet/JavaRemovalTool/launch.jnlp, version: null]
network: Downloading resource: http://java.com/applet/JavaRemovalTool/launch.jnlp
 Content-Length: 793
 Content-Encoding: null
network: Wrote URL http://java.com/applet/JavaRemovalTool/launch.jnlp to File C:\Users\username\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\58\31b19ba-2f9b2dc1-temp
network: Disconnect connection to http://java.com/applet/JavaRemovalTool/launch.jnlp
network: Cache: Enable a new CacheEntry: http://java.com/applet/JavaRemovalTool/launch.jnlp
network: Downloaded http://java.com/applet/JavaRemovalTool/launch.jnlp: C:\Users\username\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\58\31b19ba-2f9b2dc1
cache: Adding MemoryCache entry: http://java.com/applet/JavaRemovalTool/launch.jnlp
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@49dd4fa9: 1
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@49dd4fa9: 2
basic: XMLParser with _source:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp href="launch.jnlp" spec="1.0+">
    <information>
        <title>Java Detection</title>
        <vendor>Oracle Corp</vendor>
        <homepage href="http://www.oracle.com"/>
        <description>Java Detection Tool helps you to uninstall out-of-date versions of Java on Windows machines.</description>
        <description kind="short">Java Detection Tool</description>
    </information>

    <security>
        <all-permissions/>
    </security>

    <resources>
        <j2se version="1.6+"/>
        <jar href="JavaRemovalTool.jar"/>
    </resources>

    <applet-desc height="430" main-class="com.oracle.javauninstall.applet.JavaRemovalToolApplet" name="JavaRemovalTool"
                 width="550">
    </applet-desc>
</jnlp>
cache: CacheEntry IP mismatch: 2.16.86.67 != 23.222.42.148
cache: CacheEntry IP mismatch: 2.16.86.67 != 23.222.42.148
network: CleanupThread used 65175 us
network: Created version ID: 1.6+
network: Created version ID: 1.9
temp: returning LaunchDesc from XMLFormat.parse():

<jnlp spec="1.0+" codebase="http://java.com/applet/JavaRemovalTool/" href="http://java.com/applet/JavaRemovalTool/launch.jnlp">
  <information>
    <title>Java Detection</title>
    <vendor>Oracle Corp</vendor>
    <homepage href="http://www.oracle.com"/>
    <description>Java Detection Tool helps you to uninstall out-of-date versions of Java on Windows machines.</description>
    <description kind="short">Java Detection Tool</description>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="timeout" policy="always"/>
  <resources>
    <java version="1.6+"/>
    <jar href="http://java.com/applet/JavaRemovalTool/JavaRemovalTool.jar" download="eager" main="false"/>
  </resources>
  <applet-desc name="JavaRemovalTool" main-class="com.oracle.javauninstall.applet.JavaRemovalToolApplet" documentbase="http://java.com/en/download/uninstallapplet.jsp" width="550" height="430"/>
</jnlp>
ui: missing resource: java.util.MissingResourceException: Can't find resource for bundle com.sun.deploy.resources.Deployment, key OK
ui: missing resource: java.util.MissingResourceException: Can't find resource for bundle com.sun.deploy.resources.Deployment, key OK
ui: missing resource: java.util.MissingResourceException: Can't find resource for bundle com.sun.deploy.resources.Deployment, key Details
ui: missing resource: java.util.MissingResourceException: Can't find resource for bundle com.sun.deploy.resources.Deployment, key Details
basic: Dialog type is not candidate for embedding
ui: Pushing modality for applet ID 2 with dialog javax.swing.JDialog[dialog0,702,395,516x218,layout=java.awt.BorderLayout,TOOLKIT_MODAL,title=Configuration Error,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,3,25,510x190,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
 Match: beginTraversal
network: Created version ID: 1.6+
network: Created version ID: 1.8
network: Created version ID: 1.8.0.73
network: Created version ID: 1.8
network: Created version ID: 8.0.71
network: Created version ID: 1.6+
network: Created version ID: 1.8

....

Kind regards,


Patrice Renard


0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

2
Ready, everybody?

ProcMon, ProcMon, ProcMon!

Also, please apply the 'Code' style to lengthy texts like your config file content. It makes reading the post more manageable.
Answered 02/26/2016 by: VBScab
Red Belt

  • It's good to know that retirement isn't permanent ;-)
  • Welcome back :)
Please log in to comment
Answer this question or Comment on this question for clarity