Damian Krzeminski wrote:
Bogdan Brezoi wrote:
Hi,

Regarding this issue, i have a patch with the client-side prepared. I still have to write some more tests ( test for the web service - in ruby i think ) before I'll put the patch but for now, on my machine , the precommit operation fails at integration tests because of the jain-sip related code i suppose.

Which test fails? Existing one or the one that you just added?
Existing ones. Now it fails on SipxProxyConfigurationTest. Here's the stack trace, maybe it'll give some clues :

[concat] testcase: SipxProxyConfigurationTest
[concat] -------------------------------------------------------------------------------- [concat] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sip' defined in file [/root/work/sipx/sipXconfig/neoconf/src/org/sipfoundry/sipxconfig/sip/sip.beans.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Cannot initialize SIP stack; nested exception is javax.sip.InvalidArgumentException: Address already in use [concat] Caused by: org.springframework.beans.factory.BeanInitializationException: Cannot initialize SIP stack; nested exception is javax.sip.InvalidArgumentException: Address already in use [concat] Caused by: javax.sip.InvalidArgumentException: Address already in use [concat] at gov.nist.javax.sip.SipStackImpl.createListeningPoint(SipStackImpl.java:775) [concat] at org.sipfoundry.sipxconfig.sip.SipStackBean.afterPropertiesSet(SipStackBean.java:102) [concat] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1175) [concat] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1145) [concat] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427) [concat] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) [concat] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144) [concat] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) [concat] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) [concat] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:279) [concat] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:360) [concat] at org.springframework.test.AbstractSingleSpringContextTests.createApplicationContext(AbstractSingleSpringContextTests.java:199) [concat] at org.springframework.test.AbstractSingleSpringContextTests.loadContextLocations(AbstractSingleSpringContextTests.java:179) [concat] at org.springframework.test.AbstractSingleSpringContextTests.loadContext(AbstractSingleSpringContextTests.java:158) [concat] at org.springframework.test.AbstractSpringContextTests.getContext(AbstractSpringContextTests.java:105) [concat] at org.springframework.test.AbstractSingleSpringContextTests.setUp(AbstractSingleSpringContextTests.java:87) [concat] at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) [concat] at org.sipfoundry.sipxconfig.IntegrationTestCase.runBare(IntegrationTestCase.java:52)
[concat] Caused by: java.io.IOException: Address already in use
[concat] at gov.nist.javax.sip.stack.UDPMessageProcessor.<init>(UDPMessageProcessor.java:141) [concat] at gov.nist.javax.sip.stack.SIPTransactionStack.createMessageProcessor(SIPTransactionStack.java:1838) [concat] at gov.nist.javax.sip.SipStackImpl.createListeningPoint(SipStackImpl.java:756)
[concat]     ... 27 more

Any idea why it fails? Thanks in advance,
Bogdan
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to