Issue Details (XML | Word | Printable)

Key: GLASSFISH-12862
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Peter Bower
Reporter: Anissa Lam
Votes: 0
Watchers: 8
Operations

If you were logged in you would be able to see more operations.
glassfish

cannot determine anonymous login after session timout

Created: 01/Aug/10 02:38 PM   Updated: 11/Feb/13 09:11 AM
Component/s: amx
Affects Version/s: 3.1
Fix Version/s: not determined

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 12,862
Tags: 3_1-exclude
Participants: Anissa Lam, Peter Bower, prasads and Tom Mueller


 Description  « Hide

Very often, when the session timeout, I cannot just get back to the GUI
automatically. The login screen is displayed and require me to enter the login
info. I have to enter "admin" as username and leave the password field empty.
Not sure is its GUI's, security or AMX issue.

Here is the info from server.log

[#|2010-08-01T14:30:30.300-0700|INFO|glassfish3.1|org.glassfish.admingui|_ThreadID=62;_ThreadName=http-thread-pool-4848(5);|admin
console: initSessionAttributes()|#]

[#|2010-08-01T14:30:31.621-0700|WARNING|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=62;_ThreadName=http-thread-pool-4848(5);|getRealmNames():
Can't get realm names
java.lang.NullPointerException
at org.glassfish.admin.amx.impl.ext.RealmsImpl.getAuthRealms(RealmsImpl.java:107)
at
org.glassfish.admin.amx.impl.ext.RealmsImpl.getConfiguredRealmNames(RealmsImpl.java:113)
at org.glassfish.admin.amx.impl.ext.RealmsImpl.loadRealms(RealmsImpl.java:122)
at org.glassfish.admin.amx.impl.ext.RealmsImpl.getRealmNames(RealmsImpl.java:194)
at sun.reflect.GeneratedMethodAccessor368.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.getAttributeByMethod(AMXImplBase.java:548)
at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.getAttributeInternal(AMXImplBase.java:465)
at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.getAttribute(AMXImplBase.java:420)
at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.getAttributes(AMXImplBase.java:504)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBeanServerInterceptor.java:726)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttributes(JmxMBeanServer.java:665)
at
org.glassfish.admin.amx.util.jmx.MBeanProxyHandler.getAttributes(MBeanProxyHandler.java:274)
at
org.glassfish.admin.amx.core.proxy.AMXProxyHandler.attributesMap(AMXProxyHandler.java:1194)
at
org.glassfish.admin.amx.core.proxy.AMXProxyHandler.attributesMap(AMXProxyHandler.java:1204)
at
org.glassfish.admin.amx.core.proxy.AMXProxyHandler.handleSpecialMethod(AMXProxyHandler.java:415)
at
org.glassfish.admin.amx.core.proxy.AMXProxyHandler._invoke(AMXProxyHandler.java:793)
at
org.glassfish.admin.amx.core.proxy.AMXProxyHandler.invoke(AMXProxyHandler.java:527)
at $Proxy111.attributesMap(Unknown Source)
at
org.glassfish.admingui.common.handlers.ProxyHandlers.getProxyAttribute(ProxyHandlers.java:316)
at sun.reflect.GeneratedMethodAccessor387.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)
at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
at
com.sun.jsftemplating.layout.descriptors.LayoutDefinition.dispatchInitPageHandlers(LayoutDefinition.java:332)
at
com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.getLayoutDefinition(TemplateLayoutDefinitionManager.java:201)
at
com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition(LayoutDefinitionManager.java:152)
at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:507)
at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:507)
at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:507)
at
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:255)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:238)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:334)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1518)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:339)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211)
at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:651)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:87)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:158)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:651)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:318)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:222)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:240)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:823)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:720)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:220)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:530)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:511)
at java.lang.Thread.run(Thread.java:637)

#]

