This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 109815 - Unsupported exception during redeployment
Summary: Unsupported exception during redeployment
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
: 102624 109309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-16 15:34 UTC by Petr Pisl
Modified: 2007-07-24 02:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The exception (2.28 KB, text/plain)
2007-07-16 15:42 UTC, Petr Pisl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2007-07-16 15:34:57 UTC
I played with the redeployment of a web project with jsf. After changing the context path and try to redeploy the
project I got the attached exception.
Comment 1 Petr Pisl 2007-07-16 15:42:31 UTC
Created attachment 45142 [details]
The exception
Comment 2 Petr Pisl 2007-07-16 16:04:17 UTC
I'm increasing the priority, because I get the exception again and after this the project is not redeployed. 
Comment 3 Vince Kraemer 2007-07-17 01:49:13 UTC
*** Issue 109309 has been marked as a duplicate of this issue. ***
Comment 4 Vince Kraemer 2007-07-17 02:14:43 UTC
*** Issue 102624 has been marked as a duplicate of this issue. ***
Comment 5 _ pcw 2007-07-17 02:47:27 UTC
I'll look into this... I don't know why ModuleConfigurationImpl.save() is being called.  I thought it was deprecated, it
certainly doesn't work properly.
Comment 6 _ pcw 2007-07-23 23:39:08 UTC
The method throwing the exception is the method that writes out deployment descriptors as a deployment plan file (e.g.
J2EE.dpf).  I wasn't aware this was still being used, but no biggie, easy to fix.

More precise instructions to reproduce:  This method is called in response to the j2eeserver call "distribute", when the
deployment descriptor has been changed. So...

1. Create J2EE module (war, ejb, etc.). 
2. Make runnable (e.g. add ejb & business method if ejb jar, etc.)
3. Run module.
4. Modify the sun deployment descriptor for the application in some way and save.  (e.g change context-root for web app,
persistence type for an ejb, whatever.)
5. Undeploy and Deploy module.
6. Run module.  <-- distribute is called as part of this step.