Yes. You are correct. So we are already on the correct path. Pls go ahead
and resolve the jira.

thanks,

On Thu, Jul 30, 2015 at 11:44 PM, Niranjan Karunanandham <[email protected]>
wrote:

> Hi,
>
> IMO I do not think this is a bug. Let me explain: the ciphertool feature
> contains the following files cipher-tool.properties,
> cipher-text.properties, org.wso2.ciphertool-1.0.0-wso2v3.jar, ciphertool.sh
> and ciphertool.bat. These configuration files are copied to
> <PRODUCT_HOME>/repository/conf/security, the scripts are copied to
> <PRODUCT_HOME>/bin and the jar is copied to <PRODUCT_HOME>/lib (not to the
> plugins folder). Carbon Servers have multiple profiles so that when the
> server starts in a particular profile, only those bundles which are defined
> for the profile should be Active. In the case of the ciphertool, this is
> not valid since it is run separately to encrypt the files. Therefore there
> is no point in defining it in multiple profiles.
>
> Regards,
> Nira
>
> On Thu, Jul 30, 2015 at 2:03 PM, Supun Malinga <[email protected]> wrote:
>
>> AFAIR this is an issue with multiple profile + touch points, when we
>> configure p2.inf to delete jars/ configs. It will delete the resources in
>> the first profile and at the time of installing the second profile it will
>> throw the above issue.
>> For this we need to remove the resource delete logic in p2.inf in cipher
>> tool. This is just a workaround however. We should properly fix this in
>> future.
>>
>> thanks,
>>
>> On Thu, Jul 30, 2015 at 1:42 PM, Shazni Nazeer <[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> We tried to install the cipher tool feature in G-Reg as documented in
>>> the following [1], which is working fine. We get following error when
>>> building the pack with multiple profiles in the p2. Incorporating the
>>> feature only in default succeeds with the build.
>>>
>>> Installation failed.
>>> An error occurred while configuring the installed items
>>>  session context was:(profile=repository,
>>> phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null
>>> --> [R]org.wso2.ciphertool.feature.group 1.0.0.wso2v3,
>>> action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CopyAction).
>>>  I/O Error while copying
>>> /home/shazni/ProjectFiles/Git/Development/WSO2/product-greg/modules/p2-profile-gen/target/wso2carbon-core-4.4.0/repository/components/repository/../features/org.wso2.ciphertool_1.0.0.wso2v3/lib
>>> - see details.
>>> Caused by:  java.io.IOException: Source:
>>> /home/shazni/ProjectFiles/Git/Development/WSO2/product-greg/modules/p2-profile-gen/target/wso2carbon-core-4.4.0/repository/components/repository/../features/org.wso2.ciphertool_1.0.0.wso2v3/libdoes
>>> not exists
>>> Application failed, log file location:
>>> /home/shazni/ProjectFiles/ProjectRepositories/repository_2/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1438243620714.log
>>>
>>> Created a jiira at [2] to track this issue.
>>>
>>> [1]
>>> https://docs.wso2.com/display/Carbon440/Enabling+Cipher+Tool+for+Password+Encryption
>>> [2] https://wso2.org/jira/browse/CARBON-15337
>>>
>>> Shazni Nazeer
>>> Mob : +94 777737331
>>> LinkedIn : http://lk.linkedin.com/in/shazninazeer
>>> Blog : http://shazninazeer.blogspot.com
>>>
>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Senior Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> email: [email protected] <[email protected]>
>> mobile: +94 (0)71 56 91 321
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Niranjan Karunanandham*
> Senior Software Engineer - WSO2 Inc.
> WSO2 Inc.: http://www.wso2.com
>



-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: [email protected] <[email protected]>
mobile: +94 (0)71 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to