Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tomcat ROOT
Tomcat ROOT [message #126683] Wed, 01 April 2009 04:08 Go to next message
Eclipse UserFriend
Hi!

How i can use deployed RAP application as root servlet,
to use http://www.xyz.com/ instead (as i use now) http://www.xyz.com/start
or http://www.xyz.com/default ?
I try to set the name of servlet in plugin.xml like "/" instead of "start"
or "default" but it nothing do.

Thanks.
Re: Tomcat ROOT [message #127722 is a reply to message #126683] Thu, 09 April 2009 04:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sergey,

> How i can use deployed RAP application as root servlet,
> to use http://www.xyz.com/ instead (as i use now)
> http://www.xyz.com/start or http://www.xyz.com/default ?
> I try to set the name of servlet in plugin.xml like "/" instead of
> "start" or "default" but it nothing do.

unfortunately, I don't have an answer (although I remember that this is
possible somehow). Anyway, I guess this is a question that you should
rather ask in some Java/servlet/sysadmin forum. If you have an
Apache/Tomcat setup, it might also make sense to solve this by means of
redirecting within the Apache config than in the servlet container.

Best, Ralf
Re: Tomcat ROOT [message #127736 is a reply to message #127722] Thu, 09 April 2009 05:03 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Ralf.

Now im using servlet wich redirecting from my root page to the RAP
application.
But, it will be more good if might to set the DEFAULT servlet: look at
http://ondemand.yoxos.com/geteclipse/ - you will get the error, but if i
type http://ondemand.yoxos.com/geteclipse/start - the RAP application is
correctly loads. If i somehow will be can to set default servlet it will
be more easier.
I don`t think that it is tomcat problem but it is OSGI or RAR - i don`t
known.

Thanks.
Re: Tomcat ROOT [message #127964 is a reply to message #127736] Tue, 14 April 2009 16:17 Go to previous messageGo to next message
Eclipse UserFriend
Sergey,

Sergey N. Yashin wrote:
> Now im using servlet wich redirecting from my root page to the RAP
> application.
> But, it will be more good if might to set the DEFAULT servlet: look at
> http://ondemand.yoxos.com/geteclipse/ - you will get the error, but if i
> type http://ondemand.yoxos.com/geteclipse/start - the RAP application is
> correctly loads. If i somehow will be can to set default servlet it will
> be more easier.
> I don`t think that it is tomcat problem but it is OSGI or RAR - i don`t
> known.

I understand, you are not looking for the so called ROOT servlet (as I
supposed because of the subject), you just want to access your
application using a url like http://www.example.org/webapp/

So you would probably need to specify the empty string as your servlet
name in a branding, which is currently not supported. But if you need
it, feel free to open a bug in our bugzilla.

Best regards, Ralf
Re: Tomcat ROOT [message #127991 is a reply to message #127964] Wed, 15 April 2009 02:07 Go to previous message
Eclipse UserFriend
Many thanks!

I fill the enhancement -
https://bugs.eclipse.org/bugs/show_bug.cgi?id=272254
Previous Topic:NullPointerException in Tomcat
Next Topic:The future of table and tree
Goto Forum:
  


Current Time: Wed May 07 21:17:29 EDT 2025

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

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

Back to the top