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 217597 - war:inplace problem?
Summary: war:inplace problem?
Status: RESOLVED INCOMPLETE
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 02:15 UTC by nisuhw
Modified: 2013-09-02 09:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (54.68 KB, text/plain)
2012-08-30 02:15 UTC, nisuhw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nisuhw 2012-08-30 02:15:40 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_32
Runtime = Java HotSpot(TM) Client VM 20.7-b02

when i have web project using maven and i bind run command to following maven phase:
 compile war:inplace
and i set properties:
 netbeans.deploy=true

normally, when i run the project, netbeans ide will execute maven phase until build success and deploy it to server(i'm using tomcat 7.0.29)
but sometime after build success, following error occured:

(some output from maven)
.
.
.

[war:inplace]
Generating webapp in source directory [c:\<path to myproject>\src\main\webapp]
Assembling webapp [<myproject>] in [c:\<path to myproject>\src\main\webapp]
Processing war project
Webapp assembled in [2875 msecs]
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 4.469s
Finished at: Thu Aug 30 08:55:01 ICT 2012
Final Memory: 7M/18M
------------------------------------------------------------------------
NetBeans: Deploying on Apache Tomcat 7.0.29
    profile mode: false
    debug mode: false
    force redeploy: true
Deployment error: No archive for deployment
See the server log for details.
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:245)
	at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:178)
	at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:130)
	at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:212)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: org.netbeans.modules.j2ee.deployment.impl.TargetServer$NoArchiveException: No archive for deployment
	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:676)
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:197)
	... 4 more

and the project didn't manage to be deployed to tomcat.
usually when this occured, i just run again and again until the project deployed. sometimes i must clean the project first and run again
i don't know exactly how to produce the error since it's happened very random and usually happen when cpu in high load.
maybe it's not really a bug, but this is very annoying especially when i'm in hurry.
Comment 1 nisuhw 2012-08-30 02:15:53 UTC
Created attachment 123717 [details]
IDE log
Comment 2 Martin Janicek 2013-09-02 09:17:47 UTC
Changing to defect. Unfortunately I don't have a chance to fix such problem without reproducible test case. Could you please attach the server log (which might contains additional information) and reopen the issue again. Thanks in advance!