You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by Kim Horn <ki...@icsglobal.net> on 2009/02/25 01:53:52 UTC
Synapse Command Line
What is the shell command (windows) to start my script, e.g. fred.xml.
Can only see document describing how to start the samples.
I know its in the synapse batch file but this should be documented.
Re: Synapse Command Line
Posted by "Asankha C. Perera" <as...@apache.org>.
> By not using the wrapper you can specify the start up file.
> How Sensible.
>
We know .. since we wrote it :-) ..
http://svn.apache.org/viewvc/synapse/tags/1.0/src/main/bin/synapse.bat?view=log
> This also fixes the many other errors the Wrapper introduces. See:
>
> http://thejavamonkey.blogspot.com/2008/09/apache-synapse-how-to-run-without.html
>
But we moved to using Wrapper due to a few reasons - we want to be able
to run as a service with Windows, and quite a few other OS's supported
by Wrapper too. Also the .bat files have issues with long filenames
and/or paths on Windows, which the wrapper overcomes. Maybe we should
revive the old .bat file as an option that we ship by default - I think
that will sort out all problems..
cheers
asankha
--
Asankha C. Perera
AdroitLogic, http://adroitlogic.org
http://esbmagic.blogspot.com
Re: Synapse Command Line
Posted by kimhorn <ki...@icsglobal.net>.
By not using the wrapper you can specify the start up file.
How Sensible.
This also fixes the many other errors the Wrapper introduces. See:
http://thejavamonkey.blogspot.com/2008/09/apache-synapse-how-to-run-without.html
Asankha C. Perera wrote:
>
> Hi Kim
>> What is the shell command (windows) to start my script, e.g. fred.xml.
>>
>> Can only see document describing how to start the samples.
>>
>> I know its in the synapse batch file but this should be documented.
>>
> Its easier if you edit the synapse.xml instead of a new file called
> fred.xml.. In windows we use the "Wrapper" to start it, and is
> configured via the .bat file and the repository/conf/wrapper.conf. To
> perform testing, you could also drop your synapse config with the other
> samples with some unique number, and use "synapse -sample <number>" to
> start. As most, if not all, of the Synapse deployments are on
> Unix/Linux, the Windows support is quite limited - as even all
> developers are on Linux. If you wish to contribute to improve the
> documentation, you are most welcome
>
> cheers
> asankha
>
> --
> Asankha C. Perera
> http://adroitlogic.org
>
> http://esbmagic.blogspot.com
>
>
>
--
View this message in context: http://www.nabble.com/Synapse-Command-Line-tp22194537p22218395.html
Sent from the Synapse - User mailing list archive at Nabble.com.
Re: Synapse Command Line
Posted by "Asankha C. Perera" <as...@apache.org>.
Hi Kim
> What is the shell command (windows) to start my script, e.g. fred.xml.
>
> Can only see document describing how to start the samples.
>
> I know its in the synapse batch file but this should be documented.
>
Its easier if you edit the synapse.xml instead of a new file called
fred.xml.. In windows we use the "Wrapper" to start it, and is
configured via the .bat file and the repository/conf/wrapper.conf. To
perform testing, you could also drop your synapse config with the other
samples with some unique number, and use "synapse -sample <number>" to
start. As most, if not all, of the Synapse deployments are on
Unix/Linux, the Windows support is quite limited - as even all
developers are on Linux. If you wish to contribute to improve the
documentation, you are most welcome
cheers
asankha
--
Asankha C. Perera
http://adroitlogic.org
http://esbmagic.blogspot.com