[
https://issues.apache.org/jira/browse/SYNAPSE-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Asankha C. Perera resolved SYNAPSE-74.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.0-RC1-B2
fixed for 1.0-RC1-B2
> Synapse startup fails when calling a sequence by specifying <sequence
> key="seq-name">
> -------------------------------------------------------------------------------------
>
> Key: SYNAPSE-74
> URL: https://issues.apache.org/jira/browse/SYNAPSE-74
> Project: Synapse
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0-RC1-B1
> Environment: winxp, jdk15
> Reporter: Charitha Kankanamge
> Priority: Critical
> Fix For: 1.0-RC1-B2
>
>
> Following exception thrown and cannot start synapse when calling an existing
> sequence by <sequence key="seq-name"> element.
> [main] ERROR SynapseConfigurationBuilder - Could not initialize Synapse :
> Invalid sequence definition without a name
> org.apache.synapse.SynapseException: Invalid sequence definition without a
> name
> at
> org.apache.synapse.config.xml.XMLConfigurationBuilder.handleException(XMLConfigurationBuilder.java:200)
> at
> org.apache.synapse.config.xml.XMLConfigurationBuilder.defineSequence(XMLConfigurationBuilder.java:151)
> at
> org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:75)
> at
> org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:65)
> at
> org.apache.synapse.core.axis2.SynapseModule.initializeSynapse(SynapseModule.java:116)
> at
> org.apache.synapse.core.axis2.SynapseModule.init(SynapseModule.java:80)
> at
> org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:222)
> at
> org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:202)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:76)
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:187)
> at org.apache.synapse.SynapseServer.main(SynapseServer.java:60)
> org.apache.synapse.SynapseException: Could not initialize Synapse : Invalid
> sequence definition without a name
> at
> org.apache.synapse.config.SynapseConfigurationBuilder.handleException(SynapseConfigurationBuilder.java:80)
> at
> org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:73)
> at
> org.apache.synapse.core.axis2.SynapseModule.initializeSynapse(SynapseModule.java:116)
> at
> org.apache.synapse.core.axis2.SynapseModule.init(SynapseModule.java:80)
> at
> org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:222)
> at
> org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:202)
>
> This will not happen when calling the sequence inside main sequence as
> follows.
> <sequence name="main">
> <sequence key="seq-1"/>
> </sequence>
> If you call the sequence by just specifying the key; <sequence key="seq-1"/>,
> the above error will occur.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]