Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse RT (runtime) » Standalone Infocenter(Standalone Infocenter not starting completely)
Standalone Infocenter [message #1237824] Thu, 30 January 2014 17:49 Go to next message
Earl Bennett is currently offline Earl BennettFriend
Messages: 29
Registered: July 2009
Junior Member
I have been working for some time trying to set up a standalone Infocenter using Kepler.

For testing, I'm running Infocenter using the java command provided at

http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/ua_help_setup_infocenter.htm

The Infocenter starts, and I can go to help/index.jsp with a browser, but no books are listed in the contents. I do have a help plugin in the plugins directory.

When I try the same Java command from the full eclipse install directory, it works fine.

I've run the command with -debug to try to get some idea of what is going on. Here is a portion of the debug information generated for the working version (from the eclipse directory)

***
Debugging is on.
Lock obtained.
isApplicationRunning? false
Using workspace d:\eclipse-kepler\eclipse\workspace
Ensured old .connection file is deleted. Launching Eclipse.
isApplicationRunning? false
Launch command is:
C:\Program Files\Java\jre8\bin\java.exe
-Dserver_port=8083
-cp
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
org.eclipse.core.launcher.Main
-nosplash
-application
org.eclipse.help.base.infocenterApplication
-data
d:\eclipse-kepler\eclipse\workspace
-console
8084
-debug
Install location:
file:/d:/eclipse-kepler/eclipse/
Configuration file:
file:/d:/eclipse-kepler/eclipse/configuration/config.ini loaded
Configuration location:
file:/d:/eclipse-kepler/eclipse/configuration/
Framework located:
file:/d:/eclipse-kepler/eclipse/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar
Loading extension: reference:file:org.eclipse.birt.jetty.overlay_4.3.1.v201308301349.jar
eclipse.properties not found
Framework classpath:
file:/d:/eclipse-kepler/eclipse/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar
file:/d:/eclipse-kepler/eclipse/plugins/
file:/d:/eclipse-kepler/eclipse/plugins/org.eclipse.birt.jetty.overlay_4.3.1.v201308301349.jar
isApplicationRunning? false
Debug options:
file:/d:/eclipse-kepler/eclipse/.options not found
isApplicationRunning? false
isApplicationRunning? false
Time to load bundles: 0
isApplicationRunning? false
isApplicationRunning? false
Starting application: 1264
08:53:32.847 [Start Help Server] DEBUG org.eclipse.jetty.util.log - Logging to Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog
08:53:32.878 [Start Help Server] DEBUG o.e.jetty.util.component.Container - Container org.eclipse.jetty.server.Server@159bf0e + SelectChannelConnector@0.0.0.0:8083 as connector
***

The debug output for the non-working implementation is identical, except that after the line reading Starting application, there is no output for [Start Help Server]. Here is the entire debug output for the non-working version

***
Debugging is on.
Lock obtained.
isApplicationRunning? false
Using workspace d:\workspace\infocenter\com.compuware.common.web.platform\target\Compuware\workspace
Ensured old .connection file is deleted. Launching Eclipse.
isApplicationRunning? false
Launch command is:
C:\Program Files\Java\jre8\bin\java.exe
-cp
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
org.eclipse.core.launcher.Main
-nosplash
-application
org.eclipse.help.base.infocenterApplication
-data
d:\workspace\infocenter\com.compuware.common.web.platform\target\Compuware\workspace
-debug
Install location:
file:/d:/workspace/infocenter/com.compuware.common.web.platform/target/Compuware/
Configuration file:
file:/d:/workspace/infocenter/com.compuware.common.web.platform/target/Compuware/configuration/config.ini loaded
Configuration location:
file:/d:/workspace/infocenter/com.compuware.common.web.platform/target/Compuware/configuration/
Framework located:
file:/d:/workspace/infocenter/com.compuware.common.web.platform/target/Compuware/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar
Loading extension: reference:file:org.eclipse.birt.jetty.overlay_4.3.1.v201308301349.jar
eclipse.properties not found
Framework classpath:
file:/d:/workspace/infocenter/com.compuware.common.web.platform/target/Compuware/plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar
file:/d:/workspace/infocenter/com.compuware.common.web.platform/target/Compuware/plugins/
file:/d:/workspace/infocenter/com.compuware.common.web.platform/target/Compuware/plugins/org.eclipse.birt.jetty.overlay_4.3.1.v201308301349.jar
isApplicationRunning? false
Debug options:
file:/d:/workspace/infocenter/com.compuware.common.web.platform/target/Compuware/.options not found
isApplicationRunning? false
Time to load bundles: 0
isApplicationRunning? false
isApplicationRunning? false
Starting application: 967
isApplicationRunning? false
isApplicationRunning? true
Eclipse launched
Lock released.
***


It seems that I am probably missing a jar file, but I'm stumped as to what it can be. When I go into the osgi console, all the bundles
are marked as resolved or started. There are no unresolved bundles.

This is the list of jar files I currently have in my plugin directory.

com.compuware.common.web.platform.help-1.0.0.jar - This is the help plugin
com.ibm.icu_50.1.1.v201304230130.jar
com.sun.el_2.2.0.v201303151357.jar
javax.el_2.2.0.v201303151357.jar
javax.servlet.jsp_2.2.0.v201112011158.jar
javax.servlet_3.0.0.v201112011016.jar
org.apache.commons.logging_1.1.1.v201101211721.jar
org.apache.felix.gogo.command_0.10.0.v201209301215.jar
org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar
org.apache.felix.gogo.shell_0.10.0.v201212101605.jar
org.apache.jasper.glassfish_2.2.2.v201205150955.jar
org.apache.lucene.analysis_3.5.0.v20120725-1805.jar
org.apache.lucene.core_3.5.0.v20120725-1805.jar
org.eclipse.birt.jetty.overlay_4.3.1.v201308301349.jar
org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar
org.eclipse.core.expressions_3.4.500.v20130515-1343.jar
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar
org.eclipse.core.runtime_3.9.0.v20130326-1255.jar
org.eclipse.equinox.app_1.3.100.v20130327-1442.jar
org.eclipse.equinox.common_3.6.200.v20130402-1505.jar
org.eclipse.equinox.console_1.0.100.v20130429-0953.jar
org.eclipse.equinox.http.jetty_3.0.100.v20130327-1442.jar
org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar
org.eclipse.equinox.http.servlet_1.1.400.v20130418-1354.jar
org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20130327-1442.jar
org.eclipse.equinox.jsp.jasper_1.0.400.v20130327-1442.jar
org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
org.eclipse.equinox.preferences_3.5.100.v20130422-1538.jar
org.eclipse.equinox.registry_3.5.301.v20130717-1549.jar
org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar
org.eclipse.help.base_4.0.0.v20130911-1000.jar
org.eclipse.help.ui_4.0.1.v20130708-1201.jar
org.eclipse.help.webapp_3.6.200.v20130514-1258.jar
org.eclipse.help_3.6.0.v20130326-1254.jar
org.eclipse.jetty.continuation_8.1.10.v20130312.jar
org.eclipse.jetty.http_8.1.10.v20130312.jar
org.eclipse.jetty.io_8.1.10.v20130312.jar
org.eclipse.jetty.security_8.1.10.v20130312.jar
org.eclipse.jetty.server_8.1.10.v20130312.jar
org.eclipse.jetty.servlet_8.1.10.v20130312.jar
org.eclipse.jetty.util_8.1.10.v20130312.jar
org.eclipse.jetty.webapp_8.1.3.v20120522.jar
org.eclipse.jetty.xml_8.1.3.v20120522.jar
org.eclipse.osgi.services_3.3.100.v20130513-1956.jar
org.eclipse.osgi.util_3.2.300.v20130513-1956.jar
org.eclipse.osgi_3.9.1.v20130814-1242.jar
org.eclipse.ui.forms_3.6.1.v20130822-1117.jar
org.eclipse.ui.ide_3.9.1.v20130704-1828.jar
org.eclipse.ui_3.105.0.v20130522-1122.jar

I hope that someone can give me a clue as to how to proceed...

Earl
Re: Standalone Infocenter [message #1238248 is a reply to message #1237824] Fri, 31 January 2014 19:54 Go to previous message
Earl Bennett is currently offline Earl BennettFriend
Messages: 29
Registered: July 2009
Junior Member
I figured out how to get my infoCenter to run the way I wanted. I finally just made a copy of my Eclipse directory, and started pulling things out until I ended up with a (hopefully) minimum set of plugins that seems to work.

My final list of plugins is:

ch.qos.logback.classic_1.0.7.v20121108-1250.jar
ch.qos.logback.core_1.0.7.v20121108-1250.jar
ch.qos.logback.slf4j_1.0.7.v20121108-1250.jar
com.ibm.icu_50.1.1.v201304230130.jar
javax.el_2.2.0.v201303151357.jar
javax.servlet.jsp_2.2.0.v201112011158.jar
javax.servlet_3.0.0.v201112011016.jar
org.apache.jasper.glassfish_2.2.2.v201205150955.jar
org.apache.lucene.analysis_3.5.0.v20120725-1805.jar
org.apache.lucene.core_3.5.0.v20120725-1805.jar
org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar
org.eclipse.core.expressions_3.4.500.v20130515-1343.jar
org.eclipse.core.jobs_3.5.300.v20130429-1813.jar
org.eclipse.core.runtime_3.9.0.v20130326-1255.jar
org.eclipse.equinox.app_1.3.100.v20130327-1442.jar
org.eclipse.equinox.common_3.6.200.v20130402-1505.jar
org.eclipse.equinox.event_1.3.0.v20130327-1442.jar
org.eclipse.equinox.http.jetty_3.0.100.v20130327-1442.jar
org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar
org.eclipse.equinox.http.servlet_1.1.400.v20130418-1354.jar
org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20130327-1442.jar
org.eclipse.equinox.jsp.jasper_1.0.400.v20130327-1442.jar
org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
org.eclipse.equinox.preferences_3.5.100.v20130422-1538.jar
org.eclipse.equinox.registry_3.5.301.v20130717-1549.jar
org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar
org.eclipse.equinox.util_1.0.500.v20130404-1337.jar
org.eclipse.help.base_4.0.0.v20130911-1000.jar
org.eclipse.help.ui_4.0.1.v20130708-1201.jar
org.eclipse.help.webapp_3.6.200.v20130514-1258.jar
org.eclipse.help_3.6.0.v20130326-1254.jar
org.eclipse.jetty.continuation_8.1.10.v20130312.jar
org.eclipse.jetty.http_8.1.10.v20130312.jar
org.eclipse.jetty.io_8.1.10.v20130312.jar
org.eclipse.jetty.security_8.1.10.v20130312.jar
org.eclipse.jetty.server_8.1.10.v20130312.jar
org.eclipse.jetty.servlet_8.1.10.v20130312.jar
org.eclipse.jetty.util_8.1.10.v20130312.jar
org.eclipse.jetty.xml_8.1.3.v20120522.jar
org.eclipse.osgi.services_3.3.100.v20130513-1956.jar
org.eclipse.osgi.util_3.2.300.v20130513-1956.jar
org.eclipse.osgi_3.9.1.v20130814-1242.jar
org.eclipse.update.configurator_3.3.200.v20130326-1319.jar
org.slf4j.api_1.7.2.v20121108-1250.jar

I also modified the config.ini in the configuration directory. It now looks like this:

#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Fri Jan 31 08:44:11 EST 2014
org.eclipse.update.reconcile=false
osgi.instance.area.default=@user.home/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar
equinox.use.ds=true
eclipse.buildId=4.3.0.M20130911-1000
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.bundles.defaultStartLevel=4
eclipse.application=org.eclipse.help.base.infocenterApplication

And I also reduced the content of bundles.info in the configuration/org.eclipse.equinox.simpleconfigurator directory.
It now looks like this:

#version=1
ch.qos.logback.classic,1.0.7.v20121108-1250,plugins/ch.qos.logback.classic_1.0.7.v20121108-1250.jar,4,false
ch.qos.logback.core,1.0.7.v20121108-1250,plugins/ch.qos.logback.core_1.0.7.v20121108-1250.jar,4,false
ch.qos.logback.slf4j,1.0.7.v20121108-1250,plugins/ch.qos.logback.slf4j_1.0.7.v20121108-1250.jar,4,false
com.compuware.common.web.platform.help,1.0.0,plugins/com.compuware.common.web.platform.help-1.0.0.jar,4,false
com.ibm.icu,50.1.1.v201304230130,plugins/com.ibm.icu_50.1.1.v201304230130.jar,4,false
javax.el,2.2.0.v201303151357,plugins/javax.el_2.2.0.v201303151357.jar,4,false
javax.servlet,3.0.0.v201112011016,plugins/javax.servlet_3.0.0.v201112011016.jar,4,false
javax.servlet.jsp,2.2.0.v201112011158,plugins/javax.servlet.jsp_2.2.0.v201112011158.jar,4,false
org.apache.jasper.glassfish,2.2.2.v201205150955,plugins/org.apache.jasper.glassfish_2.2.2.v201205150955.jar,4,false
org.apache.lucene.analysis,3.5.0.v20120725-1805,plugins/org.apache.lucene.analysis_3.5.0.v20120725-1805.jar,4,false
org.apache.lucene.core,3.5.0.v20120725-1805,plugins/org.apache.lucene.core_3.5.0.v20120725-1805.jar,4,false
org.eclipse.core.contenttype,3.4.200.v20130326-1255,plugins/org.eclipse.core.contenttype_3.4.200.v20130326-1255.jar,4,false
org.eclipse.core.expressions,3.4.500.v20130515-1343,plugins/org.eclipse.core.expressions_3.4.500.v20130515-1343.jar,4,false
org.eclipse.core.jobs,3.5.300.v20130429-1813,plugins/org.eclipse.core.jobs_3.5.300.v20130429-1813.jar,4,false
org.eclipse.core.runtime,3.9.0.v20130326-1255,plugins/org.eclipse.core.runtime_3.9.0.v20130326-1255.jar,4,true
org.eclipse.equinox.app,1.3.100.v20130327-1442,plugins/org.eclipse.equinox.app_1.3.100.v20130327-1442.jar,4,false
org.eclipse.equinox.common,3.6.200.v20130402-1505,plugins/org.eclipse.equinox.common_3.6.200.v20130402-1505.jar,2,true
org.eclipse.equinox.event,1.3.0.v20130327-1442,plugins/org.eclipse.equinox.event_1.3.0.v20130327-1442.jar,2,true
org.eclipse.equinox.http.jetty,3.0.100.v20130327-1442,plugins/org.eclipse.equinox.http.jetty_3.0.100.v20130327-1442.jar,4,false
org.eclipse.equinox.http.registry,1.1.300.v20130402-1529,plugins/org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar,4,false
org.eclipse.equinox.http.servlet,1.1.400.v20130418-1354,plugins/org.eclipse.equinox.http.servlet_1.1.400.v20130418-1354.jar,4,false
org.eclipse.equinox.jsp.jasper,1.0.400.v20130327-1442,plugins/org.eclipse.equinox.jsp.jasper_1.0.400.v20130327-1442.jar,4,false
org.eclipse.equinox.jsp.jasper.registry,1.0.300.v20130327-1442,plugins/org.eclipse.equinox.jsp.jasper.registry_1.0.300.v20130327-1442.jar,4,false
org.eclipse.equinox.launcher,1.3.0.v20130327-1440,plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar,4,false
org.eclipse.equinox.preferences,3.5.100.v20130422-1538,plugins/org.eclipse.equinox.preferences_3.5.100.v20130422-1538.jar,4,false
org.eclipse.equinox.registry,3.5.301.v20130717-1549,plugins/org.eclipse.equinox.registry_3.5.301.v20130717-1549.jar,4,false
org.eclipse.equinox.simpleconfigurator,1.0.400.v20130327-2119,plugins/org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar,1,true
org.eclipse.equinox.util,1.0.500.v20130404-1337,plugins/org.eclipse.equinox.util_1.0.500.v20130404-1337.jar,4,false
org.eclipse.help,3.6.0.v20130326-1254,plugins/org.eclipse.help_3.6.0.v20130326-1254.jar,4,false
org.eclipse.help.base,4.0.0.v20130911-1000,plugins/org.eclipse.help.base_4.0.0.v20130911-1000.jar,4,false
org.eclipse.help.ui,4.0.1.v20130708-1201,plugins/org.eclipse.help.ui_4.0.1.v20130708-1201.jar,4,false
org.eclipse.help.webapp,3.6.200.v20130514-1258,plugins/org.eclipse.help.webapp_3.6.200.v20130514-1258.jar,4,false
org.eclipse.jetty.continuation,8.1.10.v20130312,plugins/org.eclipse.jetty.continuation_8.1.10.v20130312.jar,4,false
org.eclipse.jetty.http,8.1.10.v20130312,plugins/org.eclipse.jetty.http_8.1.10.v20130312.jar,4,false
org.eclipse.jetty.io,8.1.10.v20130312,plugins/org.eclipse.jetty.io_8.1.10.v20130312.jar,4,false
org.eclipse.jetty.security,8.1.10.v20130312,plugins/org.eclipse.jetty.security_8.1.10.v20130312.jar,4,false
org.eclipse.jetty.server,8.1.10.v20130312,plugins/org.eclipse.jetty.server_8.1.10.v20130312.jar,4,false
org.eclipse.jetty.servlet,8.1.10.v20130312,plugins/org.eclipse.jetty.servlet_8.1.10.v20130312.jar,4,false
org.eclipse.jetty.util,8.1.10.v20130312,plugins/org.eclipse.jetty.util_8.1.10.v20130312.jar,4,false
org.eclipse.jetty.xml,8.1.3.v20120522,plugins/org.eclipse.jetty.xml_8.1.3.v20120522.jar,4,false
org.eclipse.osgi,3.9.1.v20130814-1242,plugins/org.eclipse.osgi_3.9.1.v20130814-1242.jar,-1,true
org.eclipse.osgi.services,3.3.100.v20130513-1956,plugins/org.eclipse.osgi.services_3.3.100.v20130513-1956.jar,4,false
org.eclipse.osgi.util,3.2.300.v20130513-1956,plugins/org.eclipse.osgi.util_3.2.300.v20130513-1956.jar,4,false
org.eclipse.platform,4.3.1.v20130911-1000,plugins/org.eclipse.platform_4.3.1.v20130911-1000/,4,false
org.eclipse.update.configurator,3.3.200.v20130326-1319,plugins/org.eclipse.update.configurator_3.3.200.v20130326-1319.jar,4,false
org.slf4j.api,1.7.2.v20121108-1250,plugins/org.slf4j.api_1.7.2.v20121108-1250.jar,4,false

In order to start the infoCenter from a Java class, I also had to copy org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
to the root of my webapp and rename it startup.jar.

Note that the list of plugins above contains no documentation (help) plugins. If you run with just this list, the infoCenter will have a blank table of contents. Be sure to add some help plugins to the plugins directory.

Earl

Previous Topic:Embedding Jetty
Next Topic:File too long error
Goto Forum:
  


Current Time: Fri Apr 26 17:35:10 GMT 2024

Powered by FUDForum. Page generated in 0.03893 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top