Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tomcat Manager
Tomcat Manager [message #643831] Wed, 08 December 2010 13:04 Go to next message
Hussein Kobeisi is currently offline Hussein KobeisiFriend
Messages: 49
Registered: December 2010
Member
Hi ppl,

i created a new RAP with a view and some radio buttons,when i select the deployed Project in the manager i get this message:

HTTP Status 404 - ProxyServlet: /View2
type Status report
message ProxyServlet: /View2
description The requested resource (ProxyServlet: /View2) is not available.

but when i add /rap?start=myapp it works

how can i set it to open after i press View2 in the Tomcat Manager

thx for every help

[Updated on: Wed, 08 December 2010 13:58]

Report message to a moderator

Re: Tomcat Manager [message #644037 is a reply to message #643831] Thu, 09 December 2010 08:09 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 Hussein,
did you try to use org.eclipse.rap.ui.branding extension and to specify
your servlet name and default entry point?
Best,
Ivan

On 08.12.2010 3:04 PM, Hussein Kobeisi wrote:
> Hi ppl,
>
> i created a new RAP with a view and some radio buttons,when i select
> the deployed Project in the manager i get this message:
>
> HTTP Status 404 - ProxyServlet: /View2
> type Status report
> message ProxyServlet: /View2
> description The requested resource (ProxyServlet: /View2) is not
> available.
>
> but when i add /rap?start=myapp it works
> how can i set it to open after i press View2 in the Tomcat Manager
>
> thx for every help
>
Re: Tomcat Manager [message #644141 is a reply to message #643831] Thu, 09 December 2010 16:37 Go to previous messageGo to next message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 150
Registered: July 2009
Location: College Station, TX
Senior Member

The problem is that there is nothing within your WAR that is listening on the root path (i.e. http://host/warname/). The default entry point only allows you to leave off the query string (so you can do http://host/warname/servletname instead of .../servletname?startup=entrypoint). What you need is a servlet registered as "/" which will redirect to your RAP servlet. You can do this either within the WAR by modifying the web.xml and including the servlet class in the WEB-INF/classes directory, or you can register within your RAP application by using the org.eclipse.equinox.http.registry.servlets extension point or using the OSGi HttpService programatically.

Hope that helps,

Cole
Re: Tomcat Manager [message #644440 is a reply to message #644141] Sat, 11 December 2010 09:37 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Hussein,

there's an example how to do it in the RAP FAQ:

http://wiki.eclipse.org/RAP/
FAQ#How_to_access_a_RAP_application_without_specifying_a_ser vlet_name.3F

Regards, Ralf

--
Ralf Sternberg

Twitter: http://twitter.com/ralfstx
Blog: http://www.eclipsesource.com/blogs/

Professional support for RAP and RCP?
http://www.eclipsesource.com/support/
Re: Tomcat Manager [message #644540 is a reply to message #643831] Mon, 13 December 2010 07:50 Go to previous message
Hussein Kobeisi is currently offline Hussein KobeisiFriend
Messages: 49
Registered: December 2010
Member


thx for all the answers,
iam gonna check them out..

Regards, Hussein
Previous Topic:interactiondesign API in single sourcing?
Next Topic:menu arrows not shown behind gateway
Goto Forum:
  


Current Time: Thu Apr 25 03:55:46 GMT 2024

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

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

Back to the top