geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-1906) Cannot add a new connector using ActiveMQManagerGBean
Date Wed, 26 Jul 2006 01:14:14 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-1906?page=comments#action_12423500 ] 
            
Paul McMahan commented on GERONIMO-1906:
----------------------------------------

This problem still exists, at least in the 1.1 branch.

Use the following steps to recreate.

Start geronimo server
Log into the admin console
Select the JMS Server portlet
Click the link "Add a new activeio listener"
Type in the following inputs:
      Unique name:  test
      Host: 0.0.0.0
      Port: 9999
See the following stacktrace in the server output window:
18:08:18,625 ERROR [JMSConnectorPortlet] Unable to process portlet action
java.lang.NoSuchMethodError: org.activeio.ChannelFactory.bindAsynchChannel(Ljava
/net/URI;)Lorg/activeio/AsynchChannelServer;

See the comments above from May 15 for more background on what is the true underlying problem,
which is that there's a compile/runtime mismatch between the versions of activeio used by
activemq in geronimo.  Applying the patch I attached to this JIRA addressed the original problem
but not the version mismatch problem.   I think Hiram was looking into that problem when he
moved the activemq gbean src into Geronimo's SVN but maybe he was only working on trunk (?)



> Cannot add a new connector using ActiveMQManagerGBean
> -----------------------------------------------------
>
>                 Key: GERONIMO-1906
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1906
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: ActiveMQ
>    Affects Versions: 1.1
>         Environment: Geronimo 1.1 build, rev 396619;  activemq_version=3.2.4-SNAPSHOT
>            Reporter: Paul McMahan
>         Assigned To: Paul McMahan
>            Priority: Critical
>             Fix For: 1.1.1
>
>         Attachments: ACTIVEMQ-gbeaninfo.diff
>
>
> Calling this API:
> myJMSManager.addConnector( myJMSBroker, name, protocol, host, port );
> Produces the following ST:
> java.lang.AssertionError: javax.management.MalformedObjectNameException: Invalid value:
geronimo/activemq-broker/1.1-SNAPSHOT/car?ServiceModule=geronimo/activemq-broker/1.1-SNAPSHOT/car,j2eeType=JMSServer,name=ActiveMQ.activeio.0.0.0.0.61616-test
> 	at org.apache.geronimo.kernel.Jsr77Naming.createObjectName(Jsr77Naming.java:98)
> 	at org.apache.geronimo.kernel.Jsr77Naming.createChildName(Jsr77Naming.java:66)
> 	at org.apache.geronimo.kernel.Jsr77Naming.createChildName(Jsr77Naming.java:54)
> 	at org.activemq.gbean.management.ActiveMQManagerGBean.addConnector(ActiveMQManagerGBean.java:179)
> 	at org.activemq.gbean.management.ActiveMQManagerGBean$$FastClassByCGLIB$$a78b116e.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
> 	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.activemq.gbean.ActiveMQManager$$EnhancerByCGLIB$$2bdd185c.addConnector(<generated>)
> 	at org.apache.geronimo.console.util.PortletManager.createJMSConnector(PortletManager.java:274)
> 	at org.apache.geronimo.console.jmsmanager.server.JMSConnectorPortlet.processAction(JMSConnectorPortlet.java:80)
> 	at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229)
> 	at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> 	at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
> 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
> 	at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
> 	at org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:68)
> 	at org.apache.pluto.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:164)
> 	at org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction(PortletContainerWrapperImpl.java:82)
> 	at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 	at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:52)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:336)
> 	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	at java.lang.Thread.run(Thread.java:534)
> Caused by: javax.management.MalformedObjectNameException: Invalid value: geronimo/activemq-broker/1.1-SNAPSHOT/car?ServiceModule=geronimo/activemq-broker/1.1-SNAPSHOT/car,j2eeType=JMSServer,name=ActiveMQ.activeio.0.0.0.0.61616-test
> 	at javax.management.ObjectName.<init>(ObjectName.java:94)
> 	at javax.management.ObjectName.getInstance(ObjectName.java:266)
> 	at org.apache.geronimo.kernel.Jsr77Naming.createObjectName(Jsr77Naming.java:96)
> 	... 50 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message