Re: Does Tomcat http work on port 80?

2009-10-13 Thread pieroxy
If I got it correctly, you are trying to setup your JBoss on port 80 when
you already have an apache running on port 80... Is that correct?
If so, you need to understand that only one process may listen to a given
port number. This is your issue.

If not, please clarify...

Regards

2009/10/9 Tony Anecito adanec...@yahoo.com

 First off my question was answered (in the subject line) that what I am
 doing should work for Windows OS.

 When I did a view source in Firefox there was nothing.

 When I looked at the error dialog box in FireFox there was nothing.

 When I looked at the server logs for Jboss (both boot and log written to
 after booting) there was no mention of an error.

 By default there is no access log for Tomcat I have to enable it according
 to an email sent by Chuck.

 I have not looked for any additional browser plugins yet since for me
 FireFox has been great at showing errors. But I will look at the other
 option you mentioned.

 I have installed both JBoss 5.1.0GA and Tomcat 6.0.20 on another OS Windows
 XP and changing to port 80 worked fine.

 The initial responses on this forum were Linux related but later ones after
 reading that I was stating Windows 2000 Prof made adjusments to their answer
 to my question.

 From the responses sounds as if no one has seen this type of problem which
 is probably related to some other install or OS specific or combination of
 all the above.

 Regards,
 -Tony

 Regards,
 -Tony

 --- On Fri, 10/9/09, André Warnier a...@ice-sa.com wrote:

  From: André Warnier a...@ice-sa.com
  Subject: Re: Does Tomcat http work on port 80?
  To: Tomcat Users List users@tomcat.apache.org
  Date: Friday, October 9, 2009, 11:00 AM
  Tony Anecito wrote:
  ...
  When I changed the server.xml recommended
   by Jboss and others to port 80 I got the white page (no
  source)
 
  Tony,
  you may get a page that looks empty in your browser.
  But that is not all that you are getting.
  If you look at the page source, you will probably see
  more.
  If you look at the server logs, you will see much more.
  If you get some add-on to your browser (like HttpFox or
  Fiddler2), you will see even more, in the form of HTTP
  headers and a status code that the server returns.
 
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
 
 




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




-- 
-- pieroxy


Re: Does Tomcat http work on port 80?

2009-10-13 Thread Tony Anecito
Nope. I turned off Apache before I launched JBoss after it was configured to 
run port 80. That way only one process was running with port 80. Tomcat 
external to JBoss worked for my environment.

Anyway, I went with a architecture where Tomcat was outside of Jboss which is 
where I was headed a couple of years ago. Back then I could not get jndi to 
work between JBoss and Tomcat but I did two nights ago. Now I can update Tomcat 
and stay ahead of JBoss releases since it was usually behind Tomcat upgrades 
which is expected due dependencies. 

I got very close to my goal with what hardware/configuration I could last night.

Thanks for replying,
-Tony

