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 132617 - ServerInstanceReader is very fragile
Summary: ServerInstanceReader is very fragile
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: JBI Manager (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-11 13:03 UTC by Petr Hejl
Modified: 2008-04-11 23:44 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 Petr Hejl 2008-04-11 13:03:16 UTC
It is depending on implementation detail of the j2eeserver (how it is storing its instance). This will be probably
changed in future (any implementation detail can be changed any time).

Either you should propose some api or (if applicable) define some kind of contract with glassfish directly. Otherwise
you code will stop work unexpectedly one day and it will have to be rewritten.
Comment 1 Jun Qian 2008-04-11 23:44:40 UTC
Agreed.

If I remember correctly, the reason we have to rely on this implementation detail is that we can't use the
MBeanServerConnection from the j2eeserver directly due to some classpath issue. Also, we have to support
deploying/testing composite application projects outside of NetBeans, in which case we probably don't have easy access
to the j2eeserver API. 

We will revisit this issue after 6.1 release.