[#|2010-08-01T14:30:34.181-0700|INFO|glassfish3.1|org.glassfish.admingui|_ThreadID=62;_ThreadName=http-thread-pool-4848(5);|UpdateCheckFrequency
is set to NEVER by user. Component update count not performed. |#]

[#|2010-08-01T14:30:45.695-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|java.lang.reflect.UndeclaredThrowableException|#]

[#|2010-08-01T14:30:46.111-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at $Proxy133.getAnonymousUser(Unknown Source)|#]

[#|2010-08-01T14:30:46.111-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.glassfish.admingui.common.handlers.CommonHandlers.testLoginBypass(CommonHandlers.java:470)|#]

[#|2010-08-01T14:30:46.112-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at sun.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)|#]

[#|2010-08-01T14:30:46.112-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)|#]

[#|2010-08-01T14:30:46.112-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at java.lang.reflect.Method.invoke(Method.java:597)|#]

[#|2010-08-01T14:30:46.112-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)|#]

[#|2010-08-01T14:30:46.112-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)|#]

[#|2010-08-01T14:30:46.112-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jsftemplating.layout.descriptors.LayoutDefinition.dispatchInitPageHandlers(LayoutDefinition.java:332)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.getLayoutDefinition(TemplateLayoutDefinitionManager.java:201)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition(LayoutDefinitionManager.java:152)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jsftemplating.layout.ViewRootUtil.getLayoutDefinition(ViewRootUtil.java:257)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jsftemplating.layout.ViewRootUtil.getLayoutDefinition(ViewRootUtil.java:228)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:201)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:238)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:334)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1518)|#]

[#|2010-08-01T14:30:46.113-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:831)|#]

[#|2010-08-01T14:30:46.114-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:693)|#]

[#|2010-08-01T14:30:46.114-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:495)|#]

[#|2010-08-01T14:30:46.114-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:466)|#]

[#|2010-08-01T14:30:46.114-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:356)|#]

[#|2010-08-01T14:30:46.114-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:296)|#]

[#|2010-08-01T14:30:46.114-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:463)|#]

[#|2010-08-01T14:30:46.114-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:251)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1183)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:580)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:619)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:87)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:158)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:651)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:318)|#]

[#|2010-08-01T14:30:46.115-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:222)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:240)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:823)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:720)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:220)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)|#]

[#|2010-08-01T14:30:46.116-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)|#]

[#|2010-08-01T14:30:46.117-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)|#]

[#|2010-08-01T14:30:46.117-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:530)|#]

[#|2010-08-01T14:30:46.117-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:511)|#]

[#|2010-08-01T14:30:46.117-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at java.lang.Thread.run(Thread.java:637)|#]

[#|2010-08-01T14:30:46.117-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|Caused
by: javax.management.AttributeNotFoundException: Attribute not found:
"AnonymousUser" of MBean amx:pp=/ext,type=realms[null]|#]

[#|2010-08-01T14:30:46.117-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.rethrowAttributeNotFound(AMXImplBase.java:532)|#]

[#|2010-08-01T14:30:46.117-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.getAttributeByMethod(AMXImplBase.java:553)|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.getAttributeInternal(AMXImplBase.java:465)|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.glassfish.admin.amx.impl.mbean.AMXImplBase.getAttribute(AMXImplBase.java:420)|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:666)|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.glassfish.admin.amx.util.jmx.MBeanProxyHandler.getAttribute(MBeanProxyHandler.java:248)|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.glassfish.admin.amx.util.jmx.MBeanProxyHandler.invoke(MBeanProxyHandler.java:386)|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.glassfish.admin.amx.core.proxy.AMXProxyHandler._invoke(AMXProxyHandler.java:823)|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
at
org.glassfish.admin.amx.core.proxy.AMXProxyHandler.invoke(AMXProxyHandler.java:527)|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|null|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|
... 54 more|#]

[#|2010-08-01T14:30:46.118-0700|SEVERE|glassfish3.1|org.glassfish.admingui|_ThreadID=60;_ThreadName=http-thread-pool-4848(3);|Cannot
determine anonymous login. Login enforced.|#]



Anissa Lam added a comment - 01/Aug/10 02:56 PM

Since the NPE is from amx, I am transferring this to AMX for investigation.


prasads added a comment - 07/Oct/10 04:51 AM

Is this issue even relevant now , since Admin GUI does not use AMX ? Assigning
to Anissa for a response.


Anissa Lam added a comment - 13/Oct/10 07:19 AM

Its true that GUI doesn't depend on AMX for 3.1.
However, the stack trace shows clearly that there is an NPE in getting the realm
names. It means there is an issue within AMX.
It is up to the amx team to determine if they want to fix this or not.

[#|2010-08-01T14:30:31.621-0700|WARNING|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=62;_ThreadName=http-thread-pool-4848(5);|getRealmNames():
Can't get realm names
java.lang.NullPointerException
at org.glassfish.admin.amx.impl.ext.RealmsImpl.getAuthRealms(RealmsImpl.java:107)
at
org.glassfish.admin.amx.impl.ext.RealmsImpl.getConfiguredRealmNames(RealmsImpl.java:113)
at org.glassfish.admin.amx.impl.ext.RealmsImpl.loadRealms(RealmsImpl.java:122)
at org.glassfish.admin.amx.impl.ext.RealmsImpl.getRealmNames(RealmsImpl.java:194)
at sun.reflect.GeneratedMethodAccessor368.invoke(Unknown Source)
at


prasads added a comment - 08/Dec/10 07:28 PM

Excluding this issue from this release , since its not reproducible for now.


prasads added a comment - 20/Feb/11 08:03 AM

Assigning issues to Naman


Tom Mueller added a comment - 06/Mar/12 09:59 PM

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.