[Dev] Using Postgresql gives startup error in Kernel 4.4.33

2018-08-06 Thread Senthalan Kanagalingam
Hi all,

I have currently testing wso2 IS 5.7.0-alpha with different databases. When
starting with Postgresql give the error[1]. I have followed the instruction
from the administration guide [2]. When tried out with IS 5.6.0 with the
same configuration it works perfectly. So I tried to build with each
milestone release and it started to fail in IS 5.7.0-m5, where we have
updated the kernel version to 4.4.33.

To confirm, I have rebuilt the latest product-is with kernel version
4.4.32. There were no startup errors. So we have to analyse the database
related changes between kernel 4.4.32 and 4.4.33.

[1] - https://github.com/wso2/product-is/issues/3545
[2] - https://docs.wso2.com/display/ADMIN44x/Changing+to+PostgreSQL

thanks,
Senthalan.
-- 

*Senthalan Kanagalingam*
*Software Engineer - WSO2 Inc.*
*Mobile : +94 (0) 77 18 77 466*

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Requesting suggestions for micro integrator secure vault script name

2018-08-06 Thread Arshardh Ifthikar
Hi all,
The Micro Integrator profile of the Enterprise Integrator, did not support
secure vault [1]. One reason for this was, the absence of an user interface
to add new entries to the secure vault.

Since the micro integrator does not consist of a management console, users
will be given the opportunity to add entries to the micro integrator secure
vault via executing a script. Once the user enters the alias and the
password, the entry will be stored in the micro integrator registry as
properties, and will be used subsequently for the vault-lookup function.

[image: image.png]

The above mentioned script located within the micro integrator bin folder,
needs an appropriate name. This particular script is currently named, "
*securevault*". Please mention any suggestions for a different name.

[1]
https://docs.wso2.com/display/EI630/Working+with+Passwords+in+the+ESB+profile

Thanks,
Arshardh

-- 
*Arshardh Ifthikar*
Software Engineer | WSO2 Inc.

Email: arsha...@wso2.com
Mobile: +94719806525
Web: http://wso2.com


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Godwin Shrimal
On Mon, Aug 6, 2018 at 4:42 PM Prakhash Sivakumar  wrote:

>
> On Mon, Aug 6, 2018 at 9:02 PM Godwin Shrimal  wrote:
>
>>
>>
>> On Mon, Aug 6, 2018 at 2:22 PM Prakhash Sivakumar 
>> wrote:
>>
>>>
>>>
>>> On Mon, Aug 6, 2018 at 2:19 PM Godwin Shrimal  wrote:
>>>
 I don't see any value in printing product name for every logline. We
 already printing product name once server started. Please see the example
 below.

 [2018-08-06 09:48:08,391]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -
 Server   :  WSO2 Identity Server-5.1.0

>>>
>>> I think there might be situations like identifying log files when we are
>>> doing the log file rotation, as those log files won't be having the startup
>>> logs, it might be difficult to identify the files if we are not properly
>>> handling it.
>>>
>>> In that case I think printing product names in the new log file when
>>> starting the log file rotation would help.
>>>
>>
>> I am not clear how printing productname in each line help for log
>> rotation. Can you explain using an example ?
>>
> What I was suggesting is printing the product name when creating a new
> file every time during the rotation. It will appear only once in the log
> file.(not in each line)
>

Ok, I understand wht you are telling now, once log rotated, we cannot have
any log entry identify product name.

>
> I think Gayan's requirement also should be something similar. @Gayan can
> you please elaborate if you have any other requirements
>
Yes. Can you explain what you are trying to acheive here ?

Thanks
Godwin



>
> Thanks.
>
>>
>> Thanks
>> Godwin
>>
>>
>>
>>>

 Thanks
 Godwin

 On Mon, Aug 6, 2018 at 5:50 AM Rushmin Fernando 
 wrote:

