Re: java.lang.NoClassDefFoundError: org/apache/karaf/specs/locator/OsgiLocator when running as Service on RedHat 7.5

2018-07-24 Thread Oleg Cohen
in past week - Karaf on RHEL 7.5 and I had > no such problem - but I was building from the GitHub git repository ) > > Kind Regards, > Miroslav > > > 2018-07-24 17:11 GMT+02:00 Oleg Cohen <mailto:oleg.co...@assurebridge.com>>: > Greetings, > > I have deployed

java.lang.NoClassDefFoundError: org/apache/karaf/specs/locator/OsgiLocator when running as Service on RedHat 7.5

2018-07-24 Thread Oleg Cohen
Greetings, I have deployed Karaf v4.2.0 into a Linux RH 7.5 server. When I run Karaf as a service I get the following error in the log multiple times: 2018-07-24T11:07:12,176 | ERROR | features-3-thread-1 | Felix | - - | Bundle org.apache.felix.framework [0]

EIK for Karaf 4.1 vs Bndtools

2017-11-22 Thread Oleg Cohen
Greetings, I have been working with Bndtools for a while but ran into major JAR locking issues on Windows. Also, the more bundles I have in the application mix the more time it would take to rebuild dependencies. I took another look at EIK and I was able to get it to work for the latest

Re: WAB bundle doesn't fully start

2017-11-15 Thread Oleg Cohen
, Nov 15, 2017 at 5:45 AM, Oleg Cohen <oleg.co...@assurebridge.com> wrote: > Thank you for the info, JB. > > web:list doesn't show the contents of the deployed bundle, only the > summary info: > > ID | State | Web-State | Level

Re: WAB bundle doesn't fully start

2017-11-15 Thread Oleg Cohen
http:list and web:list commands. > > Anyway, if your MANIFEST contains Web-ContextPath, no need to have WEB-INF. > > Regards > JB > > On 11/15/2017 04:29 AM, Oleg Cohen wrote: > >> Hi JB, >> >> I was able to narrow it down. The issue is how the bundle is dep

Re: WAB bundle doesn't fully start

2017-11-14 Thread Oleg Cohen
Hi JB, I was able to narrow it down. The issue is how the bundle is deployed. I am using EIK with Eclipse and I suspect the WEB-INF/ folder is not deployed. Is there a way to list bundle contents in the Karaf console? Thank you! Oleg > On Nov 14, 2017, at 7:18 AM, Oleg Cohen <o

Re: WAB bundle doesn't fully start

2017-11-14 Thread Oleg Cohen
a test case ? Thanks. Regards JB On 11/14/2017 12:44 PM, Oleg Cohen wrote: Greetings, I wonder if anybody had the same problem. I have a WAB bundle and according to the log is started successfully. The state in the console is Active. org.eclipse.jetty.util - 9.3.14.v20161028 | S

WAB bundle doesn't fully start

