You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Thiago Souza <tc...@gmail.com> on 2015/01/28 17:52:21 UTC

Webconsole?

Hi,

I'm trying to evaluate Karaf WebConsole. But I'm not being able to install
it. The current documentation points to an non existent features xml. Also,
I get a 404 Not Found accessing http://localhost:8181/console after
installing the "webconsole" feature (present in Karaf v3.0.2).

What am I missing?

Regards,
Thiago Souza



--
View this message in context: http://karaf.922171.n3.nabble.com/Webconsole-tp4038087.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Webconsole?

Posted by Thiago Souza <tc...@gmail.com>.
Hello,

I was mistyping the feature xml. But now when trying to install the
webconsole-wicket feature I get the following error:

java.lang.Exception: Could not start bundle
mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.core/0.3.0-SNAPSHOT
in feature(s) webconsole-core-0.3.0-SNAPSHOT: Unresolved constraint in
bundle org.apache.karaf.webconsole.core [93]: Unable to resolve 93.0:
missing requirement [93.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.karaf.jaas.modules)(version>=2.2.0)(!(version>=3.0.0)))
	at
org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:480)
	at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:435)
	at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:375)
	at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:364)
	at Proxy07400601_598d_4c6e_bf9e_5e5564f64ddc.installFeature(Unknown Source)
	at
org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:67)
	at
org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)
	at
org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.2]
	at
org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.2]
	at
org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.2]
	at Proxy148b8b7d_7063_4276_93be_9efc95bf9168.execute(Unknown Source)[:]
	at Proxy148b8b7d_7063_4276_93be_9efc95bf9168.execute(Unknown Source)[:]
	at
org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.2]
	at
org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[25:org.apache.karaf.shell.console:3.0.2]
	at
org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[25:org.apache.karaf.shell.console:3.0.2]
	at
org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.2]
	at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[25:org.apache.karaf.shell.console:3.0.2]
	at
org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[25:org.apache.karaf.shell.console:3.0.2]
	at
org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
	at
org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:203)
	at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:115)
	at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_75]
	at
org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.2]
	at
org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:108)[25:org.apache.karaf.shell.console:3.0.2]
Caused by: org.osgi.framework.BundleException: Unresolved constraint in
bundle org.apache.karaf.webconsole.core [93]: Unable to resolve 93.0:
missing requirement [93.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.karaf.jaas.modules)(version>=2.2.0)(!(version>=3.0.0)))
	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
	at
org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:477)
	... 23 more

Any clue?

Regards



--
View this message in context: http://karaf.922171.n3.nabble.com/Webconsole-tp4038087p4038088.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Webconsole?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Ahhh, it's Karaf "External" WebConsole.

This sub-project is not actively maintained, and probably only works 
with Karaf 2.x.

Regards
JB

On 01/28/2015 08:50 PM, Thiago Souza wrote:
> Hello,
>
> Sorry for the confusion. I was trying to reach http://localhost:8080/console
> as documented in http://karaf.apache.org/index/subprojects/webconsole.html
>
> Regards
>
> On Wed Jan 28 2015 at 5:41:44 PM jbonofre [via Karaf] <
> ml-node+s922171n4038092h91@n3.nabble.com> wrote:
>
>> Hi Thiago,
>>
>> do you use a custom distribution ?
>>
>> It works fine in 3.0.2 (feature:install webconsole).
>>
>> Regards
>> JB
>>
>> On 01/28/2015 05:52 PM, Thiago Souza wrote:
>>
>>> Hi,
>>>
>>> I'm trying to evaluate Karaf WebConsole. But I'm not being able to
>> install
>>> it. The current documentation points to an non existent features xml.
>> Also,
>>> I get a 404 Not Found accessing http://localhost:8181/console after
>>> installing the "webconsole" feature (present in Karaf v3.0.2).
>>>
>>> What am I missing?
>>>
>>> Regards,
>>> Thiago Souza
>>>
>>>
>>>
>>> --
>>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Webconsole-tp4038087.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4038092&i=0>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>>
>> ------------------------------
>>   If you reply to this email, your message will be added to the discussion
>> below:
>> http://karaf.922171.n3.nabble.com/Webconsole-tp4038087p4038092.html
>>   To unsubscribe from Webconsole?, click here
>> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4038087&code=dGNvc3Rhc291emFAZ21haWwuY29tfDQwMzgwODd8LTEyNzI0NjQ3MjU=>
>> .
>> NAML
>> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Webconsole-tp4038087p4038094.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Webconsole?

Posted by Thiago Souza <tc...@gmail.com>.
Hello,

Sorry for the confusion. I was trying to reach http://localhost:8080/console
as documented in http://karaf.apache.org/index/subprojects/webconsole.html

Regards

