On 2/14/07, David Blevins <[EMAIL PROTECTED]> wrote:

On Feb 14, 2007, at 7:10 PM, Prasad Kashyap wrote:

> On 2/14/07, David Blevins <[EMAIL PROTECTED]> wrote:
>>
>> > 13:11:31,255 ERROR [GBeanInstance] Problem in doFail of
>> > org.apache.geronimo.testsupport/test-ear-j2ee_1.4/2.0-SNAPSHOT/ear?
>> > J2EEApplication=org.apache.geronimo.testsupport/test-ear-
>> > j2ee_1.4/2.0-SNAPSHOT/ear,j2eeType=EJBModule,name=ejb.jar
>> > java.lang.NullPointerException
>> >       at
>> > org.apache.openejb.assembler.classic.Assembler.destroyApplication
>> > (Assembler.java:455)
>> >       at
>> > org.apache.openejb.assembler.classic.Assembler.destroyApplication
>> > (Assembler.java:427)
>> >       at
>> org.apache.geronimo.openejb.OpenEjbSystemGBean.removeEjbJar
>> > (OpenEjbSystemGBean.java:191)
>>
>> This issue should be fixed.  I also fixed the issue you mentioned
>> about if deployment fails that you cannot undeploy the application.
>> Give that a try and let me know.
>>
>> New snapshots have been published.
>
> Undeploy still leaves behind some jar files. This prevents another
> deploy. This is from a build which was done at 6 pm EST on a totally
> clean local repo.
>

Ok.

Is there a stacktrace or error of some kind on the undeploy and the
subsequent failed deploy?

No. That's the sad part. This is the log output on the undeploy
22:02:46,713 INFO  [DirectoryMonitor] Hot deployer notified that an
artifact was removed:
org.apache.geronimo.testsupport/test-ear-j2ee_1.4/2.0-SNAPSHOT/ear

Quite normal. Then this is the output on the next deploy

   Error: Unable to distribute test-ear-j2ee_1.4-2.0-SNAPSHOT.ear:
   org.apache.geronimo.kernel.config.ConfigurationAlreadyExistsException:
   Configuration already exists:
   org.apache.geronimo.testsupport/test-ear-j2ee_1.4/2.0-SNAPSHOT/ear

       Configuration already exists:
   org.apache.geronimo.testsupport/test-ear-j2ee_1.4/2.0-SNAPSHOT/ear

Here's the test jar-
http://people.apache.org/~prasad/test-ear-j2ee_1.4-2.0-SNAPSHOT.ear

Source:
http://svn.apache.org/viewvc/geronimo/server/trunk/testsupport/test-deployment-j2ee_1.4/


-David




Reply via email to