Hiding port number when using mod_jk

2005-05-16 Thread Vamsee Kanakala
Hi List,
 I have setup the mod_jk on Apache2 and it is forwarding the
requests to tomcat 5.5.9  correctly. However, if I click any of the
links in my tomcat webapp, the port 8080 is showing up. Is there any way
I can avoid this?
TIA,
Vamsee.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Hiding port number when using mod_jk

2005-05-16 Thread Lutz Zetzsche
Hi Vamsee,

Am Montag, 16. Mai 2005 09:00 schrieb Vamsee Kanakala:
   I have setup the mod_jk on Apache2 and it is forwarding the
 requests to tomcat 5.5.9  correctly. However, if I click any of the
 links in my tomcat webapp, the port 8080 is showing up. Is there any
 way I can avoid this?

how are these links built / generated in your pages?

Best wishes
Lutz

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hiding port number when using mod_jk

2005-05-16 Thread Anto Paul
 Am Montag, 16. Mai 2005 09:00 schrieb Vamsee Kanakala:
I have setup the mod_jk on Apache2 and it is forwarding the
  requests to tomcat 5.5.9  correctly. However, if I click any of the
  links in my tomcat webapp, the port 8080 is showing up. Is there any
  way I can avoid this?
 

If you mean that Tomcat is still listening on port 8080, you must
comment the connector element in server.xml which tells Tomcat to
listen on port 8080.
You should check your application source to see that no port no is
hard coded in it.

-- 
rgds
Anto Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hiding port number when using mod_jk

2005-05-16 Thread Vamsee Kanakala
Anto Paul wrote:
If you mean that Tomcat is still listening on port 8080, you must
comment the connector element in server.xml which tells Tomcat to
listen on port 8080.
You should check your application source to see that no port no is
hard coded in it.
 

Thanks Anto  Lutz, the problem was at two places: I didn't configure 
mod_jk.conf properly and  the application I deployed had some bad 
deployment descriptors. I removed that application, uncommented the 
connector and everything works correctly now.

Regards,
Vamsee.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: port number

