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 49499 - nbdeploy tests if remote servers can be started, even when not needed
Summary: nbdeploy tests if remote servers can be started, even when not needed
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-23 21:07 UTC by _ ludo
Modified: 2004-09-25 00:08 UTC (History)
0 users

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 _ ludo 2004-09-23 21:07:02 UTC
nbdeploy ANT task on remote servers (AS8.1) tries to
start the server.
AS8.1 plugin cannot start remote servers, BUT this
remote server is already running.

The ant log is:
post-dist:
dist:
run-deploy:
Starting of this deployment manager
preston.sfbay:4848 is not supported
Failed to start server preston.sfbay:4848
Deployment error: Failed to start server
preston.sfbay:4848.  See the messages.log file for
details.


The message "...is not supported " is perfect, but
since the server is already running, I would
expect the next step, i.e real deployment to take
place.

This is blocking our remote story...
Comment 1 Petr Jiricka 2004-09-24 08:30:50 UTC
Ludo, could this fix be deferred to NetBeans 4.1, if we don't have
time to fix it in 4.0? Thanks.
Comment 2 Pavel Buzek 2004-09-24 22:13:29 UTC
It should be possible to fix for 40. There are methods that should
allow j2eeserver to detect if the server needs to be started they are
just not used correctly. AFAIK Ludo has a workaround in S1AS plugin.
Nam volunteered to fix this though probably not until next week.
Comment 3 Nam Nguyen 2004-09-25 00:08:15 UTC
Fixed.

/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java,v
 <--  ServerInstance.java
new revision: 1.32; previous revision: 1.31