Re: question about tomcat configuration

2002-03-19 Thread Christopher Bare


--- Cheng Yan [EMAIL PROTECTED] wrote:
 Hi, all,
 
 I just installed tomcat 4.0 binary on my Solaris 8
 box at home. This Solaris
 machine is connected to my w2k pc through a linksys
 router, which is
 connected to a cable modem.


I'm a beginner, but we have very similar setups, so
maybe we can help each other. I have Solaris8 on a DSL
router. I'm trying to use Tomcat4, apache1.3, with
mod_webapp.

Have you tried to set up a connector with apache?
There are two that I know of, mod_jk and mod_webapp. I
am using mod_webapp, but am having probablems, so I'm
thinking of switching.

Have you tried integrating Tomcat with Apache yet, or
are you just using tomcat by itself? I have Tomcat
working by itself and mostly working with Apache via
mod_webapp.

-Chris


__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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




Re: question about tomcat configuration

2002-03-19 Thread Lev Assinovsky

Just keep in mind, 
the performance of  pair Apache-Tomcat few times less then of standalone
Tomcat.
You can verify this using 'ab'.

Christopher Bare wrote:
 
 --- Cheng Yan [EMAIL PROTECTED] wrote:
  Hi, all,
 
  I just installed tomcat 4.0 binary on my Solaris 8
  box at home. This Solaris
  machine is connected to my w2k pc through a linksys
  router, which is
  connected to a cable modem.
 
 I'm a beginner, but we have very similar setups, so
 maybe we can help each other. I have Solaris8 on a DSL
 router. I'm trying to use Tomcat4, apache1.3, with
 mod_webapp.
 
 Have you tried to set up a connector with apache?
 There are two that I know of, mod_jk and mod_webapp. I
 am using mod_webapp, but am having probablems, so I'm
 thinking of switching.
 
 Have you tried integrating Tomcat with Apache yet, or
 are you just using tomcat by itself? I have Tomcat
 working by itself and mostly working with Apache via
 mod_webapp.
 
 -Chris
 
 __
 Do You Yahoo!?
 Yahoo! Sports - live college hoops coverage
 http://sports.yahoo.com/
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

-- 
Lev AssinovskyPeterlink Web
ProgrammerSt. Petersburg, Russia
Tel/Fax: +7 812 3275343   197022 ul.Chapigina 7Á
E-mail: [EMAIL PROTECTED]

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




Re: question about tomcat configuration

2002-03-19 Thread Cheng Yan

Christopher,

I have not tried to set up a connector with apache yet. I don't even know
how. And I don't know exactly the differences between apache and tomcat. My
impression is that they both are web servers and tomcat can interpret jsp
while apache can not. That's all I know. I just want to gain some
experiences on both apache and tomcat. Actually, I have been writing codes
under apache for quite some time. But I am really new to tomcat.

Please tell me how to set up a connector with apache and tomcat.

Thanks,

