Removing the Wrapper fixes the problem. A script to start Syanpse can be
found at:

http://thejavamonkey.blogspot.com/2008/09/apache-synapse-how-to-run-without.html

Describes how to run synapse with no wrapper.

Please drop the use of the wrapper !

As a benefit this script allows you to sepcify to start up file.





kimhorn wrote:
> 
> Tried with 1.5 and makes no difference. get same error
> 
> C:\synapse-1.2\bin>synapse -sample 1011b
> "Starting Synapse/Java ..."
> Using SYNAPSE_HOME:        C:\SYNAPS~1.2\bin\..
> Using JAVA_HOME:       C:\Program Files\Java\jdk1.5.0_17
> 
> Still cannot use Synapse :-)
> 
> 
> 
> 
> 
> 
> 
> kimhorn wrote:
>> 
>> Can Synapse and the Wrapper be fixed to check the Java Version and
>> produce a warning message; as is done with most products.
>> When will these be updated to run with more recent verisons of Java ?
>> 
>> 
>> 
>> Asankha C. Perera wrote:
>>> 
>>> Hi Kim
>>>> Config file and log info follows. Istarted synapse with this and it
>>>> works
>>>> fine.
>>>> Stopped it and now it won't start....
>>>> ...
>>>>
>>>> C:\synapse-1.2\bin>synapse -sample 1011b
>>>> "Starting Synapse/Java ..."
>>>> Using SYNAPSE_HOME:        C:\SYNAPS~1.2\bin\..
>>>> Using JAVA_HOME:       C:\Program Files\Java\jdk1.6.0_04
>>>>   
>>> Your config is fine, but the Script mediator used in Synapse is using 
>>> Apache BSF, and has an incompatibility with the JDK 1.6 version you are 
>>> using.
>>> 
>>> Right now, the JDK version we publicly support and test against is 
>>> 1.5.x. So I think what we should do it move the BSF mediator into a 
>>> separate optional component, and also update the script mediator to work 
>>> with JDK 1.6 and make that an optional component as well - and leave the 
>>> decision to the user to select what he wants
>>> 
>>> For right now, is going to JDK 1.5 a serious issue for you?
>>> 
>>> cheers
>>> asankha
>>> 
>>> -- 
>>> Asankha C. Perera
>>> http://adroitlogic.org
>>> 
>>> http://esbmagic.blogspot.com
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Random-Start-Up-Error-tp22194530p22218380.html
Sent from the Synapse - User mailing list archive at Nabble.com.

Reply via email to