Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8DD0F963C for ; Tue, 9 Oct 2012 11:22:11 +0000 (UTC) Received: (qmail 84626 invoked by uid 500); 9 Oct 2012 11:22:10 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 84276 invoked by uid 500); 9 Oct 2012 11:22:06 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 84194 invoked by uid 99); 9 Oct 2012 11:22:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 11:22:02 +0000 Date: Tue, 9 Oct 2012 11:22:02 +0000 (UTC) From: "Alexey Markevich (JIRA)" To: dev@activemq.apache.org Message-ID: <163655803.13834.1349781722889.JavaMail.jiratomcat@arcas> In-Reply-To: <527549285.5417.1323777450634.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (AMQ-3633) [OSGi] activemq-web-console: exception after restart container MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Markevich closed AMQ-3633. --------------------------------- > [OSGi] activemq-web-console: exception after restart container > -------------------------------------------------------------- > > Key: AMQ-3633 > URL: https://issues.apache.org/jira/browse/AMQ-3633 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.5.0 > Environment: karaf 2.2.4 > Reporter: Alexey Markevich > Assignee: Claus Ibsen > Priority: Minor > Fix For: 5.7.0 > > > I installed activemq-web-console feature as described in [1]. > Afer restart container there is exception in console: > 2011-12-13 14:51:32,906 [.ops4j.pax.web)] INFO XBeanXmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/activemq.xml] > Exception in thread "JMX Connector Thread [service:jmx:rmi://localhost:44444/jndi/rmi://localhost:1099/karaf-root]" java.lang.RuntimeException: Could not start JMX connector server > at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:234) > Caused by: java.io.IOException: Cannot bind to URL [rmi://localhost:1099/karaf-root]: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in serve > r thread; nested exception is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: > java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub not found by org.apache.activemq.activemq-web-console [78] (no security manager: RMI class loader disabled)] > at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804) > at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417) > at org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:232) > Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: > java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub not found by org.apache.activemq.activemq-web-console [78] (no security manager: RMI class loader disabled)] > at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126) > at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208) > at javax.naming.InitialContext.bind(InitialContext.java:400) > at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625) > at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412) > ... 1 more > Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: > java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub not found by org.apache.activemq.activemq-web-console [78] (no security manager: RMI class loader disabled) > at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:400) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:248) > 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:662) > 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:359) > at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source) > at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120) > ... 5 more > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: > java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub not found by org.apache.activemq.activemq-web-console [78] (no security manager: RMI class loader disabled) > at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) > at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:390) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:248) > 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:662) > Caused by: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub not found by org.apache.activemq.activemq-web-console [78] (no security manager: RMI class loader disabled) > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:373) > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:163) > at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) > at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) > at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197) > at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574) > at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) > at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) > ... 12 more > 1. http://activemq.apache.org/osgi-integration.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira