Hi,

We've been using the Felix Webconsole a lot, in particular because it provides 
a nice UI for Felix Configadmin. Now we're upgrading our software and running 
into a problem with occurs in (although it might not originate from) the 
webconsole.


We started out with the example workspace of bndtools 
(https://github.com/bndtools/workspace). Added a very simple API project and an 
implementation project. In the implemention project we define a declarative 
service component using the OSGi 7.0 annotations.


But when going to the Configuration page 
(http://localhost:8080/system/console/configMgr), the webbrowser console shows 
a Javascript error: Uncaught TypeError: parsers is undefined. The weird thing 
is... even if I downgrade the webconsole bundles to the versions that I have 
been using without problems for years, I get the same error. The cause of the 
problem somehow doesn't seem to be in the web console implementation itself.

Here follows the content of my bndrun file:
--------
-runfw: org.eclipse.osgi;version=3.13
-runprovidedcapabilities: ${native_capability}

-resolve.effective: active

-runproperties: \
    org.osgi.service.http.port=8080,\
    osgi.console=,\
    osgi.console.enable.builtin=false

-runbundles: \
    org.apache.commons.fileupload;version='[1.3.3,1.3.4)',\
    org.apache.commons.io;version='[2.6.0,2.6.1)',\
    org.apache.felix.configadmin;version='[1.9.8,1.9.9)',\
    org.apache.felix.http.jetty;version='[4.0.6,4.0.7)',\
    org.apache.felix.http.servlet-api;version='[1.1.2,1.1.3)',\
    org.apache.felix.inventory;version='[1.0.4,1.0.5)',\
    org.apache.felix.scr;version='[2.1.10,2.1.11)',\
    org.apache.felix.webconsole;version='[4.3.4,4.3.5)',\
    org.apache.felix.webconsole.plugins.ds;version='[2.0.8,2.0.9)',\
    org.example.api;version=snapshot,\
    org.example.impl;version=snapshot,\
    org.osgi.util.function;version='[1.1.0,1.1.1)'

-runrequires: \
    bnd.identity;version='latest';id='org.example.impl',\
    bnd.identity;id='org.apache.felix.configadmin',\
    bnd.identity;id='org.apache.felix.webconsole',\
    bnd.identity;id='org.apache.felix.webconsole.plugins.ds',\
    bnd.identity;id='org.apache.felix.http.jetty'
-runee: JavaSE-11
-resolve: manual
---------

Any ideas what could be the cause for this? Of course, we're happy to provide 
more information if needed.

Kind regards,

Jorrit

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.

Reply via email to