You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Per-Erik Svensson <pe...@2c8.com> on 2020/09/14 11:01:12 UTC

Web Console and javax.portlet

Hi,

I'm trying to install Web Console (All In One) in Felix but it seems to have a dependency on javax.portlet. This is the output from lb (in gogo) just to show which bundles I have installed:

START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (6.0.3)|6.0.3
    1|Active     |    1|jansi (1.17.1)|1.17.1
    2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
    3|Active     |    1|Apache Felix File Install (3.6.8)|3.6.8
    4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
    5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
    6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
    7|Active     |    1|Apache Felix Servlet API (1.1.2)|1.1.2
    8|Active     |    1|Apache Felix Http Jetty (4.0.20)|4.0.20
    9|Active     |    1|jersey-core-client (2.31.0)|2.31.0
   10|Active     |    1|javax.inject:1 as OSGi bundle (2.6.1)|2.6.1
   11|Active     |    1|jakarta.ws.rs-api (2.1.6)|2.1.6
   12|Active     |    1|Jakarta XML Binding API (2.3.3)|2.3.3
   13|Active     |    1|jersey-core-server (2.31.0)|2.31.0
   14|Starting   |    1|OSGi resource locator (1.0.3)|1.0.3
   15|Active     |    1|Jakarta Annotations API (1.3.5)|1.3.5
   16|Active     |    1|Jakarta Activation API jar (1.2.2)|1.2.2
   17|Starting   |    1|jersey-core-common (2.31.0)|2.31.0
   18|Installed  |    1|Apache Felix Web Management Console (All In One) (4.5.4.all)|4.5.4.all

This is the output from "start 18":

org.osgi.framework.BundleException: Unable to resolve org.apache.felix.webconsole [18](R 18.0): missing requirement [org.apache.felix.webconsole [18](R 18.0)] osgi.wiring.package; (osgi.wiring.package=javax.portlet) Unresolved requirements: [[org.apache.felix.webconsole [18](R 18.0)] osgi.wiring.package; (osgi.wiring.package=javax.portlet)]

Looking into where this import is coming from (with bnd command below) gives:

> java -jar biz.aQute.bnd-5.1.2.jar print --by org.apache.felix.webconsole-4.5.4-all.jar

[USEDBY]

javax.portlet                           org.apache.commons.fileupload.portlet
...

I thought the "All In One" bundle was supposed to have everything needed to run the web console (apart from having a servlet container, such as bundle 8 above, available)? Which bundle could I add to make the Web Console bundle resolve?

For context, I'm trying to find a minimal set of bundles to make EJB+JPA+JAX-RS work but before going that far I'd just like to get some "utility" bundles working (such as File Install, DS and Web Console). Karaf and Aries both seem to pull in more than I need.

Best regards,

PER-ERIK SVENSSON
Software developer
+46 (0)54 21 27 28
per-erik@2c8.com<ma...@2c8.com>

[Logo-2c8-RGB-400]

2conciliate Business Solutions AB
Älvgatan 5, SE-652 25 Karlstad
www.2c8.com<http://www.2c8.com/>



Re: Web Console and javax.portlet

Posted by Carsten Ziegeler <cz...@apache.org>.
Thanks for the issue, it looks good to me :)

Regards
Carsten