--- On Tue, 10/13/09, pieroxy pier...@gmail.com wrote:

 From: pieroxy pier...@gmail.com
 Subject: Re: Does Tomcat http work on port 80?
 To: Tomcat Users List users@tomcat.apache.org
 Date: Tuesday, October 13, 2009, 9:54 AM
 If I got it correctly, you are trying
 to setup your JBoss on port 80 when
 you already have an apache running on port 80... Is that
 correct?
 If so, you need to understand that only one process may
 listen to a given
 port number. This is your issue.
 
 If not, please clarify...
 
 Regards
 
 2009/10/9 Tony Anecito adanec...@yahoo.com
 
  First off my question was answered (in the subject
 line) that what I am
  doing should work for Windows OS.
 
  When I did a view source in Firefox there was
 nothing.
 
  When I looked at the error dialog box in FireFox there
 was nothing.
 
  When I looked at the server logs for Jboss (both boot
 and log written to
  after booting) there was no mention of an error.
 
  By default there is no access log for Tomcat I have to
 enable it according
  to an email sent by Chuck.
 
  I have not looked for any additional browser plugins
 yet since for me
  FireFox has been great at showing errors. But I will
 look at the other
  option you mentioned.
 
  I have installed both JBoss 5.1.0GA and Tomcat 6.0.20
 on another OS Windows
  XP and changing to port 80 worked fine.
 
  The initial responses on this forum were Linux related
 but later ones after
  reading that I was stating Windows 2000 Prof made
 adjusments to their answer
  to my question.
 
  From the responses sounds as if no one has seen this
 type of problem which
  is probably related to some other install or OS
 specific or combination of
  all the above.
 
  Regards,
  -Tony
 
  Regards,
  -Tony
 
  --- On Fri, 10/9/09, André Warnier a...@ice-sa.com
 wrote:
 
   From: André Warnier a...@ice-sa.com
   Subject: Re: Does Tomcat http work on port 80?
   To: Tomcat Users List users@tomcat.apache.org
   Date: Friday, October 9, 2009, 11:00 AM
   Tony Anecito wrote:
   ...
   When I changed the server.xml recommended
    by Jboss and others to port 80 I got the
 white page (no
   source)
  
   Tony,
   you may get a page that looks empty in your
 browser.
   But that is not all that you are getting.
   If you look at the page source, you will probably
 see
   more.
   If you look at the server logs, you will see much
 more.
   If you get some add-on to your browser (like
 HttpFox or
   Fiddler2), you will see even more, in the form of
 HTTP
   headers and a status code that the server
 returns.
  
  
  
  
  
  
 -
   To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
   For additional commands, e-mail: users-h...@tomcat.apache.org
  
  
 
 
 
 
 
 -
  To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 
 
 -- 
 -- pieroxy
 




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



Does Tomcat http work on port 80?

2009-10-09 Thread Tony Anecito
Hi All,

Yesterday on the JBoss users forum I posted the question how to setup http for 
Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof. Although I 
got some answers (Yes) in the end it seemed as if you could configure it but it 
did not work. Worked great on other port numbers but on port 80 all I got was a 
white page in the browser but with no source while on the other ports I got the 
expected html I created. I started getting the answer on the forum port 80 is 
special and would not work under Linux unless you setup special privilegs.

So simple question should port 80 work?

Also, I found no access files created for port 8080 of Tomcat of JBoss. Does 
Tomcat create http access files normally?

Many thanks for the answers.
-Tony


  

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



Re: Does Tomcat http work on port 80?

2009-10-09 Thread Serge Fonville
Hi,

Yesterday on the JBoss users forum I posted the question how to setup http
 for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof.
 Although I got some answers (Yes) in the end it seemed as if you could
 configure it but it did not work. Worked great on other port numbers but on
 port 80 all I got was a white page in the browser but with no source while
 on the other ports I got the expected html I created. I started getting the
 answer on the forum port 80 is special and would not work under Linux unless
 you setup special privilegs.


Please refer to the topic

So simple question should port 80 work?

Well known ports require root

Also, I found no access files created for port 8080 of Tomcat of JBoss. Does
 Tomcat create http access files normally?

 What do you mean by these?
Tomcat does not support .htaccess\

Also ;-)
http://en.lmgtfy.com/?q=tomcat+port+80+linux

HTH

Regards,

Serge Fonville

-- 
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=enanswer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923hl=en


RE: Does Tomcat http work on port 80?

2009-10-09 Thread Tony Anecito
Many Thanks.

-Tony

--- On Fri, 10/9/09, Caldarale, Charles R chuck.caldar...@unisys.com wrote:

 From: Caldarale, Charles R chuck.caldar...@unisys.com
 Subject: RE: Does Tomcat http work on port 80?
 To: Tomcat Users List users@tomcat.apache.org
 Date: Friday, October 9, 2009, 8:21 AM
  From: Tony Anecito [mailto:adanec...@yahoo.com]
  Subject: Does Tomcat http work on port 80?
  
  So simple question should port 80 work?
 
 Yup, works fine for us.  Note that the JBoss comm
 configuration procedure is quite different from that of
 Tomcat; you'll need to consult the JBoss doc.
 
  Does Tomcat create http access files normally?
 
 No, you have to enable the AccessLogValve.
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
 OTHERWISE PROPRIETARY MATERIAL and is thus for use only by
 the intended recipient. If you received this in error,
 please contact the sender and delete the e-mail and its
 attachments from all computers.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 




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



