3 Replies Latest reply on Sep 5, 2008 6:56 AM by jaikiran pai

    Explded ear deploymeny blocking jars

    Kamil Demecki Novice

      Hi

      I'm testing exploded ear deployment and I see that jar in that ear cant be redeployed (delete this jar, paste new and touch application.xml) until I stop server (Windows XP, JBossAS 4.2.1.GA, JDK 1.5)

      It is true ?

        • 1. Re: Explded ear deploymeny blocking jars
          jaikiran pai Master

          Works for me on JBoss-4.2.2 GA (i think it will even work on 4.2.1). I have:

          14:40:30,630 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
          14:40:30,630 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_10-b03,Sun Microsystems Inc.
          14:40:30,630 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
          


          I see that jar in that ear cant be redeployed


          What exactly happens? You are not allowed to delete the jar? Or even after deleting then copying a new one and touching the application.xml, the redeployment is not triggered?



          • 2. Re: Explded ear deploymeny blocking jars
            Kamil Demecki Novice

            Touching application.xml works but I cant *delete* old jar on Windows XP from Windows Explorer (other process is using this file) - when I stop JBossAS I can delete this jar from Windows Explorer.

            I dont want to explode all my 15 jars because probably it kills Eclipse - I'm using FileSynch Eclipse Plugin to synchronization and it is much work ;>

            Few jars on which I'm doing main work are exploded but most less important jars are packed and I thought solution is to pack jar, copy to exploded ear and touch application.xml but deleting old jar doesn't work.

            • 3. Re: Explded ear deploymeny blocking jars
              jaikiran pai Master

               

              I dont want to explode all my 15 jars because probably it kills Eclipse


              So you are using Eclipse plugin(s) to deploy to JBoss? One other user seems to have the same problem with Eclipse plugin here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141827. In your case, does it work if you remove out the Eclipse part from it and deploy it manually (or through some build tool).