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 114660 - [server/admin]: ejb-project with websrv undeploy but still in admin
Summary: [server/admin]: ejb-project with websrv undeploy but still in admin
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-04 16:41 UTC by nouar38
Modified: 2007-09-13 14:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
domain1 server.log (116.87 KB, text/plain)
2007-09-04 16:43 UTC, nouar38
Details
EJBModule1 zip project done on windows after clean (51.42 KB, application/octet-stream)
2007-09-04 16:49 UTC, nouar38
Details
domain.xml for domain1 (23.69 KB, text/xml)
2007-09-11 16:34 UTC, nouar38
Details
domain.xml when the ejb-module is deployed (24.01 KB, text/xml)
2007-09-11 16:37 UTC, nouar38
Details
server.log from 58g (last action deploy and test service) (85.17 KB, text/plain)
2007-09-11 16:51 UTC, nouar38
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nouar38 2007-09-04 16:41:36 UTC
NB 6.0 200709030000 & jdk 1.6u1 & gf v2 b58d bundled.
(marked as: server/admin)

Start GF v2 server
Create an EJB project with IDE.
Add a stateless session bean (local/remote interf)
Add a statefull session bena (local/remote interf)
Add an entity bean from database (over nouarDB created from tutorial.sql)
Add a web service (empty web service) and an operation (see issue 114391)
Deploy the ejb-project (using projects/'undeploy & deploy' action)
View Admin Console: TEST the webservice, check the WSDL generated, the sun-ejb-jar.xml, ejb-jar.xml
From Services/servers/applications/EJB Modules "undploy" the ejb-project.
In Admin console: 
rexpand the Applications node ==>>> ejb-project node is still there
but got in right-side frame HTTP Status 500 with server internal error and many exceptions
rexpand the webservices entry ==>> the web service entry is not removed and in right-side frame same
status 500.

will attach the server log file.
Comment 1 nouar38 2007-09-04 16:43:57 UTC
Created attachment 48075 [details]
domain1 server.log
Comment 2 nouar38 2007-09-04 16:45:26 UTC
adding in summary "with websrv"
Comment 3 nouar38 2007-09-04 16:49:35 UTC
Created attachment 48076 [details]
EJBModule1 zip project done on windows after clean
Comment 4 Vince Kraemer 2007-09-05 20:15:53 UTC
this looks like an admin gui issue... not a NetBeans issue...
Comment 5 Vince Kraemer 2007-09-10 22:34:42 UTC
Is the ejb module still referenced in the domain.xml?
Comment 6 nouar38 2007-09-11 15:59:07 UTC
will try to reproduce again with NB 6.0 2007090912000 & 58g as removed the previous install.
Comment 7 nouar38 2007-09-11 16:31:33 UTC
ok reproduced again with 58g, could not find any reference in C:\Prorgam
Files\glassfish-v2-b58g\domains\domain1\config\domain.xml

will attach the domain.xml file
Comment 8 nouar38 2007-09-11 16:34:02 UTC
Created attachment 48587 [details]
domain.xml for domain1
Comment 9 nouar38 2007-09-11 16:37:47 UTC
Created attachment 48588 [details]
domain.xml when the ejb-module is deployed
Comment 10 nouar38 2007-09-11 16:51:14 UTC
Created attachment 48589 [details]
server.log from 58g (last action deploy and test service)
Comment 11 Vince Kraemer 2007-09-12 00:05:37 UTC
I haven't been able to reproduce this issue. Even so... this issue needs to get filed with the Glassfish project...

It looks like the server gets into an inconsistent state...
Comment 12 nouar38 2007-09-12 08:32:52 UTC
if the undeploy of the EJB app is made in the Admin console there is no issue, the change is well-seen in IDE-
services/server -> applications/EJB Modules.
Comment 13 nouar38 2007-09-13 14:54:44 UTC
got similar situation for JDBC data source (resources & Connection Pools) if deleted from the
IDE-Services->server->Resources->JDBC Resources after undeploy of any app using them, in the Admin Console the change is
not seen if already loggued when the JDBC resources are deployed. After logout and login from admin console can see the
change.