You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by "Ulrich Schmidt(Public)" <Ul...@gombers.de> on 2012/09/26 15:34:45 UTC

Setup Felix Web Console with Apache HTTP Server

I’m about to install Adobe CQ5, but it fails to start the authentication
service. It is recommend to supervise CQ5 by an OSGi-Console. So I started to
implement the Felix Web Console 4.0.0.

At last I was able to start the bundles:
g! START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.0.3)
    1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
    2|Active     |    1|Apache Felix Gogo Command (0.12.0)
    3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
    4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
    7|Active     |    1|Commons FileUpload (1.2.2)
    8|Active     |    1|Servlet API Bundle (3.0.0.v201103241009)
    9|Active     |    1|Apache Felix Web Management Console (4.0.0)
   10|Active     |    1|Apache Commons IO (1.4.0)
   11|Active     |    1|Apache Geronimo Bundles: json-20090211 (20090211.0.0.1)
   13|Active     |    1|Apache Felix Http Bundle (2.2.0)
   14|Active     |    1|Apache Felix Configuration Admin Service (1.4.0)

I understand from the docs
(http://felix.apache.org/site/apache-felix-web-console.html, chapter
Configuration of the OSGi Http Service), that it should provide a listener at
the port described by conf/config.properties:org.osgi.service.http.port.
But I really can't see any listener at the assigned port (8088).
Neither do I understand the connection to the HTTP Server. Where does it join
the game, is there something to be done to get it to work whatever it should do.

Ulrich

Re: Setup Felix Web Console with Apache HTTP Server

Posted by Justin Edelson <ju...@justinedelson.com>.
Hi Ulrich,
Perhaps I misunderstood, but you wrote "[i]t is recommend to supervise CQ5
by an OSGi-Console" which is not, AFAIK, a recommendation made in the Felix
documentation.

Regardless, I'm glad you got it working.

Justin

On Wed, Sep 26, 2012 at 3:50 PM, Ulrich Schmidt(Public) <
Ulrich-Public@gombers.de> wrote:

> **
>  Hello Justin,
>  the recommendation about the HTTP-server didn't come from CQ5 but from
> the cited felix webpage. But maybe I really didn't get it right. I'm still
> not sure about it but in the meantime I think the author sugested to run
> the it as a  service as well. That's the only sense I can get from this.
>
> So I didn't ask a CQ5 question here. I just wanted to get the felix
> webconsole to run.But nevertheless thank you for the link.
>
>  In the meantime I was successful; it's active now. I've replaced the http
> service recommended from the felix download page by the jetty http service
> "org.apache.felix.http.jetty-2.2.0.jar". Just for documentation reason; I'm
> running the following bundles now:
>  START LEVEL 1
>    ID|State      |Level|Name
>     0|Active     |    0|System Bundle (4.0.3)
>     1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
>     2|Active     |    1|Apache Felix Gogo Command (0.12.0)
>     3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
>     4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
>     7|Active     |    1|Commons FileUpload (1.2.2)
>     8|Active     |    1|Servlet API Bundle (3.0.0.v201103241009)
>     9|Active     |    1|Apache Felix Web Management Console (4.0.0)
>    10|Active     |    1|Apache Commons IO (1.4.0)
>    11|Active     |    1|Apache Geronimo Bundles: json-20090211
> (20090211.0.0.1)
>    14|Active     |    1|Apache Felix Configuration Admin Service (1.4.0)
>    17|Active     |    1|Apache Felix Http Jetty (2.2.0)
>
>  best regards,
>  Ulrich
>
>
>
> Justin Edelson <ju...@justinedelson.com> hat am 26. September 2012 um
> 16:35 geschrieben:
>
> Ulrich-
> I think you've misunderstood the recommendation - I suspect that what was
> intended was that you would look at the Web Console included with CQ5, not
> a separate installation of Felix.
>
> Would suggest you post CQ-specific questions at
> http://forums.adobe.com/community/digital_marketing_suite/cq5
>
> Regards,
> Justin
>
>  On Wed, Sep 26, 2012 at 2:34 PM, Ulrich Schmidt(Public) <
> Ulrich-Public@gombers.de> wrote:
>
> I’m about to install Adobe CQ5, but it fails to start the authentication
> service. It is recommend to supervise CQ5 by an OSGi-Console. So I started
> to
> implement the Felix Web Console 4.0.0.
>
> At last I was able to start the bundles:
> g! START LEVEL 1
>    ID|State      |Level|Name
>     0|Active     |    0|System Bundle (4.0.3)
>     1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
>     2|Active     |    1|Apache Felix Gogo Command (0.12.0)
>     3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
>     4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
>     7|Active     |    1|Commons FileUpload (1.2.2)
>     8|Active     |    1|Servlet API Bundle (3.0.0.v201103241009)
>     9|Active     |    1|Apache Felix Web Management Console (4.0.0)
>    10|Active     |    1|Apache Commons IO (1.4.0)
>    11|Active     |    1|Apache Geronimo Bundles: json-20090211
> (20090211.0.0.1)
>    13|Active     |    1|Apache Felix Http Bundle (2.2.0)
>    14|Active     |    1|Apache Felix Configuration Admin Service (1.4.0)
>
> I understand from the docs
> ( http://felix.apache.org/site/apache-felix-web-console.html, chapter
> Configuration of the OSGi Http Service), that it should provide a listener
> at
> the port described by conf/config.properties:org.osgi.service.http.port.
> But I really can't see any listener at the assigned port (8088).
> Neither do I understand the connection to the HTTP Server. Where does it
> join
> the game, is there something to be done to get it to work whatever it
> should do.
>
> Ulrich
>
>
>
>

