[jbosstools-issues] [JBoss JIRA] (JBDS-4162) unresolved bundles - slf4j

Nick Boldt (JIRA) issues at jboss.org
Fri Nov 4 13:46:00 EDT 2016


     [ https://issues.jboss.org/browse/JBDS-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt updated JBDS-4162:
-----------------------------
    Description: 
Vaclav said:

{quote}
Just an update on unresolved bundles. I looked at rh-eclipse46-devstudio-10.2-0.20161103.0650.el7.x86_64.rpm and the only ones are:
ch.qos.logback.slf4j
org.slf4j.impl.log4j12{quote}

Both of those bundles declare

{code}Fragment-Host: org.slf4j.api;bundle-version="[1.7.2,1.7.3)"{code}

And since we're now using slf4j.api_1.7.4.jar, which has in its MANIFEST.MF:

{code}
Export-Package: org.slf4j;version=1.7.4, org.slf4j.spi;version=1.7.4, 
 org.slf4j.helpers;version=1.7.4
Import-Package: org.slf4j.impl;version=1.6.0;resolution:=optional
Bundle-SymbolicName: slf4j.api
{code}

I suspect we need to find newer versions of those that can use slf4j 1.7.4 instead of 1.7.2.

  was:
Tested:
 * rh-eclipse46-devstudio-10.2-0.20161004.2205.el7.x86_64.rpm
 * rh-eclipse46 Beta (http://download-node-02.eng.bos.redhat.com/rel-eng/RHSCL-2.3-RHEL-7-Beta-1.0/compose/Server/x86_64/os/)

rh-eclipse46 has its own unresolved bundles (https://bugzilla.redhat.com/show_bug.cgi?id=1381820). But when you add rh-eclipse46-devstudio, the number of unresolved symbols increases quite dramatically and initial start up times also get worse. (I guess that the two problems can be connected so I file them together but feel free to split them if I'm mistaken).

I'm attaching "ss -s INSTALLED" and workspace logs for several scenarios:
 * "min" in the name means minimal install rh-eclipse46-devstudio
 * "mid" is for "yum install rh-eclipse46 rh-eclipse46-devstudio"
 * "max" is for "yum install 'rh-eclipse46*'" - all the available RPMs, including devstudio

As for start up times, it looks like devstudio adds ~80s for one particular machine (Xeon with 16 cores 2.40GHz, 16 GB RAM). For example:
initial start of rh-eclipse46: 40s
same as above with rh-eclipse46-devstudio: 120s
initial start of rh-eclipse46* except devstudio: 50s
same as above with rh-eclipse46-devstudio: 140s

Roland Grunberg managed to improve initial start up times in rh-eclise46 a few weeks ago (https://bugzilla.redhat.com/show_bug.cgi?id=1362178#c17). I don't know it it helps here but I'm linking it anyway...



> unresolved bundles - slf4j 
> ---------------------------
>
>                 Key: JBDS-4162
>                 URL: https://issues.jboss.org/browse/JBDS-4162
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: rpm
>            Reporter: Václav Kadlčík
>            Assignee: Nick Boldt
>             Fix For: 10.2.0.GA
>
>
> Vaclav said:
> {quote}
> Just an update on unresolved bundles. I looked at rh-eclipse46-devstudio-10.2-0.20161103.0650.el7.x86_64.rpm and the only ones are:
> ch.qos.logback.slf4j
> org.slf4j.impl.log4j12{quote}
> Both of those bundles declare
> {code}Fragment-Host: org.slf4j.api;bundle-version="[1.7.2,1.7.3)"{code}
> And since we're now using slf4j.api_1.7.4.jar, which has in its MANIFEST.MF:
> {code}
> Export-Package: org.slf4j;version=1.7.4, org.slf4j.spi;version=1.7.4, 
>  org.slf4j.helpers;version=1.7.4
> Import-Package: org.slf4j.impl;version=1.6.0;resolution:=optional
> Bundle-SymbolicName: slf4j.api
> {code}
> I suspect we need to find newer versions of those that can use slf4j 1.7.4 instead of 1.7.2.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list