Hi Paul

If you want to learn Synapse and just would like to run it on 1.6 with the limitation on the script mediator, just comment out or remove a few lines on the synapse.sh as specified below and you can run Synapse.. I think the .bat does not include this check

asankha

synapse.sh
-------------------
jdk_15=`$JAVA_HOME/bin/java -version 2>&1 | grep 1.5`

if [ "$jdk_15" ]; then
   echo " Using Bouncy castle JAR for Java 1.5"
   for f in $SYNAPSE_HOME/lib/bcprov-jdk15*.jar
   do
     SYNAPSE_CLASSPATH=$f:$SYNAPSE_CLASSPATH
   done
else
#    echo " Synapse requires JDK 1.5.x" ## -- this line commented
#   exit 1 ## -- this line commented
fi




Ruwan Linton wrote:
Hi Paul,

Synapse can run on JDK1.6 but we have not tested it on 1.6 and hence we do
not recommend production deployment on 1.6 and one known issue on JDK1.6 is
the script mediator support. Script mediator will not work on the JDK1.6.

Most of the times starting from the next release we will fully support
JDK1.6. So as a summery apart from the Script mediator it should work.

For any issues on synapse you will need to log the issues in this [1] JIRA
instance.

[1] - https://issues.apache.org/jira/browse/SYNAPSE

Thanks,
Ruwan

On Tue, Aug 19, 2008 at 7:50 PM, Paul Tipper <[EMAIL PROTECTED]> wrote:

Hello,

I'm brand new to Apache Synapse, so I'm trying it out on a Fedora release 8
(Werewolf) server with JDK 1.6.0_04. I'm working through the samples in the
Quick Start guide, but when I tried to start Synapse using the
synapse_sample_0.xml configuration, I got an error message saying "Synapse
requires JDK 1.5.x". I would have thought that as I have a newer version of
the JDK, Synapse should have been happy to proceed, but the version
checking
in the shell script just looks for the string "1.5" in the output of the
java -version command. I disabled the check in my local copy of synapse.sh
so I could keep going, but I'm wondering:


  - Is Synapse safe to run using JDKs greater than 1.5.x?
  - Is this a bug?
  - If so, how do I log it?


Any help/comments greatly appreciated.

Paul.





--
Asankha C. Perera

WSO2 - http://wso2.org
http://esbmagic.blogspot.com

Reply via email to