Re: problem with SSH when launched in Tanuki

2016-03-29 Thread Benson Margulies
I found my mistake in the endorsed dir config in wrapper.conf. On Tue, Mar 29, 2016 at 5:02 PM, Benson Margulies wrote: > What does it look like in there? I bet you I do not. > > > On Tue, Mar 29, 2016 at 4:36 PM, Jean-Baptiste Onofré > wrote: > >>

Re: problem with SSH when launched in Tanuki

2016-03-29 Thread Benson Margulies
What does it look like in there? I bet you I do not. On Tue, Mar 29, 2016 at 4:36 PM, Jean-Baptiste Onofré wrote: > Check if you have JCE in your wrapper.conf. > > Regards > JB > > > On 03/29/2016 02:08 PM, Benson Margulies wrote: > >> When I 'wrap' my karaf container, I

Re: exported package in bundle A is not able to be imported in bundle B

2016-03-29 Thread asookazian2
I am seeing "Activator start error" when doing a feature:install xxx. What is recommended course of action? Just install the bundles one by one, in the top to bottom order from the features xml? Seems difficult to debug this way... -- View this message in context:

Re: problem with SSH when launched in Tanuki

2016-03-29 Thread Jean-Baptiste Onofré
Check if you have JCE in your wrapper.conf. Regards JB On 03/29/2016 02:08 PM, Benson Margulies wrote: When I 'wrap' my karaf container, I lose the ability to ssh to it at 8101: In java, I get a backtrace like the following. At the shell, I see ➜ package git:(master) ssh -p 8101

Re: exported package in bundle A is not able to be imported in bundle B

2016-03-29 Thread Tim Ward
Using an Activator minimises your module's dependencies, but at the expense of getting any help in this sort of situation. It's also really easy to make mistakes when doing it, and hard to get useful integration with things like configuration admin. I would always recommend that an application

Re: Run servlet in karaf

2016-03-29 Thread Charlie Mordant
Hi, Sure! At least using the war extender: https://ops4j1.jira.com/wiki/display/paxweb/WAR+Extender Regards 2016-03-29 17:32 GMT+02:00 Alioune : > Hi all, > Thanks Achim for your links. > > I've successfully tested Servlet 3 annotation but I prefere using Servlet > by

Re: Run servlet in karaf

2016-03-29 Thread Achim Nierbeck
Hi, of course, take a look at those various samples in the link I gave you. The helloworld-serlet3 has only been one, as example. You can do anything you like, though referencing OSGi services is a bit more trickier. regards, Achim 2016-03-29 17:32 GMT+02:00 Alioune : >

Re: Run servlet in karaf

2016-03-29 Thread Alioune
Hi all, Thanks Achim for your links. I've successfully tested Servlet 3 annotation but I prefere using Servlet by defining config in web.xml because I would like to use shiro filter for my servlet and I should be more complicated without web.xml. Is there a solution to configure PAX or

Re: Embedding Karaf in a WAR (Tomcat)

2016-03-29 Thread mjelen
Hi Nick, hi Tom, thank you for your answers, this looks like much more complete solution than I'd have had time to implement myself. We'll have a team starting work on a new webapp in a couple of weeks and your solution gives me confidence to point them this way after I take a closer look at

Re: Embedding Karaf in a WAR (Tomcat)

2016-03-29 Thread mjelen
Hi Serge, thank you for your reply! I'll look into the PAX Web Bridge, I guess the right place to talk about it is the OPS4J Google Group. I admit I haven't thought of looking at PAX Web for my purpose because I'd seen it as having the opposite purpose of what I'm looking for - that is,

problem with SSH when launched in Tanuki

2016-03-29 Thread Benson Margulies
When I 'wrap' my karaf container, I lose the ability to ssh to it at 8101: In java, I get a backtrace like the following. At the shell, I see ➜ package git:(master) ssh -p 8101 karaf@localhost Unable to negotiate with ::1: no matching cipher found. Their offer: It works fine when I launch the

Getting rid of basic auth for additional content via jetty.xml

2016-03-29 Thread Benson Margulies
When I access '/doc', it asked me to log in. I don't think it was doing that when I set this up the other day, but then again, browser caching can mislead. How can I turn it off? http://www.eclipse.org/jetty/configure_9_0.dtd;> https 32768 8192 8192 true

Re: exported package in bundle A is not able to be imported in bundle B

2016-03-29 Thread Tim Ward
The error that you've provided indicates a missing service dependency for a service exposing the com.foo.bar.myClass interface. You should investigate why this service is not present, or if it is, why bundle B has not wired to the same class space for package com.foo.bar as the service

Re: importing and exporting same package in same bundle

2016-03-29 Thread Tim Ward
Hello, Having both an export and an import declared for a package is not an error, and the behaviour is explicitly defined in the OSGi core specification. The process of importing and exporting a package is known as making the package "substitutable". When you have both an export and an

RE: importing and exporting same package in same bundle

2016-03-29 Thread CLEMENT Jean-Philippe
Hello, For sure if the import is not necessary, then remove it :) You may "ask" maven-bundle-plugin not to generate the import or you may put the dependency generating the import as optional. JP -Message d'origine- De : asookazian2 [mailto:asookaz...@gmail.com] Envoyé : mardi 29 mars