JDBC Pool problem

2017-06-13 Thread Bellski
Hello. Can't understand how to make pooled datasource. installed pax-jdbc-pool-dbcp2, pax-jdbc-config and etc I make org.ops4j.pool.datasource-db.cfg osgi.jdbc.driver.name = PostgreSQL JDBC Driver-pool dataSourceName=db serverName = localhost portNumber = 5432 databaseName = db user = user

DOSGI - Register interceptors for curent service.

2017-05-25 Thread Bellski
Hello. I dunno how to communicate with DOSGI devs, so asking here. I need add Interceptor to the current Service or Feature to the Service. Now interceptors adding to Bus. -- View this message in context:

Re: Feature bundle not installing

2017-04-06 Thread Bellski
My fault, thanks =) Didn't find property="true" explanation in the karaf documentation. -- View this message in context: http://karaf.922171.n3.nabble.com/Feature-bundle-not-installing-tp4050048p4050050.html Sent from the Karaf - User mailing list archive at Nabble.com.

Feature bundle not installing

2017-04-06 Thread Bellski
Hello, feature not installing bundle dependency. Attached video (5mb) installing-feature.mp4 google drive -- View this message in context:

Bugs with bundle wrap in a feature

2016-08-13 Thread Bellski
Karaf 4.0.5 Wrapper ignore all metadata and installing bundle with version 0 Karaf 4.0.4 Wrapper ignoring Export-Package -- View this message in context: http://karaf.922171.n3.nabble.com/Bugs-with-bundle-wrap-in-a-feature-tp4047515.html Sent from the Karaf - User mailing list archive at

Re: Upgrading feature

2016-08-11 Thread Bellski
Found. need to add -u "feature:install -u /X.X.X" -- View this message in context: http://karaf.922171.n3.nabble.com/Upgrading-feature-tp4047490p4047495.html Sent from the Karaf - User mailing list archive at Nabble.com.

Upgrading feature

2016-08-11 Thread Bellski
As i know from documentation, feature can be upgraded. When i installing a new version it installing same bundles with a new version not updating old. Mb I'm doing something or Karaf doesn't support that feature? I just want to update only changed bundles. Kind of diff from old version to a new

org.apache.karaf.jaas.modules - 3.0.6 | Unable to encrypt user properties file

2016-08-09 Thread Bellski
After 7 days of uptime karaf is freezing because can't open users.properties. I don't use JAAS. -- View this message in context: http://karaf.922171.n3.nabble.com/org-apache-karaf-jaas-modules-3-0-6-Unable-to-encrypt-user-properties-file-tp4047469.html Sent from the Karaf - User mailing

Cant create JDBC DS (4.0.2)

2015-11-09 Thread Bellski
Hello. After executing jdbc command ds-create -dn postgres -u user -p password -url 192.168.1.167:5432/db dbName jdbc:ds-list is empty. ds-create -dn derby dName - doesn't work too. -- View this message in context: http://karaf.922171.n3.nabble.com/Cant-create-JDBC-DS-4-0-2-tp4043368.html

Jetty Session timeout

2014-12-29 Thread Bellski
Hello. How to set session timeout for jetty. Web.xml doesnt work. Is it possible to configure jetty like org.ops4j.pax.web.session.timeout=720 ? -- View this message in context: http://karaf.922171.n3.nabble.com/Jetty-Session-timeout-tp4037460.html Sent from the Karaf - User mailing list

Re: Jetty Session timeout

2014-12-29 Thread Bellski
Achim Nierbeck wrote yep, it's org.ops4j.pax.web.session.timeout can also be found at the Pax Web documentation [1] regards, Achim As i right understoon. I created org.ops4j.pax.web.cfg in /karaf_home/etc/ and put org.osgi.service.http.port=8080 org.ops4j.pax.web.session.timeout=1 Port

Re: Karaf 4.0.0M1 wont resolve random bundles after crush

2014-12-10 Thread Bellski
I did some experement. Glassfish 4 and Karaf 3.0.2 have the same felix version 4.2.1. Bundles in glassfish works fine after crash. I moved felix.jar from glassfish to karaf, Karaf still wont resolving bundles which installed before crash. Glassfish 3.1.2.2 has felix 4.0.2. I moved felix.jar

