Apache Geronimo > Discussion Forums  User List | Dev List | Wiki | Issue Tracker  

GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

View: New views
13 Messages — Rating Filter:   Alert me  

GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried to use the GERONIMO 2.2 ActiveMQ5 CAMEL2 integration, but run in following problems

1.) when setting a route in $GERONIMO_HOME\var\activemq\conf\activemq.xml
    <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
        <route>
            <from uri="activemq:example.A"/>
            <to uri="activemq:example.B"/>
        </route>
    </camelContext>
i get
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean namespace mapping: http://camel.apache.org/schema/spring 

2.) when using the ActiveMQ 3.0 Webconsole as described in
http://activemq.apache.org/web-console.html
http://repo1.maven.org/maven2/org/apache/activemq/activemq-web-console/5.3.0/activemq-web-console-5.3.0.war

Set the jms connector url for geronimo on startup
set GERONIMO_OPTS=-Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/JMXConnector

i get the following exception
java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://localhost:61616 due to: java.net.BindException: Address already in use: JVM_Bind
        at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
as the Console is still using the ActiveMQ deault port 61616. Why?

3.)Then iy tried the Camel 2.0 Web Console from
http://repo1.maven.org/maven2/org/apache/activemq/activemq-web-console/5.3.0/activemq-web-console-5.3.0.war
as described in
http://camel.apache.org/web-console.html
The i get
javax.servlet.ServletException: Filter execution threw an exception
        com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
        com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)

root causeb java.lang.OutOfMemoryError: PermGen space
so set
GERONIMO_OPTS=-Xms512m -Xmx512m -XX:MaxPermSize=128m

this works realy fine an i can use Camel routes and enpoints etc.

But know my question.
Why can't i use the Active MQ WebConsole or Camel direct in ActiveMQ together with Geronimo at this time?
There is a Apache Camel camel-geronimo-2.1.4 integration tutorial at https://issues.apache.org/activemq/browse/CAMEL-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52028#action_52028 which si not working

Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by Ivan Xu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



2009/10/30 frapien <frank.pientka@...>

I tried to use the GERONIMO 2.2 ActiveMQ5 CAMEL2 integration, but run in
following problems

1.) when setting a route in $GERONIMO_HOME\var\activemq\conf\activemq.xml
   <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
       <route>
           <from uri="activemq:example.A"/>
           <to uri="activemq:example.B"/>
       </route>
   </camelContext>
i get
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
xbean namespace mapping: http://camel.apache.org/schema/spring

   From the comment in the var/activemq/conf/activemq.xml, I think the schema of Camel in ActiveMQ 5.3 is "http://activemq.apache.org/camel/schema/spring"
 
2.) when using the ActiveMQ 3.0 Webconsole as described in
http://activemq.apache.org/web-console.html
http://repo1.maven.org/maven2/org/apache/activemq/activemq-web-console/5.3.0/activemq-web-console-5.3.0.war

Set the jms connector url for geronimo on startup
set
GERONIMO_OPTS=-Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/JMXConnector

i get the following exception
java.io.IOException: Transport Connector could not be registered in JMX:
Failed to bind to server socket: tcp://localhost:61616 due to:
java.net.BindException: Address already in use: JVM_Bind
       at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
as the Console is still using the ActiveMQ deault port 61616. Why?

 
  By default, Geronimo will start an ActiveMQ broker, and start a tcp connector which binds to 61616.
  I am not sure what you mean "the Console is still using the ActiveMQ deault port 61616" ?
 
3.)Then iy tried the Camel 2.0 Web Console from
http://repo1.maven.org/maven2/org/apache/activemq/activemq-web-console/5.3.0/activemq-web-console-5.3.0.war
as described in
http://camel.apache.org/web-console.html
The i get
javax.servlet.ServletException: Filter execution threw an exception

com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)

com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)

root causeb java.lang.OutOfMemoryError: PermGen space
so set
GERONIMO_OPTS=-Xms512m -Xmx512m -XX:MaxPermSize=128m

this works realy fine an i can use Camel routes and enpoints etc.