CY
- Original Message -
From: Christopher Bare [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Cheng Yan
[EMAIL PROTECTED]
Sent: Tuesday, March 19, 2002 13:55
Subject: Re: question about tomcat configuration



 --- Cheng Yan [EMAIL PROTECTED] wrote:
  Hi, all,
 
  I just installed tomcat 4.0 binary on my Solaris 8
  box at home. This Solaris
  machine is connected to my w2k pc through a linksys
  router, which is
  connected to a cable modem.


 I'm a beginner, but we have very similar setups, so
 maybe we can help each other. I have Solaris8 on a DSL
 router. I'm trying to use Tomcat4, apache1.3, with
 mod_webapp.

 Have you tried to set up a connector with apache?
 There are two that I know of, mod_jk and mod_webapp. I
 am using mod_webapp, but am having probablems, so I'm
 thinking of switching.

 Have you tried integrating Tomcat with Apache yet, or
 are you just using tomcat by itself? I have Tomcat
 working by itself and mostly working with Apache via
 mod_webapp.

 -Chris


 __
 Do You Yahoo!?
 Yahoo! Sports - live college hoops coverage
 http://sports.yahoo.com/

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



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




Re: question about tomcat configuration

2002-03-19 Thread Cheng Yan

Hi, all,

Can someone kindly show me how to configure tomcat so that I can visit
http://localhost:8080/index.html  from any other machine than the one where
tomcat resides?

What changes should make in $CATALINA_HOME/conf/server.xml? Could someone
send his/her modified server.xml to me, please?

Many thanks,

CY

- Original Message -
From: Cheng Yan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 23:27
Subject: question about tomcat configuration


 Hi, all,

 I just installed tomcat 4.0 binary on my Solaris 8 box at home. This
Solaris
 machine is connected to my w2k pc through a linksys router, which is
 connected to a cable modem.

 After I started tomcat, I can visit http://localhost:8080/index.html only
 from the same workstation, but not from my pc. I understand this is
because
 the settings in $CATALINA_HOME/conf/server.xml. Could someone tell me how
to
 reconfigure this baby so that TOMCAT will point to a different location?
The
 different means that it does not point to the default page:
 $CATALINA_HOME/webapps/ROOT/index.html. Or better yet, can I reconfigure
it
 to point to $HOME/public_html, where apache server has already pointed to?

 I know I must set up somethings in $CATALINA_HOME/conf/server.xml. But I
am
 not sure how. Could someone show me step by step?

 BTW, I have configured apache on this station. I can already visit
 http://192.168.1.100/~myUnixID.

 Thanks.


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



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




RE: question about tomcat configuration

2002-03-16 Thread JavaJosh

Cheng,

I am just learning too, but the following links speak to your problem:

http://localhost:8080/tomcat-docs/appdev/deployment.html
http://localhost:8080/tomcat-docs/config/index.html
and in particular
http://localhost:8080/tomcat-docs/config/context.html
and if you are hosting others, check out
http://localhost:8080/tomcat-docs/config/host.html#User%20Web%20Applicat
ions


(Of course, you have to have tomcat running to get to these URLs.
Alternatively, you can get them from the filesystem. I assume you know
how.)

As you noticed, there is an implicit context created for each subdir of
$catalinahome/webapps.

HTH
Josh

 -Original Message-
 From: Cheng Yan [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 15, 2002 8:28 PM
 To: Tomcat Users List
 Subject: question about tomcat configuration
 
 Hi, all,
 
 I just installed tomcat 4.0 binary on my Solaris 8 box at home. This
 Solaris
 machine is connected to my w2k pc through a linksys router, which is
 connected to a cable modem.
 
 After I started tomcat, I can visit http://localhost:8080/index.html
 only
 from the same workstation, but not from my pc. I understand this is
 because
 the settings in $CATALINA_HOME/conf/server.xml. Could someone tell me
 how to
 reconfigure this baby so that TOMCAT will point to a different
 location? The
 different means that it does not point to the default page:
 $CATALINA_HOME/webapps/ROOT/index.html. Or better yet, can I
 reconfigure it
 to point to $HOME/public_html, where apache server has already pointed
 to?
 
 I know I must set up somethings in $CATALINA_HOME/conf/server.xml. But
 I am
 not sure how. Could someone show me step by step?
 
 BTW, I have configured apache on this station. I can already visit
 http://192.168.1.100/~myUnixID.
 
 Thanks.
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




question about tomcat configuration

2002-03-15 Thread Cheng Yan

Hi, all,

I just installed tomcat 4.0 binary on my Solaris 8 box at home. This Solaris
machine is connected to my w2k pc through a linksys router, which is
connected to a cable modem.

After I started tomcat, I can visit http://localhost:8080/index.html only
from the same workstation, but not from my pc. I understand this is because
the settings in $CATALINA_HOME/conf/server.xml. Could someone tell me how to
reconfigure this baby so that TOMCAT will point to a different location? The
different means that it does not point to the default page:
$CATALINA_HOME/webapps/ROOT/index.html. Or better yet, can I reconfigure it
to point to $HOME/public_html, where apache server has already pointed to?

I know I must set up somethings in $CATALINA_HOME/conf/server.xml. But I am
not sure how. Could someone show me step by step?

BTW, I have configured apache on this station. I can already visit
http://192.168.1.100/~myUnixID.

Thanks.


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