karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dealbitte <anand.boc...@gmail.com>
Subject Run time exception with activemq related feature installation with karaf 2.3.0
Date Mon, 22 Oct 2012 13:17:10 GMT
Hi,

I downloaded the latest Karaf (2.3.0) and updated the file
'org.apache.karaf.features.cfg' under 'etc' directory as follows to install
activemq related features at bootup

*****
featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/2.3.0/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/2.3.0/xml/features,mvn:org.apache.activemq/activemq-karaf/5.7.0/xml/features

featuresBoot=config,ssh,management,kar,war,webconsole,activemq,activemq-web-console

*****

I started karaf, and then after 3-5 minutes, the 'list' command displays the
activemq installation (see below)

*****
karaf@root> list
START LEVEL 100 , List Threshold: 50
   ID   State         Blueprint      Level  Name
[  91] [Active     ] [            ] [   50] geronimo-annotation_1.0_spec
(1.1.1)
[  92] [Active     ] [            ] [   50] geronimo-jms_1.1_spec (1.1.1)
[  93] [Active     ] [            ] [   50]
geronimo-j2ee-management_1.1_spec (1.0.1)
[  94] [Active     ] [            ] [   50] Commons Pool (1.6.0)
[  95] [Active     ] [            ] [   50] Commons Collections (3.2.1)
[  96] [Active     ] [            ] [   50] Commons Lang (2.6)
[  97] [Active     ] [            ] [   50] Commons Codec (1.4)
[  98] [Active     ] [            ] [   50] Apache ServiceMix :: Bundles ::
velocity (1.7.0.4)
[  99] [Active     ] [            ] [   50] Apache ServiceMix Bundles:
oro-2.0.8 (2.0.8.3)
[ 100] [Active     ] [            ] [   50] Apache ServiceMix :: Bundles ::
jasypt (1.9.0.1)
[ 101] [Active     ] [            ] [   50] Apache ServiceMix :: Specs ::
Stax API 1.0 (1.9.0)
[ 102] [Active     ] [            ] [   50] Apache ServiceMix :: Bundles ::
xpp3 (1.1.0.4c_5)
[ 103] [Active     ] [            ] [   50] Joda-Time (1.6.2)
[ 104] [Active     ] [            ] [   50] Apache ServiceMix :: Bundles ::
jdom (1.1.0.4)
[ 105] [Active     ] [            ] [   50] Apache ServiceMix Bundles:
dom4j-1.6.1 (1.6.1.2)
[ 106] [Active     ] [            ] [   50] Apache ServiceMix Bundles:
xstream-1.3 (1.3.0.3)
[ 107] [Active     ] [            ] [   50] Apache Aries Transaction Manager
(0.3.0)
[ 108] [Active     ] [            ] [   50] activemq-core (5.7.0)
[ 109] [Active     ] [            ] [   50] kahadb (5.7.0)
[ 110] [Active     ] [            ] [   50] activemq-console (5.7.0)
[ 111] [Active     ] [            ] [   50] activemq-ra (5.7.0)
[ 112] [Active     ] [            ] [   50] activemq-pool (5.7.0)
[ 113] [Active     ] [Created     ] [   50] activemq-karaf (5.7.0)
[ 114] [Active     ] [            ] [   50] activemq-web-console (5.7.0)

*****

I exited from karaf (Ctrl+D) and then launched karaf again (without making
any other changes). In few minutes, i get the following exception in
console. Is this a serious problem or am i doing something silly in the
configuration?

*****
D:\temp\apache-karaf-2.3.0>bin\karaf.bat
        __ __                  ____
       / //_/____ __________ _/ __/
      / ,<  / __ `/ ___/ __ `/ /_
     / /| |/ /_/ / /  / /_/ / __/
    /_/ |_|\__,_/_/   \__,_/_/

  Apache Karaf (2.3.0)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> Exception in thread "JMX Connector Thread
[service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]"
java.lang.RuntimeException: Could not start JMX connector server
        at
org.apache.karaf.management.ConnectorServerFactory$1.run(ConnectorServerFactory.java:245)
Caused by: java.io.IOException: Cannot bind to URL
[rmi://0.0.0.0:1099/karaf-root]: 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 [114] (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 [114] (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 [114] (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 [114] (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 [114] (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

*****



--
View this message in context: http://karaf.922171.n3.nabble.com/Run-time-exception-with-activemq-related-feature-installation-with-karaf-2-3-0-tp4026522.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Mime
View raw message