But know my question.
Why can't i use the Active MQ WebConsole or Camel direct in ActiveMQ
together with Geronimo at this time?
There is a Apache Camel camel-geronimo-2.1.4 integration tutorial at
https://issues.apache.org/activemq/browse/CAMEL-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52028#action_52028
which si not working
--
View this message in context: http://old.nabble.com/GERONIMO-2.2-ActiveMQ5-CAMEL2-integration-tp26126819s134p26126819.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.




--
Ivan

Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ivan Xu wrote:

>> 1.) when setting a route in $GERONIMO_HOME\var\activemq\conf\activemq.xml
>>    <camelContext id="camel"
>> xmlns="http://camel.apache.org/schema/spring">
>>        <route>
>>            <from uri="activemq:example.A"/>
>>            <to uri="activemq:example.B"/>
>>        </route>
>>    </camelContext>

>>    From the comment in the var/activemq/conf/activemq.xml, I think the
> schema of Camel in ActiveMQ 5.3 is "
> http://activemq.apache.org/camel/schema/spring"
no its old
When Camel went from an activemq subproject to a top level apache project, they changed the URIs for their xml schemas to reflect this in Camel 2.0.
To fix this, in activemq.xml change all occurrences of:
http://activemq.apache.org/camel/schema/spring 
to
http://camel.apache.org/schema/spring 
and
 see http://cwiki.apache.org/confluence/display/CAMEL/Exception+-+BeanDefinitionStoreException


>> 2.) when using the ActiveMQ 3.0 Webconsole as described in

>   By default, Geronimo will start an ActiveMQ broker, and start a tcp
> connector which binds to 61616.
>   I am not sure what you mean "the Console is still using the ActiveMQ
> deault port 61616" ?
as in the config.xml it's true but on the console I see only ports
 Listening on Ports:
   1050 0.0.0.0 CORBA Naming Service
   1099 0.0.0.0 RMI Naming
   1527 0.0.0.0 Derby Connector
   2001 0.0.0.0 OpenEJB ORB Adapter
   4201 0.0.0.0 OpenEJB Daemon
   6882 0.0.0.0 OpenEJB ORB Adapter
   9999 0.0.0.0 JMX Remoting Connector
so where is the bind
Thanks for your help, Frank

Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by Ivan Xu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for pointing it out, for the Camel schema, seems that the shipped activemq.xml is out of date, they may need to be updated.
About the port binding, due to some changes in ActiveMQ integration in Geronimo, the listerning port of JMS connectors are not listed after the server is started up. Not sure whether there is a chance to improve it in Geronimo 2.2. Will try it ......

2009/10/30 frapien <frank.pientka@...>

Ivan Xu wrote:

>> 1.) when setting a route in $GERONIMO_HOME\var\activemq\conf\activemq.xml
>>    <camelContext id="camel"
>> xmlns="http://camel.apache.org/schema/spring">
>>        <route>
>>            <from uri="activemq:example.A"/>
>>            <to uri="activemq:example.B"/>
>>        </route>
>>    </camelContext>

>>    From the comment in the var/activemq/conf/activemq.xml, I think the
> schema of Camel in ActiveMQ 5.3 is "
> http://activemq.apache.org/camel/schema/spring"
no its old
When Camel went from an activemq subproject to a top level apache project,
they changed the URIs for their xml schemas to reflect this in Camel 2.0.
To fix this, in activemq.xml change all occurrences of:
to
and
 see
http://cwiki.apache.org/confluence/display/CAMEL/Exception+-+BeanDefinitionStoreException


>> 2.) when using the ActiveMQ 3.0 Webconsole as described in

>   By default, Geronimo will start an ActiveMQ broker, and start a tcp
> connector which binds to 61616.
>   I am not sure what you mean "the Console is still using the ActiveMQ
> deault port 61616" ?
as in the config.xml it's true but on the console I see only ports
 Listening on Ports:
  1050 0.0.0.0 CORBA Naming Service
  1099 0.0.0.0 RMI Naming
  1527 0.0.0.0 Derby Connector
  2001 0.0.0.0 OpenEJB ORB Adapter
  4201 0.0.0.0 OpenEJB Daemon
  6882 0.0.0.0 OpenEJB ORB Adapter
  9999 0.0.0.0 JMX Remoting Connector
so where is the bind
Thanks for your help, Frank
--
View this message in context: http://old.nabble.com/GERONIMO-2.2-ActiveMQ5-CAMEL2-integration-tp26126819s134p26127287.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.




