Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tomcat ROOT
Tomcat ROOT [message #126683] Wed, 01 April 2009 08:08 Go to next message
Sergey N. Yashin is currently offline Sergey N. YashinFriend
Messages: 44
Registered: July 2009
Member
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 08:46 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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 09:03 Go to previous messageGo to next message
Sergey N. Yashin is currently offline Sergey N. YashinFriend
Messages: 44
Registered: July 2009
Member
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 20:17 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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 06:07 Go to previous message
Sergey N. Yashin is currently offline Sergey N. YashinFriend
Messages: 44
Registered: July 2009
Member
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: Fri Apr 26 22:40:58 GMT 2024

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

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

Back to the top