Refreshing properties files

Hi
At the moment any time we make a change to a properties file, we have to restart tomcat for the changes to take effect.
I'm trying to set up a jsp page which will call the function in the bean which loads the properties file.
This is the codes we're using:
in = this.getClass().getResourceAsStream("/pagedata.properties");
props.load(in);
in.close();
It works fine when the the bean is loaded but if I make a change to the properties file and call this function to load the props file again it doesn't work.
Thanks.

maybe,in your system,there are more than two property files named 'pagedata.properties' and maybe they are all in directory you classpath points to. And perhaps you change one,but your running program use another.

Similar Messages

  • How to refresh .properties files.

    Hi,
    I am using Struts 2.0.
    Here is my question:
    I have admin. section where I have provided facility to change the caption of label displayed at public side.
    Name of labels come from .properties file. Now using Property object I access my resourse file & using setProperty() method I have changed value of respective key.
    To get conformation that changes are affected I have openned this file & diplayed it on console. Changes are made successfully but when I see the label of public side, they are unchanged (After refreshing web page).
    According to my knowledge, when ever application is loaded first contents of .properties file are loaded in memory, so even if we change the file contents, references present in memory are not changed.
    Is there any way by which I can refresh memory content.
    Since .properties file is change but its change are not affected on memory.
    Possible solution for it is that I shall restart my application. Is that possible by programming.
    Any other solutions will be appreciated.

    Yes,
    .properties files is updated perfectly.
    One of the thing which I noticed is that when I openned .properties file to check updates and close it, Now I pressed refresh button, Change are found to be made on Browser.
    But next time I again made changes but didn't open .properties file & pressed refresh button no changes where made on browser.
    So I found that by openning file explicitly change are made in browser,
    Keeping this thing in mind I created on File object & displayed entire file on console.
    It showed changed file content, but changes are not found on Browser.
    So whats exactly happening here?

  • Setting up .properties file

    Hello
    I would like to know if theres any particular rules for setting up the .properties file. Like in my application i have four *.properties files
    1)log4j.properties 2) mapping.properties and so on
    the mapping.properties file have jsps mapping..so basically it says
    (key) add.project.param = (value)add_project.jsp
    project = project.jsp
    I am trying to understand how response.sendRedirect sends the appropriate link to project.jsp (view page) from add_project.jsp
    In add_project.jsp, response.sendRedirect is simply written as
    response.sendRedirect("tsaa.go?param=view&oid=" + parent + "&type=" + ptype);in my servlet dispatcher class; there are various functions two of them are
    1) void processRequest(HttpServletRequest request, HttpServletResponse response) { }
    2) String getForwardPage(HttpServletRequest request, HttpServletResponse response) { }
    and i think these classes take care of forwarding the request to appropriate page.
    If there are certain rules for setting up the mapping.properties file, do i have to set my new jsp pages in mapping.properties file as:
    quality.control.param = quality_control.jsp
    quality.control.results = quality_control_results.jsp
    (rite now i am using qc.results = quality_control_results.jsp and that doesnt seem to work)
    somehow response.sendRedirect("tsaa.go?param=view&oid=" + parent + "&type=" + ptype) doesn't seem to work in my quality_control.jsp page. Without the above line i can atleast move till quality_control.jsp page from home.jsp....but with response.sendRedirect().....i am on home.jsp after a refresh.
    if u know any links where i can read abt .properties file please let me know. googling gave me build.properties file but nothing for jsp mappings
    Any help is appreciated
    Thanx

    i got the solution
    please ignore the posting
    thanx

  • Add few lines in jserv.properties file automatically

    Hi All,
    Generally we will be doing 11.5.10.2 "refresh" automatically.....
    How can i automate the script to add this 3 lines in jserv,properties?
    Basically add the following lines to the jserv.properties before any other classpath entry
    wrapper.classpath=/u01/uat2/uat2comn/java/6003133.jar
    wrapper.classpath=/u01/uat2/uat2comn/java/Bug6823675.jar
    wrapper.classpath=/u01/uat2/uat2comn/java/bug5336153.25.42.jar
    thanks a million....

    Hi Hussein,
    Thanks for giving this information..
    This is my jserv.properties file
    ORIGINAL jserv.properties  FILE
    # PATH environment value passed to the JVM
    # Syntax: wrapper.path=[path] (String)
    # Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
    # "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
    # Notes: if more than one line is supplied these will be concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters
    # Under Win32 (windows-dir) and (windows-system-dir) will be
    # automatically evaluated to match your system requirements
    # CLASSPATH environment value passed to the JVM
    # Syntax: wrapper.classpath=[path] (String)
    # Default: NONE (Sun's JDK/JRE already have a default classpath)
    # Note: if more than one line is supplied these will be concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters. JVM must be
    # able to find JSDK and JServ classes and any utility classes used by
    # your servlets.
    # Note: the classes you want to be automatically reloaded upon modification
    # MUST NOT be in this classpath or the classpath of the shell
    # you start the Apache from.
    # Custom classpath
    # wrapper.classpath =
    wrapper.classpath=/u01/clone/cloneora/web/Apache/Jserv/libexec/ApacheJServ.jar
    wrapper.classpath=/u01/clone/cloneora/web/Apache/Jsdk/lib/jsdk.jar
    # ----- iAS 1022 -----
    wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsp.jar
    wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsputil.jar
    wrapper.classpath=/u01/clone/cloneora/web/lib/servlet.jar
    wrapper.classpath=/u01/clone/clonecomn/java/ojdigsig.zip
    wrapper.classpath=/u01/clone/clonecomn/java/sax2.zip
    wrapper.classpath=/u01/clone/clonecomn/java/xmlparserv2-904.zip
    wrapper.classpath=/u01/clone/clonecomn/java/xdoparser.zip
    wrapper.classpath=/u01/clone/cloneora/web/sqlj/lib/translator.zip
    wrapper.classpath=/u01/clone/clonecomn/java/jbojdbcpatch.zip
    wrapper.classpath=/u01/clone/clonecomn/java/jdbc14.zip
    wrapper.classpath=/u01/clone/clonecomn/java/nls_charset12.zip
    wrapper.classpath=/u01/clone/clonecomn/java/apps.zip
    wrapper.classpath=/u01/clone/clonecomn/java
    wrapper.classpath=/u01/clone/clonecomn/java/cache.zip
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar
    wrapper.classpath=/u01/clone/cloneora/web/jlib/jssl-1_1.jar
    wrapper.classpath=/u01/clone/cloneora/web/jlib/javax-ssl-1_1.jar
    wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/aqapi.jar
    wrapper.classpath=/u01/clone/cloneora/8.0.6/forms60/java
    wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/jmscommon.jar
    UPDATED FILE SHOULD BE LIKE THIS
    # PATH environment value passed to the JVM
    # Syntax: wrapper.path=[path] (String)
    # Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
    # "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
    # Notes: if more than one line is supplied these will be concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters
    # Under Win32 (windows-dir) and (windows-system-dir) will be
    # automatically evaluated to match your system requirements
    # CLASSPATH environment value passed to the JVM
    # Syntax: wrapper.classpath=[path] (String)
    # Default: NONE (Sun's JDK/JRE already have a default classpath)
    # Note: if more than one line is supplied these will be concatenated using
    # ":" or ";" (depending wether Unix or Win32) characters. JVM must be
    # able to find JSDK and JServ classes and any utility classes used by
    # your servlets.
    # Note: the classes you want to be automatically reloaded upon modification
    # MUST NOT be in this classpath or the classpath of the shell
    # you start the Apache from.
    # Custom classpath
    # wrapper.classpath =
    wrapper.classpath=/u01/uat2/uat2comn/java/6003133.jar
    wrapper.classpath=/u01/uat2/uat2comn/java/Bug6823675.jar
    wrapper.classpath=/u01/uat2/uat2comn/java/bug5336153.25.42.jar
    wrapper.classpath=/u01/clone/cloneora/web/Apache/Jserv/libexec/ApacheJServ.jar
    wrapper.classpath=/u01/clone/cloneora/web/Apache/Jsdk/lib/jsdk.jar
    # ----- iAS 1022 -----
    wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsp.jar
    wrapper.classpath=/u01/clone/cloneora/web/jsp/lib/ojsputil.jar
    wrapper.classpath=/u01/clone/cloneora/web/lib/servlet.jar
    wrapper.classpath=/u01/clone/clonecomn/java/ojdigsig.zip
    wrapper.classpath=/u01/clone/clonecomn/java/sax2.zip
    wrapper.classpath=/u01/clone/clonecomn/java/xmlparserv2-904.zip
    wrapper.classpath=/u01/clone/clonecomn/java/xdoparser.zip
    wrapper.classpath=/u01/clone/cloneora/web/sqlj/lib/translator.zip
    wrapper.classpath=/u01/clone/clonecomn/java/jbojdbcpatch.zip
    wrapper.classpath=/u01/clone/clonecomn/java/jdbc14.zip
    wrapper.classpath=/u01/clone/clonecomn/java/nls_charset12.zip
    wrapper.classpath=/u01/clone/clonecomn/java/apps.zip
    wrapper.classpath=/u01/clone/clonecomn/java
    wrapper.classpath=/u01/clone/clonecomn/java/cache.zip
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar
    wrapper.classpath=/u01/clone/clonecomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar
    wrapper.classpath=/u01/clone/cloneora/web/jlib/jssl-1_1.jar
    wrapper.classpath=/u01/clone/cloneora/web/jlib/javax-ssl-1_1.jar
    wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/aqapi.jar
    wrapper.classpath=/u01/clone/cloneora/8.0.6/forms60/java
    wrapper.classpath=/u01/clone/cloneora/web/rdbms/jlib/jmscommon.jar
    This bold line should be added to that place, how can i do automatically.please suggest me.
    Thanks a million...

  • By mistake i deleted the Propertysheet.properties file in VC admin

    Hi All,
    I have an issue in visual composer, I did the following.. then i got the error when I logged into VC that "Proxy error : Server error : Failed to read models list"
    1.  Log on to Visual Administrator. 
    2.  In the left panel, make sure the Global Configuration tab is chosen.
    3.  In the tree, expand the Services node and choose the Configuration Adapter service. In
    the main pane, in the Display configuration tab, the Configurations tree is displayed.
    4. Expand the development server node to display the client workspaces.
    Under client workspaces i have gone to my login name under that by mistake i deleted the Propertysheet.properties file.
    Then i refreshed the my model name, then  the Propertysheet.properties file came.
    Still I am getting the error. Can you help me out... Its very urgent to resolve this.. I will give points for good answers.
    Thanks
    Suresh.

    Hi,
    does this only happen for your user or for all?
    Anja

  • Error reading properties file upon deployment

    hi. i'm still relatively new with regards to the Java programming language. in any case... i am developing a simple project wherein the application has to make a database connection to a server. the application is finished already however.. i am having problems deploying it.
    my project has a "resources" package containing the file "config.properties" which contains various information (connection details among others). correct me if im doing something wrong, but in deploying in, i copied the "dist" folder of my compiled code and then tried to run the java exe independently which resulted in an error. i already tried copying the "config.properties" file to the dist folder and even creating a "resources\config.properties" file but it still results in an error. could you please help me figure out how to deploy the application with the properties file. the code i used in referencing my .properties file is as follows:
    Properties configFile = new Properties();
                configFile.load(this.getClass().getClassLoader().getResourceAsStream("Resources\\config.properties"));
                String username = configFile.getProperty("username");
                String password = configFile.getProperty("password");
                String url = configFile.getProperty("url");
                String dbtype = configFile.getProperty("dbtype");
                Class.forName(dbtype);
                conn = DriverManager.getConnection(url, username, password); thanks in advance. ^^

    thank for the help mangst. i guess the IO approach is also applicable ^^; i changed my code to:
    configFile.load( new FileInputStream( ".\\resources\\config.properties" ) );but i had a little trouble in debugging it since it starts the file search from the main project directory. however it works fine upon deployment. ^^; thanks again.
    Edited by: xnofate on Sep 23, 2008 6:21 PM

  • Error reading Properties file

    I have a main method which i am using to call a servlet located in the same Development Component. Until recently i had the servlet location hard coded and it was working without issues. Now i decided to make the location configurable. For this i created an sap.application.global.properties file in the EAR DC which contains the WAR of this DC.
    The contents of the above file are as follows:
    SAP application properties
    SERVLET.LOCATION=http://<server-name>/ControllerServlet/servlet/com.nike.xapps.eqptsp.swem.controller.ControllerServlet
    The code i am using in the main method to call this properties file and access the property is as follows:
    Context ctx = new InitialContext();
    ApplicationConfigHandlerFactory cfgHdlr = (ApplicationConfigHandlerFactory)ctx.lookup("ApplicationConfiguration");          
    Properties props = cfgHdlr.getApplicationProperties();
    String servlet = props.getProperty("SERVLET.LOCATION");
    contained in a try...catch block.
    On dubugging i get a NoInitialContextException repeatedly in the statement where the lookup is performed.
    These are all the additions i have made for reading this properties file. Does anyone know if there is anything more that needs to be done for this to work.
    Thanks,
    Murtaza.

    thank for the help mangst. i guess the IO approach is also applicable ^^; i changed my code to:
    configFile.load( new FileInputStream( ".\\resources\\config.properties" ) );but i had a little trouble in debugging it since it starts the file search from the main project directory. however it works fine upon deployment. ^^; thanks again.
    Edited by: xnofate on Sep 23, 2008 6:21 PM

  • Display data on ADF table using a VO binded to a message.properties file

    Hi,
    I want to display data in a JSPX page using ADF table which is based on a ViewObject. The attributes of the ViewObject should get it's value from a abc.properties file(static file).How can i achieve this.
    thanks in advance.
    regards,
    Himanshu.

    Hi Himanshu,
    When you create a VO based on static values, all of the records from your VO are generated into the MessageBundel.properties file like this
    devguide.entity.ViewObj.SL_0_0=1
    devguide.entity.ViewObj.SL_0_1=<val1>
    devguide.entity.ViewObj.SL_0_2=<val2>
    devguide.entity.ViewObj.SL_1_0=2
    devguide.entity.ViewObj.SL_1_1=<val1>
    devguide.entity.ViewObj.SL_1_2=<val2>
    You could add more lines to the properties files maintaining the same pattern. Also noticed that you can read all the values from a CSV file as well.
    The last resource is to programmatically read the file and start creating new rows on the VO, which won't use any of the declarative tools for VOs.
    -Juan Camilo.

  • Reading values from properties file

    Hi All,
    I am in need of a help from you all.I have a login.jsp which gets username and password as user input and checks in the servlet that if it was admin and admin it will take to index.jsp and if it was other than admin and other users it should take to index1.jsp.For now i am using an if condition to check the values and to dispatch the request.I need to use a properties file for this and need to check by getting the values from the properties file.And also it should check for each entry in properties file and if it finds any matches it should take to the corresponding page.
    Please help me in achieving this.
    Thanks,
    laxmi

    Hi All,
    I am in need of a help from you all.I have a login.jsp which gets username and password as user input and checks in the servlet that if it was admin and admin it will take to index.jsp and if it was other than admin and other users it should take to index1.jsp.For now i am using an if condition to check the values and to dispatch the request.I need to use a properties file for this and need to check by getting the values from the properties file.And also it should check for each entry in properties file and if it finds any matches it should take to the corresponding page.
    Please help me in achieving this.
    Thanks,
    laxmi

  • I am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g

    hi TimoHahn,
    i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
    Root cause of ServletException.
    java.lang.NullPointerException
    at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
    at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
    at java.util.ResourceBundle.getString(ResourceBundle.java:334)
    at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

  • Unable to load properties file from filesystem

    Hi,
    I have a client swing-applicatiion packaged in a jar-file. The application uses some resource files, including a xxxx.properties file to set defaults for the application. All resource files are included in the jar file and everything works as expected. I load the xxxx.properties file as follows:
    is_ = getClass().getResourceAsStream("/resources/xxxx.properties");
    Because it is not possibl to change any property values inside the jar-file without recreating this jar-file, i want to exclude the xxxx.properties file from the jar-file and put it in the folder containing the jar-file.
    So i have:
    drive:/folder/app.jar
    drive:/folder/xxxx.properties
    Now i read the xxxx.properties file from disk in stead of the 'resouce'-folder within my application (jar):
    is_ = getClass().getResourceAsStream("drive:/folder/xxxx.propoerties");
    but it doesn't work, the file isn't found.
    What am i missing here?
    Any suggestions?

    The best way to approach this is to include the properties file in the Jar as you originally did. If the user changes any property, save the entire set of properties to a sub-directory of user.home (perhaps based on the package name of the main class). Check for the copy in user.home before using the 'default' properties built into the Jar.
    Other places/ways to store the changed information.
    - java.util.prefs.Preferences
    - Assuming the app. has a GUI and can be deployed over a network, the JNLP API PersistenceService. Here is a demo. of the PersistenceService (http://pscode.org/jws/api.html#ps).
    Edit 1:
    I did not at first notice that this post was in Java Applet Development.
    <li> Applets can also (theoretically) use cookies to store information. This is prone to failure when users disable cookies.
    <li> To store information on the local file system (e.g. in user.home) or to use Preferences (AFAIU) would require trusted code.
    <li> If the user has the Next Generation Java Plug-In (Java 1.6.0_10+) it is possible to leverage the JNLP API services in an embedded & sand-boxed applet.
    Edited by: Andrew Thompson on Feb 1, 2011 9:32 AM

  • How to refresh XML file  from my client machine

    Hai All
    I have temp.XML and temp.XSL template in our server machine.
    when i give a print from client machine first time it gives the record,and next time it did not get refresh.Always it shows the previous records in the browser.But when i go into the server machine and click on temp.xml,it shows the current record(correct records)
    How to refresh XML file  from my client machine?
    Regards
    Dhina

    You never delete a Time Machine backup by dragging it to the Trash. You are supposed to use the TM application to manage the backups. What you will need to do now is to simply erase the drive using Disk Utility.

  • JRE7Update25 Deployment Properties File Not Working And Cant Disable Next Gen Plugin

    Good Day
    Our organisation needs to deploy JRE7U25 to over 4000 workstations. Our desktops are running the following Windows and IE combinations:
    WinXP 32 Bit/IE7
    WinXP 32 Bit/IE8
    Win7 32 Bit/IE8
    Win7 32 Bit/IE9
    Win7 64 Bit/IE8
    Win7 64 Bit/IE8
    We use the 32bit JRE installer across all environments and all IE browsers use 32Bit IE. On all of our environments the Deployment.properties and config files no longer work due to what appears to be a bug in the JRE7U25 installer. Our deployment files are as follows:
    Deployment.config
    deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
    deployment.system.config.mandatory=true
    Deployment.properties
    deployment.security.level=MEDIUM
    deployment.security.level.locked=
    deployment.javaws.autodownload=NEVER
    deployment.javaws.autodownload.locked=
    deployment.security.mixcode=HIDE_RUN
    deployment.security.mixcode.locked=
    deployment.console.startup.mode=HIDE
    deployment.console.startup.mode.locked=
    Both files are being copied to the following location:
    C:\Windows\Sun\Java\Deployment
    After the installer runs and deployment files are copied to the workstation the deployment.properties and config files look like this:
    Deployment.config
    deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
    deployment.system.config.mandatory=true
    Deployment.properties
    #System Deployment Properties
    #Mon Jul 01 12:29:20 CAT 2013
    deployment.security.level=MEDIUM
    I have tried changing the deployment.config file as follows in an attempt to fix this to no avail:
    1. deployment.system.config=C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
        deployment.system.config.mandatory=true
    2. deployment.system.config=C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
        deployment.system.config.mandatory=false
    3. deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
        deployment.system.config.mandatory=true
    4. deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
        deployment.system.config.mandatory=false
    5. deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    None of the above mentioned works. So all our required settings in the deployment.properties file are being overwritten when opening the Java console? Our other major problem is that Changing the registry key to 0 in order to disable the next generation plugin does not disable the next generation plugin in Jre at the usual location as it worked for us machine wide (across multiple profiles for JRE6U29):
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\10.25.2]
    "UseNewJavaPlugin"=dword:00000000
    ^^I have observed on a fresh install of JRE7U25 that the above mentioned registry key no longer exists in this version so a computer wide disablement of this option is no longer possible via the registry.
    On our 32Bit and 64bit machines running the 32 bit JRE 7U25 client when we disable the next generation plugin it keeps enabling itself again. Even when we run the javacpl.exe to run as administrator by changing the compatibility settings and disabling the next generation plugin it enables itself again. This is a huge problem for us because our company Oracle web based applications need this plugin to be disabled in order to run the apps properly.
    These are major obstacles for our deployment as we desperately require assistance or any advice in addressing these issues as there appear to be numerous bugs with the JRE7U25 release. Thank you in advance.
    Update 7 July 2013:
    I have observed that if you have the following options in your Deployment.config file it doesn't allow our java webstart apps which use jnlp extensions to run.
    1. deployment.system.config=C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
        deployment.system.config.mandatory=true
    2. deployment.system.config=C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
        deployment.system.config.mandatory=false
    3. deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
        deployment.system.config.mandatory=true
    4. deployment.system.config=C:\WINDOWS\Sun\Java\Deployment\deployment.properties
        deployment.system.config.mandatory=false
    The jnlp file association is also broken on Windows XP workstations with JRE7U25. We are having to manually associate the .jnlp file extension with javaws.exe on workstation for Web start apps or else users cannot lauch JRE whn clicking on .jnlp links.
    The only Deployment.config syntax which allows our Webstart applications to run is as follows:
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    What a mess!

    I don't have an answer to the problem, but I am having problems with the system level deployment.properties file and IE9 on Windows 7 32/64bit.
    Starting with version 13, the IE plugin seems to igonore the system level deployment.properties file in favor of the user level deployment.properties file. When I open the Java Control Panel, the settings are correct per the system deployment.properties file. Currently to get the Java Plugin to work reliably in IE9 I have to set the following:
    _JAVA_OPTIONS = -Djava.net.preferIPv4Stack=true
    Disable caching
    Set the proxy to Direct Connection.
    If I set the _JAVA_OPTIONS as an environment variable and the other two in the system deployment.properties file, Firefox works fine, but IE wont load either of the Java tests. If I removed the system deployment.properties files and configure the user deployment.properties file, both IE and Firefox work fine.
    I find it interesting that if I set the configuration through the control panel, then apply the system deployment.propteries file, the user deployment.properties file reverts to defaults when the system file is removed.

  • How Can i specify multiple server names in rwservlet.properties  file?

    How Can i specify multiple server names in rwservlet.properties file without clustering?
    I am using oracle 10g Application server. we have 3 servers Repsvr1, RepSvr2 and RepSvr3. Now i need to configure rwservlet.properties file to point to these servers based on any running report. i got 3 keymap files with reports info.
    Sample entry in the key map file is:
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    rwservlet.properties file letting me to enter only one servername. Even though i merged all 3 keymap files into 1, still i have the server name issue. If i leave the server to the default name still i am getting the below error.
    REP-51002: Bind to Reports Server Repsvr1 failed. However, i know the default rep_<servername> would be used incase we dont have SERVER=<value> parameter in the rwservlet.properties file.
    If i specify the servername in the rwservlet.properties file then only Repsvr1 reports are working fine and other 2 server reports are giving the same error like
    REP-51002: Bind to Reports Server <<Server Name>> failed.
    how can i configure the info which will work all 3 reports. 2 Port servers are invoking using oracle forms and report server is invoking using ASP pages.
    If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error, whenever i am trying to integrate all 3 to workable i am getting binding error. if i exclude the server from rwservlet.properties still i am getting the same error.

    My RELOAD_KEYMAP setting is YES only.As i said If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error.
    keymap file entries
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    If i use http://server.domain:port/reports/rwservlet? cmdkey = key1 should bring the report from Repsvr1 and http://server.domain:port/reports/rwservlet? cmdkey = key2 should bring the report from Repsvr2, but i am getting an error from Repsvr2 saying that REP-51002: Bind to Reports Server repsvr2 failed.
    Only Servername Repsvr1 is in rwservlet.properties file. Now what is the best option to by pass the server from rwservlet.properties file and should be from keymap file. if i comment server name in rwservlet.properties file still i am getting REP-51002: Bind to Reports Server <<Server Name>> failed error for both keys.

  • How to force Dreamweaver refresh the file view

    For some reason I have files in a local folder which Dreamweaver can't see.
    How can I refresh the files?
    Also, is there a site garbage file somewhere. Seems this program ate a style sheet which took six months to make.

    For some reason I have files in a local folder which Dreamweaver can't see.
    How can I refresh the files?
    With the curser in the files section press F5.
    Also, is there a site garbage file somewhere. Seems this program ate a style sheet which took six months to make.
    If you have deleted the file in the normal manner, you will find it in the Recycle Bin
    Gramps

Maybe you are looking for