Re: Karaf 4.0.0M1 wont resolve random bundles after crush

2014-12-10 Thread Bellski
jbonofre wrote Did you try on Karaf using Equinox ? As I said in my previous e-mail, we directly leverage the framework for bundle management. Anyway, I re-open the Jira about this to double check. Yes, it works with strange, but it works. I wrote in another mail about permanent Karaf

Re: Karaf 4.0.0M1 wont resolve random bundles after crush

2014-12-10 Thread Bellski
Gimme time. I'll all tests -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-0M1-wont-resolve-random-bundles-after-crush-tp4036956p4037104.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf 4.0.0M1 wont resolve random bundles after crush

2014-12-10 Thread Bellski
You absolutely right. I think it's problem in first configuration from my plugin. Any way why it works on all versions of Glassfish and Equinox :/ Sry for wasting your time. -- View this message in context:

Re: Karaf 4.0.0M1 wont resolve random bundles after crush

2014-12-10 Thread Bellski
jbonofre wrote Thanks again for the update. Can you share what you found about your plugin configuration as it can be helpful for other users ? Regarding obr yes: in your features XML,  on a feature/ element you can define resolver=obr. If the obr feature is installed and you have obr

Re: Karaf 4.0.0M1 wont resolve random bundles after crush

2014-12-10 Thread Bellski
which right ? ?xml version=1.0 encoding=UTF-8 standalone=yes? features xmlns=http://karaf.apache.org/xmlns/features/v1.3.0; name=cas2-1.0.0 feature name=cas2 description=cas2 version=1.0.0 *resolverobr/resolver* detailscas2/details bundle

Cannot install war feature Karaf 3.0.2

2014-12-09 Thread Bellski
Karaf version: 3.0.2 OS: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux JVM: 1.7 latest Cant install war feature :/ karaf@root() feature:install -v war Installing feature war 3.0.2 Installing feature http 3.0.2 Installing feature pax-http 3.1.2 Installing feature pax-jetty

Re: Cannot install war feature Karaf 3.0.2

2014-12-09 Thread Bellski
Achim Nierbeck wrote The manual installation of XBean 4 doesn't really help either ;-) as the failure explicitly asks for a lower version. package:((package=org.apache.xbean.finder)(version=3.18.0) (!(version=4.0.0))) OPS4J Pax Web - Extender - WAR/* You are ahead of me ;) Yes by

Re: Cannot install war feature Karaf 3.0.2

2014-12-09 Thread Bellski
Nothing special. U did what? Killed karaf after bundle installation, or its about karaf state? Regards karaf state, I think problem in one of bundles. -- View this message in context: http://karaf.922171.n3.nabble.com/Cannot-install-war-feature-Karaf-3-0-2-tp4037074p4037086.html Sent from

Karaf 4.0.0M1 wont resolve random bundles after crush

2014-12-04 Thread Bellski
Hello. I have two problems which stops our company migrate to the Karaf. *Karaf version:* 4.0.0.0M1 *OS:* Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.32-1 x86_64 GNU/Linux *JVM:* 1.7 latest 1. If deploy bundle from file system or from obr , then kill karaf without normal shutdown and start. Karaf will

Re: Karaf 4.0.0M1 wont resolve random bundles after crush

2014-12-04 Thread Bellski
jbonofre wrote Do you use Felix as framework ? Yeap. By karaf default jbonofre wrote Unfortunately, the bundle cache of the framework get corrupted (it's not directly a Karaf bug, but more a framework bug). We're using Glassfish. Glassfish uses Felix and we never had problems with

Re: Karaf 4.0.0M1 wont resolve random bundles after crush

2014-12-04 Thread Bellski
jbonofre wrote Regarding Glassfish, the Felix version is the same as in Karaf 2.1: yes Glassfish uses a very old Felix version. So you can make a try with Karaf 2.3.x, I'm pretty sure that you won't see the problem. It seems that we encounter this problem since Felix 4.x. Good new ;) I