Deployment.config

I am trying to lock down the Java Web Start user-specific configuration settings. All the client PCs are Win2K. After following the instructions found in http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html#location I am unable to get the deployment.config file settings to be effective. I have tried
deployment.system.config=C\:\\WINNT\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory=true
and also pointing the deployment.system.config at a network share. Neither seem to have any effect on the users deployment.properties settings.
If I delete the users deployment.properties file it will then pick up the settings from the C:\WINNT\Sun\Java\Deployment\deployment.properties file the next time Web Start is launched, however the settings are not mandatory (i.e. web start is not using the deployment.config file settings) and the users are able to permanently change their properties settings.
If anyone has gotten this to work and/or has an example of a functioning deployment.config file I would appreciate any help.
Best regards,
Martin M. Graney

Sounds like there is more work needed on these documents.
deployment.system.manditory only requires the file or ulrl deployment.system.config to be found. t does not lock the properties there unless for property:
deployment.xxx=value
there is also the property:
deployment.xxx.locked=anything
Also, there is a bug in the beta1, that a locked property (such as the deployment.xxx above) will be locked to the value of the lock, instead of the value of the property (ie: will be "anything" instead of "value"
so to get it to work right in the 1.5. beta1, you need to say:
deployment.xxx=value
deployment.xxx.locked=value
/Dietz

Similar Messages

  • Setting system level deployment.user.cachedir in deployment.config

    G'day,
    I've been experimenting with JRE 1.5.0_04 on Windows XP.
    By default deployment.user.cachedir is set to <user home>\Application Data\Sun\Java\Deployment\cache. However, I want it to be <user home>\Local Settings\Application Data\Sun\Java\Deployment\cache.
    I have managed this as follows.
    C:\Windows\Sun\Java\Deployment\deployment.config contains:
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.propertiesand C:\Windows\Sun\Java\Deployment\deployment.properties contains:
    deployment.user.cachedir=$USER_HOME\\..\\..\\..\\..\\Local Settings\\Application Data\\Sun\\Java\\Deployment\\cacheThis works but is ugly. The problem is that $USER_HOME=<user home>\Application Data\Sun\Java\Deployment. It seems that $USER_HOME and $JRE_HOME are the only two variables for use in deployment properties. Are there any others, in particular, one that mirrors the user's actual home directory?
    Thanks,
    Chris.

    G'day,
    Open the Java Console and execute "dump system and
    deployment properties" which shows property values,
    and see if what you want is there.Thanks, but I don't think I can use these at the system level, can I?
    I did try using ${user.home} but that doesn't work.
    So, are there any variables other than $USER_HOME and $JRE_HOME that can be used when setting system level properties?
    More info, http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html
    Thanks,
    Chris.

  • Deployment.config/properties All Users dir on Windows

    Question about the 2 files deployment.config and deployment.config which can be located in "%WINDIR%\Sun\Java\Deployment" or "%USERPROFILE%\Application Data\Sun\Java\Deployment"
    Unfortunately the option to specify a new location for the cache is only applicable to the deployment.properties when it's located under the user profile, it doesn't work when specified under the windows directory.
    I'm curious as to whether I can place the 2 files under the All Users profile and it would achieve the same result for everyone using the workstation.
    Any ideas?

    After some testing it seems this is not possible.
    However, as long as there is no cached profile on the workstation, placing the files into the "Default User" profile will create them for all subsequent logons. Which is a pretty good fix.

  • System level location of deployment.config

    According to http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html, the system level deployment.config can be found in one of two locations on windows:
    (1) <Windows Directory>\Sun\Java\Deployment\deployment.config
    (2) ${deployment.java.home}\lib\deployment.config
    The documentation is a bit sketchy as to what determines which location it checks. From my testing, it seems that if you have a JDK installed, it looks for it in (1). If you only have a JRE installed, it looks for it in (2). Can someone confirm this? Secondly, why does WebStart via a JDK install look in one location while WebStart via a JRE look in another? Why can't it simply search in one location?

    JRE/JDK makes no difference. Java Web Start is in the JRE, so you actually need a JRE to run javaws.
    Webstart will always look first in (1) , and if no deployment.config is found, it will look in the lib directory of the jre that javaws is in. (2)
    However, updating a JRE will (until after 6u4) put the new JRE in a new directory, so you would loose any customization done to the old JRE (such as putting a deployment.config in in) so (1) is preferred, unless you want the config to only apply to a specific update version.
    /Andy

  • JRE 1.6u11: can deployment.config point to a PC location?

    I am an Oracle DBA. I need to configure JRE 1.6u11 to use trusted.certs file located on the PC. I can "make it work" if I place the deployment.config file in C:\WINDOWS\Sun\Java\Deployment with it's key, deployment.system.config, pointing to a network location for the deployment.properties file. Deployment.properties file, in turn, then has a key telling where to find trusted.certs, again, in a network location.
    But, I am unable to set the key, deployment.system.config to look for deployment.properties in the same directory that deployment.config uses, namely, C:\WINDOWS\Sun\Java\Deployment\deployment.properties. It seems like the key, deployment.system.config is not set up to point to a PC path, because trusted.certs is not found. I read that deployment.system.config is supposed to describe a URL. Writing the path as a URL has not helped (file://C:\WINDOWS\Sun...).
    I wish to place these files in a location that is not user-specific. I do not wish to put them on the network.
    Do you know why I can't do this, or do you have any suggestions that would make this work?
    Thanks for your time.

    Turns out I had learned that a file is specified in URL as [file://], but in this case I only needed [file:/]. Once I changed this, everything worked just fine.
    My only question now, is since I answered my own question, do I get the points?

  • OS X deployment.config and deployment.properties not working?

    I have a deployment.config file at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/deployment.config with the following contents:
    deployment.system.config.mandatory=false
    deployment.system.config=file\:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deployment.properties
    The deployment.properties file is located at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deployment.properties with the following contents:
    #deployment.properties
    deployment.macosx.check.update.locked
    deployment.macosx.check.update=false
    deployment.expiration.check.enabled.locked
    deployment.expiration.check.enabled=false
    None of this is working. Do I have the wrong directories or syntax somewhere?
    The documentation at : System- and User-Level Properties says that the deployment.config file will override user settings when placed at ${deployment.java.home}/lib/deploy/deployment.config.
    It seems like the deployment.config file is being ignored completely. I am working with Java 7u40 and higher. Nothing seems to do it.
    Any help would be appreciated!! Thanks!

    Yeah, it only happened to me in the last couple days, so I'm not sure what's happening (latest OS and latest version of Logitech Control Center (but a somewhat old MX Revolution)). Logitech's software is notoriously flakey on Macs, so I'll just chalk it up to that

  • Distributing a deployment.config and deployment.properties for proxy settings.

    I am trying to define the minimum config required to populate a deployment.properties with just proxy settings and point to this with a deployment.config.
    I am finding that that recent versions of 1.7 and 1.8 do not adhere to the browsers settings properly and not all traffic is following the proxy rules in use by the browser. However, if I manually override all traffic to a proxy the applets running on internet based sites function (no intranet sites use java here). If I use a deployment.config, I can see the resulting proxy settings are enabled in the control panel app and the appear exactly the same as per user manual settings, however they are not correctly used.have any ideas?
    Any one have any ideas?.
    Thanks

    Hi Kevin,
    I am actually working on the same problem.
    I need to deploy Java 1.4.2_07 on clients with a mandatory setup. I tryied the deployment.config and deployment.properties file but didn't get it working yet.
    I guess we should share knowledge to find a working solution.
    It would be nice, if you could email me at:
    [email protected]
    regards,
    Volker

  • Deployment.config ignored?

    Ver: 1.5.0_05-b05
    I've been trying to set a system cache directory using deployment.config to define a centralised configuration file without success.
    It seems as if the deployment.config file is simply not being accessed, as even with deployment.system.config.mandatory set true I don't get an error for an invalid deployment.system.config
    Can I get any initialisation information to determine if the process is even looking for the deployment.config file?

    What is the content of your deployment.config file ?
    the value of the property
    deployment.system.config
    should be a URL to the systenm config file.
    note that this is in a properties file, so certain characters such as color ":" and forward slash must be escaped.
    /Andy

  • Deployment.config when %windir% is M:\Windows not C:\Windows

    On my Windows 2003 terminal servers, the C: drive has been remapped to M:
    Why doesn't javaws look in M:\WINDOWS\Sun\Java\Deployment for deployment.config and deployment.properties or can it be configured?

    According to the documentation, you can put deployment.config in either <Windows Directory>\Sun\Java\Deployment\deployment.config or ${deployment.java.home}\lib\deployment.config. But for some reason it is only the last option that is working, so you must install that for every version of the JRE that the server has installed.
    Not the most elegant solution in my opinion.

  • CLI103 Command 'deploy-config' failed

    We are using Sun Java System Web Server 7.0U1 and after removing server certificates from the server I get following error after trying to deploy one certain configuration:
    wadm> deploy-config config_name
    CLI103 Command 'deploy-config' failed. :: nullAny ideas what might be wrong? In web GUI (Admin Console) there's text saying "Deployment Pending" and delpoying from Admin console fails also.
    -Joel-

    I removed it from Administration GUI (Configurations > config_name > Certificates > Delete...).
    I managed to do the deployment by making empty change and saving /[install_path]/https-config_name/config/server.xml again and deploying configurations from the node.
    At the moment the problem is gone but if I get it again I'll post logs in FINE mode here.
    Thanks for the help!
    -Joel-

  • 1.4.2 using deployment.config and deployment.properties

    Can anyone tell me if JRE 1.4.2_06 can use the deployment.config and deployment.properties setting like ver 1.5.0 can?
    I have to use 1.4.2_06 and need to have the cache point to a common location (vs per user) and also would like to preset the cache size on an install.
    This works perfectly on 1.5.0 however, my app requires 1.4.2.
    Can anyone point in a direction?
    Thanks
    Kevin

    Hi Kevin,
    I am actually working on the same problem.
    I need to deploy Java 1.4.2_07 on clients with a mandatory setup. I tryied the deployment.config and deployment.properties file but didn't get it working yet.
    I guess we should share knowledge to find a working solution.
    It would be nice, if you could email me at:
    [email protected]
    regards,
    Volker

  • Prime 1.3 Perf Mon Deploy Config doesn't work Invalid commands

    When I try to deploy configuration to my 6509 or 3750 the template creates the following code.  The job fails and when I try to manually input this, the system doesn't recognize it.  Is there a minimum ios requirement or another template that will work with my device ios versions?
    6509    Version 12.2(33)SXJ4
    3750   12.2(55)SE6
    flow exporter Exporter1
    destination 10.10.10.10
    transport udp 9991
    class-map match-all class-all
    match any
    flow monitor type performance-monitor Flow1
    record default-rtp
    export Exporter1
    policy-map type performance-monitor Perf1
    class class-all
    flow monitor Flow1
    interface Vlan 110
    service-policy type performance-monitor input Perf1
    service-policy type performance-monitor output Perf1

    I believe that you are missing the flow record command.
    In flexible netflow you need to have 3 things, a flow exporter, a flow record, and a flow monitor.
    In your config I see the flow exporter and the flow monitor, but no flow record.
    Was the flow record configured previously and that's why its not in your template?
    Here is an example of a flow record:
    flow record standard
    match ipv4 tos
    match ipv4 protocol
    match ipv4 source address
    match ipv4 destination address
    match transport source-port
    match transport destination-port
    match interface input
    collect transport tcp flags
    collect interface output
    collect counter bytes
    collect counter packets
    collect timestamp sys-uptime first
    collect timestamp sys-uptime last

  • Deploying Config Templates with LMS 4

    Hello,
    i tried to deploy configuration templates with Cisco LMS Template Center, thanks to the 10 Cool LMS Tricks to better manage your network i am able to do it now.
    Just i don't know why, after deploying these templates the configuration is not save to the startup-config.
    another problem i have with the snmp-server location configuration. It seems my template does not support spaces in the textbox.
    Any way to put spaces in the snmp location?
    <parameter name="snmp-location">
    <description>SNMP Server Location</description>
    <html-component>textbox</html-component>
    <default-value></default-value>
    <data-type>string</data-type>
    <mandatory>true</mandatory>
    <isGlobal>false</isGlobal>
    <help-description>snmp-server location</help-description>
    <syntax>
    <min/>
    <max/>
    <pattern/>
    </syntax>
    thanks for your feedback.
    alex

    I filed CSCtr87633 to track the issue with not being able to save the running config to startup.  I had thought this was working, but when I used LMS during CiscoLive!, I had a lot of jobs running, and part of the work involved a Netconfig deployment that also took care of the write mem.
    For the space thing, try this template.

  • Workflow Manager 1.0 : Microsoft.Workflow.Deployment.Config Wizard stopped working

    Hi
      I tried to uninstall the workflow manger 1.0 by leaving the farm using Workflow Configuration wizard. But when i click on "Leave Workflow Manager Farm" it throws an error that 'Microsoft.Workflow.Deployment.ConfigWizard" stopped working...
    How to unistall it?
    Regards,
    Siva

    Hi Siva,
    Please "run as Administrator" on the workflow configuration wizard, see if it could work.
    If above doesn't work, please check workflow management log for troubleshooting.
    http://sladescross.wordpress.com/2013/03/12/workflow-manager-stopped-working/
    http://technet.microsoft.com/en-us/library/jj193526.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to deploy config files to managed servers

    We have several configuration files that are used by our EJB application at
    startup. Is there a way to automatically deploy these configuration files
    to the managed servers. Right now, we are forced to FTP to files over to
    the managed servers as part of the deployment process. It would be nice if
    there were an easier way.
    Randy Ott

    why cant you include them inside your ejbjar as resource files ?
    prasen
    Nitin Shenoy wrote:
    >
    Guess no one replied!!
    "Randy Ott" <[email protected]> wrote in message
    news:3b67022e$[email protected]..
    We have several configuration files that are used by our EJB applicationat
    startup. Is there a way to automatically deploy these configuration files
    to the managed servers. Right now, we are forced to FTP to files over to
    the managed servers as part of the deployment process. It would be niceif
    there were an easier way.
    Randy Ott

Maybe you are looking for

  • I have changed my wi fi password now i m unable to connect my pc

    I have changed my wi fi password now i m unable to connect my pc

  • Query on Receiver as2 adapter

    Hi team, i am working on idoc to As2 interface. how to work with MDN s  at receiver side AS2 adapter? any differences between asynchronous MDN settings and Synchronous mdn settings at receiver as2 adapter. if difference are there could you please let

  • ODI-14070: Import failed

    Hi All , I have one ODI procedure(xml file) which belongs to our deployment script. For the very first time,this procedure was made in ODI and since then it has been exported and kept in our deployment scripts .This procedure is used by a number of p

  • HT201274 how I can see my devices in the Itunes

    I can' t see my devices in the iTunes only the store or the players, how I can see my device to have control and sync.

  • Phew, Mac convert receives new MAC and all is ok

    Hi group, After all this reading and worry, I ordered my imac over a week ago...waited for it to be shipped from far east and it arrived today. I ordered the wireless keyboard and mouse, upgraded to 1GB RAM and upgraded my video to 256Mb. I reviewed