geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration
Date Fri, 30 Oct 2009 16:09:27 GMT
We repackage the amq webconsole to slightly reduce the size, but don't  
include the plugin in the server by default, mostly because it's  
completely unsecured.

If you've built geronimo locally, you can install the appropriate  
plugin through the admin console or gshell....

org.apache.geronimo.plugins/activemq-webconsole-[jetty/tomcat]/2.2- 
SNAPSHOT/car

I haven't tried anything with camel.

thanks
david jencks

On Oct 30, 2009, at 4:06 AM, frapien wrote:

>
>>> 2.) when using the ActiveMQ 3.0 Webconsole as described in
> I changed the setting
> set GERONIMO_OPTS=-Dwebconsole.type
> =properties -Dwebconsole.jms.url=tcp://localhost:61616
> -Dwebconsole.jmx.url=serv
> ice:jmx:rmi:///jndi/rmi://localhost:1099/JMXConnector
> -Dwebconsole.jmx.user=syst
> em -Dwebconsole.jmx.password=manager -Xms512m -Xmx512m - 
> XX:MaxPermSize=128m
> but get an JMX-Login error, when calling
> http://localhost:8080/activemq-web-console/
> Any idea how to login?
> org.apache.jasper.JasperException: javax.el.ELException: Error reading
> 'brokerName' on type org.apache.activemq.web.RemoteJMXBrokerFacade
>
> org 
> .apache 
> .jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:413)
> [[jsp]] Servlet.service() for servlet jsp threw exception
> java.lang.SecurityException: Invalid login
> 	at
> org 
> .apache 
> .geronimo.jmxremoting.Authenticator.authenticate(Authenticator.java: 
> 73)
> 	at
> javax 
> .management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java: 
> 213)
> 	at
> javax 
> .management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java: 
> 305)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:159)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> 	at  
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java: 
> 535)
> 	at
> sun.rmi.transport.tcp.TCPTransport 
> $ConnectionHandler.run0(TCPTransport.java:790)
> 	at
> sun.rmi.transport.tcp.TCPTransport 
> $ConnectionHandler.run(TCPTransport.java:649)
> 	at
> java.util.concurrent.ThreadPoolExecutor 
> $Worker.runTask(ThreadPoolExecutor.java:886)
> 	at
> java.util.concurrent.ThreadPoolExecutor 
> $Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
> 	at
> sun 
> .rmi 
> .transport 
> .StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java: 
> 255)
> 	at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: 
> 233)
> 	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
> 	at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown  
> Source)
> 	at
> javax 
> .management.remote.rmi.RMIConnector.getConnection(RMIConnector.java: 
> 2327)
> 	at  
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java: 
> 279)
> 	at
> javax 
> .management 
> .remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
> 	at
> org 
> .apache 
> .activemq 
> .web 
> .RemoteJMXBrokerFacade.createConnection(RemoteJMXBrokerFacade.java: 
> 145)
> 	at
> org 
> .apache 
> .activemq 
> .web 
> .RemoteJMXBrokerFacade 
> .getMBeanServerConnection(RemoteJMXBrokerFacade.java:113)
> 	at
> org 
> .apache 
> .activemq 
> .web.RemoteJMXBrokerFacade.getBrokerAdmin(RemoteJMXBrokerFacade.java: 
> 87)
> 	at
> org 
> .apache 
> .activemq 
> .web.RemoteJMXBrokerFacade.getBrokerName(RemoteJMXBrokerFacade.java: 
> 100)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
> 	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
> 	at org.apache.el.parser.AstValue.getValue(AstValue.java:118)
> 	at  
> org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java: 
> 186)
> 	at
> org 
> .apache 
> .jasper 
> .runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:935)
> 	at org.apache.jsp.index_jsp._jspService(index_jsp.java:75)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	at
> org 
> .apache 
> .jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
> 	at  
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 
> 342)
> 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	at
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 290)
> 	at
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at
> org 
> .springframework 
> .web 
> .filter 
> .RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
> 	at
> org 
> .springframework 
> .web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java: 
> 76)
> 	at
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 235)
> 	at
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at  
> org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:43)
> 	at
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 235)
> 	at
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at
> org 
> .apache 
> .activemq 
> .web 
> .filter 
> .ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> 	at
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 235)
> 	at
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at
> com 
> .opensymphony 
> .module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> 	at
> com 
> .opensymphony 
> .module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> 	at
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 235)
> 	at
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at
> org 
> .apache 
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 
> 233)
> 	at
> org 
> .apache 
> .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 
> 191)
> 	at
> org.apache.geronimo.tomcat.GeronimoStandardContext 
> $SystemMethodValve.invoke(GeronimoStandardContext.java:420)
> 	at
> org 
> .apache 
> .geronimo 
> .tomcat 
> .valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java: 
> 47)
> 	at
> org 
> .apache 
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 	at
> org 
> .apache 
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 
> 567)
> 	at
> org 
> .apache 
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 
> 109)
> 	at
> org 
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 
> 293)
> 	at
> org 
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
> 849)
> 	at
> org.apache.coyote.http11.Http11Protocol 
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
> 	at
> org.apache.tomcat.util.net.JIoEndpoint 
> $SocketProcessor.run(JIoEndpoint.java:361)
> 	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
> 	at
> org.apache.geronimo.pool.ThreadPool 
> $ContextClassLoaderRunnable.run(ThreadPool.java:344)
> 	at
> java.util.concurrent.ThreadPoolExecutor 
> $Worker.runTask(ThreadPoolExecutor.java:886)
> 	at
> java.util.concurrent.ThreadPoolExecutor 
> $Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
>
> -- 
> View this message in context: http://old.nabble.com/GERONIMO-2.2-ActiveMQ5-CAMEL2-integration-tp26126819s134p26128229.html
> Sent from the Apache Geronimo - Dev mailing list archive at  
> Nabble.com.
>


Mime
View raw message