run a java test with your JRE?

    private boolean isUnlimitedCryptoSupported() throws 
NoSuchAlgorithmException {
        int bits = Cipher.getMaxAllowedKeyLength("AES");
        this.getLog().info("Current encryption strength is: " + bits);
        return bits == 2147483647;

    }




On Thursday, September 25, 2014 10:15:01 AM UTC-7, Shobha Dashottar wrote:
>
> I have now removed all the older jre versions from the systems leaving jre 
> only in one place. I even have the JRE  home in the PATH variable. 
>
> I have setup some Windows VMs now but those are too giving the same error. 
> They already have the JCE jars in their installation folders. 
>
> Is there some other requirement for this to work ?
>
> Thanks
> Shobha
>
> On Thursday, September 25, 2014 9:32:35 PM UTC+5:30, Dan Tran wrote:
>>
>>
>> Very likely, you patch the wrong JRE
>>
>> -D
>>
>> On Thursday, September 25, 2014 8:46:01 AM UTC-7, Shobha Dashottar wrote:
>>>
>>> I am setting up a  new Jenkins server. I have been using the Perforce 
>>> Plugin so far but this time I have switched to the P4 Plugin as has a good 
>>> integration with the Credential Plugin to connect to the perforce server.  
>>>
>>> For most of the VMs that I am connecting to it goes ahead with P4 
>>> command execution without issue. So far one VM is giving issue and throwing 
>>> exception while even trying to communicate with the perforce server.
>>>
>>> P4: Unable to connect: com.perforce.p4java.exception.ConnectionException: 
>>> Error occurred during the SSL handshake: invalid SSL session
>>> P4: Unable to use Workspace: java.lang.NullPointerException
>>> P4: Unable to close Perforce connection: java.lang.NullPointerException
>>> ERROR: Unable to update workspace: java.lang.NullPointerException
>>>
>>> After following some articles, I have added the jars from JCE for Java 7 
>>> inside the slave VMs jre/lib/security folder. 
>>> But still the error keeps popping up. 
>>>
>>> Does anyone know what is going on or is missing on that VM?
>>>
>>> Thanks
>>> Shobha
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to