Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Infocenter as Webapp - Problems
Infocenter as Webapp - Problems [message #624475] Tue, 31 August 2010 07:29 Go to next message
Matthias is currently offline MatthiasFriend
Messages: 45
Registered: August 2010
Member
Hi,
I'm trying to run Infocenter on Tomcat. My Help system works when I start the infocenter over the command line but I want to use tomcat.

I've deployed the infocenter.war which I downloaded from the eclipse homepage. After setting the eclipse_home in web.xml I get the following error:


exception

org.apache.jasper.JasperException: Could not find bootstrap code. Check location of boot plug-in or specify -boot.
org.apache.jasper.servlet.JspServletWrapper.handleJspExcepti on(JspServletWrapper.java:476)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:371)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

javax.servlet.ServletException: Could not find bootstrap code. Check location of boot plug-in or specify -boot.
org.eclipse.help.servlet.InitServlet.init(InitServlet.java:4 6)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

javax.servlet.ServletException: Could not find bootstrap code. Check location of boot plug-in or specify -boot.
org.eclipse.help.servlet.Eclipse.init(Eclipse.java:150)
org.eclipse.help.servlet.Eclipse.<init>(Eclipse.java:33)
org.eclipse.help.servlet.InitServlet.init(InitServlet.java:3 8)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

java.lang.RuntimeException: Could not find bootstrap code. Check location of boot plug-in or specify -boot.
org.eclipse.help.servlet.Eclipse.searchForBoot(Eclipse.java: 213)
org.eclipse.help.servlet.Eclipse.getBootLoader(Eclipse.java: 89)
org.eclipse.help.servlet.Eclipse.init(Eclipse.java:108)
org.eclipse.help.servlet.Eclipse.<init>(Eclipse.java:33)
org.eclipse.help.servlet.InitServlet.init(InitServlet.java:3 8)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.


I've tried also to create my own webapp with different tutorials but after the last steps I only get this error.

Please give me some hints!

Thanks in advance
Re: Infocenter as Webapp - Problems (Tomcat) [message #624480 is a reply to message #624475] Tue, 31 August 2010 13:24 Go to previous messageGo to next message
Chris Austin is currently offline Chris AustinFriend
Messages: 28
Registered: July 2009
Junior Member
I would recommend trying to build the war using the help documentation first (for 3.6 it is here):
http://help.eclipse.org/helios/topic/org.eclipse.platform.do c.isv/guide/ua_help_war.htm

Then you can work on customizing it.
Re: Infocenter as Webapp - Problems (Tomcat) [message #624482 is a reply to message #624475] Tue, 31 August 2010 14:27 Go to previous messageGo to next message
Matthias is currently offline MatthiasFriend
Messages: 45
Registered: August 2010
Member
I used the help documentation and my errors were the result. I will try it again tomorrow, maybe I skipped something.

I have also tried it with this guide:
http://blog.maxant.co.uk/pebble/2008/06/09/1213043100000.htm l
Same result.
Re: Infocenter as Webapp - Problems (Tomcat) [message #624485 is a reply to message #624475] Wed, 01 September 2010 06:15 Go to previous messageGo to next message
Matthias is currently offline MatthiasFriend
Messages: 45
Registered: August 2010
Member
Today I tried another complete version, it gives me another exception but I think I am near to the wished result.


HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet equinoxbridgeservlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:870)
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:685)
java.lang.Thread.run(Thread.java:619)

root cause

java.lang.IllegalStateException: instance already set
org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:44)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:870)
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:685)
java.lang.Thread.run(Thread.java:619)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
Apache Tomcat/5.5.23


