First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 209087
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Development Tools Team <dev-tools@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Pontesegger <christian.pontesegger@web.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 209087 depends on: Show dependency tree
Bug 209087 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-06 06:01 0000
On startup eclipse immediately exits with following log file content:

!SESSION 2008-02-06 05:42:57.117
-----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.5.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 2 1 2008-02-06 05:42:58.440
!MESSAGE NLS missing message: fileInitializer_missingFileName in:
org.eclipse.core.internal.runtime.messages

!ENTRY org.eclipse.equinox.app 2008-02-06 05:42:58.446
!MESSAGE Product org.eclipse.sdk.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2008-02-06 05:42:58.469
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
        at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
        at
org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98)
        at
org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112)
        at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
        at
org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
        at org.eclipse.equinox.internal.app.Activator.start(Activator.java:54)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
        at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
        at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
        at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
        at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
        at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
        at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
        at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
        at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
        at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at
org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.java:47)
        at
org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:32)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
        at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
        at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
        at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
        at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
        at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
        at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
        at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
        at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
        at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
        at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)

!ENTRY org.eclipse.osgi 2 0 2008-02-06 05:42:58.618
!MESSAGE One or more bundles are not resolved because the following root
constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.618
!MESSAGE Bundle update@plugins/org.mortbay.jetty_5.1.11.v200706111724.jar was
not resolved.
!SUBENTRY 2 org.mortbay.jetty 2 0 2008-02-06 05:42:58.619
!MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.619
!MESSAGE Bundle update@plugins/org.apache.jasper_5.5.17.v200706111724.jar was
not resolved.
!SUBENTRY 2 org.apache.jasper 2 0 2008-02-06 05:42:58.619
!MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).

