4 Replies Latest reply on Oct 2, 2003 1:34 AM by frito

    Hot deploy of java classes

    paultaylor

      I have deployed my application as an expanded EAR within JBoss 3.2.1. This works well I can hot deploy EJB's and changes to jsp files are processed straight away. However the bulk of my code is in standard java classes is their any way to reload these without restarting the server

        • 1. Re: Hot deploy of java classes
          haraldgliebe

          Where did you put your these classes? If they are contained in the ear, touching META-INF/application will redeploy the complete ear.

          Regards,
          Harald

          • 2. Re: Hot deploy of java classes
            mgruener

            I am trying to hot deploy an expanded ear. The ear contains ejb jars. When I overwrite an existing ejb jar, nothing happens. It does not hot deploy. I also have a .war dir under my .ear dir. None of these classes get hot deployed either. Even after I touch the meta-inf/Application.xml file (whick lists the war dir and jar files.) or the entire .war tree. Any ideas. I see that you have at lease part of this working.

            • 3. Re: Hot deploy of java classes
              mgruener

              I have gotten the touch of the application.xml to work. However, this saves little time, as it redeploys everything.

              • 4. Re: Hot deploy of java classes
                frito

                If you want to redeploy only a few resources (eg. a jar), don't deploy them within a large context (eg. an ear). Deploy them separatly.
                You can't redeploy an inner deployment without deploying the whole thing.

                Greetings,
                Frito