tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lisa D Beggs/AC/VCU <ldbe...@vcu.edu>
Subject Re: Trouble setting up virtual host
Date Thu, 23 Jul 2009 17:11:32 GMT
> another note.....now that I have changed port from 8080 to 80,
How exactly did you do this ?  I changed the configuration in the 
server.xml file based on guidance from my vendor.

  I cannot
> see my default URL (http://adm138/InfoViewApp) either on user 
workstation 
> (not sure if same or different issue, can see on server with no problem) 


Q6.5 :
Can you explain what you mean by "can see on server with no problem" ?  If 
I type in my url in the browser on my server (http://adm138/InfoViewApp) 
with the 8080, the page comes up, I can not do this on a user 
workstation...if I change the port back to 8080 in the server.xml 
file....I can bring it up again on the user work station but I must add 
adm138:8080 in the url name.

Do you mean that if you open a browser directly on the server console, 
then you can see the Tomcat default page when you enter :
either
http://www.fmdreports.vcu.edu
and/or
http://adm138
?  NO, still can not see them.  However, I see the default Tomcat home 
page if I enter these URLS on the server.

But if you do this on any other workstation, you get a "cannot display 
this page" answer ?  Right :)


A whole bunch of new questions :

Q7:
In which directory is Tomcat installed on this server ?  C:\Program 
Files\Business Objects\Tomcat55

Q8:
Supposing for now that this directory is "c:\tomcat", then under this 
directory, are there the following subdirectories :
- C:\Program Files\Business Objects\Tomcat55\conf
- C:\Program Files\Business Objects\Tomcat55\conf
- C:\Program Files\Business Objects\Tomcat55\webapps\ROOT
- C:\Program Files\Business Objects\Tomcat55\webapps\InfoViewApp\

(replace "c:\tomcat\" above by whatever directory your Tomcat is really 
installed in)

Q9:
Is there any other (than InfoViewApp) Tomcat-based application running 
on that server ?  NO

Will there be other applications there in the near future ?  No we don't 
intend there to be

Q10:
Suppose that we set this server up so that /both/ the URLs :
http://www.fmdreports.vcu.edu
and
http://adm138
return directly the login page of your application, would this be a 
problem ?  That should not be a problem, should that cause any future 
issues?

Or do you need that "http://adm138" still returns the default Tomcat 
homepage ?

Q11:
In the "\conf" subdirectory of your Tomcat installation, there is a file 
named "server.xml".  In that file, there is a section resembling the 
following (the ports may be different) :

     <!-- Define a non-SSL HTTP/1.1 Connector on port 8180 -->
     <Connector port="8180" maxHttpHeaderSize="8192"
        maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
        enableLookups="false" redirectPort="8443" acceptCount="100"
        connectionTimeout="20000" disableUploadTimeout="true" />


Is this what you are looking for?  I don't have the one above......

   <Connector URIEncoding="UTF-8" acceptCount="100" 
connectionTimeout="20000" disableUploadTimeout="true" 
enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" 
maxThreads="150" minSpareThreads="25" port="80" redirectPort="8443"/>


Can you copy and paste that section in your answer ?

Q12:
On the server, in a command window, enter the following command :
netstat -anb -p tcp
then also paste the response in your answer here.



  [rcgui.exe]

  TCP    127.0.0.1:9535         127.0.0.1:1682         ESTABLISHED     196
  [issuser.exe]

  TCP    128.172.12.129:1405    128.172.30.98:389      ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:1406    128.172.30.98:389      ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:1407    128.172.30.98:389      ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:1408    128.172.30.98:389      ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:1409    128.172.30.98:389      ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:1874    128.172.10.73:8194     ESTABLISHED 2636
  [RouterNT.exe]

  TCP    128.172.12.129:2164    128.172.12.129:6415    ESTABLISHED 1620
  [tomcat5.exe]

  TCP    128.172.12.129:2461    128.172.4.60:135       ESTABLISHED     460
  [lsass.exe]

  TCP    128.172.12.129:2462    128.172.4.60:1025      ESTABLISHED     460
  [lsass.exe]

  TCP    128.172.12.129:2793    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2814    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2815    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2817    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2821    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2823    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2824    128.172.12.129:6415    ESTABLISHED 7748
  [sia.exe]

  TCP    128.172.12.129:2825    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2826    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2827    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2828    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2829    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2830    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2831    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2832    128.172.6.109:1433     ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2858    128.172.12.129:2887    ESTABLISHED     844
  [JobServer.exe]

  TCP    128.172.12.129:2859    128.172.12.129:2897    ESTABLISHED     524
  [JobServer.exe]

  TCP    128.172.12.129:2860    128.172.12.129:2892    ESTABLISHED 6872
  [JobServer.exe]

  TCP    128.172.12.129:2861    128.172.12.129:2893    ESTABLISHED 4436
  [fileserver.exe]

  TCP    128.172.12.129:2861    128.172.12.129:2945    ESTABLISHED 4436
  [fileserver.exe]

  TCP    128.172.12.129:2861    128.172.12.129:2935    ESTABLISHED 4436
  [fileserver.exe]

  TCP    128.172.12.129:2863    128.172.12.129:6415    ESTABLISHED     844
  [JobServer.exe]

  TCP    128.172.12.129:2864    128.172.12.129:2936    ESTABLISHED 6212
  [fileserver.exe]

  TCP    128.172.12.129:2864    128.172.12.129:2889    ESTABLISHED 6212
  [fileserver.exe]

  TCP    128.172.12.129:2864    128.172.12.129:2946    ESTABLISHED 6212
  [fileserver.exe]

  TCP    128.172.12.129:2867    128.172.12.129:6415    ESTABLISHED 4436
  [fileserver.exe]

  TCP    128.172.12.129:2870    128.172.12.129:6415    ESTABLISHED 6872
  [JobServer.exe]

  TCP    128.172.12.129:2871    128.172.12.129:2894    ESTABLISHED 7796
  [EventServer.exe]

  TCP    128.172.12.129:2873    128.172.12.129:6415    ESTABLISHED 6212
  [fileserver.exe]

  TCP    128.172.12.129:2874    128.172.12.129:6415    ESTABLISHED     524
  [JobServer.exe]

  TCP    128.172.12.129:2875    128.172.12.129:2898    ESTABLISHED 8164
  [JobServer.exe]

  TCP    128.172.12.129:2877    128.172.12.129:6415    ESTABLISHED 7796
  [EventServer.exe]

  TCP    128.172.12.129:2878    128.172.12.129:2947    ESTABLISHED 5836
  [crproc.exe]

  TCP    128.172.12.129:2878    128.172.12.129:2926    ESTABLISHED 5836
  [crproc.exe]

  TCP    128.172.12.129:2880    128.172.12.129:6415    ESTABLISHED 8164
  [JobServer.exe]

  TCP    128.172.12.129:2882    128.172.12.129:6415    ESTABLISHED 1932
  [crcache.exe]

  TCP    128.172.12.129:2886    128.172.12.129:6415    ESTABLISHED 5836
  [crproc.exe]

  TCP    128.172.12.129:2887    128.172.12.129:2858    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2889    128.172.12.129:2864    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2891    128.172.12.129:6416    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2892    128.172.12.129:2860    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2893    128.172.12.129:2861    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2894    128.172.12.129:2871    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2897    128.172.12.129:2859    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2898    128.172.12.129:2875    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2903    128.172.12.129:6415    ESTABLISHED     512
  [crystalras.exe]

  TCP    128.172.12.129:2904    128.172.12.129:6416    ESTABLISHED 5836
  [crproc.exe]

  TCP    128.172.12.129:2908    128.172.12.129:6418    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2926    128.172.12.129:2878    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2935    128.172.12.129:2861    ESTABLISHED 5836
  [crproc.exe]

  TCP    128.172.12.129:2936    128.172.12.129:2864    ESTABLISHED 5836
  [crproc.exe]

  TCP    128.172.12.129:2937    128.172.12.129:2991    ESTABLISHED 5596
  [crproc.exe]

  TCP    128.172.12.129:2940    128.172.12.129:6415    ESTABLISHED 5596
  [crproc.exe]

  TCP    128.172.12.129:2945    128.172.12.129:2861    ESTABLISHED 5596
  [crproc.exe]

  TCP    128.172.12.129:2946    128.172.12.129:2864    ESTABLISHED 5596
  [crproc.exe]

  TCP    128.172.12.129:2947    128.172.12.129:2878    ESTABLISHED 1932
  [crcache.exe]

  TCP    128.172.12.129:2963    128.172.12.129:2968    ESTABLISHED 4316
  [java.exe]

  TCP    128.172.12.129:2968    128.172.12.129:2963    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:2991    128.172.12.129:2937    ESTABLISHED 5836
  [crproc.exe]

  TCP    128.172.12.129:3602    128.172.12.129:6415    ESTABLISHED 5836
  [crproc.exe]

  TCP    128.172.12.129:4608    128.172.12.129:6415    ESTABLISHED 4316
  [java.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2870    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2882    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2863    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2824    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2903    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2874    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2940    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2877    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:4608    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2164    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2873    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2867    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2880    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:2886    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6415    128.172.12.129:3602    ESTABLISHED 2804
  [CMS.exe]

  TCP    128.172.12.129:6416    128.172.12.129:2891    ESTABLISHED 1932
  [crcache.exe]

  TCP    128.172.12.129:6416    128.172.12.129:2904    ESTABLISHED 1932
  [crcache.exe]

  TCP    128.172.12.129:6418    128.172.12.129:2908    ESTABLISHED     512
  [crystalras.exe]

  TCP    128.172.12.129:9535    128.172.193.85:3898    ESTABLISHED     196
  [issuser.exe]

  TCP    192.168.21.101:1085    192.168.21.101:8194    ESTABLISHED 2428
  [ManagementAgentNT.exe]

  TCP    192.168.21.101:1087    192.168.21.101:1088    ESTABLISHED 2428
  [ManagementAgentNT.exe]

  TCP    192.168.21.101:1088    192.168.21.101:1087    ESTABLISHED 2636
  [RouterNT.exe]

  TCP    192.168.21.101:8194    192.168.21.101:1085    ESTABLISHED 2636
  [RouterNT.exe]

  TCP    127.0.0.1:2162         127.0.0.1:9592         CLOSE_WAIT      932
  [vulScan.exe]

  TCP    127.0.0.1:4925         127.0.0.1:9592         CLOSE_WAIT 4372
  [policy.client.invoker.exe]

  TCP    127.0.0.1:53001        127.0.0.1:2436         TIME_WAIT       0
  TCP    128.172.12.129:2440    128.172.12.129:2963    TIME_WAIT       0
  TCP    128.172.12.129:2451    128.172.12.129:6410    TIME_WAIT       0
  TCP    128.172.12.129:2452    128.172.12.129:6410    TIME_WAIT       0
  TCP    128.172.12.129:2463    128.172.12.129:2963    TIME_WAIT       0
  TCP    128.172.12.129:2474    128.172.12.129:6410    TIME_WAIT       0
  TCP    128.172.12.129:2475    128.172.12.129:6410    TIME_WAIT       0
  TCP    128.172.12.129:2476    128.172.4.225:80       TIME_WAIT       0

C:\Documents and Settings\Administrator>
_____________________________________________
"Change is the essence of life. Be willing to surrender what you are, for 
what you could become". 

Lisa D. Beggs 
Information Technology Specialist
Business Application Services
Phone:  804 828-2098
Fax:   804 828-0322

Don't be a phishing victim - VCU and other reputable organizations will 
never use email to request that you reply with your password, social 
security number or confidential personal information.  For more details 
visit http://infosecurity.vcu.edu/phishing.html 








From:
André Warnier <aw@ice-sa.com>
To:
Tomcat Users List <users@tomcat.apache.org>
Date:
07/23/2009 12:46 PM
Subject:
Re: Trouble setting up virtual host



Lisa D Beggs/AC/VCU wrote:
> Allright, let's continue step by step, based on the above.
> 
> Q5:
> a) Open a Windows command window.
> 
> b) Type "nslookup adm138"
> The last line of the response is an IP address.  What is it ?
> 
> 128.172.12.129  (which is IP of ADM138)
> 
> c) Type "nslookup www.fmdreports.vcu.edu"
> The last line of the response is an IP address.  What is it ?
> 
> 128.172.12.129  (which is IP of ADM138)