!ENTRY org.eclipse.osgi 2 0 2008-02-06 05:42:58.640
!MESSAGE The following is a complete list of bundles which are not resolved,
see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.640
!MESSAGE Bundle update@plugins/org.eclipse.help.webapp_3.3.1.v20070823_33x.jar
[7] was not resolved.
!SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-02-06 05:42:58.641
!MESSAGE Missing required bundle org.eclipse.help.base_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-02-06 05:42:58.641
!MESSAGE Missing required bundle org.apache.jasper_5.5.17.
!SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-02-06 05:42:58.641
!MESSAGE Missing required bundle org.eclipse.equinox.jsp.jasper.registry_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
!MESSAGE Bundle
update@plugins/org.eclipse.pde.ui.templates_3.3.0.v20070608-1300.jar [35] was
not resolved.
!SUBENTRY 2 org.eclipse.pde.ui.templates 2 0 2008-02-06 05:42:58.641
!MESSAGE Missing required bundle org.eclipse.pde.ui_[3.3.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
!MESSAGE Bundle
update@plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.0.v20070607.jar [38]
was not resolved.
!SUBENTRY 2 org.eclipse.equinox.jsp.jasper.registry 2 0 2008-02-06 05:42:58.641
!MESSAGE Missing imported package org.eclipse.equinox.jsp.jasper_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
!MESSAGE Bundle update@plugins/org.mortbay.jetty_5.1.11.v200706111724.jar [39]
was not resolved.
!SUBENTRY 2 org.mortbay.jetty 2 0 2008-02-06 05:42:58.641
!MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
!MESSAGE Bundle update@plugins/org.eclipse.help.base_3.3.1.v20070813_33x.jar
[41] was not resolved.
!SUBENTRY 2 org.eclipse.help.base 2 0 2008-02-06 05:42:58.641
!MESSAGE Missing imported package org.eclipse.equinox.http.jetty_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
!MESSAGE Bundle
update@plugins/org.eclipse.equinox.jsp.jasper_1.0.1.R33x_v20070816.jar [49] was
not resolved.
!SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2008-02-06 05:42:58.641
!MESSAGE Missing imported package org.apache.jasper.servlet_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
!MESSAGE Bundle update@plugins/org.apache.jasper_5.5.17.v200706111724.jar [55]
was not resolved.
!SUBENTRY 2 org.apache.jasper 2 0 2008-02-06 05:42:58.642
!MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.642
!MESSAGE Bundle update@plugins/org.eclipse.pde.ui_3.3.1.v20070912-0800.jar [88]
was not resolved.
!SUBENTRY 2 org.eclipse.pde.ui 2 0 2008-02-06 05:42:58.642
!MESSAGE Missing imported package org.apache.lucene.demo.html_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.642
!MESSAGE Bundle
update@plugins/org.eclipse.equinox.http.jetty_1.0.1.R33x_v20070816.jar [116]
was not resolved.
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2008-02-06 05:42:58.642
!MESSAGE Missing imported package org.mortbay.http_[5.1.0,6.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2008-02-06 05:42:58.642
!MESSAGE Missing imported package org.mortbay.jetty.servlet_[5.1.0,6.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2008-02-06 05:42:58.642
!MESSAGE Missing imported package org.mortbay.util_[5.1.0,6.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.642
!MESSAGE Bundle update@plugins/org.eclipse.help.ui_3.3.1.v20070726_33x.jar
[123] was not resolved.
!SUBENTRY 2 org.eclipse.help.ui 2 0 2008-02-06 05:42:58.642
!MESSAGE Missing required bundle org.eclipse.help.base_[3.3.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.642
!MESSAGE Bundle update@plugins/org.eclipse.sdk_3.3.2.R33x_v20071022/ [129] was
not resolved.
!SUBENTRY 2 org.eclipse.sdk 2 0 2008-02-06 05:42:58.642
!MESSAGE Missing required bundle org.eclipse.help.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.sdk 2 0 2008-02-06 05:42:58.642
!MESSAGE Missing required bundle org.eclipse.help.base_[3.1.0,4.0.0).


Reproducible: Always

Steps to Reproduce:
emerge eclipse-sdk

package.keywords:

dev-util/eclipse-sdk                    ~x86
dev-java/cldc-api                               ~x86
dev-java/junit                          ~x86
dev-java/hamcrest-core                  ~x86
dev-java/swt                            ~x86
dev-java/jsch                           ~x86
dev-java/icu4j                  ~x86
dev-java/lucene                         ~x86
dev-java/commons-el                     ~x86
dev-java/tomcat-servlet-api             ~x86








Portage 2.1.3.19 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r6 i686)
=================================================================
System uname: 2.6.23-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Sat, 02 Feb 2008 14:16:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts
/etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d /usr/share/X11/xkb"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/portage/distfiles"
FEATURES="autoclean distlocks fixpackages metadata-transfer parallel-fetch
sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/mnt/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa arts berkdb bitmap-fonts bluetooth
bzip2 cairo cli cpudetection cracklib crypt dbus diskio dmi dri dts dvd dvdr
dvdread encode exif extrafilters ffmpeg firefox fortran gdbm gif gpm gtk gtk2
hal hbci hou iconv imagemagick irmc isdnlog java java5 javascript jikes jpeg
jpeg2k kipi libnotify lm_sensors logrotate midi mikmod mjpeg mmx mmxext mp3
mpeg mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ofx
ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4
quicktime readline real reflection rle sdl session sou sound spl sse sse2 ssl
startup-notification svg syslog tcpd tiff timidity tk truetype truetype-fonts
type1-fonts unicode usb visualization vorbis win32codecs wma wmf x264 x86
xcomposite xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
ymfpci" ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks
ladspa lfloat linear meter mulaw multi null rate route share shm"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling
status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en"
USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jouni Kosonen 2008-02-06 07:15:43 0000 -------
I had the same situation when I was upgrading to Europa and I remember that
googling for the solution was surprisingly hard. Finally found it somewhere on
the  eclipsezone.org; it wasn't
http://www.eclipsezone.com/eclipse/forums/t99010.rhtml but that should do.

This is how it got resolved here:
$ eclipse-3-3 -noExit -console
osgi> ss

You should get a list of bundles and their states. Acceptable states are
ACTIVE, <<LAZY>> and RESOLVED. If some of the bundles are in state INSTALLED
they are the problem cases. 
I think it was lucene:1.9, tomcat-servlet-api:2.4 and either commons-logging or
commons-el that were the culprits here; re-emerging those ebuilds fixed the
situation.

------- Comment #2 From Jakub Moc (RETIRED) 2008-02-06 08:38:22 0000 -------
Please try the above and report back.

------- Comment #3 From Christian Pontesegger 2008-02-06 09:22:59 0000 -------
There are indeed some packages marked INSTALLED:

7       INSTALLED   org.eclipse.help.webapp_3.3.1.v20070823_33x
35      INSTALLED   org.eclipse.pde.ui.templates_3.3.0.v20070608-1300
38      INSTALLED   org.eclipse.equinox.jsp.jasper.registry_1.0.0.v20070607
39      INSTALLED   org.mortbay.jetty_5.1.11.v200706111724
41      INSTALLED   org.eclipse.help.base_3.3.1.v20070813_33x
49      INSTALLED   org.eclipse.equinox.jsp.jasper_1.0.1.R33x_v20070816
55      INSTALLED   org.apache.jasper_5.5.17.v200706111724
88      INSTALLED   org.eclipse.pde.ui_3.3.1.v20070912-0800
116     INSTALLED   org.eclipse.equinox.http.jetty_1.0.1.R33x_v20070816
123     INSTALLED   org.eclipse.help.ui_3.3.1.v20070726_33x
129     INSTALLED   org.eclipse.sdk_3.3.2.R33x_v20071022

so I tried to re emerge jasper to get rid of bundle 55 error. But did not help
still bundle 55 is simply INSTALLED afterwards

Rebuilding eclipse didn't help either

------- Comment #4 From Jean-Noël Rivasseau 2008-02-06 10:26:00 0000 -------
There can also be some problems if some required bundle is not listed at all,
in the 'ss' output. Your best bet is to emerge --sync, then reemerge all of
Eclipse dependencies. What I don't understand however, is why people get these
problems. Normally when emerging Eclipse-3.3 it should ask for the requested
dependencies, and these dependencies should build correctly, eg with the OSGi
headers in it.

The only thing that could mess the process is if people had the overlays
installed at some point, since there was different version of the
java-osgi.eclass and some were bugged.

So, do you had java-experimental overlay or java-overlay installed on your
system?

------- Comment #5 From Christian Pontesegger 2008-02-06 10:35:37 0000 -------
(In reply to comment #4)
> So, do you had java-experimental overlay or java-overlay installed on your
> system?

No, never.
For java and eclipse I was always using stable packages - never used overlays
anyway.

emerge --sync && emerge eclipse-sdk

did not give me any new packages

------- Comment #6 From Jean-Noël Rivasseau 2008-02-06 10:43:21 0000 -------
Don't reemerge Eclipse itself, reemerge its dependencies, eg

emerge -a commons-logging commons-el icu4j etc...

You can look at the dependencies by looking at the ebuild, I dont know if there
is an easy way to know the direct dependencies of a package with Portage

------- Comment #7 From Jouni Kosonen 2008-02-06 11:04:54 0000 -------
I use qdepends from portage-utils:
qdepends dev-util/eclipse-sdk-3.3.1.1
dev-util/eclipse-sdk-3.3.1.1: =virtual/jdk-1.5* sys-apps/findutils
dev-java/sun-j2me-bin app-arch/unzip app-arch/zip
>=dev-java/ant-eclipse-ecj-3.3 dev-java/ant-core dev-java/ant-nodeps
=dev-java/junit-3* dev-java/junit:4 >=dev-java/swt-3.3.1.1
>=dev-java/jsch-0.1.36-r1 >=dev-java/icu4j-3.6.1 >=dev-java/commons-el-1.0-r2
>=dev-java/commons-logging-1.1-r4 >=dev-java/tomcat-servlet-api-5.5.25-r1:2.4
dev-java/lucene:1.9 >=dev-java/java-config-2.0.33-r1 >=sys-apps/portage-2.1.2.7
>=dev-java/javatoolkit-0.2.0-r1 >=sys-apps/portage-2.1.2.7
>=dev-java/ant-core-1.7.0

Not listed is www-servers/jetty that eclipse would apparently like to use for
help UI, but that should not prevent the sdk from starting.

------- Comment #8 From Jean-Noël Rivasseau 2008-02-06 11:37:30 0000 -------
jetty is actually available, we are just using the bundled jar for now until
someone steps up and writes an ebuild for jetty :)

------- Comment #9 From Christian Pontesegger 2008-02-06 15:32:32 0000 -------
So I rebuilt the following stuff:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/portage-2.1.3.19  USE="-build -doc -epydoc (-selinux)"
LINGUAS="-pl" 0 kB 
[ebuild   R   ] virtual/jdk-1.5.0  0 kB 
[ebuild   R   ] dev-java/javatoolkit-0.2.0-r1  0 kB 
[ebuild   R   ] app-arch/unzip-5.52-r1  0 kB 
[ebuild   R   ] sys-apps/findutils-4.3.11  USE="nls (-selinux) -static" 0 kB 
[ebuild   R   ] app-arch/zip-2.32-r1  USE="crypt" 0 kB 
[ebuild   R   ] dev-java/ant-core-1.7.0  USE="-doc -source" 0 kB 
[ebuild   R   ] dev-java/cldc-api-1.1  0 kB 
[ebuild   R   ] dev-java/junit-4.4-r1  USE="-doc -examples -source -test" 0 kB 
[ebuild   R   ] dev-java/ant-eclipse-ecj-3.3.0-r1  0 kB 
[ebuild   R   ] dev-java/ant-nodeps-1.7.0  0 kB 
[ebuild   R   ] dev-java/junit-3.8.2-r1  USE="-doc -source" 0 kB 
[ebuild   R   ] dev-java/swt-3.3.1.1  USE="cairo firefox opengl -gnome
-seamonkey -xulrunner" 0 kB 
[ebuild   R   ] dev-java/commons-el-1.0-r2  USE="-source" 0 kB 
[ebuild   R   ] dev-java/commons-logging-1.1-r5  USE="-avalon-framework
-avalon-logkit -doc -log4j -servletapi -source" 0 kB 
[ebuild   R   ] dev-java/tomcat-servlet-api-5.5.25-r1  USE="java5 -doc -source"
0 kB 
[ebuild   R   ] dev-java/lucene-1.9.1  USE="-doc -source -test" 0 kB 

Still eclipse refuses to start with the same error message

------- Comment #10 From Jean-Noël Rivasseau 2008-02-06 16:26:08 0000 -------
You are missing the following:

        >=dev-java/jsch-0.1.36-r1
        >=dev-java/icu4j-3.6.1


(In reply to comment #9)
> So I rebuilt the following stuff:
> 
> Calculating dependencies... done!
> [ebuild   R   ] sys-apps/portage-2.1.3.19  USE="-build -doc -epydoc (-selinux)"
> LINGUAS="-pl" 0 kB 
> [ebuild   R   ] virtual/jdk-1.5.0  0 kB 
> [ebuild   R   ] dev-java/javatoolkit-0.2.0-r1  0 kB 
> [ebuild   R   ] app-arch/unzip-5.52-r1  0 kB 
> [ebuild   R   ] sys-apps/findutils-4.3.11  USE="nls (-selinux) -static" 0 kB 
> [ebuild   R   ] app-arch/zip-2.32-r1  USE="crypt" 0 kB 
> [ebuild   R   ] dev-java/ant-core-1.7.0  USE="-doc -source" 0 kB 
> [ebuild   R   ] dev-java/cldc-api-1.1  0 kB 
> [ebuild   R   ] dev-java/junit-4.4-r1  USE="-doc -examples -source -test" 0 kB 
> [ebuild   R   ] dev-java/ant-eclipse-ecj-3.3.0-r1  0 kB 
> [ebuild   R   ] dev-java/ant-nodeps-1.7.0  0 kB 
> [ebuild   R   ] dev-java/junit-3.8.2-r1  USE="-doc -source" 0 kB 
> [ebuild   R   ] dev-java/swt-3.3.1.1  USE="cairo firefox opengl -gnome
> -seamonkey -xulrunner" 0 kB 
> [ebuild   R   ] dev-java/commons-el-1.0-r2  USE="-source" 0 kB 
> [ebuild   R   ] dev-java/commons-logging-1.1-r5  USE="-avalon-framework
> -avalon-logkit -doc -log4j -servletapi -source" 0 kB 
> [ebuild   R   ] dev-java/tomcat-servlet-api-5.5.25-r1  USE="java5 -doc -source"
> 0 kB 
> [ebuild   R   ] dev-java/lucene-1.9.1  USE="-doc -source -test" 0 kB 
> 
> Still eclipse refuses to start with the same error message
> 

------- Comment #11 From Jouni Kosonen 2008-02-06 17:53:42 0000 -------
There is actually something wonky about the ebuild now. I tried re-emerging the
sdk and got identical results as Christian.

The current ebuild throws away the bundled
plugins/org.apache.commons.logging_1.0.4.v200706111724.jar and replaces it with
 a soft link to /usr/share/commons-logging/lib/commons-logging.jar .
This does not work, because that jar, at least in my machine, lacks the
plugin.properties and proper META-INF contents. 

After manually restoring the original jar from the
distfiles/eclipse-sourceBuild-srcIncluded-3.3.1.1.zip to the plugin directory
all those INSTALLED states become RESOLVED and the IDE starts.

------- Comment #12 From Jean-Noël Rivasseau 2008-02-06 18:03:28 0000 -------
I see, someone has created the -r5 commons-logging ebuild without using the
proper OSGi eclass packaging functions...

Update to -r6 should resolve the problem.

------- Comment #13 From Vlastimil Babka (Caster) 2008-02-06 18:16:06 0000 -------
(In reply to comment #12)
> I see, someone has created the -r5 commons-logging ebuild without using the
> proper OSGi eclass packaging functions...

Was me, sorry, forgot to update the reverse deps :( 

------- Comment #14 From Jouni Kosonen 2008-02-06 18:21:35 0000 -------
Confirmed, after -r6 and without the bundled jar the relevant line in ss is
RESOLVED    org.apache.commons.logging_1.1.0
and everything works again.

------- Comment #15 From Christian Pontesegger 2008-02-06 19:31:29 0000 -------
commons-logging was always RESOLVED for me.
Still I tried commons-logging-1.1-r6 and -1.1.1
Both did not resolve my problem. All my mentioned packages remain INSTALLED

------- Comment #16 From Vlastimil Babka (Caster) 2008-02-06 20:00:42 0000 -------
(In reply to comment #14)
> Confirmed, after -r6 and without the bundled jar the relevant line in ss is
> RESOLVED    org.apache.commons.logging_1.1.0
> and everything works again.

Updated the commons-logging dependency. But leaving bug open for the other
issue.

------- Comment #17 From Jouni Kosonen 2008-02-06 20:32:33 0000 -------
@Christian, 
the original logfile did contain two instances of 
!MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).

Can you confirm that after closing the osgi console ("osgi> exit") and running
the command "eclipse-3.3 -noExit -console" again, you still get the same error
and ss gives the same list of modules in INSTALLED state?

If so, what does 
osgi> diag 55
say for the reason for not running jasper?

------- Comment #18 From carlo cancellieri 2008-02-07 00:42:11 0000 -------
Hy,
i don't know how did you solve this but googling i've found this solution:
(gentoo, x86_64, java-6)
in /usr/lib64/eclipse-3.3/configuration/config.ini change
eclipse.product=org.eclipse.sdk.ide
to
#eclipse.product=org.eclipse.sdk.ide
eclipse.product=org.eclipse.platform.ide

and magically it start...
thank's to:
http://dev.eclipse.org/newslists/news.eclipse.platform/msg55618.html

(In reply to comment #17)
> @Christian, 
> the original logfile did contain two instances of 
> !MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).
> 
> Can you confirm that after closing the osgi console ("osgi> exit") and running
> the command "eclipse-3.3 -noExit -console" again, you still get the same error
> and ss gives the same list of modules in INSTALLED state?
> 
> If so, what does 
> osgi> diag 55
> say for the reason for not running jasper?
> 

(In reply to comment #0)
> On startup eclipse immediately exits with following log file content:
> 
> !SESSION 2008-02-06 05:42:57.117
> -----------------------------------------------
> eclipse.buildId=M20071023-1652
> java.version=1.5.0_13
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
> Command-line arguments:  -os linux -ws gtk -arch x86
> 
> !ENTRY org.eclipse.osgi 2 1 2008-02-06 05:42:58.440
> !MESSAGE NLS missing message: fileInitializer_missingFileName in:
> org.eclipse.core.internal.runtime.messages
> 
> !ENTRY org.eclipse.equinox.app 2008-02-06 05:42:58.446
> !MESSAGE Product org.eclipse.sdk.ide could not be found.
> 
> !ENTRY org.eclipse.osgi 4 0 2008-02-06 05:42:58.469
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: No application id has been found.
>         at
> org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
>         at
> org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98)
>         at
> org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112)
>         at
> org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
>         at
> org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
>         at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
>         at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
>         at org.eclipse.equinox.internal.app.Activator.start(Activator.java:54)
>         at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
>         at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
>         at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
>         at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
>         at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
>         at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
>         at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
>         at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
>         at
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
>         at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
>         at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at
> org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.java:47)
>         at
> org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:32)
>         at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
>         at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
>         at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
>         at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
>         at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
>         at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
>         at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
>         at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
>         at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
>         at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
>         at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
> 
> !ENTRY org.eclipse.osgi 2 0 2008-02-06 05:42:58.618
> !MESSAGE One or more bundles are not resolved because the following root
> constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.618
> !MESSAGE Bundle update@plugins/org.mortbay.jetty_5.1.11.v200706111724.jar was
> not resolved.
> !SUBENTRY 2 org.mortbay.jetty 2 0 2008-02-06 05:42:58.619
> !MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.619
> !MESSAGE Bundle update@plugins/org.apache.jasper_5.5.17.v200706111724.jar was
> not resolved.
> !SUBENTRY 2 org.apache.jasper 2 0 2008-02-06 05:42:58.619
> !MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).
> 
> !ENTRY org.eclipse.osgi 2 0 2008-02-06 05:42:58.640
> !MESSAGE The following is a complete list of bundles which are not resolved,
> see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.640
> !MESSAGE Bundle update@plugins/org.eclipse.help.webapp_3.3.1.v20070823_33x.jar
> [7] was not resolved.
> !SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-02-06 05:42:58.641
> !MESSAGE Missing required bundle org.eclipse.help.base_[3.1.0,4.0.0).
> !SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-02-06 05:42:58.641
> !MESSAGE Missing required bundle org.apache.jasper_5.5.17.
> !SUBENTRY 2 org.eclipse.help.webapp 2 0 2008-02-06 05:42:58.641
> !MESSAGE Missing required bundle org.eclipse.equinox.jsp.jasper.registry_1.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
> !MESSAGE Bundle
> update@plugins/org.eclipse.pde.ui.templates_3.3.0.v20070608-1300.jar [35] was
> not resolved.
> !SUBENTRY 2 org.eclipse.pde.ui.templates 2 0 2008-02-06 05:42:58.641
> !MESSAGE Missing required bundle org.eclipse.pde.ui_[3.3.0,4.0.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
> !MESSAGE Bundle
> update@plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.0.v20070607.jar [38]
> was not resolved.
> !SUBENTRY 2 org.eclipse.equinox.jsp.jasper.registry 2 0 2008-02-06 05:42:58.641
> !MESSAGE Missing imported package org.eclipse.equinox.jsp.jasper_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
> !MESSAGE Bundle update@plugins/org.mortbay.jetty_5.1.11.v200706111724.jar [39]
> was not resolved.
> !SUBENTRY 2 org.mortbay.jetty 2 0 2008-02-06 05:42:58.641
> !MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
> !MESSAGE Bundle update@plugins/org.eclipse.help.base_3.3.1.v20070813_33x.jar
> [41] was not resolved.
> !SUBENTRY 2 org.eclipse.help.base 2 0 2008-02-06 05:42:58.641
> !MESSAGE Missing imported package org.eclipse.equinox.http.jetty_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
> !MESSAGE Bundle
> update@plugins/org.eclipse.equinox.jsp.jasper_1.0.1.R33x_v20070816.jar [49] was
> not resolved.
> !SUBENTRY 2 org.eclipse.equinox.jsp.jasper 2 0 2008-02-06 05:42:58.641
> !MESSAGE Missing imported package org.apache.jasper.servlet_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.641
> !MESSAGE Bundle update@plugins/org.apache.jasper_5.5.17.v200706111724.jar [55]
> was not resolved.
> !SUBENTRY 2 org.apache.jasper 2 0 2008-02-06 05:42:58.642
> !MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.642
> !MESSAGE Bundle update@plugins/org.eclipse.pde.ui_3.3.1.v20070912-0800.jar [88]
> was not resolved.
> !SUBENTRY 2 org.eclipse.pde.ui 2 0 2008-02-06 05:42:58.642
> !MESSAGE Missing imported package org.apache.lucene.demo.html_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.642
> !MESSAGE Bundle
> update@plugins/org.eclipse.equinox.http.jetty_1.0.1.R33x_v20070816.jar [116]
> was not resolved.
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2008-02-06 05:42:58.642
> !MESSAGE Missing imported package org.mortbay.http_[5.1.0,6.0.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2008-02-06 05:42:58.642
> !MESSAGE Missing imported package org.mortbay.jetty.servlet_[5.1.0,6.0.0).
> !SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2008-02-06 05:42:58.642
> !MESSAGE Missing imported package org.mortbay.util_[5.1.0,6.0.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.642
> !MESSAGE Bundle update@plugins/org.eclipse.help.ui_3.3.1.v20070726_33x.jar
> [123] was not resolved.
> !SUBENTRY 2 org.eclipse.help.ui 2 0 2008-02-06 05:42:58.642
> !MESSAGE Missing required bundle org.eclipse.help.base_[3.3.0,4.0.0).
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-02-06 05:42:58.642
> !MESSAGE Bundle update@plugins/org.eclipse.sdk_3.3.2.R33x_v20071022/ [129] was
> not resolved.
> !SUBENTRY 2 org.eclipse.sdk 2 0 2008-02-06 05:42:58.642
> !MESSAGE Missing required bundle org.eclipse.help.ui_[3.2.0,4.0.0).
> !SUBENTRY 2 org.eclipse.sdk 2 0 2008-02-06 05:42:58.642
> !MESSAGE Missing required bundle org.eclipse.help.base_[3.1.0,4.0.0).
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> emerge eclipse-sdk
> 
> package.keywords:
> 
> dev-util/eclipse-sdk                    ~x86
> dev-java/cldc-api                               ~x86
> dev-java/junit                          ~x86
> dev-java/hamcrest-core                  ~x86
> dev-java/swt                            ~x86
> dev-java/jsch                           ~x86
> dev-java/icu4j                  ~x86
> dev-java/lucene                         ~x86
> dev-java/commons-el                     ~x86
> dev-java/tomcat-servlet-api             ~x86
> 
> 
> 
> 
> 
> 
> 
> 
> Portage 2.1.3.19 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0,
> 2.6.23-gentoo-r6 i686)
> =================================================================
> System uname: 2.6.23-gentoo-r6 i686 AMD Athlon(tm) 64 Processor 3000+
> Timestamp of tree: Sat, 02 Feb 2008 14:16:01 +0000
> distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
> [disabled]
> app-shells/bash:     3.2_p17-r1
> dev-java/java-config: 1.3.7, 2.1.4
> dev-lang/python:     2.4.4-r6
> dev-python/pycrypto: 2.0.1-r6
> sys-apps/baselayout: 1.12.10-r5
> sys-apps/sandbox:    1.2.18.1-r2
> sys-devel/autoconf:  2.13, 2.61-r1
> sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
> sys-devel/binutils:  2.18-r1
> sys-devel/gcc-config: 1.4.0-r4
> sys-devel/libtool:   1.5.24
> virtual/os-headers:  2.6.23-r3
> ACCEPT_KEYWORDS="x86"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
> /usr/kde/3.5/shutdown /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts
> /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo
> /etc/udev/rules.d /usr/share/X11/xkb"
> CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
> DISTDIR="/mnt/portage/distfiles"
> FEATURES="autoclean distlocks fixpackages metadata-transfer parallel-fetch
> sandbox sfperms strict unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://distfiles.gentoo.org
> http://distro.ibiblio.org/pub/linux/distributions/gentoo"
> LANG="de_DE"
> LINGUAS="de en"
> MAKEOPTS="-j2"
> PKGDIR="/mnt/portage/packages"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --delete-after --stats --timeout=180
> --exclude=/distfiles --exclude=/local --exclude=/packages
> --filter=H_**/files/digest-*"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/mnt/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="3dnow 3dnowext X a52 aac acpi alsa arts berkdb bitmap-fonts bluetooth
> bzip2 cairo cli cpudetection cracklib crypt dbus diskio dmi dri dts dvd dvdr
> dvdread encode exif extrafilters ffmpeg firefox fortran gdbm gif gpm gtk gtk2
> hal hbci hou iconv imagemagick irmc isdnlog java java5 javascript jikes jpeg
> jpeg2k kipi libnotify lm_sensors logrotate midi mikmod mjpeg mmx mmxext mp3
> mpeg mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ofx
> ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4
> quicktime readline real reflection rle sdl session sou sound spl sse sse2 ssl
> startup-notification svg syslog tcpd tiff timidity tk truetype truetype-fonts
> type1-fonts unicode usb visualization vorbis win32codecs wma wmf x264 x86
> xcomposite xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
> bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801
> hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
> ymfpci" ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks
> ladspa lfloat linear meter mulaw multi null rate route share shm"
> APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
> authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
> authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
> disk_cache env expires ext_filter file_cache filter headers include info
> log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling
> status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
> INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz
> cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en"
> USERLAND="GNU" VIDEO_CARDS="nvidia"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> 

------- Comment #19 From Jean-Noël Rivasseau 2008-02-07 09:22:59 0000 -------
As I said, in your case it's probably either icu4j or jsch, try rebuilding
those

(In reply to comment #15)
> commons-logging was always RESOLVED for me.
> Still I tried commons-logging-1.1-r6 and -1.1.1
> Both did not resolve my problem. All my mentioned packages remain INSTALLED
> 

------- Comment #20 From Christian Pontesegger 2008-02-07 18:44:08 0000 -------
> As I said, in your case it's probably either icu4j or jsch, try rebuilding
> those

So I rebuilt both packages, additionally I have commons-logging-1.1-r6.
Still I end up with my problem

> the original logfile did contain two instances of 
> !MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).

Correct, I think I focused too much on the bundle states.
But these messages remain the same. The exception is still the same too.

> If so, what does 
> osgi> diag 55
> say for the reason for not running jasper?

Here are the results for all INSTALLED packages:

osgi> diag 7
update@plugins/org.eclipse.help.webapp_3.3.1.v20070823_33x.jar [7]
  Missing required bundle org.eclipse.help.base_[3.1.0,4.0.0).
  Missing required bundle org.apache.jasper_5.5.17.
  Missing required bundle org.eclipse.equinox.jsp.jasper.registry_1.0.0.

osgi> diag 35
update@plugins/org.eclipse.pde.ui.templates_3.3.0.v20070608-1300.jar [35]
  Missing required bundle org.eclipse.pde.ui_[3.3.0,4.0.0).

osgi> diag 38
update@plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.0.v20070607.jar [38]
  Missing imported package org.eclipse.equinox.jsp.jasper_0.0.0.

osgi> diag 39
update@plugins/org.mortbay.jetty_5.1.11.v200706111724.jar [39]
  Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).

osgi> diag 41
update@plugins/org.eclipse.help.base_3.3.1.v20070813_33x.jar [41]
  Missing imported package org.eclipse.equinox.http.jetty_0.0.0.

osgi> diag 49
update@plugins/org.eclipse.equinox.jsp.jasper_1.0.1.R33x_v20070816.jar [49]
  Missing imported package org.apache.jasper.servlet_0.0.0.

osgi> diag 55
update@plugins/org.apache.jasper_5.5.17.v200706111724.jar [55]
  Missing imported package org.apache.commons.logging_[1.0.0,2.0.0).

osgi> diag 88
update@plugins/org.eclipse.pde.ui_3.3.1.v20070912-0800.jar [88]
  Missing imported package org.apache.lucene.demo.html_0.0.0.

osgi> diag 116
update@plugins/org.eclipse.equinox.http.jetty_1.0.1.R33x_v20070816.jar [116]
  Missing imported package org.mortbay.http_[5.1.0,6.0.0).
  Missing imported package org.mortbay.jetty.servlet_[5.1.0,6.0.0).
  Missing imported package org.mortbay.util_[5.1.0,6.0.0).

osgi> diag 123
update@plugins/org.eclipse.help.ui_3.3.1.v20070726_33x.jar [123]
  Missing required bundle org.eclipse.help.base_[3.3.0,4.0.0).

osgi> diag 129
update@plugins/org.eclipse.sdk_3.3.2.R33x_v20071022/ [129]
  Missing required bundle org.eclipse.help.ui_[3.2.0,4.0.0).
  Missing required bundle org.eclipse.help.base_[3.1.0,4.0.0).


Additionally I tried the following
> in /usr/lib64/eclipse-3.3/configuration/config.ini change
> eclipse.product=org.eclipse.sdk.ide
> to
> #eclipse.product=org.eclipse.sdk.ide
> eclipse.product=org.eclipse.platform.ide

Indeed eclipse will fire up correctly afterwards. But when I go to
Help > Software updates > manage configuration
I see a lot of problems reported there. After a quick look they seem to match
the error descriptions I got from the "diag" commands.

------- Comment #21 From Jouni Kosonen 2008-02-07 20:14:49 0000 -------
Strange. As far as I can tell those diagnostics mean that the sdk still doesn't
see a usable commons.logging implementation.
$ file /usr/lib/eclipse-3.3/plugins/*commons*.jar
(is it lib or lib64 there, btw? ) should give these four results:

/usr/lib/eclipse-3.3/plugins/commons-el.jar:
        symbolic link to `/usr/share/commons-el/lib/commons-el.jar'
/usr/lib/eclipse-3.3/plugins/commons-logging-adapters.jar:
        symbolic link to
`/usr/share/commons-logging/lib/commons-logging-adapters.jar'
/usr/lib/eclipse-3.3/plugins/commons-logging-api.jar:
        symbolic link to
`/usr/share/commons-logging/lib/commons-logging-api.jar'
/usr/lib/eclipse-3.3/plugins/commons-logging.jar:
        symbolic link to `/usr/share/commons-logging/lib/commons-logging.jar'

The first link target should be from dev-java/commons-el-1.0-r2
and the other three from dev-java/commons-logging-1.1-r6 or later.

If these links are there then I don't know why they are not used.
If all else fails I suppose you could use the bundled 
org.apache.commons.logging_1.0.4.v200706111724.jar like I did back in comment
#11.
Apart from that, I'm out of ideas.

------- Comment #22 From Guido Imperiale 2008-02-09 21:02:02 0000 -------
same problem here. Updating to commons-logging-1.1-r6 and rebuilding all direct
dependences didn't work.

------- Comment #23 From Jean-Noël Rivasseau 2008-02-10 13:25:51 0000 -------
Did you at some point use the overlays (java-overlay and especially
java-experimental)?

If yes, try removing these overlays or update them, then rebuild Eclipse and
all dependencies.

Don't forget to run Eclipse with eclipse-3.3 -clean every time.

------- Comment #24 From Guido Imperiale 2008-02-10 18:04:20 0000 -------
i never had any overlays.

eclipse-3.3 -clean fixed it for me.

------- Comment #25 From Christian Pontesegger 2008-02-11 19:49:40 0000 -------
(In reply to comment #21)

> $ file /usr/lib/eclipse-3.3/plugins/*commons*.jar
> (is it lib or lib64 there, btw? ) should give these four results:
> 
> /usr/lib/eclipse-3.3/plugins/commons-el.jar:
>         symbolic link to `/usr/share/commons-el/lib/commons-el.jar'
> /usr/lib/eclipse-3.3/plugins/commons-logging-adapters.jar:
>         symbolic link to
> `/usr/share/commons-logging/lib/commons-logging-adapters.jar'
> /usr/lib/eclipse-3.3/plugins/commons-logging-api.jar:
>         symbolic link to
> `/usr/share/commons-logging/lib/commons-logging-api.jar'
> /usr/lib/eclipse-3.3/plugins/commons-logging.jar:
>         symbolic link to `/usr/share/commons-logging/lib/commons-logging.jar'

For me it is "lib", not "lib64". I get the very same results for the file
command.
I had a look at  /usr/share/commons-logging/lib/commons-logging.jar. Is there a
way to tell whether it was correctly built for OSGI? Anything specific in the
Manifest?

using "eclipse-3.3 -clean" will start up the IDE, but still with the same
errors shown when calling "manage configuration". Yet I do not know if they
will cause some malfunctions when using eclipse. Still I think something does
not work correctly here.



> If all else fails I suppose you could use the bundled 
> org.apache.commons.logging_1.0.4.v200706111724.jar like I did back in comment
> #11.

Thanks, I think I will stick with 3.2 or use some gentoo-less version of 3.3
until it gets stable :)

------- Comment #26 From Jouni Kosonen 2008-02-12 06:38:45 0000 -------
> I had a look at  /usr/share/commons-logging/lib/commons-logging.jar. Is 
> there a way to tell whether it was correctly built for OSGI? Anything 
> specific in the Manifest?

If the jar is built correctly there should be a plugin.properties:
  bundleName="Apache Commons Logging"
  vendorName="Gentoo"

and Bundle -prefixed values in the MANIFEST.MF referring to that:
  Bundle-Vendor: %vendorName
  Bundle-Version: 1.1
  Bundle-Localization: plugin
  Bundle-Name: %bundleName
  Bundle-ManifestVersion: 2
  Bundle-SymbolicName: org.apache.commons.logging

I only learned this around comment #12 :-)

> using "eclipse-3.3 -clean" will start up the IDE, but still with the 
> same errors shown when calling "manage configuration". Yet I do not 
> know if they will cause some malfunctions when using eclipse. Still 
> I think something does not work correctly here.

You did return the line 
  eclipse.product=org.eclipse.sdk.ide
to the config.ini? The configuration management is not part of the
platform.ide.

First Last Prev Next    No search results available      Search page      Enter new bug