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 242807 - Hot redeploy do not work
Summary: Hot redeploy do not work
Status: RESOLVED DUPLICATE of bug 245921
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-11 17:48 UTC by yblazart
Modified: 2014-07-29 20:50 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yblazart 2014-03-11 17:48:59 UTC
I have a Maven project with an EAR, WAR, and EJB inside the WEB-INF/lib.

The hot redeploy (with compile on save and deploy on save activated) do not work, the logs are following : 



FINE [org.glassfish.tools.ide.server.state.StatusJob$ListenerLocations]: Status check locations command result: SUCCESS
FINE [org.glassfish.tools.ide.server.state.StatusJob]: Command check transition SUCCESS: ONLINE -> ONLINE
FINE [org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager]: Delivered compile artifact: C:\Dev\projects\GIT\EXTRANETEXP\extranetexp\extranetexp\extranetexp-web\target\classes\fr\oseo\str\extranetexp\web\rest\v1\SpaceRestService.class, C:\Dev\projects\GIT\EXTRANETEXP\extranetexp\extranetexp\extranetexp-web\target\extranetexp-web-1.0.0-SNAPSHOT\WEB-INF\classes\fr\oseo\str\extranetexp\web\rest\v1\SpaceRestService.class, isReferencedLibrary: false, isRelocatable: false, isServerResource: false
FINE [org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager]: Delivered compile artifact: C:\Dev\projects\GIT\EXTRANETEXP\extranetexp\extranetexp\extranetexp-web\target\classes\fr\oseo\str\extranetexp\web\rest\v1\SpaceRestService.class, C:\Dev\projects\GIT\EXTRANETEXP\extranetexp\extranetexp\extranetexp-web\target\extranetexp-web-1.0.0-SNAPSHOT\WEB-INF\classes\fr\oseo\str\extranetexp\web\rest\v1\SpaceRestService.class, isReferencedLibrary: false, isRelocatable: false, isServerResource: false
FINE [org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager]: Performing pending deployments
FINEST [org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager]: Artifacts updated: [C:\Dev\projects\GIT\EXTRANETEXP\extranetexp\extranetexp\extranetexp-web\target\classes\fr\oseo\str\extranetexp\web\rest\v1\SpaceRestService.class]
FINEST [org.netbeans.modules.j2ee.deployment.impl.ServerRegistry]: Entering registry initialization
FINEST [org.netbeans.modules.j2ee.deployment.impl.ServerRegistry]: Entering registry initialization
INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
FINE [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: []
FINE [org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager]: Deployment state MODULE_NOT_DEPLOYED
FINEST [org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager]: Artifacts updated: [C:\Dev\projects\GIT\EXTRANETEXP\extranetexp\extranetexp\extranetexp-web\target\classes\fr\oseo\str\extranetexp\web\rest\v1\SpaceRestService.class]
FINEST [org.netbeans.modules.j2ee.deployment.impl.ServerRegistry]: Entering registry initialization
FINEST [org.netbeans.modules.j2ee.deployment.impl.ServerRegistry]: Entering registry initialization
FINEST [org.netbeans.modules.j2ee.deployment.impl.ServerRegistry]: Entering registry initialization
FINEST [org.netbeans.modules.j2ee.deployment.impl.ServerRegistry]: Entering registry initialization
FINEST [org.glassfish.tools.ide.admin.Runner]: Runner call() method called on URL http://localhost:4848/__asadmin/list-components thread pool-8-thread-1
FINEST [org.glassfish.tools.ide.admin.Runner]: Setting HTTP connection attributes: timeout = 3 000 user =  password = 
FINEST [org.glassfish.tools.ide.admin.Runner]: Connecting to localhost:4848
FINE [org.glassfish.tools.ide.admin.Runner]: Receiving response, code: 200
FINEST [org.glassfish.tools.ide]: Reading response from localhost:4848
FINER [org.glassfish.tools.ide]: Processing component "extranetexp-ear-1.0.0-SNAPSHOT  <ear, ejb, webservices, web>  "
WARNING [org.glassfish.tools.ide]: Error processing component "extranetexp-ear-1.0.0-SNAPSHOT  <ear, ejb, webservices, web>  "
FINEST [org.glassfish.tools.ide.admin.Runner]: Runner call() method called on URL http://localhost:4848/__asadmin/get?pattern=applications.application.* thread pool-8-thread-1
FINEST [org.glassfish.tools.ide.admin.Runner]: Setting HTTP connection attributes: timeout = 3 000 user =  password = 
FINEST [org.glassfish.tools.ide.admin.Runner]: Connecting to localhost:4848
FINE [org.glassfish.tools.ide.admin.Runner]: Receiving response, code: 200
FINEST [org.glassfish.tools.ide]: Reading response from localhost:4848
FINEST [org.glassfish.tools.ide.admin.Runner]: Runner call() method called on URL http://localhost:4848/__asadmin/get?pattern=servers.server.*.application-ref.* thread pool-8-thread-1
FINEST [org.glassfish.tools.ide.admin.Runner]: Setting HTTP connection attributes: timeout = 3 000 user =  password = 
FINEST [org.glassfish.tools.ide.admin.Runner]: Connecting to localhost:4848
FINE [org.glassfish.tools.ide.admin.Runner]: Receiving response, code: 200
Comment 1 yblazart 2014-03-11 17:50:01 UTC
FINEST [org.glassfish.tools.ide]: Reading response from localhost:4848
FINE [org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager]: Deployment state MODULE_NOT_DEPLOYED
Comment 2 yblazart 2014-03-11 18:35:33 UTC
hmmm same on 7.4
Comment 3 TomasKraus 2014-07-16 09:15:09 UTC
This really looks like P2 bug. Something we missed in 7.4.
Comment 4 TomasKraus 2014-07-29 13:52:44 UTC
Closing as duplicate of Bug# 245921 where this is being already evaluated.

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