On Wed Jan 28 2015 at 5:41:44 PM jbonofre [via Karaf] <
ml-node+s922171n4038092h91@n3.nabble.com> wrote:

> Hi Thiago,
>
> do you use a custom distribution ?
>
> It works fine in 3.0.2 (feature:install webconsole).
>
> Regards
> JB
>
> On 01/28/2015 05:52 PM, Thiago Souza wrote:
>
> > Hi,
> >
> > I'm trying to evaluate Karaf WebConsole. But I'm not being able to
> install
> > it. The current documentation points to an non existent features xml.
> Also,
> > I get a 404 Not Found accessing http://localhost:8181/console after
> > installing the "webconsole" feature (present in Karaf v3.0.2).
> >
> > What am I missing?
> >
> > Regards,
> > Thiago Souza
> >
> >
> >
> > --
> > View this message in context:
> http://karaf.922171.n3.nabble.com/Webconsole-tp4038087.html
> > Sent from the Karaf - User mailing list archive at Nabble.com.
> >
>
> --
> Jean-Baptiste Onofré
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4038092&i=0>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://karaf.922171.n3.nabble.com/Webconsole-tp4038087p4038092.html
>  To unsubscribe from Webconsole?, click here
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4038087&code=dGNvc3Rhc291emFAZ21haWwuY29tfDQwMzgwODd8LTEyNzI0NjQ3MjU=>
> .
> NAML
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://karaf.922171.n3.nabble.com/Webconsole-tp4038087p4038094.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Webconsole?

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Thiago,

do you use a custom distribution ?

It works fine in 3.0.2 (feature:install webconsole).

Regards
JB

On 01/28/2015 05:52 PM, Thiago Souza wrote:
> Hi,
>
> I'm trying to evaluate Karaf WebConsole. But I'm not being able to install
> it. The current documentation points to an non existent features xml. Also,
> I get a 404 Not Found accessing http://localhost:8181/console after
> installing the "webconsole" feature (present in Karaf v3.0.2).
>
> What am I missing?
>
> Regards,
> Thiago Souza
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Webconsole-tp4038087.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Webconsole?

Posted by Thiago Souza <tc...@gmail.com>.
Thanks for the help! :)

On Wed Jan 28 2015 at 3:02:08 PM ksobkowiak [via Karaf] <
ml-node+s922171n4038089h98@n3.nabble.com> wrote:

> Hi
>
> I have just tested Karaf 3.0.2 and I could successfully install the
> webconsole
>
> karaf@root()> feature:install -v webconsole
> Installing feature webconsole 3.0.2
> Installing feature http 3.0.2
> Installing feature pax-http 3.1.2
> Installing feature pax-jetty 8.1.15.v20140411
> Found installed bundle: org.apache.servicemix.specs.activation-api-1.1 [64]
> Found installed bundle:
> org.apache.geronimo.specs.geronimo-servlet_3.0_spec [65]
> Found installed bundle: javax.mail [66]
> Found installed bundle: org.apache.geronimo.specs.geronimo-jta_1.1_spec
> [67]
> Found installed bundle:
> org.apache.geronimo.specs.geronimo-annotation_1.1_spec [68]
> Found installed bundle: org.apache.geronimo.specs.geronimo-jaspic_1.0_spec
> [69]
> Found installed bundle: org.objectweb.asm.all [70]
> Found installed bundle: org.eclipse.jetty.aggregate.jetty-all-server [71]
> Checking configuration file
> mvn:org.ops4j.pax.web/pax-web-features/3.1.2/xml/jettyconfig
> Found installed bundle: org.ops4j.base.lang [72]
> Found installed bundle: org.ops4j.pax.swissbox.core [73]
> Installing bundle mvn:org.ow2.asm/asm-all/5.0.2
> Found installed bundle: org.apache.xbean.bundleutils [74]
> Found installed bundle: org.apache.xbean.reflect [75]
> Found installed bundle: org.apache.xbean.finder [76]
> Found installed bundle: org.ops4j.pax.web.pax-web-api [77]
> Found installed bundle: org.ops4j.pax.web.pax-web-spi [78]
> Found installed bundle: org.ops4j.pax.web.pax-web-runtime [79]
> Found installed bundle: org.ops4j.pax.web.pax-web-jetty [80]
> Found installed bundle: org.apache.karaf.http.core [81]
> Found installed bundle: org.apache.karaf.http.command [82]
> Found installed bundle: org.apache.felix.metatype [83]
> Found installed bundle: org.apache.karaf.webconsole.branding [84]
> Found installed bundle: org.apache.karaf.webconsole.console [85]
> Installing feature standard-condition-webconsole_0_0_0 3.0.2
> Found installed bundle: org.apache.karaf.webconsole.instance [86]
> Found installed bundle: org.apache.karaf.webconsole.features [87]
> Found installed bundle: org.apache.karaf.webconsole.gogo [88]
> Found installed bundle: org.apache.karaf.webconsole.http [89]
>
>
> The url is http://localhost:8181/system/console
>
> Regards
> Krzysztof
>
>
>  On 28.01.2015 17:52, Thiago Souza wrote:
>
> Hi,
>
> I'm trying to evaluate Karaf WebConsole. But I'm not being able to install
> it. The current documentation points to an non existent features xml. Also,
> I get a 404 Not Found accessing http://localhost:8181/console after
> installing the "webconsole" feature (present in Karaf v3.0.2).
>
> What am I missing?
>
> Regards,
> Thiago Souza
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Webconsole-tp4038087.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
>
> --
>  Krzysztof Sobkowiak
>
> JEE & OSS Architect | Senior Solution Architect @ Capgemini | Committer @
> ASF
> Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
> <http://www.pl.capgemini-sdm.com/> | Wroclaw
> e-mail: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4038089&i=0> | Twitter:
> @KSobkowiak
> Calendar: http://goo.gl/yvsebC
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://karaf.922171.n3.nabble.com/Webconsole-tp4038087p4038089.html
>  To unsubscribe from Webconsole?, click here
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4038087&code=dGNvc3Rhc291emFAZ21haWwuY29tfDQwMzgwODd8LTEyNzI0NjQ3MjU=>
> .
> NAML
> <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://karaf.922171.n3.nabble.com/Webconsole-tp4038087p4038090.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Webconsole?

