Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Deploy infocenter as war file(Bundle infocenter as WAR file and deploy on tomcat)
Deploy infocenter as war file [message #531102] Mon, 03 May 2010 17:38 Go to next message
Shalini Komarla is currently offline Shalini Komarla
Messages: 15
Registered: March 2010
Junior Member
Hi All,

I am attempting to bundle the infocenter as a WAR file and deploy it on Tomcat 5.5. I am working with Eclipse Version: 3.5.2

In my first attempt I was trying to launch the infocenter from Tomcat 5.5 (without creating a war file). I received an error, when attemtping to http://localhost:8080/help

HTTP Status 404 - BridgeServlet: /help/
The requested resource (BridgeServlet: /help/) is not available.

Even http://localhost:8080/help/index.jsp gives me a similar error:
HTTP Status 404 - BridgeServlet: /help/index.jsp/
The requested resource (BridgeServlet: /help/index.jsp) is not available.

I've gotten bits and pieces of information on this topic, so maybe I'm missing something. Is there a good tutorial/instructions on how to create a WAR file and deploy the infocenter in tomcat, that someone can point me to?

Thank you in advance for your help,
Shalini
Re: Deploy infocenter as war file [message #531128 is a reply to message #531102] Mon, 03 May 2010 19:50 Go to previous messageGo to next message
Chris Austin is currently offline Chris Austin
Messages: 28
Registered: July 2009
Junior Member
Hi Shalini,

There are some instructions in the help system: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/ua_help_war.htm

However, these steps are slightly different for Eclipse 3.6 so if you update your build you will need to check out the latest version of the help doc.

Re: Deploy infocenter as war file [message #718811 is a reply to message #531128] Thu, 25 August 2011 12:02 Go to previous messageGo to next message
eugene.larshin is currently offline eugene.larshin
Messages: 1
Registered: August 2011
Junior Member
Hello, Chris!
I try to do my help application as InfoCenter but can't correctly deploy/run it on WAS 6+.
Could you give me working war/ear with 2-3 simplest pages inside or prof link?
Re: Deploy infocenter as war file [message #988941 is a reply to message #531102] Mon, 03 December 2012 22:21 Go to previous messageGo to next message
Tim Raff is currently offline Tim Raff
Messages: 9
Registered: November 2012
Junior Member
It seems to be quite difficult to match up the servletbridge pieces with the eclipse installation. Fortunatley Robert Sanders has had the presence of mind to publish a working war containing no documentation plugins to the web. All you need to do is unzip the war, copy your documentation plugins into the WEB-INF/plugins/ directory, zip it back up and deploy it.

I've tried it out, and it works perfectly. It based on 3.6.1. Robert's blog post about it is here, and the code itself is here. Note that you will need a google account to access the code.
Re: Deploy infocenter as war file [message #997474 is a reply to message #988941] Mon, 07 January 2013 17:06 Go to previous messageGo to next message
marcellus ludovicus is currently offline marcellus ludovicus
Messages: 5
Registered: October 2009
Junior Member
I have done deployment of infocenters as war files using Eclipse 3.6.2 and Eclipse 4.2. For 3.6.2, I use the org.eclipse.equinox.servletbridge_1.2.0.v20100503.jar (for lib folder) and org.eclipse.equinox.http.servletbridge_1.0.200.v20100503.jar in the plugins folder. For 4.2, I use org.eclipse.equinox.servletbridge_1.2.200.v20120522-2049.jar (in the lib folder) and org.eclipse.equinox.http.servletbridge_1.0.300.v20120522-2049.jar in the plugins folder. The 3.6.2 based war files are compatible with Websphere 7.0, Jetty 7, and Tomcat 6. The Eclipse 4.2 based war files are compatible with WebSphere 8.5 (maybe 8.0 also), Jetty 8, and Tomcat 7.
Re: Deploy infocenter as war file [message #1028395 is a reply to message #531102] Thu, 28 March 2013 07:47 Go to previous message
Joe Lin is currently offline Joe Lin
Messages: 10
Registered: September 2012
Junior Member
you need fix the something first!
feature.xml
I will post the url of this file in my github after post 5 msgs
see my fix for this problem
https://github.com/joelin/eclipse.platform.ua/blob/help42/org.eclipse.help.webapp/web-archive/org.eclipse.help.infocenter-feature/feature.xml

you need change the file before export the all plugins into web-inf

[Updated on: Thu, 28 March 2013 07:57]

Report message to a moderator

Previous Topic:Deploying infocenter in OSGI web container (Virgo)
Next Topic:Infocenter TOC for tomcat
Goto Forum:
  


Current Time: Thu Oct 02 06:27:46 GMT 2014

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

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