Disabling dynamic reloading

Hi, i'm using iWS 6.0 SP2 on solaris 8 and i don't know how to disable dynamic reloading of classes. I have tried to set the reload-interval parameter to a negative number, to set the class-loader classpath parameter to "", but it still reloads the classes.
The only thing i can think of is setting the reload-interval to a huge number, but there must be another way.
Juan

It's always Microsoft who gets blaimed ;-)
          First, I am almost certain that any OS will not let you copy a file if there
          is an opened file descriptor of the file owned by some other process.
          Second, luckily the class loader code that handles this is pure Java, so it
          takes advantage of garbage collection here: if there is a live reference to
          an object, it's not going to be freed under you.
          Hope this helps.
          -ruslan
          Andy Nuss wrote:
          > Hi,
          >
          > Question concerning dynamic reloading, as regards the property:
          > weblogic.httpd.servlet.reloadCheckSecs=xxx
          >
          > While the NT OS is copying the file, rewriting the class file which was
          > previously there, is the dynamic class loader smart enough to figure out
          > that the bytecodes where in the middle of being copied, hence in an
          > inconsistent state, or does it crash?
          >
          > Thanks,
          > Andy
          

Similar Messages

  • How to configure Dynamic Reloading?

    The Java Developer's Guide of iAS 6.0 describes the Dynamic Reloading
    feature can be turn on/off by the registry entry:
    SYSTEM_JAVA\Versioning\Disable
    Would you mind let us know the full path of this entry? We cannot find
    it from kregedit.
    Thanks!
    Angus

    \\SOFTWARE\\iPlanet\\Application
    Server\\6.0\\CCS0\\SYSTEM_JAVA\Versioning\Disable
    Angus Yiu wrote:
    The Java Developer's Guide of iAS 6.0 describes the Dynamic Reloading
    feature can be turn on/off by the registry entry:
    SYSTEM_JAVA\Versioning\Disable
    Would you mind let us know the full path of this entry? We cannot find
    it from kregedit.
    Thanks!
    Angus

  • IAS Dynamic Reloading doesn't reload related classes!

    Hi,
    I am trying to configure dynamic reloading on the development machine [on
    Solaris 5.8] in order to get servlets and classes invoked by those servlets
    updated dynamically without having to restart the process. What I'd done was
    setting the SYSTEM_JAVA/Versioning/Disable value to 0, according to the
    Appendix B in Programmer's Guide.
    Dynamic reloading works fine for individual servlets but not the classes
    that the servlets invoke. I'd tried putting those classes name as
    GX_VERSIONABLE value, but it still didn't work.
    Are there any ways that I can get those classes dynamically reloaded along
    with the servlets? This will greatly save time for our application
    development.
    Any help would be really appreciate.
    Phatrakom S.

    Not that it will be of great help, but I am also unable to dynamically reload a standard class, only those that are of type servlet.

  • How to config dynamic reload in websphere

    I would like to update the web.xml without the server stops or only restart the application, how to achieve that? In addition, how can I configure the dynamic reload in Websphere? I only select the Reload Enable checkbox in the console, but it seems it doesn't take effect..

    I've not used Websphere but I think the 'Reload Enable' would probably refer to the reloading of servlets on change ( which is normally disabled meaning you have to restart in order to load a new, modified instance of a servlet )
    When you change your DD ( web.xml ) you have to redeploy your app. But most production level servers allow you to do a 'hot' deploy meaning you can manage your apps ( deploy/ start/ stop ) without affecting others or restarting the server. You'll have to look up how this is done for Websphere.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • How do I disable the reload on the back button of Firefox and have it display the cached/prior page version?

    Every time I click the "back" button, Firefox reloads the previous page I was on. How do I disable the reload and have Firefox display the cached/prior page version? The whole point of going "back" is to see what we were just looking at.. I don't want a refreshed version of it. Any help would be greatly appreciated! I am running version 3.6.12.

    No problem. It's not a request that's been seen much if at all to be honest. I rely on them myself.
    You can always feel free to provide feedback to Apple though.
    http://www.apple.com/feedback/

  • Ejb dynamic reloading

    Hello
    I read about ejb dynamic reloading in a few places in ias documentation and
    i have the following quastions:
    - what will happen if i change deployment descriptors of ejb?
    - what will happen if i change some other classes like value object classes
    or other helper classes?
    - what will happen if i change remote or home interface of ejb?
    Does dynamic reloading work in that sytuation?
    I also found that I have to call create method for stateless session bean
    and entity bean to reflect the changes of dynamic reloading. Is it true?
    Artur

    Hi Artur,
    Please find answer inline.
    Artur Kaszczyszyn wrote:
    Hello
    I read about ejb dynamic reloading in a few places in ias documentation and
    i have the following quastions:
    - what will happen if i change deployment descriptors of ejb?
    - what will happen if i change some other classes like value object classes
    or other helper classes?
    - what will happen if i change remote or home interface of ejb?
    Does dynamic reloading work in that sytuation?
    Dynamic reloading works fine if you change only in Bean Implementation
    class. It does not support change in Home, Remote Interface or any other
    helper class.
    I also found that I have to call create method for stateless session bean
    and entity bean to reflect the changes of dynamic reloading. Is it true?
    Yes it's absolutely correct.
    Thanks
    Deepak

  • Dynamic reloading in iWS 6.0 causes my http session to be lost

    Hi,
    I have a problem with dynamic reloading in iWS 6.0 Sp2 on Solaris 8. I have not set the reload-interval for the class-loader, in fact i haven't included anything related to the classloader in the web-apps.xml file.
    The default behaviour is observed, the classes are reloaded every 30 seconds. So far, so good.
    I have seen that if a change a class, iWS reloads the entire application, destroying all the servlets in it. This destroys my HTTP session.
    The same behaviour is observed in a redeployment, and in a reloading of config files.
    Is there any way of avoiding this?
    Thanks.
    By the way, could anyone describe the classloader architecture of iWS.
    Juan

    Scott,
    Does the problem only occur on MSIE clients? Do this work properly on Communicator? If so, you may be running into a problem with how MSIE determines the maxage for a cookie.
    The criteria that IE uses for creating a new session is the length of time that a session has been alive. For this reason, when a user tries to connect to a web application on the iWS webserver through IE, the time on the client server and on the webserver must be set correctly. Otherwise, the user could experience problems with session data getting lost or discarded by the client.
    This problem does not occur on Netscape browsers, as Netscape browsers set the cookie using the client-side clock and the maxage sent by the server.
    Refer to this technote and see if the helps:
    http://knowledgebase.iplanet.com/ikb/kb/articles/4704.html

  • Dynamic reloading - jars

    Hi,
    We have some jars (not listed in the modules.xml) in our ear, from which we want to be able to dynamically reload some classes during development.
    Is there a way to expand these jars during deployment, so that we can use the regular dynamic reloading mechanisms?
    We use sun app server platform edition 8.1.
    Thanks,
    Ronny.

    But in the original question, there are some external jars which are not part of the ear and therefore not exploded as part of the deployment.
    I assume these jars are module jars (ejb, war etc) instead of the library jars? For library jars, you probably can just copy the jars to the exploded location and then reload.
    For module jars, our current .reload function won't try to explode those jars and redeploy them...

  • Dynamic Reloading

    Well, after a lot of questions and a loft of responses, i can't restart my webapps automatically.
    Now, i'm working on the FCS/final release and the problem is the same.
    I enabled dynamic reloading in the Applications Page,
    I created a file .reload at the root of my webapps.
    I modified the reload to change the date...nothing append.

    Hi.
    When you say that you "modified your .reload at the root of your webapps", are you saying that you have only one .reload for all of your webapps. That would be a mistake.
    Make sure that you have a .reload at the root of every deployed web application that you need to enable reloading.
    Make sure you read the chapter that discusses dynamic reloading in theGetting Started Guide (which ships wit hthe server and is also available at http://docs.sun.com/db/doc/816-7146-10 )
    Thanks,
    - deepak

  • Dynamic Reloading of Web Applications

    Should I be able to trigger dynamic reloading of web applications by "touching" the related web.xml file? It doesn't appear to work under Win2K server, JWS 6.1 SP4.
    When I "touch" a related servlet class file under the WEB-INF directory, it seems to trigger reloading of all applications under that virtual server. Is that expected behavior?
    Is there any other method of triggering dynamic reloading of web applications?

    I have not really tested in in V6.1 but in V6.0 it was possible to add the line into web-apps.xml file with the following:
    <class-loader reload-interval="XX"/>
    where XX is seconds between reloads. i.e. 3600 to reload every hour.
    In V6.1 that setting is in server.xml
    and is called "dynamicreloadinterval". You can try playing with it. But as I said I have not really tested how that works...
    Regards,
    Sasha aka ttalex

  • How to use dynamic reloading un SUN AS 8.1 ?

    Hi
    I have enabled dynamic reloading, but it doesn't work for me.
    Maybe I am copying class to a wrong directory ?
    I have modified a class and copied it to
    c:\Sun\AppServer\domains\domain1\applications\j2ee-modules\MyWEBApp\WEB-INF\classes
    but server deosn't reload it.
    I need to restart the server to have that class reloaded.
    Why ?

    Hi
    When I create .reload or update it's timestamp in
    c:\Sun\AppServer\domains\domain1\applications\j2ee-modules\IDEGATransactionGateway\.reload
    then AS tries to autodeploy the application and it fails, because I already have an application with such name.
    Isn't that strange ? Does this reload thing work for someone ?
    [#|2005-06-03T13:34:47.437+0300|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=19;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- Cannot deploy IDEGATransactionGateway. The name is already registered to a different type of Module or App: Web Module. If you want to deploy this Module or App either (a) change the name or (b) undeploy the other Module or App first.
         at com.sun.enterprise.deployment.backend.Deployer.checkRegisteredAnywhereElse(Deployer.java:412)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.setDeployCommand(ModuleDeployer.java:936)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.begin(ModuleDeployer.java:239)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestPrepare(ModuleDeployer.java:105)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:112)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:185)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:519)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
         at com.sun.enterprise.deployment.autodeploy.AutoDirReDeployer.invokeDeploymentService(AutoDirReDeployer.java:82)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployModule(AutoDeployer.java:485)
         at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:433)
         at com.sun.enterprise.deployment.autodeploy.AutoDirReDeployer.redeploy(AutoDirReDeployer.java:56)
         at com.sun.enterprise.server.StandaloneWebModulesManager.reload(StandaloneWebModulesManager.java:158)
         at com.sun.enterprise.server.ReloadMonitor.run(ReloadMonitor.java:296)
         at java.util.TimerThread.mainLoop(Timer.java:432)
         at java.util.TimerThread.run(Timer.java:382)
    |#]
    [#|2005-06-03T13:34:47.437+0300|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=19;|"DPL8011: autodeployment failure while deploying the application : Deployment Error -- Cannot deploy IDEGATransactionGateway.  The name is already registered to a different type of Module or App: Web Module.  If you want to deploy this Module or App either (a) change the name or (b) undeploy the other Module or App first.
    "|#]
    [#|2005-06-03T13:34:47.437+0300|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=19;|CORE5003: [IDEGATransactionGateway] failed to reload!|#]

  • How to disable Refresh,Reload in browser and user should not allow to multiple browser sessions ?

    Dear All,
    How to disable Refresh,Reload in browser and end user should not allow to multiple browser sessions in portal.Where we need to configure the settings or any code in masthead or any other component. My server version is 7.4 - SP5 .Please help us.
    Thanks for advance,
    BR,
    Durga Rao.

    Dear all,
    i am able to logoff the click refresh button on keyboard.I am using this code to log off the user into the portal.
    document.onkeydown = function(e)
      var key;
      if (window.event) key = event.keyCode
      else
      var unicode = e.keyCode ? e.keyCode : e.charCode
      key = unicode
      switch (key)
      { //event.keyCode
      case 116: //F5 button
        LSAPI.sessionPlugin.logoff();
      event.returnValue = false;
      key = 0; //event.keyCode = 0;
      return false;
      case 82: //R button
      if (event.ctrlKey)
    LSAPI.sessionPlugin.logoff();
      event.returnValue = false;
      key = 0; //event.keyCode = 0;
      return false;
      case 91: // ctrl + R Button
    LSAPI.sessionPlugin.logoff();
      event.returnValue= false;
      key=0;
      return false;
    Thanks.
    But i am unable to control the multiple windows opening the browser.So any one can tell me the how to block the new window and new tab/duplicate tab option.
    BR,
    Durga Rao.

  • Dynamically reload xml file

    hi
    What is the technique for dynamically change a xml source file (without changing the structure) for use with jdbc XML driver ?

    see https://bugs.eclipse.org/bugs/show_bug.cgi?id=27980
    Per Digre wrote:
    > I need to dynamically set editor file extensions from a preference page.
    > However I do not find any APIs to do this. It seems like it has to be
    > loaded from the plugin.xml when the plugin initializes.
    >
    > One thing I thought of was following..
    > 1. Create a add-on plugin just for the file extensions.
    > 2. Manipulate the add-on's "plugin.xml" with new file extensions
    > 3. Dynamically reload the add-on plugin to make the new extensions take
    > effect
    > Please stop me if I'm out of my mind!
    >
    >
    > --- Per ---
    >

  • How to make view disable dynamically

    Hi experts,
    i want to view disable dynamically for this i am not using any view container,can you please suggest me.
    Thanks in Advance,
    Edited by: Lavanya YH1504 on Sep 13, 2010 7:21 AM

    Hi,
    i want to disable the view at the time of display  based on some condition ,for this i didn't use any view container it is simple view for this where i want to write the code (is in wd_init),can u suggest me with some sample code.
    thanks in advance,

  • How to disable class reloading feature

    Hi,
    how can I disable the reloading of servlet classes in oc4j?
    Thanks
    Günther

    no answer?
    Please help me!
    Thanks
    Günther

Maybe you are looking for

  • How do I remove a carrier profile from my iphone

    I installed a GiffGaff carrier profile on my iPhone but now I am abroad and want to use another provider's sim but I am unable to change APN settings as there does not seem to be a Mobile Data Network option. How can I remove the GiffGaff profile so

  • Drawing a color string with swing and Graphics2D

    hi guys, I am trying to draw a string on a JPanel, and can do so successfully with plain boring text using drawString(string, int, int). How can I change the font and color? Thanks!

  • Is there a way to turn off PasswordServer listening on port 106 in OS X Server 10.8?

    I found instructions that describe how to do this in earlier versions of OS X Server by modifying com.apple.passwordserver.plist in /Library/Preferences, but that particular .plist doesn't appear there in 10.8. We use a server vulnerability scanning

  • Canon 60D wont track date & time

    I purchased a used Canon 60D. It works great but the only thing I can't figure out is the date and time. No matter how many times I set it, it still defaults to 01/01/00 00:00. I set the time, hit OK, and immediately it goes back to 01/01/00 00:00. 

  • How to configure OCI of Oracle9i to work with PHP or ASP on IIS5

    I've been trying to make OCI of Oracle9i to work with PHP for all week. I went thourgh millions of documents and forums. And I still can't make them work. Anyone, please help me. I used to have Oracle8i on my machine and it worked fine with both PHP