Displaying jsp pages without specifying the port 8080

2008-03-18 Thread Murat Birben
Hi,

My server OS is centos and I've apache 2.2 and tomcat6 installed on my
machine. I can display my php pages as abc.xyz.com and display my jsp pages
on LAN as abc.xyz.com:8080/asd but my jsp pages cannot be display from out
of my LAN. What may be the problem?

My second question is, I want to display my jsp pages as abc.xyz.com. How
can I do that?

Regards,

-- 
Murat BIRBEN


Re: Displaying jsp pages without specifying the port 8080

2008-03-18 Thread ratul banerjee
You probably have to set web alias...

On 3/18/08, Murat Birben [EMAIL PROTECTED] wrote:

 Hi,

 My server OS is centos and I've apache 2.2 and tomcat6 installed on my
 machine. I can display my php pages as abc.xyz.com and display my jsp
 pages
 on LAN as abc.xyz.com:8080/asd but my jsp pages cannot be display from out
 of my LAN. What may be the problem?

 My second question is, I want to display my jsp pages as abc.xyz.com. How
 can I do that?

 Regards,

 --
 Murat BIRBEN



Re: Displaying jsp pages without specifying the port 8080

2008-03-18 Thread Murat Birben
Sorry, but I'm a kind of newbie. Can you explain it a bit detailed?

Regards,

On Tue, Mar 18, 2008 at 6:47 PM, ratul banerjee [EMAIL PROTECTED] wrote:

 You probably have to set web alias...

 On 3/18/08, Murat Birben [EMAIL PROTECTED] wrote:
 
  Hi,
 
  My server OS is centos and I've apache 2.2 and tomcat6 installed on my
  machine. I can display my php pages as abc.xyz.com and display my jsp
  pages
  on LAN as abc.xyz.com:8080/asd but my jsp pages cannot be display from
 out
  of my LAN. What may be the problem?
 
  My second question is, I want to display my jsp pages as abc.xyz.com.
 How
  can I do that?
 
  Regards,
 
  --
  Murat BIRBEN
 




-- 
Murat BIRBEN


Re: Displaying jsp pages without specifying the port 8080

2008-03-18 Thread Brian Munroe
On Tue, Mar 18, 2008 at 9:45 AM, Murat Birben [EMAIL PROTECTED] wrote:

  My server OS is centos and I've apache 2.2 and tomcat6 installed on my
  machine. I can display my php pages as abc.xyz.com and display my jsp pages
  on LAN as abc.xyz.com:8080/asd but my jsp pages cannot be display from out
  of my LAN. What may be the problem?


Well, if you are using CentOS, there could be a number of reasons.
Are you running SELinux?  Do you have aggressive firewall rules that
are blocking 8080?

If you can, go into a shell and type 'netstat -an | grep -i listen'
and look for port 8080 - see if it is bound to localhost (127.0.0.1)
or the LAN IP. - or post the results here.

  My second question is, I want to display my jsp pages as abc.xyz.com. How
  can I do that?

Since you are already using Apache, using port 80, you will need to
configure mod_proxy_ajp or mod_ajp.  Lets solve the first issue first
though.

-- brian

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



RE: Displaying jsp pages without specifying the port 8080

2008-03-18 Thread Peter Crowther
 From: Murat Birben [mailto:[EMAIL PROTECTED]
 My server OS is centos and I've apache 2.2 and tomcat6 installed on my
 machine.

Do you have any integration between the two, or are they completely separate?

 I can display my php pages as abc.xyz.com

... from Apache httpd...

 and display my jsp pages
 on LAN as abc.xyz.com:8080/asd

... from Tomcat, which is running on a different port (8080 in this case).

 but my jsp pages cannot be display from out
 of my LAN. What may be the problem?

A firewall that forwards port 80, but not 8080, to the server.

 My second question is, I want to display my jsp pages as
 abc.xyz.com. How can I do that?

Configure some form of integration between httpd and Tomcat.  This could be 
mod_proxy or mod_proxy_ajp.  AJP is faster, but appears to be harder to 
configure.

http://tomcat.apache.org/tomcat-6.0-doc/connectors.html seems to be the place 
to start for Tomcat 6.

- Peter

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



Re: Displaying jsp pages without specifying the port 8080

2008-03-18 Thread Murat Birben
tcp0  0 :::8080 :::*
LISTEN

here is the part of 'netstat -an | grep -i listen' command for port 8080

On Tue, Mar 18, 2008 at 6:52 PM, Brian Munroe [EMAIL PROTECTED]
wrote:

 On Tue, Mar 18, 2008 at 9:45 AM, Murat Birben [EMAIL PROTECTED]
 wrote:

   My server OS is centos and I've apache 2.2 and tomcat6 installed on my
   machine. I can display my php pages as abc.xyz.com and display my jsp
 pages
   on LAN as abc.xyz.com:8080/asd but my jsp pages cannot be display from
 out
   of my LAN. What may be the problem?
 

 Well, if you are using CentOS, there could be a number of reasons.
 Are you running SELinux?  Do you have aggressive firewall rules that
 are blocking 8080?

 If you can, go into a shell and type 'netstat -an | grep -i listen'
 and look for port 8080 - see if it is bound to localhost (127.0.0.1)
 or the LAN IP. - or post the results here.

   My second question is, I want to display my jsp pages as abc.xyz.com.
 How
   can I do that?

 Since you are already using Apache, using port 80, you will need to
 configure mod_proxy_ajp or mod_ajp.  Lets solve the first issue first
 though.

 -- brian

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




-- 
Murat BIRBEN


Re: Displaying jsp pages without specifying the port 8080

2008-03-18 Thread Brian Munroe
On Tue, Mar 18, 2008 at 9:58 AM, Murat Birben [EMAIL PROTECTED] wrote:

 tcp0  0 :::8080 :::* 
 LISTEN


Ok, that's good, it can listen on all IPs

Now, do you know if you are running SELinux or if your firewall is
configured as Peter suggested?

-- brian

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



Re: Displaying jsp pages without specifying the port 8080

2008-03-18 Thread Murat Birben
My SELinux is disabled, how could i check my firewall configurations?

Regards,

On Tue, Mar 18, 2008 at 7:16 PM, Brian Munroe [EMAIL PROTECTED]
wrote:

 On Tue, Mar 18, 2008 at 9:58 AM, Murat Birben [EMAIL PROTECTED]
 wrote:

  tcp0  0 :::8080 :::*
 LISTEN
 

 Ok, that's good, it can listen on all IPs

 Now, do you know if you are running SELinux or if your firewall is
 configured as Peter suggested?

 -- brian

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




-- 
Murat BIRBEN


Re: Displaying jsp pages without specifying the port 8080

2008-03-18 Thread Murat Birben
I'm also using mod_jk connector

On Tue, Mar 18, 2008 at 8:31 PM, Murat Birben [EMAIL PROTECTED] wrote:

 My SELinux is disabled, how could i check my firewall configurations?

 Regards,


 On Tue, Mar 18, 2008 at 7:16 PM, Brian Munroe [EMAIL PROTECTED]
 wrote:

  On Tue, Mar 18, 2008 at 9:58 AM, Murat Birben [EMAIL PROTECTED]
  wrote:
 
   tcp0  0 :::8080 :::*
LISTEN
  
 
  Ok, that's good, it can listen on all IPs
 
  Now, do you know if you are running SELinux or if your firewall is
  configured as Peter suggested?
 
  -- brian
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Murat BIRBEN




-- 
Murat BIRBEN