RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Gary Opela (Corporate)
Environment:
Windows Server 2k3 R2 EE
Apache Tomcat 5.5.17 installed in: C:\Program Files\Apache Software
Foundation\Tomcat-5.5.17
Microsoft IIS 6.0
IE 6.0.X.X SP2
Java:
 jre1.6.0_05
 jdk1.6.0_05


Okay, so I went in my server.xml in C:\Program Files\Apache Software 
Foundation\Tomcat 5.5\conf\server.xml and changed


!--  Define a non-SSL HTTP/1.1 Connector on port 8080 
  -- 
  Connector port=8080 maxHttpHeaderSize=8192 URIEncoding=UTF-8 
maxThreads=150 minSpareThreads=25 maxSpareThreads=75 
enableLookups=false redirectPort=8443 acceptCount=100 
connectionTimeout=2 disableUploadTimeout=true /


To


!--  Define a non-SSL HTTP/1.1 Connector on port 8080 
  -- 
  Connector port=80 maxHttpHeaderSize=8192 URIEncoding=UTF-8 
maxThreads=150 minSpareThreads=25 maxSpareThreads=75 
enableLookups=false redirectPort=8443 acceptCount=100 
connectionTimeout=2 disableUploadTimeout=true /

Now I can access my application by going to http://localhost/arsys without 
specifying the port. However, now if I go to http://localhost, then it 
redirects me to Tomcat's default page. Is there a way to leave the above line 
referencing port 8080, as that's where I want tomcat to run from, but then tell 
IIS to redirect my localhost/arsys traffic to reference port 8080?

Thanks,

Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company

-Original Message-
From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 10, 2008 4:11 PM
To: Tomcat Users List
Subject: RE: How to stop having to put :8080 in the url?

Thanks, Chris, for the assistance.


Thanks,

Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company


-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 10, 2008 4:07 PM
To: Tomcat Users List
Subject: Re: How to stop having to put :8080 in the url?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gary,

Gary Opela (Corporate) wrote:
| I have a website that is located under http://localserver:8080/arsys
|
| How do I set it to where I just have to hit http://localserver/arsys,
| without the :8080?

The only way to remove the port number from your URLs is to use the
standard ports (80 for HTTP and 443 for HTTPS) for your services instead
of using 8080. Look for any un-commented Connector elements in your
server.xml -- the port number configuration should be obvious based upon
the examples and comments.

If you are running on a UNIX-like OS, you are likely to run across the
problem of non-root users (and processes) being prohibited from binding
to ports lower than 1024. In that case, look for jsvc which is pretty
much the standard these days for running java processes with access to
privileged resources.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf+gXMACgkQ9CaO5/Lv0PDDBACbBbyFAiiTox3zTFhSENg/aqXB
HS4AnAyvFuqjFvlGkauEhrny2Qj0UoON
=tDBY
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to stop having to put :8080 in the url?

2008-04-11 Thread David Delbecq
En l'instant précis du 11/04/08 14:55, Gary Opela (Corporate) 
s'exprimait en ces termes:


 Now I can access my application by going to http://localhost/arsys 
without specifying the port. However, now if I go to http://localhost, 
then it redirects me to Tomcat's default page. Is there a way to leave 
the above line referencing port 8080, as that's where I want tomcat to 
run from, but then tell IIS to redirect my localhost/arsys traffic to 
reference port 8080?


 Thanks,



See the proxy support from tomcat. Basically, you instruct iis to act as 
a proxy for http://server/arsys* urls and to forward them to your 
internal tomcat on port 8080. You only have to instrcut tomcat about the 
server and port the end-user is seeing, so that servelt / jsps that 
build urls build them properly.



http://tomcat.apache.org/tomcat-5.5-doc/config/http.html#Proxy%20Support




--
David Delbecq
Institut Royal Météorologique
Ext:557

--
http://www.devlog.be (a belgian developer's logs)




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to stop having to put :8080 in the url?

2008-04-11 Thread Rodrigo Correa de Paiva
will u change the port back to 8080, than go to
C:\WINDOWS\system32\drivers\etc and edit the file HOSTS
change : 127.0.0.1   localhost
to :  127.0.0.1:8080   localhost

