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 17:25:10 GMT

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

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

I did a bit more tests and here are some results which might help:

1. JMX port set to 9090 in cassandra-env.sh
2. On the machine where another service running on 8080 we get exception above
3. On the machine where no service running on 8080 we don't get any exception and MX4J runs
on port 9090

Seems like something checks for port 8080 even though it is configured to run on 9090.

> 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
>            Priority: Minor
>             Fix For: 0.7.0
>
>
> 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