activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xuyang <xuyang2...@163.com>
Subject Re: Some problem with web-console!!
Date Mon, 02 Jun 2008 11:02:33 GMT

I have modified the catalina.bat,and add the above items:
set JAVA_OPTS=-Dwebconsole.type=properties
-Dwebconsole.jms.url=tcp://localhost:61616
-Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
-Dwebconsole.jmx.role= -Dwebconsole.jmx.password=
but when I restart the tomcat,it shows that:
2008-06-02 19:00:13,390 [080-Processor25] DEBUG JspServlet                    
-
 JspEngine --> /index.jsp
2008-06-02 19:00:13,390 [080-Processor25] DEBUG JspServlet                    
-
             ServletPath: /index.jsp
2008-06-02 19:00:13,390 [080-Processor25] DEBUG JspServlet                    
-
                PathInfo: null
2008-06-02 19:00:13,390 [080-Processor25] DEBUG JspServlet                    
-
                RealPath:
D:\Tomcat\webapps\activemq-web-console-5.1.0\index.jsp

2008-06-02 19:00:13,390 [080-Processor25] DEBUG JspServlet                    
-
              RequestURI: /activemq-web-console-5.1.0/
2008-06-02 19:00:13,390 [080-Processor25] DEBUG JspServlet                    
-
             QueryString: null
2008-06-02 19:00:13,390 [080-Processor25] DEBUG JspServlet                    
-
          Request Params:
2008-06-02 19:00:13,562 [080-Processor25] DEBUG RemoteJMXBrokerFacade         
-
 Creating a new JMX-Connection to the broker
2008-06-02 19:00:14,656 [080-Processor25] ERROR [jsp]                         
-
 Servlet.service() for servlet jsp threw exception
java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:179)
        at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect
SocketFactory.java:22)
        at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster
SocketFactory.java:128)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
        at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185
)
        at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java
:93)
        at
com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.j
ava:185)
        at javax.naming.InitialContext.lookup(InitialContext.java:351)
        at
javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnect
or.java:1817)
        at
javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.j
ava:1787)
        at
javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:25
9)
        at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFacto
ry.java:248)
        at
org.apache.activemq.web.RemoteJMXBrokerFacade.createConnection(Remote
JMXBrokerFacade.java:137)
        at
org.apache.activemq.web.RemoteJMXBrokerFacade.getConnection(RemoteJMX
BrokerFacade.java:102)
        at
org.apache.activemq.web.RemoteJMXBrokerFacade.getBrokerAdmin(RemoteJM
XBrokerFacade.java:81)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:314)
        at
org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
        at
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEval
uatorImpl.java:263)
        at
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEval
uatorImpl.java:190)
        at
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageCon
textImpl.java:924)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:76)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:331)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
29)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.springframework.web.filter.RequestContextFilter.doFilterInternal(
RequestContextFilter.java:63)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
equestFilter.java:75)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:46)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(Appl
icationContextFilter.java:81)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilt
er.java:118)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilte
r.java:52)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:174)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
        at java.lang.Thread.run(Thread.java:595)
2008-06-02 19:00:49,468 [gine[Catalina]]] DEBUG ManagerBase                   
-
 Start expire sessions StandardManager at 1212404449468 sessioncount 1
2008-06-02 19:00:52,718 [gine[Catalina]]] DEBUG ManagerBase                   
-
 End expire sessions StandardManager processingTime 3250 expired sessions: 0

what does that means?and how do I solve the problem?thanks!



Dejan Bosanac wrote:
> 
> Hi,
> 
> can you please post your configuration and errors you are experiencing?
> 
> Cheers
> -- 
> Dejan Bosanac
> www.scriptinginjava.net
> 
> On Mon, Jun 2, 2008 at 4:17 AM, Xuyang <xuyang2345@163.com> wrote:
> 
>>
>> I want to use web-console in tomcat , when use the version 5.0.0 ,it
>> works
>> well .But I think 5.1.0 is better,so I changed,but when I configure the
>> web-console5.1.0 in the same way,it doesnt work at all
>> please tell me why and how do I improve!
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Some-problem-with-web-console%21%21-tp17592976s2354p17592976.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Dejan Bosanac
> www.scriptinginjava.net
> 

-- 
View this message in context: http://www.nabble.com/Some-problem-with-web-console%21%21-tp17592976s2354p17598755.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message