Any proposes?
Re: Infocenter as Webapp - Problems (Tomcat) [message #624487 is a reply to message #624475] Thu, 02 September 2010 07:23 Go to previous messageGo to next message
Matthias is currently offline MatthiasFriend
Messages: 45
Registered: August 2010
Member
Another update:

I've tried a war from https://bugs.eclipse.org/bugs/show_bug.cgi?id=201666 Maybe it's not compatible with my eclipse 3.5.1 and Tomcat 5.5?

In my /WEB-INF/eclipse/plugins directory org.eclipse.core.runtime_3.4.0.v20080512.jar exists...

Here is the complete stackstrace:
02.09.2010 09:14:01 org.apache.catalina.core.ApplicationContext log
SCHWERWIEGEND: Error while starting Framework
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1359)
at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1205)
at org.eclipse.equinox.servletbridge.FrameworkLauncher$ChildFir stURLClassLoader.loadClass(FrameworkLauncher.java:650)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.eclipse.equinox.servletbridge.FrameworkLauncher.start(Fr ameworkLauncher.java:209)
at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:63)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
02.09.2010 09:14:01 org.apache.catalina.core.ApplicationContext log
SCHWERWIEGEND: StandardWrapper.Throwable
java.lang.RuntimeException: org.eclipse.core.runtime.adaptor.EclipseStarter
at org.eclipse.equinox.servletbridge.FrameworkLauncher.start(Fr ameworkLauncher.java:225)
at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:63)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
02.09.2010 09:14:01 org.apache.catalina.core.StandardContext loadOnStartup
SCHWERWIEGEND: Servlet /help threw load() exception
java.lang.RuntimeException: org.eclipse.core.runtime.adaptor.EclipseStarter
at org.eclipse.equinox.servletbridge.FrameworkLauncher.start(Fr ameworkLauncher.java:225)
at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:63)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4230)
at org.apache.catalina.core.ContainerBase.addChildInternal(Cont ainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBas e.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost. java:544)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostC onfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(Hos tConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig .java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java :1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostCo nfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:443)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 95)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:43 3)
02.09.2010 09:14:14 org.apache.catalina.core.ApplicationContext log
SCHWERWIEGEND: StandardWrapper.Throwable
java.lang.IllegalStateException: instance already set
at org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:44)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWr apper.java:791)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:127)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:619)
02.09.2010 09:14:14 org.apache.catalina.core.StandardWrapperValve invoke
SCHWERWIEGEND: Allocate exception for servlet equinoxbridgeservlet
java.lang.IllegalStateException: instance already set
at org.eclipse.equinox.servletbridge.BridgeServlet.setInstance( BridgeServlet.java:184)
at org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:44)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWr apper.java:791)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:127)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:619)
Re: Infocenter as Webapp - Problems (Tomcat) [message #624488 is a reply to message #624475] Thu, 02 September 2010 07:58 Go to previous messageGo to next message
Matthias is currently offline MatthiasFriend
Messages: 45
Registered: August 2010
Member
Now I just extracted org.eclipse.osgi_3.4.0.v20080605-1900.jar into /plugins (It was already in the plugin-folder but packaged in the same-named plugin as jar) and the osgi prompt appears.

When I browse to localhost:8080/help a page appears but it doesn't look like infocenter.

The header-frame has the content "Mit dieser XML-Datei sind anscheinend keine Style-Informationen verknüpft. Nachfolgend wird die Baum-Ansicht des Dokuments angezeigt."

The frame at the bottom has only "
<component name="Help System Webapp" version="1.1">
<plugin id="org.eclipse.help.webapp"/>
</component>"
as content.

Maybe is there an error with the permission of the filesystem so that eclipse may not extract the jars to work with them or something like this?

Thanks in advance
Re: Infocenter as Webapp - Problems (Tomcat) [message #624489 is a reply to message #624475] Fri, 03 September 2010 08:22 Go to previous message
Matthias is currently offline MatthiasFriend
Messages: 45
Registered: August 2010
Member
My last post is the solution to my problem. I only had to brrowse directly to index.jsp and my help shows up!
Previous Topic:Infocenter Mapping
Next Topic:Setting the default help home page
Goto Forum:
  


Current Time: Mon Oct 14 01:39:24 GMT 2024

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

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

Back to the top