Re: Does Tomcat http work on port 80?

2009-10-09 Thread Tony Anecito
Thanks for the reply. I am using Windows. Someone from Apache said it should 
work and I needed to enable a valve for a access file to be enabled.

-Tony

--- On Fri, 10/9/09, Serge Fonville serge.fonvi...@gmail.com wrote:

 From: Serge Fonville serge.fonvi...@gmail.com
 Subject: Re: Does Tomcat http work on port 80?
 To: Tomcat Users List users@tomcat.apache.org
 Date: Friday, October 9, 2009, 8:21 AM
 Hi,
 
 Yesterday on the JBoss users forum I posted the question
 how to setup http
  for Tomcat on port 80 internal to JBoss 5.1.0GA under
 Windows 2000 Prof.
  Although I got some answers (Yes) in the end it seemed
 as if you could
  configure it but it did not work. Worked great on
 other port numbers but on
  port 80 all I got was a white page in the browser but
 with no source while
  on the other ports I got the expected html I created.
 I started getting the
  answer on the forum port 80 is special and would not
 work under Linux unless
  you setup special privilegs.
 
 
 Please refer to the topic
 
 So simple question should port 80 work?
 
 Well known ports require root
 
 Also, I found no access files created for port 8080 of
 Tomcat of JBoss. Does
  Tomcat create http access files normally?
 
  What do you mean by these?
 Tomcat does not support .htaccess\
 
 Also ;-)
 http://en.lmgtfy.com/?q=tomcat+port+80+linux
 
 HTH
 
 Regards,
 
 Serge Fonville
 
 -- 
 http://www.sergefonville.nl
 
 Convince Google!!
 They need to support Adsense over SSL
 https://www.google.com/adsense/support/bin/answer.py?hl=enanswer=10528
 http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923hl=en
 


  

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



Re: Does Tomcat http work on port 80?

2009-10-09 Thread Peter Crowther
2009/10/9 Serge Fonville serge.fonvi...@gmail.com:
 Hi,

 Yesterday on the JBoss users forum I posted the question how to setup http
 for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof.
[...]
 Well known ports require root
[...]
 http://en.lmgtfy.com/?q=tomcat+port+80+linux

Serge, the OP is on Windows 2000 Professional ;-).

Tony, I've had a vanilla Tomcat running fine on 80 under Windows 2000.
 Is IIS running on the same box?  If so, you'll need to make sure
that's disabled, or at least that it uses other ports than 80.  You'll
also need to follow JBoss' configuration procedures!

- Peter

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



Re: Does Tomcat http work on port 80?

2009-10-09 Thread Tony Anecito
Hi Peter,

I had both Apache and JBoss running fine (for years) together under Windows 
2000. JBoss 5.1.0GA as using port 8080 and Apache Web Server port 80. I am 
using ajp for JBoss communication. When I changed the server.xml recommended by 
Jboss and others to port 80 I got the white page (no source) When I changed to 
say port 81 for JBoss Tomcat internal worked fine. When I changed to 
JBoss/Tomcat port 80 and turned off Apache Web Server I get a white page.

So Apache Web Server was running fine on port 80 but not Tomcat internal to 
port 80. Big mystery.

Any thoughts appreciated,
-Tony

--- On Fri, 10/9/09, Peter Crowther peter.crowt...@melandra.com wrote:

 From: Peter Crowther peter.crowt...@melandra.com
 Subject: Re: Does Tomcat http work on port 80?
 To: Tomcat Users List users@tomcat.apache.org
 Date: Friday, October 9, 2009, 8:28 AM
 2009/10/9 Serge Fonville serge.fonvi...@gmail.com:
  Hi,
 
  Yesterday on the JBoss users forum I posted the
 question how to setup http
  for Tomcat on port 80 internal to JBoss 5.1.0GA
 under Windows 2000 Prof.
 [...]
  Well known ports require root
 [...]
  http://en.lmgtfy.com/?q=tomcat+port+80+linux
 
 Serge, the OP is on Windows 2000 Professional ;-).
 
 Tony, I've had a vanilla Tomcat running fine on 80 under
 Windows 2000.
  Is IIS running on the same box?  If so, you'll need
 to make sure
 that's disabled, or at least that it uses other ports than
 80.  You'll
 also need to follow JBoss' configuration procedures!
 
 - Peter
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 




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



