You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Dieter Wimberger (JIRA)" <ji...@apache.org> on 2008/10/03 23:37:44 UTC

[jira] Created: (FELIX-752) webconsole 1.2.0 seems to depend on SCR

webconsole 1.2.0 seems to depend on SCR
---------------------------------------

                 Key: FELIX-752
                 URL: https://issues.apache.org/jira/browse/FELIX-752
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-1.2.0
            Reporter: Dieter Wimberger


It seems like the webconsole-1.2.0 has a dependency on SCR; see Exception:

org.osgi.framework.BundleException: Exception in org.apache.felix.webconsole.internal.OsgiManagerActivator.start() of bundle org.apache.felix.webconsole.
Caused by: java.lang.NoClassDefFoundError: org.apache.felix.scr.ScrService
	at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.class$(ComponentsServlet.java:60)
	at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.<clinit>(ComponentsServlet.java:60)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at org.apache.felix.webconsole.internal.servlet.OsgiManager.class$(OsgiManager.java:55)
	at org.apache.felix.webconsole.internal.servlet.OsgiManager.<clinit>(OsgiManager.java:105)
	at org.apache.felix.webconsole.internal.OsgiManagerActivator.start(OsgiManagerActivator.java:35)




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-752) webconsole 1.2.0 seems to depend on SCR

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-752.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: webconsole-1.2.2

Finally came around to fixing this in Rev. 728636.

The OsgiManager class now loads the classes through its own class loader manually to catch issues when loading the classes. This should solve the issue of depending on the Felix SCR implementation.

Please close this issue, if this also works for you. Thanks.

> webconsole 1.2.0 seems to depend on SCR
> ---------------------------------------
>
>                 Key: FELIX-752
>                 URL: https://issues.apache.org/jira/browse/FELIX-752
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-1.2.0
>            Reporter: Dieter Wimberger
>            Assignee: Felix Meschberger
>             Fix For: webconsole-1.2.2
>
>
> It seems like the webconsole-1.2.0 has a dependency on SCR; see Exception:
> org.osgi.framework.BundleException: Exception in org.apache.felix.webconsole.internal.OsgiManagerActivator.start() of bundle org.apache.felix.webconsole.
> Caused by: java.lang.NoClassDefFoundError: org.apache.felix.scr.ScrService
> 	at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.class$(ComponentsServlet.java:60)
> 	at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.<clinit>(ComponentsServlet.java:60)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:169)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.class$(OsgiManager.java:55)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.<clinit>(OsgiManager.java:105)
> 	at org.apache.felix.webconsole.internal.OsgiManagerActivator.start(OsgiManagerActivator.java:35)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-752) webconsole 1.2.0 seems to depend on SCR

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned FELIX-752:
---------------------------------------

    Assignee: Felix Meschberger

> webconsole 1.2.0 seems to depend on SCR
> ---------------------------------------
>
>                 Key: FELIX-752
>                 URL: https://issues.apache.org/jira/browse/FELIX-752
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-1.2.0
>            Reporter: Dieter Wimberger
>            Assignee: Felix Meschberger
>
> It seems like the webconsole-1.2.0 has a dependency on SCR; see Exception:
> org.osgi.framework.BundleException: Exception in org.apache.felix.webconsole.internal.OsgiManagerActivator.start() of bundle org.apache.felix.webconsole.
> Caused by: java.lang.NoClassDefFoundError: org.apache.felix.scr.ScrService
> 	at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.class$(ComponentsServlet.java:60)
> 	at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.<clinit>(ComponentsServlet.java:60)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:169)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.class$(OsgiManager.java:55)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.<clinit>(OsgiManager.java:105)
> 	at org.apache.felix.webconsole.internal.OsgiManagerActivator.start(OsgiManagerActivator.java:35)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (FELIX-752) webconsole 1.2.0 seems to depend on SCR

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-752 started by Felix Meschberger.

> webconsole 1.2.0 seems to depend on SCR
> ---------------------------------------
>
>                 Key: FELIX-752
>                 URL: https://issues.apache.org/jira/browse/FELIX-752
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-1.2.0
>            Reporter: Dieter Wimberger
>            Assignee: Felix Meschberger
>
> It seems like the webconsole-1.2.0 has a dependency on SCR; see Exception:
> org.osgi.framework.BundleException: Exception in org.apache.felix.webconsole.internal.OsgiManagerActivator.start() of bundle org.apache.felix.webconsole.
> Caused by: java.lang.NoClassDefFoundError: org.apache.felix.scr.ScrService
> 	at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.class$(ComponentsServlet.java:60)
> 	at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.<clinit>(ComponentsServlet.java:60)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:169)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.class$(OsgiManager.java:55)
> 	at org.apache.felix.webconsole.internal.servlet.OsgiManager.<clinit>(OsgiManager.java:105)
> 	at org.apache.felix.webconsole.internal.OsgiManagerActivator.start(OsgiManagerActivator.java:35)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.