Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » deployed war reports 404 but works in IDE
deployed war reports 404 but works in IDE [message #1016986] Fri, 08 March 2013 13:36 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
What could I miss/check if the rap app works when running from the IDE but reports a "404 not found" once deployed in tomcat 7?
Re: deployed war reports 404 but works in IDE [message #1016994 is a reply to message #1016986] Fri, 08 March 2013 14:05 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
I hope that this FAQ entry will help you to troubleshoot your deployment
problems:
http://wiki.eclipse.org/RAP/FAQ#Exported_WAR_file_does_not_work
Best,
Ivan

On 3/8/2013 3:36 PM, Erdal Karaca wrote:
> What could I miss/check if the rap app works when running from the IDE
> but reports a "404 not found" once deployed in tomcat 7?

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: deployed war reports 404 but works in IDE [message #1018675 is a reply to message #1016994] Thu, 14 March 2013 09:42 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
Hi Ivan,
I started with the provided test war "rapdemo.war" which has the same error.
Is Tomcat 7.0.37 (on a WinXP virtual machine) supposed to work with the latest RAP?

Thanks!

Ivan Furnadjiev wrote on Fri, 08 March 2013 15:05
Hi,
I hope that this FAQ entry will help you to troubleshoot your deployment
problems:
http://wiki.eclipse.org/RAP/FAQ#Exported_WAR_file_does_not_work
Best,
Ivan

On 3/8/2013 3:36 PM, Erdal Karaca wrote:
> What could I miss/check if the rap app works when running from the IDE
> but reports a "404 not found" once deployed in tomcat 7?

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/

Re: deployed war reports 404 but works in IDE [message #1018706 is a reply to message #1018675] Thu, 14 March 2013 10:35 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Erdal,

what is the URL of your application? In a WAR deployment, you usually
have to add a context path like

host:port/rapdemo/controls

whereas you can access the application without a context path when
launching from the IDE, such as

host:port/controls

Does that help?
Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: deployed war reports 404 but works in IDE [message #1022236 is a reply to message #1018706] Thu, 21 March 2013 14:19 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
Thanks, Ralf, that was it!
I also removed the jetty plugins and the servletbridge plugin which were automatically added by the WAR Product wizard.

Ralf Sternberg wrote on Thu, 14 March 2013 11:35
Hi Erdal,

what is the URL of your application? In a WAR deployment, you usually
have to add a context path like

host:port/rapdemo/controls

whereas you can access the application without a context path when
launching from the IDE, such as

host:port/controls

Does that help?
Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/

Previous Topic:[Theming][Text] Internet Explorer ignores css tags on disabled Text Widgets
Next Topic:SettingStore vs java.util.preferences
Goto Forum:
  


Current Time: Fri Apr 19 22:52:34 GMT 2024

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

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

Back to the top