4 Replies Latest reply on Apr 16, 2004 1:04 PM by richardzheng

    JBoss Production Deployment Issues

    soshah

      I have an intranet system that was just released in a production environment

      the configuaration is as follows:

      JBoss version: JBoss 3.0.8
      Database: MySql
      Operating System: Windows 2000 Professional
      Machine: Dell with 512 MB of Memory and 2.19 GHz Processor

      I have noticed that my intranet application (sme.ear) one ear file gets undeployed on its own. The JBoss server still remains online but my application undeploys itself say after 1 day or so. Once it stayed on for 7 days and then it undeployed.

      There is very little load on the application (1-2 users) right now if even that much. Yesterday I had 4 active sessions. That means its not the load that is making it do that.

      Basically it sits there and undeploys itself. I then have to redeploy it using the JMX-Console and it works just fine. Do I need to change some parameters in my configuration file? Any operating system settings need to be changed? Are there any idle timeouts after which it automatically undeploys? Any help will be greatly appreciated

      Thanks in advance
      Sohil

        • 1. Re: JBoss Production Deployment Issues
          pilhuhn

          This sounds like the usual 'my server tmp dir is /tmp and I have a cron job that cleans files from /tmp that ar older than 7 days' problem.

          • 2. Re: JBoss Production Deployment Issues
            soshah

            dont believe I have any background processes (cron jobs) running besides the app server and the database server.

            the Jboss server is installed as a Windows Service using a wrapper from Tanukisoftware.com

            WOuld this have anything to do with the problem?

            • 3. Re: JBoss Production Deployment Issues
              pilhuhn

              Yeah, silly me. I only saw that you are not on Unix after submitting.
              I don't have any experience with the tanuki wrapper so far. Only with another one (JavaService from mulitplan/Alexandria) and that one is ok.

              Do you see anything in the logs?

              We have servers running (on Linux) jboss with apps and uptimes for more than a month (and then some silly guy just rebooted the whole box).

              • 4. Re: JBoss Production Deployment Issues
                richardzheng

                Could you please tell me how to clean files from /tmp under Linux?

                Thanks
                Richard