everytime u type localhost u will be redicted to 127.0.0.1:8080
i never do that, but should work

2008/4/11, Gary Opela (Corporate) [EMAIL PROTECTED]:

 Environment:
 Windows Server 2k3 R2 EE
 Apache Tomcat 5.5.17 installed in: C:\Program Files\Apache Software
 Foundation\Tomcat-5.5.17
 Microsoft IIS 6.0
 IE 6.0.X.X SP2
 Java:
  jre1.6.0_05
  jdk1.6.0_05


 Okay, so I went in my server.xml in C:\Program Files\Apache Software
 Foundation\Tomcat 5.5\conf\server.xml and changed


 !--  Define a non-SSL HTTP/1.1 Connector on port 8080
   --
   Connector port=8080 maxHttpHeaderSize=8192 URIEncoding=UTF-8
 maxThreads=150 minSpareThreads=25 maxSpareThreads=75
 enableLookups=false redirectPort=8443 acceptCount=100
 connectionTimeout=2 disableUploadTimeout=true /


 To


 !--  Define a non-SSL HTTP/1.1 Connector on port 8080
   --
   Connector port=80 maxHttpHeaderSize=8192 URIEncoding=UTF-8
 maxThreads=150 minSpareThreads=25 maxSpareThreads=75
 enableLookups=false redirectPort=8443 acceptCount=100
 connectionTimeout=2 disableUploadTimeout=true /

 Now I can access my application by going to http://localhost/arsys without
 specifying the port. However, now if I go to http://localhost, then it
 redirects me to Tomcat's default page. Is there a way to leave the above
 line referencing port 8080, as that's where I want tomcat to run from, but
 then tell IIS to redirect my localhost/arsys traffic to reference port 8080?


 Thanks,

 Gary Opela, Jr., RSP
 Remedy Engineer
 Leader Communications, Inc.
 Best Product, Best People, Best PriceTM
 An ISO 9001:2000 Certified, CMMI(R) Level 3 Rated Company

 -Original Message-

 From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED]

 Sent: Thursday, April 10, 2008 4:11 PM
 To: Tomcat Users List

 Subject: RE: How to stop having to put :8080 in the url?

 Thanks, Chris, for the assistance.


 Thanks,

 Gary Opela, Jr., RSP
 Remedy Engineer
 Leader Communications, Inc.
 Best Product, Best People, Best PriceTM
 An ISO 9001:2000 Certified, CMMI(R) Level 3 Rated Company


 -Original Message-
 From: Christopher Schultz [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 10, 2008 4:07 PM
 To: Tomcat Users List
 Subject: Re: How to stop having to put :8080 in the url?

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Gary,

 Gary Opela (Corporate) wrote:
 | I have a website that is located under http://localserver:8080/arsys
 |
 | How do I set it to where I just have to hit http://localserver/arsys,
 | without the :8080?

 The only way to remove the port number from your URLs is to use the
 standard ports (80 for HTTP and 443 for HTTPS) for your services instead
 of using 8080. Look for any un-commented Connector elements in your
 server.xml -- the port number configuration should be obvious based upon
 the examples and comments.

 If you are running on a UNIX-like OS, you are likely to run across the
 problem of non-root users (and processes) being prohibited from binding
 to ports lower than 1024. In that case, look for jsvc which is pretty
 much the standard these days for running java processes with access to
 privileged resources.

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkf+gXMACgkQ9CaO5/Lv0PDDBACbBbyFAiiTox3zTFhSENg/aqXB
 HS4AnAyvFuqjFvlGkauEhrny2Qj0UoON
 =tDBY
 -END PGP SIGNATURE-

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Gary Opela (Corporate)
Thanks, but that still leaves me in the same predicament. I don't have control 
over http://localhost. I need to be able to control that, but running tomcat, 
if I map all traffic that goes to localhost to tomcat, then typing in just 
http://localhost takes me to the tomcat config page that says I don't have 
tomcat configured properly.

I need to just route traffic that goes to http://localhost/arsys to 
http://localhost:8080/arsys (or once I get SSL up, then 
http://localhost:423/arsys, or whatever port SSL runs on).


Thanks,

Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company


-Original Message-
From: Rodrigo Correa de Paiva [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 11, 2008 8:15 AM
To: Tomcat Users List
Subject: Re: How to stop having to put :8080 in the url?

will u change the port back to 8080, than go to
C:\WINDOWS\system32\drivers\etc and edit the file HOSTS
change : 127.0.0.1   localhost
to :  127.0.0.1:8080   localhost

everytime u type localhost u will be redicted to 127.0.0.1:8080
i never do that, but should work

2008/4/11, Gary Opela (Corporate) [EMAIL PROTECTED]:

 Environment:
 Windows Server 2k3 R2 EE
 Apache Tomcat 5.5.17 installed in: C:\Program Files\Apache Software
 Foundation\Tomcat-5.5.17
 Microsoft IIS 6.0
 IE 6.0.X.X SP2
 Java:
  jre1.6.0_05
  jdk1.6.0_05


 Okay, so I went in my server.xml in C:\Program Files\Apache Software
 Foundation\Tomcat 5.5\conf\server.xml and changed


 !--  Define a non-SSL HTTP/1.1 Connector on port 8080
   --
   Connector port=8080 maxHttpHeaderSize=8192 URIEncoding=UTF-8
 maxThreads=150 minSpareThreads=25 maxSpareThreads=75
 enableLookups=false redirectPort=8443 acceptCount=100
 connectionTimeout=2 disableUploadTimeout=true /


 To


 !--  Define a non-SSL HTTP/1.1 Connector on port 8080
   --
   Connector port=80 maxHttpHeaderSize=8192 URIEncoding=UTF-8
 maxThreads=150 minSpareThreads=25 maxSpareThreads=75
 enableLookups=false redirectPort=8443 acceptCount=100
 connectionTimeout=2 disableUploadTimeout=true /

 Now I can access my application by going to http://localhost/arsys without
 specifying the port. However, now if I go to http://localhost, then it
 redirects me to Tomcat's default page. Is there a way to leave the above
 line referencing port 8080, as that's where I want tomcat to run from, but
 then tell IIS to redirect my localhost/arsys traffic to reference port 8080?


 Thanks,

 Gary Opela, Jr., RSP
 Remedy Engineer
 Leader Communications, Inc.
 Best Product, Best People, Best PriceTM
 An ISO 9001:2000 Certified, CMMI(R) Level 3 Rated Company

 -Original Message-

 From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED]

 Sent: Thursday, April 10, 2008 4:11 PM
 To: Tomcat Users List

 Subject: RE: How to stop having to put :8080 in the url?

 Thanks, Chris, for the assistance.


 Thanks,

 Gary Opela, Jr., RSP
 Remedy Engineer
 Leader Communications, Inc.
 Best Product, Best People, Best PriceTM
 An ISO 9001:2000 Certified, CMMI(R) Level 3 Rated Company


 -Original Message-
 From: Christopher Schultz [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 10, 2008 4:07 PM
 To: Tomcat Users List
 Subject: Re: How to stop having to put :8080 in the url?

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Gary,

 Gary Opela (Corporate) wrote:
 | I have a website that is located under http://localserver:8080/arsys
 |
 | How do I set it to where I just have to hit http://localserver/arsys,
 | without the :8080?

 The only way to remove the port number from your URLs is to use the
 standard ports (80 for HTTP and 443 for HTTPS) for your services instead
 of using 8080. Look for any un-commented Connector elements in your
 server.xml -- the port number configuration should be obvious based upon
 the examples and comments.

 If you are running on a UNIX-like OS, you are likely to run across the
 problem of non-root users (and processes) being prohibited from binding
 to ports lower than 1024. In that case, look for jsvc which is pretty
 much the standard these days for running java processes with access to
 privileged resources.

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkf+gXMACgkQ9CaO5/Lv0PDDBACbBbyFAiiTox3zTFhSENg/aqXB
 HS4AnAyvFuqjFvlGkauEhrny2Qj0UoON
 =tDBY
 -END PGP SIGNATURE-

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to stop having to put :8080 in the url?

2008-04-11 Thread Jim Cox
You've lost me a bit on what servers are running -- you have IIS serving
port 80, and Tomcat serving 8080? If so, can't you simply configure IIS to
proxy the requests to your Tomcat on port 8080?

On Fri, Apr 11, 2008 at 9:40 AM, Gary Opela (Corporate) 
[EMAIL PROTECTED] wrote:

 Thanks, but that still leaves me in the same predicament. I don't have
 control over http://localhost. I need to be able to control that, but
 running tomcat, if I map all traffic that goes to localhost to tomcat, then
 typing in just http://localhost takes me to the tomcat config page that
 says I don't have tomcat configured properly.

 I need to just route traffic that goes to http://localhost/arsys to
 http://localhost:8080/arsys (or once I get SSL up, then
 http://localhost:423/arsys, or whatever port SSL runs on).


 Thanks,

 Gary Opela, Jr., RSP
 Remedy Engineer
 Leader Communications, Inc.
 Best Product, Best People, Best PriceTM
 An ISO 9001:2000 Certified, CMMI(R) Level 3 Rated Company


 -Original Message-
 From: Rodrigo Correa de Paiva [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 11, 2008 8:15 AM
 To: Tomcat Users List
 Subject: Re: How to stop having to put :8080 in the url?

 will u change the port back to 8080, than go to
 C:\WINDOWS\system32\drivers\etc and edit the file HOSTS
 change : 127.0.0.1   localhost
 to :  127.0.0.1:8080   localhost

 everytime u type localhost u will be redicted to 127.0.0.1:8080
 i never do that, but should work

 2008/4/11, Gary Opela (Corporate) [EMAIL PROTECTED]:
 
  Environment:
  Windows Server 2k3 R2 EE
  Apache Tomcat 5.5.17 installed in: C:\Program Files\Apache Software
  Foundation\Tomcat-5.5.17
  Microsoft IIS 6.0
  IE 6.0.X.X SP2
  Java:
   jre1.6.0_05
   jdk1.6.0_05
 
 
  Okay, so I went in my server.xml in C:\Program Files\Apache Software
  Foundation\Tomcat 5.5\conf\server.xml and changed
 
 
  !--  Define a non-SSL HTTP/1.1 Connector on port 8080
--
Connector port=8080 maxHttpHeaderSize=8192 URIEncoding=UTF-8
  maxThreads=150 minSpareThreads=25 maxSpareThreads=75
  enableLookups=false redirectPort=8443 acceptCount=100
  connectionTimeout=2 disableUploadTimeout=true /
 
 
  To
 
 
  !--  Define a non-SSL HTTP/1.1 Connector on port 8080
--
Connector port=80 maxHttpHeaderSize=8192 URIEncoding=UTF-8
  maxThreads=150 minSpareThreads=25 maxSpareThreads=75
  enableLookups=false redirectPort=8443 acceptCount=100
  connectionTimeout=2 disableUploadTimeout=true /
 
  Now I can access my application by going to http://localhost/arsyswithout
  specifying the port. However, now if I go to http://localhost, then it
  redirects me to Tomcat's default page. Is there a way to leave the above
  line referencing port 8080, as that's where I want tomcat to run from,
 but
  then tell IIS to redirect my localhost/arsys traffic to reference port
 8080?
 
 
  Thanks,
 
  Gary Opela, Jr., RSP
  Remedy Engineer
  Leader Communications, Inc.
  Best Product, Best People, Best PriceTM
  An ISO 9001:2000 Certified, CMMI(R) Level 3 Rated Company
 
  -Original Message-
 
  From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED]
 
  Sent: Thursday, April 10, 2008 4:11 PM
  To: Tomcat Users List
 
  Subject: RE: How to stop having to put :8080 in the url?
 
  Thanks, Chris, for the assistance.
 
 
  Thanks,
 
  Gary Opela, Jr., RSP
  Remedy Engineer
  Leader Communications, Inc.
  Best Product, Best People, Best PriceTM
  An ISO 9001:2000 Certified, CMMI(R) Level 3 Rated Company
 
 
  -Original Message-
  From: Christopher Schultz [mailto:[EMAIL PROTECTED]
  Sent: Thursday, April 10, 2008 4:07 PM
  To: Tomcat Users List
  Subject: Re: How to stop having to put :8080 in the url?
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Gary,
 
  Gary Opela (Corporate) wrote:
  | I have a website that is located under http://localserver:8080/arsys
  |
  | How do I set it to where I just have to hit http://localserver/arsys,
  | without the :8080?
 
  The only way to remove the port number from your URLs is to use the
  standard ports (80 for HTTP and 443 for HTTPS) for your services instead
  of using 8080. Look for any un-commented Connector elements in your
  server.xml -- the port number configuration should be obvious based upon
  the examples and comments.
 
  If you are running on a UNIX-like OS, you are likely to run across the
  problem of non-root users (and processes) being prohibited from binding
  to ports lower than 1024. In that case, look for jsvc which is pretty
  much the standard these days for running java processes with access to
  privileged resources.
 
  - -chris
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.9 (MingW32)
  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
  iEYEARECAAYFAkf+gXMACgkQ9CaO5/Lv0PDDBACbBbyFAiiTox3zTFhSENg/aqXB
  HS4AnAyvFuqjFvlGkauEhrny2Qj0UoON
  =tDBY
  -END PGP SIGNATURE-
 
  -
  To start a new 

RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Caldarale, Charles R
 From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED] 
 Subject: RE: How to stop having to put :8080 in the url?
 
 Thanks, but that still leaves me in the same predicament.

Doesn't matter; Rodrigo's suggestion was completely bogus.

 I need to just route traffic that goes to 
 http://localhost/arsys to http://localhost:8080/arsys (or 
 once I get SSL up, then http://localhost:423/arsys, or 
 whatever port SSL runs on).

David D already gave you the right answer:
http://marc.info/?l=tomcat-userm=120791942517877w=2

Watch out for SSL traffic on ports other than 443; IE 6 (don't know
about 7) has a known bug in its HTTPS handling that causes it to lose
the port number on occasion.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to stop having to put :8080 in the url?

2008-04-11 Thread Hassan Schroeder
On Fri, Apr 11, 2008 at 6:40 AM, Gary Opela (Corporate)
[EMAIL PROTECTED] wrote:
 if I map all traffic that goes to localhost to tomcat, then typing in just
 http://localhost takes me to the tomcat config page that says I don't
 have tomcat configured properly.

Yes -- if you choose /not/ to replace the default (ROOT) context,
that's exactly what happens. But you only mentioned 'arsys' as
the application you care about, so what is the problem?

 I need to just route traffic that goes to http://localhost/arsys to
 http://localhost:8080/arsys

...which you're accomplished.

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Gary Opela (Corporate)
Okay, I just wanted to make sure that I had set it up correctly.

Now, how do I go about adjusting the default page to redirect to 
localhost/arsys? So, if someone just types in localhost, it will redirect 
him/her to localhost/arsys.

If I were using port 8080 in tomcat, and port 80 in IIS, and the default 
webpage within IIS, then I could just drop a file off in c:/inetpub/wwwroot 
that would redirect. However, since I have all traffic forced to port 80 for 
tomcat, I had to disable the default webpage in IIS because of port conflicts, 
so where do I drop off my new redirects, such that I can have someone type in 
localhost and it redirect to localhost/arsys, or I can have someone type in 
localhost/bob and there will be a bob.htm file that redirects the user to a 
specific page on the website?

Thanks for all the help, I'm impressed with the amount of support you all give!


Thanks,

Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company


-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 11, 2008 8:52 AM
To: Tomcat Users List
Subject: Re: How to stop having to put :8080 in the url?

On Fri, Apr 11, 2008 at 6:40 AM, Gary Opela (Corporate)
[EMAIL PROTECTED] wrote:
 if I map all traffic that goes to localhost to tomcat, then typing in just
 http://localhost takes me to the tomcat config page that says I don't
 have tomcat configured properly.

Yes -- if you choose /not/ to replace the default (ROOT) context,
that's exactly what happens. But you only mentioned 'arsys' as
the application you care about, so what is the problem?

 I need to just route traffic that goes to http://localhost/arsys to
 http://localhost:8080/arsys

...which you're accomplished.

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Caldarale, Charles R
 From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED] 
 Subject: RE: How to stop having to put :8080 in the url?
 
 Now, how do I go about adjusting the default page to redirect 
 to localhost/arsys? So, if someone just types in localhost, 
 it will redirect him/her to localhost/arsys.