Re: Does Tomcat http work on port 80?

2009-10-09 Thread Serge Fonville
On Fri, Oct 9, 2009 at 4:28 PM, Peter Crowther
peter.crowt...@melandra.comwrote:

 2009/10/9 Serge Fonville serge.fonvi...@gmail.com:
  Hi,
 
  Yesterday on the JBoss users forum I posted the question how to setup
 http
  for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof.
 [...]
  Well known ports require root
 [...]
  http://en.lmgtfy.com/?q=tomcat+port+80+linux

 Serge, the OP is on Windows 2000 Professional ;-).


I noticed too late :-(

-- 
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=enanswer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f923hl=en


Re: Does Tomcat http work on port 80?

2009-10-09 Thread André Warnier

Peter Crowther wrote:

2009/10/9 Serge Fonville serge.fonvi...@gmail.com:

Hi,

Yesterday on the JBoss users forum I posted the question how to setup http

for Tomcat on port 80 internal to JBoss 5.1.0GA under Windows 2000 Prof.

[...]

Well known ports require root

[...]

http://en.lmgtfy.com/?q=tomcat+port+80+linux


Serge, the OP is on Windows 2000 Professional ;-).


Peter, I don't think that this is so clear in the muddled first OP 
message.  Even after reading that stuff a couple of times, I'm still not 
quite sure what the question is.


;-)

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



Re: Does Tomcat http work on port 80?

2009-10-09 Thread André Warnier

Tony Anecito wrote:
...
When I changed the server.xml recommended
 by Jboss and others to port 80 I got the white page (no source)

Tony,
you may get a page that looks empty in your browser.
But that is not all that you are getting.
If you look at the page source, you will probably see more.
If you look at the server logs, you will see much more.
If you get some add-on to your browser (like HttpFox or Fiddler2), you 
will see even more, in the form of HTTP headers and a status code that 
the server returns.






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



Re: Does Tomcat http work on port 80?

2009-10-09 Thread Tony Anecito
First off my question was answered (in the subject line) that what I am doing 
should work for Windows OS.

When I did a view source in Firefox there was nothing.

When I looked at the error dialog box in FireFox there was nothing.

When I looked at the server logs for Jboss (both boot and log written to after 
booting) there was no mention of an error.

By default there is no access log for Tomcat I have to enable it according to 
an email sent by Chuck.

I have not looked for any additional browser plugins yet since for me FireFox 
has been great at showing errors. But I will look at the other option you 
mentioned.

I have installed both JBoss 5.1.0GA and Tomcat 6.0.20 on another OS Windows XP 
and changing to port 80 worked fine.

The initial responses on this forum were Linux related but later ones after 
reading that I was stating Windows 2000 Prof made adjusments to their answer to 
my question.

From the responses sounds as if no one has seen this type of problem which is 
probably related to some other install or OS specific or combination of all 
the above.

Regards,
-Tony

Regards,
-Tony

--- On Fri, 10/9/09, André Warnier a...@ice-sa.com wrote:

 From: André Warnier a...@ice-sa.com
 Subject: Re: Does Tomcat http work on port 80?
 To: Tomcat Users List users@tomcat.apache.org
 Date: Friday, October 9, 2009, 11:00 AM
 Tony Anecito wrote:
 ...
 When I changed the server.xml recommended
  by Jboss and others to port 80 I got the white page (no
 source)
 
 Tony,
 you may get a page that looks empty in your browser.
 But that is not all that you are getting.
 If you look at the page source, you will probably see
 more.
 If you look at the server logs, you will see much more.
 If you get some add-on to your browser (like HttpFox or
 Fiddler2), you will see even more, in the form of HTTP
 headers and a status code that the server returns.
 
 
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 




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