quality@glassfish.java.net

Re: JDBC section in admin gui broken

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Sun, 02 Aug 2009 09:43:48 -0700
Hi Wouter,

I think i know what maybe going on.   Looking at the issue, it really shouldn't be platform or browser or distribution specific.   We are hitting issue# https://glassfish.dev.java.net/issues/show_bug.cgi?id=8708 
The fact that the applications bean not found should never happen.
java.lang.RuntimeException: javax.management.InstanceNotFoundException:
amx:pp=/domain,type=applications
In fact, this is affecting more than just the resource node.  If you click the Applications tree node, the right frame will show exception also. 
This is an intermittent issue, although once you hit it,  it happens majority of time.  
Since Lloyd marked that bug fixed,  I have seen the problem again, and he said he put in more information in case that happens again.
For me, seems that web distribution has higher chance of hitting the bug.   When i tried 8/1 nightly web,  i got the error 2 out of 3 times.  For you its the full distribution.   I know Yifeng has been testing resources on b57, but she hasn't filed any issue, so sounds like it works for her. 

Once you hit the error, it will not recover by itself, you have to restart the server and hopefully won't hit it.  
Also,  I always start my own build using  glassfish/bin/startserv --debug ,  not sure if that decrease the chance for hitting the bug.  You can give it a try.

I am going to update issue #8980 that you submitted and attach my server.log to it so Lloyd can take a look.   Please attach your server.log as another data point as well.

thanks
Anissa

Wouter van Reeven wrote:
Hi Anissa,


Thanks for trying this out as well. I think you should know I *never* use the
web distribution. I *always* use the full distribution. Maybe this is a problem
on Linux only? I downloaded glassfish-v3-preview-b57-unix.sh and that is the
version I had the problem with.


Thanks, Wouter

On Sun, Aug 02, 2009 at 08:42:30AM -0700, Anissa Lam wrote:
  
Hi Wouter,

Thanks for trying out b57.
I almost want to say  i cannot reproduce the problem, but then i decided 
to download web distribution to test it out also.  Glad i did :)
This issue seems to occur only in web distribution, but not glassfish 
distribution.   I don't understand why since the code should be the same 
in both for jdbc.  I need to look into this further.
For the time being,   work around is to install glassfish distribution.  
The zip file can be found as:  
http://download.java.net/glassfish/v3/promoted/glassfish-v3-preview-b57.zip

thanks
Anissa.

Wouter van Reeven wrote:
    
Hi all,


Last night I noticed the JDBC section in the admin gui of build 57 is 
broken.
Everytime I click JDBC Resources, Connection Pools or open a Connection 
pool I
get this exception in the logs:

java.lang.RuntimeException: javax.management.InstanceNotFoundException:
amx:pp=/domain,type=applications

The admin console won't even display any JDBC Resource despite them being 
there.
Everything works fine when I use the CLI. I have created issue 8980 for 
this.


Thanks, Wouter

 
      
---------------------------------------------------------------------
To unsubscribe, e-mail: quality-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: quality-help@glassfish.dev.java.net