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 > > >