2017-11-14 Thread Oleg Cohen
Greetings, I wonder if anybody had the same problem. I have a WAB bundle and according to the log is started successfully. The state in the console is Active. org.eclipse.jetty.util - 9.3.14.v20161028 | Started HttpServiceContext{httpContext=WebAppHttpContext{empower.platform.reference.app -

Re: Bundle in a Waiting state

2017-09-21 Thread Oleg Cohen
ohan Edstrom <seij...@gmail.com > <mailto:seij...@gmail.com>> wrote: > Try restarting that bundle and you should get some more info in the logs. > >> On Sep 21, 2017, at 3:18 PM, Oleg Cohen <oleg.co...@assurebridge.com >> <mailto:oleg.co...@assurebridge.c

Bundle in a Waiting state

2017-09-21 Thread Oleg Cohen
Greetings, I have a question. One of the 3rd party bundles I am deploying into Karaf (Apache Oak Core) is showing in a *Waiting* state in the Karaf shell: 846 │ *Waiting* │ 80 │ 1.6.4 │ Oak Core In the Web Console it is showing as *Active*. I am trying to understand the

Re: Error when running Karaf 4.1.1

2017-04-06 Thread Oleg Cohen
Oleg, > > what actions have been performed on Karaf ? > > The trace "org.jline" seems to indicate that a command or something happened > on the shell console. > > Regards > JB > > On 04/06/2017 04:01 PM, Oleg Cohen wrote: >> I am running Karaf 4

Re: Auto-activation of bundle when dependency updates

2017-04-06 Thread Oleg Cohen
ax.net> wrote: > > Hi Oleg, > > Do you use a ServiceTracker in the consumer bundle ? > > You should do this in order to be able to "react" when the provider service > is available. > > Regards > JB > > On 04/06/2017 03:35 PM, Oleg Cohen wrote: &

Error when running Karaf 4.1.1

2017-04-06 Thread Oleg Cohen
I am running Karaf 4.1.1 on MacOs with Java 8 (1.8.0_112). Once in a while (seemingly spontaneously) the Karaf process exists and I see the following error on the console: karaf@root()> Error executing command: org.jline.reader.LineReader.getBuffer()Lorg/jline/reader/impl/BufferImpl; The

Auto-activation of bundle when dependency updates

2017-04-06 Thread Oleg Cohen
Greetings, I have a situation where I have two bundles: a provider bundle and a consumer bundle. The consumer bundle depends on the provider bundle. When I redeploy the provider it activates fine, but the consumer bundle goes into Resolved state and needs to be started manually. I would

Release 4.1.1 binary

2017-04-01 Thread Oleg Cohen
Greetings, I see that there is 4.1.1 release (tag and an archive) available in Git. I was wondering if there is a binary distribution is available as well. I tried to build from source on Mac but ran into an issue with this dependency not being available: Could not find artifact

Re: Bundle/feature providing com.hazelcast.web package

2017-03-08 Thread Oleg Cohen
Hi, I checked. Celllar supplied packages don’t include com.hazelcast.web I added hazelcast-wm-3.8.jar fragment myself, however the hazelcast version in Karaf 4.0.8 is 3.7.2. I wasn’t able to locate hazelcast-wm-3.7.2.jar. Not sure if this discrepancy is responsible for multiple Hazelcast

Re: Multiple node in a cluster and number is growing

2017-03-08 Thread Oleg Cohen
On Mar 8, 2017, at 1:26 PM, Oleg Cohen <oleg.co...@assurebridge.com> wrote: > > Can it be related to session clustering? Should the info match in web.xml and > hazelcast.xml? > > Thank you, > Oleg > > Sent from my iPhone > >> On Mar 8, 2017, at 1:03 PM,

Re: Multiple node in a cluster and number is growing

2017-03-08 Thread Oleg Cohen
Yes, I use tcp with one interface. Sent from my iPhone > On Mar 8, 2017, at 12:45 PM, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Don't you use just interface in tcp ? > > Regards > JB > >> On 03/08/2017 06:41 PM, Oleg Cohen wrote: >> I am u

Re: Bundle/feature providing com.hazelcast.web package

2017-03-08 Thread Oleg Cohen
> for web (used for session clustering). > > Regards > JB > >> On 03/08/2017 03:20 PM, Oleg Cohen wrote: >> Greetings, >> >> I am trying to use Session Clustering and my bundle can't locate the >> *com.hazelcast.web* package. >> >> I get the

Re: Multiple node in a cluster and number is growing

2017-03-08 Thread Oleg Cohen
at join are you using > ? > > Regards > JB > >> On 03/08/2017 04:40 PM, Oleg Cohen wrote: >> Hello, >> >> I have two Karaf 4.0.8 instances running on the same Linux CentOS 7 server. >> >> in the course of some time the number of cluster nodes keeps on growing

Missing files when doing instance:create

2017-03-07 Thread Oleg Cohen
I have a clean installation of Karaf 4.1.0 on Linux CentOS with Java 1.8. When creating a node using instance:create -v test-01 I see a number of files are listed missing even though they are present in the main installation at the etc folder. Here is a sample output: Creating new instance on

<    1   2