[ 
https://issues.apache.org/jira/browse/JAMES-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16843706#comment-16843706
 ] 

Hans müller commented on JAMES-2739:
------------------------------------

I 'm not aware about Spring or Guice, but we decided to use the Spring version.

It's the 1st item in the download list and I could not find a hint, that it is 
outdated or anything like that.

How can the Spring version then be administrated? There seems to be only a 
limited command line client and the jmx management.

There are two similar documentation pages, one states, that jmx is 
experimental, on the other page, there is no hint.

http://james.apache.org/server/3/manage.html

 

I can provide a stack trace for the bug

 

Caused by: javax.management.openmbean.OpenDataException: Argument value of 
wrong type for item nextDelivery: value 
Optional[2019-05-20T06:52:50.305Z[Etc/UTC]], type 
javax.management.openmbean.SimpleType(name=java.lang.Long)
    at 
javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:234)
    at 
javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:176)
    at 
org.apache.james.queue.library.MailQueueManagement.browse(MailQueueManagement.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
    at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
    at 
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
    at 
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
    at 
com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
    at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
    at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
    at javax.management.StandardMBean.invoke(StandardMBean.java:405)
    at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
    at 
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
    at 
javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
    at 
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
    at 
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
    at 
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
    at sun.reflect.GeneratedMethodAccessor556.invoke(Unknown Source)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
    at sun.rmi.transport.Transport$1.run(Transport.java:200)
    at sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
 
 

> Can not browse message queue via jmx connection
> -----------------------------------------------
>
>                 Key: JAMES-2739
>                 URL: https://issues.apache.org/jira/browse/JAMES-2739
>             Project: James Server
>          Issue Type: Bug
>          Components: JMX
>            Reporter: Hans müller
>            Priority: Major
>         Attachments: image-2019-04-19-16-58-30-066.png, 
> image-2019-04-19-16-59-46-136.png
>
>
>  Connect to james via jmx client, e.g. jconsole
>  !image-2019-04-19-16-59-46-136.png! 
> browse the outgoing queue (if it has content).
> it shows something like 
> !image-2019-04-19-16-58-30-066.png!
> Same with other clients



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to