Under Tomcat, the default webapp must be named ROOT (case-sensitive,
even on Windows).  The easiest thing to do is simply rename your arsys
webapp to ROOT, and you're done.  Otherwise, you could write a simple
index.html page under webapps/ROOT that contains a redirect to /arsys.
There are other mechanisms, such as filters, but they're more work than
needed in this situation.

 since I have all traffic forced to port 80 for tomcat

So what are you really using IIS for?  Do you need it at all, if
everything is going to Tomcat?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to stop having to put :8080 in the url?

2008-04-11 Thread Gary Opela (Corporate)
Thanks a bunch Charles, I think you just cleared it up for me!


Thanks,

Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company


-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 11, 2008 9:40 AM
To: Tomcat Users List
Subject: RE: How to stop having to put :8080 in the url?

 From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED] 
 Subject: RE: How to stop having to put :8080 in the url?
 
 Now, how do I go about adjusting the default page to redirect 
 to localhost/arsys? So, if someone just types in localhost, 
 it will redirect him/her to localhost/arsys.

Under Tomcat, the default webapp must be named ROOT (case-sensitive,
even on Windows).  The easiest thing to do is simply rename your arsys
webapp to ROOT, and you're done.  Otherwise, you could write a simple
index.html page under webapps/ROOT that contains a redirect to /arsys.
There are other mechanisms, such as filters, but they're more work than
needed in this situation.

 since I have all traffic forced to port 80 for tomcat