> Hi Gayan,
>
> What's the requirement behind this? And are you expecting a one time
> log or the product name for every logline?
>
> On Mon, Aug 6, 2018 at 12:43 PM gayan gunawardana <
> gmgunaward...@gmail.com> wrote:
>
>> Hi Devs,
>>
>> Appreciate your input regarding $subject.
>>
>> --
>> Gayan
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> *Best Regards*
>
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> mobile : +94775615183
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


 --
 *Godwin Amila Shrimal*
 Associate Technical Lead
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: *+94772264165*
 linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
 *
 twitter: https://twitter.com/godwinamila
 
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev

>>>
>>>
>>> --
>>> Prakhash Sivakumar
>>> Senior Software Engineer | WSO2 Inc
>>> Platform Security Team
>>> Mobile : +94771510080
>>> Blog : https://medium.com/@PrakhashS
>>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> *
>> twitter: https://twitter.com/godwinamila
>> 
>>
>
>
> --
> Prakhash Sivakumar
> Senior Software Engineer | WSO2 Inc
> Platform Security Team
> Mobile : +94771510080
> Blog : https://medium.com/@PrakhashS
>


-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
*
twitter: https://twitter.com/godwinamila

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Prakhash Sivakumar
On Mon, Aug 6, 2018 at 9:02 PM Godwin Shrimal  wrote:

>
>
> On Mon, Aug 6, 2018 at 2:22 PM Prakhash Sivakumar 
> wrote:
>
>>
>>
>> On Mon, Aug 6, 2018 at 2:19 PM Godwin Shrimal  wrote:
>>
>>> I don't see any value in printing product name for every logline. We
>>> already printing product name once server started. Please see the example
>>> below.
>>>
>>> [2018-08-06 09:48:08,391]  INFO
>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -
>>> Server   :  WSO2 Identity Server-5.1.0
>>>
>>
>> I think there might be situations like identifying log files when we are
>> doing the log file rotation, as those log files won't be having the startup
>> logs, it might be difficult to identify the files if we are not properly
>> handling it.
>>
>> In that case I think printing product names in the new log file when
>> starting the log file rotation would help.
>>
>
> I am not clear how printing productname in each line help for log
> rotation. Can you explain using an example ?
>
What I was suggesting is printing the product name when creating a new file
every time during the rotation. It will appear only once in the log
file.(not in each line)

I think Gayan's requirement also should be something similar. @Gayan can
you please elaborate if you have any other requirements

Thanks.

>
> Thanks
> Godwin
>
>
>
>>
>>>
>>> Thanks
>>> Godwin
>>>
>>> On Mon, Aug 6, 2018 at 5:50 AM Rushmin Fernando 
>>> wrote:
>>>
 Hi Gayan,

 What's the requirement behind this? And are you expecting a one time
 log or the product name for every logline?

 On Mon, Aug 6, 2018 at 12:43 PM gayan gunawardana <
 gmgunaward...@gmail.com> wrote:

> Hi Devs,
>
> Appreciate your input regarding $subject.
>
> --
> Gayan
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


 --
 *Best Regards*

 *Rushmin Fernando*
 *Technical Lead*

 WSO2 Inc.  - Lean . Enterprise . Middleware

 mobile : +94775615183


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev

>>>
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>>> *
>>> twitter: https://twitter.com/godwinamila
>>> 
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>>
>> --
>> Prakhash Sivakumar
>> Senior Software Engineer | WSO2 Inc
>> Platform Security Team
>> Mobile : +94771510080
>> Blog : https://medium.com/@PrakhashS
>>
>
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
>


-- 
Prakhash Sivakumar
Senior Software Engineer | WSO2 Inc
Platform Security Team
Mobile : +94771510080
Blog : https://medium.com/@PrakhashS
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Godwin Shrimal
On Mon, Aug 6, 2018 at 2:22 PM Prakhash Sivakumar  wrote:

>
>
> On Mon, Aug 6, 2018 at 2:19 PM Godwin Shrimal  wrote:
>
>> I don't see any value in printing product name for every logline. We
>> already printing product name once server started. Please see the example
>> below.
>>
>> [2018-08-06 09:48:08,391]  INFO
>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -
>> Server   :  WSO2 Identity Server-5.1.0
>>
>
> I think there might be situations like identifying log files when we are
> doing the log file rotation, as those log files won't be having the startup
> logs, it might be difficult to identify the files if we are not properly
> handling it.
>
> In that case I think printing product names in the new log file when
> starting the log file rotation would help.
>

