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 84203

Summary: Incorrect message when Run Web App fails to start the application
Product: serverplugins Reporter: Alexander Kouznetsov <mrkam>
Component: WebSphereAssignee: issues@serverplugins <issues>
Status: VERIFIED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Alexander Kouznetsov 2006-09-05 11:07:12 UTC
Steps to reproduce:
- Since WebSphere plugin allows to deploy WebApplication only with blank context root, make sure that there is already deployed and started application with "/" context-root. There is usually Default Application is deployed with such a context-root.
- Create New Web Application targeting WebSphere
- Run the Application
- The output log will show something like that:

ADMA5013I: Application j88_10d7d6a96ee_8 installed successfully.
ADMJ1018I: j88_10d7d6a96ee_8 is running.
ADMJ1011I: The current start operation succeeded on all modules: j88_10d7d6a96ee_8 - server1.

- But this message is incorrect, cause start failed. You could see the following lines in the server log:

[05.09.06 13:59:25:625 MSD] 0000006c ApplicationMg A   WSVR0200I: Starting application: j88_10d7d6a96ee_8

[05.09.06 13:59:25:766 MSD] 0000006c VirtualHost   E   SRVE0164E: Web Application <null> uses the context root /*, which is already in use by Web Application {2}. Web Application {3} will not be loaded.

[05.09.06 13:59:25:766 MSD] 0000006c DeployedAppli W   WSVR0206E: Module, RunOneMoreWebApp.war, of application, j88_10d7d6a96ee_8.ear/deployments/j88_10d7d6a96ee_8, failed to start

[05.09.06 13:59:25:891 MSD] 0000006c ApplicationMg W   WSVR0101W: An error occurred starting, j88_10d7d6a96ee_8

[05.09.06 13:59:25:891 MSD] 0000006c ApplicationMg A   WSVR0217I: Stopping application: j88_10d7d6a96ee_8

[05.09.06 13:59:25:922 MSD] 0000006c ApplicationMg A   WSVR0
220I: Application stopped: j88_10d7d6a96ee_8

[05.09.06 13:59:25:922 MSD] 0000006c AppManagement W   Unable to start: j88_10d7d6a96ee_8 using: WebSphere:platform=dynamicproxy,cell=kam-mobileNode02Cell,version=6.0.0.1,name=ApplicationManager,mbeanIdentifier=ApplicationManager,type=ApplicationManager,node=kam-mobileNode02,process=server1 exception is: javax.management.MBeanException: null nested exception is com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: Context root /* is already bound. Cannot start application null

- Such a bad diagnosis and wrong messages can make user feel that something is not working. This is a usability issue.
Comment 1 Sergey Lunegov 2006-10-09 18:34:31 UTC
Can't control server messages. Marked as WONTFIX.
Comment 2 Alexander Kouznetsov 2006-10-09 19:22:35 UTC
Please, file an issue against IBM WebSphere Server 6.0.