Dear Friends, i had devloped an web application in J2EE. I want to launch it as a website. how to configure the domain name in JBOSS. b'coz in jboss - we can access website as follows: http://mywebsite.com:2910/web web-refers war file, which is the web application developed in j2ee. i need to remove the port no. i want to access the site by entering the web address only. i.e: http://www.mywebsite.com CAN ANY ONE HELP ME TO SOLVE THIS PROBLEM..... Kindly.. help me... Thanks in Advance, SANTHOSH
- Posted by: Santhosh P
- Posted on: July 01 2008 13:53 EDT
search for server.xml where the port number is configured. It may be available somewhere like server/default/deploy/jbossweb-tomcat50.sar/server.xml change the port number to 80, in which case you need not mention the port number in the browser url, since 80 is a default port. and in your web app web.xml, change the change the url pattern for your serlvet from "/web" to "/" I hope this works.
Dear James David, Thanks a lot.. Its working now.. Once agian Thanks.. SANTHOSH
Still problem... if the port number is 8080 means no problem.. but my port number is 2910 how can i change in jboss.. any idea.. that helpful to me... Thanks/Regards Santhosh