--
Ivan

Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> 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)

Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by djencks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.
>


Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


djencks wrote:
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
Thanks. It would be a great idee to have this later in the official plugin repository.
I have tried. Installed it.
But when starting org.apache.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/car i get the following exception an can't restart the server again. Any help? Frank

ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="org.apache.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/car?configurationName=org.apache.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/car"
org.apache.geronimo.kernel.repository.MissingDependencyException: Missing dependency: org.apache.activemq/activemq-web/5.3-SNAPSHOT/jar
        at org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
        at org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:415)

Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by djencks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you build geronimo locally and install the webconsole plugin from  
your local maven repository?  It looks like you are picking up a very  
out of date plugin.  I just tried this on my machine and it appears to  
work fine.

thanks
david jencks

On Oct 30, 2009, at 2:20 PM, frapien wrote:

>
>
>
> djencks wrote:
>>
>> 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
>>
>>
> Thanks. It would be a great idee to have this later in the official  
> plugin
> repository.
> I have tried. Installed it.
> But when starting
> org.apache.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/
> car i
> get the following exception an can't restart the server again. Any  
> help?
> Frank
>
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the  
> FAILED
> state:
> abstractName="org.apache.geronimo.plugins/activemq-webconsole-tomcat/
> 2.2-SNAPSHOT/car?configurationName=org.apache.geronimo.plugins/
> activemq-webconsole-tomcat/2.2-SNAPSHOT/car"
> org.apache.geronimo.kernel.repository.MissingDependencyException:  
> Missing
> dependency: org.apache.activemq/activemq-web/5.3-SNAPSHOT/jar
> at
> org
> .apache
> .geronimo
> .kernel
> .config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> at
> org
> .apache
> .geronimo
> .kernel.config.Configuration.buildClassPath(Configuration.java:415)
> --
> View this message in context: http://old.nabble.com/GERONIMO-2.2-ActiveMQ5-CAMEL2-integration-tp26126819s134p26137024.html
> Sent from the Apache Geronimo - Dev mailing list archive at  
> Nabble.com.
>


Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


in the geronimo-plugin.xml I copied the jars (camel-core-2.0.0.jar, camel-core-2.0.0.jar, camel-spring-2.0.0.jar) from apache camel
<dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-camel</artifactId>
            <version>5.3-SNAPSHOT</version>
            <type>jar</type>
        </dependency>
 <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-jms</artifactId>
            <version>2.0-M3</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-core</artifactId>
            <version>2.0-M3</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-spring</artifactId>
            <version>2.0-M3</version>
            <type>jar</type>
        </dependency>
but still i get the module not running
ERROR [ConfigManagerPortlet] Lifecycle operation failed
org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/car failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:290)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:271)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:246)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:114)
        at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$fa7a0767.loadConfiguration(<generated>)
        at org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction(ConfigManagerPortlet.java:154)
        at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
        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(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
        at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167)
        at org.apache.pluto.core.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:85)
        at org.apache.pluto.core.PortletContainerImpl.doAction(PortletContainerImpl.java:217)
        at org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:121)
        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(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130)
        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.security.SecurityValve.invoke(SecurityValve.java:88)
        at org.apache.geronimo.tomcat.security.jacc.JACCSecurityValve.invoke(JACCSecurityValve.java:54)
        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)
Caused by: java.lang.NullPointerException
        at org.apache.geronimo.kernel.config.transformer.GroovyTransformer.executeScripts(GroovyTransformer.java:104)
        at org.apache.geronimo.kernel.config.transformer.GroovyTransformer.executeScripts(GroovyTransformer.java:100)
        at org.apache.geronimo.kernel.config.transformer.GroovyTransformer.transformDependencies(GroovyTransformer.java:69)
        at org.apache.geronimo.system.configuration.RepositoryConfigurationStore.loadConfiguration(RepositoryConfigurationStore.java:164)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfigurationData(SimpleConfigurationManager.java:469)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:421)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:287)
        ... 56 more

Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

no i copied the plugin from http://repository.apache.org/snapshots/org/apache/geronimo/plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/
How do i build it locally and with which maven repo?
thank you for your help, Ill try again

