You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Jason Dwyer (JIRA)" <ji...@apache.org> on 2008/06/17 14:25:45 UTC

[jira] Created: (SYNAPSE-361) Cant run synapse with java 6 jvm.

Cant run synapse with java 6 jvm.
---------------------------------

                 Key: SYNAPSE-361
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-361
             Project: Synapse
          Issue Type: Bug
          Components: Deployment
    Affects Versions: 1.2
         Environment: linux, sun java 6 jdk
            Reporter: Jason Dwyer


a change introduced in SYNAPSE-302 adds an explicit check in the synapse.sh script to look for '1.5' in the java version string as part of its determination of how to load up bouncy castle provider jars.

http://svn.apache.org/viewvc/synapse/branches/1.2/src/main/bin/synapse.sh?view=diff&r1=655149&r2=655150&pathrev=655150

not sure if this is the best way to do this, nor if it was the intended outcome of the change ( or if it was intended to just check for java 1.4...)

anyway, the upshot is that i cant run synapse 1.2 on my local host without munging the scripts ( and grabbing the relevant bcprov*.jar to put in its place...).





-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-361) Cant run synapse with java 6 jvm.

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera reassigned SYNAPSE-361:
-----------------------------------------

    Assignee: Asankha C. Perera

Jason

We limited Synapse to 1.5.x as the script mediator needs some changes to support 1.6.x, but I agree that if you are not using the script mediator, it would be good to be able to run Synapse on 1.6.x.., so I will make the change you request. However, please note that we do not yet test on JDK 1.6.x before public releases, but welcome anyone who uses Synapse on 1.6 to let us know if things work well :)

asankha

> Cant run synapse with java 6 jvm.
> ---------------------------------
>
>                 Key: SYNAPSE-361
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-361
>             Project: Synapse
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 1.2
>         Environment: linux, sun java 6 jdk
>            Reporter: Jason Dwyer
>            Assignee: Asankha C. Perera
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> a change introduced in SYNAPSE-302 adds an explicit check in the synapse.sh script to look for '1.5' in the java version string as part of its determination of how to load up bouncy castle provider jars.
> http://svn.apache.org/viewvc/synapse/branches/1.2/src/main/bin/synapse.sh?view=diff&r1=655149&r2=655150&pathrev=655150
> not sure if this is the best way to do this, nor if it was the intended outcome of the change ( or if it was intended to just check for java 1.4...)
> anyway, the upshot is that i cant run synapse 1.2 on my local host without munging the scripts ( and grabbing the relevant bcprov*.jar to put in its place...).

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-361) Cant run synapse with java 6 jvm.

Posted by "Jason Dwyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605848#action_12605848 ] 

Jason Dwyer commented on SYNAPSE-361:
-------------------------------------

thanks asankha,

the disconcerting part was that the 1.1.x versions were happy to run in java 6 off the command line ( java 6 has been out since december 2006, and i'm sure i'm not the only one who hasnt even installed a java 5 vm on recent setups...)

and yes, synapse 1.1.x worked very well under java 6 :)



cheers,

j


> Cant run synapse with java 6 jvm.
> ---------------------------------
>
>                 Key: SYNAPSE-361
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-361
>             Project: Synapse
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 1.2
>         Environment: linux, sun java 6 jdk
>            Reporter: Jason Dwyer
>            Assignee: Asankha C. Perera
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> a change introduced in SYNAPSE-302 adds an explicit check in the synapse.sh script to look for '1.5' in the java version string as part of its determination of how to load up bouncy castle provider jars.
> http://svn.apache.org/viewvc/synapse/branches/1.2/src/main/bin/synapse.sh?view=diff&r1=655149&r2=655150&pathrev=655150
> not sure if this is the best way to do this, nor if it was the intended outcome of the change ( or if it was intended to just check for java 1.4...)
> anyway, the upshot is that i cant run synapse 1.2 on my local host without munging the scripts ( and grabbing the relevant bcprov*.jar to put in its place...).

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-361) Cant run synapse with java 6 jvm.

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton reassigned SYNAPSE-361:
------------------------------------

    Assignee: Ruwan Linton  (was: Asankha C. Perera)

> Cant run synapse with java 6 jvm.
> ---------------------------------
>
>                 Key: SYNAPSE-361
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-361
>             Project: Synapse
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 1.2
>         Environment: linux, sun java 6 jdk
>            Reporter: Jason Dwyer
>            Assignee: Ruwan Linton
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> a change introduced in SYNAPSE-302 adds an explicit check in the synapse.sh script to look for '1.5' in the java version string as part of its determination of how to load up bouncy castle provider jars.
> http://svn.apache.org/viewvc/synapse/branches/1.2/src/main/bin/synapse.sh?view=diff&r1=655149&r2=655150&pathrev=655150
> not sure if this is the best way to do this, nor if it was the intended outcome of the change ( or if it was intended to just check for java 1.4...)
> anyway, the upshot is that i cant run synapse 1.2 on my local host without munging the scripts ( and grabbing the relevant bcprov*.jar to put in its place...).

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-361) Cant run synapse with java 6 jvm.

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton resolved SYNAPSE-361.
----------------------------------

       Resolution: Fixed
    Fix Version/s: NIGHTLY

I have added a warning if the Java version is not Java 5 and let it continue.

This is only on Unix, I guess there is no issue with bat file isn't it?

> Cant run synapse with java 6 jvm.
> ---------------------------------
>
>                 Key: SYNAPSE-361
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-361
>             Project: Synapse
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 1.2
>         Environment: linux, sun java 6 jdk
>            Reporter: Jason Dwyer
>            Assignee: Ruwan Linton
>             Fix For: NIGHTLY
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> a change introduced in SYNAPSE-302 adds an explicit check in the synapse.sh script to look for '1.5' in the java version string as part of its determination of how to load up bouncy castle provider jars.
> http://svn.apache.org/viewvc/synapse/branches/1.2/src/main/bin/synapse.sh?view=diff&r1=655149&r2=655150&pathrev=655150
> not sure if this is the best way to do this, nor if it was the intended outcome of the change ( or if it was intended to just check for java 1.4...)
> anyway, the upshot is that i cant run synapse 1.2 on my local host without munging the scripts ( and grabbing the relevant bcprov*.jar to put in its place...).

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-361) Cant run synapse with java 6 jvm.

Posted by "Jason Dwyer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606290#action_12606290 ] 

Jason Dwyer commented on SYNAPSE-361:
-------------------------------------

cool!

thanks ruwan, i'm not sure about the windows .bat file, you might need to check the contents of commit r655150 to see if there were any accompanying changes there.

cheers,

j


> Cant run synapse with java 6 jvm.
> ---------------------------------
>
>                 Key: SYNAPSE-361
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-361
>             Project: Synapse
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 1.2
>         Environment: linux, sun java 6 jdk
>            Reporter: Jason Dwyer
>            Assignee: Ruwan Linton
>             Fix For: NIGHTLY
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> a change introduced in SYNAPSE-302 adds an explicit check in the synapse.sh script to look for '1.5' in the java version string as part of its determination of how to load up bouncy castle provider jars.
> http://svn.apache.org/viewvc/synapse/branches/1.2/src/main/bin/synapse.sh?view=diff&r1=655149&r2=655150&pathrev=655150
> not sure if this is the best way to do this, nor if it was the intended outcome of the change ( or if it was intended to just check for java 1.4...)
> anyway, the upshot is that i cant run synapse 1.2 on my local host without munging the scripts ( and grabbing the relevant bcprov*.jar to put in its place...).

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org