geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: GERONIMO 2.2 ActiveMQ5 CAMEL2 integration
Date Fri, 30 Oct 2009 09:12:09 GMT
2009/10/30 frapien <frank.pientka@gmx.de>

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

Mime
View raw message