Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

JBoss 4.0.3 / Tomcat 5.5 URL redirects

Posted on 2006-06-21
2
Medium Priority
?
683 Views
Last Modified: 2012-06-21
This is a POINTER QUESTION to http://www.experts-exchange.com/Web/Hosting/Q_21892387.html.
Please post answers there.

Summary:
 I'm running JBOSS 4.0.3SP1 with embedded Tomcat 5.5.

The App's homepage is www.mydomain.com/context/index.jsp
We want users to just type in www.mydomain.com and be served up the right page, ideally so that they never see the /context/ as they move around the site.

I found a good article at "Tomcat and website URLs/default directories" which I thought might solve the problem but it appears that Tomcat 5.5 is different to previous (context.xml and things) and I can't get that solution to work.

Any ideas?
0
Comment
Question by:texan_gerbil
2 Comments
 
LVL 33

Accepted Solution

by:
shalomc earned 750 total points
ID: 17035947
You need url rewriting.

The best will be to use Apache http server on top of jboss/tomcat, and to use its url rewriting capabilities.
This is what I always do and I am never sorry.

You may look at other, native java solutions.

http://tuckey.org/urlrewrite/
http://jakarta.apache.org/turbine/turbine/turbine-2.4-M1/howto/url-rewriting-howto.html
0
 

Author Comment

by:texan_gerbil
ID: 17057214
Thanks, those links are very useful.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Screencast - Getting to Know the Pipeline
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question