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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
--
Ioan Eugen Stan
0720 898 747
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]