Re: Setup Felix Web Console with Apache HTTP Server

Posted by "Ulrich Schmidt(Public)" <Ul...@gombers.de>.
Hello Justin,
the recommendation about the HTTP-server didn't come from CQ5 but from the cited
felix webpage. But maybe I really didn't get it right. I'm still not sure about
it but in the meantime I think the author sugested to run the it as a  service
as well. That's the only sense I can get from this.

So I didn't ask a CQ5 question here. I just wanted to get the felix webconsole
to run.But nevertheless thank you for the link.

In the meantime I was successful; it's active now. I've replaced the http
service recommended from the felix download page by the jetty http service
"org.apache.felix.http.jetty-2.2.0.jar". Just for documentation reason; I'm
running the following bundles now:
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.0.3)
    1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
    2|Active     |    1|Apache Felix Gogo Command (0.12.0)
    3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
    4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
    7|Active     |    1|Commons FileUpload (1.2.2)
    8|Active     |    1|Servlet API Bundle (3.0.0.v201103241009)
    9|Active     |    1|Apache Felix Web Management Console (4.0.0)
   10|Active     |    1|Apache Commons IO (1.4.0)
   11|Active     |    1|Apache Geronimo Bundles: json-20090211 (20090211.0.0.1)
   14|Active     |    1|Apache Felix Configuration Admin Service (1.4.0)
   17|Active     |    1|Apache Felix Http Jetty (2.2.0)

best regards,
Ulrich



Justin Edelson <ju...@justinedelson.com> hat am 26. September 2012 um 16:35
geschrieben:

