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 212983 - IllegalStateException: Project is currently archive deployed. Undeploy this project and redeploy it to take advantage of directory deployment.
Summary: IllegalStateException: Project is currently archive deployed. Undeploy this p...
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: piotrik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 02:27 UTC by yyq2008
Modified: 2013-07-18 14:39 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 183381


Attachments
stacktrace (1.23 KB, text/plain)
2012-05-25 02:27 UTC, yyq2008
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yyq2008 2012-05-25 02:27:02 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) Client VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05
OS: Windows XP

User Comments:
comul: Added @DependsOn into a singleton as
@DependsOn("KrmdHost-ejb.jar#CommonService")

yyq2008: Just and library to my project.




Stacktrace: 
java.lang.IllegalStateException: Project is currently archive deployed. Undeploy this project and redeploy it to take advantage of directory deployment.
   at org.netbeans.modules.glassfish.javaee.ide.FastDeploy.getDirectoryForModule(FastDeploy.java:479)
   at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.distributeOnSave(ServerFileDistributor.java:220)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.distributeChangesOnSave(TargetServer.java:252)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.notifyArtifactsUpdated(TargetServer.java:873)
   at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:502)
   at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.run(DeployOnSaveManager.java:414)
Comment 1 yyq2008 2012-05-25 02:27:08 UTC
Created attachment 119851 [details]
stacktrace
Comment 2 TomasKraus 2012-05-25 11:26:39 UTC
We will be doing some changes in deployment process in near future (part of Tooling ADK development) so this bug should be re-evaluated after those changes will be done.

Please provide full reproduction scenario for this issue. It will be helpful for later testing.
Comment 3 piotrik 2012-11-21 12:56:04 UTC
Could you please provide more details on how to simulate this issue? What kind of project(s) are you using, how their are structured and deployed. It would help a lot.
Comment 4 seslavlazarov 2012-11-22 21:44:19 UTC
Unfortunately guys I abandoned this project configuration for now and cannot provide you with scenario for reproducing.

I will try to reproduce this issue as soon as I have spare time and will write you back.

Kind regards,
Seslav Lazarov.
Comment 5 TomasKraus 2013-07-18 14:36:37 UTC
I'm closing this issue now. Feel free to reopen it when you have time to give us more information.