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 156390 - GF and Sun AS 9.1u2 which ships with NB install is deadlock/hang prone
Summary: GF and Sun AS 9.1u2 which ships with NB install is deadlock/hang prone
Status: RESOLVED DUPLICATE of bug 152543
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@installer
URL: http://forums.java.net/jive/thread.js...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-07 00:44 UTC by _ wadechandler
Modified: 2009-03-02 11:48 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ wadechandler 2009-01-07 00:44:44 UTC
Please see the issue I reference in the issue URL. Code under socket connections is deadlock/hang prone in the version
currently shipping with NB. The fixed build according to an issue linked from the referenced issue is b49. I had to set
<jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options> to get the version with NB to work with
Oracle DataSources, and according to the other issue it hangs other things. See the issue. Seems the next release of NB
needs to up the version of GF9.1u2 shipping with it if a newer release isn't out yet. That or have the default domains
include that by default or some information posted some where when GF is run for the first time in NB as long as it is a
version prior to 9.1u2 build 49.
Comment 1 Vince Kraemer 2009-01-07 05:11:01 UTC
NB 6.5 included GF v2 update 2.  It is based on gf v2 build 58....

So, the 'fix' alluded to in http://forums.java.net/jive/thread.jspa?messageID=219073 probably isn't.

Since this is a bug in the server... not the integration between NB and the server, this issue should probably be raised
in the GF issue tracker.

the team that writes the integration plugin has very little sway over what gets packaged in the final bits.

converting to a task item for the installer.
Comment 2 _ wadechandler 2009-01-07 06:04:45 UTC
Hmm. Sun Java System Application Server 9.1_02 (build b04-fcs) is what I see in the version information. Are you sure
this is build 58? How do we know which version we are using here and included if these numbers do not match? Is it just
that it is based on build 58 yet was some kind of a merge or fork and there is some other repository some where versus
GF builds? On the GlassFish web site it has build b04 in the download files name. I grabbed a 2.1 build 60 from January
5 or 6 or something like that and it worked correctly with Oracle DataSources without setting the property, and it
started fast. So, it definitely worked differently than the others. Where is the right place to download newer versions
of GF anyways? Is 2.1 the only way to get builds? Is that the next release?
Comment 3 _ wadechandler 2009-01-07 06:10:12 UTC
I know you have written me before Vince about 2.1, but I was trying to use a final release. Anyways, I'll give 2.1 a run
for a while I guess. How stable is it supposed to be? Are their known issues with it working with NB? Can I set it up as
a GF V2 server without issues (known issues)?
Comment 4 _ wadechandler 2009-01-07 06:14:08 UTC
I see. Even 2.1 shows that same exact version in the version information from the management interface. So I guess that
b04 doesn't have anything to do with a build number. How does one tell what the build number is in a version they are
running less knowing where they downloaded it from?
Comment 5 Vince Kraemer 2009-01-07 08:13:58 UTC
the filer claims that the latest nightly of GF v2.1 doesn't seem to have this problem... so that that is probably what
should be bundled in NB 7.0...

See http://forums.java.net/jive/thread.jspa?threadID=55636&tstart=0
Comment 6 _ wadechandler 2009-01-07 20:10:54 UTC
OK. I take it back. Last night it was getting to where the connection was actually connecting then failing with 2.1, so
I assumed that today it would work as it did make a network connection to know our server was shutting down (database
server that is). The Oracle listener still runs though no shared memory for the database is running on the server, so
the end result should be a failure and an error message from Oracle. However, today it doesn't work, and to beat it all
2.1 can't be fixed by setting the property in domain.xml. It seems to just ignore it. Startup time seemed just as fast.
9.1u2 worked well with the property being set. So, it seems later builds are actually worse off.
Comment 7 dlipin 2009-03-02 11:48:21 UTC
The latest builds (including 6.7 M2) of NetBeans IDE ("Java" or "all" distributions) already have GlassFish v2.1 
bundled.

*** This issue has been marked as a duplicate of 152543 ***