> Ulrich-
>  I think you've misunderstood the recommendation - I suspect that what was
> intended was that you would look at the Web Console included with CQ5, not a
> separate installation of Felix.
> 
>  Would suggest you post CQ-specific questions at
> http://forums.adobe.com/community/digital_marketing_suite/cq5
> <http://forums.adobe.com/community/digital_marketing_suite/cq5>
> 
>  Regards,
>  Justin
> 
>  On Wed, Sep 26, 2012 at 2:34 PM, Ulrich Schmidt(Public)
> <Ulrich-Public@gombers.de <ma...@gombers.de> > wrote:
>    > > I’m about to install Adobe CQ5, but it fails to start the
>    > > authentication
> >    service. It is recommend to supervise CQ5 by an OSGi-Console. So I
> > started to
> >    implement the Felix Web Console 4.0.0.
> > 
> >    At last I was able to start the bundles:
> >    g! START LEVEL 1
> >       ID|State      |Level|Name
> >        0|Active     |    0|System Bundle (4.0.3)
> >        1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
> >        2|Active     |    1|Apache Felix Gogo Command (0.12.0)
> >        3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
> >        4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
> >        7|Active     |    1|Commons FileUpload (1.2.2)
> >        8|Active     |    1|Servlet API Bundle (3.0.0.v201103241009)
> >        9|Active     |    1|Apache Felix Web Management Console (4.0.0)
> >       10|Active     |    1|Apache Commons IO (1.4.0)
> >       11|Active     |    1|Apache Geronimo Bundles: json-20090211
> > (20090211.0.0.1)
> >       13|Active     |    1|Apache Felix Http Bundle (2.2.0)
> >       14|Active     |    1|Apache Felix Configuration Admin Service (1.4.0)
> > 
> >    I understand from the docs
> >    ( http://felix.apache.org/site/apache-felix-web-console.html
> > <http://felix.apache.org/site/apache-felix-web-console.html> , chapter
> >    Configuration of the OSGi Http Service), that it should provide a
> > listener at
> >    the port described by conf/config.properties:org.osgi.service.http.port.
> >    But I really can't see any listener at the assigned port (8088).
> >    Neither do I understand the connection to the HTTP Server. Where does it
> > join
> >    the game, is there something to be done to get it to work whatever it
> > should do.
> > 
> >    Ulrich
> >  > 

Re: Setup Felix Web Console with Apache HTTP Server

Posted by Justin Edelson <ju...@justinedelson.com>.
Ulrich-
I think you've misunderstood the recommendation - I suspect that what was
intended was that you would look at the Web Console included with CQ5, not
a separate installation of Felix.

Would suggest you post CQ-specific questions at
http://forums.adobe.com/community/digital_marketing_suite/cq5

Regards,
Justin

On Wed, Sep 26, 2012 at 2:34 PM, Ulrich Schmidt(Public) <
Ulrich-Public@gombers.de> wrote:

> I’m about to install Adobe CQ5, but it fails to start the authentication
> service. It is recommend to supervise CQ5 by an OSGi-Console. So I started
> to
> implement the Felix Web Console 4.0.0.
>
> At last I was able to start the bundles:
> g! START LEVEL 1
>    ID|State      |Level|Name
>     0|Active     |    0|System Bundle (4.0.3)
>     1|Active     |    1|Apache Felix Bundle Repository (1.6.6)
>     2|Active     |    1|Apache Felix Gogo Command (0.12.0)
>     3|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
>     4|Active     |    1|Apache Felix Gogo Shell (0.10.0)
>     7|Active     |    1|Commons FileUpload (1.2.2)
>     8|Active     |    1|Servlet API Bundle (3.0.0.v201103241009)
>     9|Active     |    1|Apache Felix Web Management Console (4.0.0)
>    10|Active     |    1|Apache Commons IO (1.4.0)
>    11|Active     |    1|Apache Geronimo Bundles: json-20090211
> (20090211.0.0.1)
>    13|Active     |    1|Apache Felix Http Bundle (2.2.0)
>    14|Active     |    1|Apache Felix Configuration Admin Service (1.4.0)
>
> I understand from the docs
> (http://felix.apache.org/site/apache-felix-web-console.html, chapter
> Configuration of the OSGi Http Service), that it should provide a listener
> at
> the port described by conf/config.properties:org.osgi.service.http.port.
> But I really can't see any listener at the assigned port (8088).
> Neither do I understand the connection to the HTTP Server. Where does it
> join
> the game, is there something to be done to get it to work whatever it
> should do.
>
> Ulrich