geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vanessa Wang (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4887) java.lang.SecurityException: Invalid login when edit a running jmx server
Date Tue, 22 Sep 2009 06:02:16 GMT
java.lang.SecurityException: Invalid login when edit a running jmx server
-------------------------------------------------------------------------

                 Key: GERONIMO-4887
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4887
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: monitoring
    Affects Versions: 2.1.5
         Environment: Windows XP JDK1.5
            Reporter: Vanessa Wang 
            Priority: Minor


1 add a jmx localhost server 
2 enable query for this server
3 click edit server
Exception occurs:
ava.lang.SecurityException: Invalid login
        at org.apache.geronimo.jmxremoting.Authenticator.authenticate(Authentica
tor.java:73)
        at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.j
ava:224)
        at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.jav
a:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:599)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:310)
        at sun.rmi.transport.Transport$1.run(Transport.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:284
)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:5
47)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTranspor
t.java:802)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:661)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
        at java.lang.Thread.run(Thread.java:735)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:267)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
245)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:154)
        at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(RMIServerImp
l_Stub.java:52)
        at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.j
ava:2323)
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:28
8-)
        at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFacto
ry.java:259)
        at org.apache.geronimo.monitoring.console.MRCConnector.<init>(MRCConnect
or.java:105)
        at jsp.WEB_002dINF.view.monitoringEditServer_jsp._jspService(monitoringE
ditServer_jsp.java:177)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:551)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:488)
        at org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(P
ortletRequestDispatcherImpl.java:106)
        at org.apache.geronimo.monitoring.console.MonitoringPortlet.doEdit(Monit
oringPortlet.java:407)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:253)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
        at org.apache.geronimo.console.BasePortlet.render(BasePortlet.java:144)
        at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208
)
        at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:551)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:488)
        at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPort
letInvokerService.java:167)
        at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPort
letInvokerService.java:101)
        at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerI
mpl.java:173)
        at org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:15
2)
        at jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002ds
kin_jsp.java:102)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:551)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:488)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary
.java:968)
        at jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspx_meth_c_005fforEach
_005f0(default_002dtheme_jsp.java:215)
        at jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspService(default_002d
theme_jsp.java:120)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:302)
        at org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet
.java:151)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(Plu
toURLRebuildFilter.java:65)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilt
er.java:125)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
bjectValve.java:56)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:525)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
invoke(GeronimoStandardContext.java:406)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
nimoBeforeAfterValve.java:47)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
567)
        at org.apache.geronimo.tomcat.valve.ThreadCleanerValve.invoke(ThreadClea
nerValve.java:40)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:849)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:45
4)
        at java.lang.Thread.run(Thread.java:735)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message