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 197165 - Fails to deploy on run command
Summary: Fails to deploy on run command
Status: RESOLVED DUPLICATE of bug 195490
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 20:13 UTC by scott564
Modified: 2011-10-07 00:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Build file (3.34 KB, text/x-ant+xml)
2011-03-28 20:14 UTC, scott564
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scott564 2011-03-28 20:13:34 UTC
Product Version = NetBeans IDE 7.0 Beta 2 (Build 201102140001)
Operating System = Mac OS X version 10.6.6 running on x86_64
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) 64-Bit Server VM 19.1-b02-334

init:
deps-module-jar:
fnflib.init:
Deleting: /Users/scott/sandbox/bbook/trunk/fnflib/build/built-jar.properties
fnflib.deps-jar:
Updating property file: /Users/scott/sandbox/bbook/trunk/fnflib/build/built-jar.properties
pfarrelllib.init:
pfarrelllib.deps-jar:
Updating property file: /Users/scott/sandbox/bbook/trunk/fnflib/build/built-jar.properties
pfarrelllib.compile:
Creating /Users/scott/sandbox/pdflib/build/null648345078
Copy libraries to /Users/scott/sandbox/pdflib/dist/lib.
To run this application from the command line without Ant, try:
java -jar "/Users/scott/sandbox/pdflib/dist/pdflib.jar"
pfarrelllib.jar:
fnflib.compile:
Creating /Users/scott/sandbox/bbook/trunk/fnflib/build/null211109336
Copy libraries to /Users/scott/sandbox/bbook/trunk/fnflib/dist/lib.
To run this application from the command line without Ant, try:
java -jar "/Users/scott/sandbox/bbook/trunk/fnflib/dist/fnflib.jar"
fnflib.jar:
pfarrelllib.init:
Deleting: /Users/scott/sandbox/pdflib/build/built-jar.properties
pfarrelllib.deps-jar:
Updating property file: /Users/scott/sandbox/pdflib/build/built-jar.properties
pfarrelllib.compile:
Creating /Users/scott/sandbox/pdflib/build/null885220887
Copy libraries to /Users/scott/sandbox/pdflib/dist/lib.
To run this application from the command line without Ant, try:
java -jar "/Users/scott/sandbox/pdflib/dist/pdflib.jar"
pfarrelllib.jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Starting GlassFish Server 3.1
GlassFish Server 3.1 is running.
Incrementally deploying fnfapp
Completed incremental distribution of fnfapp
Incrementally redeploying fnfapp
Initializing...
redeploy?name=fnfapppreserveAppScopedResources=true failed on GlassFish Server 3.1 
 Application with name [fnfapppreserveAppScopedResources=true] is not deployed
/Users/scott/sandbox/bbook/trunk/fnfapp/nbproject/build-impl.xml:760: 
The module has not been deployed.
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:187)
	at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor194.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
BUILD FAILED (total time: 22 seconds)

Have to manually undeploy from the services tab to runl
Comment 1 scott564 2011-03-28 20:14:52 UTC
Created attachment 107350 [details]
Build file
Comment 2 Petr Jiricka 2011-10-05 13:19:59 UTC
This looks like there was a problem on deployment. Can you please see your GlassFish log file? That should give you an idea what went wrong.
Comment 3 Vince Kraemer 2011-10-07 00:19:36 UTC

*** This bug has been marked as a duplicate of bug 195490 ***