djencks wrote:
Did you build geronimo locally and install the webconsole plugin from  
your local maven repository?  It looks like you are picking up a very  
out of date plugin.  I just tried this on my machine and it appears to  
work fine.

thanks
david jencks

On Oct 30, 2009, at 2:20 PM, frapien wrote:

>
>
>
> djencks wrote:
>>
>> 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
>>
>>
> Thanks. It would be a great idee to have this later in the official  
> plugin
> repository.
> I have tried. Installed it.
> But when starting
> org.apache.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/
> car i
> get the following exception an can't restart the server again. Any  
> help?
> Frank
>
> ERROR [GBeanInstanceState] Error while starting; GBean is now in the  
> FAILED
> state:
> abstractName="org.apache.geronimo.plugins/activemq-webconsole-tomcat/
> 2.2-SNAPSHOT/car?configurationName=org.apache.geronimo.plugins/
> activemq-webconsole-tomcat/2.2-SNAPSHOT/car"
> org.apache.geronimo.kernel.repository.MissingDependencyException:  
> Missing
> dependency: org.apache.activemq/activemq-web/5.3-SNAPSHOT/jar
> at
> org
> .apache
> .geronimo
> .kernel
> .config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
> at
> org
> .apache
> .geronimo
> .kernel.config.Configuration.buildClassPath(Configuration.java:415)
> --
> View this message in context: http://old.nabble.com/GERONIMO-2.2-ActiveMQ5-CAMEL2-integration-tp26126819s134p26137024.html
> Sent from the Apache Geronimo - Dev mailing list archive at  
> Nabble.com.
>

Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by djencks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 30, 2009, at 3:30 PM, frapien wrote:

>
> no i copied the plugin from
> http://repository.apache.org/snapshots/org/apache/geronimo/plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/

that is very out of date... probably months old.

> How do i build it locally and with which maven repo?
> thank you for your help, Ill try again

svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.2
cd 2.2
mvn clean install


david jencks

>
>
> djencks wrote:
>>
>> Did you build geronimo locally and install the webconsole plugin from
>> your local maven repository?  It looks like you are picking up a very
>> out of date plugin.  I just tried this on my machine and it appears  
>> to
>> work fine.
>>
>> thanks
>> david jencks
>>
>> On Oct 30, 2009, at 2:20 PM, frapien wrote:
>>
>>>
>>>
>>>
>>> djencks wrote:
>>>>
>>>> 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
>>>>
>>>>
>>> Thanks. It would be a great idee to have this later in the official
>>> plugin
>>> repository.
>>> I have tried. Installed it.
>>> But when starting
>>> org.apache.geronimo.plugins/activemq-webconsole-tomcat/2.2-SNAPSHOT/
>>> car i
>>> get the following exception an can't restart the server again. Any
>>> help?
>>> Frank
>>>
>>> ERROR [GBeanInstanceState] Error while starting; GBean is now in the
>>> FAILED
>>> state:
>>> abstractName="org.apache.geronimo.plugins/activemq-webconsole-
>>> tomcat/
>>> 2.2-SNAPSHOT/car?configurationName=org.apache.geronimo.plugins/
>>> activemq-webconsole-tomcat/2.2-SNAPSHOT/car"
>>> org.apache.geronimo.kernel.repository.MissingDependencyException:
>>> Missing
>>> dependency: org.apache.activemq/activemq-web/5.3-SNAPSHOT/jar
>>> at
>>> org
>>> .apache
>>> .geronimo
>>> .kernel
>>> .config.ConfigurationResolver.resolve(ConfigurationResolver.java:
>>> 113)
>>> at
>>> org
>>> .apache
>>> .geronimo
>>> .kernel.config.Configuration.buildClassPath(Configuration.java:415)
>>> --
>>> View this message in context:
>>> http://old.nabble.com/GERONIMO-2.2-ActiveMQ5-CAMEL2-integration-tp26126819s134p26137024.html
>>> Sent from the Apache Geronimo - Dev mailing list archive at
>>> Nabble.com.
>>>
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/GERONIMO-2.2-ActiveMQ5-CAMEL2-integration-tp26126819s134p26137787.html
> Sent from the Apache Geronimo - Dev mailing list archive at  
> Nabble.com.
>


Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

