You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2007/03/27 14:20:34 UTC
[jira] Resolved: (SM-899)
org.apache.servicemix.file.SpringComponentTest fails with
java.lang.IllegalStateException
[ https://issues.apache.org/activemq/browse/SM-899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SM-899.
--------------------------------
Resolution: Fixed
Assignee: Guillaume Nodet
My bad, this is a regression due to a change i made in addEndpoint yesterday :-(
Just removing the SU registration (which is now done in the addEndpoint method) works.
URL: http://svn.apache.org/viewvc?view=rev&rev=522883
> org.apache.servicemix.file.SpringComponentTest fails with java.lang.IllegalStateException
> -----------------------------------------------------------------------------------------
>
> Key: SM-899
> URL: https://issues.apache.org/activemq/browse/SM-899
> Project: ServiceMix
> Issue Type: Sub-task
> Components: servicemix-file
> Affects Versions: 3.2
> Reporter: Gert Vanthienen
> Assigned To: Guillaume Nodet
> Fix For: 3.2
>
>
> This is the stack trace:
> {noformat}
> Caused by: javax.jbi.JBIException: Error calling init
> at org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:195)
> ....
> Caused by: java.lang.IllegalStateException: An endpoint is already registered for key: {urn:test}service:endpoint
> at org.apache.servicemix.common.Registry.registerEndpoint(Registry.java:55)
> at org.apache.servicemix.common.Registry.registerServiceUnit(Registry.java:68)
> at org.apache.servicemix.common.DefaultComponent.doInit(DefaultComponent.java:292)
> at org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:187)
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.