Am 14.09.2020 um 13:27 schrieb Per-Erik Svensson:
> Hi,
> 
> Thanks for the help. I've never reported an issue before to Felix so I hope this suffices and that it is reported to the correct project/component: FELIX-6328.
> 
> I'll try the workaround. If that works, this is absolutely good enough for me. Thanks!
> 
> Best regards,
> Per-Erik Svensson
> 
> -----Original Message-----
> From: Carsten Ziegeler <cz...@apache.org>
> Sent: 14 September 2020 13:08
> To: users@felix.apache.org
> Subject: Re: Web Console and javax.portlet
> 
> Hi,
> 
> this looks like a bug in the "all in one" bundle; it seems an update of the bnd tooling brought in a clever variant of it creating this import.
> 
> Could you please file a jira issue for this?
> 
> You can workaround this by using the plain webconsole bundle, together with commons-io and commons-fileupload - not nice, but should work
> 
> Regards
> Carsten
> 
> Am 14.09.2020 um 13:01 schrieb Per-Erik Svensson:
>> Hi,
>>
>> I'm trying to install Web Console (All In One) in Felix but it seems
>> to have a dependency on javax.portlet. This is the output from lb (in
>> gogo) just to show which bundles I have installed:
>>
>> START LEVEL 1
>>
>>      ID|State      |Level|Name
>>
>>       0|Active     |    0|System Bundle (6.0.3)|6.0.3
>>
>>       1|Active     |    1|jansi (1.17.1)|1.17.1
>>
>>       2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
>>
>>       3|Active     |    1|Apache Felix File Install (3.6.8)|3.6.8
>>
>>       4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
>>
>>       5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
>>
>>       6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
>>
>>       7|Active     |    1|Apache Felix Servlet API (1.1.2)|1.1.2
>>
>>       8|Active     |    1|Apache Felix Http Jetty (4.0.20)|4.0.20
>>
>>       9|Active     |    1|jersey-core-client (2.31.0)|2.31.0
>>
>>      10|Active     |    1|javax.inject:1 as OSGi bundle (2.6.1)|2.6.1
>>
>>      11|Active     |    1|jakarta.ws.rs-api (2.1.6)|2.1.6
>>
>> 12|Active     |    1|Jakarta XML Binding API (2.3.3)|2.3.3
>>
>> 13|Active     |    1|jersey-core-server (2.31.0)|2.31.0
>>
>>      14|Starting   |    1|OSGi resource locator (1.0.3)|1.0.3
>>
>>      15|Active     |    1|Jakarta Annotations API (1.3.5)|1.3.5
>>
>>      16|Active     |    1|Jakarta Activation API jar (1.2.2)|1.2.2
>>
>>      17|Starting   |    1|jersey-core-common (2.31.0)|2.31.0
>>
>>      18|Installed  |    1|Apache Felix Web Management Console (All In
>> One) (4.5.4.all)|4.5.4.all
>>
>> This is the output from "start 18":
>>
>> org.osgi.framework.BundleException: Unable to resolve
>> org.apache.felix.webconsole [18](R 18.0): missing requirement
>> [org.apache.felix.webconsole [18](R 18.0)] osgi.wiring.package;
>> (osgi.wiring.package=javax.portlet) Unresolved requirements:
>> [[org.apache.felix.webconsole [18](R 18.0)] osgi.wiring.package;
>> (osgi.wiring.package=javax.portlet)]
>>
>> Looking into where this import is coming from (with bnd command below)
>> gives:
>>
>>> java -jar biz.aQute.bnd-5.1.2.jar print --by
>>> org.apache.felix.webconsole-4.5.4-all.jar
>>
>> [USEDBY]
>>
>> javax.portlet
>> org.apache.commons.fileupload.portlet
>>
>> ...
>>
>> I thought the "All In One" bundle was supposed to have everything
>> needed to run the web console (apart from having a servlet container,
>> such as bundle 8 above, available)? Which bundle could I add to make
>> the Web Console bundle resolve?
>>
>> For context, I'm trying to find a minimal set of bundles to make
>> EJB+JPA+JAX-RS work but before going that far I'd just like to get
>> EJB+JPA+some
>> "utility" bundles working (such as File Install, DS and Web Console).
>> Karaf and Aries both seem to pull in more than I need.
>>
>> Best regards,
>>
>> *PER-ERIK SVENSSON*
>>
>> Software developer
>>
>> +46 (0)54 21 27 28
>>
>> per-erik@2c8.com <ma...@2c8.com>
>>
>>
>> Logo-2c8-RGB-400
>>
>>
>> *2conciliate Business Solutions AB*
>>
>> Älvgatan 5, SE-652 25 Karlstad
>>
>> www.2c8.com <http://www.2c8.com/>
>>
> 
> --
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziegeler@apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 

-- 
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


RE: Web Console and javax.portlet

Posted by Per-Erik Svensson <pe...@2c8.com>.
Hi,

Thanks for the help. I've never reported an issue before to Felix so I hope this suffices and that it is reported to the correct project/component: FELIX-6328.

I'll try the workaround. If that works, this is absolutely good enough for me. Thanks!