2005-04-14 Thread t.n.a.
Magnotta, Salvatore wrote:
I think what he is saying is sending the requests to the AJP12 and AJP13 
workers.  Look in your Tomcat workers.properties file and make sure you load 
the mod_jk in your Apache httpd config file.
-Original Message-
From: Viorel Dragomir [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 12:00 PM
To: Tomcat Users List
Subject: Re: port number

Look for mod_jk how to.
It's a connector that can send .jsp or servlets requests from apache to tomcat.

Viorel Dragomir
 

You're both right: maybe I wasn't precise enough when I described what I 
needed, but the connector should do the trick judging by what you've 
told me. I'll give it a go and see what I come up with, thanks.

Tomislav
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: port number

2005-04-14 Thread t.n.a.
Tim Funk wrote:
You need let apache forward the appropriate requests to tomcat. The 
different ways you can do that can be found here:

http://jakarta.apache.org/tomcat/faq/connectors.html
-Tim

Thank you for the informative link: I'll try to set up such a 
configuration and see what happens.

Tomislav
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


port number

2005-04-13 Thread t.n.a.
Hi everyone,
I host applications on a machine where both apache and tomcat are 
running. I access apache at port 80 and tomcat at 8080. Is it possible 
(using the tomcat apache connection, or some other way) to access both 
at port 80? I ask because of firewall issues: port 80 seems to be the 
Holy Grail of accessibility: everything else depends on the local 
firewall configuration.

Tomislav
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: port number (UNCLASSIFIED)

2005-04-13 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification:  UNCLASSIFIED 
Caveats: NONE

I personally don't think it is a good idea, even if it could be done.
Try changing the port for tomcat and do some testing on your side, to check if 
they seem to be operating correctly.

Fadi 

-Original Message-
From: t.n.a. [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 10:55 AM
To: Tomcat Users List
Subject: port number

Hi everyone,

I host applications on a machine where both apache and tomcat are running. I 
access apache at port 80 and tomcat at 8080. Is it possible (using the tomcat 
apache connection, or some other way) to access both at port 80? I ask because 
of firewall issues: port 80 seems to be the Holy Grail of accessibility: 
everything else depends on the local firewall configuration.

Tomislav

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Classification:  UNCLASSIFIED 
Caveats: NONE


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: port number

2005-04-13 Thread Magnotta, Salvatore
Is that even possible?

Port 80 is the default HTTP port.  Port 443 is the default HTTPS port.

That said, Microsoft Internet Information Server, Apache web server and most 
servers default to port 80 which makes sense since it is for HTTP.  I've tried 
myself to attach Tomcat to port 80 along with Apache Web server and I get 
severe errors in my Tomcat log file (along with it not working).  I don't think 
this is recommended even if it is possible.  I wonder about reliability and 
security issues.  If someone can take down that port then you lose everything...


-Original Message-
From: t.n.a. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 10:55 AM
To: Tomcat Users List
Subject: port number


Hi everyone,

I host applications on a machine where both apache and tomcat are 
running. I access apache at port 80 and tomcat at 8080. Is it possible 
(using the tomcat apache connection, or some other way) to access both 
at port 80? I ask because of firewall issues: port 80 seems to be the 
Holy Grail of accessibility: everything else depends on the local 
firewall configuration.

Tomislav

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: port number

2005-04-13 Thread Viorel Dragomir

Look for mod_jk how to.
It's a connector that can send .jsp or servlets requests from apache to tomcat.



Viorel Dragomir

.
..
---



- Original Message - 
From: t.n.a. 
To: Tomcat Users List 
Sent: Wednesday, April 13, 2005 16:54
Subject: port number


Hi everyone,

I host applications on a machine where both apache and tomcat are 
running. I access apache at port 80 and tomcat at 8080. Is it possible 
(using the tomcat apache connection, or some other way) to access both 
at port 80? I ask because of firewall issues: port 80 seems to be the 
Holy Grail of accessibility: everything else depends on the local 
firewall configuration.

Tomislav

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: port number

2005-04-13 Thread Canto IT System Manager
No that's not possible.

Only one server for one port...

You could try to forward incomming connections from apache to tomcat. For
that there is a plug in on tomcats web site... 

G 

-Ursprüngliche Nachricht-
Von: Magnotta, Salvatore [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 13. April 2005 16:56
An: Tomcat Users List
Betreff: RE: port number

Is that even possible?

Port 80 is the default HTTP port.  Port 443 is the default HTTPS port.

That said, Microsoft Internet Information Server, Apache web server and most
servers default to port 80 which makes sense since it is for HTTP.  I've
tried myself to attach Tomcat to port 80 along with Apache Web server and I
get severe errors in my Tomcat log file (along with it not working).  I
don't think this is recommended even if it is possible.  I wonder about
reliability and security issues.  If someone can take down that port then
you lose everything...


-Original Message-
From: t.n.a. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 10:55 AM
To: Tomcat Users List
Subject: port number


Hi everyone,

I host applications on a machine where both apache and tomcat are running. I
access apache at port 80 and tomcat at 8080. Is it possible (using the
tomcat apache connection, or some other way) to access both at port 80? I
ask because of firewall issues: port 80 seems to be the Holy Grail of
accessibility: everything else depends on the local firewall configuration.

Tomislav

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: port number

2005-04-13 Thread Magnotta, Salvatore
I think what he is saying is sending the requests to the AJP12 and AJP13 
workers.  Look in your Tomcat workers.properties file and make sure you load 
the mod_jk in your Apache httpd config file.

-Original Message-
From: Viorel Dragomir [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 12:00 PM
To: Tomcat Users List
Subject: Re: port number



Look for mod_jk how to.
It's a connector that can send .jsp or servlets requests from apache to tomcat.



Viorel Dragomir

.
..
---



- Original Message - 
From: t.n.a. 
To: Tomcat Users List 
Sent: Wednesday, April 13, 2005 16:54
Subject: port number


Hi everyone,

I host applications on a machine where both apache and tomcat are 
running. I access apache at port 80 and tomcat at 8080. Is it possible 
(using the tomcat apache connection, or some other way) to access both 
at port 80? I ask because of firewall issues: port 80 seems to be the 
Holy Grail of accessibility: everything else depends on the local 
firewall configuration.

Tomislav

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: port number

2005-04-13 Thread Joe Plautz
Just user the jk connector. The work famously together. Obviously you're 
not running tomcat on port 80, but you don't need to.

Here's the link on setting it up.
http://jakarta.apache.org/tomcat/connectors-doc/index.html
t.n.a. wrote:
Hi everyone,
I host applications on a machine where both apache and tomcat are 
running. I access apache at port 80 and tomcat at 8080. Is it possible 
(using the tomcat apache connection, or some other way) to access both 
at port 80? I ask because of firewall issues: port 80 seems to be the 
Holy Grail of accessibility: everything else depends on the local 
firewall configuration.

Tomislav
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: port number

2005-04-13 Thread Peter Crowther
 From: t.n.a. [mailto:[EMAIL PROTECTED] 
 I host applications on a machine where both apache and tomcat are 
 running. I access apache at port 80 and tomcat at 8080. Is it 
 possible 
 (using the tomcat apache connection, or some other way) to 
 access both at port 80?

Yes, but you'll have to decide under which part of your Apache site
you'll show your Tomcat pages.  The trick is to install mod_jk to
connect from Apache to Tomcat (and make sure you've got a JK connector
enabled in Tomcat).  Then you can map part or all of the Tomcat URL
space into a virtual directory under Apache.  JK is independent of
Tomcat's HTTP connector so, if you wish, you can even remove Tomcat's
connector on port 8080 once you've done this - the Apache = JK =
Tomcat route becomes the only route through which you can access Tomcat.

- Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: port number

2005-04-13 Thread Tim Funk
You need let apache forward the appropriate requests to tomcat. The 
different ways you can do that can be found here:

http://jakarta.apache.org/tomcat/faq/connectors.html
-Tim
t.n.a. wrote:
Hi everyone,
I host applications on a machine where both apache and tomcat are 
running. I access apache at port 80 and tomcat at 8080. Is it possible 
(using the tomcat apache connection, or some other way) to access both 
at port 80? I ask because of firewall issues: port 80 seems to be the 
Holy Grail of accessibility: everything else depends on the local 
firewall configuration.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: port number

2005-04-13 Thread Magnotta, Salvatore
So then it is possible to have both on port 80?  G says no way...


No that's not possible.

Only one server for one port...

You could try to forward incomming connections from apache to tomcat. For
that there is a plug in on tomcats web site... 

G 

-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 11:10 AM
To: Tomcat Users List
Subject: RE: port number


 From: t.n.a. [mailto:[EMAIL PROTECTED] 
 I host applications on a machine where both apache and tomcat are 
 running. I access apache at port 80 and tomcat at 8080. Is it 
 possible 
 (using the tomcat apache connection, or some other way) to 
 access both at port 80?

Yes, but you'll have to decide under which part of your Apache site
you'll show your Tomcat pages.  The trick is to install mod_jk to
connect from Apache to Tomcat (and make sure you've got a JK connector
enabled in Tomcat).  Then you can map part or all of the Tomcat URL
space into a virtual directory under Apache.  JK is independent of
Tomcat's HTTP connector so, if you wish, you can even remove Tomcat's
connector on port 8080 once you've done this - the Apache = JK =
Tomcat route becomes the only route through which you can access Tomcat.

- Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: port number

2005-04-13 Thread Joe Plautz
No, they're not both listening on port 80, Apache is listening on port 
80 and forwards requests to tomcat as needed.

Joe
Magnotta, Salvatore wrote:
So then it is possible to have both on port 80?  G says no way...

No that's not possible.
Only one server for one port...
You could try to forward incomming connections from apache to tomcat. For
that there is a plug in on tomcats web site... 

G 

-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 11:10 AM
To: Tomcat Users List
Subject: RE: port number

From: t.n.a. [mailto:[EMAIL PROTECTED] 
I host applications on a machine where both apache and tomcat are 
running. I access apache at port 80 and tomcat at 8080. Is it 
possible 
(using the tomcat apache connection, or some other way) to 
access both at port 80?

Yes, but you'll have to decide under which part of your Apache site
you'll show your Tomcat pages.  The trick is to install mod_jk to
connect from Apache to Tomcat (and make sure you've got a JK connector
enabled in Tomcat).  Then you can map part or all of the Tomcat URL
space into a virtual directory under Apache.  JK is independent of
Tomcat's HTTP connector so, if you wish, you can even remove Tomcat's
connector on port 8080 once you've done this - the Apache = JK =
Tomcat route becomes the only route through which you can access Tomcat.
- Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Using DNS name instead of port number

2005-01-13 Thread John Martyniak
I would like to be able to use the following Virtual host
apps.beforedawn.com to run my app.  Instead of having to include the 8080.
Their is also a Webserver running on the box.

So that I could run http://apps.beforedawn.com/index.jsp

So my question is can this be done inside of Tomcat, or will I need to use
mod_jk.

Thanks for any and all help.

-John



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Using DNS name instead of port number

2005-01-13 Thread Hassan Schroeder
John Martyniak wrote:
I would like to be able to use the following Virtual host
apps.beforedawn.com to run my app.  Instead of having to include the 8080.
Their is also a Webserver running on the box.
So that I could run http://apps.beforedawn.com/index.jsp
So my question is can this be done inside of Tomcat, or will I need to use
mod_jk.
If the system in question has multiple IP addresses, yes. Configure
your Tomcat connector to listen to the appropriate address(es) on
port 80 and configure Apache to listen to the other address(es).
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Using DNS name instead of port number

2005-01-13 Thread John Martyniak
The server currently only has one IP address and several virtual hosts.

Some that are served by the Web Server and some that are going to be served
by Tomcat.

For example on this box I would to do the following:
Web Server:
Serves http://www.beforedawn.com

Tomcat Server:
http://apps.beforedawn.com/index.jsp
http://diagnostics.beforedawn.com/index.jsp

Is this possible? 

-John


On 1/13/05 3:38 PM, Hassan Schroeder [EMAIL PROTECTED] wrote:

 John Martyniak wrote:
 I would like to be able to use the following Virtual host
 apps.beforedawn.com to run my app.  Instead of having to include the 8080.
 Their is also a Webserver running on the box.
 
 So that I could run http://apps.beforedawn.com/index.jsp
 
 So my question is can this be done inside of Tomcat, or will I need to use
 mod_jk.
 
 If the system in question has multiple IP addresses, yes. Configure
 your Tomcat connector to listen to the appropriate address(es) on
 port 80 and configure Apache to listen to the other address(es).



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Using DNS name instead of port number

2005-01-13 Thread Hassan Schroeder
John Martyniak wrote:
The server currently only has one IP address and several virtual hosts.

For example on this box I would to do the following:
Web Server:
Serves http://www.beforedawn.com
Tomcat Server:
http://apps.beforedawn.com/index.jsp
http://diagnostics.beforedawn.com/index.jsp
Is this possible? 
Yeah, but with only one IP you'll have to use mod_jk or mod_proxy.
I'd say adding an IP address would be the easier setup :-)
FWIW, this is how I run my dev box -- a couple of IP addresses for
different versions of Tomcat and one for Apache (for the occasional
PHP job).
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Using DNS name instead of port number

2005-01-13 Thread John Martyniak
Unfortunately this is for one of my external boxes (read have to pay ungodly
sums of money to get another block of IP addresses).

So if I set this up using mod_jk then I will have to do the following

VirtualHost www.befordawn.com
DocumentRoot /var/www/htmlbeforedawn
ErrorLog logs/beforedawn_error_log
DirectoryIndex  index.php index.html index.htm index.shtml
ServerAdmin root@ beforedawn.com
# ServerName www. beforedawn.com
ServerSignature email
TransferLog logs/ beforedawn_access_log
/VirtualHost

VirtualHost apps.beforedawn.com
DocumentRoot /var/www/appbeforedawn
ErrorLog logs/appbeforedawn_error_log
DirectoryIndex  index.php index.html index.htm index.shtml
ServerAdmin [EMAIL PROTECTED]
# ServerName apps.beforedawn.com
ServerSignature email
TransferLog logs/appsbeforedawn_access_log

JKMount /apps worker1
JKMount /apps/* worker1
/VirtualHost

VirtualHost diagnostics.beforedawn.com
DocumentRoot /var/www/diagbeforedawn
ErrorLog logs/diagbeforedawn_error_log
DirectoryIndex  index.php index.html index.htm index.shtml
ServerAdmin [EMAIL PROTECTED]
# ServerName diagnostics.beforedawn.com
ServerSignature email
TransferLog logs/diagbeforedawn_access_log

JKMount /diag worker1
JKMount /diag/* worker1
/VirtualHost


Will this get me http://apps.beforedawn.com/index.jsp and
http://diagnostics.beforedawn.com/index.jsp?

Or would I have to put a rewrite in also?  So that it would redirect any
request to http://apps.beforedawn.com/apps/index.jsp

Because I assume that the JKMount must correspond to the directory in the
webapps directory.

I am so confused on the way that mod_jk works!

-john



On 1/13/05 4:11 PM, Hassan Schroeder [EMAIL PROTECTED] wrote:

 John Martyniak wrote:
 The server currently only has one IP address and several virtual hosts.
 
 For example on this box I would to do the following:
 Web Server:
 Serves http://www.beforedawn.com
 
 Tomcat Server:
 http://apps.beforedawn.com/index.jsp
 http://diagnostics.beforedawn.com/index.jsp
 
 Is this possible?
 
 Yeah, but with only one IP you'll have to use mod_jk or mod_proxy.
 
 I'd say adding an IP address would be the easier setup :-)
 
 FWIW, this is how I run my dev box -- a couple of IP addresses for
 different versions of Tomcat and one for Apache (for the occasional
 PHP job).



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Using DNS name instead of port number

2005-01-13 Thread Hassan Schroeder
John Martyniak wrote:
Unfortunately this is for one of my external boxes (read have to pay ungodly
sums of money to get another block of IP addresses).
Well, you only need one, eh?  :-)
So if I set this up using mod_jk then I will have to do the following
It's been a long time since I used Apache in front of Tomcat, but
that generally looked OK. Try it. You certainly won't need to use
mod_rewrite, though.
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Using DNS name instead of port number

2005-01-13 Thread John Martyniak
Thanks for the help.

I will try and get the mod_jk working.  I think that will give me the most
flexibility for the future.

-John


On 1/13/05 5:53 PM, Hassan Schroeder [EMAIL PROTECTED] wrote:

 John Martyniak wrote:
 Unfortunately this is for one of my external boxes (read have to pay ungodly
 sums of money to get another block of IP addresses).
 
 Well, you only need one, eh?  :-)
 
 So if I set this up using mod_jk then I will have to do the following
 
 It's been a long time since I used Apache in front of Tomcat, but
 that generally looked OK. Try it. You certainly won't need to use
 mod_rewrite, though.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



can any one suggest me port number! 8080 is already used by Oracle9i's http server

2004-11-06 Thread Raasi Potluri
Dear Friends, Many thanks to read this email. well I
have installed Oracle 9i database on my PC and it has
got its own Apache Http server at port 8080, by
default. Now I'm trying to install Tomcat5.0.28
version and installation process gives me port number
conflict please tell me what shall I do, anybody
suggest me any other port number where I can install
Tomcat bcoz i dont want to amend the oracle's usage of
port 8080, regards, Raasi, 



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: can any one suggest me port number! 8080 is already used by Oracle9i's http server

2004-11-06 Thread epyonne
Just pick any other 4 digit number. You don't have to use 8080.


-Original Message-
From: Raasi Potluri [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 06, 2004 6:38 PM
To: [EMAIL PROTECTED]
Subject: can any one suggest me port number! 8080 is already used by
Oracle9i's http server

Dear Friends, Many thanks to read this email. well I
have installed Oracle 9i database on my PC and it has
got its own Apache Http server at port 8080, by
default. Now I'm trying to install Tomcat5.0.28
version and installation process gives me port number
conflict please tell me what shall I do, anybody
suggest me any other port number where I can install
Tomcat bcoz i dont want to amend the oracle's usage of
port 8080, regards, Raasi, 



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: can any one suggest me port number! 8080 is already used by Oracle9i's http server

2004-11-06 Thread Harry Douglass, Jr.
Port 9090 will work.

-Original Message-
From: Raasi Potluri [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 06, 2004 7:38 PM
To: [EMAIL PROTECTED]
Subject: can any one suggest me port number! 8080 is already used by
Oracle9i's http server

Dear Friends, Many thanks to read this email. well I
have installed Oracle 9i database on my PC and it has
got its own Apache Http server at port 8080, by
default. Now I'm trying to install Tomcat5.0.28
version and installation process gives me port number
conflict please tell me what shall I do, anybody
suggest me any other port number where I can install
Tomcat bcoz i dont want to amend the oracle's usage of
port 8080, regards, Raasi, 



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: can any one suggest me port number! 8080 is already used by Oracle9i's http server

2004-11-06 Thread Frank W. Zammetti
Aside from 8080, 8181 is a pretty typical port to use.  There's no rules 
or anything, virtually any port that isn't one of the well-known ports 
would be fine, but those two you tend to see used quite a bit.

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Harry Douglass, Jr. wrote:
Port 9090 will work.
-Original Message-
From: Raasi Potluri [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 06, 2004 7:38 PM
To: [EMAIL PROTECTED]
Subject: can any one suggest me port number! 8080 is already used by
Oracle9i's http server

Dear Friends, Many thanks to read this email. well I
have installed Oracle 9i database on my PC and it has
got its own Apache Http server at port 8080, by
default. Now I'm trying to install Tomcat5.0.28
version and installation process gives me port number
conflict please tell me what shall I do, anybody
suggest me any other port number where I can install
Tomcat bcoz i dont want to amend the oracle's usage of
port 8080, regards, Raasi, 

		
__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Getting https port number within servlet - anybody knows ?

2004-07-16 Thread Tomasz Kuczyski
Hi,

How can I get value of redirectPort attribute of Connector element in
servlet/JSP ?

I need to make some redirection - change http request in some cases into
https request, but I run HTTP connectors and HTTPS connectors on non
standard ports - I wanted to know port number accordingly to settings of
connector I use.

I tried to change just scheme f.e.:
http://localhost:8081/... to https://localhost:8081/... but Tomcat
doesn't switch to HTTPS port.

I use Tomcat 4.1.x.

Is it possible to do this without parsing server.xml ? Some method or ...

Thanks in advance,
Best regards,
Tomasz Kuczynski
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Getting https port number within servlet

2004-07-15 Thread Tomasz Kuczyski
Hi,

How can I get value of redirectPort attribute of Connector element in
servlet/JSP ?

I need to make some redirection - change http request in some cases into
https request, but I run HTTP connectors and HTTPS connectors on non
standard ports - I wanted to know port number accordingly to settings of
connector I use.

I tried to change just scheme f.e.:
http://localhost:8081/... to https://localhost:8081/... but Tomcat
doesn't switch to HTTPS port.

Is it possible to do this without parsing server.xml ? Some method or ...

Thanks in advance,
Best regards,
Tomasz Kuczynski
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Getting https port number within servlet [2]

2004-07-15 Thread Tomasz Kuczyski
Sorry, forgot:

Tomcat/4.1.x

Thanks in advance,
Best regards,
Tomasz Kuczynski
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JDBCRealm problem (invalid port number)

2004-06-07 Thread Lea
Hi, 
I'm trying to use JDBCRealm and MySQL to authenticate user in tomcat 4.1. 
I followed the steps described on 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-
howto.html#JDBCRealm: 
I added a user table and a user_roles table in my database (ABCDatabase);
I made all necessary columns (user, password, role_name); 
I downloaded the MySQL driver (mysql-connector-java-3.0.14-
production.zip) and put the .jar file into $CATALINA/common/lib;
I replaced the realm definition of the server.xml by follow code snippet 
:

 Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
 driverName=org.gjt.mm.mysql.Driver
  connectionURL=jdbc:mysql://localhost_IP/ABCDatabase   !-- * 
--
  connectionName=root
  connectionPassword=
  userTable=user userNameCol=login userCredCol=password
  userRoleTable=user_roles roleNameCol=role_name /

I created the new user in slide/users/ with the same name and password as 
in my user table in the mysql server.

I can login in http://localhost:8080/admin with this user (he's not in 
tomcat-users.xml) using IE, but when I use a terminal as jakarta-slide-
webdavclient-2.0, I got the follow error message:
org.apache.commons.httpclient.URIException: invalid port number

I replaced the connectionURL (the line with !-- * -- ) by lines below, 
but I got the same error.
connectionURL=jdbc:mysql://localhost_IP:3306/ABCDatabase
connectionURL=jdbc:mysql://localhost/ABCDatabase
connectionURL=jdbc:mysql://localhost:3306/ABCDatabase

I  remark that there's nothing about JDBCRealm neither JDBC in the login 
file (/logs/localhost_log.txt).

Does someone know what's wrong in my program?

Thx and regards 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



method to retrieve the port number specified in conf/server.xml

2003-07-17 Thread Alan Tang
Hi,

Could anybody please tell me if there's an easy way to retrieve the port number (i 
mean in the program)  being specified in conf/server.xml (e.g, 8080)?

Connector className=org.apache.catalina.connector.http.HttpConnector port=8080 
minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 
acceptCount=10 debug=0 connectionTimeout=6 / 

I appreciate your comments!

Alan Tang
Lucent Technologies.

Re: method to retrieve the port number specified in conf/server.xml

2003-07-17 Thread Friso Geerlings
Hi,

You can get the port number by using the request-method getServerPort().

--Friso Geerlings,
ISAAC Software Solutions
www.isaac.nl

- Original Message - 

Could anybody please tell me if there's an easy way to retrieve the port
number (i mean in the program)  being specified in conf/server.xml (e.g,
8080)?

...

Alan Tang
Lucent Technologies.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: method to retrieve the port number specified in conf/server.xml

2003-07-17 Thread sankara
You can use the ServletRequest's getServerPort().
-A.Sankar.

-Original Message-
From: Alan Tang [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 12:43 PM
To: Tomcat Users List
Subject: method to retrieve the port number specified in conf/server.xml


Hi,

Could anybody please tell me if there's an easy way to retrieve the port
number (i mean in the program)  being specified in conf/server.xml (e.g,
8080)?

Connector className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5 maxProcessors=75 enableLookups=true
redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=6 /

I appreciate your comments!

Alan Tang
Lucent Technologies.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat port number

2002-12-12 Thread Lindomar
Search for 8080 in server.xml

You'll find this connector :
Connector className=org.apache.coyote.tomcat4.CoyoteConnector  ... 
Finally change the number 8080.


- Original Message -
From: Laxmikanth M.S. [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, December 11, 2002 10:58
Subject: Tomcat port number


 Venha para a VilaBOL!
 O melhor lugar para você construir seu site. Fácil e grátis!
 http://vila.bol.com.br
 Hi all,
 How to change 8080 port number to some other port for tomcat
 thanx
 Laxmikanth

 *
 Disclaimer: The information in this e-mail and any attachments is
 confidential / privileged. It is intended solely for the addressee or
 addressees. If you are not the addressee indicated in this message, you
may
 not copy or deliver this message to anyone. In such case, you should
destroy
 this message and kindly notify the sender by reply email. Please advise
 immediately if you or your employer does not consent to Internet email for
 messages of this kind.
 *

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat port number

2002-12-11 Thread Laxmikanth M.S.
Hi all,
How to change 8080 port number to some other port for tomcat
thanx
Laxmikanth

*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat port number

2002-12-11 Thread David Rayroud
Hi,

You must edit your $TOMCAT_HOME/conf/server.xml. Make a search for 8080
and you must see something like this :

Service name=Tomcat-Standalone
Connector

className=org.apache.coyote.tomcat4.CoyoteConnector
port=8080
minProcessors=5
maxProcessors=75
enableLookups=true
redirectPort=8443
acceptCount=10
debug=0
connectionTimeout=2
useURIValidationHack=false
/Connector

The definition of the port is the line port=. Here you can change your
port number.

Regard

David Rayroud


-Message d'origine-
De : Laxmikanth M.S. [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi, 11. décembre 2002 13:58
À : Tomcat Users List
Objet : Tomcat port number

Hi all,
How to change 8080 port number to some other port for tomcat
thanx
Laxmikanth

*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat port number

2002-12-11 Thread Laxmikanth M.S.
ya I got that and changed
is it possible to run two instance of tomcat in same machine


Regards
Laxmikanth M S 
Off*  : 91-80-6610330 extn 1256
Res* : 91-80-5267150
http://www.sonata-software.com

 Coming together is the beginning, staying together is progress and working
 together is Success
What lies behind us and what lies before us are tiny matters compared to
what lies within us  - Emerson


 -Original Message-
 From: David Rayroud [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, December 11, 2002 6:48 PM
 To:   Tomcat Users List
 Subject:  RE: Tomcat port number
 
 Hi,
 
 You must edit your $TOMCAT_HOME/conf/server.xml. Make a search for 8080
 and you must see something like this :
 
 Service name=Tomcat-Standalone
 Connector
 
 className=org.apache.coyote.tomcat4.CoyoteConnector
 port=8080
 minProcessors=5
 maxProcessors=75
 enableLookups=true
 redirectPort=8443
 acceptCount=10
 debug=0
 connectionTimeout=2
 useURIValidationHack=false
 /Connector
 
 The definition of the port is the line port=. Here you can change your
 port number.
 
 Regard
 
 David Rayroud
 
 
 -Message d'origine-
 De : Laxmikanth M.S. [mailto:[EMAIL PROTECTED]]
 Envoyé : mercredi, 11. décembre 2002 13:58
 À : Tomcat Users List
 Objet : Tomcat port number
 
 Hi all,
 How to change 8080 port number to some other port for tomcat
 thanx
 Laxmikanth
 
 *
 Disclaimer: The information in this e-mail and any attachments is
 confidential / privileged. It is intended solely for the addressee or
 addressees. If you are not the addressee indicated in this message, you
 may
 not copy or deliver this message to anyone. In such case, you should
 destroy
 this message and kindly notify the sender by reply email. Please advise
 immediately if you or your employer does not consent to Internet email for
 messages of this kind.
 *
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat port number

2002-12-11 Thread Turner, John

PLEASE READ THE DOCUMENTATION

There is a file included with Tomcat called RUNNING.txt that describes
multiple Tomcats on one machine.  READ IT.

John


-Original Message-
From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 11, 2002 8:20 AM
To: Tomcat Users List
Subject: RE: Tomcat port number

ya I got that and changed
is it possible to run two instance of tomcat in same machine


Regards
Laxmikanth M S 
Off*  : 91-80-6610330 extn 1256
Res* : 91-80-5267150
http://www.sonata-software.com

 Coming together is the beginning, staying together is progress and working
 together is Success
What lies behind us and what lies before us are tiny matters compared to
what lies within us  - Emerson


 -Original Message-
 From: David Rayroud [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, December 11, 2002 6:48 PM
 To:   Tomcat Users List
 Subject:  RE: Tomcat port number
 
 Hi,
 
 You must edit your $TOMCAT_HOME/conf/server.xml. Make a search for 8080
 and you must see something like this :
 
 Service name=Tomcat-Standalone
 Connector
 
 className=org.apache.coyote.tomcat4.CoyoteConnector
 port=8080
 minProcessors=5
 maxProcessors=75
 enableLookups=true
 redirectPort=8443
 acceptCount=10
 debug=0
 connectionTimeout=2
 useURIValidationHack=false
 /Connector
 
 The definition of the port is the line port=. Here you can change your
 port number.
 
 Regard
 
 David Rayroud
 
 
 -Message d'origine-
 De : Laxmikanth M.S. [mailto:[EMAIL PROTECTED]]
 Envoyé : mercredi, 11. décembre 2002 13:58
 À : Tomcat Users List
 Objet : Tomcat port number
 
 Hi all,
 How to change 8080 port number to some other port for tomcat
 thanx
 Laxmikanth
 
 *
 Disclaimer: The information in this e-mail and any attachments is
 confidential / privileged. It is intended solely for the addressee or
 addressees. If you are not the addressee indicated in this message, you
 may
 not copy or deliver this message to anyone. In such case, you should
 destroy
 this message and kindly notify the sender by reply email. Please advise
 immediately if you or your employer does not consent to Internet email for
 messages of this kind.
 *
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




How to Change Port Number of Tomcat

2002-09-12 Thread Bing Li

Hi, all,

I am now using Tomcat 3.2.3. I would like to use one PC to simulate two Web
applications. Each of them resides in the same PC but they should have
different port number. I took a try to change the port value in the
server.xml. But it doesn't work. Anyone could do me a favor?

Thanks a lot!
Bing Li



RE: How to Change Port Number of Tomcat

2002-09-12 Thread Andreas Mohrig

I'd say that changing the port number in server.xml should definitely do the
trick. Could you post your changed server.xml? We could take a look.

greetings

Andreas Mohrig
Web:   www.cadooz.de

-Original Message-
From: Bing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:39 AM
To: [EMAIL PROTECTED]
Subject: How to Change Port Number of Tomcat


Hi, all,

I am now using Tomcat 3.2.3. I would like to use one PC to simulate two Web
applications. Each of them resides in the same PC but they should have
different port number. I took a try to change the port value in the
server.xml. But it doesn't work. Anyone could do me a favor?

Thanks a lot!
Bing Li

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Change Port Number of Tomcat

2002-09-12 Thread Bing Li

Hi, Mohrig,

In the Connector part, there are three port values, 8080, 8443 and 8007. I
change them to 9080, 9443 and 9007. But when the other Tomcat (port values
are 8080, 8443, 8007) is started, the one with new port values got error,
which said Address already in use.

The changed server.xml is attached. Thanks for your help!

Bing

-Original Message-
From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 12:44 AM
To: 'Tomcat Users List'
Subject: RE: How to Change Port Number of Tomcat


I'd say that changing the port number in server.xml should definitely do the
trick. Could you post your changed server.xml? We could take a look.

greetings

Andreas Mohrig
Web:   www.cadooz.de

-Original Message-
From: Bing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:39 AM
To: [EMAIL PROTECTED]
Subject: How to Change Port Number of Tomcat


Hi, all,

I am now using Tomcat 3.2.3. I would like to use one PC to simulate two Web
applications. Each of them resides in the same PC but they should have
different port number. I took a try to change the port value in the
server.xml. But it doesn't work. Anyone could do me a favor?

Thanks a lot!
Bing Li

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


?xml version=1.0 encoding=ISO-8859-1?

Server
!-- Debug low-level events in XmlMapper startup 
xmlmapper:debug level=0 /
--

!-- 

Logging:

 Logging in Tomcat is quite flexible; we can either have a log
 file per module (example: ContextManager) or we can have one
 for Servlets and one for Jasper, or we can just have one
 tomcat.log for both Servlet and Jasper.  Right now there are
 three standard log streams, tc_log, servlet_log, and
 JASPER_LOG.  

	 Path: 

	 The file to which to output this log, relative to
	 TOMCAT_HOME.  If you omit a path value, then stderr or
	 stdout will be used.

	 Verbosity: 

	 Threshold for which types of messages are displayed in the
	 log.  Levels are inclusive; that is, WARNING level displays
	 any log message marked as warning, error, or fatal.  Default
	 level is WARNING.

	 verbosityLevel values can be: 
	FATAL
	ERROR
	WARNING 
INFORMATION
DEBUG

	 Timestamps:

	 By default, logs print a timestamp in the form -MM-dd
	 hh:mm:ss in front of each message.  To disable timestamps
	 completely, set 'timestamp=no'. To use the raw
	 msec-since-epoch, which is more efficient, set
	 'timestampFormat=msec'.  If you want a custom format, you
	 can use 'timestampFormat=hh:mm:ss' following the syntax of
	 java.text.SimpleDateFormat (see Javadoc API).  For a
	 production environment, we recommend turning timestamps off,
	 or setting the format to msec.

	 Custom Output:

	 Custom means normal looking.  Non-custom means
	 surrounded with funny xml tags.  In preparation for
	 possibly disposing of custom altogether, now the default is
	 'custom=yes' (i.e. no tags)

	 Per-component Debugging:

	 Some components accept a debug attribute.  This further
	 enhances log output.  If you set the debug level for a
	 component, it may output extra debugging information.
--

!-- if you don't want messages on screen, add the attribute
path=logs/tomcat.log 
	 to the Logger element below
--
Logger name=tc_log 
verbosityLevel = INFORMATION 
/

Logger name=servlet_log 
path=logs/servlet.log
/

Logger name=JASPER_LOG 
	path=logs/jasper.log
verbosityLevel = INFORMATION /

!-- You can add a home attribute to represent the base for 
 all relative paths. If none is set, the TOMCAT_HOME property
 will be used, and if not set . will be used.
 webapps/, work/ and logs/ will be relative to this ( unless 
 set explicitely to absolute paths ).

 You can also specify a randomClass attribute, which determines 
 a subclass of java.util.Random will be used for generating session IDs.
 By default this is java.security.SecureRandom. 
 Specifying java.util.Random will speed up Tomcat startup, 
 but it will cause sessions to be less secure.

 You can specify the showDebugInfo attribute to control whether
 debugging information is displayed in Tomcat's default responses.
 This debugging information includes:
 1. Stack traces for exceptions
 2. Request URI's that cause status codes = 400
 The default is true, so you must specify false to prevent
 the debug information from appearing.  Since the debugging
 information reveals internal details about what Tomcat is serving,
 set showDebugInfo=false if you wish increased security.
  --
ContextManager debug=0 workDir=work showDebugInfo=true 

  !--  Interceptors

RE: How to Change Port Number of Tomcat

2002-09-12 Thread Andreas Mohrig

Hi,

I'm afraid I can't reproduce your symptom with my two Tomcat 4.0(.4) on a
single Linux PC. But since I don't have Tomcat 3.2.3 at my disposal, this
may mean nothing. 
This may sound silly, but have you double checked that the right instances
of tomcat get started (using the right server.xml)? Can you acces them on
the designated ports when you start them alone? What are the error-messages
exactly?

Another thing I noted is the absence of a port for tomcat shutdown. With
tomcat 4 there is a port configured for this on top of server.xml like this:

Server port=8005 shutdown=SHUTDOWN debug=0
This is a wild guess, but maybe this is giving you trouble?

I'm sorry I can't delve deeper into this.

greetings


Andreas Mohrig

-Original Message-
From: Bing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:57 AM
To: Tomcat Users List
Subject: RE: How to Change Port Number of Tomcat


Hi, Mohrig,

In the Connector part, there are three port values, 8080, 8443 and 8007. I
change them to 9080, 9443 and 9007. But when the other Tomcat (port values
are 8080, 8443, 8007) is started, the one with new port values got error,
which said Address already in use.

The changed server.xml is attached. Thanks for your help!

Bing

-Original Message-
From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 12:44 AM
To: 'Tomcat Users List'
Subject: RE: How to Change Port Number of Tomcat


I'd say that changing the port number in server.xml should definitely do the
trick. Could you post your changed server.xml? We could take a look.

greetings

Andreas Mohrig
Web:   www.cadooz.de

-Original Message-
From: Bing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:39 AM
To: [EMAIL PROTECTED]
Subject: How to Change Port Number of Tomcat


Hi, all,

I am now using Tomcat 3.2.3. I would like to use one PC to simulate two Web
applications. Each of them resides in the same PC but they should have
different port number. I took a try to change the port value in the
server.xml. But it doesn't work. Anyone could do me a favor?

Thanks a lot!
Bing Li

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Change Port Number of Tomcat

2002-09-12 Thread Garling, Matthew

What ever you do, don't start putting tomcat 4 configuration entries in your
server.xml configuration file. The error you say you are getting isn't a
Tomcat problem at all. It sounds as though Tomcat is trying to start on the
new ports you defined BUT they are already in use. That happens when you
have to hard code ports. 
I suggest you try a port that is not being used. Try running netstat to see
what ports are being used and code some different ones into your server.xml
file.

Matthew

-Original Message-
From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 11:01 AM
To: 'Tomcat Users List'
Subject: RE: How to Change Port Number of Tomcat


Hi,

I'm afraid I can't reproduce your symptom with my two Tomcat 4.0(.4) on a
single Linux PC. But since I don't have Tomcat 3.2.3 at my disposal, this
may mean nothing. 
This may sound silly, but have you double checked that the right instances
of tomcat get started (using the right server.xml)? Can you acces them on
the designated ports when you start them alone? What are the error-messages
exactly?

Another thing I noted is the absence of a port for tomcat shutdown. With
tomcat 4 there is a port configured for this on top of server.xml like this:

Server port=8005 shutdown=SHUTDOWN debug=0
This is a wild guess, but maybe this is giving you trouble?

I'm sorry I can't delve deeper into this.

greetings


Andreas Mohrig

-Original Message-
From: Bing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:57 AM
To: Tomcat Users List
Subject: RE: How to Change Port Number of Tomcat


Hi, Mohrig,

In the Connector part, there are three port values, 8080, 8443 and 8007. I
change them to 9080, 9443 and 9007. But when the other Tomcat (port values
are 8080, 8443, 8007) is started, the one with new port values got error,
which said Address already in use.

The changed server.xml is attached. Thanks for your help!

Bing

-Original Message-
From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 12:44 AM
To: 'Tomcat Users List'
Subject: RE: How to Change Port Number of Tomcat


I'd say that changing the port number in server.xml should definitely do the
trick. Could you post your changed server.xml? We could take a look.

greetings

Andreas Mohrig
Web:   www.cadooz.de

-Original Message-
From: Bing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:39 AM
To: [EMAIL PROTECTED]
Subject: How to Change Port Number of Tomcat


Hi, all,

I am now using Tomcat 3.2.3. I would like to use one PC to simulate two Web
applications. Each of them resides in the same PC but they should have
different port number. I took a try to change the port value in the
server.xml. But it doesn't work. Anyone could do me a favor?

Thanks a lot!
Bing Li

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Change Port Number of Tomcat

2002-09-12 Thread Vincent . Gaboriau

I think that Andreas has right.
The ports of the connectors must be changed, but the shutdown port must also
be changed.
Try this and we'll see.

-Message d'origine-
De : Garling, Matthew [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 12 septembre 2002 11:09
À : 'Tomcat Users List'
Objet : RE: How to Change Port Number of Tomcat


What ever you do, don't start putting tomcat 4 configuration entries in your
server.xml configuration file. The error you say you are getting isn't a
Tomcat problem at all. It sounds as though Tomcat is trying to start on the
new ports you defined BUT they are already in use. That happens when you
have to hard code ports.
I suggest you try a port that is not being used. Try running netstat to see
what ports are being used and code some different ones into your server.xml
file.

Matthew

-Original Message-
From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 11:01 AM
To: 'Tomcat Users List'
Subject: RE: How to Change Port Number of Tomcat


Hi,

I'm afraid I can't reproduce your symptom with my two Tomcat 4.0(.4) on a
single Linux PC. But since I don't have Tomcat 3.2.3 at my disposal, this
may mean nothing.
This may sound silly, but have you double checked that the right instances
of tomcat get started (using the right server.xml)? Can you acces them on
the designated ports when you start them alone? What are the error-messages
exactly?

Another thing I noted is the absence of a port for tomcat shutdown. With
tomcat 4 there is a port configured for this on top of server.xml like this:

Server port=8005 shutdown=SHUTDOWN debug=0
This is a wild guess, but maybe this is giving you trouble?

I'm sorry I can't delve deeper into this.

greetings


Andreas Mohrig

-Original Message-
From: Bing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:57 AM
To: Tomcat Users List
Subject: RE: How to Change Port Number of Tomcat


Hi, Mohrig,

In the Connector part, there are three port values, 8080, 8443 and 8007. I
change them to 9080, 9443 and 9007. But when the other Tomcat (port values
are 8080, 8443, 8007) is started, the one with new port values got error,
which said Address already in use.

The changed server.xml is attached. Thanks for your help!

Bing

-Original Message-
From: Andreas Mohrig [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 12:44 AM
To: 'Tomcat Users List'
Subject: RE: How to Change Port Number of Tomcat


I'd say that changing the port number in server.xml should definitely do the
trick. Could you post your changed server.xml? We could take a look.

greetings

Andreas Mohrig
Web:   www.cadooz.de

-Original Message-
From: Bing Li [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 9:39 AM
To: [EMAIL PROTECTED]
Subject: How to Change Port Number of Tomcat


Hi, all,

I am now using Tomcat 3.2.3. I would like to use one PC to simulate two Web
applications. Each of them resides in the same PC but they should have
different port number. I took a try to change the port value in the
server.xml. But it doesn't work. Anyone could do me a favor?

Thanks a lot!
Bing Li

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Change Port Number of Tomcat

2002-09-12 Thread Drinkwater, GJ (Glen)

From the tomcat 4 RUNNING.txt file, to change the port number it only says
to change 8080 to the number that you want.  It does not mention changing
anything else in the file.

I have changed all my tomcats to 80 on windows, linux and solaris and have
had not problems.  Check netstat, also check ps -eaf for any old tomcat
threads till holding on to the ports, and kill them.

  


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Change Port Number of Tomcat

2002-09-12 Thread Vincent . Gaboriau

That's right, but he wants to run 2 Tomcat simultaneously. That's why all
ports number must be different.

-Message d'origine-
De : Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 12 septembre 2002 13:35
À : 'Tomcat Users List'
Objet : RE: How to Change Port Number of Tomcat


From the tomcat 4 RUNNING.txt file, to change the port number it only says
to change 8080 to the number that you want.  It does not mention changing
anything else in the file.

I have changed all my tomcats to 80 on windows, linux and solaris and have
had not problems.  Check netstat, also check ps -eaf for any old tomcat
threads till holding on to the ports, and kill them.




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Change Port Number of Tomcat

2002-09-12 Thread Drinkwater, GJ (Glen)

I have got 2 running simultaneously.  to have 2 running, on one of the
tomcats you need to change 6 things.

There are 4 connectors.http, https, ajp and test http.

change https port.  change http port and then change redirect port to
whatever https port is. change ajp port and then do the same of the test
http as the normal http.



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Change Port Number of Tomcat

2002-09-12 Thread Turner, John


You only need to change all of these ports if all of those connectors are
enabled.  If you only have the AJP connector enabled, you only have to
change that port, etc.

John


 -Original Message-
 From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 12, 2002 7:51 AM
 To: 'Tomcat Users List'
 Subject: RE: How to Change Port Number of Tomcat
 
 
 I have got 2 running simultaneously.  to have 2 running, on one of the
 tomcats you need to change 6 things.
 
 There are 4 connectors.http, https, ajp and test http.
 
 change https port.  change http port and then change redirect port to
 whatever https port is. change ajp port and then do the same 
 of the test
 http as the normal http.
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: How to Change Port Number of Tomcat

2002-09-12 Thread micael

Why should they have different port number?  That is not necessary.

At 12:38 AM 9/12/2002 -0700, you wrote:
Hi, all,

I am now using Tomcat 3.2.3. I would like to use one PC to simulate two Web
applications. Each of them resides in the same PC but they should have
different port number. I took a try to change the port value in the
server.xml. But it doesn't work. Anyone could do me a favor?

Thanks a lot!
Bing Li



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Change Port Number of Tomcat

2002-09-12 Thread Bing Li

Thanks lot for your all help! I am trying to solve the problem.

Do I need to change relevant environments variables? Such as TOMCAT_HOME ...

Best regards,
Bing

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 5:03 AM
To: 'Tomcat Users List'
Subject: RE: How to Change Port Number of Tomcat



You only need to change all of these ports if all of those connectors are
enabled.  If you only have the AJP connector enabled, you only have to
change that port, etc.

John


 -Original Message-
 From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 12, 2002 7:51 AM
 To: 'Tomcat Users List'
 Subject: RE: How to Change Port Number of Tomcat


 I have got 2 running simultaneously.  to have 2 running, on one of the
 tomcats you need to change 6 things.

 There are 4 connectors.http, https, ajp and test http.

 change https port.  change http port and then change redirect port to
 whatever https port is. change ajp port and then do the same
 of the test
 http as the normal http.



 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: How to Change Port Number of Tomcat

2002-09-12 Thread Turner, John


No.

John


 -Original Message-
 From: Bing Li [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 12, 2002 2:28 PM
 To: Tomcat Users List
 Subject: RE: How to Change Port Number of Tomcat
 
 
 Thanks lot for your all help! I am trying to solve the problem.
 
 Do I need to change relevant environments variables? Such as 
 TOMCAT_HOME ...
 
 Best regards,
 Bing
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 12, 2002 5:03 AM
 To: 'Tomcat Users List'
 Subject: RE: How to Change Port Number of Tomcat
 
 
 
 You only need to change all of these ports if all of those 
 connectors are
 enabled.  If you only have the AJP connector enabled, you only have to
 change that port, etc.
 
 John
 
 
  -Original Message-
  From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, September 12, 2002 7:51 AM
  To: 'Tomcat Users List'
  Subject: RE: How to Change Port Number of Tomcat
 
 
  I have got 2 running simultaneously.  to have 2 running, on 
 one of the
  tomcats you need to change 6 things.
 
  There are 4 connectors.http, https, ajp and test http.
 
  change https port.  change http port and then change 
 redirect port to
  whatever https port is. change ajp port and then do the same
  of the test
  http as the normal http.
 
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




how to use relative path to point to a file which's on the same host, but on a different port number?

2002-07-12 Thread Alvin Wang

Hi! All,

In http path, how to use relative path to point to a file which's on the
same host, but on a different port number? For example I have IIS(80) and
Tomcat(8080) on the same host

thanks!


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: how to use relative path to point to a file which's on the same host, but on a different port number?

2002-07-12 Thread Will Hartung

Well, you'll need to create an absolute path in the reconstructed version.

You can try something like this:

Inside of an HttpServlet...

import java.net.URL;

int otherPort = 80; // or 8080, whatever.
String relativeResource = the/relative/path/to/file.html;
String thisRequestURL = getRequestURL(); // getRequestURL is from
HttpServlet
URL otherPortContextURL = new URL(thisRequestURL);
otherPortContextURL.setPort(otherPort);
URL otherPortFromRelativeURL = new URL(otherPortContextURL,
relativeResource);

Look up java.net.URL in the docs for detail.

Regards,

Will Hartung
([EMAIL PROTECTED])

- Original Message -
From: Alvin Wang [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 3:02 PM
Subject: how to use relative path to point to a file which's on the same
host, but on a different port number?


 Hi! All,

 In http path, how to use relative path to point to a file which's on the
 same host, but on a different port number? For example I have IIS(80) and
 Tomcat(8080) on the same host

 thanks!


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




How can I change outgoing email server port number from default to something else?

2002-05-13 Thread Maya Vayner

Hello,

My outgoing smtp server is using non-default port number to get emails through. It is 
not
25, which is by default set by tomcat. I tried to find the answer but it seems that no
one ever had to use other port number but 25. 
Can anyone suggest a solution?

hostname:2525 did not work when I set it to that in the server.xml mail.smtp.host
resource property.

Thank you. 

Maya Vayner

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: How can I change outgoing email server port number from default to something else?

2002-05-13 Thread Xinji Gu

Is there a mail.smtp.port as in stand alone JavaMail application?

Jim

- Original Message -
From: Maya Vayner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, May 13, 2002 4:06 PM
Subject: How can I change outgoing email server port number from default to
something else?


 Hello,

 My outgoing smtp server is using non-default port number to get emails
through. It is not
 25, which is by default set by tomcat. I tried to find the answer but it
seems that no
 one ever had to use other port number but 25.
 Can anyone suggest a solution?

 hostname:2525 did not work when I set it to that in the server.xml
mail.smtp.host
 resource property.

 Thank you.

 Maya Vayner

 __
 Do You Yahoo!?
 LAUNCH - Your Yahoo! Music Experience
 http://launch.yahoo.com

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: How can I change outgoing email server port number from default to something else?

2002-05-13 Thread Xinji Gu

Or just set mail.smtp.port=newPort into the properties when you create a
session.

Jim

- Original Message -
From: Xinji Gu [EMAIL PROTECTED]
 Is there a mail.smtp.port as in stand alone JavaMail application?

 Jim

 - Original Message -
 From: Maya Vayner [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, May 13, 2002 4:06 PM
 Subject: How can I change outgoing email server port number from default
to
 something else?


  Hello,
 
  My outgoing smtp server is using non-default port number to get emails
 through. It is not
  25, which is by default set by tomcat. I tried to find the answer but it
 seems that no
  one ever had to use other port number but 25.
  Can anyone suggest a solution?
 
  hostname:2525 did not work when I set it to that in the server.xml
 mail.smtp.host
  resource property.
 
  Thank you.
 
  Maya Vayner
 
  __
  Do You Yahoo!?
  LAUNCH - Your Yahoo! Music Experience
  http://launch.yahoo.com
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: How can I change outgoing email server port number from default to something else?

2002-05-13 Thread Maya Vayner

Yes, this works: 
mail.smtp.port
Thank you, Xinji.
Maya
--- Xinji Gu [EMAIL PROTECTED] wrote:
 Is there a mail.smtp.port as in stand alone JavaMail application?
 
 Jim
 
 - Original Message -
 From: Maya Vayner [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, May 13, 2002 4:06 PM
 Subject: How can I change outgoing email server port number from default to
 something else?
 
 
  Hello,
 
  My outgoing smtp server is using non-default port number to get emails
 through. It is not
  25, which is by default set by tomcat. I tried to find the answer but it
 seems that no
  one ever had to use other port number but 25.
  Can anyone suggest a solution?
 
  hostname:2525 did not work when I set it to that in the server.xml
 mail.smtp.host
  resource property.
 
  Thank you.
 
  Maya Vayner
 
  __
  Do You Yahoo!?
  LAUNCH - Your Yahoo! Music Experience
  http://launch.yahoo.com
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat 4.0.1 http to https redirection port number problem

2002-01-03 Thread laitinenj

Hi!

I'm trying to configure my tomcat 4.0.1 standalone to redirect an adress 
http://localhost:8080/some/thing to an address 
https://localhost:8443/some/thing

I've made the proper changes to the server.xml and to the web.xml and 
actually the redirection happens. But when I print out information out 
from the http request it says that the port that is being used is the 
old 8080. I'm using the request's getServerPort() method.

Does anyone have an idea why the port number won't change to the 8443? 
Because of the old port number none of my pictures nor form actions 
work.

Here are the essential parts from my web.xml and server.xml:

web.xml
---
  ...
  security-constraint
web-resource-collection
  web-resource-namesomething/web-resource-name
  url-pattern/*/url-pattern
/web-resource-collection
user-data-constraint
  transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
  /security-constraint
  ...
---

server.xml
---
I uncommented this Connector from the server.xml:
!-- Define an SSL HTTP/1.1 Connector on port 8443 --

Thanks for everyone!


// Janne Laitinen

__
Tämän ilmaisen suomalaisen sähköpostin tarjosi http://www.jippii.fi/
Käy tutustumassa netin parhaaseen pelipaikkaan Pasimaailmaan.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




tomcat inserting port number on sendRedirect to relative URL

2001-11-25 Thread Richard Sand

Hi all- I have Tomcat 3.2.2 and Apache 1.3.14 with mod_jk between them 
on my development machine.  All of the relative redirects in my code 
work fine on my machine, but when I put my application onto my ISP's 
environment (Apache and Tomcat 3.2.3), the relative redirects have the 
port number for Tomcat inserted.  in other words, when I hit 
www.xyz.com/login.jsp and do a login, when I'm redirected after login my 
url is www.xyz.com:8080/welcome.jsp

Since I don't see this behavior on my machine, I'm trying to figure out 
what in their environment is causing this problem.  Is it something in 
Tomcat 3.2.3, or in their mod_jk configuration? The servlet.jar version? 
 The only time I have ever seen this problem was when I was using Tomcat 
3.2 beta 2 last year.

Thanks for any help!

Best regards,

Richard


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: accessing servlets without a port number

2001-09-02 Thread pete

You could also use ipchains or similar to foward requests on port 80 to 
some other port i.e. 8080 to avoid running tomcat as root.

-Pete


Alex,

port 80 is the default port for http, so what you are wanting to do is
have tomcat listen on port 80 instead of 8080.  to do this on a *nix box
you'd need to run tomcat as root (for 3.x anyway - I believe 4.0 has a
wrapper that does this properly), which isn't a good idea.  alternatively,
if you are using apache as well, then you need to configure mod_jk. 

a good place to start is the docs in the distribution - have a look at
mod_jk, or edit server.xml and change 8080 to 80.

cheesr
dim

On Fri, 31 Aug 2001, alex reuter wrote:

Hello List,
I'd like to access my servlets without using the port number, and I've seen
a whole bunch of config files and directives and I was wondering if anyone
could tell me exactly how its done, or point me to some solid documentation.

Oh, and if the answer to this question is staring me in the face, please
feel free to ridicule me.

Thanks,
Alex








accessing servlets without a port number

2001-08-31 Thread alex reuter

Hello List,
I'd like to access my servlets without using the port number, and I've seen
a whole bunch of config files and directives and I was wondering if anyone
could tell me exactly how its done, or point me to some solid documentation.

Oh, and if the answer to this question is staring me in the face, please
feel free to ridicule me.

Thanks,
Alex




Re: accessing servlets without a port number

2001-08-31 Thread David Smith

Web browsers expect and assume the port number of a web server to be 80 if 
it's not specified in the URL.  So just configure Tomcat to work at port 80 
or to work with Apache at port 80 using mod_jk or mod_webapp.  The docs and 
config files that come with Tomcat should be able to help you configure this.

--David Smith

On Friday 31 August 2001 01:04 pm, you wrote:
 Hello List,
 I'd like to access my servlets without using the port number, and I've seen
 a whole bunch of config files and directives and I was wondering if anyone
 could tell me exactly how its done, or point me to some solid
 documentation.

 Oh, and if the answer to this question is staring me in the face, please
 feel free to ridicule me.

 Thanks,
 Alex



Re: accessing servlets without a port number

2001-08-31 Thread Dmitri Colebatch

Alex,

port 80 is the default port for http, so what you are wanting to do is
have tomcat listen on port 80 instead of 8080.  to do this on a *nix box
you'd need to run tomcat as root (for 3.x anyway - I believe 4.0 has a
wrapper that does this properly), which isn't a good idea.  alternatively,
if you are using apache as well, then you need to configure mod_jk. 

a good place to start is the docs in the distribution - have a look at
mod_jk, or edit server.xml and change 8080 to 80.

cheesr
dim

On Fri, 31 Aug 2001, alex reuter wrote:

 Hello List,
 I'd like to access my servlets without using the port number, and I've seen
 a whole bunch of config files and directives and I was wondering if anyone
 could tell me exactly how its done, or point me to some solid documentation.
 
 Oh, and if the answer to this question is staring me in the face, please
 feel free to ridicule me.
 
 Thanks,
 Alex
 
 




Re: Running Tomcat stanalone without the port number?

2001-08-01 Thread BillWorker 2i Development Team

If you are doing this on Linux. You will need to run tomcat as root as
only root is allowed to use ports below 1024. 

I generally prefer to run Tomcat as nobody.

-- 
BillWorker 2i Development Team,
Infocom Solutions Pvt. Ltd.



Running Tomcat stanalone without the port number?

2001-07-30 Thread Tsinwah Lee

Hi, when running Tomcat standalone, the URL will contain the port
number, e.g.: www.hostname.com:8080/myApplication/index.jsp. Does
anybody know how to get rid of the port number when running the Tomcat
in standalone mode? Thank you very much in advance.

T.




Re: Running Tomcat stanalone without the port number?

2001-07-30 Thread Jim Seach

If there is not another application listening on port
80 on that machine, you can change the port value for
the connector in server.xml from 8080 to 80.  That
way, the user won't have to type in the port.

Jim

--- Tsinwah Lee [EMAIL PROTECTED] wrote:
 Hi, when running Tomcat standalone, the URL will
 contain the port
 number, e.g.:
 www.hostname.com:8080/myApplication/index.jsp. Does
 anybody know how to get rid of the port number when
 running the Tomcat
 in standalone mode? Thank you very much in advance.
 
 T.
 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: Running Tomcat stanalone without the port number?

2001-07-30 Thread Tsinwah Lee

Thanks, Jim.

T.

Jim Seach wrote:

 If there is not another application listening on port
 80 on that machine, you can change the port value for
 the connector in server.xml from 8080 to 80.  That
 way, the user won't have to type in the port.

 Jim

 --- Tsinwah Lee [EMAIL PROTECTED] wrote:
  Hi, when running Tomcat standalone, the URL will
  contain the port
  number, e.g.:
  www.hostname.com:8080/myApplication/index.jsp. Does
  anybody know how to get rid of the port number when
  running the Tomcat
  in standalone mode? Thank you very much in advance.
 
  T.
 

 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute with Yahoo! Messenger
 http://phonecard.yahoo.com/




Re: Tomcat/Apache port number use

2001-03-09 Thread Christopher Albert

Hans,

Lets try one more time, assuming there are some configuration
problems. For example, I can replicate the analagous error on
my linux box by commenting out the JkMount lines in my mod_jk.conf file.
So I'll start with a series of diagnostic questions, trying to figure
out what is going wrong.

1. After you restart Tomcat, do you restart Apache?
Whenever the httpd.conf file changes, apache needs to restart,
and thanks to the Include of mod_jk.conf, this latter file is
part of httpd.conf.

2.The apache httpd.conf file is very sensitive to the order
of its arguments and instructions. Make sure the LoadModule and
AddModule lines for mod_jk are in the right place.

3. Try making a copy of your mod_jk.conf and workers.properties
files and put them in you apache-root/conf directory, and configure
these files appropriately, along with httpd.conf for the new paths.
Then restart tomcat, and then restart apache and see what happens.

Chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat/Apache port number use

2001-03-08 Thread Hans Kind

Hi Chris,

We run on a Solaris 2.7 server, with Apache DSO 1.3.14.

The workers.properties file has been updated so that workers.tomcat_home, 
workers.java_home point to the correct location on the server. Changed ps 
to the correct syntax on Unix, ps=/.

Used apxs to install mod_jk from source

Included the following line in httpd.conf file:

Include /opt2/kindserv/tomcat/conf/mod_jk.conf-auto

http://www.kindserver.com:8080/examples/jsp/dates/date.jsp

is working as expected

http://www.kindserver.com/examples/jsp/dates/date.jsp

results in a server error with the following in the mod_jk.log

[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

rgds

Hans

At 15:47 7-3-01 +0100, you wrote:
Hans Kind wrote:
 
  Hi,
 
  We got Apache running on port 80, and Tomcat on port 8080.
 
  Running http://www.kindserver.com:8080 takes me to the Tomcat example page,
  and the JSP and JServ pages work ok.
 
  When I go to
 
  http://www.kindserver.com/examples/servlets/
  http://www.kindserver.com/examples/jsp/
 
  all the examples return a document contains no data error.
 
  How do I setup Apache so that without the need of the port number in the
  url, the JServ and JSP pages are handled bij Tomcat corecty.
 
  I went trough the install instructions, mailing lists and other
  documentation, but couldn't find a slid answe:~(
 
  rgds
 
  Hans Kind
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]

Hans,
You need to get and install the appropriate apache module;
porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
Cant really tell you more without details about you apache, tomcat
versions
and your system.

Chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat/Apache port number use

2001-03-08 Thread Christopher Albert

Hans Kind wrote:

 Hi Chris,

 We run on a Solaris 2.7 server, with Apache DSO 1.3.14.

 The workers.properties file has been updated so that workers.tomcat_home,
 workers.java_home point to the correct location on the server. Changed ps
 to the correct syntax on Unix, ps=/.

 Used apxs to install mod_jk from source

 Included the following line in httpd.conf file:

 Include /opt2/kindserv/tomcat/conf/mod_jk.conf-auto

 http://www.kindserver.com:8080/examples/jsp/dates/date.jsp

 is working as expected

 http://www.kindserver.com/examples/jsp/dates/date.jsp

 results in a server error with the following in the mod_jk.log

 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

 rgds

 Hans

 At 15:47 7-3-01 +0100, you wrote:
 Hans Kind wrote:
  
   Hi,
  
   We got Apache running on port 80, and Tomcat on port 8080.
  
   Running http://www.kindserver.com:8080 takes me to the Tomcat example page,
   and the JSP and JServ pages work ok.
  
   When I go to
  
   http://www.kindserver.com/examples/servlets/
   http://www.kindserver.com/examples/jsp/
  
   all the examples return a document contains no data error.
  
   How do I setup Apache so that without the need of the port number in the
   url, the JServ and JSP pages are handled bij Tomcat corecty.
  
   I went trough the install instructions, mailing lists and other
   documentation, but couldn't find a slid answe:~(
  
   rgds
  
   Hans Kind
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
 
 Hans,
 You need to get and install the appropriate apache module;
 porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
 Cant really tell you more without details about you apache, tomcat
 versions
 and your system.
 
 Chris
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

Hans,

You are getting a connection refused error,
http://www.linuxos.net/docs/solaris/common_err.html#korea146

Since I can get the source files of the jsp dislayed
on your site, it seems like the basic apache config is good;
Do you have some lines like the folloing in "workers.properties"

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12

and like the following in mod_jk.conf

JkMount /*.jsp ajp12
JkMount /servlet/* ajp12

...
JkMount /examples/servlet/* ajp12
JkMount /examples/*.jsp ajp12

Is there some other service running on
the port 8007, or another reason why
you cant connect there?

Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat/Apache port number use

2001-03-08 Thread Hans Kind

Hi Chris,

workers.properties

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12

mod_jk_conf-auto

JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
...
JkMount /examples/servlet/* ajp12
JkMount /examples/*.jsp ajp12

Staring Tomcate generates these file, and httpd.conf include the 
mod_jk_conf-auto file.

There is nothing else running on port 8007.

I'm very very lost:~(

rgds

Hans

At 13:35 8-3-01 +0100, you wrote:
Hans Kind wrote:

  Hi Chris,
 
  We run on a Solaris 2.7 server, with Apache DSO 1.3.14.
 
  The workers.properties file has been updated so that workers.tomcat_home,
  workers.java_home point to the correct location on the server. Changed ps
  to the correct syntax on Unix, ps=/.
 
  Used apxs to install mod_jk from source
 
  Included the following line in httpd.conf file:
 
  Include /opt2/kindserv/tomcat/conf/mod_jk.conf-auto
 
  http://www.kindserver.com:8080/examples/jsp/dates/date.jsp
 
  is working as expected
 
  http://www.kindserver.com/examples/jsp/dates/date.jsp
 
  results in a server error with the following in the mod_jk.log
 
  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
  [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 
  rgds
 
  Hans
 
  At 15:47 7-3-01 +0100, you wrote:
  Hans Kind wrote:
   
Hi,
   
We got Apache running on port 80, and Tomcat on port 8080.
   
Running http://www.kindserver.com:8080 takes me to the Tomcat 
 example page,
and the JSP and JServ pages work ok.
   
When I go to
   
http://www.kindserver.com/examples/servlets/
http://www.kindserver.com/examples/jsp/
   
all the examples return a document contains no data error.
   
How do I setup Apache so that without the need of the port number 
 in the
url, the JServ and JSP pages are handled bij Tomcat corecty.
   
I went trough the install instructions, mailing lists and other
documentation, but couldn't find a slid answe:~(
   
rgds
   
Hans Kind
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
  
  Hans,
  You need to get and install the appropriate apache module;
  porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
  Cant really tell you more without details about you apache, tomcat
  versions
  and your system.
  
  Chris
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]

Hans,

You are getting a connection refused error,
http://www.linuxos.net/docs/solaris/common_err.html#korea146

Since I can get the source files of the jsp dislayed
on your site, it seems like the basic apache config is good;
Do you have some lines like the folloing in "workers.properties"

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12

and like the following in mod_jk.conf

JkMount /*.jsp ajp12
JkMount /servlet/* ajp12

...
JkMount /examples/servlet/* ajp12
JkMount /examples/*.jsp ajp12

Is there some other service running on
the port 8007, or another reason why
you cant connect there?

Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat/Apache port number use

2001-03-08 Thread Christopher Albert

Hans,
I'm running out of ideas too.
One last: does your server.xml file contain the lines

 !-- Apache AJP12 support. This is also used to shut down tomcat.
  --
Connector
className="org.apache.tomcat.service.PoolTcpConnector"
Parameter name="handler"
  
value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/
Parameter name="port" value="8007"/
/Connector 

Chris




Hans Kind wrote:
 
 Hi Chris,
 
 workers.properties
 
 worker.ajp12.port=8007
 worker.ajp12.host=localhost
 worker.ajp12.type=ajp12
 
 mod_jk_conf-auto
 
 JkMount /*.jsp ajp12
 JkMount /servlet/* ajp12
 ...
 JkMount /examples/servlet/* ajp12
 JkMount /examples/*.jsp ajp12
 
 Staring Tomcate generates these file, and httpd.conf include the
 mod_jk_conf-auto file.
 
 There is nothing else running on port 8007.
 
 I'm very very lost:~(
 
 rgds
 
 Hans
 
 At 13:35 8-3-01 +0100, you wrote:
 Hans Kind wrote:
 
   Hi Chris,
  
   We run on a Solaris 2.7 server, with Apache DSO 1.3.14.
  
   The workers.properties file has been updated so that workers.tomcat_home,
   workers.java_home point to the correct location on the server. Changed ps
   to the correct syntax on Unix, ps=/.
  
   Used apxs to install mod_jk from source
  
   Included the following line in httpd.conf file:
  
   Include /opt2/kindserv/tomcat/conf/mod_jk.conf-auto
  
   http://www.kindserver.com:8080/examples/jsp/dates/date.jsp
  
   is working as expected
  
   http://www.kindserver.com/examples/jsp/dates/date.jsp
  
   results in a server error with the following in the mod_jk.log
  
   [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
   [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
  
   rgds
  
   Hans
  
   At 15:47 7-3-01 +0100, you wrote:
   Hans Kind wrote:

 Hi,

 We got Apache running on port 80, and Tomcat on port 8080.

 Running http://www.kindserver.com:8080 takes me to the Tomcat
  example page,
 and the JSP and JServ pages work ok.

 When I go to

 http://www.kindserver.com/examples/servlets/
 http://www.kindserver.com/examples/jsp/

 all the examples return a document contains no data error.

 How do I setup Apache so that without the need of the port number
  in the
 url, the JServ and JSP pages are handled bij Tomcat corecty.

 I went trough the install instructions, mailing lists and other
 documentation, but couldn't find a slid answe:~(

 rgds

 Hans Kind

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
   
   Hans,
   You need to get and install the appropriate apache module;
   porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
   Cant really tell you more without details about you apache, tomcat
   versions
   and your system.
   
   Chris
   
   
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
 
 Hans,
 
 You are getting a connection refused error,
 http://www.linuxos.net/docs/solaris/common_err.html#korea146
 
 Since I can get the source files of the jsp dislayed
 on your site, it seems like the basic apache config is good;
 Do you have some lines like the folloing in "workers.properties"
 
 worker.ajp12.port=8007
 worker.ajp12.host=localhost
 worker.ajp12.type=ajp12
 
 and like the following in mod_jk.conf
 
 JkMount /*.jsp ajp12
 JkMount /servlet/* ajp12
 
 ...
 JkMount /examples/servlet/* ajp12
 JkMount /examples/*.jsp ajp12
 
 Is there some other service running on
 the port 8007, or another reason why
 you cant connect there?
 
 Chris
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat/Apache port number use

2001-03-08 Thread Hans Kind

Hi Chris,

Yes it does:~(

rgds

hans

At 14:48 8-3-01 +0100, you wrote:
Hans,
I'm running out of ideas too.
One last: does your server.xml file contain the lines

  !-- Apache AJP12 support. This is also used to shut down tomcat.
   --
 Connector
className="org.apache.tomcat.service.PoolTcpConnector"
 Parameter name="handler"

value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/
 Parameter name="port" value="8007"/
 /Connector

Chris




Hans Kind wrote:
 
  Hi Chris,
 
  workers.properties
 
  worker.ajp12.port=8007
  worker.ajp12.host=localhost
  worker.ajp12.type=ajp12
 
  mod_jk_conf-auto
 
  JkMount /*.jsp ajp12
  JkMount /servlet/* ajp12
  ...
  JkMount /examples/servlet/* ajp12
  JkMount /examples/*.jsp ajp12
 
  Staring Tomcate generates these file, and httpd.conf include the
  mod_jk_conf-auto file.
 
  There is nothing else running on port 8007.
 
  I'm very very lost:~(
 
  rgds
 
  Hans
 
  At 13:35 8-3-01 +0100, you wrote:
  Hans Kind wrote:
  
Hi Chris,
   
We run on a Solaris 2.7 server, with Apache DSO 1.3.14.
   
The workers.properties file has been updated so that 
 workers.tomcat_home,
workers.java_home point to the correct location on the server. 
 Changed ps
to the correct syntax on Unix, ps=/.
   
Used apxs to install mod_jk from source
   
Included the following line in httpd.conf file:
   
Include /opt2/kindserv/tomcat/conf/mod_jk.conf-auto
   
http://www.kindserver.com:8080/examples/jsp/dates/date.jsp
   
is working as expected
   
http://www.kindserver.com/examples/jsp/dates/date.jsp
   
results in a server error with the following in the mod_jk.log
   
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
   
rgds
   
Hans
   
At 15:47 7-3-01 +0100, you wrote:
Hans Kind wrote:
 
  Hi,
 
  We got Apache running on port 80, and Tomcat on port 8080.
 
  Running http://www.kindserver.com:8080 takes me to the Tomcat
   example page,
  and the JSP and JServ pages work ok.
 
  When I go to
 
  http://www.kindserver.com/examples/servlets/
  http://www.kindserver.com/examples/jsp/
 
  all the examples return a document contains no data error.
 
  How do I setup Apache so that without the need of the port number
   in the
  url, the JServ and JSP pages are handled bij Tomcat corecty.
 
  I went trough the install instructions, mailing lists and other
  documentation, but couldn't find a slid answe:~(
 
  rgds
 
  Hans Kind
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]

Hans,
You need to get and install the appropriate apache module;
porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
Cant really tell you more without details about you apache, tomcat
versions
and your system.

Chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
  
  Hans,
  
  You are getting a connection refused error,
  http://www.linuxos.net/docs/solaris/common_err.html#korea146
  
  Since I can get the source files of the jsp dislayed
  on your site, it seems like the basic apache config is good;
  Do you have some lines like the folloing in "workers.properties"
  
  worker.ajp12.port=8007
  worker.ajp12.host=localhost
  worker.ajp12.type=ajp12
  
  and like the following in mod_jk.conf
  
  JkMount /*.jsp ajp12
  JkMount /servlet/* ajp12
  
  ...
  JkMount /examples/servlet/* ajp12
  JkMount /examples/*.jsp ajp12
  
  Is there some other service running on
  the port 8007, or another reason why
  you cant connect there?
  
  Chris
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat/Apache port number use

2001-03-08 Thread Christopher Albert

Well Hans,
I tried to ask all the simple, obvious questions.
TOmcat is working fine(8080), Apache is working fine
and seems properly configured. I can't give you any
other advice but to go back, get the src for mod_jk
and recompile and install it (using apxs if you can)
with the right solaris parameters. There have been some
postings on this list for those.
Good luck,
Chris
 



Hans Kind wrote:
 
 Hi Chris,
 
 Yes it does:~(
 
 rgds
 
 hans
 
 At 14:48 8-3-01 +0100, you wrote:
 Hans,
 I'm running out of ideas too.
 One last: does your server.xml file contain the lines
 
   !-- Apache AJP12 support. This is also used to shut down tomcat.
--
  Connector
 className="org.apache.tomcat.service.PoolTcpConnector"
  Parameter name="handler"
 
 value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/
  Parameter name="port" value="8007"/
  /Connector
 
 Chris
 
 
 
 
 Hans Kind wrote:
  
   Hi Chris,
  
   workers.properties
  
   worker.ajp12.port=8007
   worker.ajp12.host=localhost
   worker.ajp12.type=ajp12
  
   mod_jk_conf-auto
  
   JkMount /*.jsp ajp12
   JkMount /servlet/* ajp12
   ...
   JkMount /examples/servlet/* ajp12
   JkMount /examples/*.jsp ajp12
  
   Staring Tomcate generates these file, and httpd.conf include the
   mod_jk_conf-auto file.
  
   There is nothing else running on port 8007.
  
   I'm very very lost:~(
  
   rgds
  
   Hans
  
   At 13:35 8-3-01 +0100, you wrote:
   Hans Kind wrote:
   
 Hi Chris,

 We run on a Solaris 2.7 server, with Apache DSO 1.3.14.

 The workers.properties file has been updated so that
  workers.tomcat_home,
 workers.java_home point to the correct location on the server.
  Changed ps
 to the correct syntax on Unix, ps=/.

 Used apxs to install mod_jk from source

 Included the following line in httpd.conf file:

 Include /opt2/kindserv/tomcat/conf/mod_jk.conf-auto

 http://www.kindserver.com:8080/examples/jsp/dates/date.jsp

 is working as expected

 http://www.kindserver.com/examples/jsp/dates/date.jsp

 results in a server error with the following in the mod_jk.log

 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

 rgds

 Hans

 At 15:47 7-3-01 +0100, you wrote:
 Hans Kind wrote:
  
   Hi,
  
   We got Apache running on port 80, and Tomcat on port 8080.
  
   Running http://www.kindserver.com:8080 takes me to the Tomcat
example page,
   and the JSP and JServ pages work ok.
  
   When I go to
  
   http://www.kindserver.com/examples/servlets/
   http://www.kindserver.com/examples/jsp/
  
   all the examples return a document contains no data error.
  
   How do I setup Apache so that without the need of the port number
in the
   url, the JServ and JSP pages are handled bij Tomcat corecty.
  
   I went trough the install instructions, mailing lists and other
   documentation, but couldn't find a slid answe:~(
  
   rgds
  
   Hans Kind
  
  
  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
 
 Hans,
 You need to get and install the appropriate apache module;
 porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
 Cant really tell you more without details about you apache, tomcat
 versions
 and your system.
 
 Chris
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
   
   Hans,
   
   You are getting a connection refused error,
   http://www.linuxos.net/docs/solaris/common_err.html#korea146
   
   Since I can get the source files of the jsp dislayed
   on your site, it seems like the basic apache config is good;
   Do you have some lines like the folloing in "workers.properties"
   
   worker.ajp12.port=8007
   worker.ajp12.host=localhost
   worker.ajp12.type=ajp12
   
   and like the following in mod_jk.conf
   
   JkMount /*.jsp ajp12
   JkMount /servlet/* ajp12
   
   ...
   JkMount /examples/servlet/* ajp12
   JkMount /examples/*.jsp ajp12
   
   Is there some other service running on
   the port 8007, or another reason why
   you cant connect there?
   
   Chris
   
   
   
   -
   To unsubscribe, e-mail: [EMAIL PR

Re: Tomcat/Apache port number use

2001-03-08 Thread Hans Kind

This is what I had to use to get mod_jk installed. Based on the information 
found in this mailing list:

apxs -o mod_jk.so -lposix4 -DSOLARIS -I../jk -I/usr/java/include 
-I/usr/java/include/solaris -c *.c ../jk/*.c

The one mentioned in the documentation, returns a error when you start 
Apache/Tomcat

Maybe someone else might have some experience with this on Solaris 2.7

Thanks for the help:~)

rgds

Hans

At 16:49 8-3-01 +0100, you wrote:
Well Hans,
I tried to ask all the simple, obvious questions.
TOmcat is working fine(8080), Apache is working fine
and seems properly configured. I can't give you any
other advice but to go back, get the src for mod_jk
and recompile and install it (using apxs if you can)
with the right solaris parameters. There have been some
postings on this list for those.
Good luck,
Chris




Hans Kind wrote:
 
  Hi Chris,
 
  Yes it does:~(
 
  rgds
 
  hans
 
  At 14:48 8-3-01 +0100, you wrote:
  Hans,
  I'm running out of ideas too.
  One last: does your server.xml file contain the lines
  
!-- Apache AJP12 support. This is also used to shut down tomcat.
 --
   Connector
  className="org.apache.tomcat.service.PoolTcpConnector"
   Parameter name="handler"
  
  value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/
   Parameter name="port" value="8007"/
   /Connector
  
  Chris
  
  
  
  
  Hans Kind wrote:
   
Hi Chris,
   
workers.properties
   
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
   
mod_jk_conf-auto
   
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12
...
JkMount /examples/servlet/* ajp12
JkMount /examples/*.jsp ajp12
   
Staring Tomcate generates these file, and httpd.conf include the
mod_jk_conf-auto file.
   
There is nothing else running on port 8007.
   
I'm very very lost:~(
   
rgds
   
Hans
   
At 13:35 8-3-01 +0100, you wrote:
Hans Kind wrote:

  Hi Chris,
 
  We run on a Solaris 2.7 server, with Apache DSO 1.3.14.
 
  The workers.properties file has been updated so that
   workers.tomcat_home,
  workers.java_home point to the correct location on the server.
   Changed ps
  to the correct syntax on Unix, ps=/.
 
  Used apxs to install mod_jk from source
 
  Included the following line in httpd.conf file:
 
  Include /opt2/kindserv/tomcat/conf/mod_jk.conf-auto
 
  http://www.kindserver.com:8080/examples/jsp/dates/date.jsp
 
  is working as expected
 
  http://www.kindserver.com/examples/jsp/dates/date.jsp
 
  results in a server error with the following in the mod_jk.log
 
  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
  [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 
  rgds
 
  Hans
 
  At 15:47 7-3-01 +0100, you wrote:
  Hans Kind wrote:
   
Hi,
   
We got Apache running on port 80, and Tomcat on port 8080.
   
Running http://www.kindserver.com:8080 takes me to the Tomcat
 example page,
and the JSP and JServ pages work ok.
   
When I go to
   
http://www.kindserver.com/examples/servlets/
http://www.kindserver.com/examples/jsp/
   
all the examples return a document contains no data error.
   
How do I setup Apache so that without the need of the port 
 number
 in the
url, the JServ and JSP pages are handled bij Tomcat corecty.
   
I went trough the install instructions, mailing lists and other
documentation, but couldn't find a slid answe:~(
   
rgds
   
Hans Kind
   
   
   -
To unsubscribe, e-mail: 
 [EMAIL PROTECTED]
For additional commands, email: 
 [EMAIL PROTECTED]
  
  Hans,
  You need to get and install the appropriate apache module;
  porbably mod_jk . There are Mod_jk faqs available on the 
 jakarta site.
  Cant really tell you more without details about you apache, tomcat
  versions
  and your system.
  
  Chris
  
  
  --- 
 --
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: 
 [EMAIL PROTECTED]
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]

Hans,

You are getting a connection refused error,
http://www.linuxos.net/docs/solaris/common_err.html#korea146

Since I can get the source files of the jsp dislayed
on your site, it seems like the basic apache config is good;
Do you have s

RE: Tomcat/Apache port number use

2001-03-08 Thread Parayali, Jayesh 1065
Title: RE: Tomcat/Apache port number use





Looks like you missed out LoadModule and JkWorkerFile


LoadModule jk_module modules/mod_jk.so
JkWorkersFile /http/apps/tomcat/conf/workers.properties
JkLogFile /http/apps/apache/logs/mod_jk.log
JkLogLevel error
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12


-Original Message-
From: Christopher Albert [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 7:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat/Apache port number use


Well Hans,
I tried to ask all the simple, obvious questions.
TOmcat is working fine(8080), Apache is working fine
and seems properly configured. I can't give you any
other advice but to go back, get the src for mod_jk
and recompile and install it (using apxs if you can)
with the right solaris parameters. There have been some
postings on this list for those.
Good luck,
Chris





Hans Kind wrote:
 
 Hi Chris,
 
 Yes it does:~(
 
 rgds
 
 hans
 
 At 14:48 8-3-01 +0100, you wrote:
 Hans,
 I'm running out of ideas too.
 One last: does your server.xml file contain the lines
 
  !-- Apache AJP12 support. This is also used to shut down tomcat.
  --
  Connector
 className=org.apache.tomcat.service.PoolTcpConnector
  Parameter name=handler
 
 value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/
  Parameter name=port value=8007/
  /Connector
 
 Chris
 
 
 
 
 Hans Kind wrote:
  
   Hi Chris,
  
   workers.properties
  
   worker.ajp12.port=8007
   worker.ajp12.host=localhost
   worker.ajp12.type=ajp12
  
   mod_jk_conf-auto
  
   JkMount /*.jsp ajp12
   JkMount /servlet/* ajp12
   ...
   JkMount /examples/servlet/* ajp12
   JkMount /examples/*.jsp ajp12
  
   Staring Tomcate generates these file, and httpd.conf include the
   mod_jk_conf-auto file.
  
   There is nothing else running on port 8007.
  
   I'm very very lost:~(
  
   rgds
  
   Hans
  
   At 13:35 8-3-01 +0100, you wrote:
   Hans Kind wrote:
   
 Hi Chris,

 We run on a Solaris 2.7 server, with Apache DSO 1.3.14.

 The workers.properties file has been updated so that
  workers.tomcat_home,
 workers.java_home point to the correct location on the server.
  Changed ps
 to the correct syntax on Unix, ps=/.

 Used apxs to install mod_jk from source

 Included the following line in httpd.conf file:

 Include /opt2/kindserv/tomcat/conf/mod_jk.conf-auto

 http://www.kindserver.com:8080/examples/jsp/dates/date.jsp

 is working as expected

 http://www.kindserver.com/examples/jsp/dates/date.jsp

 results in a server error with the following in the mod_jk.log

 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

 rgds

 Hans

 At 15:47 7-3-01 +0100, you wrote:
 Hans Kind wrote:
  
   Hi,
  
   We got Apache running on port 80, and Tomcat on port 8080.
  
   Running http://www.kindserver.com:8080 takes me to the Tomcat
example page,
   and the JSP and JServ pages work ok.
  
   When I go to
  
   http://www.kindserver.com/examples/servlets/
   http://www.kindserver.com/examples/jsp/
  
   all the examples return a document contains no data error.
  
   How do I setup Apache so that without the need of the port number
in the
   url, the JServ and JSP pages are handled bij Tomcat corecty.
  
   I went trough the install instructions, mailing lists and other
   documentation, but couldn't find a slid answe:~(
  
   rgds
  
   Hans Kind
  
  
  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
 
 Hans,
 You need to get and install the appropriate apache module;
 porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
 Cant really tell you more without details about you apache, tomcat
 versions
 and your system.
 
 Chris
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
   
   Hans,
   
   You are getting a connection refused error,
   http://www.linuxos.net/docs/solaris/common_err.html#korea146
   
   Since I can get the source files of the jsp dislayed
   on your site, it seems like the basic apache config is good;
   Do you have some lines like the folloing in workers.properties
   
   worker.ajp12.port=8007
   worker.ajp12.host=localhost
   worker.ajp12.type=ajp12
   
   and like the following in mod_jk.conf
   
   JkMount /*.jsp ajp12
   JkMount /servlet/* ajp12

RE: Tomcat/Apache port number use

2001-03-08 Thread Hans Kind

Hi Parayali
,

Nope, these commands are present in the mod_jk_conf-auto file, generated
when Tomcat is started. The file is called from the httpd.conf file, and
is loaded.

rgds

Hans

At 09:04 8-3-01 -0800, you wrote:

Looks
like you missed out LoadModule and JkWorkerFile 

LoadModule jk_module
modules/mod_jk.so 
JkWorkersFile
/http/apps/tomcat/conf/workers.properties 
JkLogFile
/http/apps/apache/logs/mod_jk.log 
JkLogLevel error 
JkMount /*.jsp ajp12 
JkMount /servlet/* ajp12 

-Original Message- 
From:  Christopher Albert
[SMTP:[EMAIL PROTECTED]] 
Sent:  Thursday, March 08, 2001 7:50
AM 
To: 
[EMAIL PROTECTED] 
Subject:  Re:
Tomcat/Apache port number use 


Well Hans, 
I tried to ask all the simple, obvious questions. 
TOmcat is working fine(8080), Apache is working fine

and seems properly configured. I can't give you any 

other advice but to go back, get the src for mod_jk 

and recompile and install it (using apxs if you can)

with the right solaris parameters. There have been some

postings on this list for those. 
Good luck, 
Chris 
 




Hans Kind wrote: 
 
 Hi Chris, 
 
 Yes it does:~( 
 
 rgds 
 
 hans 
 
 At 14:48 8-3-01 +0100, you wrote: 
 Hans, 
 I'm running out of ideas too. 
 One last: does your server.xml file contain the lines

  
  !-- Apache AJP12 support. This is also used to shut
down tomcat. 
 
-- 
 
Connector 

className=org.apache.tomcat.service.PoolTcpConnector



Parameter name=handler 
  

value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/



Parameter name=port value=8007/

 
/Connector 
  
 Chris 
  
  
  
  
 Hans Kind wrote: 
   
   Hi Chris, 
   
   workers.properties 
   
   worker.ajp12.port=8007 
   worker.ajp12.host=localhost 
   worker.ajp12.type=ajp12 
   
   mod_jk_conf-auto 
   
   JkMount /*.jsp ajp12 
   JkMount /servlet/* ajp12 
   ... 
   JkMount /examples/servlet/* ajp12 
   JkMount /examples/*.jsp ajp12 
   
   Staring Tomcate generates these file, and httpd.conf
include the 
   mod_jk_conf-auto file. 
   
   There is nothing else running on port 8007.

   
   I'm very very lost:~( 
   
   rgds 
   
   Hans 
   
   At 13:35 8-3-01 +0100, you wrote: 
   Hans Kind wrote: 

 Hi Chris, 
 
 We run on a Solaris 2.7 server, with Apache DSO
1.3.14. 
 
 The workers.properties file has been updated so
that 
  workers.tomcat_home, 
 workers.java_home point to the correct location
on the server. 
  Changed ps 
 to the correct syntax on Unix, ps=/.

 
 Used apxs to install mod_jk from source

 
 Included the following line in httpd.conf
file: 
 
 Include
/opt2/kindserv/tomcat/conf/mod_jk.conf-auto 
 

http://www.kindserver.com:8080/examples/jsp/dates/date.jsp

 
 is working as expected 
 
 http://www.kindserver.com/examples/jsp/dates/date.jsp 
 
 results in a server error with the following in the mod_jk.log 
 
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146 
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 
 
 rgds 
 
 Hans 
 
 At 15:47 7-3-01 +0100, you wrote: 
 Hans Kind wrote: 
   
   Hi, 
   
   We got Apache running on port 80, and Tomcat on port 8080. 
   
   Running http://www.kindserver.com:8080 takes me to the Tomcat 
example page, 
   and the JSP and JServ pages work ok. 
   
   When I go to 
   
   http://www.kindserver.com/examples/servlets/ 
   http://www.kindserver.com/examples/jsp/ 
   
   all the examples return a document contains no data error. 
   
   How do I setup Apache so that without the need of the port number 
in the 
   url, the JServ and JSP pages are handled bij Tomcat corecty. 
   
   I went trough the install instructions, mailing lists and other 
   documentation, but couldn't find a slid answe:~( 
   
   rgds 
   
   Hans Kind 
   
   
  - 
   To unsubscribe, e-mail: [EMAIL PROTECTED] 
   For additional commands, email: [EMAIL PROTECTED] 
  
 Hans, 
 You need to get and install the appropriate apache module; 
 porbably mod_jk . There are Mod_jk faqs available on the jakarta site. 
 Cant really tell you more without details about you apache, tomcat 
 versions 
 and your system. 
  
 Chris 
  
  
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, email: [EMAIL PROTECTED] 
 
 - 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, email: [EMAIL PROTECTED] 

   Hans, 

   You are getting a connection refused error, 
   http://www.linuxos.net/docs/solaris/common_err.html#korea146 

   Since I can get the source

Tomcat/Apache port number sue

2001-03-07 Thread Hans Kind

Hi,

We got Apache running on port 80, and Tomcat on port 8080.

Running http://www.kindserver.com:8080 takes me to the Tomcat example page, 
and the JSP and JServ pages work ok.

When I go to

http://www.kindserver.com/examples/servlets/
http://www.kindserver.com/examples/jsp/

all the examples return a document contains no data error.

How do I setup Apache so that without the need of the port number in the 
url, the JServ and JSP pages are handled bij Tomcat corecty.

I went trough the install instructions, mailing lists and other 
documentation, but couldn't find a slid answe:~(

rgds

Hans Kind


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat/Apache port number sue

2001-03-07 Thread Christopher Albert

Hans Kind wrote:
 
 Hi,
 
 We got Apache running on port 80, and Tomcat on port 8080.
 
 Running http://www.kindserver.com:8080 takes me to the Tomcat example page,
 and the JSP and JServ pages work ok.
 
 When I go to
 
 http://www.kindserver.com/examples/servlets/
 http://www.kindserver.com/examples/jsp/
 
 all the examples return a document contains no data error.
 
 How do I setup Apache so that without the need of the port number in the
 url, the JServ and JSP pages are handled bij Tomcat corecty.
 
 I went trough the install instructions, mailing lists and other
 documentation, but couldn't find a slid answe:~(
 
 rgds
 
 Hans Kind
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

Hans,
You need to get and install the appropriate apache module;
porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
Cant really tell you more without details about you apache, tomcat
versions
and your system.

Chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat/Apache port number sue

2001-03-07 Thread Hans Kind

Hi Chris,

mod_jk is installed, it's working with the port 8080 in the URL, see the 
urls I provided. All is according to the install instructions.

I spent hours and hours digging trough the documentation, and mailing list, 
can't find the answer. It might sound stupid, but I'm unable to make any 
sence of the documentation regarding this.

rgds

Hans

At 15:47 7-3-01 +0100, you wrote:
Hans Kind wrote:
 
  Hi,
 
  We got Apache running on port 80, and Tomcat on port 8080.
 
  Running http://www.kindserver.com:8080 takes me to the Tomcat example page,
  and the JSP and JServ pages work ok.
 
  When I go to
 
  http://www.kindserver.com/examples/servlets/
  http://www.kindserver.com/examples/jsp/
 
  all the examples return a document contains no data error.
 
  How do I setup Apache so that without the need of the port number in the
  url, the JServ and JSP pages are handled bij Tomcat corecty.
 
  I went trough the install instructions, mailing lists and other
  documentation, but couldn't find a slid answe:~(
 
  rgds
 
  Hans Kind
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]

Hans,
You need to get and install the appropriate apache module;
porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
Cant really tell you more without details about you apache, tomcat
versions
and your system.

Chris


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Tomcat/Apache port number sue

2001-03-07 Thread Christopher Albert

Hans,

Normally port 8080 is for tomcat's own web server.
So when I connect to http://www.kindserver.com:8080,
I get tomcat's default home page from the tomcat 
web server. Mod_jk works with apache on port 80.

First what do your mod_jk.log and tomcat.log and apache error.log
files say?
Next we need to see the relevant parts of you mod_jk.conf and
workers.properties files.
WHat kind of system are you running on?

Chris




Hans Kind wrote:
 
 Hi Chris,
 
 mod_jk is installed, it's working with the port 8080 in the URL, see the
 urls I provided. All is according to the install instructions.
 
 I spent hours and hours digging trough the documentation, and mailing list,
 can't find the answer. It might sound stupid, but I'm unable to make any
 sence of the documentation regarding this.
 
 rgds
 
 Hans
 
 At 15:47 7-3-01 +0100, you wrote:
 Hans Kind wrote:
  
   Hi,
  
   We got Apache running on port 80, and Tomcat on port 8080.
  
   Running http://www.kindserver.com:8080 takes me to the Tomcat example page,
   and the JSP and JServ pages work ok.
  
   When I go to
  
   http://www.kindserver.com/examples/servlets/
   http://www.kindserver.com/examples/jsp/
  
   all the examples return a document contains no data error.
  
   How do I setup Apache so that without the need of the port number in the
   url, the JServ and JSP pages are handled bij Tomcat corecty.
  
   I went trough the install instructions, mailing lists and other
   documentation, but couldn't find a slid answe:~(
  
   rgds
  
   Hans Kind
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
 
 Hans,
 You need to get and install the appropriate apache module;
 porbably mod_jk . There are Mod_jk faqs available on the jakarta site.
 Cant really tell you more without details about you apache, tomcat
 versions
 and your system.
 
 Chris
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




why must I add the port number

2001-01-04 Thread Birte Glimm

Hi, I have installed tomcat as a standalone webserver on Win 2000. 
To get a page or a servlet I have to type e.g. 
http://localhost:8080/examples/servlet/helloWorldExample
but why must I include the port? Isn`t it the standard http port as in all other 
webservers? If the port number is missing I get "Cannot find server" and "The page 
cannot be displayed"

Thanks

Birte Glimm


RE: why must I add the port number

2001-01-04 Thread Randy Layman


The standard http port number is 80.  If you want
http://localhost/examples to work then edit your server.xml file and
change 8080 to 80.

Randy


-Original Message-
From: Birte Glimm [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 9:49 AM
To: [EMAIL PROTECTED]
Subject: why must I add the port number


Hi, I have installed tomcat as a standalone webserver on Win 2000. 
To get a page or a servlet I have to type e.g.
http://localhost:8080/examples/servlet/helloWorldExample
but why must I include the port? Isn`t it the standard http port as in all
other webservers? If the port number is missing I get "Cannot find server"
and "The page cannot be displayed"

Thanks

Birte Glimm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: why must I add the port number

2001-01-04 Thread Trevor Little

You don't have to use 8080.  Change the configuration in server.xml from
8080 to 80, then you won't have to include the port number.


Birte Glimm wrote:
 
 Hi, I have installed tomcat as a standalone webserver on Win 2000.
 To get a page or a servlet I have to type e.g. 
http://localhost:8080/examples/servlet/helloWorldExample
 but why must I include the port? Isn`t it the standard http port as in all other 
webservers? If the port number is missing I get "Cannot find server" and "The page 
cannot be displayed"
 
 Thanks
 
 Birte Glimm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: why must I add the port number

2001-01-04 Thread G.Nagarajan

The port number can be changed in the tomcat_home/conf/server.xml file.
The element to be modified is
Connector className="org.apache.tomcat.service.PoolTcpConnector"

This could be because if tomcat is used as a container for servlets with
another
web server like apache or IIS, there would a contention for the  80 port
number.

Regards,
Nagaraj.


-Original Message-
From: Birte Glimm [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 3:49 PM
To: [EMAIL PROTECTED]
Subject: why must I add the port number


Hi, I have installed tomcat as a standalone webserver on Win 2000.
To get a page or a servlet I have to type e.g.
http://localhost:8080/examples/servlet/helloWorldExample
but why must I include the port? Isn`t it the standard http port as in all
other webservers? If the port number is missing I get "Cannot find server"
and "The page cannot be displayed"

Thanks

Birte Glimm


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: why must I add the port number

2001-01-04 Thread Kitching Simon

If you don't specify a port when you type the url into a web browser,
most (all?) web browsers default to port 80.

The problem with having tomcat run on port 80 "out of the box" is that:

(a) you might be installing tomcat on a machine that already has a web
server
running on the standard port. In this case, someone installing and running
tomcat
to do some experiments might prevent the previously installed webserver from
running.
This is only a minor problem for Windows PCs, but is a serious issue for
multi-user
systems like big HPUX or Solaris systems, as many people can be working on
the
machine at the same time, and there can be "production" systems running on
the
same computer people are doing development on.

(b) for security, UNIX-based machines only allow user "root" (the system
administrator)
to access port numbers below 1024. If tomcat tried to run on port 80 "out of
the box" then
it would fail to start on any unix system. Windows doesn't have much
security, so doesn't
bother with this restriction.

Therefore, tomcat's default configuration (server.xml) specifies port
"8080". 

If you want to change this, and situations (a) and (b) above do not apply to
you, 
just edit the $TOMCAT_HOME/conf/server.xml file and set the port to "80".
See the standard documentation for more information.


 -Original Message-
 From: Birte Glimm [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, January 04, 2001 3:49 PM
 To:   [EMAIL PROTECTED]
 Subject:  why must I add the port number
 
 Hi, I have installed tomcat as a standalone webserver on Win 2000. 
 To get a page or a servlet I have to type e.g.
 http://localhost:8080/examples/servlet/helloWorldExample
 but why must I include the port? Isn`t it the standard http port as in all
 other webservers? If the port number is missing I get "Cannot find server"
 and "The page cannot be displayed"
 
 Thanks
 
 Birte Glimm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: why must I add the port number

2001-01-04 Thread Birte Glimm

Thanks,
stupid from me and now it works fine...

-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 4. Januar 2001 15:18
To: '[EMAIL PROTECTED]'
Subject: RE: why must I add the port number



The standard http port number is 80.  If you want
http://localhost/examples to work then edit your server.xml file and
change 8080 to 80.

Randy


-Original Message-
From: Birte Glimm [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 04, 2001 9:49 AM
To: [EMAIL PROTECTED]
Subject: why must I add the port number


Hi, I have installed tomcat as a standalone webserver on Win 2000. 
To get a page or a servlet I have to type e.g.
http://localhost:8080/examples/servlet/helloWorldExample
but why must I include the port? Isn`t it the standard http port as in all
other webservers? If the port number is missing I get "Cannot find server"
and "The page cannot be displayed"

Thanks

Birte Glimm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: why must I add the port number

2001-01-04 Thread Ted Husted

Many people may already have a webserver running on 80, so out of the
box, Tomcat is setup to play well with others. 

As mentioned, on NT you can just change the 8080 in the configuration
file to 80, as the Web browsers expect (if you are not running IIS or
another webserver already). 

*** REPLY SEPARATOR  ***

On 1/4/2001 at 3:49 PM Birte Glimm wrote:

Hi, I have installed tomcat as a standalone webserver on Win 2000. 
To get a page or a servlet I have to type e.g.
http://localhost:8080/examples/servlet/helloWorldExample
but why must I include the port? Isn`t it the standard http port as in
all other webservers? If the port number is missing I get "Cannot find
server" and "The page cannot be displayed"

Thanks

Birte Glimm




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




how to eliminate port number?

2000-12-20 Thread Katsuyuki Michishita



tomcat need to put port number 8080 in the URL, is there any 
way thatIdo not have to put 8080? 


Re: how to eliminate port number?

2000-12-20 Thread Ted Husted




On 12/20/2000 at 6:34 PM Katsuyuki Michishita wrote:  
tomcat need to put port number 8080 in the URL, is there any way that I do not 
have to put 8080? 

If Tomcat is the only Web server on the machine, change the 
default Tomcat port to 80 in its server.xml configuration.

From TC3.2

 !--  Connectors 
 --

 !-- Normal HTTP 
-- Connector 
className="org.apache.tomcat.service.PoolTcpConnector" 
Parameter name="handler" 
 
value="org.apache.tomcat.service.http.HttpConnectionHandler"/ 
Parameter name="port" 
 
value="8080"/ 
/Connector




-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/




Re: how to eliminate port number?

2000-12-20 Thread Bhavesh Vakil



Set you tomcat server on port 80. This setting is 
only work if no other server is running on port 80.

Bhavesh.

  - Original Message - 
  From: 
  Katsuyuki 
  Michishita 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, December 20, 2000 9:34 
  AM
  Subject: how to eliminate port 
  number?
  
  tomcat need to put port number 8080 in the URL, is there any 
  way thatIdo not have to put 8080? 



RE: how to eliminate port number?

2000-12-20 Thread Kitching Simon

And of course, Ted has assumed that you are running on windows.
For unix, there are additional issues, as port 80 can be listened on
only by programs running as "root".

 -Original Message-
 From: Ted Husted [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, December 20, 2000 10:55 AM
 To:   Tomcat User List
 Subject:  Re: how to eliminate port number?
 
 On 12/20/2000 at 6:34 PM Katsuyuki Michishita wrote: 
  tomcat need to put port number 8080 in the URL, is there any way that I
 do not have to put 8080?  
  
 If Tomcat is the only Web server on the machine, change the default Tomcat
 port to 80 in its server.xml configuration.
  
 
 From TC3.2
  
   !--  Connectors  --
  
 !-- Normal HTTP --
 Connector className="org.apache.tomcat.service.PoolTcpConnector"
 Parameter name="handler" 
  
 value="org.apache.tomcat.service.http.HttpConnectionHandler"/
 Parameter name="port" 
 value="8080"/
 /Connector
  
 
 
 -- Ted Husted, Husted dot Com, Fairport NY USA.
 -- Custom Software ~ Technical Services.
 -- Tel 716 425-0252; Fax 716 223-2506.
 -- http://www.husted.com/