BTW, I am looking for maven users to try p4maven with maven release plugin 
as well.  Let me know if you need help on that area



On Sunday, September 28, 2014 11:23:08 PM UTC-7, Shobha Dashottar wrote:
>
> I ran that test code and earlier it gave 128 . So, made a few more changes 
> like reinstalling jdk, setting the java paths in a few more files for 
> Jenkins to get the path during slave launch itself and then finally copying 
> the UnlimitedJCEPolicy jar files even though they existed in the security 
> folder.
>
> Looks like something was messed up in my java environment as after I ran 
> the test code it gave me the value 2147483647.  the SSL handshake error has 
> gone away too.
>
> Thanks Dan for your help on this. Much Appreciated.
>
>
> On Friday, September 26, 2014 9:30:58 PM UTC+5:30, Dan Tran wrote:
>>
>>
>> Also note, that p4jenkins uses the startup JRE to talk to perforce ( not 
>> the one configure in the job)
>>
>> -D
>>
>> On Thursday, September 25, 2014 7:11:13 PM UTC-7, Dan Tran wrote:
>>>
>>>
>>>  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