start for tomcat assembly failed, so i cant install the AMQ webconsole
the build and start for jetty7 was succcensfull, but installation of the AMQ webconsole failed
Any idee, what different
Starting org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car

A problem has occured:
org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car failed
[ConfigurationUtil] Could not load gbean org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car?J2EEApplication=null,j2eeType=WebModule,name=org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car
org.apache.geronimo.gbean.InvalidConfigurationException: Could not load GBeanInfo class from classloader: [org.apache.geronimo.kernel.classloader.JarFileClassLoader id=org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car] className=org.apache.geronimo.jetty7.WebAppContextWrapper
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:230)
        at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:352)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:441)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:811)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:718)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:714)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean$3.run(PluginInstallerGBean.java:885)
        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)
Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.jetty7.WebAppContextWrapper in classloader org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car
        at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:414)
        at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:256)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:228)
        ... 14 more
2009-10-31 10:28:15,406 ERROR [PluginInstallerGBean] Unable to install plugin
org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:811)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:718)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:714)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean$3.run(PluginInstallerGBean.java:885)
        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)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
        ... 10 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could not load GBeanInfo class from classloader: [org.apache.geronimo.kernel.classloader.JarFileClassLoader id=org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car] className=org.apache.geronimo.jetty7.WebAppContextWrapper
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:230)
        at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:352)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:441)
        ... 12 more
Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.jetty7.WebAppContextWrapper in classloader org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car
        at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:414)
        at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:256)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:228)
        ... 14 more
2009-10-31 10:28:17,203 INFO  [DirectoryMonitor] Hot deployer notified that an artifact was removed: org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car
2009-10-31 10:28:17,296 WARN  [DefaultRemoter] Method execution failed:
java.lang.Exception: Unable to install configuration
        at org.apache.geronimo.console.ajax.ProgressMonitor.getProgressInfo(ProgressMonitor.java:78)
        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 org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
        at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
        at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
        at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
        at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
        at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:521)
        at org.apache.geronimo.jetty7.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:60)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1207)
        at org.apache.geronimo.console.servlet.ForwardDispatchFilter.doFilter(ForwardDispatchFilter.java:59)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1178)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:433)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:118)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:490)
        at org.apache.geronimo.jetty7.handler.JettySecurityHandler.handle(JettySecurityHandler.java:88)
        at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:179)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:928)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:370)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:862)
        at org.apache.geronimo.jetty7.handler.TwistyWebAppContext.doScope(TwistyWebAppContext.java:114)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:116)
        at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:331)
        at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
        at org.apache.geronimo.console.servlet.ContextForwardServlet.doPost(ContextForwardServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:521)
        at org.apache.geronimo.jetty7.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:60)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1207)
        at org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:125)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1178)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:433)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:118)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:445)
        at org.apache.geronimo.jetty7.handler.JettySecurityHandler.handle(JettySecurityHandler.java:88)
        at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:179)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:928)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:370)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:862)
        at org.apache.geronimo.jetty7.handler.TwistyWebAppContext.doScope(TwistyWebAppContext.java:114)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:116)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:243)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:115)
        at org.eclipse.jetty.server.Server.handle(Server.java:330)
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:557)
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:947)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:736)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)
        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:413)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:438)
        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)
Caused by: org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:811)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:718)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean.install(PluginInstallerGBean.java:714)
        at org.apache.geronimo.system.plugin.PluginInstallerGBean$3.run(PluginInstallerGBean.java:885)
        ... 5 more
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546)
        ... 10 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could not load GBeanInfo class from classloader: [org.apache.geronimo.kernel.classloader.JarFileClassLoader id=org.apache.geronimo.plugins/activemq-webconsole-jetty/2.2-SNAPSHOT/car] className=org.apache.geronimo.jetty7.WebAppContextWrapper
        at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:230)
        at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:352)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:441)
        ... 12 more
Caused by: java.lang.ClassNotFoundException: org.apache.geronimo.jetty7.WebAppContextWrapper

OK: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration

by frapien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tested with the new plugin
GSH> deploy/install-plugin  activemq-webconsole-tomcat-2.2-20091104.002204-4.car
http://localhost:8080/activemq-console/
all work's fine
thanks for help & hints, frank