Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
solution where this: Thanks to Achim Nierbeck On Tue, Aug 29, 2017 at 2:48 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > I tried adding this, to jetty.xml > > > > > > > > > but that just breaks everything, webconsole or my

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
I tried adding this, to jetty.xml but that just breaks everything, webconsole or my applications does not startup.. I do get the nice view of stats in jmx.. On Tue, Aug 29, 2017 at 1:17 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Okay I can now see I need to ge

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
Okay I can now see I need to get both the pax web configured http and https handler and add the statistics handler to them.. On Tue, Aug 29, 2017 at 1:06 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Hmm it does not seem to be a trivial task to add the statistics hander to > eit

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
Hmm it does not seem to be a trivial task to add the statistics hander to either 8181 or https.. Since they seem to be configured from somewhere else.. I will continue to digg.. But it's a little annoying that it's so hard getting connection statistics :( regards Nino On Tue, Aug 29, 2017 at 12

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
I cant really find something usefull.. Can it be that I need to add this: http://www.eclipse.org/jetty/documentation/9.4.6.v20170531/statistics-handler.html ? and im guessing that requires a restart of jetty after I have configured the jetty.xml? On Tue, Aug 29, 2017 at 11:00 AM, nino martinez w

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
Im trying :) Are there any changes needed to be done to be able to connect to a vanilla karaf, I've tried service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root But, visual vm says : cannot connect to service Ahh figured it out.. Had to specify user and password.. Am connected now.. Next s

Re: Karaf & Jetty?

2017-08-29 Thread Jean-Baptiste Onofré
Hi Nino, did you check using JMX (with jconsole for example) ? Regards JB On 08/29/2017 10:06 AM, nino martinez wael wrote: Hi We are having problems with a stalling web bundle. And it looks like either there are too many clients or the clients are behaving badly. Normally when the problem

Karaf & Jetty?

2017-08-29 Thread nino martinez wael
Hi We are having problems with a stalling web bundle. And it looks like either there are too many clients or the clients are behaving badly. Normally when the problem happens I would go grab some information from the webcontainer, I am unsure howto do so with the bundled jetty.. The only page tha

Re: Jetty + Jaas on Karaf (Jetty - Authenticated as UNAUTHENTICATED)

2016-02-11 Thread Charles Moulliard
Problem solved. On Wed, Feb 10, 2016 at 5:52 PM, Charles Moulliard wrote: > Hi, > > My project includes an AuthenticationFilter which is called when a HTTP > request is issued to perform a Basic HTTP Authentication. To support my > realm, I have added a new Blueprint JAAS file to configure the J

Jetty + Jaas on Karaf (Jetty - Authenticated as UNAUTHENTICATED)

2016-02-10 Thread Charles Moulliard
Hi, My project includes an AuthenticationFilter which is called when a HTTP request is issued to perform a Basic HTTP Authentication. To support my realm, I have added a new Blueprint JAAS file to configure the JAAS realm and also deployed a user properties file on Karaf I have added a bean to th

Re: Karaf 3.0.2: Serving static HTML with Karaf (Jetty)

2014-12-01 Thread Achim Nierbeck
It should, we need to upgrade to the latest Pax Web version :-) regards, Achim 2014-12-01 17:33 GMT+01:00 Frizz : > Thanks for your reply. > > So in Karaf 3.0.3 it's working again? > > On Mon, Dec 1, 2014 at 12:40 PM, Achim Nierbeck > wrote: > >> Hi, >> >> it's a known bug in Pax Web [1], and a

Re: Karaf 3.0.2: Serving static HTML with Karaf (Jetty)

2014-12-01 Thread Frizz
Thanks for your reply. So in Karaf 3.0.3 it's working again? On Mon, Dec 1, 2014 at 12:40 PM, Achim Nierbeck wrote: > Hi, > > it's a known bug in Pax Web [1], and already fixed there :-) > Will be available with next release of Pax Web and Karaf. > > regards, Achim > > [1] - https://ops4j1.jira

Re: Karaf 3.0.2: Serving static HTML with Karaf (Jetty)

2014-12-01 Thread Achim Nierbeck
Hi, it's a known bug in Pax Web [1], and already fixed there :-) Will be available with next release of Pax Web and Karaf. regards, Achim [1] - https://ops4j1.jira.com/browse/PAXWEB-738 2014-12-01 12:09 GMT+01:00 Frizz : > Since Karaf has Jetty included it shouldn't be too hard to make it serv

Karaf 3.0.2: Serving static HTML with Karaf (Jetty)

2014-12-01 Thread Frizz
Since Karaf has Jetty included it shouldn't be too hard to make it serve static HTML pages. Unfortunately I haven't figured out how to do it. Does someone have a config example or something like? I tried adding this to my jetty.xml - but it didn't work (-> HTTP ERROR: 404)

Re: Karaf-Jetty is not considering JAAS configuration from context xml

2013-01-30 Thread siv vasan
; org.eclipse.jetty.server.handler.ScopedHandler.doStart(ScopedHandler.java:115)[64:org.eclipse.jetty.server:7.6.7.v20120910] >> at >> >> org.eclipse.jetty.server.session.SessionHandler.doStart(SessionHandler.java:120)[64:org.eclipse.jetty.server:7.6.7.v20120910] >>

Re: Karaf-Jetty is not considering JAAS configuration from context xml

2013-01-30 Thread Achim Nierbeck
essionHandler.doStart(SessionHandler.java:120)[64:org.eclipse.jetty.server:7.6.7.v20120910] > at > > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[58:org.eclipse.jetty.util:7.6.7.v20120910] > at > > org.eclipse.jetty.server.handler.

Karaf-Jetty is not considering JAAS configuration from context xml

2013-01-29 Thread siv vasan
le.start(AbstractLifeCycle.java:64)[58:org.eclipse.jetty.util:7.6.7.v20120910] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[64:org.eclipse.jetty.server:7.6.7.v20120910] -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Jett

Re: karaf+jetty+https

2011-08-03 Thread Taro Fukunaga
22171.n3.nabble.com/karaf-jetty-https-tp3220425p3223361.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: karaf+jetty+https

2011-08-03 Thread Achim Nierbeck
Web available at [0.0.0.0]:[8181] > 14:46:45,708 | WARN  | g.ops4j.pax.web) | NIOSocketConnectorWrapper        | > ternal.NIOSocketConnectorWrapper   45 | 71 - org.ops4j.pax.web.pax-web-jetty > - 1.0.4 | Connection on port 8181 cannot be open. Reason: null > > > -- > View this

karaf+jetty+https

2011-08-02 Thread nutrition
45 | 71 - org.ops4j.pax.web.pax-web-jetty - 1.0.4 | Connection on port 8181 cannot be open. Reason: null -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-jetty-https-tp3220425p3220425.html Sent from the Karaf - User mailing list archive at Nabble.com.