Solved

WHat is the path to open a application which is in newly created host in tomcat webserver

Posted on 2009-05-19
2
194 Views
Last Modified: 2012-05-07
Hi in my apache tomcat server i created a new host with the name "news" and its app directory is   "newsapps" and i also configured this in my server.xml file as

<Host appBase="newsapps" name="news">
      </Host>
Now i copy a web application called "a2znews" in CATALINA HOME$/newsapps directory(which is newly created by me), but i don't know how to test this application whether it is working or not,
In case of  localhost virtual host(default virtual host in my server) i use url like
http://localhost:8090/a2znews  to open the a2znews application. but i don't know how to open the application which is in "news"  virtual host.
0
Comment
Question by:haneefnb
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 24429245
you need an entry in DNS or your hosts file for news which points to the proper IP (probably localhost)
then you can access it like http://news:8090/newsapp
0
 

Author Comment

by:haneefnb
ID: 24429891
yes i opened the link send by u but i get the message like


Network Timeout

     
The server at www.news.com is taking too long to respond.

 The requested site did not respond to a connection request and the browser has stopped waiting for a reply.

    * Could the server be experiencing high demand or a temporary outage?  Try again later.
    * Are you unable to browse other sites? Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy?  Incorrect settings can interfere with Web browsing.
    * Still having trouble? Consult your network administrator or Internet provider for assistance.



       
       
     


     
     
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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