You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Emma Sesmero <em...@gmail.com> on 2013/09/20 22:11:02 UTC
Web Administration Console
Hello all,
I am finishing the web administration console, so here I send you the link
[1] to the project just in case you want to take a look.
The current version is missing the mappings, since I forgot about them in
the original planing, and it still have a couple of details to refine, but
I am currently working on them and I will update the war as soon as they
are done.
Feedback is welcome.
Thank you.
Emma
[1] https://code.google.com/a/apache-extras.org/p/bond/
Re: Web Administration Console
Posted by Manuel Carrasco Moñino <ma...@apache.org>.
The reason why it is mandatory that bond is run in the same machine than
james, is because we need to access to the folder with the conf files.
I agree that it would be nice a parameter to run it from a different
server, we should disable the file configuration tab in the UI so as the
user could use bond to configure the jmx options: users, domains, mappings,
and to monitor the james instance, which actually should be the most
frequent actions an administrator do.
I think in a future we can also embed bond in the server bootstrap process
so as it starts listening in a http port for administrating the server.
Thanks for your feedback
- Manolo
On Mon, Sep 23, 2013 at 6:55 PM, Eric Charles <er...@apache.org> wrote:
> Hi,
>
> mvn install -DskipTests is ok
>
> For the tests with a separate james server running, I've got
> java.lang.Exception: Domain does not exist in DomainList
> at org.apache.james.user.lib.**UsersRepositoryManagement.**addUser(**
> UsersRepositoryManagement.**java:68)
>
> prolly due to the fact I am runnign with trunk which uses *.xml, not
> *.conf for configuration files.
>
> btw, a possible enhancement would be to launch an embedded james server
> rather than relying on a separate one.
>
> I have tested the war:
> - It should propose a form to define the server to connect to if localhost
> has no running server.
> - Users and Domains list creation seems ok.
> - Clicking on the Configure tab, I've got Server Error: Unable to find
> james template file in classpath: dnsservice-template.conf. Yes I am
> running trunk with *.xml.
>
> Thx, Eric
>
>
>
> On 23/09/13 12:26, Emma Sesmero wrote:
>
>> I have updated again the code and the war. This time it shows the
>> exception
>> when james is not running, but it allows to build the application.
>>
>>
>> 2013/9/23 Manuel Carrasco Moñino <ma...@apache.org>
>>
>> You can build 'bond' disabling tests (mvn clean package
>>> -Dmaven.test.skiip).
>>> Some of the tests are integration testing the jmx dialog with james.
>>>
>>> BTW: Emma those test should print a warning if James is not running,
>>> instead of make the build fail.
>>>
>>>
>>> - Manolo
>>>
>>>
>>> On Mon, Sep 23, 2013 at 1:36 AM, Emma Sesmero <em...@gmail.com>
>>> wrote:
>>>
>>> Hi all,
>>>>
>>>> I have just updated the code and the war with the mapping included.
>>>>
>>>> Ioan, you should have James running. That class is using james-cli to
>>>> connect to James, could you try to run james-cli in the console to see
>>>> if
>>>> you get the same error or not?
>>>>
>>>>
>>>> 2013/9/23 Ioan Eugen Stan <st...@gmail.com>
>>>>
>>>> Hello Emma,
>>>>>
>>>>> Great job. I tried building it but got exceptions while running tests.
>>>>> Any idea why? Seems to me it's a config issue regarding RMI / JMX
>>>>> .Should I have something running?
>>>>>
>>>>> I've attached the surefire report. I've included your email address in
>>>>> case it gets filtered.
>>>>>
>>>>>
>>>>>
>>>>>
>>>> ------------------------------**------------------------------**
>>> -------------------
>>>
>>>> Test set: org.apache.james.bond.server.**JamesConnectorTest
>>>>>
>>>>>
>>>>>
>>>> ------------------------------**------------------------------**
>>> -------------------
>>>
>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.206
>>>>> sec <<< FAILURE!
>>>>> testAddDeleteDomain(org.**apache.james.bond.server.**
>>>>> JamesConnectorTest)
>>>>> Time elapsed: 0.099 sec <<< ERROR!
>>>>> java.io.IOException: Failed to retrieve RMIServer stub:
>>>>> javax.naming.**ServiceUnavailableException [Root exception is
>>>>> java.rmi.ConnectException: Connection refu
>>>>> sed to host: localhost; nested exception is:
>>>>> java.net.ConnectException: Connection refused]
>>>>> at
>>>>> javax.management.remote.rmi.**RMIConnector.connect(**
>>>>> RMIConnector.java:358)
>>>>> at
>>>>>
>>>>>
>>>> javax.management.remote.**JMXConnectorFactory.connect(**
>>> JMXConnectorFactory.java:268)
>>>
>>>> at
>>>>>
>>>>>
>>>> org.apache.james.cli.probe.**impl.JmxServerProbe.connect(**
>>> JmxServerProbe.java:93)
>>>
>>>> at
>>>>>
>>>>>
>>>> org.apache.james.cli.probe.**impl.JmxServerProbe.<init>(**
>>> JmxServerProbe.java:82)
>>>
>>>> at
>>>>>
>>>>>
>>>> org.apache.james.bond.server.**JamesConnector.getServerProbe(**
>>> JamesConnector.java:49)
>>>
>>>> at
>>>>>
>>>>>
>>>> org.apache.james.bond.server.**JamesConnector.listDomains(**
>>> JamesConnector.java:121)
>>>
>>>> at
>>>>>
>>>>>
>>>> org.apache.james.bond.server.**JamesConnectorTest.**
>>> testAddDeleteDomain(**JamesConnectorTest.java:51)
>>>
>>>> at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native
>>>>> Method)
>>>>> at
>>>>>
>>>>>
>>>> sun.reflect.**NativeMethodAccessorImpl.**invoke(**
>>> NativeMethodAccessorImpl.java:**57)
>>>
>>>> at
>>>>>
>>>>>
>>>> sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>>> DelegatingMethodAccessorImpl.**java:43)
>>>
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Sep 22, 2013 at 7:18 PM, Eric Charles <er...@apache.org> wrote:
>>>>>
>>>>>> I took the code and will give feedback in the coming days.
>>>>>>
>>>>>>
>>>>>> On 20/09/13 22:11, Emma Sesmero wrote:
>>>>>>
>>>>>>>
>>>>>>> Hello all,
>>>>>>>
>>>>>>> I am finishing the web administration console, so here I send you
>>>>>>>
>>>>>> the
>>>
>>>> link
>>>>>
>>>>>> [1] to the project just in case you want to take a look.
>>>>>>>
>>>>>>> The current version is missing the mappings, since I forgot about
>>>>>>>
>>>>>> them
>>>
>>>> in
>>>>>
>>>>>> the original planing, and it still have a couple of details to
>>>>>>>
>>>>>> refine,
>>>
>>>> but
>>>>>
>>>>>> I am currently working on them and I will update the war as soon as
>>>>>>>
>>>>>> they
>>>>
>>>>> are done.
>>>>>>>
>>>>>>> Feedback is welcome.
>>>>>>> Thank you.
>>>>>>>
>>>>>>> Emma
>>>>>>>
>>>>>>>
>>>>>>> [1] https://code.google.com/a/**apache-extras.org/p/bond/<https://code.google.com/a/apache-extras.org/p/bond/>
>>>>>>>
>>>>>>>
>>>>>> ------------------------------**------------------------------**
>>>>>> ---------
>>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>>>>>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Ioan Eugen Stan
>>>>> 0720 898 747
>>>>>
>>>>>
>>>>
>>>
>>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>
>
Re: Web Administration Console
Posted by Eric Charles <er...@apache.org>.
Hi,
mvn install -DskipTests is ok
For the tests with a separate james server running, I've got
java.lang.Exception: Domain does not exist in DomainList
at
org.apache.james.user.lib.UsersRepositoryManagement.addUser(UsersRepositoryManagement.java:68)
prolly due to the fact I am runnign with trunk which uses *.xml, not
*.conf for configuration files.
btw, a possible enhancement would be to launch an embedded james server
rather than relying on a separate one.
I have tested the war:
- It should propose a form to define the server to connect to if
localhost has no running server.
- Users and Domains list creation seems ok.
- Clicking on the Configure tab, I've got Server Error: Unable to find
james template file in classpath: dnsservice-template.conf. Yes I am
running trunk with *.xml.
Thx, Eric
On 23/09/13 12:26, Emma Sesmero wrote:
> I have updated again the code and the war. This time it shows the exception
> when james is not running, but it allows to build the application.
>
>
> 2013/9/23 Manuel Carrasco Moñino <ma...@apache.org>
>
>> You can build 'bond' disabling tests (mvn clean package
>> -Dmaven.test.skiip).
>> Some of the tests are integration testing the jmx dialog with james.
>>
>> BTW: Emma those test should print a warning if James is not running,
>> instead of make the build fail.
>>
>>
>> - Manolo
>>
>>
>> On Mon, Sep 23, 2013 at 1:36 AM, Emma Sesmero <em...@gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I have just updated the code and the war with the mapping included.
>>>
>>> Ioan, you should have James running. That class is using james-cli to
>>> connect to James, could you try to run james-cli in the console to see if
>>> you get the same error or not?
>>>
>>>
>>> 2013/9/23 Ioan Eugen Stan <st...@gmail.com>
>>>
>>>> Hello Emma,
>>>>
>>>> Great job. I tried building it but got exceptions while running tests.
>>>> Any idea why? Seems to me it's a config issue regarding RMI / JMX
>>>> .Should I have something running?
>>>>
>>>> I've attached the surefire report. I've included your email address in
>>>> case it gets filtered.
>>>>
>>>>
>>>>
>>>
>> -------------------------------------------------------------------------------
>>>> Test set: org.apache.james.bond.server.JamesConnectorTest
>>>>
>>>>
>>>
>> -------------------------------------------------------------------------------
>>>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.206
>>>> sec <<< FAILURE!
>>>> testAddDeleteDomain(org.apache.james.bond.server.JamesConnectorTest)
>>>> Time elapsed: 0.099 sec <<< ERROR!
>>>> java.io.IOException: Failed to retrieve RMIServer stub:
>>>> javax.naming.ServiceUnavailableException [Root exception is
>>>> java.rmi.ConnectException: Connection refu
>>>> sed to host: localhost; nested exception is:
>>>> java.net.ConnectException: Connection refused]
>>>> at
>>>> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:358)
>>>> at
>>>>
>>>
>> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
>>>> at
>>>>
>>>
>> org.apache.james.cli.probe.impl.JmxServerProbe.connect(JmxServerProbe.java:93)
>>>> at
>>>>
>>>
>> org.apache.james.cli.probe.impl.JmxServerProbe.<init>(JmxServerProbe.java:82)
>>>> at
>>>>
>>>
>> org.apache.james.bond.server.JamesConnector.getServerProbe(JamesConnector.java:49)
>>>> at
>>>>
>>>
>> org.apache.james.bond.server.JamesConnector.listDomains(JamesConnector.java:121)
>>>> at
>>>>
>>>
>> org.apache.james.bond.server.JamesConnectorTest.testAddDeleteDomain(JamesConnectorTest.java:51)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>>
>>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>> at
>>>>
>>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>
>>>>
>>>>
>>>>
>>>> On Sun, Sep 22, 2013 at 7:18 PM, Eric Charles <er...@apache.org> wrote:
>>>>> I took the code and will give feedback in the coming days.
>>>>>
>>>>>
>>>>> On 20/09/13 22:11, Emma Sesmero wrote:
>>>>>>
>>>>>> Hello all,
>>>>>>
>>>>>> I am finishing the web administration console, so here I send you
>> the
>>>> link
>>>>>> [1] to the project just in case you want to take a look.
>>>>>>
>>>>>> The current version is missing the mappings, since I forgot about
>> them
>>>> in
>>>>>> the original planing, and it still have a couple of details to
>> refine,
>>>> but
>>>>>> I am currently working on them and I will update the war as soon as
>>> they
>>>>>> are done.
>>>>>>
>>>>>> Feedback is welcome.
>>>>>> Thank you.
>>>>>>
>>>>>> Emma
>>>>>>
>>>>>>
>>>>>> [1] https://code.google.com/a/apache-extras.org/p/bond/
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Ioan Eugen Stan
>>>> 0720 898 747
>>>>
>>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: Web Administration Console
Posted by Emma Sesmero <em...@gmail.com>.
I have updated again the code and the war. This time it shows the exception
when james is not running, but it allows to build the application.
2013/9/23 Manuel Carrasco Moñino <ma...@apache.org>
> You can build 'bond' disabling tests (mvn clean package
> -Dmaven.test.skiip).
> Some of the tests are integration testing the jmx dialog with james.
>
> BTW: Emma those test should print a warning if James is not running,
> instead of make the build fail.
>
>
> - Manolo
>
>
> On Mon, Sep 23, 2013 at 1:36 AM, Emma Sesmero <em...@gmail.com>
> wrote:
>
> > Hi all,
> >
> > I have just updated the code and the war with the mapping included.
> >
> > Ioan, you should have James running. That class is using james-cli to
> > connect to James, could you try to run james-cli in the console to see if
> > you get the same error or not?
> >
> >
> > 2013/9/23 Ioan Eugen Stan <st...@gmail.com>
> >
> > > Hello Emma,
> > >
> > > Great job. I tried building it but got exceptions while running tests.
> > > Any idea why? Seems to me it's a config issue regarding RMI / JMX
> > > .Should I have something running?
> > >
> > > I've attached the surefire report. I've included your email address in
> > > case it gets filtered.
> > >
> > >
> > >
> >
> -------------------------------------------------------------------------------
> > > Test set: org.apache.james.bond.server.JamesConnectorTest
> > >
> > >
> >
> -------------------------------------------------------------------------------
> > > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.206
> > > sec <<< FAILURE!
> > > testAddDeleteDomain(org.apache.james.bond.server.JamesConnectorTest)
> > > Time elapsed: 0.099 sec <<< ERROR!
> > > java.io.IOException: Failed to retrieve RMIServer stub:
> > > javax.naming.ServiceUnavailableException [Root exception is
> > > java.rmi.ConnectException: Connection refu
> > > sed to host: localhost; nested exception is:
> > > java.net.ConnectException: Connection refused]
> > > at
> > > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:358)
> > > at
> > >
> >
> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
> > > at
> > >
> >
> org.apache.james.cli.probe.impl.JmxServerProbe.connect(JmxServerProbe.java:93)
> > > at
> > >
> >
> org.apache.james.cli.probe.impl.JmxServerProbe.<init>(JmxServerProbe.java:82)
> > > at
> > >
> >
> org.apache.james.bond.server.JamesConnector.getServerProbe(JamesConnector.java:49)
> > > at
> > >
> >
> org.apache.james.bond.server.JamesConnector.listDomains(JamesConnector.java:121)
> > > at
> > >
> >
> org.apache.james.bond.server.JamesConnectorTest.testAddDeleteDomain(JamesConnectorTest.java:51)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > > at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > >
> > >
> > >
> > >
> > > On Sun, Sep 22, 2013 at 7:18 PM, Eric Charles <er...@apache.org> wrote:
> > > > I took the code and will give feedback in the coming days.
> > > >
> > > >
> > > > On 20/09/13 22:11, Emma Sesmero wrote:
> > > >>
> > > >> Hello all,
> > > >>
> > > >> I am finishing the web administration console, so here I send you
> the
> > > link
> > > >> [1] to the project just in case you want to take a look.
> > > >>
> > > >> The current version is missing the mappings, since I forgot about
> them
> > > in
> > > >> the original planing, and it still have a couple of details to
> refine,
> > > but
> > > >> I am currently working on them and I will update the war as soon as
> > they
> > > >> are done.
> > > >>
> > > >> Feedback is welcome.
> > > >> Thank you.
> > > >>
> > > >> Emma
> > > >>
> > > >>
> > > >> [1] https://code.google.com/a/apache-extras.org/p/bond/
> > > >>
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> > > > For additional commands, e-mail: server-dev-help@james.apache.org
> > > >
> > >
> > >
> > >
> > > --
> > > Ioan Eugen Stan
> > > 0720 898 747
> > >
> >
>
Re: Web Administration Console
Posted by Manuel Carrasco Moñino <ma...@apache.org>.
You can build 'bond' disabling tests (mvn clean package -Dmaven.test.skiip).
Some of the tests are integration testing the jmx dialog with james.
BTW: Emma those test should print a warning if James is not running,
instead of make the build fail.
- Manolo
On Mon, Sep 23, 2013 at 1:36 AM, Emma Sesmero <em...@gmail.com> wrote:
> Hi all,
>
> I have just updated the code and the war with the mapping included.
>
> Ioan, you should have James running. That class is using james-cli to
> connect to James, could you try to run james-cli in the console to see if
> you get the same error or not?
>
>
> 2013/9/23 Ioan Eugen Stan <st...@gmail.com>
>
> > Hello Emma,
> >
> > Great job. I tried building it but got exceptions while running tests.
> > Any idea why? Seems to me it's a config issue regarding RMI / JMX
> > .Should I have something running?
> >
> > I've attached the surefire report. I've included your email address in
> > case it gets filtered.
> >
> >
> >
> -------------------------------------------------------------------------------
> > Test set: org.apache.james.bond.server.JamesConnectorTest
> >
> >
> -------------------------------------------------------------------------------
> > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.206
> > sec <<< FAILURE!
> > testAddDeleteDomain(org.apache.james.bond.server.JamesConnectorTest)
> > Time elapsed: 0.099 sec <<< ERROR!
> > java.io.IOException: Failed to retrieve RMIServer stub:
> > javax.naming.ServiceUnavailableException [Root exception is
> > java.rmi.ConnectException: Connection refu
> > sed to host: localhost; nested exception is:
> > java.net.ConnectException: Connection refused]
> > at
> > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:358)
> > at
> >
> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
> > at
> >
> org.apache.james.cli.probe.impl.JmxServerProbe.connect(JmxServerProbe.java:93)
> > at
> >
> org.apache.james.cli.probe.impl.JmxServerProbe.<init>(JmxServerProbe.java:82)
> > at
> >
> org.apache.james.bond.server.JamesConnector.getServerProbe(JamesConnector.java:49)
> > at
> >
> org.apache.james.bond.server.JamesConnector.listDomains(JamesConnector.java:121)
> > at
> >
> org.apache.james.bond.server.JamesConnectorTest.testAddDeleteDomain(JamesConnectorTest.java:51)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> >
> >
> >
> > On Sun, Sep 22, 2013 at 7:18 PM, Eric Charles <er...@apache.org> wrote:
> > > I took the code and will give feedback in the coming days.
> > >
> > >
> > > On 20/09/13 22:11, Emma Sesmero wrote:
> > >>
> > >> Hello all,
> > >>
> > >> I am finishing the web administration console, so here I send you the
> > link
> > >> [1] to the project just in case you want to take a look.
> > >>
> > >> The current version is missing the mappings, since I forgot about them
> > in
> > >> the original planing, and it still have a couple of details to refine,
> > but
> > >> I am currently working on them and I will update the war as soon as
> they
> > >> are done.
> > >>
> > >> Feedback is welcome.
> > >> Thank you.
> > >>
> > >> Emma
> > >>
> > >>
> > >> [1] https://code.google.com/a/apache-extras.org/p/bond/
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> > > For additional commands, e-mail: server-dev-help@james.apache.org
> > >
> >
> >
> >
> > --
> > Ioan Eugen Stan
> > 0720 898 747
> >
>
Re: Web Administration Console
Posted by Emma Sesmero <em...@gmail.com>.
Hi all,
I have just updated the code and the war with the mapping included.
Ioan, you should have James running. That class is using james-cli to
connect to James, could you try to run james-cli in the console to see if
you get the same error or not?
2013/9/23 Ioan Eugen Stan <st...@gmail.com>
> Hello Emma,
>
> Great job. I tried building it but got exceptions while running tests.
> Any idea why? Seems to me it's a config issue regarding RMI / JMX
> .Should I have something running?
>
> I've attached the surefire report. I've included your email address in
> case it gets filtered.
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.james.bond.server.JamesConnectorTest
>
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.206
> sec <<< FAILURE!
> testAddDeleteDomain(org.apache.james.bond.server.JamesConnectorTest)
> Time elapsed: 0.099 sec <<< ERROR!
> java.io.IOException: Failed to retrieve RMIServer stub:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refu
> sed to host: localhost; nested exception is:
> java.net.ConnectException: Connection refused]
> at
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:358)
> at
> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
> at
> org.apache.james.cli.probe.impl.JmxServerProbe.connect(JmxServerProbe.java:93)
> at
> org.apache.james.cli.probe.impl.JmxServerProbe.<init>(JmxServerProbe.java:82)
> at
> org.apache.james.bond.server.JamesConnector.getServerProbe(JamesConnector.java:49)
> at
> org.apache.james.bond.server.JamesConnector.listDomains(JamesConnector.java:121)
> at
> org.apache.james.bond.server.JamesConnectorTest.testAddDeleteDomain(JamesConnectorTest.java:51)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>
>
>
> On Sun, Sep 22, 2013 at 7:18 PM, Eric Charles <er...@apache.org> wrote:
> > I took the code and will give feedback in the coming days.
> >
> >
> > On 20/09/13 22:11, Emma Sesmero wrote:
> >>
> >> Hello all,
> >>
> >> I am finishing the web administration console, so here I send you the
> link
> >> [1] to the project just in case you want to take a look.
> >>
> >> The current version is missing the mappings, since I forgot about them
> in
> >> the original planing, and it still have a couple of details to refine,
> but
> >> I am currently working on them and I will update the war as soon as they
> >> are done.
> >>
> >> Feedback is welcome.
> >> Thank you.
> >>
> >> Emma
> >>
> >>
> >> [1] https://code.google.com/a/apache-extras.org/p/bond/
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> > For additional commands, e-mail: server-dev-help@james.apache.org
> >
>
>
>
> --
> Ioan Eugen Stan
> 0720 898 747
>
Re: Web Administration Console
Posted by Ioan Eugen Stan <st...@gmail.com>.
Hello Emma,
Great job. I tried building it but got exceptions while running tests.
Any idea why? Seems to me it's a config issue regarding RMI / JMX
.Should I have something running?
I've attached the surefire report. I've included your email address in
case it gets filtered.
-------------------------------------------------------------------------------
Test set: org.apache.james.bond.server.JamesConnectorTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.206
sec <<< FAILURE!
testAddDeleteDomain(org.apache.james.bond.server.JamesConnectorTest)
Time elapsed: 0.099 sec <<< ERROR!
java.io.IOException: Failed to retrieve RMIServer stub:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refu
sed to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:358)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
at org.apache.james.cli.probe.impl.JmxServerProbe.connect(JmxServerProbe.java:93)
at org.apache.james.cli.probe.impl.JmxServerProbe.<init>(JmxServerProbe.java:82)
at org.apache.james.bond.server.JamesConnector.getServerProbe(JamesConnector.java:49)
at org.apache.james.bond.server.JamesConnector.listDomains(JamesConnector.java:121)
at org.apache.james.bond.server.JamesConnectorTest.testAddDeleteDomain(JamesConnectorTest.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
On Sun, Sep 22, 2013 at 7:18 PM, Eric Charles <er...@apache.org> wrote:
> I took the code and will give feedback in the coming days.
>
>
> On 20/09/13 22:11, Emma Sesmero wrote:
>>
>> Hello all,
>>
>> I am finishing the web administration console, so here I send you the link
>> [1] to the project just in case you want to take a look.
>>
>> The current version is missing the mappings, since I forgot about them in
>> the original planing, and it still have a couple of details to refine, but
>> I am currently working on them and I will update the war as soon as they
>> are done.
>>
>> Feedback is welcome.
>> Thank you.
>>
>> Emma
>>
>>
>> [1] https://code.google.com/a/apache-extras.org/p/bond/
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
--
Ioan Eugen Stan
0720 898 747
Re: Web Administration Console
Posted by Eric Charles <er...@apache.org>.
I took the code and will give feedback in the coming days.
On 20/09/13 22:11, Emma Sesmero wrote:
> Hello all,
>
> I am finishing the web administration console, so here I send you the link
> [1] to the project just in case you want to take a look.
>
> The current version is missing the mappings, since I forgot about them in
> the original planing, and it still have a couple of details to refine, but
> I am currently working on them and I will update the war as soon as they
> are done.
>
> Feedback is welcome.
> Thank you.
>
> Emma
>
>
> [1] https://code.google.com/a/apache-extras.org/p/bond/
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org