Hi,
You can also launch jconsole from shell (type jconsole), select the
james process and go to the MBeans tab. You will have the
org.apache.james node with all functions there.
For jManage, you need to add a "new application" and define as url
service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi
To access james jmx from java program, you can see example in the cli
module [1]
Tks,
- Eric
[1]
https://svn.apache.org/repos/asf/james/server/trunk/cli/src/main/java/org/apache/james/cli/probe/impl/JmxServerProbe.java
On 14/04/2011 15:56, Daniel Tan wrote:
hmmm....i got jmanage working but do not know how to add james into it.
no help from the manage page too. i am also trying to find out whether we can
write our own java program to interact with the user management tool like what
we are doing for telnet. any help?
i am very new to james and have try to read up the quickstart watever already
On 14-Apr-2011, at 6:27 PM, Daniel Tan wrote:
Ya how do u add users in version 3 as i only know how to add via telnet
Sent from my iPhone
On Apr 14, 2011, at 4:36 PM, Eric Charles<[email protected]> wrote:
Hi Daniel,
Which url / faq are you talking about?
For 2.3.2, I never tested with jmx.
For 3.0, it's documented on http://james.apache.org/server/3/manage.html
(forget the telnet section, it's no more available in the snapshot
distribution).
Tks,
- Eric
On 14/04/2011 10:11, Daniel Tan wrote:
How do u use remotemanager via jmx? I open jconsole n connect via the long url
provided in the faq but i do not see any admin ui
Sent from my iPhone
On Apr 14, 2011, at 11:39 AM, Eric Charles<[email protected]> wrote:
Glad it's working :)
Issue maybe be on telnet or james side, don't know...
Btw, we have dropped support of management via telnet in james 3.0 in favor of
jmx.
Tks for the report,
- Eric
On 13/04/2011 18:37, Donald Whytock wrote:
Okay, I got it working. I changed my putty setting from Telnet to
Raw. Apparently Telnet mode adds something to the beginning of the
line. Is this something in my settings, or something RemoteManager
should be filtering out?
Don
On Wed, Apr 13, 2011 at 11:09 AM, Donald Whytock<[email protected]> wrote:
No delays in response.
That "???? ????'??????fred" is exactly what appears when I enter
"fred" as the ID.
On Wed, Apr 13, 2011 at 11:06 AM, Eric Charles<[email protected]> wrote:
Strange.
There ">>>> Login failed for ???? ????'??????fred
" in your initial mail
...but the log talks about a "Read time out".
do you need to wait before having the "login failed..." response?
Did you replace the username with "???..." or does it really prints "???..."
(in this case, there is an encoding issue).
Tks,
- Eric
On 13/04/2011 17:02, Donald Whytock wrote:
I'll look into this. While I am...
This is a localhost connection. I appear to be able to connect, I do
get a login prompt. It just doesn't seem to be recognizing the ID.
Is the ID somehow tied to an IP address?
On Wed, Apr 13, 2011 at 10:48 AM, Eric Charles<[email protected]> wrote:
You seem to run ipv6 by default (see 0:0:0:0:0:0:0:1).
Maybe this confuse james 2.3.2 who is expecting ipv4 addresses ?
Can you try to add in host file a hostname that maps to a ipv4 address
and
bind to it?
Tks,
- Eric
On 13/04/2011 16:39, Donald Whytock wrote:
I'm using James 2.3.2.
I see an error in the remotemanager log...
08/04/11 13:23:24 ERROR remotemanager: Exception during connection
from Don-Laptop (0:0:0:0:0:0:0:1): Read timed out
I assume this comes from me killing the telnet connection. Other than
that, nothing notable in the logs.
On Sat, Apr 9, 2011 at 5:46 AM, Eric Charles<[email protected]> wrote:
Hi,
Are you using James 2.3 or 3 ?
Anything in the log files (Exception, warn message...)
Tks,
- Eric
On 8/04/2011 19:46, Donald Whytock wrote:
Hi all...
First-time James user, running into a problem with remotemanager. I'm
using the following in my config.xml:
<remotemanager enabled="true">
<port>4556</port>
<bind> </bind>
<handler>
<helloName autodetect="true">myMailServer</helloName>
<administrator_accounts>
<account login="fred" password="test"/>
</administrator_accounts>
<connectiontimeout>60000</connectiontimeout>
</handler>
</remotemanager>
When I try to log in I see
Login failed for ???? ????'??????fred
I tried with the original root/root, I tried using
administrator_account instead of account. The port number is
different only to verify that the configuration was being read.
Suggestions, please?
Thanks...
Don
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]