OSGI plugin application won't start after upgrading old code [message #1712386] |
Fri, 23 October 2015 10:18 |
Eclipse User |
|
|
|
Hi all,
I have updated an old source code which does run without issues on Eclipse Ganymede 3.4.2. Now, the application starts but gives me the spinning wheel on the login window WITHOUT any exceptions. So where do I start to debug??
Some background; the application is organized by 21 bundles and is a client-server application with one bundle for a SWT-based rich client, one bundle for the clients external libraries and where the remaining bundles are server and server API bundles. The application uses ECF R-OSGI for communication.
In this process, I had to upgrade ECF and make some simple edits to adapt to the changed API and I had to edit the MANIFEST.MF files to support Java 8 and the new libraries. I have also lowered the start level for one library bundle; the org.eclipse.ui bundle is now at start level 1, which got me a step further. The remaining build warnings are a bit confusing, and some of them are plain wrong:
Description Resource Path Location Type
The 'jre.compilation.profile' build entry does not match the current project Java compliance settings build.properties /PARS-ARTServiceAPI line 5 Plug-in Problem
The class folder '/' is not associated to any output library entry. build.properties /PARS-ExternalLibs line 1 Plug-in Problem
The class folder '/' is not associated to any output library entry. build.properties /PARS-RichClientLibs line 1 Plug-in Problem
The value of the field RawDataRecordReader.totalNumBytesRead is not used RawDataRecordReader.java /PARS-Hadoop/development/src/no/breivoll/pars/hadoop/input line 19 Java Problem
The value of the local variable fileId is not used TestFileFactory.java /PARS-FileService/development/test/no/breivoll/pars/file line 77 Java Problem
The value of the local variable i is not used AnnotateInfoPlotPlugin.java /PARS-RichClient/development/src/no/breivoll/pars/client/plot/plugin line 278 Java Problem
The value of the local variable memo is not used AnnotationExcelWriter.java /PARS-RichClient/development/src/no/breivoll/pars/client/office line 373 Java Problem
The value of the local variable pos is not used RawWriterServiceImpl.java /PARS-FileService/development/src/no/breivoll/pars/file/service line 96 Java Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-ARTService line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-CommunicationService line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-CommunicationServiceAPI line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-DBService line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-Experimental line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-FileService line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-FileServiceAPI line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-Hadoop line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-HadoopAPI line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-RichClient line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-SignalProcessing line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-SignalProcessingAPI line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-Stage line 1 Plug-in Problem
There is no 'jre.compilation.profile' build entry and the project has Java compliance preferences set build.properties /PARS-StageAPI line 1 Plug-in Problem
The output from the application when I start it is as follows:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://104.fwk1828757853/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://104.fwk1828757853:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See <slfj4 url>#multiple_bindings for an explanation.
2015-10-23 15:57:49,880 [Start Level: Equinox Container: 90e5c20a-8e79-0015-19f8-c711dc81f79c] DEBUG (ClientActivator.java:28) - ClientActivator() Default locale nb_NO changed to no_NO
2015-10-23 15:57:49,884 [Start Level: Equinox Container: 90e5c20a-8e79-0015-19f8-c711dc81f79c] DEBUG (ClientActivator.java:35) - start() [PARS-RichClient] Starting
2015-10-23 15:57:50,490 [Start Level: Equinox Container: 90e5c20a-8e79-0015-19f8-c711dc81f79c] DEBUG (LogInWindow.java:139) - LogInWindow Init complete
2015-10-23 15:57:50,941 [Start Level: Equinox Container: 90e5c20a-8e79-0015-19f8-c711dc81f79c] DEBUG (LogInWindow.java:41) - LogInWindow constructor complete.
2015-10-23 15:57:50,941 [Start Level: Equinox Container: 90e5c20a-8e79-0015-19f8-c711dc81f79c] DEBUG (ClientActivator.java:40) - start() [PARS-RichClient] Started successfully
WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9279
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
15:57:52.681 [Start Level: Equinox Container: 90e5c20a-8e79-0015-19f8-c711dc81f79c] DEBUG o.e.m.c.i.p.r.ProjectRegistryRefreshJob - Queued refresh request: []
!SESSION 2015-10-23 15:57:46.636 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_66
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=nb_NO
Framework arguments: --os macosx
Command-line arguments: -dev file:/Users/larsbrenna/Desktop/svn/PARS-Runtime/configuration/dev.properties --os macosx -ws cocoa -arch x86_64 -console -consoleLog
!ENTRY org.eclipse.core.net 1 0 2015-10-23 15:57:52.747
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
osgi> 15:57:53.867 [Worker-0] DEBUG o.e.m.c.i.p.r.ProjectRegistryManager - Refreshing: []
15:57:53.870 [Worker-0] DEBUG o.e.m.c.i.p.r.ProjectRegistryManager - Refreshed: []
The application then halts, there are no exceptions, no references to my code and I have no idea where to even begin to debug this issue.
Any ideas are greatly appreciated!!
|
|
|
Powered by
FUDForum. Page generated in 0.08537 seconds