[jira] [Commented] (MATH-460) Levy Distribution
[ https://issues.apache.org/jira/browse/MATH-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448513#comment-13448513 ] Phil Steitz commented on MATH-460: -- Thanks, Andrew! What we are trying to capture in "support" is the smallest closed set whose complement has probability zero. The definitions of getSupportUpperBound and getSupportLowerBound in the RealDistribution javadoc roughly correspond to this in the case where the distribution is continuous with connected support (every interval of positive length between lower and upper support bounds has positive mass). The isSupportConnected property says that there are no such gaps. This is used by the default inverse cumulative probability method. The isSupportXxxBoundInclusive methods are no longer used; but should be interpreted to mean that these values are within the domain of the density function (i.e. density does not return NaN, and infinity or throw). > Levy Distribution > - > > Key: MATH-460 > URL: https://issues.apache.org/jira/browse/MATH-460 > Project: Commons Math > Issue Type: New Feature >Reporter: Pavel Ryzhov >Priority: Minor > Fix For: 3.2 > > Attachments: levy_math_460.patch > > > Pretty straightforward implementation of Levy Distribution (not Levy > alpha-stable) according to http://en.wikipedia.org/wiki/Lévy_distribution. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-460) Levy Distribution
[ https://issues.apache.org/jira/browse/MATH-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448179#comment-13448179 ] Andrew Waterman commented on MATH-460: -- I've taken another stab at most of the class, doing an independent implementation working from the equations presented in Wikipedia and modifying the implementation where it differed from Pavel's. I haven't been able to implement the following, the JavaDoc is a bit vague in RealDistribution: /** * Use this method to get information about whether the lower bound * of the support is inclusive or not. * * @return whether the lower bound of the support is inclusive or not */ boolean isSupportLowerBoundInclusive(); /** * Use this method to get information about whether the upper bound * of the support is inclusive or not. * * @return whether the upper bound of the support is inclusive or not */ isSupportUpperBoundInclusive(); /** * Use this method to get information about whether the support is connected, * i.e. whether all values between the lower and upper bound of the support * are included in the support. * * @return whether the support is connected or not */ boolean isSupportConnected(); Love some clarification (links would be appreciated) and I can try and continue on a bit further. Otherwise, I have some work that I can attach to share with the future. :) > Levy Distribution > - > > Key: MATH-460 > URL: https://issues.apache.org/jira/browse/MATH-460 > Project: Commons Math > Issue Type: New Feature >Reporter: Pavel Ryzhov >Priority: Minor > Fix For: 3.2 > > Attachments: levy_math_460.patch > > > Pretty straightforward implementation of Levy Distribution (not Levy > alpha-stable) according to http://en.wikipedia.org/wiki/Lévy_distribution. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IMAGING-89) Detect the YCCK color space/type
[ https://issues.apache.org/jira/browse/IMAGING-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damjan Jovanovic resolved IMAGING-89. - Resolution: Fixed Fix Version/s: 1.0 I've just committed a fix for this to the latest SVN. Imaging.getImageInfo() will now distinguish the YCCK colorspace based on the App14 segment. Resolving fixed. > Detect the YCCK color space/type > > > Key: IMAGING-89 > URL: https://issues.apache.org/jira/browse/IMAGING-89 > Project: Commons Imaging > Issue Type: New Feature > Components: Format: JPEG >Affects Versions: 1.x >Reporter: Arthur Bogaart >Priority: Minor > Fix For: 1.0 > > Attachments: test-YCCK.jpg > > > I use Sanselan/CommonsImaging to detect if uploaded images are in the RGB > color space, and if not convert them to RGB. > Currently, CI marks jpg images in the YCCK color space as CMYK: > ImageInfo info = Imaging.getImageInfo(is, "YCCK.jpg"); > info.getColorType() == ImageInfo.COLOR_TYPE_CMYK > So I have to do a custom check afterwards to differ between YCCK and CMYK. > I use the following to do this: > import com.drew.imaging.jpeg.JpegSegmentReader; > JpegSegmentReader reader = new JpegSegmentReader(is); > byte[] appe = reader.readSegment(JpegSegmentReader.SEGMENT_APPE); > bool isYCCK = appe != null && appe[11] == 2; > Would it be possible to incorporate this into CommonsImaging? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (LANG-817) Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8
[ https://issues.apache.org/jira/browse/LANG-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory resolved LANG-817. -- Resolution: Fixed Committed revision 1380679. > Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8 > > > Key: LANG-817 > URL: https://issues.apache.org/jira/browse/LANG-817 > Project: Commons Lang > Issue Type: Bug > Components: lang.* >Affects Versions: 3.1 > Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) > Maven home: C:\Java\apache-maven-3.0.4\bin\.. > Java version: 1.6.0_31, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_31\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >Reporter: Gary D. Gregory > Fix For: 3.2 > > > Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8 to check for version > "6.2". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (LANG-817) Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8
Gary D. Gregory created LANG-817: Summary: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8 Key: LANG-817 URL: https://issues.apache.org/jira/browse/LANG-817 Project: Commons Lang Issue Type: Bug Components: lang.* Affects Versions: 3.1 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" Reporter: Gary D. Gregory Fix For: 3.2 Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8 to check for version "6.2". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29 (and up till Update 35), cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447729#comment-13447729 ] Mark Jeffrey commented on NET-479: -- If you want to close it, feel free, but if I find more information I'll post it. > After upgrade from JRE 1.6 Update 27 to Update 29 (and up till Update 35), > cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > and later (neither Update 30 nor Update 35 work - and there was no Update 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); > {noformat} > Unfortunately I do not have any detailed information on the FTPS server I am > connecting to (it is a Bank's test server). > Any help would be appreciated. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29 (and up till Update 35), cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447728#comment-13447728 ] Mark Jeffrey edited comment on NET-479 at 9/5/12 1:49 AM: -- Ok some more info and a workaround. It seems to be related to this: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7103725 Similar reported here http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105007 Contrary to what these bugs state, for me it is not fixed in Update 30 or Update 35. This seems to be a workaround for the problem: System.setProperty("jsse.enableCBCProtection", "false"); was (Author: mjeff...@email.com): Ok some more info and a workaround. It seems to be related to this: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7103725 Similar reported here http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105007 Contrary to what these bugs state, for me it is not fixed in Update 30 or Update 35. This seems to a workaround for the problem: System.setProperty("jsse.enableCBCProtection", "false"); > After upgrade from JRE 1.6 Update 27 to Update 29 (and up till Update 35), > cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > and later (neither Update 30 nor Update 35 work - and there was no Update 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); > {noformat} > Unfortunately I do not have any detailed information on the FTPS server I am > connecting to (it is a Bank's test server). > Any help would be appreciated. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29 (and up till Update 35), cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Jeffrey updated NET-479: - Summary: After upgrade from JRE 1.6 Update 27 to Update 29 (and up till Update 35), cannot logon using FTPS (was: After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS) > After upgrade from JRE 1.6 Update 27 to Update 29 (and up till Update 35), > cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > and later (neither Update 30 nor Update 35 work - and there was no Update 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); > {noformat} > Unfortunately I do not have any detailed information on the FTPS server I am > connecting to (it is a Bank's test server). > Any help would be appreciated. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447728#comment-13447728 ] Mark Jeffrey commented on NET-479: -- Ok some more info and a workaround. It seems to be related to this: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7103725 Similar reported here http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7105007 Contrary to what these bugs state, for me it is not fixed in Update 30 or Update 35. This seems to a workaround for the problem: System.setProperty("jsse.enableCBCProtection", "false"); > After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > (there was no 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); > {noformat} > Unfortunately I do not have any detailed information on the FTPS server I am > connecting to (it is a Bank's test server). > Any help would be appreciated. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Jeffrey updated NET-479: - Description: Using the following code works with JRE Update 27 but not with JRE Update 29 and later (neither Update 30 nor Update 35 work - and there was no Update 28). {noformat} final FTPSClient ftpsClient = new FTPSClient("TLS", true); ftpsClient.connect("test.ftps..com", 6366); final int replyCode = ftpsClient.getReplyCode(); if (!FTPReply.isPositiveCompletion(replyCode)) { throw new RuntimeException(); } ftpsClient.enterLocalPassiveMode(); if (!ftpsClient.login("user", "pass")) { throw new RuntimeException("Cannot logon"); } {noformat} With update 29 I receive the exception 'Cannot logon". I have tried to determine what has changed between the two releases and it seems there have been some changes to TLS - these are the release notes - with links to the security advisory: http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html Update 27 and 29 can be found here: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR I also tried this (I can attach the debug output but it didn't seem to differ significantly between the successful and failed attempts) {noformat} System.setProperty("javax.net.debug", "ssl"); System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); {noformat} Unfortunately I do not have any detailed information on the FTPS server I am connecting to (it is a Bank's test server). Any help would be appreciated. was: Using the following code works with JRE Update 27 but not with JRE Update 29 (there was no 28). {noformat} final FTPSClient ftpsClient = new FTPSClient("TLS", true); ftpsClient.connect("test.ftps..com", 6366); final int replyCode = ftpsClient.getReplyCode(); if (!FTPReply.isPositiveCompletion(replyCode)) { throw new RuntimeException(); } ftpsClient.enterLocalPassiveMode(); if (!ftpsClient.login("user", "pass")) { throw new RuntimeException("Cannot logon"); } {noformat} With update 29 I receive the exception 'Cannot logon". I have tried to determine what has changed between the two releases and it seems there have been some changes to TLS - these are the release notes - with links to the security advisory: http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html Update 27 and 29 can be found here: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR I also tried this (I can attach the debug output but it didn't seem to differ significantly between the successful and failed attempts) {noformat} System.setProperty("javax.net.debug", "ssl"); System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); {noformat} Unfortunately I do not have any detailed information on the FTPS server I am connecting to (it is a Bank's test server). Any help would be appreciated. > After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > and later (neither Update 30 nor Update 35 work - and there was no Update 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setPropert
[jira] [Comment Edited] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447663#comment-13447663 ] Mark Jeffrey edited comment on NET-479 at 9/5/12 12:02 AM: --- I have an update. I have tried to reproduce this locally using FileZilla server (FTPS) but it did not exhibit the same behaviour (it worked correctly with Update 26 and 29). This seems to indicate that it is something special in the bank's FTPS server (I will try to find more details of it). was (Author: mjeff...@email.com): I have an update. I have tried to reproduce this locally using FileZilla server and FTPS but it did not exhibit the same behaviour (it worked correctly with Upadte 26 and 29). This seems to indicate that it is somethiong special in the FTP server (will try to find more details of it). > After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > (there was no 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); > {noformat} > Unfortunately I do not have any detailed information on the FTPS server I am > connecting to (it is a Bank's test server). > Any help would be appreciated. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447663#comment-13447663 ] Mark Jeffrey commented on NET-479: -- I have an update. I have tried to reproduce this locally using FileZilla server and FTPS but it did not exhibit the same behaviour. > After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > (there was no 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); > {noformat} > Unfortunately I do not have any detailed information on the FTPS server I am > connecting to (it is a Bank's test server). > Any help would be appreciated. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447663#comment-13447663 ] Mark Jeffrey edited comment on NET-479 at 9/4/12 11:55 PM: --- I have an update. I have tried to reproduce this locally using FileZilla server and FTPS but it did not exhibit the same behaviour (it worked correctly with Upadte 26 and 29). This seems to indicate that it is somethiong special in the FTP server (will try to find more details of it). was (Author: mjeff...@email.com): I have an update. I have tried to reproduce this locally using FileZilla server and FTPS but it did not exhibit the same behaviour. > After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > (there was no 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); > {noformat} > Unfortunately I do not have any detailed information on the FTPS server I am > connecting to (it is a Bank's test server). > Any help would be appreciated. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CODEC-157) DigestUtils: Add MD2 APIs
[ https://issues.apache.org/jira/browse/CODEC-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory resolved CODEC-157. --- Resolution: Fixed > DigestUtils: Add MD2 APIs > - > > Key: CODEC-157 > URL: https://issues.apache.org/jira/browse/CODEC-157 > Project: Commons Codec > Issue Type: Bug >Reporter: Gary D. Gregory > Fix For: 1.7 > > > Add MD2 support. It is a standard algorithm per > http://docs.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Jeffrey updated NET-479: - Description: Using the following code works with JRE Update 27 but not with JRE Update 29 (there was no 28). {noformat} final FTPSClient ftpsClient = new FTPSClient("TLS", true); ftpsClient.connect("test.ftps..com", 6366); final int replyCode = ftpsClient.getReplyCode(); if (!FTPReply.isPositiveCompletion(replyCode)) { throw new RuntimeException(); } ftpsClient.enterLocalPassiveMode(); if (!ftpsClient.login("user", "pass")) { throw new RuntimeException("Cannot logon"); } {noformat} With update 29 I receive the exception 'Cannot logon". I have tried to determine what has changed between the two releases and it seems there have been some changes to TLS - these are the release notes - with links to the security advisory: http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html Update 27 and 29 can be found here: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR I also tried this (I can attach the debug output but it didn't seem to differ significantly between the successful and failed attempts) {noformat} System.setProperty("javax.net.debug", "ssl"); System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); {noformat} Unfortunately I do not have any detailed information on the FTPS server I am connecting to (it is a Bank's test server). Any help would be appreciated. was: Using the following code works with JRE Update 27 but not with JRE Update 29 (there was no 28). {noformat} final FTPSClient ftpsClient = new FTPSClient("TLS", true); ftpsClient.connect("test.ftps..com", 6366); final int replyCode = ftpsClient.getReplyCode(); if (!FTPReply.isPositiveCompletion(replyCode)) { throw new RuntimeException(); } ftpsClient.enterLocalPassiveMode(); if (!ftpsClient.login("user", "pass")) { throw new RuntimeException("Cannot logon"); } {noformat} With update 29 I receive the exception 'Cannot logon". I have tried to determine what has changed between the two releases and it seems there have been some changes to TLS - these are the release notes - with links to the security advisory: http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html Update 27 and 29 can be found here: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR I also tried this (I can attach the debug output but it didn't seem to differ significantly between the successful and failed attempts) {noformat} System.setProperty("javax.net.debug", "ssl"); System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); {noformat} > After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > (there was no 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); > {noformat} > Unfortunately I do not have any detailed information on the FTPS server I am > connecting to (it is a Bank's test server). > Any help would be appreciated. -- This message is automatically generated
[jira] [Updated] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS
[ https://issues.apache.org/jira/browse/NET-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Jeffrey updated NET-479: - Description: Using the following code works with JRE Update 27 but not with JRE Update 29 (there was no 28). {noformat} final FTPSClient ftpsClient = new FTPSClient("TLS", true); ftpsClient.connect("test.ftps..com", 6366); final int replyCode = ftpsClient.getReplyCode(); if (!FTPReply.isPositiveCompletion(replyCode)) { throw new RuntimeException(); } ftpsClient.enterLocalPassiveMode(); if (!ftpsClient.login("user", "pass")) { throw new RuntimeException("Cannot logon"); } {noformat} With update 29 I receive the exception 'Cannot logon". I have tried to determine what has changed between the two releases and it seems there have been some changes to TLS - these are the release notes - with links to the security advisory: http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html Update 27 and 29 can be found here: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR I also tried this (I can attach the debug output but it didn't seem to differ significantly between the successful and failed attempts) {noformat} System.setProperty("javax.net.debug", "ssl"); System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); {noformat} was: Using the following code works with JRE Update 27 but not with JRE Update 29 (there was no 28). {noformat} final FTPSClient ftpsClient = new FTPSClient("TLS", true); ftpsClient.connect("test.ftps..com", 6366); final int replyCode = ftpsClient.getReplyCode(); if (!FTPReply.isPositiveCompletion(replyCode)) { throw new RuntimeException(); } ftpsClient.enterLocalPassiveMode(); if (!ftpsClient.login("user", "pass")) { throw new RuntimeException("Cannot logon"); } {noformat} With update 29 I receive the exception 'Cannot logon". I have tried to determine what has changed between the two releases and it seems there have been some changes to TLS - these are the release notes - with links to the security advisory: http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html Update 27 and 29 can be found here: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR I also tried this (I can attach the debug output but it didn't seem to differ significantly between the successful and failed attempts) {noformat} System.setProperty("javax.net.debug", "ssl"); System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); {noformat} > After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS > -- > > Key: NET-479 > URL: https://issues.apache.org/jira/browse/NET-479 > Project: Commons Net > Issue Type: Bug > Components: FTP >Affects Versions: 3.1 >Reporter: Mark Jeffrey > > Using the following code works with JRE Update 27 but not with JRE Update 29 > (there was no 28). > {noformat} > final FTPSClient ftpsClient = new FTPSClient("TLS", true); > ftpsClient.connect("test.ftps..com", 6366); > final int replyCode = ftpsClient.getReplyCode(); > if (!FTPReply.isPositiveCompletion(replyCode)) { > throw new RuntimeException(); > } > ftpsClient.enterLocalPassiveMode(); > if (!ftpsClient.login("user", "pass")) { >throw new RuntimeException("Cannot logon"); > } > {noformat} > With update 29 I receive the exception 'Cannot logon". > I have tried to determine what has changed between the two releases and it > seems there have been some changes to TLS - these are the release notes - > with links to the security advisory: > http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html > Update 27 and 29 can be found here: > http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR > I also tried this (I can attach the debug output but it didn't seem to differ > significantly between the successful and failed attempts) > {noformat} > System.setProperty("javax.net.debug", "ssl"); > System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); > System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (NET-479) After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS
Mark Jeffrey created NET-479: Summary: After upgrade from JRE 1.6 Update 27 to Update 29, cannot logon using FTPS Key: NET-479 URL: https://issues.apache.org/jira/browse/NET-479 Project: Commons Net Issue Type: Bug Components: FTP Affects Versions: 3.1 Reporter: Mark Jeffrey Using the following code works with JRE Update 27 but not with JRE Update 29 (there was no 28). {noformat} final FTPSClient ftpsClient = new FTPSClient("TLS", true); ftpsClient.connect("test.ftps..com", 6366); final int replyCode = ftpsClient.getReplyCode(); if (!FTPReply.isPositiveCompletion(replyCode)) { throw new RuntimeException(); } ftpsClient.enterLocalPassiveMode(); if (!ftpsClient.login("user", "pass")) { throw new RuntimeException("Cannot logon"); } {noformat} With update 29 I receive the exception 'Cannot logon". I have tried to determine what has changed between the two releases and it seems there have been some changes to TLS - these are the release notes - with links to the security advisory: http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html Update 27 and 29 can be found here: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u27-oth-JPR I also tried this (I can attach the debug output but it didn't seem to differ significantly between the successful and failed attempts) {noformat} System.setProperty("javax.net.debug", "ssl"); System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); System.setProperty("sun.security.ssl.allowLegacyHelloMessages" , "true"); {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CLI-189) "Unexpected --help while processing"
[ https://issues.apache.org/jira/browse/CLI-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Perrot closed CLI-189. > "Unexpected --help while processing" > > > Key: CLI-189 > URL: https://issues.apache.org/jira/browse/CLI-189 > Project: Commons CLI > Issue Type: Bug > Components: CLI-2.x, Help formatter >Affects Versions: 2.0 > Environment: snapshot jar >Reporter: Guillaume Perrot > Fix For: 2.0 > > > The help trigger feature seems not working. > When I pass --help to the command line, I have "Unexpected --help while > processing", then usage is printed. > Code snippet: > {code:java} > Parser parser = new Parser(); > parser.setGroup(group); > parser.setHelpFormatter(new HelpFormatter()); > parser.setHelpTrigger("--help"); > parser.parseAndHelp(args); > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira