cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rustam Aliyev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1832) mx4j does not load
Date Tue, 07 Dec 2010 22:03:13 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969035#action_12969035
] 

Rustam Aliyev commented on CASSANDRA-1832:
------------------------------------------

You right Ran, I checked this machine again and I have another service listening on 8081.
For some reason I thought that MX4J uses same port.

With config options we can close it now.

> mx4j does not load
> ------------------
>
>                 Key: CASSANDRA-1832
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1832
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0 rc 1
>         Environment: CentOS 5.5
>            Reporter: Rustam Aliyev
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: CASSANDRA-1832.patch
>
>
> Adding mx4j-tools.jar (latest) to the library causes following exception:
> {code}
>  WARN 20:22:25,123 Could not start register mbean in JMX
> java.lang.reflect.InvocationTargetException
> 	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.apache.cassandra.utils.Mx4jTool.maybeLoad(Mx4jTool.java:67)
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:169)
> 	at org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:55)
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:216)
> 	at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:134)
> Caused by: java.net.BindException: Address already in use
> 	at java.net.PlainSocketImpl.socketBind(Native Method)
> 	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
> 	at java.net.ServerSocket.bind(ServerSocket.java:319)
> 	at java.net.ServerSocket.<init>(ServerSocket.java:185)
> 	at mx4j.tools.adaptor.PlainAdaptorServerSocketFactory.createServerSocket(PlainAdaptorServerSocketFactory.java:24)
> 	at mx4j.tools.adaptor.http.HttpAdaptor.createServerSocket(HttpAdaptor.java:672)
> 	at mx4j.tools.adaptor.http.HttpAdaptor.start(HttpAdaptor.java:478)
> 	... 9 more
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message