So what are you really using IIS for?  Do you need it at all, if
everything is going to Tomcat?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to stop having to put :8080 in the url?

2008-04-10 Thread Caldarale, Charles R
 From: Gary Opela (Corporate) [mailto:[EMAIL PROTECTED] 
 Subject: How to stop having to put :8080 in the url?
 
 How do I set it to where I just have to hit http://localserver/arsys,
 without the :8080?

Change the port attribute of the Connector element in conf/server.xml.
You should probably browse through that file and the Tomcat
configuration doc.  Adjust the following for whatever level you're
running (and remember to tell us next time).

http://tomcat.apache.org/tomcat-6.0-doc/config/index.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to stop having to put :8080 in the url?

2008-04-10 Thread Christopher Schultz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gary,

Gary Opela (Corporate) wrote:
| I have a website that is located under http://localserver:8080/arsys
|
| How do I set it to where I just have to hit http://localserver/arsys,
| without the :8080?

The only way to remove the port number from your URLs is to use the
standard ports (80 for HTTP and 443 for HTTPS) for your services instead
of using 8080. Look for any un-commented Connector elements in your
server.xml -- the port number configuration should be obvious based upon
the examples and comments.

If you are running on a UNIX-like OS, you are likely to run across the
problem of non-root users (and processes) being prohibited from binding
to ports lower than 1024. In that case, look for jsvc which is pretty
much the standard these days for running java processes with access to
privileged resources.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf+gXMACgkQ9CaO5/Lv0PDDBACbBbyFAiiTox3zTFhSENg/aqXB
HS4AnAyvFuqjFvlGkauEhrny2Qj0UoON
=tDBY
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to stop having to put :8080 in the url?

2008-04-10 Thread Gary Opela (Corporate)
Thanks, Chris, for the assistance.


Thanks,

Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI® Level 3 Rated Company


-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 10, 2008 4:07 PM
To: Tomcat Users List
Subject: Re: How to stop having to put :8080 in the url?

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gary,

Gary Opela (Corporate) wrote:
| I have a website that is located under http://localserver:8080/arsys
|
| How do I set it to where I just have to hit http://localserver/arsys,
| without the :8080?

The only way to remove the port number from your URLs is to use the
standard ports (80 for HTTP and 443 for HTTPS) for your services instead
of using 8080. Look for any un-commented Connector elements in your
server.xml -- the port number configuration should be obvious based upon
the examples and comments.

If you are running on a UNIX-like OS, you are likely to run across the
problem of non-root users (and processes) being prohibited from binding
to ports lower than 1024. In that case, look for jsvc which is pretty
much the standard these days for running java processes with access to
privileged resources.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf+gXMACgkQ9CaO5/Lv0PDDBACbBbyFAiiTox3zTFhSENg/aqXB
HS4AnAyvFuqjFvlGkauEhrny2Qj0UoON
=tDBY
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]