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 102633 - warn user about proxy interference
Summary: warn user about proxy interference
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 15:32 UTC by nouar38
Modified: 2009-12-08 14:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
jstack of nb when start server is called (9.90 KB, text/plain)
2007-05-02 08:43 UTC, nouar38
Details
NB 6.0 Preview M9/jdk 1.6 threads dump using kill -QUIT <pid> (17.60 KB, application/octet-stream)
2007-05-07 17:19 UTC, nouar38
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nouar38 2007-04-26 15:32:48 UTC
SDK beta2/b14 NB 6.0 Dev 200704231800 - solaris-sparc (T1000), jdk 1.5u10

RunTime/Add server domain1 (local default domain)

before selecting start 
# date 
Thu Apr 26 16:12:35 MEST 2007

select the Node, and choose Start action:

when progress bar starting domain1 finished, noticed almost 5 minutes before
getting in the Output - domain1 

Apr 26, 2007 4:17:39 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher
buildCommand
...
Apr 26, 2007 4:17:39 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher
process
INFO: goodbye
.. start success

more than 5 mn to see the change of the Node (green arrow), did not see this
behaviour using nb 551 RC1.

The start of the domain1 using CLI asadmin start-domain is almost immediate.
Comment 1 nouar38 2007-04-26 17:02:40 UTC
got also for a non default local domain
Comment 2 Vince Kraemer 2007-04-30 17:20:36 UTC
investigating
Comment 3 Vince Kraemer 2007-04-30 19:02:22 UTC
I just tried this on my ultra 20 M2... could not reproduce.

which jdk did you use to start the app server with?

(look for AS_JAVA in the config/asenv.conf..)

Is this "repeatable"... if so: 

start the app server and that a thread dump of NetBeans.  It looks like
something is getting blocked... a thread dump will help track this down.
Comment 4 nouar38 2007-05-02 08:43:31 UTC
Created attachment 42023 [details]
jstack of nb when start server is called
Comment 5 nouar38 2007-05-02 08:53:27 UTC
sorry, submitted the jstack file and lost my comments.
Got this problem on my T1000 platform:

# more /opt/SDK/config/asenv.conf
AS_ANT="/opt/SDK/lib/ant"
AS_ANT_LIB="/opt/SDK/lib/ant/lib"
AS_WEBSERVICES_LIB="/opt/SDK/lib"
AS_PERL="/opt/SDK/lib/perl"
AS_NSS="/opt/SDK/lib"
AS_NSS_BIN="/opt/SDK/lib"
AS_IMQ_LIB="/opt/SDK/imq/lib"
AS_IMQ_BIN="/opt/SDK/imq/bin"
AS_CONFIG="/opt/SDK/config"
AS_INSTALL="/opt/SDK"
AS_JAVA="/usr/jdk/instances/jdk1.5.0"
AS_ACC_CONFIG="/opt/SDK/domains/domain1/config/sun-acc.xml"
AS_JHELP="/opt/SDK/lib"
AS_ICU_LIB="/opt/SDK/lib"
AS_DEF_DOMAINS_PATH="/opt/SDK/domains"
AS_JDMK_HOME="/opt/SDK/lib/SUNWjdmk/5.1"
AS_NATIVE_LAUNCHER="false"
AS_NATIVE_LAUNCHER_LIB_PREFIX="/jre/lib/sparc/client"
AS_WEBCONSOLE_LIB="/opt/SDK/lib"
AS_JATO_LIB="/opt/SDK/lib"
AS_HADB="Does not exist"
AS_DERBY_INSTALL="/opt/SDK/javadb"
AS_MFWK_HOME="/opt/SUNWmfwk"

# /usr/jdk/instances/jdk1.5.0/bin/java -version
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Server VM (build 1.5.0_10-b03, mixed mode)

I get this for every start of any registered server/domain (local default, non
local default, personal domain created with nb or with cli)
Comment 6 nouar38 2007-05-07 17:14:43 UTC
*** on the T1000 solaris-sparc 10 u2:
in all the following cases: 5mn are needed to see the start taken into account

- NB 6.0 200705011800 & PE with jdk 1.5u10
- NB 6.0 200705011800 with jdk 1.6u1 & PE with jdk 1.5u10
- NB 6.0 Preview (M9) with jdk 1.6u1 & PE with jdk 1.5u10
download file: netbeans-6.0m9-standard-solaris-sparc.sh
- NB 6.0 Preview (M9) with jdk 1.6u1 & PE with jdk 1.6u1

get also the NB thread dump: by sending signal -QUIT to the NB (preview M9)
process running with jdk 1.6u1.

Number of processors available on the Operating System: 24
as said in the JVM report of my running server.

will join the thread dump of NB in another session
Comment 7 nouar38 2007-05-07 17:19:09 UTC
Created attachment 42201 [details]
NB 6.0 Preview M9/jdk 1.6 threads dump using kill -QUIT <pid>
Comment 8 nouar38 2007-05-22 13:06:55 UTC
discovered that if I set in NB proxy-setting webcache.sfbay instead of
webcache.france the start is immediate.
(test done over daily 14052007 and b47)
Comment 9 Vince Kraemer 2007-05-22 14:37:57 UTC
So... it looks like there was a configuration issue that had this as a symptom.

I am leaving this open, but changing it to an enhancement and changing the title
to reflect what you have discovered.
Comment 10 Vince Kraemer 2008-10-18 02:40:58 UTC
I need to figure out if this apples to v3 in the 7.0 time frame.