Posted by Krzysztof Sobkowiak <kr...@gmail.com>.
Hi

I have just tested Karaf 3.0.2 and I could successfully install the
webconsole

karaf@root()> feature:install -v webconsole
Installing feature webconsole 3.0.2
Installing feature http 3.0.2
Installing feature pax-http 3.1.2
Installing feature pax-jetty 8.1.15.v20140411
Found installed bundle: org.apache.servicemix.specs.activation-api-1.1 [64]
Found installed bundle:
org.apache.geronimo.specs.geronimo-servlet_3.0_spec [65]
Found installed bundle: javax.mail [66]
Found installed bundle: org.apache.geronimo.specs.geronimo-jta_1.1_spec [67]
Found installed bundle:
org.apache.geronimo.specs.geronimo-annotation_1.1_spec [68]
Found installed bundle:
org.apache.geronimo.specs.geronimo-jaspic_1.0_spec [69]
Found installed bundle: org.objectweb.asm.all [70]
Found installed bundle: org.eclipse.jetty.aggregate.jetty-all-server [71]
Checking configuration file
mvn:org.ops4j.pax.web/pax-web-features/3.1.2/xml/jettyconfig
Found installed bundle: org.ops4j.base.lang [72]
Found installed bundle: org.ops4j.pax.swissbox.core [73]
Installing bundle mvn:org.ow2.asm/asm-all/5.0.2
Found installed bundle: org.apache.xbean.bundleutils [74]
Found installed bundle: org.apache.xbean.reflect [75]
Found installed bundle: org.apache.xbean.finder [76]
Found installed bundle: org.ops4j.pax.web.pax-web-api [77]
Found installed bundle: org.ops4j.pax.web.pax-web-spi [78]
Found installed bundle: org.ops4j.pax.web.pax-web-runtime [79]
Found installed bundle: org.ops4j.pax.web.pax-web-jetty [80]
Found installed bundle: org.apache.karaf.http.core [81]
Found installed bundle: org.apache.karaf.http.command [82]
Found installed bundle: org.apache.felix.metatype [83]
Found installed bundle: org.apache.karaf.webconsole.branding [84]
Found installed bundle: org.apache.karaf.webconsole.console [85]
Installing feature standard-condition-webconsole_0_0_0 3.0.2
Found installed bundle: org.apache.karaf.webconsole.instance [86]
Found installed bundle: org.apache.karaf.webconsole.features [87]
Found installed bundle: org.apache.karaf.webconsole.gogo [88]
Found installed bundle: org.apache.karaf.webconsole.http [89]


The url is http://localhost:8181/system/console

Regards
Krzysztof


On 28.01.2015 17:52, Thiago Souza wrote:
> Hi,
>
> I'm trying to evaluate Karaf WebConsole. But I'm not being able to install
> it. The current documentation points to an non existent features xml. Also,
> I get a 404 Not Found accessing http://localhost:8181/console after
> installing the "webconsole" feature (present in Karaf v3.0.2).
>
> What am I missing?
>
> Regards,
> Thiago Souza
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Webconsole-tp4038087.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

-- 
Krzysztof Sobkowiak

JEE & OSS Architect | Senior Solution Architect @ Capgemini | Committer
@ ASF
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: krzys.sobkowiak@gmail.com <ma...@gmail.com> |
Twitter: @KSobkowiak
Calendar: http://goo.gl/yvsebC