I am not clear how printing productname in each line help for log rotation.
Can you explain using an example ?


Thanks
Godwin



>
>>
>> Thanks
>> Godwin
>>
>> On Mon, Aug 6, 2018 at 5:50 AM Rushmin Fernando  wrote:
>>
>>> Hi Gayan,
>>>
>>> What's the requirement behind this? And are you expecting a one time log
>>> or the product name for every logline?
>>>
>>> On Mon, Aug 6, 2018 at 12:43 PM gayan gunawardana <
>>> gmgunaward...@gmail.com> wrote:
>>>
 Hi Devs,

 Appreciate your input regarding $subject.

 --
 Gayan
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev

>>>
>>>
>>> --
>>> *Best Regards*
>>>
>>> *Rushmin Fernando*
>>> *Technical Lead*
>>>
>>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>>
>>> mobile : +94775615183
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> *
>> twitter: https://twitter.com/godwinamila
>> 
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> Prakhash Sivakumar
> Senior Software Engineer | WSO2 Inc
> Platform Security Team
> Mobile : +94771510080
> Blog : https://medium.com/@PrakhashS
>


-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
*
twitter: https://twitter.com/godwinamila

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Prakhash Sivakumar
On Mon, Aug 6, 2018 at 2:19 PM Godwin Shrimal  wrote:

> I don't see any value in printing product name for every logline. We
> already printing product name once server started. Please see the example
> below.
>
> [2018-08-06 09:48:08,391]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -
> Server   :  WSO2 Identity Server-5.1.0
>

I think there might be situations like identifying log files when we are
doing the log file rotation, as those log files won't be having the startup
logs, it might be difficult to identify the files if we are not properly
handling it.

In that case I think printing product names in the new log file when
starting the log file rotation would help.

>
>
> Thanks
> Godwin
>
> On Mon, Aug 6, 2018 at 5:50 AM Rushmin Fernando  wrote:
>
>> Hi Gayan,
>>
>> What's the requirement behind this? And are you expecting a one time log
>> or the product name for every logline?
>>
>> On Mon, Aug 6, 2018 at 12:43 PM gayan gunawardana <
>> gmgunaward...@gmail.com> wrote:
>>
>>> Hi Devs,
>>>
>>> Appreciate your input regarding $subject.
>>>
>>> --
>>> Gayan
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>
>>
>> --
>> *Best Regards*
>>
>> *Rushmin Fernando*
>> *Technical Lead*
>>
>> WSO2 Inc.  - Lean . Enterprise . Middleware
>>
>> mobile : +94775615183
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> *Godwin Amila Shrimal*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
> *
> twitter: https://twitter.com/godwinamila
> 
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Prakhash Sivakumar
Senior Software Engineer | WSO2 Inc
Platform Security Team
Mobile : +94771510080
Blog : https://medium.com/@PrakhashS
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Godwin Shrimal
I don't see any value in printing product name for every logline. We
already printing product name once server started. Please see the example
below.

[2018-08-06 09:48:08,391]  INFO
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -
Server   :  WSO2 Identity Server-5.1.0

Thanks
Godwin

On Mon, Aug 6, 2018 at 5:50 AM Rushmin Fernando  wrote:

> Hi Gayan,
>
> What's the requirement behind this? And are you expecting a one time log
> or the product name for every logline?
>
> On Mon, Aug 6, 2018 at 12:43 PM gayan gunawardana 
> wrote:
>
>> Hi Devs,
>>
>> Appreciate your input regarding $subject.
>>
>> --
>> Gayan
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> *Best Regards*
>
> *Rushmin Fernando*
> *Technical Lead*
>
> WSO2 Inc.  - Lean . Enterprise . Middleware
>
> mobile : +94775615183
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
*
twitter: https://twitter.com/godwinamila

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev