Skip to main content



      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 13:38 Go to next message
Eclipse UserFriend
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 15:50 Go to previous messageGo to next message
Eclipse UserFriend
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 08:02 Go to previous messageGo to next message
Eclipse UserFriend
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 17:21 Go to previous messageGo to next message
Eclipse UserFriend
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 12:06 Go to previous messageGo to next message
Eclipse UserFriend
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 03:47 Go to previous message
Eclipse UserFriend
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 03:57] by Moderator

Previous Topic:Context Sensitive Help Problems
Next Topic:Linking to Topics in Another Plugin
Goto Forum:
  


Current Time: Tue Jul 08 00:05:04 EDT 2025

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

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

Back to the top