Best regards,
Per-Erik Svensson

-----Original Message-----
From: Carsten Ziegeler <cz...@apache.org> 
Sent: 14 September 2020 13:08
To: users@felix.apache.org
Subject: Re: Web Console and javax.portlet

Hi,

this looks like a bug in the "all in one" bundle; it seems an update of the bnd tooling brought in a clever variant of it creating this import.

Could you please file a jira issue for this?

You can workaround this by using the plain webconsole bundle, together with commons-io and commons-fileupload - not nice, but should work

Regards
Carsten

Am 14.09.2020 um 13:01 schrieb Per-Erik Svensson:
> Hi,
> 
> I'm trying to install Web Console (All In One) in Felix but it seems 
> to have a dependency on javax.portlet. This is the output from lb (in 
> gogo) just to show which bundles I have installed:
> 
> START LEVEL 1
> 
>     ID|State      |Level|Name
> 
>      0|Active     |    0|System Bundle (6.0.3)|6.0.3
> 
>      1|Active     |    1|jansi (1.17.1)|1.17.1
> 
>      2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
> 
>      3|Active     |    1|Apache Felix File Install (3.6.8)|3.6.8
> 
>      4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
> 
>      5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
> 
>      6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
> 
>      7|Active     |    1|Apache Felix Servlet API (1.1.2)|1.1.2
> 
>      8|Active     |    1|Apache Felix Http Jetty (4.0.20)|4.0.20
> 
>      9|Active     |    1|jersey-core-client (2.31.0)|2.31.0
> 
>     10|Active     |    1|javax.inject:1 as OSGi bundle (2.6.1)|2.6.1
> 
>     11|Active     |    1|jakarta.ws.rs-api (2.1.6)|2.1.6
> 
> 12|Active     |    1|Jakarta XML Binding API (2.3.3)|2.3.3
> 
> 13|Active     |    1|jersey-core-server (2.31.0)|2.31.0
> 
>     14|Starting   |    1|OSGi resource locator (1.0.3)|1.0.3
> 
>     15|Active     |    1|Jakarta Annotations API (1.3.5)|1.3.5
> 
>     16|Active     |    1|Jakarta Activation API jar (1.2.2)|1.2.2
> 
>     17|Starting   |    1|jersey-core-common (2.31.0)|2.31.0
> 
>     18|Installed  |    1|Apache Felix Web Management Console (All In
> One) (4.5.4.all)|4.5.4.all
> 
> This is the output from "start 18":
> 
> org.osgi.framework.BundleException: Unable to resolve 
> org.apache.felix.webconsole [18](R 18.0): missing requirement 
> [org.apache.felix.webconsole [18](R 18.0)] osgi.wiring.package;
> (osgi.wiring.package=javax.portlet) Unresolved requirements: 
> [[org.apache.felix.webconsole [18](R 18.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.portlet)]
> 
> Looking into where this import is coming from (with bnd command below)
> gives:
> 
>> java -jar biz.aQute.bnd-5.1.2.jar print --by 
>> org.apache.felix.webconsole-4.5.4-all.jar
> 
> [USEDBY]
> 
> javax.portlet                           
> org.apache.commons.fileupload.portlet
> 
> ...
> 
> I thought the "All In One" bundle was supposed to have everything 
> needed to run the web console (apart from having a servlet container, 
> such as bundle 8 above, available)? Which bundle could I add to make 
> the Web Console bundle resolve?
> 
> For context, I'm trying to find a minimal set of bundles to make
> EJB+JPA+JAX-RS work but before going that far I'd just like to get 
> EJB+JPA+some
> "utility" bundles working (such as File Install, DS and Web Console). 
> Karaf and Aries both seem to pull in more than I need.
> 
> Best regards,
> 
> *PER-ERIK SVENSSON*
> 
> Software developer
> 
> +46 (0)54 21 27 28
> 
> per-erik@2c8.com <ma...@2c8.com>
> 
> 
> Logo-2c8-RGB-400
> 
> 
> *2conciliate Business Solutions AB*
> 
> Älvgatan 5, SE-652 25 Karlstad
> 
> www.2c8.com <http://www.2c8.com/>
> 

--
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Web Console and javax.portlet

Posted by Carsten Ziegeler <cz...@apache.org>.
Hi,

this looks like a bug in the "all in one" bundle; it seems an update of 
the bnd tooling brought in a clever variant of it creating this import.

Could you please file a jira issue for this?

You can workaround this by using the plain webconsole bundle, together 
with commons-io and commons-fileupload - not nice, but should work

Regards
Carsten

Am 14.09.2020 um 13:01 schrieb Per-Erik Svensson:
> Hi,
> 
> I’m trying to install Web Console (All In One) in Felix but it seems to 
> have a dependency on javax.portlet. This is the output from lb (in gogo) 
> just to show which bundles I have installed:
> 
> START LEVEL 1
> 
>     ID|State      |Level|Name
> 
>      0|Active     |    0|System Bundle (6.0.3)|6.0.3
> 
>      1|Active     |    1|jansi (1.17.1)|1.17.1
> 
>      2|Active     |    1|JLine Bundle (3.7.0)|3.7.0
> 
>      3|Active     |    1|Apache Felix File Install (3.6.8)|3.6.8
> 
>      4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
> 
>      5|Active     |    1|Apache Felix Gogo JLine Shell (1.1.0)|1.1.0
> 
>      6|Active     |    1|Apache Felix Gogo Runtime (1.1.0)|1.1.0
> 
>      7|Active     |    1|Apache Felix Servlet API (1.1.2)|1.1.2
> 
>      8|Active     |    1|Apache Felix Http Jetty (4.0.20)|4.0.20
> 
>      9|Active     |    1|jersey-core-client (2.31.0)|2.31.0
> 
>     10|Active     |    1|javax.inject:1 as OSGi bundle (2.6.1)|2.6.1
> 
>     11|Active     |    1|jakarta.ws.rs-api (2.1.6)|2.1.6
> 
> 12|Active     |    1|Jakarta XML Binding API (2.3.3)|2.3.3
> 
> 13|Active     |    1|jersey-core-server (2.31.0)|2.31.0
> 
>     14|Starting   |    1|OSGi resource locator (1.0.3)|1.0.3
> 
>     15|Active     |    1|Jakarta Annotations API (1.3.5)|1.3.5
> 
>     16|Active     |    1|Jakarta Activation API jar (1.2.2)|1.2.2
> 
>     17|Starting   |    1|jersey-core-common (2.31.0)|2.31.0
> 
>     18|Installed  |    1|Apache Felix Web Management Console (All In 
> One) (4.5.4.all)|4.5.4.all
> 
> This is the output from “start 18”:
> 
> org.osgi.framework.BundleException: Unable to resolve 
> org.apache.felix.webconsole [18](R 18.0): missing requirement 
> [org.apache.felix.webconsole [18](R 18.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.portlet) Unresolved requirements: 
> [[org.apache.felix.webconsole [18](R 18.0)] osgi.wiring.package; 
> (osgi.wiring.package=javax.portlet)]
> 
> Looking into where this import is coming from (with bnd command below) 
> gives:
> 
>> java -jar biz.aQute.bnd-5.1.2.jar print --by org.apache.felix.webconsole-4.5.4-all.jar
> 
> [USEDBY]
> 
> javax.portlet                           
> org.apache.commons.fileupload.portlet
> 
> ...
> 
> I thought the “All In One” bundle was supposed to have everything needed 
> to run the web console (apart from having a servlet container, such as 
> bundle 8 above, available)? Which bundle could I add to make the Web 
> Console bundle resolve?
> 
> For context, I’m trying to find a minimal set of bundles to make 
> EJB+JPA+JAX-RS work but before going that far I’d just like to get some 
> “utility” bundles working (such as File Install, DS and Web Console). 
> Karaf and Aries both seem to pull in more than I need.
> 
> Best regards,
> 
> *PER-ERIK SVENSSON*
> 
> Software developer
> 
> +46 (0)54 21 27 28
> 
> per-erik@2c8.com <ma...@2c8.com>
> 
> 
> Logo-2c8-RGB-400
> 
> 
> *2conciliate Business Solutions AB*
> 
> Älvgatan 5, SE-652 25 Karlstad
> 
> www.2c8.com <http://www.2c8.com/>
> 

-- 
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org