Thanks for the answers. i'll get the latest from trunk so. Pierre
"Ruwan Linton" <[EMAIL PROTECTED]> 04/08/2008 11:10 Veuillez répondre à [email protected] A [email protected] cc Objet Re: [Synapse 1.2] Can't initialize synapse I should also say that it is not supported to set the synapse config parameters through axis2 xml parameters in the 1.2 release. Thanks, Ruwan On Mon, Aug 4, 2008 at 2:34 PM, Ruwan Linton <[EMAIL PROTECTED]> wrote: > Hi Pierre, > > I am sorry that KB has been outdated. Here is the new set of parameters for > you to try if you are using synapse built from trunk, > > <parameter name="SynapseConfig.ConfigurationFile" > locked="false">C:/synapse.xml</parameter> > > Apart from that, f you need to do advanced tasks you may need the following > parameters as well, > > /** Synapse Home directory */ > "SynapseConfig.HomeDirectory" > /** Synapse resolve root */ > "SynapseConfig.ResolveRoot" > /** Synapse server name */ > "SynapseConfig.ServerName" > > But all these are for the SNAPSHOT build and this will not work for the 12 > release. > > Thanks, > Ruwan > > > On Mon, Aug 4, 2008 at 2:25 PM, <[EMAIL PROTECTED]> wrote: > >> Hello all, >> I am trying to use synapse as an axis2 module. >> - I have dropped synapse-1.2.mar file (the one in the synapse 1.2 binary >> distribution) inside the module directory of my web app unsing Axis2. >> - I have modified axis2.xml configuration to add: <module ref="synapse"/> >> Axis2 is correctly engaging the module: >> Deploying module: synapse-1.2 - file:/C:/[...] >> Initializing Synapse at : Mon Aug 04 10:46:55 CEST 2008 >> >> Now, I want to configure Synapse using the axis2.xml file. >> According to [1], I have added the following line: <parameter name=" >> SynapseConfiguration" locked="true">C:/synapse.xml</parameter> >> But I get the following error: System property or init-parameter >> 'synapse.xml' is not specified. Using default configuration.. >> >> So I tried to put this in axis2.xml file: <parameter name="synapse.xml" >> locked="true">C:/synapse.xml</parameter> >> >> But I still get the same warning message. I have tried using relative path >> and absolute path but it is the same. >> >> Where is my mistake? >> How can I configure path to synapse.xml? >> >> Thanks in advance. >> >> Pierre >> >> >> [1]: http://wso2.org/library/201 >> > > > > -- > Ruwan Linton > http://wso2.org - "Oxygenating the Web Services Platform" > http://ruwansblog.blogspot.com/ > -- Ruwan Linton http://wso2.org - "Oxygenating the Web Services Platform" http://ruwansblog.blogspot.com/
