Re: Karaf 4.0.7 and ActiveMQ 5.14.1

2016-12-22 Thread devilstorm
Hi Jean,

Any news on the issue? Facing the same problem with 5.14.2

Regards,
Thomas



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-4-0-7-and-ActiveMQ-5-14-1-tp4048591p4049076.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Re: Decanater alert e-mail configuration

2016-12-22 Thread Jean-Baptiste Onofré

Hi Souciance,

you can track progress on this defect:

https://issues.apache.org/jira/browse/KARAF-4906

I started to fix it, it will be included in Decanter 1.4.0 (planned for 
next week).


Regards
JB

On 12/22/2016 05:06 PM, souciance wrote:

Hi Jean-Baptiste

I just wanted to check if there was a fix for this or will that be part of
next release?

Best
Souciance



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Decanter-alert-e-mail-configuration-tp4048599p4049074.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Decanater alert e-mail configuration

2016-12-22 Thread souciance
Hi Jean-Baptiste

I just wanted to check if there was a fix for this or will that be part of
next release?

Best
Souciance



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Decanter-alert-e-mail-configuration-tp4048599p4049074.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Re: Unable to configure pool with more connections using dbcp2 and EL-2.6.2 - SOLVED

2016-12-22 Thread Timothy Ward
Can I recommend the Apache Aries Transaction Control Project as a much simpler 
way to configure and manage JPA resources. This is the prototype Reference 
Implementation for the upcoming OSGi standard, and allows you to do all of your 
JPA configuration using Configuration Admin, rather than statically in the 
persistence.xml. It has built-in support for connection pooling, and provides 
active resource management so that you don’t need to worry about 
entitymanager/connection leaks.

Feel free to take a look at the documentation here: 
http://aries.apache.org/modules/transactioncontrol.html 


Regards,

Tim

> On 22 Dec 2016, at 07:30, Jörn Gersdorf  wrote:
> 
> Hi Erwin,
> 
> this is issue PAXJDBC-105 
> 
>  which is fixed in not-yet-released master.
> 
> Cheers
> - Jörn
> 
> On Thu, Dec 22, 2016 at 3:25 AM, Erwin Hogeweg  > wrote:
> After looking through the dbcp2 source code I discovered that the pool 
> properties need to be prepended by 'jdbc.' So:
> 
> jdbc.pool.maxTotal=23
> jdbc.pool.maxIdle=-1
> 
> Even now that I know this I am unable to find any documentation describing 
> this properties (other than the GenericObjectPoolConfig JavaDoc.
> 
> 
> Erwin
> 
>> On Dec 21, 2016, at 11:04 AM, Erwin Hogeweg > > wrote:
>> 
>> 
>> All,
>> 
>> Apologies for cross-posting this from the opsj4 list. Hoping to reach a 
>> slightly bigger crowd here.
>> 
>> The bottom line is that I can’t figure out how to configure more than 8 
>> (anything else than 8 I should say) DB connections. 
>> 
>> Christian helped me out a while ago setting up a DataSource with mysql, and 
>> that works perfectly. However, now I need to increase the connection pool 
>> size but I can't figure it out. I tried a bunch of things, following the 
>> instructions on the wiki, but to no avail. I always see max. 8 connections 
>> in mysql workbench, no matter how many I have configured.
>> 
>> I this in my datasource config:
>> 
>> pool.initialSize=11
>> pool.maxTotal=23
>> 
>> and this in my persistence.xml:
>> 
>>  
>> 
>>  
>> 
>>  > /> 
>> 
>>   
>> 
>>   
>> 
>> 
>> These are the jdbc bundles:
>> id   State   Bundle
>> 57   ACTIVE  org.ops4j.pax.jdbc_0.9.0
>> 58   ACTIVE  org.ops4j.pax.jdbc.pool.dbcp2_0.9.0
>> 59   ACTIVE  org.ops4j.pax.jdbc.config_0.9.0
>> 60   ACTIVE  org.ops4j.pax.jdbc.pool.common_0.9.0
>> 63   ACTIVE  com.mysql.jdbc_5.1.40
>> g! 
>> 
>> Just FYI - It doesn't make a difference when I include the pax-jdbc-mysql 
>> bundle because the com.mysql.jdbc also registers the DSFactories.
>> 
>> And this is the DataSource service:
>> g! services javax.sql.DataSource
>> {javax.sql.DataSource}={user=user, osgi.jndi.service.name 
>> =jdbc/mynonjta, 
>> dataSourceName=jdbc/mynonjta, databaseName=database, 
>> url=jdbc:mysql://my_db_server: <>3306/database, 
>> service.pid=org.ops4j.datasource.81aed1e6-e5e3-4398-a67b-2e23b22e96b2, 
>> service.factoryPid=org.ops4j.datasource, password=password, 
>> pool.maxTotal=23, osgi.jdbc.driver.class=com.mysql.jdbc.Driver-pool, 
>> felix.fileinstall.filename=file:/Users/erwin/work/.../org.ops4j.datasource-my.cfg,
>>  pool.initialSize=11, service.id =139, 
>> service.bundleid=59, service.scope=singleton}
>>   "Registered by bundle:" org.ops4j.pax.jdbc.config_0.9.0 [59]
>>   "Bundles using service"
>> org.apache.aries.jpa.container_2.3.0 [51]
>> 
>> So everything works perfectly… with 8, and only 8 connections.
>> 
>> Does anyone see what I am missing?
>> 
>> As always, your help is greatly appreciated.
>> 
>> BTW... I am using RESOURCE-LOCAL transaction-type.
>> 
>> EL-2.6.2
>> Equinox-3.10
>> Java-8
>> MacOS Sierra
>> 
>> 
>> Thanks and Happy Holidays,
>> 
>> Erwin
> 
> 



Re: SSH Audit

2016-12-22 Thread conejo
Hi.
But can you get the ip that tried the connection?

Thank you.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/SSH-Audit-tp4049070p4049072.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Re: SSH Audit

2016-12-22 Thread Jean-Baptiste Onofré
Hi

Yes
Audit log is available and via eventadmin too.

Regards 
JB⁣​

On Dec 22, 2016, 11:55, at 11:55, conejo  wrote:
>Hi.
>Is there any way to audit ssh connections?
>I would like to get logs that display the IP and the user who tried the
>connection.
>I would also like to make statistics (using decanter probably) in which
>they
>will show the IPs that are most connected, the users that connect the
>most,
>the average time of connection by IP, ...
>In short we would like to know statistics of access to the system via
>ssh
>(or any method).
>
>Could you give me some starting point?
>
>
>
>--
>View this message in context:
>http://karaf.922171.n3.nabble.com/SSH-Audit-tp4049070.html
>Sent from the Karaf - User mailing list archive at Nabble.com.


SSH Audit

2016-12-22 Thread conejo
Hi.
Is there any way to audit ssh connections?
I would like to get logs that display the IP and the user who tried the
connection.
I would also like to make statistics (using decanter probably) in which they
will show the IPs that are most connected, the users that connect the most,
the average time of connection by IP, ...
In short we would like to know statistics of access to the system via ssh
(or any method).

Could you give me some starting point?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/SSH-Audit-tp4049070.html
Sent from the Karaf - User mailing list archive at Nabble.com.