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 48988 - Deployment$DeploymentException when run webapps project
Summary: Deployment$DeploymentException when run webapps project
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-14 10:25 UTC by Petr Blaha
Modified: 2006-03-24 10:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (1.00 KB, text/plain)
2004-09-14 10:29 UTC, Petr Blaha
Details
DeploymentException (922 bytes, text/plain)
2004-10-12 09:49 UTC, L Martinek
Details
Output (654 bytes, text/plain)
2004-10-12 09:51 UTC, L Martinek
Details
Tomcat's log (2.98 KB, text/plain)
2004-10-12 09:51 UTC, L Martinek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2004-09-14 10:25:13 UTC
NB Build 2004091311800
Sun Java System Application Server Platform
Edition 8.0 (build b57-fcs)
App plugin 20040909-0209
While deploy web project to remote App server I
get Exception:
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment$DeploymentException:
Failed to start server qa-linux-s6:4848
The remote server is running. In Runtime tab all
seems OK.
Comment 1 Petr Blaha 2004-09-14 10:29:05 UTC
Created attachment 17609 [details]
Exception
Comment 2 Petr Jiricka 2004-09-20 09:12:10 UTC
First of all, the error reporting in the Deployment class should be
improved - this exception does not contain any specific information
about what failed on the server side.

The error itself seems to be on the appserver side - Ludo and Nam,
what do you suggest? Thanks.
Comment 3 Nam Nguyen 2004-09-20 17:57:17 UTC
I think the build 2004091311800
does not contain my fix to improve logging of ProgressObject output to
ant output window.  We should have better message in today's build.

The main problems from this test case are: 
(1) with remote server, deployment should not attempt to start server,
and 
(2) if the remote server is running and ide failed to detect the
running status, it could be either server plugin or j2eeserver
ServerInstance bug.
Comment 4 L Martinek 2004-10-12 09:48:28 UTC
I got this exception sometimes in my automated tests, but with tomcat.
For the last time in build 200410052201. The test sequence is
approximately this:
1. I run web project
2. I run one JSP
3. I run one servlet
4. I debug project
5. I stop tomcat
6. I debug project by Run To Cursor.
In last step I got message in deployment progress monitor that
deployment failed.
Comment 5 L Martinek 2004-10-12 09:49:29 UTC
Created attachment 18220 [details]
DeploymentException
Comment 6 L Martinek 2004-10-12 09:51:30 UTC
Created attachment 18221 [details]
Output
Comment 7 L Martinek 2004-10-12 09:51:53 UTC
Created attachment 18222 [details]
Tomcat's log
Comment 8 Nam Nguyen 2004-10-12 18:52:38 UTC
The fix for this has been promoe_ea1 branch.  I will do integration to
trunk today.
Comment 9 Nam Nguyen 2004-10-15 08:08:03 UTC
Ported fixed from promoe_ea1:  ServerInstance.java new revision 1.34
Comment 10 Petr Blaha 2005-09-08 11:55:29 UTC
[build 20050907]