Re: [Dev] Cannot generate P2 metadata: P2 publisher return code was 13

2016-04-17 Thread Damith Wickramasinghe
Hi Lasantha, I have checked the log file. It does not have any information other than the same thing mention in the above log One or more certificates rejected. Cannot proceed with installation. After installing the Java again solved the issue. Regards, Damith. On Mon, Apr 18, 2016 at 8:12 AM,

Re: [Dev] product-mss hangs after deploying a (faulty) service

2016-04-17 Thread Hasitha Aravinda
Hi Kernel team, This is happening due to an issue in msf4j 1.0.0 component and solution is to move latest msf4j version. But still msf4j master branch is set to 1.0.0-SNAPSHOT. Since MSF4J 1.0.0 is released, Jenkins is not publishing snapshot artifacts to nexus. Could you please fix this ? [1] -

Re: [Dev] Clarification about OSGi Bundle Picking

2016-04-17 Thread Aruna Karunarathna
On Sun, Apr 17, 2016 at 11:09 PM, Chamila Wijayarathna wrote: > Hi all, > > So myself and Malithi dig this issue little bit and observed following. > > As I mentioned earlier by default we had opensaml2.6.4wasov2.jar in > plugins directory and I removed it. But there were an

Re: [Dev] [App Cloud] Custom Applications on AppCloud

2016-04-17 Thread Nishadi Kirielle
Hi, With the implemented feature we can input the above docker image url with the ports that should be exposed (http port and https port). Then the procedure is to pull the docker image and push it to the docker registry. Then it will follow the standard procedure in to deploy it in AppCloud.

Re: [Dev] How to exchange a SAML2 bearer token with OAuth2 token

2016-04-17 Thread Geesara Prathap
This is the issue[1] I am facing right now. Also, there is similar issue[2] which was encountered in APIM 1.10 1. https://gist.github.com/GPrathap/2326db6be8fcfeb09755abb136b4564a 2. https://wso2.org/jira/browse/APIMANAGER-4554 Thanks, Geesara

Re: [Dev] Cannot generate P2 metadata: P2 publisher return code was 13

2016-04-17 Thread Lasantha Fernando
Hi Damith, Were you able to get any more information from the log file mentioned in the above stack trace? log file location: /home/damith/.m2/repository/org/eclipse/tycho/tycho-p2- runtime/0.13.0/eclipse/configuration/1460895093502.log Can you post any error information in that log file as

[Dev] How to exchange a SAML2 bearer token with OAuth2 token

2016-04-17 Thread Geesara Prathap
Hi All, As an example, I enabled SSO in Dashboard Server and registered the portal app with the Identity Server by creating a service provider. So I was able to get SAML bearer assertion in SAML response. Then created an application in API Manager and combined the consumer key and consumer

Re: [Dev] Clarification about OSGi Bundle Picking

2016-04-17 Thread Danushka Fernando
Sorry I misread your first email. All the jars inside the plugins folder are installed as features. So yes definitely there will be a entry in bundles.info for each. That's why we use patches folder to patch jars in plugins folder. When you deleted a jar this bundles.info entry would not go away.

Re: [Dev] Secure vault for C5 ?

2016-04-17 Thread Niranjan Karunanandham
Hi Thilina, On Wed, Mar 30, 2016 at 12:19 PM, Thilina Piyasundara wrote: > Yes we can't use C4 approach. > We try to do it in docker environments but somehow we need to send the > password-tmp in to the dokcer (via puppet or environment variables). > > If we us docker volumes

Re: [Dev] Clarification about OSGi Bundle Picking

2016-04-17 Thread Chamila Wijayarathna
Hi all, So myself and Malithi dig this issue little bit and observed following. As I mentioned earlier by default we had opensaml2.6.4wasov2.jar in plugins directory and I removed it. But there were an entry in /repository/components/default/configuration/org.eclipse.equinox.simpleconfigurator/

Re: [Dev] Cannot generate P2 metadata: P2 publisher return code was 13

2016-04-17 Thread Damith Wickramasinghe
Hi Mohan, Maven version is 3.0.5. and java is 1.7 .Following is the complete trace i got. Command line: /bin/sh -c cd /home/damith/java/wso2-repos/latestCep/product-cep/modules/p2-profile-gen && /usr/lib/jvm/java-7-oracle/jre/bin/java -jar

Re: [Dev] Clarification about OSGi Bundle Picking

2016-04-17 Thread Malithi Edirisinghe
Hi Chamila, We have specified a version range which is [2.6.0,3.0.0). Both v1 and v2 versions get included for this range. Since we have not exactly specified that a particular bundle should pick only v2 version, the bundle could be wired to either v1 or v2 at runtime as per the availability.

Re: [Dev] Clarification about OSGi Bundle Picking

2016-04-17 Thread Thusitha Thilina Dayaratne
Hi Chamila, Did you export and import the correct versions ? Thanks Thusitha On Sat, Apr 16, 2016 at 1:11 PM, Chamila Wijayarathna wrote: > Hi all, > > IS-5.2.0-Beta uses opensaml2.6.4wasov2. I extracted a pack and > deleted opensaml2.6.4wasov2.jar from its

Re: [Dev] Clarification about OSGi Bundle Picking

2016-04-17 Thread Danushka Fernando
To make it pick v2 you need to import v2 from the bundle using it. Otherwise osgi will pick the first available version AFAIK. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun, Apr 17, 2016 at 1:41 AM, Chamila Wijayarathna

Re: [Dev] [BPS] Any idea to differentiate BPMN form property we should generate as text field and a textarea?

2016-04-17 Thread Firzhan Naqash
Hi Amalka, Well I can think of two ways to achieve this. 1. Check for the size of the string data and if it exceeds more than a predefined size, then you can define the text field of that property as text area. 2. Or you can define a custom property for the fields that you want to

Re: [Dev] Cannot generate P2 metadata: P2 publisher return code was 13

2016-04-17 Thread Mohanadarshan Vivekanandalingam
Hi Damith, I can see few mail threads related to this.. Seems like a maven version issue.. What is the maven version you are using here ? and can you add the complete error log please ? Thanks, Mohan On Sun, Apr 17, 2016 at 5:52 PM, Damith Wickramasinghe wrote: > Hi, > >

[Dev] [BPS] Any idea to differentiate BPMN form property we should generate as text field and a textarea?

2016-04-17 Thread Amalka Subasinghe
Hi, When implementing BPMN User Task I want to generate a form (from the form properties I define in User Task) with a *Textarea*. When going through the BPMN explorer code I found that, if the form property type is string then it generates the form as text field, if it is enum then it generates

[Dev] Cannot generate P2 metadata: P2 publisher return code was 13

2016-04-17 Thread Damith Wickramasinghe
Hi, I'm trying to build product CEP in a clean m2 repo. I have successfully built siddhi,carbon-event-processing,carbon-analytics-common and carbon-dashboards. But When building product CEP I'm getting below exception. Any idea what may be the cause of it ? [ERROR] Failed to execute goal