Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problems deploying WAR file to Tomcat(Deploying WAR File to Tomcat)
Problems deploying WAR file to Tomcat [message #1727180] Mon, 21 March 2016 04:49 Go to next message
John Holliday is currently offline John HollidayFriend
Messages: 4
Registered: February 2016
Junior Member
I've been using RCP for some time, and I like the idea of deploying RCP apps as web pages.

I'm using Eclipse Mars.2 (Release 4.5.2)

I've followed the O7 tutorials to build a sample RAP application, which works fine inside eclipse (and also when I run it from within eclipse, but in an external browser).

I followed the instructions to use the tooling to build a WAR file, and I've deployed the war file using the Tomcat Manager. But when I try to start the app in the browser I get the following message:


HTTP Status 404 - ProxyServlet: /hello

type Status report

message ProxyServlet: /hello

description The requested resource (ProxyServlet: /hello) is not available.
Apache Tomcat/7.0.27

What am I doing wrong?
Re: Problems deploying WAR file to Tomcat [message #1727563 is a reply to message #1727180] Wed, 23 March 2016 22:07 Go to previous messageGo to next message
John Holliday is currently offline John HollidayFriend
Messages: 4
Registered: February 2016
Junior Member
Further information:

1. I'm writing an E4 RAP application.

2. My Eclipse environment was set up to use Java 1.8, but I have also installed Java 1.7

3. Tomcat is using Java 1.7

2. in the ..Catalina/localhost/JDate/eclipse/configuration/ .log file I see the following messages

org.osgi.framework.BundleException: Could not resolve module: com.jsh.jdate [2]
Unresolved requirement: Require-Bundle: org.eclipse.rap.e4; bundle-version="0.9.0"
-> Bundle-SymbolicName: org.eclipse.rap.e4; bundle-version="0.9.0.201603170603"
org.eclipse.rap.e4 [51]
Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.workbench.swt; bundle-version="0.12.100"
-> Bundle-SymbolicName: org.eclipse.e4.ui.workbench.swt; bundle-version="0.13.0.201603170603"; singleton:="true"
org.eclipse.e4.ui.workbench.swt [32]
Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.workbench; bundle-version="0.10.0"
-> Bundle-SymbolicName: org.eclipse.e4.ui.workbench; bundle-version="1.3.0.201603170603"; singleton:="true"
org.eclipse.e4.ui.workbench [29]
Unresolved requirement: Require-Bundle: org.eclipse.e4.ui.model.workbench; bundle-version="1.0.0"
-> Bundle-SymbolicName: org.eclipse.e4.ui.model.workbench; bundle-version="1.2.0.v20151202-1449"; singleton:="true"
org.eclipse.e4.ui.model.workbench [27]
Unresolved requirement: Require-Bundle: org.eclipse.e4.core.services; bundle-version="0.9.0"
-> Bundle-SymbolicName: org.eclipse.e4.core.services; bundle-version="2.0.0.v20151110-2052"; singleton:="true"
org.eclipse.e4.core.services [23]
Unresolved requirement: Require-Bundle: org.eclipse.e4.core.di
-> Bundle-SymbolicName: org.eclipse.e4.core.di; bundle-version="1.6.0.v20160125-1759"
org.eclipse.e4.core.di [20]
Unresolved requirement: Require-Bundle: org.eclipse.e4.core.di.annotations; bundle-version="[1.4.0,2.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.e4.core.di.annotations; bundle-version="1.5.0.v20151127-1241"
org.eclipse.e4.core.di.annotations [21]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.Cool)"
Re: Problems deploying WAR file to Tomcat [message #1727588 is a reply to message #1727563] Thu, 24 March 2016 08:56 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
could you please check that you are not running in this issue:
486598: [e4] Application.e4xmi not present in build.properties
https://bugs.eclipse.org/bugs/show_bug.cgi?id=486598
Make sure that Application.e4xmiis included in your build.properties file.
HTH,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Need to deploy gradle boot project to azure
Next Topic:How to terminate another user's connection?
Goto Forum:
  


Current Time: Tue Mar 19 05:22:59 GMT 2024

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

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

Back to the top