The above is good. It means that at least the DNS part is OK.

> 
> Q6:
> when the users now type the following URL in their browser :
> http://www.fmdreports.vcu.edu
> what page do they see ?
> 
> Can not display webpage
> 
> Is it the same page as when you type this URL in your browser :
> http://adm138
> 
> Can not display webpage

That is not good.  It means either that Tomcat is not working properly, 
or that something is blocking port 80.

> 
> another note.....now that I have changed port from 8080 to 80,
How exactly did you do this ?

  I cannot
> see my default URL (http://adm138/InfoViewApp) either on user 
workstation 
> (not sure if same or different issue, can see on server with no problem) 


Q6.5 :
Can you explain what you mean by "can see on server with no problem" ?
Do you mean that if you open a browser directly on the server console, 
then you can see the Tomcat default page when you enter :
either
http://www.fmdreports.vcu.edu
and/or
http://adm138
?

But if you do this on any other workstation, you get a "cannot display 
this page" answer ?


A whole bunch of new questions :

Q7:
In which directory is Tomcat installed on this server ?

Q8:
Supposing for now that this directory is "c:\tomcat", then under this 
directory, are there the following subdirectories :
- c:\tomcat\conf ?
- c:\tomcat\webapps ?
- c:\tomcat\webapps\ROOT ?
- c:\tomcat\webapps\InfoViewApp ?

(replace "c:\tomcat\" above by whatever directory your Tomcat is really 
installed in)

Q9:
Is there any other (than InfoViewApp) Tomcat-based application running 
on that server ?
Will there be other applications there in the near future ?

Q10:
Suppose that we set this server up so that /both/ the URLs :
http://www.fmdreports.vcu.edu
and
http://adm138
return directly the login page of your application, would this be a 
problem ?
Or do you need that "http://adm138" still returns the default Tomcat 
homepage ?

Q11:
In the "\conf" subdirectory of your Tomcat installation, there is a file 
named "server.xml".  In that file, there is a section resembling the 
following (the ports may be different) :

     <!-- Define a non-SSL HTTP/1.1 Connector on port 8180 -->
     <Connector port="8180" maxHttpHeaderSize="8192"
        maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
        enableLookups="false" redirectPort="8443" acceptCount="100"
        connectionTimeout="20000" disableUploadTimeout="true" />

Can you copy and paste that section in your answer ?

Q12:
On the server, in a command window, enter the following command :
netstat -anb -p tcp
then also paste the response in your answer here.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message