Re: Question regarding tomcat-apache.conf file.

2003-06-16 Thread John Turner
No, its saying that the wrong (incompatible) .so file is being used.

Apache 1.3.6 is ancient...I doubt any of the JK sources will work with it, 
and there have been 21 revisions to the 1.3 source since (currently at 
1.3.27).  If 1.3.6 isn't a typo, you should first and foremost upgrade 
your Apache.  If you can't upgrade for some reason, you will have to build 
your own mod_jk from source, and my guess is it won't be easy.

John

On Mon, 16 Jun 2003 22:44:06 +1000, NormW [EMAIL PROTECTED] wrote:

Still at it?
Good evening Kevin.
I think it's saying your LoadModule line in httpd.conf needs a tweak.
It should read:
LoadModule jk_module libexec/mod_jk-1.3-etc
Norm
- Original Message - From: Thomas, Kevin 
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 10:17 PM
Subject: RE: Question regarding tomcat-apache.conf file.


Norm.

I used the basic format that being offered on that website to understand
what changes were required. After following them (making my own tweaks 
to
ensure correct paths etc), I attempted to restart Apache and got the
following:

Syntax error on line 233 of
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
Can't locate API module structure `mod_jk' in file

/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
1.3
-eapi.so: ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd:
fatal:
mod_jk: can't find symbol
bin/apachectl start: httpd could not be started
Any ideas? (sorry to bug you with this one!)

-Original Message-
From: NormW [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 12:54
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.
Good evening Kevin.
Takes my cue! What they are configuring there are the example 
applications
that come with Tomcat read what you can of the Tomcat docs once you
get
Apache and Tomcat working and 'see' how straight-forward the setup
actually
is... a bunch of settings that tell Apache what to send to the jk module
and
a few more settings to configure jk and how it should contact Tomcat...
this
is definitely not Harry Potter stuff! But the number of people who seem 
to
look for a magic phrase... Also the configuration of Tomcat is primarily
done by server.xml, so definitely read that (lots of comments) and get a
'feel' for what is used and can be used in your situation.
Best of luck,
Norm

-
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 M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Question regarding tomcat-apache.conf file.

2003-06-16 Thread stephan beal
On Monday 16 June 2003 14:56, John Turner wrote:
 No, its saying that the wrong (incompatible) .so file is being used.

 Apache 1.3.6 is ancient...I doubt any of the JK sources will work
 with it, and there have been 21 revisions to the 1.3 source since
 (currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
 foremost upgrade your Apache.  If you can't upgrade for some reason,
 you will have to build your own mod_jk from source, and my guess is
 it won't be easy.

i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
building mod_jk until ~1.2.3pre. Eventually i was able to build that 
and 1.2.4, but had to jump through some hoops to do so.

In the hope that they may save someone some effort, i've posted some 
mod_jk bins for Solaris 8:

http://stephan.rootonfire.org/mod_jk/

a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
These bins are only known to work with Apache 1.3.27.


-- 
- stephan
The Guy With No Job Title
[EMAIL PROTECTED] - http://www.einsurance.de
Student: Master, you must teach me the way of liberation!
Master:  Tell me who it is that binds you.
Student: No one binds me!
Master:  Then why do you seek liberation?


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



Re: Question regarding tomcat-apache.conf file.

2003-06-16 Thread John Turner
If the 1.3.6 in your pathname isn't a typo, my guess is you are out of 
luck.  Apache 1.3.6 is absolutely ancient.

You'll need 1.3.2x (.22?) or better for JK, or the ability to hack the JK 
source to make it work with older versions of Apache, which might be next 
to impossible.

If the 1.3.6 isn't a typo, and you really mean 1.3.26, then my guess is 
you don't have EAPI and are using the JK .so for EAPI, or vice versa, in 
which case you will want to get the right one and try again.

John

On Mon, 16 Jun 2003 05:53:35 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

John,

I read your website instructions previously, most helpful. Thanks.

I'm almost there, I can sense it! ;O) I'm getting output now, as you 
pointed
out called mod_jk.conf. So that's a step in the right direction: I only 
have
to contend with this error now:

Syntax error on line 233 of
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
Can't locate API module structure `mod_jk' in file
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
1.3
-eapi.so: ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: 
fatal:
mod_jk: can't find symbol
bin/apachectl start: httpd could not be started

But I'm going to go look up your site again and see check to make sure 
I've
followed all the steps correctly.

Thanks to Norm and John for your help so far :O)

Cheers,
Kev.
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 13:51
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.


Tomcat 4.1 most definitely supports the auto configuration option.

John

On Mon, 16 Jun 2003 20:32:22 +1000, NormW [EMAIL PROTECTED] wrote:

Good evening Kevin
AFAIK Tomcat 4.1 doesn't have the auto configure option so I've never 
tried
it personally; I get by with manual configuration. What module are you
using? Mod_jk or md_jk2?
Norm

- Original Message - From: Thomas, Kevin 
[EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 8:16 PM
Subject: RE: Question regarding tomcat-apache.conf file.


Thanks for the reply.

When you say you haven't used it, does that mean you don't run with 
Apache
and Tomcat talking to each other, or just that you've found another way
round it?

Cheers,
Kev.
-Original Message-
From: NormW [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 11:17
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.
Good evening Kevin.
I think you might need to read a little further..
AFAIK there is a specific startup option for Tomcat to generate the 
.conf
file for Apache, and that's assuming Tomcat 4.0 supports it
Apologies for the vagueness but it's not a feature I've actually used.
Norm

- Original Message - From: Thomas, Kevin 
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 7:36 PM
Subject: Question regarding tomcat-apache.conf file.

 Hi there,

 New to the list, but with a hopefully simple question to answer.

 I'm currently trying to integrate Apache 1.3.6 and Tomcat 4.0.6 on a
Solaris
 Unix box and have been following the instructions in the usual 
howto's
on
 the jakarta site. However, there are several references to the
automatically
 generated tomcat-apache.conf file. According to the instructions 
this
 should appear in the $CATALINA_HOME/conf directory...unfortunately in 
my
 case, it isn't.

 Tomcat is up and running in standalone mode with no problems, however
the
 .conf file is not being produced. There wasn't a
$CATALINA_HOME/conf/auto
 directory (that I saw being referred to in one message) so I created 
on
in
 the hope that Tomcat would write out to it, but no luck this way 
either.

 Can anyone shed any light on why the tomcat-apache.conf file would 
not
be
 produced even although Tomcat is running fine.

 Regards,
 Kev
 __

 Kevin Thomas
 Technical Analyst
 Technical Authority, Deregulated Applications
 Utilities Group, SAIC Ltd.
 5 Redwood Place
 Peel Park
 East Kilbride
 G74 5PB
 Tel: 013558 45260 ( 708 5260 internal )
 mailto: [EMAIL PROTECTED]
 web: http://www.saic.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]



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






--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e

RE: Question regarding tomcat-apache.conf file.

2003-06-16 Thread Thomas, Kevin
Hmm, got this error while using mod_jk-1.2.2.so

Syntax error on line 233 of
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
Cannot load
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk-1.2
.2.so into server: ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: fatal:
relocation error: file
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk-1.2
.2.so: symbol dir_module: referenced symbol not found
bin/apachectl start: httpd could not be started



-Original Message-
From: stephan beal [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 14:20
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.


On Monday 16 June 2003 14:56, John Turner wrote:
 No, its saying that the wrong (incompatible) .so file is being used.

 Apache 1.3.6 is ancient...I doubt any of the JK sources will work
 with it, and there have been 21 revisions to the 1.3 source since
 (currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
 foremost upgrade your Apache.  If you can't upgrade for some reason,
 you will have to build your own mod_jk from source, and my guess is
 it won't be easy.

i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
building mod_jk until ~1.2.3pre. Eventually i was able to build that 
and 1.2.4, but had to jump through some hoops to do so.

In the hope that they may save someone some effort, i've posted some 
mod_jk bins for Solaris 8:

http://stephan.rootonfire.org/mod_jk/

a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
These bins are only known to work with Apache 1.3.27.


-- 
- stephan
The Guy With No Job Title
[EMAIL PROTECTED] - http://www.einsurance.de
Student: Master, you must teach me the way of liberation!
Master:  Tell me who it is that binds you.
Student: No one binds me!
Master:  Then why do you seek liberation?


-
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: Question regarding tomcat-apache.conf file.

2003-06-16 Thread John Turner
Can you tell us what platform you're using?  Can you confirm exactly what 
Apache version you have?

JK and JK2 are Apache version sensitive.  You could easily spend many hours 
trying various binary files without results because of incompatibilities.  
If you tell us what you need, we can help you faster.

Regarding the error message, does your Apache include mod_dir?

John

On Mon, 16 Jun 2003 06:41:24 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

Hmm, got this error while using mod_jk-1.2.2.so

Syntax error on line 233 of
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
Cannot load
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
1.2
.2.so into server: ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: 
fatal:
relocation error: file
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
1.2
.2.so: symbol dir_module: referenced symbol not found
bin/apachectl start: httpd could not be started



-Original Message-
From: stephan beal [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 14:20
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.
On Monday 16 June 2003 14:56, John Turner wrote:
No, its saying that the wrong (incompatible) .so file is being used.

Apache 1.3.6 is ancient...I doubt any of the JK sources will work
with it, and there have been 21 revisions to the 1.3 source since
(currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
foremost upgrade your Apache.  If you can't upgrade for some reason,
you will have to build your own mod_jk from source, and my guess is
it won't be easy.
i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
building mod_jk until ~1.2.3pre. Eventually i was able to build that and 
1.2.4, but had to jump through some hoops to do so.

In the hope that they may save someone some effort, i've posted some 
mod_jk bins for Solaris 8:

http://stephan.rootonfire.org/mod_jk/

a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
These bins are only known to work with Apache 1.3.27.



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Question regarding tomcat-apache.conf file.

2003-06-16 Thread Thomas, Kevin
John,

Thanks for being patient so far!

Doing a uname -a on the server gives:

SunOS xxx.xxx.xxx.xxx 5.6 Generic_105181-20 sun4u sparc
SUNW,Ultra-Enterprise

I've just downloaded 1.3.26 and I'm about to install that. Did have 1.3.6
(not .26).

Cheers,
Kev.

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 15:02
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.



Can you tell us what platform you're using?  Can you confirm exactly what 
Apache version you have?

JK and JK2 are Apache version sensitive.  You could easily spend many hours 
trying various binary files without results because of incompatibilities.  
If you tell us what you need, we can help you faster.

Regarding the error message, does your Apache include mod_dir?

John

On Mon, 16 Jun 2003 06:41:24 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

 Hmm, got this error while using mod_jk-1.2.2.so

 Syntax error on line 233 of
 /ki- 
 sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
 Cannot load
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
 1.2
 .2.so into server: ld.so.1:
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: 
 fatal:
 relocation error: file
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
 1.2
 .2.so: symbol dir_module: referenced symbol not found
 bin/apachectl start: httpd could not be started



 -Original Message-
 From: stephan beal [mailto:[EMAIL PROTECTED]
 Sent: 16 June 2003 14:20
 To: Tomcat Users List
 Subject: Re: Question regarding tomcat-apache.conf file.


 On Monday 16 June 2003 14:56, John Turner wrote:
 No, its saying that the wrong (incompatible) .so file is being used.

 Apache 1.3.6 is ancient...I doubt any of the JK sources will work
 with it, and there have been 21 revisions to the 1.3 source since
 (currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
 foremost upgrade your Apache.  If you can't upgrade for some reason,
 you will have to build your own mod_jk from source, and my guess is
 it won't be easy.

 i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
 building mod_jk until ~1.2.3pre. Eventually i was able to build that and 
 1.2.4, but had to jump through some hoops to do so.

 In the hope that they may save someone some effort, i've posted some 
 mod_jk bins for Solaris 8:

 http://stephan.rootonfire.org/mod_jk/

 a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
 These bins are only known to work with Apache 1.3.27.





-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-
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: Question regarding tomcat-apache.conf file.

2003-06-16 Thread Thomas, Kevin
Latest issue is:

ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd: fatal:
libpthread.so.1: version `SUNW_1.2' not found (required by file
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd)
Killed
bin/apachectl start: httpd could not be started

After installing Apache 1.3.26. Using mod_jk-1.3-noeapi.so

K.

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 15:02
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.



Can you tell us what platform you're using?  Can you confirm exactly what 
Apache version you have?

JK and JK2 are Apache version sensitive.  You could easily spend many hours 
trying various binary files without results because of incompatibilities.  
If you tell us what you need, we can help you faster.

Regarding the error message, does your Apache include mod_dir?

John

On Mon, 16 Jun 2003 06:41:24 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

 Hmm, got this error while using mod_jk-1.2.2.so

 Syntax error on line 233 of
 /ki- 
 sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
 Cannot load
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
 1.2
 .2.so into server: ld.so.1:
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: 
 fatal:
 relocation error: file
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
 1.2
 .2.so: symbol dir_module: referenced symbol not found
 bin/apachectl start: httpd could not be started



 -Original Message-
 From: stephan beal [mailto:[EMAIL PROTECTED]
 Sent: 16 June 2003 14:20
 To: Tomcat Users List
 Subject: Re: Question regarding tomcat-apache.conf file.


 On Monday 16 June 2003 14:56, John Turner wrote:
 No, its saying that the wrong (incompatible) .so file is being used.

 Apache 1.3.6 is ancient...I doubt any of the JK sources will work
 with it, and there have been 21 revisions to the 1.3 source since
 (currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
 foremost upgrade your Apache.  If you can't upgrade for some reason,
 you will have to build your own mod_jk from source, and my guess is
 it won't be easy.

 i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
 building mod_jk until ~1.2.3pre. Eventually i was able to build that and 
 1.2.4, but had to jump through some hoops to do so.

 In the hope that they may save someone some effort, i've posted some 
 mod_jk bins for Solaris 8:

 http://stephan.rootonfire.org/mod_jk/

 a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
 These bins are only known to work with Apache 1.3.27.





-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-
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: Question regarding tomcat-apache.conf file.

2003-06-16 Thread John Turner
OK, cool.  Solaris 2.6 might be a little iffy for the GNU tools, so you'll 
probably want to stick with binaries.  I had a heck of a time getting 
mod_jk to build on Solaris 2.7, my guess is it wouldn't be any better with 
2.6.

.27 is preferred, but I won't be picky.  You can check my Solaris 7 HOWTO 
for more info if you like:
http://www.johnturner.com/howto (if you've already seen it, my apologies, I 
loose track of some of these threads sometimes).

After that, you should be able to use one of the binaries that Stephan so 
kindly announced this morning, at:
http://stephan.rootonfire.org/mod_jk/

John

On Mon, 16 Jun 2003 07:07:31 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

John,

Thanks for being patient so far!

Doing a uname -a on the server gives:

SunOS xxx.xxx.xxx.xxx 5.6 Generic_105181-20 sun4u sparc
SUNW,Ultra-Enterprise
I've just downloaded 1.3.26 and I'm about to install that. Did have 1.3.6
(not .26).
Cheers,
Kev.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Question regarding tomcat-apache.conf file.

2003-06-16 Thread John Turner
Can you build things from source?  Does your Solaris box have all of the 
latest patches?

Where did you get 1.3.26?  There's a 1.3.27 at http://www.sunfreeware.com 
for Solaris 2.6.

John

On Mon, 16 Jun 2003 07:25:51 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

Latest issue is:

ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd: 
fatal:
libpthread.so.1: version `SUNW_1.2' not found (required by file
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd)
Killed
bin/apachectl start: httpd could not be started

After installing Apache 1.3.26. Using mod_jk-1.3-noeapi.so

K.

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 15:02
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.


Can you tell us what platform you're using?  Can you confirm exactly what 
Apache version you have?

JK and JK2 are Apache version sensitive.  You could easily spend many 
hours trying various binary files without results because of 
incompatibilities.  If you tell us what you need, we can help you faster.

Regarding the error message, does your Apache include mod_dir?

John

On Mon, 16 Jun 2003 06:41:24 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

Hmm, got this error while using mod_jk-1.2.2.so

Syntax error on line 233 of
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
Cannot load
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk-1.2
.2.so into server: ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: 
fatal:
relocation error: file
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk-1.2
.2.so: symbol dir_module: referenced symbol not found
bin/apachectl start: httpd could not be started



-Original Message-
From: stephan beal [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 14:20
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.
On Monday 16 June 2003 14:56, John Turner wrote:
No, its saying that the wrong (incompatible) .so file is being used.

Apache 1.3.6 is ancient...I doubt any of the JK sources will work
with it, and there have been 21 revisions to the 1.3 source since
(currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
foremost upgrade your Apache.  If you can't upgrade for some reason,
you will have to build your own mod_jk from source, and my guess is
it won't be easy.
i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
building mod_jk until ~1.2.3pre. Eventually i was able to build that and 
1.2.4, but had to jump through some hoops to do so.

In the hope that they may save someone some effort, i've posted some 
mod_jk bins for Solaris 8:

http://stephan.rootonfire.org/mod_jk/

a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
These bins are only known to work with Apache 1.3.27.






--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Question regarding tomcat-apache.conf file.

2003-06-16 Thread Thomas, Kevin
LOL...you've probably already anticipated the answer to the first
question...No, I'm afraid I can't build from source.

1.3.26 came from apache.org. I don't have access to pkgadd so 1.3.27 from
sunfreeware is not an option (I don't think).



-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 15:32
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.



Can you build things from source?  Does your Solaris box have all of the 
latest patches?

Where did you get 1.3.26?  There's a 1.3.27 at http://www.sunfreeware.com 
for Solaris 2.6.

John

On Mon, 16 Jun 2003 07:25:51 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

 Latest issue is:

 ld.so.1:
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd: 
 fatal:
 libpthread.so.1: version `SUNW_1.2' not found (required by file
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd)
 Killed
 bin/apachectl start: httpd could not be started

 After installing Apache 1.3.26. Using mod_jk-1.3-noeapi.so

 K.

 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED]
 Sent: 16 June 2003 15:02
 To: Tomcat Users List
 Subject: Re: Question regarding tomcat-apache.conf file.



 Can you tell us what platform you're using?  Can you confirm exactly what 
 Apache version you have?

 JK and JK2 are Apache version sensitive.  You could easily spend many 
 hours trying various binary files without results because of 
 incompatibilities.  If you tell us what you need, we can help you faster.

 Regarding the error message, does your Apache include mod_dir?

 John

 On Mon, 16 Jun 2003 06:41:24 -0700, Thomas, Kevin [EMAIL PROTECTED] 
 wrote:

 Hmm, got this error while using mod_jk-1.2.2.so

 Syntax error on line 233 of
 /ki- 
 sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
 Cannot load
 /ki- 
 sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk-1.2
 .2.so into server: ld.so.1:
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: 
 fatal:
 relocation error: file
 /ki- 
 sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk-1.2
 .2.so: symbol dir_module: referenced symbol not found
 bin/apachectl start: httpd could not be started



 -Original Message-
 From: stephan beal [mailto:[EMAIL PROTECTED]
 Sent: 16 June 2003 14:20
 To: Tomcat Users List
 Subject: Re: Question regarding tomcat-apache.conf file.


 On Monday 16 June 2003 14:56, John Turner wrote:
 No, its saying that the wrong (incompatible) .so file is being used.

 Apache 1.3.6 is ancient...I doubt any of the JK sources will work
 with it, and there have been 21 revisions to the 1.3 source since
 (currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
 foremost upgrade your Apache.  If you can't upgrade for some reason,
 you will have to build your own mod_jk from source, and my guess is
 it won't be easy.

 i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
 building mod_jk until ~1.2.3pre. Eventually i was able to build that and 
 1.2.4, but had to jump through some hoops to do so.

 In the hope that they may save someone some effort, i've posted some 
 mod_jk bins for Solaris 8:

 http://stephan.rootonfire.org/mod_jk/

 a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
 These bins are only known to work with Apache 1.3.27.








-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-
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: Question regarding tomcat-apache.conf file.

2003-06-16 Thread John Turner
Well, I think you may be stuck.  Your last error is regarding 
libpthread.so, which is not Tomcat related, or even Apache/Mod_JK related.

You can looking for libpthread.so* and symlinking whatever you find to the 
file that the error message mentions.

I'm curious, though...you want to run Apache, that means you have root 
access (generally).  How can you not also build things from source or 
otherwise access pkgadd?

John

On Mon, 16 Jun 2003 07:52:09 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

LOL...you've probably already anticipated the answer to the first
question...No, I'm afraid I can't build from source.
1.3.26 came from apache.org. I don't have access to pkgadd so 1.3.27 from
sunfreeware is not an option (I don't think).


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 15:32
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.


Can you build things from source?  Does your Solaris box have all of the 
latest patches?

Where did you get 1.3.26?  There's a 1.3.27 at http://www.sunfreeware.com 
for Solaris 2.6.

John

On Mon, 16 Jun 2003 07:25:51 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

Latest issue is:

ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd: 
fatal:
libpthread.so.1: version `SUNW_1.2' not found (required by file
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd)
Killed
bin/apachectl start: httpd could not be started

After installing Apache 1.3.26. Using mod_jk-1.3-noeapi.so

K.

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 15:02
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.


Can you tell us what platform you're using?  Can you confirm exactly 
what Apache version you have?

JK and JK2 are Apache version sensitive.  You could easily spend many 
hours trying various binary files without results because of 
incompatibilities.  If you tell us what you need, we can help you 
faster.

Regarding the error message, does your Apache include mod_dir?

John

On Mon, 16 Jun 2003 06:41:24 -0700, Thomas, Kevin 
[EMAIL PROTECTED] wrote:

Hmm, got this error while using mod_jk-1.2.2.so

Syntax error on line 233 of
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
Cannot load
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
1.2
.2.so into server: ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: 
fatal:
relocation error: file
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
1.2
.2.so: symbol dir_module: referenced symbol not found
bin/apachectl start: httpd could not be started



-Original Message-
From: stephan beal [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 14:20
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.
On Monday 16 June 2003 14:56, John Turner wrote:
No, its saying that the wrong (incompatible) .so file is being used.

Apache 1.3.6 is ancient...I doubt any of the JK sources will work
with it, and there have been 21 revisions to the 1.3 source since
(currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
foremost upgrade your Apache.  If you can't upgrade for some reason,
you will have to build your own mod_jk from source, and my guess is
it won't be easy.
i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
building mod_jk until ~1.2.3pre. Eventually i was able to build that 
and 1.2.4, but had to jump through some hoops to do so.

In the hope that they may save someone some effort, i've posted some 
mod_jk bins for Solaris 8:

http://stephan.rootonfire.org/mod_jk/

a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
These bins are only known to work with Apache 1.3.27.









--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Question regarding tomcat-apache.conf file.

2003-06-16 Thread Thomas, Kevin
Actually, I don't have it installed as root at all, no permissions to do so,
it's a long story involving politics and it's only a dev box.  :O)

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 16:01
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.



Well, I think you may be stuck.  Your last error is regarding 
libpthread.so, which is not Tomcat related, or even Apache/Mod_JK related.

You can looking for libpthread.so* and symlinking whatever you find to the 
file that the error message mentions.

I'm curious, though...you want to run Apache, that means you have root 
access (generally).  How can you not also build things from source or 
otherwise access pkgadd?

John

On Mon, 16 Jun 2003 07:52:09 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

 LOL...you've probably already anticipated the answer to the first
 question...No, I'm afraid I can't build from source.

 1.3.26 came from apache.org. I don't have access to pkgadd so 1.3.27 from
 sunfreeware is not an option (I don't think).



 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED]
 Sent: 16 June 2003 15:32
 To: Tomcat Users List
 Subject: Re: Question regarding tomcat-apache.conf file.



 Can you build things from source?  Does your Solaris box have all of the 
 latest patches?

 Where did you get 1.3.26?  There's a 1.3.27 at http://www.sunfreeware.com 
 for Solaris 2.6.

 John

 On Mon, 16 Jun 2003 07:25:51 -0700, Thomas, Kevin [EMAIL PROTECTED] 
 wrote:

 Latest issue is:

 ld.so.1:
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd: 
 fatal:
 libpthread.so.1: version `SUNW_1.2' not found (required by file
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd)
 Killed
 bin/apachectl start: httpd could not be started

 After installing Apache 1.3.26. Using mod_jk-1.3-noeapi.so

 K.

 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED]
 Sent: 16 June 2003 15:02
 To: Tomcat Users List
 Subject: Re: Question regarding tomcat-apache.conf file.



 Can you tell us what platform you're using?  Can you confirm exactly 
 what Apache version you have?

 JK and JK2 are Apache version sensitive.  You could easily spend many 
 hours trying various binary files without results because of 
 incompatibilities.  If you tell us what you need, we can help you 
 faster.

 Regarding the error message, does your Apache include mod_dir?

 John

 On Mon, 16 Jun 2003 06:41:24 -0700, Thomas, Kevin 
 [EMAIL PROTECTED] wrote:

 Hmm, got this error while using mod_jk-1.2.2.so

 Syntax error on line 233 of
 /ki- 
 sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
 Cannot load
 /ki- 
 sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
 1.2
 .2.so into server: ld.so.1:
 /ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: 
 fatal:
 relocation error: file
 /ki- 
 sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
 1.2
 .2.so: symbol dir_module: referenced symbol not found
 bin/apachectl start: httpd could not be started



 -Original Message-
 From: stephan beal [mailto:[EMAIL PROTECTED]
 Sent: 16 June 2003 14:20
 To: Tomcat Users List
 Subject: Re: Question regarding tomcat-apache.conf file.


 On Monday 16 June 2003 14:56, John Turner wrote:
 No, its saying that the wrong (incompatible) .so file is being used.

 Apache 1.3.6 is ancient...I doubt any of the JK sources will work
 with it, and there have been 21 revisions to the 1.3 source since
 (currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
 foremost upgrade your Apache.  If you can't upgrade for some reason,
 you will have to build your own mod_jk from source, and my guess is
 it won't be easy.

 i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
 building mod_jk until ~1.2.3pre. Eventually i was able to build that 
 and 1.2.4, but had to jump through some hoops to do so.

 In the hope that they may save someone some effort, i've posted some 
 mod_jk bins for Solaris 8:

 http://stephan.rootonfire.org/mod_jk/

 a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
 These bins are only known to work with Apache 1.3.27.











-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

-
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: Question regarding tomcat-apache.conf file.

2003-06-16 Thread John Turner
Well, you may be stuck...the libpthread error indicates a problem with 
system libraries...implies the need for an admin.

John

On Mon, 16 Jun 2003 08:10:37 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

Actually, I don't have it installed as root at all, no permissions to do 
so,
it's a long story involving politics and it's only a dev box.  :O)

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 16:01
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.


Well, I think you may be stuck.  Your last error is regarding 
libpthread.so, which is not Tomcat related, or even Apache/Mod_JK 
related.

You can looking for libpthread.so* and symlinking whatever you find to 
the file that the error message mentions.

I'm curious, though...you want to run Apache, that means you have root 
access (generally).  How can you not also build things from source or 
otherwise access pkgadd?

John

On Mon, 16 Jun 2003 07:52:09 -0700, Thomas, Kevin [EMAIL PROTECTED] 
wrote:

LOL...you've probably already anticipated the answer to the first
question...No, I'm afraid I can't build from source.
1.3.26 came from apache.org. I don't have access to pkgadd so 1.3.27 
from
sunfreeware is not an option (I don't think).



-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 15:32
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.


Can you build things from source?  Does your Solaris box have all of the 
latest patches?

Where did you get 1.3.26?  There's a 1.3.27 at 
http://www.sunfreeware.com for Solaris 2.6.

John

On Mon, 16 Jun 2003 07:25:51 -0700, Thomas, Kevin 
[EMAIL PROTECTED] wrote:

Latest issue is:

ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd: 
fatal:
libpthread.so.1: version `SUNW_1.2' not found (required by file
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.26/bin/httpd)
Killed
bin/apachectl start: httpd could not be started

After installing Apache 1.3.26. Using mod_jk-1.3-noeapi.so

K.

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 15:02
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.


Can you tell us what platform you're using?  Can you confirm exactly 
what Apache version you have?

JK and JK2 are Apache version sensitive.  You could easily spend many 
hours trying various binary files without results because of 
incompatibilities.  If you tell us what you need, we can help you 
faster.

Regarding the error message, does your Apache include mod_dir?

John

On Mon, 16 Jun 2003 06:41:24 -0700, Thomas, Kevin 
[EMAIL PROTECTED] wrote:

Hmm, got this error while using mod_jk-1.2.2.so

Syntax error on line 233 of
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/conf/httpd.conf:
Cannot load
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
1.2
.2.so into server: ld.so.1:
/ki-sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/bin/httpd: 
fatal:
relocation error: file
/ki- 
sun4k2/export/home/apt2/ta_web/webserver/apache_1.3.6/libexec/mod_jk- 
1.2
.2.so: symbol dir_module: referenced symbol not found
bin/apachectl start: httpd could not be started



-Original Message-
From: stephan beal [mailto:[EMAIL PROTECTED]
Sent: 16 June 2003 14:20
To: Tomcat Users List
Subject: Re: Question regarding tomcat-apache.conf file.
On Monday 16 June 2003 14:56, John Turner wrote:
No, its saying that the wrong (incompatible) .so file is being used.

Apache 1.3.6 is ancient...I doubt any of the JK sources will work
with it, and there have been 21 revisions to the 1.3 source since
(currently at 1.3.27).  If 1.3.6 isn't a typo, you should first and
foremost upgrade your Apache.  If you can't upgrade for some reason,
you will have to build your own mod_jk from source, and my guess is
it won't be easy.
i'm using Apache 1.3.x (.27 at the moment), and never had any problems 
building mod_jk until ~1.2.3pre. Eventually i was able to build that 
and 1.2.4, but had to jump through some hoops to do so.

In the hope that they may save someone some effort, i've posted some 
mod_jk bins for Solaris 8:

http://stephan.rootonfire.org/mod_jk/

a few moments ago i added a 1.2.2 and a 1.2.3pre-ish version.
These bins are only known to work with Apache 1.3.27.












--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Question regarding tomcat-apache.conf file.

2003-06-16 Thread Jason Bainbridge
On Mon, 16 Jun 2003 23:16, John Turner wrote:
 Well, you may be stuck...the libpthread error indicates a problem with
 system libraries...implies the need for an admin.

 John

Well going by a Quake FAQ of all things:

http://www.planetquake.com/eclipse/q2bug.shtml

It would seem the version of solaris being used is incompatible with the 
binary of mod_jk.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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



RE: question on creating a file download servlet

2003-06-09 Thread Shapira, Yoav

Howdy,
Use the content-disposition header:
http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index3.html

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Mark W. Webb [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:34 PM
To: [EMAIL PROTECTED]
Subject: question on creating a file download servlet

I need to write a servlet that handles file downloads, so that I can
audit
who downloaded from where, when..etc.

When I click on the link to download a file, the Save As window comes
up
in my browser(Netscape), and as a default filename I get the servlet
name.
Is there a way to list the actual filename in the Save As window ?



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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: question on creating a file download servlet

2003-06-09 Thread Mark W. Webb
...thank you.

Shapira, Yoav wrote:

Howdy,
Use the content-disposition header:
http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index3.html
Yoav Shapira
Millennium ChemInformatics
 

-Original Message-
From: Mark W. Webb [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:34 PM
To: [EMAIL PROTECTED]
Subject: question on creating a file download servlet
I need to write a servlet that handles file downloads, so that I can
   

audit
 

who downloaded from where, when..etc.

When I click on the link to download a file, the Save As window comes
   

up
 

in my browser(Netscape), and as a default filename I get the servlet
   

name.
 

Is there a way to list the actual filename in the Save As window ?



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





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.

-
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: question on creating a file download servlet

2003-06-09 Thread budi

check this out:

http://www.fawcette.com/javapro/2002_03/online/online_eprods/servlets_03_08/

budi


   ---Original Message---
From: Mark W. Webb 
Subject: question on creating a file download servlet
Sent: 09 Jun 2003 19:33:37
   
   
 I need to write a servlet that handles file downloads, so that I can audit who 
downloaded from where, when..etc.  
   
 When I click on the link to download a file, the Save As window comes up in my 
browser(Netscape), and as a default filename I get the servlet name.  Is there a way 
to list the actual filename in the Save As window ?
   
   
   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
   
   ---Original Message---




RE: Question about JavaBeans

2003-06-05 Thread Shapira, Yoav

Howdy,

It gave me error.)

What error?

Also I have some doubts to clarify.
1)   Do I need to have the WEB-INF folder in every context
directory?

No.  One WEB-INF per webapp, under the webapp docBase.

2)   Do I need to create a web.xml at this stage where I just
making
use of this simple javabeans?

Yes, always need a web.xml.

Can anyone tell me where should the proper place to store the bean
(.class) file??

It's fine where you have it now.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: question on storing application level config information

2003-03-31 Thread Shapira, Yoav

Howdy,
It'd be very difficult for this mechanism to figure out what the object
type in your serialized files is, wouldn't it?  ;)

What you can do:

- Deserialize the files on startup, into some object (let's call it
MyServletConfig).

- Write or use (they are a dime a dozen out there) a FileWatchdog, which
checks a file every x seconds to see if it has been modified.  If so, it
sends an event to your MyServletConfig or somewhere else, which re-reads
the servlet config.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Mark W. Webb [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 9:55 AM
To: [EMAIL PROTECTED]
Subject: question on storing application level config information

I have some config information that I set up for my servlets.  This
information is stored in serialized files.  I will need my servlets to
access this information in their normal processing.  Is there some
mechanism either in the servlet API or tomcat that will allow me to
'cache' this information and dynamically update the information as the
serialized files are changed?

Thank you.



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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: question on storing application level config information

2003-03-31 Thread Mark W. Webb
thanks for the information.  The serialized files would have a mapping 
from file-class.  This would make the deserialization simple.  

Thank you for the information.  This is what I had designed, but was 
hoping that tomcat had some way of telling the servlets to reload 
configuration information.

Shapira, Yoav wrote:

Howdy,
It'd be very difficult for this mechanism to figure out what the object
type in your serialized files is, wouldn't it?  ;)  

What you can do:

- Deserialize the files on startup, into some object (let's call it
MyServletConfig).
- Write or use (they are a dime a dozen out there) a FileWatchdog, which
checks a file every x seconds to see if it has been modified.  If so, it
sends an event to your MyServletConfig or somewhere else, which re-reads
the servlet config.
Yoav Shapira
Millennium ChemInformatics
 

-Original Message-
From: Mark W. Webb [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 9:55 AM
To: [EMAIL PROTECTED]
Subject: question on storing application level config information
I have some config information that I set up for my servlets.  This
information is stored in serialized files.  I will need my servlets to
access this information in their normal processing.  Is there some
mechanism either in the servlet API or tomcat that will allow me to
'cache' this information and dynamically update the information as the
serialized files are changed?
Thank you.



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





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.

 

--
Mark Webb
Software Engineer
Dolphin Technology
474 Phoenix Drive
Rome, NY  13441-4911
	
Phone : 315.838.7000 
 : 315.838.7024	
Fax   : 315.838.7096
Email : [EMAIL PROTECTED]





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


RE: Question about AutoDeployment Feature of 4.1.18

2003-03-20 Thread Gerstel, Rachel
Thanks Jacob for you reply, but I am wondering - if I have no existing
directory, just a new .war file - should it unpack without a restart of
tomcat or a call to the tomcat manager application? Does the running server
know that a new war has been placed into webapps instinctively and unpack it
with no intervention from myself? If so, then I must have something wrong
with my config because it isn't doing this. :--)

-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 3:12 PM
To: Tomcat Users List
Subject: RE: Question about AutoDeployment Feature of 4.1.18



If there is already a directory there, the .war will *not* be unpacked even 
if you drop a new one in.  Also, if you have defined a Context ... for 
your app, the .war will, again, *not* be unpacked.

The only time when the .war will be unpacked is if a directory doesn't 
already exist in the webapps directory which matches the name of your .war 
file (less the .war extension, of course).

Jake

At 12:26 PM 3/18/2003 +0100, you wrote:
I want to make sure that I have configured it correctly and it is running
the way it should - for the developers with regard to actually deploying
automagically.

They want to be able to add a war file into webapps - while the server is
running - and it is automatically deployed with no intervention - either
from a server restart or via the manager.

I found this on the doc page for AutomaticApplicationDeployment(
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%
2
0Application%20Deployment ):

In addition to the automatic deployment that occurs at startup time, you
can also request that new XML configuration files, WAR files, or
subdirectories (containing web applications) that are dropped in to the
appBase directory while Tomcat is running will be automatically deployed,
according to the rules described above.

I was told this does happen in NT, but it doesn't seem to be working on my
unix box - host set-up as follows:

   Host name=coffee addressip.is.here debug=0 appBase=webapps
unpackWARs=true autoDeploy=true

Thanks again,
Rachel
-Original Message-
From: Jamesey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 12:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about AutoDeployment Feature of 4.1.18


Rachel

I been using 4.1.18 alot lately and i've been frustrated by the fact that i
have to delete the unpacked war file directory  and the war file itself
every time i redeploy.. i beleive there is a way to make tomcat not unpack
the war file .. something lik host unpackWar=false but i havent tried it
myself.

James


Gerstel, Rachel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
c
om...
 
  Hi All,
 
  Could someone please confirm how autoDeploy is supposed to work:
 
  You put a war file into webapps and then:
 
  1.) Either restart the webserver and the war file is unpacked and a
  directory is created.
 
  or
 
  2.) Use the manager tool to deploy the war file - or if the app was
already
  there, then it can reload it.
 
  Is it possible for you to copy of war file into webapps and a running
tomcat
  server will see it is there an automatically deploy it on it's own with
no
  intervention?
 
  And, if the old unpacked app is there and you copy in a new war file and
  restart - does it create a new directory, overwriting the old one. Or
should
  it only change files that are different from the new war file and the
old
  app - or should it see that there is an old app that hasn't been removed
and
  do nothing?
 
  I have been reading up on this and then got a developer account that
  differed from what I read so I was wondering if anyone else could
clarify
it
  further.
 
  Thanks,
  Rachel




-
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: Question about AutoDeployment Feature of 4.1.18

2003-03-20 Thread Jacob Kjome
You didn't clarify whether you have a Context ... entry for your app in 
server.xml or a context configuration file.  If you do, then no, your .war 
file won't be automatically expanded.  However, if you don't, with the 
default setup, if you drop your.war file into the webapps directory, it 
should be autoexpanded and that directory autodeployed.  If this is no 
happening under said circumstances, then yes, something is wrong with your 
setup.

Jake

At 09:50 AM 3/20/2003 +0100, you wrote:
Thanks Jacob for you reply, but I am wondering - if I have no existing
directory, just a new .war file - should it unpack without a restart of
tomcat or a call to the tomcat manager application? Does the running server
know that a new war has been placed into webapps instinctively and unpack it
with no intervention from myself? If so, then I must have something wrong
with my config because it isn't doing this. :--)
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 3:12 PM
To: Tomcat Users List
Subject: RE: Question about AutoDeployment Feature of 4.1.18


If there is already a directory there, the .war will *not* be unpacked even
if you drop a new one in.  Also, if you have defined a Context ... for
your app, the .war will, again, *not* be unpacked.
The only time when the .war will be unpacked is if a directory doesn't
already exist in the webapps directory which matches the name of your .war
file (less the .war extension, of course).
Jake

At 12:26 PM 3/18/2003 +0100, you wrote:
I want to make sure that I have configured it correctly and it is running
the way it should - for the developers with regard to actually deploying
automagically.

They want to be able to add a war file into webapps - while the server is
running - and it is automatically deployed with no intervention - either
from a server restart or via the manager.

I found this on the doc page for AutomaticApplicationDeployment(
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%
2
0Application%20Deployment ):

In addition to the automatic deployment that occurs at startup time, you
can also request that new XML configuration files, WAR files, or
subdirectories (containing web applications) that are dropped in to the
appBase directory while Tomcat is running will be automatically deployed,
according to the rules described above.

I was told this does happen in NT, but it doesn't seem to be working on my
unix box - host set-up as follows:

   Host name=coffee addressip.is.here debug=0 appBase=webapps
unpackWARs=true autoDeploy=true

Thanks again,
Rachel
-Original Message-
From: Jamesey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 12:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about AutoDeployment Feature of 4.1.18


Rachel

I been using 4.1.18 alot lately and i've been frustrated by the fact that i
have to delete the unpacked war file directory  and the war file itself
every time i redeploy.. i beleive there is a way to make tomcat not unpack
the war file .. something lik host unpackWar=false but i havent tried it
myself.

James


Gerstel, Rachel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
c
om...
 
  Hi All,
 
  Could someone please confirm how autoDeploy is supposed to work:
 
  You put a war file into webapps and then:
 
  1.) Either restart the webserver and the war file is unpacked and a
  directory is created.
 
  or
 
  2.) Use the manager tool to deploy the war file - or if the app was
already
  there, then it can reload it.
 
  Is it possible for you to copy of war file into webapps and a running
tomcat
  server will see it is there an automatically deploy it on it's own with
no
  intervention?
 
  And, if the old unpacked app is there and you copy in a new war file and
  restart - does it create a new directory, overwriting the old one. Or
should
  it only change files that are different from the new war file and the
old
  app - or should it see that there is an old app that hasn't been removed
and
  do nothing?
 
  I have been reading up on this and then got a developer account that
  differed from what I read so I was wondering if anyone else could
clarify
it
  further.
 
  Thanks,
  Rachel




-
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: Question about AutoDeployment Feature of 4.1.18

2003-03-18 Thread graghupathy
One thing you can do is in the host unpackWARs=false and 
then each time you put your war file it will use the latest one ..
Hope this helps 


-Original Message-
From: Gerstel, Rachel [mailto:[EMAIL PROTECTED]
Sent: 18 March 2003 10:57
To: 'Tomcat Users List'
Subject: Question about AutoDeployment Feature of 4.1.18



Hi All,

Could someone please confirm how autoDeploy is supposed to work:

You put a war file into webapps and then:

1.) Either restart the webserver and the war file is unpacked and a
directory is created.

or

2.) Use the manager tool to deploy the war file - or if the app was already
there, then it can reload it.

Is it possible for you to copy of war file into webapps and a running tomcat
server will see it is there an automatically deploy it on it's own with no
intervention?

And, if the old unpacked app is there and you copy in a new war file and
restart - does it create a new directory, overwriting the old one. Or should
it only change files that are different from the new war file and the old
app - or should it see that there is an old app that hasn't been removed and
do nothing?

I have been reading up on this and then got a developer account that
differed from what I read so I was wondering if anyone else could clarify it
further.

Thanks,
Rachel

-
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: Question about AutoDeployment Feature of 4.1.18

2003-03-18 Thread Jamesey
Rachel

I been using 4.1.18 alot lately and i've been frustrated by the fact that i
have to delete the unpacked war file directory  and the war file itself
every time i redeploy.. i beleive there is a way to make tomcat not unpack
the war file .. something lik host unpackWar=false but i havent tried it
myself.

James


Gerstel, Rachel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
om...

 Hi All,

 Could someone please confirm how autoDeploy is supposed to work:

 You put a war file into webapps and then:

 1.) Either restart the webserver and the war file is unpacked and a
 directory is created.

 or

 2.) Use the manager tool to deploy the war file - or if the app was
already
 there, then it can reload it.

 Is it possible for you to copy of war file into webapps and a running
tomcat
 server will see it is there an automatically deploy it on it's own with no
 intervention?

 And, if the old unpacked app is there and you copy in a new war file and
 restart - does it create a new directory, overwriting the old one. Or
should
 it only change files that are different from the new war file and the old
 app - or should it see that there is an old app that hasn't been removed
and
 do nothing?

 I have been reading up on this and then got a developer account that
 differed from what I read so I was wondering if anyone else could clarify
it
 further.

 Thanks,
 Rachel




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



RE: Question about AutoDeployment Feature of 4.1.18

2003-03-18 Thread Gerstel, Rachel
I want to make sure that I have configured it correctly and it is running
the way it should - for the developers with regard to actually deploying
automagically.

They want to be able to add a war file into webapps - while the server is
running - and it is automatically deployed with no intervention - either
from a server restart or via the manager.

I found this on the doc page for AutomaticApplicationDeployment(
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%2
0Application%20Deployment ):

In addition to the automatic deployment that occurs at startup time, you
can also request that new XML configuration files, WAR files, or
subdirectories (containing web applications) that are dropped in to the
appBase directory while Tomcat is running will be automatically deployed,
according to the rules described above.

I was told this does happen in NT, but it doesn't seem to be working on my
unix box - host set-up as follows:

  Host name=coffee addressip.is.here debug=0 appBase=webapps
unpackWARs=true autoDeploy=true

Thanks again,
Rachel
-Original Message-
From: Jamesey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 12:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about AutoDeployment Feature of 4.1.18


Rachel

I been using 4.1.18 alot lately and i've been frustrated by the fact that i
have to delete the unpacked war file directory  and the war file itself
every time i redeploy.. i beleive there is a way to make tomcat not unpack
the war file .. something lik host unpackWar=false but i havent tried it
myself.

James


Gerstel, Rachel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
om...

 Hi All,

 Could someone please confirm how autoDeploy is supposed to work:

 You put a war file into webapps and then:

 1.) Either restart the webserver and the war file is unpacked and a
 directory is created.

 or

 2.) Use the manager tool to deploy the war file - or if the app was
already
 there, then it can reload it.

 Is it possible for you to copy of war file into webapps and a running
tomcat
 server will see it is there an automatically deploy it on it's own with no
 intervention?

 And, if the old unpacked app is there and you copy in a new war file and
 restart - does it create a new directory, overwriting the old one. Or
should
 it only change files that are different from the new war file and the old
 app - or should it see that there is an old app that hasn't been removed
and
 do nothing?

 I have been reading up on this and then got a developer account that
 differed from what I read so I was wondering if anyone else could clarify
it
 further.

 Thanks,
 Rachel




-
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: Question about AutoDeployment Feature of 4.1.18

2003-03-18 Thread Jacob Kjome
If there is already a directory there, the .war will *not* be unpacked even 
if you drop a new one in.  Also, if you have defined a Context ... for 
your app, the .war will, again, *not* be unpacked.

The only time when the .war will be unpacked is if a directory doesn't 
already exist in the webapps directory which matches the name of your .war 
file (less the .war extension, of course).

Jake

At 12:26 PM 3/18/2003 +0100, you wrote:
I want to make sure that I have configured it correctly and it is running
the way it should - for the developers with regard to actually deploying
automagically.
They want to be able to add a war file into webapps - while the server is
running - and it is automatically deployed with no intervention - either
from a server restart or via the manager.
I found this on the doc page for AutomaticApplicationDeployment(
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%2
0Application%20Deployment ):
In addition to the automatic deployment that occurs at startup time, you
can also request that new XML configuration files, WAR files, or
subdirectories (containing web applications) that are dropped in to the
appBase directory while Tomcat is running will be automatically deployed,
according to the rules described above.
I was told this does happen in NT, but it doesn't seem to be working on my
unix box - host set-up as follows:
  Host name=coffee addressip.is.here debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
Thanks again,
Rachel
-Original Message-
From: Jamesey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 12:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Question about AutoDeployment Feature of 4.1.18
Rachel

I been using 4.1.18 alot lately and i've been frustrated by the fact that i
have to delete the unpacked war file directory  and the war file itself
every time i redeploy.. i beleive there is a way to make tomcat not unpack
the war file .. something lik host unpackWar=false but i havent tried it
myself.
James

Gerstel, Rachel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
om...

 Hi All,

 Could someone please confirm how autoDeploy is supposed to work:

 You put a war file into webapps and then:

 1.) Either restart the webserver and the war file is unpacked and a
 directory is created.

 or

 2.) Use the manager tool to deploy the war file - or if the app was
already
 there, then it can reload it.

 Is it possible for you to copy of war file into webapps and a running
tomcat
 server will see it is there an automatically deploy it on it's own with no
 intervention?

 And, if the old unpacked app is there and you copy in a new war file and
 restart - does it create a new directory, overwriting the old one. Or
should
 it only change files that are different from the new war file and the old
 app - or should it see that there is an old app that hasn't been removed
and
 do nothing?

 I have been reading up on this and then got a developer account that
 differed from what I read so I was wondering if anyone else could clarify
it
 further.

 Thanks,
 Rachel


-
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: question

2003-03-09 Thread Reynir Hübner
You can set up virtual hosts with tomcat. 

You should set up another HTTP server  (such as apache, IIS) if you want to use 
apaches capabilities and performance. 
Obviously having tomcat delivering static documents, such as images and .html can be a 
waste of resource. 

Performance is the biggest single reason to intergrate with apache. This dependes on 
the type of application you are using, and how big part of it is static content rather 
than dynamic content such as servlets/jsp. 

Then of course know-how of the people that will be running the system long term is 
very often a reason enough to deploy with either apache or IIS, as they don't 
neccesarily know how to configure tomcats security, but know how to do it in 
IIS/apache. 

Hope it helps, 

-reynir


 -Original Message-
 From: Paul Hsu [mailto:[EMAIL PROTECTED] 
 Sent: 9. mars 2003 16:53
 To: Tomcat Users List
 Subject: question
 
 
 Hi,
 
 I know tomcat already provide web server capability, under 
 what knid circustance you need to intergrate apache with 
 tomcat. My thinking is when you want to set up virtual host. 
 I don't know this answer is correct? If any one can give me 
 advice, thank you in advance.
 
 Paul
 

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



Re: question

2003-03-09 Thread Jake Robb
I have heard that Apache is much more robust than Tomcat, in particular from
a security standpoint (i.e., it is harder to hack).

I run a site in which there are almost no static resources -- one logo image
at the top of the page gets cached, and most of the rest is dynamic JSP
content.  We use Apache to serve our static content and to redirect JSP
requests to Tomcat, mostly because the powers that be in my company are
paranoid about getting hacked, and they heard this was the safest method.

Does anyone know how true that is?  How secure is Tomcat's HTTP server from
a hacking standpoint?

-Jake

Reynir Hübner wrote:

 You can set up virtual hosts with tomcat.
 
 You should set up another HTTP server  (such as apache, IIS) if you want to
 use apaches capabilities and performance.
 Obviously having tomcat delivering static documents, such as images and .html
 can be a waste of resource.
 
 Performance is the biggest single reason to intergrate with apache. This
 dependes on the type of application you are using, and how big part of it is
 static content rather than dynamic content such as servlets/jsp.
 
 Then of course know-how of the people that will be running the system long
 term is very often a reason enough to deploy with either apache or IIS, as
 they don't neccesarily know how to configure tomcats security, but know how to
 do it in IIS/apache.
 
 Hope it helps, 
 
 -reynir
 
 
 -Original Message-
 From: Paul Hsu [mailto:[EMAIL PROTECTED]
 Sent: 9. mars 2003 16:53
 To: Tomcat Users List
 Subject: question
 
 
 Hi,
 
 I know tomcat already provide web server capability, under
 what knid circustance you need to intergrate apache with
 tomcat. My thinking is when you want to set up virtual host.
 I don't know this answer is correct? If any one can give me
 advice, thank you in advance.
 
 Paul
 
 
 -
 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: question

2003-03-09 Thread Paul Hsu
Reynir,

Thank you for your advice. So the main reason to intergrate with Apache is
using Apache to ease the load from Tomcat. In other word, every static
content will be rendered by Apache without Tomcat. If a web application use
dynamic content mechanism such as JSP/Servlet, then the integration won't
benifit us at all. Am I correct. I know some one use Apache for traffic load
balance only.

thanks

Paul
- Original Message -
From: Reynir Hübner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 8:59 AM
Subject: RE: question


You can set up virtual hosts with tomcat.

You should set up another HTTP server  (such as apache, IIS) if you want to
use apaches capabilities and performance.
Obviously having tomcat delivering static documents, such as images and
.html can be a waste of resource.

Performance is the biggest single reason to intergrate with apache. This
dependes on the type of application you are using, and how big part of it is
static content rather than dynamic content such as servlets/jsp.

Then of course know-how of the people that will be running the system long
term is very often a reason enough to deploy with either apache or IIS, as
they don't neccesarily know how to configure tomcats security, but know how
to do it in IIS/apache.

Hope it helps,

-reynir


 -Original Message-
 From: Paul Hsu [mailto:[EMAIL PROTECTED]
 Sent: 9. mars 2003 16:53
 To: Tomcat Users List
 Subject: question


 Hi,

 I know tomcat already provide web server capability, under
 what knid circustance you need to intergrate apache with
 tomcat. My thinking is when you want to set up virtual host.
 I don't know this answer is correct? If any one can give me
 advice, thank you in advance.

 Paul


-
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: question

2003-03-09 Thread J Aaron Farr
On Sun, 2003-03-09 at 11:59, Reynir Hbner wrote:
 You can set up virtual hosts with tomcat. 
 
 You should set up another HTTP server  (such as apache, IIS) if you want to use 
 apaches capabilities and performance. 
 Obviously having tomcat delivering static documents, such as images and .html can be 
 a waste of resource. 
 
 Performance is the biggest single reason to intergrate with apache. This dependes on 
 the type of application you are using, and how big part of it is static content 
 rather than dynamic content such as servlets/jsp. 
 
 Then of course know-how of the people that will be running the system long term is 
 very often a reason enough to deploy with either apache or IIS, as they don't 
 neccesarily know how to configure tomcats security, but know how to do it in 
 IIS/apache. 
 
 Hope it helps, 
 
 -reynir
 

Wouldn't another reason be if you want to run other CGI programs that
tomcat does not handle, ie - PHP ?

-- 
  jaaron[EMAIL PROTECTED]


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



RE: question

2003-03-09 Thread Reynir Hübner
I'm running CGI (.pl) programs on a tomcat instance here, there are PHP servlets 
available so I guess you should be able to run that too..
-reynir.net




 -Original Message-
 From: J Aaron Farr [mailto:[EMAIL PROTECTED] 
 Sent: 9. mars 2003 17:26
 To: Tomcat Users List
 Subject: RE: question
 
 
 On Sun, 2003-03-09 at 11:59, Reynir Hübner wrote:
  You can set up virtual hosts with tomcat.
  
  You should set up another HTTP server  (such as apache, IIS) if you 
  want to use apaches capabilities and performance.
  Obviously having tomcat delivering static documents, such 
 as images and .html can be a waste of resource. 
  
  Performance is the biggest single reason to intergrate with apache. 
  This dependes on the type of application you are using, and 
 how big part of it is static content rather than dynamic 
 content such as servlets/jsp.
  
  Then of course know-how of the people that will be running 
 the system 
  long term is very often a reason enough to deploy with 
 either apache or IIS, as they don't neccesarily know how to 
 configure tomcats security, but know how to do it in IIS/apache.
  
  Hope it helps,
  
  -reynir
  
 
 Wouldn't another reason be if you want to run other CGI 
 programs that tomcat does not handle, ie - PHP ?
 
 -- 
   jaaron[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: question

2003-03-09 Thread Reynir Hübner
Hi, 

In my experience a machine running an application only with jsps/servlets (with no 
static content) is under more load with apache than without apache configured. I must 
though add, that my load testing where done at least 6-8 months ago, both with IIS 5 
and apache 1.3, but never with https connector, or mod_jk2 or apache2. 

Yet there may be other reasons to use apache such as security (as mentioned in another 
email), or the know how of the one to run the system on daily bases longterm. 

Hope it helps
-reynir
 

 -Original Message-
 From: Paul Hsu [mailto:[EMAIL PROTECTED] 
 Sent: 9. mars 2003 17:14
 To: Tomcat Users List
 Subject: Re: question
 
 
 Reynir,
 
 Thank you for your advice. So the main reason to intergrate 
 with Apache is using Apache to ease the load from Tomcat. In 
 other word, every static content will be rendered by Apache 
 without Tomcat. If a web application use dynamic content 
 mechanism such as JSP/Servlet, then the integration won't 
 benifit us at all. Am I correct. I know some one use Apache 
 for traffic load balance only.
 
 thanks
 
 Paul
 - Original Message -
 From: Reynir Hübner [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Sunday, March 09, 2003 8:59 AM
 Subject: RE: question
 
 
 You can set up virtual hosts with tomcat.
 
 You should set up another HTTP server  (such as apache, IIS) 
 if you want to use apaches capabilities and performance. 
 Obviously having tomcat delivering static documents, such as 
 images and .html can be a waste of resource.
 
 Performance is the biggest single reason to intergrate with 
 apache. This dependes on the type of application you are 
 using, and how big part of it is static content rather than 
 dynamic content such as servlets/jsp.
 
 Then of course know-how of the people that will be running 
 the system long term is very often a reason enough to deploy 
 with either apache or IIS, as they don't neccesarily know how 
 to configure tomcats security, but know how to do it in IIS/apache.
 
 Hope it helps,
 
 -reynir
 
 
  -Original Message-
  From: Paul Hsu [mailto:[EMAIL PROTECTED]
  Sent: 9. mars 2003 16:53
  To: Tomcat Users List
  Subject: question
 
 
  Hi,
 
  I know tomcat already provide web server capability, under 
 what knid 
  circustance you need to intergrate apache with tomcat. My 
 thinking is 
  when you want to set up virtual host. I don't know this answer is 
  correct? If any one can give me advice, thank you in advance.
 
  Paul
 
 
 -
 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: question

2003-03-09 Thread Georges Roux
You don't need apache, I use iptables to redirect the port 80 to 8080 
and 443 to 8443, and Tomcat Standalone isn't root.

Georges

Reynir Hübner wrote:

Hi, 

In my experience a machine running an application only with jsps/servlets (with no static content) is under more load with apache than without apache configured. I must though add, that my load testing where done at least 6-8 months ago, both with IIS 5 and apache 1.3, but never with https connector, or mod_jk2 or apache2. 

Yet there may be other reasons to use apache such as security (as mentioned in another email), or the know how of the one to run the system on daily bases longterm. 

Hope it helps
-reynir
 

-Original Message-
From: Paul Hsu [mailto:[EMAIL PROTECTED] 
Sent: 9. mars 2003 17:14
To: Tomcat Users List
Subject: Re: question

Reynir,

Thank you for your advice. So the main reason to intergrate 
with Apache is using Apache to ease the load from Tomcat. In 
other word, every static content will be rendered by Apache 
without Tomcat. If a web application use dynamic content 
mechanism such as JSP/Servlet, then the integration won't 
benifit us at all. Am I correct. I know some one use Apache 
for traffic load balance only.

thanks

Paul
- Original Message -
From: Reynir Hübner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 8:59 AM
Subject: RE: question
You can set up virtual hosts with tomcat.

You should set up another HTTP server  (such as apache, IIS) 
if you want to use apaches capabilities and performance. 
Obviously having tomcat delivering static documents, such as 
images and .html can be a waste of resource.

Performance is the biggest single reason to intergrate with 
apache. This dependes on the type of application you are 
using, and how big part of it is static content rather than 
dynamic content such as servlets/jsp.

Then of course know-how of the people that will be running 
the system long term is very often a reason enough to deploy 
with either apache or IIS, as they don't neccesarily know how 
to configure tomcats security, but know how to do it in IIS/apache.

Hope it helps,

-reynir

   

-Original Message-
From: Paul Hsu [mailto:[EMAIL PROTECTED]
Sent: 9. mars 2003 16:53
To: Tomcat Users List
Subject: question
Hi,

I know tomcat already provide web server capability, under 
 

what knid 
   

circustance you need to intergrate apache with tomcat. My 
 

thinking is 
   

when you want to set up virtual host. I don't know this answer is 
correct? If any one can give me advice, thank you in advance.

Paul

 

-
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]
 



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


Re: question

2003-03-09 Thread Tim Funk
I just added this to my FAQ.
http://tomcatfaq.sourceforge.net/apache.html
To keep the noise down, complain to me in private if your opinion 
differs (or you think I'm wacko) and I'll try to update it accordingly.

-Tim

Paul Hsu wrote:
Hi,

I know tomcat already provide web server capability, under what knid circustance you need to intergrate apache with tomcat. My thinking is when you want to set up virtual host. I don't know this answer is correct? If any one can give me advice, thank you in advance.

Paul


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


RE: question

2003-03-09 Thread Brian Menke
This was perfect! Thanks!

-Brian

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 11:35 AM
To: Tomcat Users List
Subject: Re: question


I just added this to my FAQ.
http://tomcatfaq.sourceforge.net/apache.html

To keep the noise down, complain to me in private if your opinion
differs (or you think I'm wacko) and I'll try to update it accordingly.

-Tim

Paul Hsu wrote:
 Hi,

 I know tomcat already provide web server capability, under what knid
circustance you need to intergrate apache with tomcat. My thinking is when
you want to set up virtual host. I don't know this answer is correct? If any
one can give me advice, thank you in advance.

 Paul


-
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: Question about building jakarta-tomcat-connectors-4.1.18-src

2003-02-19 Thread pqin
Servlet.jar is not in your classpath

Regards,
 
 
PQ
 
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing

-Original Message-
From: Ryan Dooley [mailto:[EMAIL PROTECTED]] 
Sent: February 19, 2003 12:57 PM
To: [EMAIL PROTECTED]
Subject: Question about building jakarta-tomcat-connectors-4.1.18-src

Hi,

I'm having issues building the jakarta-tomcat-connectors (4.1.18) from 
source.  The build environment is:

server platform: redhat linux 7.3
java version: j2sdk 1.4.1_01
ant version: 1.5
tomcat version: 4.1.18

I've setup up the environment for JAVA_HOME, CATALINA_HOME, PATH, etc.

The errors I'm getting are:

jkjava:
[javac] Compiling 31 source files to 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/build/classes
[javac] 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/co
mmon/JkInputStream.java:66: 
package javax.servlet does not exist
[javac] import javax.servlet.ServletInputStream;
[javac]  ^
[javac] 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/co
mmon/JkInputStream.java:67: 
package javax.servlet.http does not exist
[javac] import javax.servlet.http.HttpServletRequest;
[javac]   ^
[javac] 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/co
mmon/JkInputStream.java:68: 
package javax.servlet.http does not exist
[javac] import javax.servlet.http.Cookie;
[javac]   ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 3 errors

Any help would be appreciated.
Cheers,
Ryan


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



RE: Question about building jakarta-tomcat-connectors-4.1.18-src

2003-02-19 Thread Turner, John

In my opinion you will have a much easier time of it if you use configure
instead:

./configure --with-apxs=/path/to/apache/bin/apxs
make
make install

I've had all kinds of problems with ant on RH 7.2 trying to build the
connectors.  The configure method is painless.

John

 -Original Message-
 From: Ryan Dooley [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 19, 2003 12:57 PM
 To: [EMAIL PROTECTED]
 Subject: Question about building jakarta-tomcat-connectors-4.1.18-src
 
 
 Hi,
 
 I'm having issues building the jakarta-tomcat-connectors 
 (4.1.18) from 
 source.  The build environment is:
 
 server platform: redhat linux 7.3
 java version: j2sdk 1.4.1_01
 ant version: 1.5
 tomcat version: 4.1.18
 
 I've setup up the environment for JAVA_HOME, CATALINA_HOME, PATH, etc.
 
 The errors I'm getting are:
 
 jkjava:
 [javac] Compiling 31 source files to 
 /usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/build/classes
 [javac] 
 /usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/or
 g/apache/jk/common/JkInputStream.java:66: 
 package javax.servlet does not exist
 [javac] import javax.servlet.ServletInputStream;
 [javac]  ^
 [javac] 
 /usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/or
 g/apache/jk/common/JkInputStream.java:67: 
 package javax.servlet.http does not exist
 [javac] import javax.servlet.http.HttpServletRequest;
 [javac]   ^
 [javac] 
 /usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/or
 g/apache/jk/common/JkInputStream.java:68: 
 package javax.servlet.http does not exist
 [javac] import javax.servlet.http.Cookie;
 [javac]   ^
 [javac] Note: Some input files use or override a deprecated API.
 [javac] Note: Recompile with -deprecation for details.
 [javac] 3 errors
 
 Any help would be appreciated.
 Cheers,
 Ryan
 
 
 -
 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: Question about building jakarta-tomcat-connectors-4.1.18-src

2003-02-19 Thread Ryan Dooley
Hi,

Thanks, that got me past that part.  I had put the common lib directory 
in my class path but not the jar directly.  

Thanks again,
Cheers,
   Ryan

[EMAIL PROTECTED] wrote:

Servlet.jar is not in your classpath

Regards,


PQ

This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing

-Original Message-
From: Ryan Dooley [mailto:[EMAIL PROTECTED]] 
Sent: February 19, 2003 12:57 PM
To: [EMAIL PROTECTED]
Subject: Question about building jakarta-tomcat-connectors-4.1.18-src

Hi,

I'm having issues building the jakarta-tomcat-connectors (4.1.18) from 
source.  The build environment is:

server platform: redhat linux 7.3
java version: j2sdk 1.4.1_01
ant version: 1.5
tomcat version: 4.1.18

I've setup up the environment for JAVA_HOME, CATALINA_HOME, PATH, etc.

The errors I'm getting are:

jkjava:
   [javac] Compiling 31 source files to 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/build/classes
   [javac] 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/co
mmon/JkInputStream.java:66: 
package javax.servlet does not exist
   [javac] import javax.servlet.ServletInputStream;
   [javac]  ^
   [javac] 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/co
mmon/JkInputStream.java:67: 
package javax.servlet.http does not exist
   [javac] import javax.servlet.http.HttpServletRequest;
   [javac]   ^
   [javac] 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/org/apache/jk/co
mmon/JkInputStream.java:68: 
package javax.servlet.http does not exist
   [javac] import javax.servlet.http.Cookie;
   [javac]   ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -deprecation for details.
   [javac] 3 errors

Any help would be appreciated.
Cheers,
   Ryan


-
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: Question about building jakarta-tomcat-connectors-4.1.18-src

2003-02-19 Thread Ryan Dooley
That did it as well.  Thanks!

Cheers,
   Ryan


In my opinion you will have a much easier time of it if you use configure
instead:

./configure --with-apxs=/path/to/apache/bin/apxs
make
make install

I've had all kinds of problems with ant on RH 7.2 trying to build the
connectors.  The configure method is painless.

John

 

-Original Message-
From: Ryan Dooley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 12:57 PM
To: [EMAIL PROTECTED]
Subject: Question about building jakarta-tomcat-connectors-4.1.18-src


Hi,

I'm having issues building the jakarta-tomcat-connectors 
(4.1.18) from 
source.  The build environment is:

server platform: redhat linux 7.3
java version: j2sdk 1.4.1_01
ant version: 1.5
tomcat version: 4.1.18

I've setup up the environment for JAVA_HOME, CATALINA_HOME, PATH, etc.

The errors I'm getting are:

jkjava:
   [javac] Compiling 31 source files to 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/build/classes
   [javac] 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/or
g/apache/jk/common/JkInputStream.java:66: 
package javax.servlet does not exist
   [javac] import javax.servlet.ServletInputStream;
   [javac]  ^
   [javac] 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/or
g/apache/jk/common/JkInputStream.java:67: 
package javax.servlet.http does not exist
   [javac] import javax.servlet.http.HttpServletRequest;
   [javac]   ^
   [javac] 
/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/java/or
g/apache/jk/common/JkInputStream.java:68: 
package javax.servlet.http does not exist
   [javac] import javax.servlet.http.Cookie;
   [javac]   ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -deprecation for details.
   [javac] 3 errors

Any help would be appreciated.
Cheers,
   Ryan
   





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




RE: Question about Context vs web-app

2003-02-13 Thread Filip Hanik
the Context is tomcat's representation of a webapp, or just a static html context.

For example, you can create a context in server.xml where you point tomcat to pick up 
files from somewhere else

Context path=/mycontext docBase=/usr/local/myhtml/

so no, you can't take the XML tags from web-app and stick them into Context

Filip

-Original Message-
From: Barley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 12:26 PM
To: [EMAIL PROTECTED]
Subject: Question about Context vs web-app


Can someone clarify something for me? Is a Context
placed within a Host basically just a web-app within a
virtual host? Can any tags that can be placed in a
web-app also be placed in a Context? Thanks very much.

Gregg


-
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: Question about Context vs web-app

2003-02-13 Thread Tim Moore
 -Original Message-
 From: Barley [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, February 13, 2003 3:26 PM
 To: [EMAIL PROTECTED]
 Subject: Question about Context vs web-app
 
 
 Can someone clarify something for me? Is a Context
 placed within a Host basically just a web-app within a
 virtual host?

Yes, exactly. Context == deployed webapp.

 Can any tags that can be placed in a
 web-app also be placed in a Context? Thanks very much.
 

No.  The stuff that's in web.xml is standard Servlet spec stuff, and
Tomcat treats it just like other containers do.

The stuff in a Context declaration is Tomcat-specific.  You can't
include stuff from web.xml in it.  You can see everything that you *can*
include in it here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
-- 
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863


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




Re: Question about Context vs web-app

2003-02-13 Thread Barley
OK, so then do I have this right?

I put virtual host declarations in Host containers in
the server.xml file.

I put Context's in my Host to point Tomcat at the
various url patterns it should handle.

I configure authorization restraints in the
/hostroot/WEB-INF/web.xml file. Can I configure
authorization based on url patterns? Like all access to
/securestuff/ requires admin access, or does this
require a separate webapp?

So is a Context basically just to tell Tomcat what url
patterns to handle for a given Host?

Thanks very much for the help.

Gregg






  -Original Message-
  From: Barley [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, February 13, 2003 3:26 PM
  To: [EMAIL PROTECTED]
  Subject: Question about Context vs web-app
 
 
  Can someone clarify something for me? Is a Context
  placed within a Host basically just a web-app
within a
  virtual host?

 Yes, exactly. Context == deployed webapp.

  Can any tags that can be placed in a
  web-app also be placed in a Context? Thanks very
much.
 

 No.  The stuff that's in web.xml is standard Servlet
spec stuff, and
 Tomcat treats it just like other containers do.

 The stuff in a Context declaration is
Tomcat-specific.  You can't
 include stuff from web.xml in it.  You can see
everything that you *can*
 include in it here:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/
context.html
 --
 Tim Moore / Blackboard Inc. / Software Engineer
 1899 L Street, NW / 5th Floor / Washington, DC 20036
 Phone 202-463-4860 ext. 258 / Fax 202-463-4863


 -

 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: Question about Context vs web-app

2003-02-13 Thread Rasputin
* Barley [EMAIL PROTECTED] [0256 21:56]:
 OK, so then do I have this right?
 
 I put virtual host declarations in Host containers in
 the server.xml file.
 
 I put Context's in my Host to point Tomcat at the
 various url patterns it should handle.

Yeah, pretty much - you can also  create a file called
foo.xml in hostroot/
and tomcat will create a context based on that (easier to admin than editing 
server.xml all
the time).

 I configure authorization restraints in the
 /hostroot/WEB-INF/web.xml file. 

hostroot/contextname/WEB-INF/web.xml

Well, the way I do it (I doubt it's the only way) is this:

I have a host called pussy.tenten (as in tomcat, kitty,pussy - nothing kinky), and so 
I create
a vhost called pussy.tenten by creating a Host element in server.xml. It has an 
appBase of
'pussy', so that translates to $CATALINA_HOME/pussy on my box.

Requests to http://pussy.tenten will be answered by this vhost.

Now if I create a directory pussy/test, tomcat automatically reads that as a new 
Context
called 'test'.

pussy/test/index.jsp will be viewable as:

http://pussy.tenten/test/index.jsp

WEB-INF is then inside test/ , and if I copied foo.war to $CATALINA_HOME/pussy, tomcat
auto-deploys it by extracting it to pussy/foo/ and I'd be able to view its contents at

http://pussy.tenten/foo/

 Can I configure
 authorization based on url patterns? Like all access to
 /securestuff/ requires admin access, or does this
 require a separate webapp?

That'll work, but paths inside the web.xml are usually relative to that webapp
(i.e they'd have a test/ prefix in the example above).

Very good explanation of web.xml at http://www.moreservlets.com (downloadable pdf)

Very good explanation of server.xml at the tomcat homepage.

 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html

Yeah, that's it! 

  Tim Moore / Blackboard Inc. / Software Engineer


-- 
One cannot make an omelette without breaking eggs -- but it is amazing
how many eggs one can break without making a decent omelette.
-- Professor Charles P. Issawi
Rasputin :: Jack of All Trades - Master of Nuns

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




RE: Question

2003-02-12 Thread Roberts, Eric
[EMAIL PROTECTED]

-Original Message-
From: Luc Foisy [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 12. Februar 2003 15:48
To: Tomcat User List (E-mail)
Subject: Question


is there an apache html server list?

Luc Foisy 


-
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: Question

2003-02-12 Thread Kenny G. Dubuisson, Jr.
Go to this web page to subscribe to it:
http://httpd.apache.org/lists.html
Kenny

- Original Message - 
From: Luc Foisy [EMAIL PROTECTED]
To: Tomcat User List (E-mail) [EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 8:47 AM
Subject: Question


 is there an apache html server list?
 
 Luc Foisy 
 
 
 -
 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: Question relating to Apache Tomcat/4.1.18-LE-jdk14

2003-02-10 Thread Peng Tuck Kwok
You can include the necessary libraries in the jsp itself. Use this :
%@ page import=[put library name here] %

kam leung wrote:

Dear Sir/Madam,

I have installed the Apache Tomcat/4.4.18-LE-jdk14 server.  It is having 
error compiling a jsp file that I have got.  The error said cannot 
resolve symble for the Hashtable and Vector that I have used in the jsp 
file.  Following is the software environment that I am working in:

Operating system:  Windows ME
Java:  J2SDK 1.4.0_03

It seems that the auto created servlet resulting from the jsp file did 
not import java.util.*, hence it will be very much appreciated if you 
can let me know how I can fix this situation.

Thank you very much for your help.

Best regards,
K Leung.





_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


-
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: Question relating to Apache Tomcat/4.1.18-LE-jdk14

2003-02-10 Thread Madhava Reddy
karm,

Mostly this is due to improper java_home, but I'm not sure. you can post
full error/exception report

Madhav

-Original Message-
From: kam leung [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 7:13 AM
To: [EMAIL PROTECTED]
Subject: Question relating to Apache Tomcat/4.1.18-LE-jdk14


Dear Sir/Madam,

I have installed the Apache Tomcat/4.4.18-LE-jdk14 server.  It is having 
error compiling a jsp file that I have got.  The error said cannot resolve 
symble for the Hashtable and Vector that I have used in the jsp file.  
Following is the software environment that I am working in:

Operating system:  Windows ME
Java:  J2SDK 1.4.0_03

It seems that the auto created servlet resulting from the jsp file did not 
import java.util.*, hence it will be very much appreciated if you can let me

know how I can fix this situation.

Thank you very much for your help.

Best regards,
K Leung.





_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


-
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: question

2003-02-07 Thread Sean Dockery
Check the server.xml file located in $CATALINA_HOME/conf/server.xml for the 
ports on which Tomcat listens.  Confirm that the ports are 8080 for the 
HTTP listener and SHUTDOWN on 8005 (IIRC).

Are you running a firewall that would prevent connections on those ports?

Also, check $CATALINA_HOME/logs/... to see what is happening when you start 
Tomcat.

At 08:06 2003-02-07 +, you wrote:
Hello,
I have a question for setup jakarta-tomcat-4.1.18. After I set up it, I 
want to run tomcat by typing: $CATALINA_HOME/bin/startup.sh. And the 
message is:
Using CATALINA_BASE:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_HOME:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR: /usr/jakarta-tomcat-4.1.18/temp
Using JAVA_HOME:   /usr/java/j2sdk1.4.1_01

When I test it by typing: http://localhost:8080, the message shows me:
The connection was refused when attemping to contact localhost:8080.

When I want to shutdown tomcat by typing: $CATALINA_HOME/bin/shutdown.sh, 
the message shows me:
Using CATALINA_BASE:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_HOME:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR: /usr/jakarta-tomcat-4.1.18/temp
Using JAVA_HOME:   /usr/java/j2sdk1.4.1_01
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
   at java.net.Socket.connect(Socket.java:426)
   at java.net.Socket.connect(Socket.java:376)
   at java.net.Socket.init(Socket.java:291)
   at java.net.Socket.init(Socket.java:119)
   at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

I have no idea whether the tomcat is setup successfully or not. And how to 
fix the problem? Could you please help me out? Thank you very much in advance.
Sunny





_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail


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

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com



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




RE: question

2003-02-07 Thread Roberts, Eric
Tomcat is not starting up correctly - go to $CATALINA_HOME/logs and read the logfiles.

If these do not help you, post the logs back to the list, together with details of 
your OS, then we may be able to help you.

-Original Message-
From: Sunny Sun [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 07. Februar 2003 09:07
To: [EMAIL PROTECTED]
Subject: question


Hello,
I have a question for setup jakarta-tomcat-4.1.18. After I set up it, I want 
to run tomcat by typing: $CATALINA_HOME/bin/startup.sh. And the message is:
Using CATALINA_BASE:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_HOME:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR: /usr/jakarta-tomcat-4.1.18/temp
Using JAVA_HOME:   /usr/java/j2sdk1.4.1_01

When I test it by typing: http://localhost:8080, the message shows me:
The connection was refused when attemping to contact localhost:8080.

When I want to shutdown tomcat by typing: $CATALINA_HOME/bin/shutdown.sh, 
the message shows me:
Using CATALINA_BASE:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_HOME:   /usr/jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR: /usr/jakarta-tomcat-4.1.18/temp
Using JAVA_HOME:   /usr/java/j2sdk1.4.1_01
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.init(Socket.java:291)
at java.net.Socket.init(Socket.java:119)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

I have no idea whether the tomcat is setup successfully or not. And how to 
fix the problem? Could you please help me out? Thank you very much in 
advance.
Sunny





_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


-
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: Question about options

2003-02-07 Thread Shapira, Yoav
Howdy,
If you want to do this at all, you will definitely need Apache.  I'm not
even sure you could do it with Apache with 100% success.  You will need
to do a lot of rewriting and some other rules, maybe converting GET
requests to POSTs with the query string parsed into form parameters or
something like that.

This type of request is against the spirit of the HTTP protocol in some
ways ;)  What is your design goal?  If you share some more details
perhaps people can help you arrive at the same goal via a better way...


Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Luc Foisy [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 9:11 AM
To: Tomcat User List (E-mail)
Subject: Question about options


What needs to be configured to hide the query string in the address
bar?
Will this require Apache to do?

Luc

-
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: Question about options

2003-02-07 Thread pqin
POST should hide the query string.

Regards,
 
 
PQ
 
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing

-Original Message-
From: Luc Foisy [mailto:[EMAIL PROTECTED]] 
Sent: February 7, 2003 9:11 AM
To: Tomcat User List (E-mail)
Subject: Question about options


What needs to be configured to hide the query string in the address bar?
Will this require Apache to do?

Luc

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



Re: Question about options

2003-02-07 Thread Erik Price
Hi,

It can also be done (unreliably) with JavaScript/frames.  I would never 
use this approach, but the idea is similar to what some domain name 
registrars use for what is called stealth forwarding (giving the 
appearance of mapping one URL to another without a true IP mapping).

The trick is simply to create a frameset with one giant frame occupying 
the entire window.  You simply have all of the action happening in the 
frame (where the URL is not displayed), and use JavaScript to change the 
value of the browser's actual URL.

This doesn't truly hide the querystring since any competent user can 
view the source code or disable the frames, but it might achieve the 
effect you want.


Erik




Shapira, Yoav wrote:
Howdy,
If you want to do this at all, you will definitely need Apache.  I'm not
even sure you could do it with Apache with 100% success.  You will need
to do a lot of rewriting and some other rules, maybe converting GET
requests to POSTs with the query string parsed into form parameters or
something like that.

This type of request is against the spirit of the HTTP protocol in some
ways ;)  What is your design goal?  If you share some more details
perhaps people can help you arrive at the same goal via a better way...


Yoav Shapira
Millennium ChemInformatics




-Original Message-
From: Luc Foisy [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 9:11 AM
To: Tomcat User List (E-mail)
Subject: Question about options


What needs to be configured to hide the query string in the address


bar?


Will this require Apache to do?

Luc

-
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: Question about detecting version

2003-01-29 Thread Julius Davies

Hello, Steve Vanspall,

Have you looked at any of these methods?

class javax.servlet.ServletContext

public int getMajorVersion()
- Returns the major version of the Java Servlet API that this servlet container 
supports.

public int getMinorVersion()
- Returns the minor version of the Servlet API that this servlet container supports.

public String getServerInfo()
- Returns the name and version of the servlet container on which the servlet is 
running.

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html

Notice that the application variable, implicitly visible in a jsp, is an instance of 
ServletContext.

=
html
body
%= application instanceof ServletContext %
/body
/html
=

That will print true in the browser.


yours,

Julius Davies, Programmer, CUCBC
Email: [EMAIL PROTECTED], Ph: 604.730.6385



 -Original Message-
 From: Steve Vanspall [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 30, 2003 3:29 AM
 To: Tomcat Users List
 Subject: Question about detecting version
 
 
 Hi there,
 
 This may be an off-beat question.
 
 Basically I am creating an installation application for my 
 software, for
 some people who are going to demonstrate it.
 
 What I want to be able to do, is detect whether the correct version of
 Tomcat is installed on their system.
 
 The installer will only be used in a Windows NT/2000 
 environment. I being
 platform specific goes against the whole point of JAva, but 
 this is a case
 where the guy doign the demo is all the way over the other side of the
 world. Have found some classes that will read the registry in 
 a Sun Java
 environment, but Tomcat only lists the version as 4.1, is 
 there a way to
 tell whether it is 4.1.1x as opposed to 4.1.1y etc?
 
 Regards
 
 Steve Vanspall
 
 
 
 -
 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: Question about detecting version

2003-01-29 Thread Julius Davies

Steve,

Here's a method which should work.  Make sure Tomcat's 
$TOMCAT_DIR/server/lib/catalina.jar file is in the classpath of whatever java 
program is executing this code!  ResourceBundle comes from the java.util package.

===
public String getTomcatVersion()
{
   String serverInfo = doh!;
   try
   {
  ResourceBundle bundle = ResourceBundle.getBundle( 
org.apache.catalina.util.ServerInfo );
  serverInfo = bundle.getString(server.info);
   }
   catch ( Exception e )
   {
  // either catalina.jar is not in classpath, or Tomcat team has changed things 
around!
   }
   return serverInfo;
}
===

Alternatively, you could unzip catalina.jar and look for this file:  
./org/apache/catalina/util/ServerInfo.properties.

yours,


Julius Davies, Programmer, CUCBC
Email: [EMAIL PROTECTED], Ph: 604.730.6385




 -Original Message-
 From: Steve Vanspall [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 30, 2003 4:38 AM
 To: Tomcat Users List
 Subject: RE: Question about detecting version
 
 
 Thanks Julius,
 
 That actually helps me with another problem.
 
 However, my main problem here is that Tomcat will not be running.
 
 And that the installer in not a web application running under tomcat.
 
 I was wondering whether tomcat keep it's version number in a 
 file somewhere
 
 Regards
 
 Steve Vanspall
 
 -Original Message-
 From: Julius Davies [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, 30 January 2003 11:15 AM
 To: Tomcat Users List
 Cc: [EMAIL PROTECTED]
 Subject: RE: Question about detecting version
 
 
 
 Hello, Steve Vanspall,
 
 Have you looked at any of these methods?
 
 class javax.servlet.ServletContext
 
 public int getMajorVersion()
 - Returns the major version of the Java Servlet API that this servlet
 container supports.
 
 public int getMinorVersion()
 - Returns the minor version of the Servlet API that this 
 servlet container
 supports.
 
 public String getServerInfo()
 - Returns the name and version of the servlet container on 
 which the servlet
 is running.
 
 http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/Se
 rvletContext.h
 tml
 
 Notice that the application variable, implicitly visible in 
 a jsp, is an
 instance of ServletContext.
 
 =
 html
 body
 %= application instanceof ServletContext %
 /body
 /html
 =
 
 That will print true in the browser.
 
 
 yours,
 
 Julius Davies, Programmer, CUCBC
 Email: [EMAIL PROTECTED], Ph: 604.730.6385
 
 
 
  -Original Message-
  From: Steve Vanspall [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, January 30, 2003 3:29 AM
  To: Tomcat Users List
  Subject: Question about detecting version
 
 
  Hi there,
 
  This may be an off-beat question.
 
  Basically I am creating an installation application for my
  software, for
  some people who are going to demonstrate it.
 
  What I want to be able to do, is detect whether the correct 
 version of
  Tomcat is installed on their system.
 
  The installer will only be used in a Windows NT/2000
  environment. I being
  platform specific goes against the whole point of JAva, but
  this is a case
  where the guy doign the demo is all the way over the other 
 side of the
  world. Have found some classes that will read the registry in
  a Sun Java
  environment, but Tomcat only lists the version as 4.1, is
  there a way to
  tell whether it is 4.1.1x as opposed to 4.1.1y etc?
 
  Regards
 
  Steve Vanspall
 
 
 
  
 -
  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]
 
 

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




RE: Question about tomcat 4.1.19

2003-01-20 Thread Shapira, Yoav
Hi,
4.1.19 was announced as an alpha release.  Searching the web can easily
yield definitions of what an alpha, beta, and stable release means.  The
Apache release model, followed by tomcat, is well-documented.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Steve Vanspall [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 19, 2003 5:23 PM
To: Tomcat Users List
Subject: Question about tomcat 4.1.19

Hi there,

I reported a bug, in tomcat 4.1.18, to bugzilla. The reply I got stated
that
it was fixed in Tomcat 4.1.19, having not found a link to the binary
for
4.1.19, I navigated tharere, and found an alpha release of it on the
website.

Does this mean it is still in development stage?

Does anyone have any idea of it's stability?

Not completely sure what alpha means, but assume, logically, it is the
release before a beta release.

Regards

Steve Vanspall


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


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




RE: Question: Tomcat4.1.18/SOAP-Session Timeout Not working

2003-01-20 Thread Dandekar, Vivek

I did not hear from anybody last week. We have downgraded tomcat from 4.1.18
to 4.0.6 version.Now we see different behavior.

Now web.xml's session-timeout of 30 mins. is working but SessionListener's
SessionDestroyed method is being called based on last but one transactions's
time stamp. 

For Example:

If we do access our webservice class on 1st Minute, 10th minute and 15th
minute. Then session is timing out on 10 + 30 minutes=40th minute and not at
15 + 30 minutes=45th minute as expected. We are really looking for
session-time out based on true last accessed time. Has anybody encountered
this problem or is there any fix for this? When we display last accessed
time in sessiondestroyed method, it always shows lastaccessed time of last
but one transaction ..hence it is timing out based on that timestamp. Is
there any way to force a lastaccessedtime? Do we have to play with
CheckInterval parameter of StandardSessionManager?

Thanking you in advance,

Vivek.

  -Original Message-
 From: Dandekar, Vivek  
 Sent: Tuesday, January 14, 2003 9:56 AM
 To:   '[EMAIL PROTECTED]'
 Subject:  Question: Tomcat4.1.18/SOAP-Session Timeout Not working
 
 Hi Everybody,
 We have set session-timeout 30 /session-timeout in web.xml of soap
 context under tomcat 4.1.18.  The problem is sessions are timing out
 exactly after 30 minutes even if we send transactions after initial SOAP
 session was established.   Scope of Web service deployed is session.
 Basically lasttimeAccessed is not changing even if we access our
 webservice class using StandardSessionManager...
 
 Any ideas on how we can call access() method every time a new request is
 received so that SOAP session will not timeout on 30 minutes but it will
 time-out based on last accessed time+30 minutes. We put a listner-class
 in web.xml but it gets notified exactly after 30 minutes since session was
 created...
 
 Is it necessary to write our own SessionManager that will set
 lastAccessedtime every time we access the webservice class?
 
 Environment: Linux 7.3/Tomcat 4.1.8/soap.war ...
 
 Thanking you in advance. Any help would be appreciated..
 
 
 
 
This e-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information of Transaction Network
Services.  Any unauthorized review, use, disclosure or distribution is
prohibited.  If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.

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




Re: Question about tomcat 4.1.19

2003-01-19 Thread Jeanfrancois Arcand
Yes, they were a lot of change between 4.1.18 and 4.1.19. That's why it 
is considered alpha...

-- Jeanfrancois

Steve Vanspall wrote:

Hi there,

I reported a bug, in tomcat 4.1.18, to bugzilla. The reply I got stated that
it was fixed in Tomcat 4.1.19, having not found a link to the binary for
4.1.19, I navigated tharere, and found an alpha release of it on the
website.

Does this mean it is still in development stage?

Does anyone have any idea of it's stability?

Not completely sure what alpha means, but assume, logically, it is the
release before a beta release.

Regards

Steve Vanspall


--
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: Question about context-param

2003-01-16 Thread Shapira, Yoav
Howdy,
Your context constructor?  What's that?  Last I checked,
javax.servlet.ServletContext was an interface, and the container
provides an implementation.  

If you want to tie into the context lifecycle, which is a very valid
design, use a ServletContextListener implementation.  The context
parameters are available in that listener's contextInitialized() method.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Mike Roest [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 1:49 PM
To: [EMAIL PROTECTED]
Subject: Question about context-param

Hi all,
   I'm trying to initialize a few parameters from my web.xml to be
available to my context.

I'm just wondering when they become available.  As I'm attempting to
access them during my Context constructor and I'm getting to following
exception trace.

(This call was just trying to get the names not actually access the
values but trying to access the values give similar results)

java.lang.NullPointerException
at
javax.servlet.GenericServlet.getInitParameterNames(GenericServlet.java:
167)
at polaris.servlet.PolarisContext.init(PolarisContext.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
Acce
ssorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
stru
ctorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:902)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.
java
:3420)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3
608)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
at
org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

The only thing I can think of is that the context-param isn't
accessable
  until after the context constructor is finished. Which makes it not
very helpfull for me.

If anyone has another way of doing this without putting it into a
properties file I'm interested.

(The whole point of this is we're trying to migrate our properties to
DB
tables and need to give the app the DB user and password)

Thanks


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


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




Re: Question about context-param

2003-01-16 Thread Mike Roest
Sorry 2 different Contexts, and my brain was all messed up.  When I'm refering to my Context 
Constructor it's actually the main servlet constructor (which in our app is PolarisContext).  Which 
extends HttpServlet.

Sorry for the confusion
Shapira, Yoav wrote:
Howdy,
Your context constructor?  What's that?  Last I checked,
javax.servlet.ServletContext was an interface, and the container
provides an implementation.  

If you want to tie into the context lifecycle, which is a very valid
design, use a ServletContextListener implementation.  The context
parameters are available in that listener's contextInitialized() method.

Yoav Shapira
Millennium ChemInformatics



-Original Message-
From: Mike Roest [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 1:49 PM
To: [EMAIL PROTECTED]
Subject: Question about context-param

Hi all,
	I'm trying to initialize a few parameters from my web.xml to be
available to my context.

I'm just wondering when they become available.  As I'm attempting to
access them during my Context constructor and I'm getting to following
exception trace.

(This call was just trying to get the names not actually access the
values but trying to access the values give similar results)

java.lang.NullPointerException
at
javax.servlet.GenericServlet.getInitParameterNames(GenericServlet.java:


167)


at polaris.servlet.PolarisContext.init(PolarisContext.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native


Method)


at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor


Acce


ssorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon


stru


ctorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at


org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.


java:902)
at


org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)


at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.


java


:3420)
at


org.apache.catalina.core.StandardContext.start(StandardContext.java:3


608)
at


org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)


at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at


org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)


at


org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347


)
at


org.apache.catalina.core.StandardService.start(StandardService.java:4


97)
at


org.apache.catalina.core.StandardServer.start(StandardServer.java:218


9)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at


sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.


java:39)
at


sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces


sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

The only thing I can think of is that the context-param isn't


accessable


until after the context constructor is finished. Which makes it not
very helpfull for me.

If anyone has another way of doing this without putting it into a
properties file I'm interested.

(The whole point of this is we're trying to migrate our properties to


DB


tables and need to give the app the DB user and password)

Thanks


--
To unsubscribe, e-mail:   mailto:tomcat-user-
[EMAIL PROTECTED]
For additional commands, e-mail: mailto:tomcat-user-
[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: Question about context-param

2003-01-16 Thread Shapira, Yoav
Howdy,

Sorry 2 different Contexts, and my brain was all messed up.  When I'm
refering to my Context
Constructor it's actually the main servlet constructor (which in our
app is
PolarisContext).  Which
extends HttpServlet.

OK, that makes a bit more sense.  Although a similar argument applies.
Even though a servlet is a normal class, and you can create a
constructor for it and do stuff in the constructor, you probably
shouldn't.  Instead, stick with overriding Servlet methods, in this case
init.  The container is required to make the servlet context parameters
available to your servlet's init() method.  It's not required to make
them available to your servlet's constructor.  So for portability and a
little bit less of a headache, you're better off not writing a servlet
constructor and moving the constructor code to the servlet's init()
method.

Yoav Shapira
Millennium ChemInformatics

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




Re: Question about context-param

2003-01-16 Thread Mike Roest
Shapira, Yoav wrote:

Howdy,



Sorry 2 different Contexts, and my brain was all messed up.  When I'm
refering to my Context
Constructor it's actually the main servlet constructor (which in our


app is


PolarisContext).  Which
extends HttpServlet.



OK, that makes a bit more sense.  Although a similar argument applies.
Even though a servlet is a normal class, and you can create a
constructor for it and do stuff in the constructor, you probably
shouldn't.  Instead, stick with overriding Servlet methods, in this case
init.  The container is required to make the servlet context parameters
available to your servlet's init() method.  It's not required to make
them available to your servlet's constructor.  So for portability and a
little bit less of a headache, you're better off not writing a servlet
constructor and moving the constructor code to the servlet's init()
method.


Ok that worked great. I don't get the exceptions anymore but for some reason it's not pulling the 
params from the web.xml.  Any Ideas?

code:
try {
 username = this.getInitParameter(oracleUser);
 password = this.getInitParameter(oraclePass);
 System.out.println(user: +username+\npass: +password);
} catch(Exception e) { e.printStackTrace(); }

web.xml:
?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2.2.dtd;

web-app
context-param
	param-nameoraclePass/param-name
	param-valuepolaris/param-value
	/context-param
	context-param
	param-nameoracleUser/param-name
	param-valuepolaris/param-value
	/context-param
servlet
servlet-namePolarisContext/servlet-name
servlet-classpolaris.servlet.PolarisContext/servlet-class
	load-on-startup1/load-on-startup
	
/servlet
	
	security-constraint
		web-resource-collection
			web-resource-namepolaris/web-resource-name
			url-pattern/servlet/*/url-pattern
		/web-resource-collection

	/security-constraint


/web-app




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



RE: Question about context-param

2003-01-16 Thread Shapira, Yoav
Howdy,

Ok that worked great. I don't get the exceptions anymore but for some
reason it's not pulling the
params from the web.xml.  Any Ideas?

If the code below is taken from a servlet, then this.getInitParameter()
will look for an init-parameter element inside the servlet element.
To get a context parameter from a servlet, you do:
String userName = getServletContext().getInitParameter(oracleUser);

By the way, I don't remember if you mentioned what tomcat version you're
using.  But if you're using tomcat 4.x, you web.xml should be compliant
with the 2.3 spec version, not 2.2.

Yoav Shapira
Millennium ChemInformatics

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




Re: Question about context-param

2003-01-16 Thread Mike Roest
Shapira, Yoav wrote:

Howdy,



Ok that worked great. I don't get the exceptions anymore but for some
reason it's not pulling the
params from the web.xml.  Any Ideas?



If the code below is taken from a servlet, then this.getInitParameter()
will look for an init-parameter element inside the servlet element.
To get a context parameter from a servlet, you do:
String userName = getServletContext().getInitParameter(oracleUser);

By the way, I don't remember if you mentioned what tomcat version you're
using.  But if you're using tomcat 4.x, you web.xml should be compliant
with the 2.3 spec version, not 2.2.


Yeah it's 4.1.18.  /me goes and changes the Spec

Thank you very much Yoav it's now working perfectly

I appreciate the help.


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




Re: question about session behavior

2003-01-08 Thread Mr. Cristian Romanescu
Hi, David.
There is one detail, Tomcat uses so called (I think) persistent 
sessions. Meaning...
If you close Tomcat, it creates a file 
($CATALINA_HOME/work/Standalone/yourwebapp/SESSIONS.ser) where present 
sessions are serialized.
Also when you restart Tomcat, that file is deleted. So basically when 
you close Tomcat your sessions aren't really destroyed, but saved for 
latter restart.

Hope this help.

Regards,
Cristian.

David Boyer wrote:

When I shut down Tomcat, shouldn't HttpSessionListener.sessionDestroyed() be called for each existing session?

When users authenticate to my application, I store their username and encrypted password in a database where it's associated with their session. When the session is destroyed, I have a session listener delete the database row associated with that session. However, when I shut down Tomcat I end up with orphaned rows in the database.

Is there a way to have HttpSessionListener.sessionDestroyed() called for each session when shutting down Tomcat?

TIA!


 




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




Re: Question about Tomcat 4.1.12 WebDAV application

2003-01-08 Thread Andreas Probst
Hi Jim,

it might be that Windows cached your credentials. You could try 
Slide client (jakarta sub project Slide), which requires to type 
in the credentials everytime you start it.
You won't need to start the Slide server or the included Tomcat, 
just the client at pathTo\jakarta-slide-
1.0.16\client\bin\run.bat. (It might be necessary to start 
run.bat by typing bin\run in the client directory.)

Andreas


On 8 Jan 2003 at 10:34, Jim Coble wrote:

 Version: Tomcat 4.1.12 on Solaris 8
 
 I'm trying to configure the WebDAV application included in the
 Tomcat 4.1.12 distribution so that it requires a login to add or
 remove files but not to view them.
 
 If I use the web.xml security-constraint contained in the
 distribution --
 
   security-constraint
 web-resource-collection
   web-resource-nameThe Entire Web
   Application/web-resource-name
   url-pattern/*/url-pattern
 /web-resource-collection
 auth-constraint
   role-nametomcat/role-name
 /auth-constraint
   /security-constraint
 
 -- then all attempts to access the content, including a simple
 browser request for http://localhost:8080/webdav/ require a
 login.
 
 I thought I could password protect only adding and removing files
 by adding http-method for PUT and DELETE as shown below --
 
   security-constraint
 web-resource-collection
   web-resource-nameThe Entire Web
   Application/web-resource-name
   url-pattern/*/url-pattern
   http-methodDELETE/http-method
   http-methodPUT/http-method
 /web-resource-collection
 auth-constraint
   role-nametomcat/role-name
 /auth-constraint
   /security-constraint
 
   -- but, if I do that, I seem to be able to add and remove files
   using my
 WebDAV client (Web Folders on Windows XP) without authenticating.
 
 I can't help but think that I'm missing something obvious.  Can
 anyone help?
 
 Thanks in advance.
 --Jim
 
 ==
 Jim Coble
 Senior Technology Specialist
 Center for Instructional Technology
 Email: [EMAIL PROTECTED]
 Voice: 919-660-5974  Fax: 919-660-5923
 Box 90198, Duke University
 Durham, NC 27708-0198
 ==
 
 
 
 
 --
 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: Question - Form Validation

2002-12-31 Thread Denise Mangano
Noel,

Thanks for the offer.  I wanted to respond sooner - but email was down : (
The rush is definitely there, but my employer realizes the importance of
getting it done right, so they are being  patient.

I think I am making some progress - I have found some resources on the
subject.  Currently the action of my form calls a controller JSP page.
This page uses a Bean that I created.  The bean uses the same fields as the
form and performs all the validation.  The controller JSP checks if validate
then forward to processing page, else retry.  I have written all the code
for the form validation and will be testing it today.

I will be posting if I run into any problems.  Hopefully your offer still
stands if it comes down to that :)

Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.


-Original Message-
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, December 28, 2002 9:57 PM
To: Tomcat Users List
Subject: RE: Question - Form Validation


Denise,

Sounds as if you are in a huge hurry.  Do you mind embedding some simple
scriptlets in your JSP page, or are you going to hold out of purity?  If you
want to contact me off-line, I can give you a telephone number and walk you
through some of it.  I am not in the office, but I might be able to grab
some code off one of the live servers and clean it up for you.

Yes, I would suggest that you create a Java Bean with the same fields as the
form.  Add some methods to the bean so that validation is done in the bean,
not by the page.

--- Noel

-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 28, 2002 15:31
To: 'Tomcat Users List '
Subject: RE: Question - Form Validation


It seems to me that Struts is more for large scale enterprise webapps.
Eventually once my webapp is up and running in a production environment, if
our project seems to be more popular than expected, then updates will be
necessary and alternative approaches will be considered.

In the meantime, our webapp is for less than medium size organization, the
site is pretty simple - just select the fee you are paying and provide the
cc info for processing - all this for a pretty stable number of users (for
the time being).

Can anyone provide links to any resources for form validation with JSP - not
using Struts?  I have a couple of books, but none seem to go into enough
detail..

Thanks :)
Denise

-Original Message-
From: Noel J. Bergman
To: Tomcat Users List
Sent: 12/27/2002 11:34 PM
Subject: RE: Question - Form Validation

Denise,

There are a number of ways to do it.  One is to build a Struts application.
Another is to have the form post back to itself. If it likes the form data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


--
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: Question - Form Validation

2002-12-29 Thread Jacob Hookom
Why not browse the Jakarta Validator libs?  They are integrated into
Struts.

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, December 28, 2002 11:59 PM
To: ''Tomcat Users List ' '
Subject: RE: Question - Form Validation

 
Hi -

I was researching this very topic as an extension to using regular
expressions for form validation, and I found this on sourceforge.  It
might
be worth a look:

http://formproc.sourceforge.net/

I've never used it, but I plan to give it a look later.

John

-Original Message-
From: Denise Mangano
To: 'Tomcat Users List '
Sent: 12/28/02 8:09 PM
Subject: RE: Question - Form Validation

Any web site references? I'm pressed for time so can't wait for item to
be
shipped and no local bookstores have it in stock...

Also, if I am to have my JSP form post back to itself to validate, I
would
need to employ Java Beans for this - is that correct?

Sorry - I'm a newbie :)

Thanks! 

-Original Message-
From: Paul Campbell
To: Tomcat Users List
Sent: 12/28/2002 3:29 PM
Subject: RE: Question - Form Validation

Advanced Java Server Pages by Geary (Prentice Hall 2001)

At 03:30 PM 12/28/2002 -0500, you wrote:
It seems to me that Struts is more for large scale enterprise webapps.
Eventually once my webapp is up and running in a production
environment, if
our project seems to be more popular than expected, then updates will
be
necessary and alternative approaches will be considered.

In the meantime, our webapp is for less than medium size organization,
the
site is pretty simple - just select the fee you are paying and provide
the
cc info for processing - all this for a pretty stable number of users
(for
the time being).

Can anyone provide links to any resources for form validation with JSP
- not
using Struts?  I have a couple of books, but none seem to go into
enough
detail..

Thanks :)
Denise

-Original Message-
From: Noel J. Bergman
To: Tomcat Users List
Sent: 12/27/2002 11:34 PM
Subject: RE: Question - Form Validation

Denise,

There are a number of ways to do it.  One is to build a Struts
application.
Another is to have the form post back to itself.  If it likes the form
data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


--
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]

--
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: Question - Form Validation

2002-12-29 Thread Turner, John
 
Thanks for the tip...didn't know anything about them.  I found that FormProc
package while investigating Jakarta Regexp.

As an aside, is there a need for Regexp or ORO now that J2SE 1.4 has
java.util.regex?  I'm no regexp guru by any means, I'm just curious.  My
development skills are bad enough without having to worry about keeping
track of packages/libraries that aren't part of J2SE/J2EE.

John


-Original Message-
From: Jacob Hookom
To: 'Tomcat Users List'
Sent: 12/29/02 3:05 AM
Subject: RE: Question - Form Validation

Why not browse the Jakarta Validator libs?  They are integrated into
Struts.

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, December 28, 2002 11:59 PM
To: ''Tomcat Users List ' '
Subject: RE: Question - Form Validation

 
Hi -

I was researching this very topic as an extension to using regular
expressions for form validation, and I found this on sourceforge.  It
might
be worth a look:

http://formproc.sourceforge.net/

I've never used it, but I plan to give it a look later.

John

-Original Message-
From: Denise Mangano
To: 'Tomcat Users List '
Sent: 12/28/02 8:09 PM
Subject: RE: Question - Form Validation

Any web site references? I'm pressed for time so can't wait for item to
be
shipped and no local bookstores have it in stock...

Also, if I am to have my JSP form post back to itself to validate, I
would
need to employ Java Beans for this - is that correct?

Sorry - I'm a newbie :)

Thanks! 

-Original Message-
From: Paul Campbell
To: Tomcat Users List
Sent: 12/28/2002 3:29 PM
Subject: RE: Question - Form Validation

Advanced Java Server Pages by Geary (Prentice Hall 2001)

At 03:30 PM 12/28/2002 -0500, you wrote:
It seems to me that Struts is more for large scale enterprise webapps.
Eventually once my webapp is up and running in a production
environment, if
our project seems to be more popular than expected, then updates will
be
necessary and alternative approaches will be considered.

In the meantime, our webapp is for less than medium size organization,
the
site is pretty simple - just select the fee you are paying and provide
the
cc info for processing - all this for a pretty stable number of users
(for
the time being).

Can anyone provide links to any resources for form validation with JSP
- not
using Struts?  I have a couple of books, but none seem to go into
enough
detail..

Thanks :)
Denise

-Original Message-
From: Noel J. Bergman
To: Tomcat Users List
Sent: 12/27/2002 11:34 PM
Subject: RE: Question - Form Validation

Denise,

There are a number of ways to do it.  One is to build a Struts
application.
Another is to have the form post back to itself.  If it likes the form
data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


--
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]

--
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: Question - Form Validation

2002-12-28 Thread Denise Mangano
It seems to me that Struts is more for large scale enterprise webapps.
Eventually once my webapp is up and running in a production environment, if
our project seems to be more popular than expected, then updates will be
necessary and alternative approaches will be considered.

In the meantime, our webapp is for less than medium size organization, the
site is pretty simple - just select the fee you are paying and provide the
cc info for processing - all this for a pretty stable number of users (for
the time being).

Can anyone provide links to any resources for form validation with JSP - not
using Struts?  I have a couple of books, but none seem to go into enough
detail..

Thanks :)
Denise

-Original Message-
From: Noel J. Bergman
To: Tomcat Users List
Sent: 12/27/2002 11:34 PM
Subject: RE: Question - Form Validation

Denise,

There are a number of ways to do it.  One is to build a Struts
application.
Another is to have the form post back to itself.  If it likes the form
data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


--
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: Question - Form Validation

2002-12-28 Thread Paul Campbell
Advanced Java Server Pages by Geary (Prentice Hall 2001)

At 03:30 PM 12/28/2002 -0500, you wrote:
It seems to me that Struts is more for large scale enterprise webapps.
Eventually once my webapp is up and running in a production environment, if
our project seems to be more popular than expected, then updates will be
necessary and alternative approaches will be considered.

In the meantime, our webapp is for less than medium size organization, the
site is pretty simple - just select the fee you are paying and provide the
cc info for processing - all this for a pretty stable number of users (for
the time being).

Can anyone provide links to any resources for form validation with JSP - not
using Struts?  I have a couple of books, but none seem to go into enough
detail..

Thanks :)
Denise

-Original Message-
From: Noel J. Bergman
To: Tomcat Users List
Sent: 12/27/2002 11:34 PM
Subject: RE: Question - Form Validation

Denise,

There are a number of ways to do it.  One is to build a Struts
application.
Another is to have the form post back to itself.  If it likes the form
data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


--
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: Question - Form Validation

2002-12-28 Thread Denise Mangano
Any web site references? I'm pressed for time so can't wait for item to be
shipped and no local bookstores have it in stock...

Also, if I am to have my JSP form post back to itself to validate, I would
need to employ Java Beans for this - is that correct?

Sorry - I'm a newbie :)

Thanks! 

-Original Message-
From: Paul Campbell
To: Tomcat Users List
Sent: 12/28/2002 3:29 PM
Subject: RE: Question - Form Validation

Advanced Java Server Pages by Geary (Prentice Hall 2001)

At 03:30 PM 12/28/2002 -0500, you wrote:
It seems to me that Struts is more for large scale enterprise webapps.
Eventually once my webapp is up and running in a production
environment, if
our project seems to be more popular than expected, then updates will
be
necessary and alternative approaches will be considered.

In the meantime, our webapp is for less than medium size organization,
the
site is pretty simple - just select the fee you are paying and provide
the
cc info for processing - all this for a pretty stable number of users
(for
the time being).

Can anyone provide links to any resources for form validation with JSP
- not
using Struts?  I have a couple of books, but none seem to go into
enough
detail..

Thanks :)
Denise

-Original Message-
From: Noel J. Bergman
To: Tomcat Users List
Sent: 12/27/2002 11:34 PM
Subject: RE: Question - Form Validation

Denise,

There are a number of ways to do it.  One is to build a Struts
application.
Another is to have the form post back to itself.  If it likes the form
data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


--
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: Question - Form Validation

2002-12-28 Thread Jason Pyeron
your general concept here:

validate page parameters

is valid - redirect to processing page

display form
 display default values for fields
 display form hints for invalid data

if you don't have time to learn/implement this you might want to consider 
outsourcing your problem.

typically one would use a tag library to do this.

-Jason Pyeron

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron   http://www.pyerotechnics.com   -
- Owner  Lead  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)   500 West University Parkway #1S -
- +1 410 467 2266 (f)   Baltimore, Maryland  21210-3253 -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.


On Sat, 28 Dec 2002, Denise Mangano wrote:

Any web site references? I'm pressed for time so can't wait for item to be
shipped and no local bookstores have it in stock...

Also, if I am to have my JSP form post back to itself to validate, I would
need to employ Java Beans for this - is that correct?

Sorry - I'm a newbie :)

Thanks! 

-Original Message-
From: Paul Campbell
To: Tomcat Users List
Sent: 12/28/2002 3:29 PM
Subject: RE: Question - Form Validation

Advanced Java Server Pages by Geary (Prentice Hall 2001)

At 03:30 PM 12/28/2002 -0500, you wrote:
It seems to me that Struts is more for large scale enterprise webapps.
Eventually once my webapp is up and running in a production
environment, if
our project seems to be more popular than expected, then updates will
be
necessary and alternative approaches will be considered.

In the meantime, our webapp is for less than medium size organization,
the
site is pretty simple - just select the fee you are paying and provide
the
cc info for processing - all this for a pretty stable number of users
(for
the time being).

Can anyone provide links to any resources for form validation with JSP
- not
using Struts?  I have a couple of books, but none seem to go into
enough
detail..

Thanks :)
Denise

-Original Message-
From: Noel J. Bergman
To: Tomcat Users List
Sent: 12/27/2002 11:34 PM
Subject: RE: Question - Form Validation

Denise,

There are a number of ways to do it.  One is to build a Struts
application.
Another is to have the form post back to itself.  If it likes the form
data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


--
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]




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




RE: Question - Form Validation

2002-12-28 Thread Noel J. Bergman
Denise,

Sounds as if you are in a huge hurry.  Do you mind embedding some simple
scriptlets in your JSP page, or are you going to hold out of purity?  If you
want to contact me off-line, I can give you a telephone number and walk you
through some of it.  I am not in the office, but I might be able to grab
some code off one of the live servers and clean it up for you.

Yes, I would suggest that you create a Java Bean with the same fields as the
form.  Add some methods to the bean so that validation is done in the bean,
not by the page.

--- Noel

-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 28, 2002 15:31
To: 'Tomcat Users List '
Subject: RE: Question - Form Validation


It seems to me that Struts is more for large scale enterprise webapps.
Eventually once my webapp is up and running in a production environment, if
our project seems to be more popular than expected, then updates will be
necessary and alternative approaches will be considered.

In the meantime, our webapp is for less than medium size organization, the
site is pretty simple - just select the fee you are paying and provide the
cc info for processing - all this for a pretty stable number of users (for
the time being).

Can anyone provide links to any resources for form validation with JSP - not
using Struts?  I have a couple of books, but none seem to go into enough
detail..

Thanks :)
Denise

-Original Message-
From: Noel J. Bergman
To: Tomcat Users List
Sent: 12/27/2002 11:34 PM
Subject: RE: Question - Form Validation

Denise,

There are a number of ways to do it.  One is to build a Struts
application.  Another is to have the form post back to itself.
If it likes the form data (validates), then it can forward to
the target page.  There are various other solutions.

--- Noel


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




RE: Question - Form Validation

2002-12-28 Thread Turner, John
 
Hi -

I was researching this very topic as an extension to using regular
expressions for form validation, and I found this on sourceforge.  It might
be worth a look:

http://formproc.sourceforge.net/

I've never used it, but I plan to give it a look later.

John

-Original Message-
From: Denise Mangano
To: 'Tomcat Users List '
Sent: 12/28/02 8:09 PM
Subject: RE: Question - Form Validation

Any web site references? I'm pressed for time so can't wait for item to
be
shipped and no local bookstores have it in stock...

Also, if I am to have my JSP form post back to itself to validate, I
would
need to employ Java Beans for this - is that correct?

Sorry - I'm a newbie :)

Thanks! 

-Original Message-
From: Paul Campbell
To: Tomcat Users List
Sent: 12/28/2002 3:29 PM
Subject: RE: Question - Form Validation

Advanced Java Server Pages by Geary (Prentice Hall 2001)

At 03:30 PM 12/28/2002 -0500, you wrote:
It seems to me that Struts is more for large scale enterprise webapps.
Eventually once my webapp is up and running in a production
environment, if
our project seems to be more popular than expected, then updates will
be
necessary and alternative approaches will be considered.

In the meantime, our webapp is for less than medium size organization,
the
site is pretty simple - just select the fee you are paying and provide
the
cc info for processing - all this for a pretty stable number of users
(for
the time being).

Can anyone provide links to any resources for form validation with JSP
- not
using Struts?  I have a couple of books, but none seem to go into
enough
detail..

Thanks :)
Denise

-Original Message-
From: Noel J. Bergman
To: Tomcat Users List
Sent: 12/27/2002 11:34 PM
Subject: RE: Question - Form Validation

Denise,

There are a number of ways to do it.  One is to build a Struts
application.
Another is to have the form post back to itself.  If it likes the form
data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


--
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]

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




Re: Question - Form Validation

2002-12-27 Thread Gary Gwin
Denise,

Consider using the Jakarta Struts project. It is very popular and 
provides a framework for form validation and error handling.

   http://jakarta.apache.org/struts/

Gary

Denise Mangano wrote:

Hi all :)

I'm not sure if these types of questions belong is this list??  I've seen
people post JSP and/or servlet questions, so I am assuming they do... ?

I am trying to figure the best way to do form validation with JSP.  I have a
JSP with a form that calls another JSP to process that form and display the
result.  I would like to add an intermediary page that displays all the user
input before the information is processed.  Before I get to this
intermediary page I want to make sure all fields are filled out and each
field fits the format it should be.  If a field is missing or incorrect, I
would like the same page to be reloaded, with red text next to the field
that needs to be corrected.

Just wondering if anyone had any suggestions of the best way to handle this.

Denise Mangano

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

 


--

Gary Gwin
http://www.cafesoft.com

*
*   *
*   The Cafesoft Access Management System, Cams, is security*
*   software that provides single sign-on authentication and*
*   centralized access control for Apache, Tomcat, and custom   *
*   resources.  *
*   *
*



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




RE: Question - Form Validation

2002-12-27 Thread Noel J. Bergman
Denise,

There are a number of ways to do it.  One is to build a Struts application.
Another is to have the form post back to itself.  If it likes the form data
(validates), then it can forward to the target page.  There are various
other solutions.

--- Noel


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




RE: Question

2002-12-26 Thread Laxmikanth M.S.
check the line which u added in htpd.conf ..
check the path for workers.properties 

Regards
Laxmikanth M S 
Off  : 91-80-6610330 extn 1256
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: Gman [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, December 26, 2002 2:16 PM
 To:   [EMAIL PROTECTED]
 Subject:  Question
 
 I am trying to setup Tomcat version 4.18 With Apache 2.0.43 and I am
 confused on how to set it up I added the module and include line like
 the documentation said, after that Apache would not start. Any help
 would be greatly appreciated.
 
 George Gman Flatman 
 
 
 --
 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: Question

2002-12-26 Thread Gman
Here are the only lines I have added t my http.conf below

LoadModule jk2_module modules/mod_jk2.so

And

Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto 
that's all I have done.

George Gman Flatman
-Original Message-
From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:56 AM
To: Tomcat Users List
Subject: RE: Question


check the line which u added in htpd.conf ..
check the path for workers.properties 

Regards
Laxmikanth M S 
Off  : 91-80-6610330 extn 1256
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: Gman [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, December 26, 2002 2:16 PM
 To:   [EMAIL PROTECTED]
 Subject:  Question
 
 I am trying to setup Tomcat version 4.18 With Apache 2.0.43 and I am 
 confused on how to set it up I added the module and include line like 
 the documentation said, after that Apache would not start. Any help 
 would be greatly appreciated.
 
 George Gman Flatman
 
 
 --
 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]


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




RE: question regarding error message

2002-12-09 Thread Reynir Hübner
Hi, 

It means that the class you are trying to load is not found in the classpath of your 
application.
My guess is that you are on the wrong list (yahoo games ?)

Hope it helps
-reynir

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
 Sent: 9. desember 2002 02:43
 To: [EMAIL PROTECTED]
 Subject: question regarding error message
 
 
 can u please tell me what javalangnoclassdeffounderror means? 
 i can no longer 
 get into yahoo games, and get this message. how do i fix? 
 thanks in advance.
 

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




[OFFTOPIC] RE: question regarding error message

2002-12-09 Thread Turner, John

1 - this is a list for Tomcat user questions and support.

2 - that message typically means that a) the JVM on your machine is
misconfigured or needs to be reinstalled, or b) the applet or the link to
the applet is misconfigured on the server side (which you would have no
control over).

John

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, December 08, 2002 9:43 PM
 To: [EMAIL PROTECTED]
 Subject: question regarding error message
 
 
 can u please tell me what javalangnoclassdeffounderror means? 
 i can no longer 
 get into yahoo games, and get this message. how do i fix? 
 thanks in advance.
 

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




RE: question on multi -user performance

2002-11-07 Thread Ralph Einfeldt
Whether multithreaded will speed this up, depends
on the fact where the time is spent. If 90% of the 
time is spent in the cpu then this will not help
much as long as you don't put additional cpu's in 
the server.

Optimisation without profiling is worthless. If
you don't know where the time is spent you won't 
know where to twist the screws.

 -Original Message-
 From: Collin VanDyck [mailto:collin;hannonhill.com]
 Sent: Thursday, November 07, 2002 3:20 PM
 To: Tomcat Users List
 Subject: Re: question on multi -user performance
 
 
 It's possible that your servlet could be coded such that it is not
 threadable.  Can you give an example of what your code is doing?
 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: question on multi -user performance

2002-11-07 Thread Tak
My servlet to do a XSL transformation on the input XML.

Thanks

Tak

-Original Message-
From: Collin VanDyck [mailto:collin;hannonhill.com] 
Sent: Thursday, November 07, 2002 10:20 PM
To: Tomcat Users List
Subject: Re: question on multi -user performance


It's possible that your servlet could be coded such that it is not
threadable.  Can you give an example of what your code is doing?


- Original Message -
From: Tak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 07, 2002 6:28 AM
Subject: question on multi -user performance


 I'm performing a testing on the performance of tomcat 4.0.4 against 
 the number of concurrent user. So I start from 1 request to call a 
 servlet to
do
 a certain task and record the time elapsed. Then I start 2 requests at 
 the same time to call the same servlet and do the same task again and 
 record
the
 time elapsed. I repeat the testing for 3, 4 requests and so on. It is
found
 that it takes N ms for 1 request to finish.; it takes slightly less 
 than 2N ms to finish if there 2 requests; it takes slight less than 
 3N ms
to
 finish for 3 requests; and so on.

 My question is whether the result is reasonable. If not, how can I 
 tune
the
 tomcat server to have a better performance?

 Thanks

 Tak



--
To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Question about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02

2002-10-28 Thread Robert L Sowders
JVM variables, and classpaths can be set from the workers2.properties file 
and still run inprocess.  You will achieve the most speed that way.  No 
need to start manually under windows.  Unless you want to that is.  It's 
good to start that way for trouble shooting purposes I guess. 

rls






[EMAIL PROTECTED]
10/26/2002 11:12 AM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Re: Question about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02



Not so bothered about JNI as long as TC and Apache talk to each other.

I have attempted to force it to run manually; I don't trust inprocess
because I need to set a couple of JVM variables and tweak the CLASSPATH

Thanks for the input so far :)

JDL



  
  Robert L   
  Sowders To:   Tomcat Users 
List [EMAIL PROTECTED] 
  [EMAIL PROTECTED]cc:
  v   Subject:  Re: Question 
about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02 
  
  26/10/2002 02:06   
  Please respond to   
  Tomcat Users   
  List   
  
  




Well,

If you want to use jni and have Apache startup Tomcat you're going to have
to change some things in both of your config files.  You should really
take a look at the new docs at
C:\build\jakarta-tomcat-connectors\jk\build\docs\jk2\confighowto.html.

First:  apr.jniModeSo=some_path is the unix way to jni.  For Win2k you 
just
need inprocess.

Second:  You have almost everything needed to start Tomcat in-process
commented out in wk2.prop.  Did you intend to do this.  It's almost as if
you meant to start TC manually, or as a separate process?

I send you my conf files they are both pretty vanilla.

Here's my jk2.properties file:

Note:  At one time you also needed a, channelJni.disabled = 0, statement.
Don't know how old your version of jk2 is so you might need it.

# Start jk2.p ##

# Add the apr and channelJni to the list of handlers
handler.list=apr,request,container,channelJni
# The native libraries will be registered by JK2
apr.jniModeSo=inprocess

# End jk2.p ##

Here's my workers2.properties file:

Note:  My variable for ${serverRoot} did not work so I just hard coded my
path to Apache home where it was needed.
Note:  I'm giving you the whole wk2.p file here.  Everything is not
needed.  To get jni working you only need all the sections that deal with
jni and of course your uri mappings, but you may gain some insight from
everything else.

workers2.properties:

# Start wk2.p #

# Define the comunication channel
[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess

# Define the parameters for the Java Virtual Machine
[vm:]
info=Parameters used to load a JVM in the server process
OPT=-Djava.class.path=${TOMCAT_HOME}/lib/tomcat-jni.jar;
${TOMCAT_HOME}/lib/tomcat.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M

# JNI worker startup handler
[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
stdout=${serverRoot}/logs/stdout.log
stderr=${serverRoot}/logs/stderr.log

# JNI worker shutdown handler
[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
[logger]
level=DEBUG

[config:]
#file=${serverRoot}/conf/workers2.properties
file=c:/Apache2/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=c:/Apache2/logs/jk2.shm
size=100
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 )
# can be overriden to a file logger, useful
# when tracing win32 related issues
#logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=0

#[lb:lb_1]
#info=A second load balancer.
#debug=0

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

#[channel.socket:localhost:8019]
#info=A second tomcat instance.
#debug=0
#tomcatId=localhost:8019
#lb_factor=1
#group=lb
#group=lb_1
#disabled=0

#[channel.un:/opt/33/work/jk2.socket]
#info=A second channel connecting to localhost:8019 via unix socket
#tomcatId=localhost:8019
#lb_factor=1
#debug=0

[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess

[status:]
info=Status worker, displays runtime informations

[vm:]
info=Parameters used to load a JVM in the server process

RE: Question regarding long running web applications

2002-10-28 Thread Sexton, George
You need to take an off-line approach where the servlet places a job request
into a job queue, and another application (or perhaps a servicing thread
inside tomcat) services the request and mails it to the user. There's no way
users are going to leave their browser running for an hour to get a report.

George Sexton
MH Software, Inc.
Home of Connect Daily Web Calendar Software
http://www.mhsoftware.com/connectdaily.htm
Voice: 303 438 9585


-Original Message-
From: Dick, Andrea [mailto:Andrea.Dick;ca.com]
Sent: 28 October, 2002 1:20 PM
To: [EMAIL PROTECTED]
Subject: Question regarding long running web applications


Hi,

I am in the process of designing a web application (servlet based) that
will get data from a mainframe application.  At times one or more
end-user's request may take several minutes possibly up to an hour to
complete.I am attempting to plan for a worst case scenario that has
all end-users making requests that take up to an hour to complete.
From my understanding of Tomcat it is possible to configure how many
requests can be processed at one time and how many can be on a queue
waiting.  In my scenario, it is possible that all requests processing
could be waiting on data from the mainframe, yet Tomcat and the Web
server itself would have cycles to process requests queued waiting.

I'm wondering whether there is a way with Tomcat/Servlets that I might
set up my own worker queue and thread pool to process requests; keep the
connection with the end user (client) active and free up tomcat requests
for additional processing? (Apparently it is possible with Microsoft
IIS and its Isapi interface.)

I've been searching for an answer to my question and haven't been able
to find it.  I'm hoping someone might have the answer or a
recommendation for me.

Thanks,
Andrea Dick


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Question about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02

2002-10-26 Thread JLagrue

Not so bothered about JNI as long as TC and Apache talk to each other.

I have attempted to force it to run manually; I don't trust inprocess
because I need to set a couple of JVM variables and tweak the CLASSPATH

Thanks for the input so far :)

JDL



   
  
  Robert L
  
  Sowders To:   Tomcat Users List 
[EMAIL PROTECTED]
  [EMAIL PROTECTED]cc: 
  
  v   Subject:  Re: Question about JK2, 
Apache2 and TC 4.1.12 with jdk1.3.1_02  
   
  
  26/10/2002 02:06 
  
  Please respond to
  
  Tomcat Users
  
  List
  
   
  
   
  




Well,

If you want to use jni and have Apache startup Tomcat you're going to have
to change some things in both of your config files.  You should really
take a look at the new docs at
C:\build\jakarta-tomcat-connectors\jk\build\docs\jk2\confighowto.html.

First:  apr.jniModeSo=some_path is the unix way to jni.  For Win2k you just
need inprocess.

Second:  You have almost everything needed to start Tomcat in-process
commented out in wk2.prop.  Did you intend to do this.  It's almost as if
you meant to start TC manually, or as a separate process?

I send you my conf files they are both pretty vanilla.

Here's my jk2.properties file:

Note:  At one time you also needed a, channelJni.disabled = 0, statement.
Don't know how old your version of jk2 is so you might need it.

# Start jk2.p ##

# Add the apr and channelJni to the list of handlers
handler.list=apr,request,container,channelJni
# The native libraries will be registered by JK2
apr.jniModeSo=inprocess

# End jk2.p ##

Here's my workers2.properties file:

Note:  My variable for ${serverRoot} did not work so I just hard coded my
path to Apache home where it was needed.
Note:  I'm giving you the whole wk2.p file here.  Everything is not
needed.  To get jni working you only need all the sections that deal with
jni and of course your uri mappings, but you may gain some insight from
everything else.

workers2.properties:

# Start wk2.p #

# Define the comunication channel
[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess

# Define the parameters for the Java Virtual Machine
[vm:]
info=Parameters used to load a JVM in the server process
OPT=-Djava.class.path=${TOMCAT_HOME}/lib/tomcat-jni.jar;
${TOMCAT_HOME}/lib/tomcat.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M

# JNI worker startup handler
[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
stdout=${serverRoot}/logs/stdout.log
stderr=${serverRoot}/logs/stderr.log

# JNI worker shutdown handler
[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
[logger]
level=DEBUG

[config:]
#file=${serverRoot}/conf/workers2.properties
file=c:/Apache2/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=c:/Apache2/logs/jk2.shm
size=100
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 )
# can be overriden to a file logger, useful
# when tracing win32 related issues
#logger=logger.file:0

Re: Question about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02

2002-10-25 Thread JLagrue

Robert

Thank you for you reply. Herein find the config files.
I really would be most grateful for any suggestions.

John


j2.properties
---
handler.list=apr,request,channelJni
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
shm.file=c:/Apache2/logs/jk2.shm

# In order to enable jni use any channelJni directive
channelJni.disabled = 0
# And one of the following directives:
# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
#apr.jniModeSo=inprocess
# Try using the standalone version
apr.jniModeSo=C:/Apache2/modules/mod_jk2.dll



workers2.properties
--
[logger]
level=DEBUG

[config:]
#file=${serverRoot}/conf/workers2.properties
file=C:/Apache2/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=10

# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=${serverRoot}/logs/jk2.shm
size=100
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=1
logger=logger
# Default Native Logger (apache2 or win32 )
# can be overriden to a file logger, useful
# when tracing win32 related issues
#logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=0

#[lb:lb_1]
#info=A second load balancer.
#debug=0

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

#[channel.jni:jni]
#info=The jni channel, used if tomcat is started inprocess

[status:]
info=Status worker, displays runtime informations

#[vm:]
#info=Parameters used to load a JVM in the server process
#JVM=C:\Program Files\Java\j2re1.4.0_01\bin\client\jvm.dll (Read from
registry)
#OPT=-Djava.class.path=c:/Java/Jakarta-tomcat-4.1.12/bin/tomcat-jni.jar
#OPT=-Dtomcat.home=c:/Java/Jakarta-tomcat-4.1.12
#OPT=-Dcatalina.home=c:/Java/Jakarta-tomcat-4.1.12
#OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
#disabled=1

[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
disabled=1
stdout=C:/Apache2/logs/stdout.log
stderr=C:/Apache2/logs/stderr.log

[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=1

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:


[uri:/examples]
info=Example webapp in the default context.
context=/examples
debug=0

[uri:/examples/servlets/*]
info=Prefix mapping

[uri:/examples/*.jsp]
info=Extension mapping

[uri:/examples/*]
info=Map the whole webapp

[uri:/select/*]
info=Map the whole webapp
context=/select
debug=10




   
  
  Robert L
  
  Sowders To:   Tomcat Users List 
[EMAIL PROTECTED]
  [EMAIL PROTECTED]cc: 
  
  v   Subject:  Re: Question about JK2, 
Apache2 and TC 4.1.12 with jdk1.3.1_02  
   
  
  25/10/2002 02:39 
  
  Please respond to
  
  Tomcat Users
  
  List
  
   
  
   
  




Hmmm,

Never tried to make it work with an old version of JSDK.  It should still
work with JSDK 1.3.1, but I haven't done it.

Are you trying to start it up in process?  jkjni.dll should not be
required for Apache.

Really I can only give you guesses if you don't post your

Re: Question about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02

2002-10-25 Thread Robert L Sowders
/servlets/*]
info=Prefix mapping

[uri:/examples/*.jsp]
info=Extension mapping

[uri:/examples/*]
info=Map the whole webapp

[uri:/examples/servlets/HelloW]
info=Exampel with debug enabled.
debug=10

# End wk2.p #

HTH 

rls






[EMAIL PROTECTED]
10/25/2002 02:44 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Re: Question about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02


Robert

Thank you for you reply. Herein find the config files.
I really would be most grateful for any suggestions.

John


j2.properties
---
handler.list=apr,request,channelJni
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default:
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
shm.file=c:/Apache2/logs/jk2.shm

# In order to enable jni use any channelJni directive
channelJni.disabled = 0
# And one of the following directives:
# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
#apr.jniModeSo=inprocess
# Try using the standalone version
apr.jniModeSo=C:/Apache2/modules/mod_jk2.dll



workers2.properties
--
[logger]
level=DEBUG

[config:]
#file=${serverRoot}/conf/workers2.properties
file=C:/Apache2/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=10

# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=${serverRoot}/logs/jk2.shm
size=100
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=1
logger=logger
# Default Native Logger (apache2 or win32 )
# can be overriden to a file logger, useful
# when tracing win32 related issues
#logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=0

#[lb:lb_1]
#info=A second load balancer.
#debug=0

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

#[channel.jni:jni]
#info=The jni channel, used if tomcat is started inprocess

[status:]
info=Status worker, displays runtime informations

#[vm:]
#info=Parameters used to load a JVM in the server process
#JVM=C:\Program Files\Java\j2re1.4.0_01\bin\client\jvm.dll (Read from
registry)
#OPT=-Djava.class.path=c:/Java/Jakarta-tomcat-4.1.12/bin/tomcat-jni.jar
#OPT=-Dtomcat.home=c:/Java/Jakarta-tomcat-4.1.12
#OPT=-Dcatalina.home=c:/Java/Jakarta-tomcat-4.1.12
#OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
#disabled=1

[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
disabled=1
stdout=C:/Apache2/logs/stdout.log
stderr=C:/Apache2/logs/stderr.log

[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=1

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:


[uri:/examples]
info=Example webapp in the default context.
context=/examples
debug=0

[uri:/examples/servlets/*]
info=Prefix mapping

[uri:/examples/*.jsp]
info=Extension mapping

[uri:/examples/*]
info=Map the whole webapp

[uri:/select/*]
info=Map the whole webapp
context=/select
debug=10




  
  Robert L   
  Sowders To:   Tomcat Users 
List [EMAIL PROTECTED] 
  [EMAIL PROTECTED]cc:
  v   Subject:  Re: Question 
about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02 
  
  25/10/2002 02:39   
  Please respond to   
  Tomcat Users   
  List   
  
  




Hmmm,

Never tried to make it work with an old version of JSDK.  It should still
work with JSDK 1.3.1, but I haven't done it.

Are you trying to start it up in process?  jkjni.dll should not be
required for Apache.

Really I can only give you guesses if you don't post your configs.  I'll
need jk2.prop..., worker2.prop..., etc.

rls







[EMAIL PROTECTED]
10/24/2002 04:08 AM
Please respond to Tomcat Users List


To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:Question about JK2, Apache2 and TC 4.1.12 with
jdk1.3.1_02

I have been struggling with JK2 to link Apache2 and TC 4.1.12 using JDL
1.3.1_02 on a Win2K system

All the docs and how-tos that I have found all talk about JDK1.4. And
using
JDK1.4 it does seem to work. However I have to use JDK 1.3.1_02 and cannot
get it running.

I have put mod_jk2.dll in Apache2\modules, and have jk2.properties in
%CATALINA_HOME%\conf

When I start up TC I get this:

[INFO] Registry - -Loading registry information
[INFO] Registry

Re: Question about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02

2002-10-24 Thread Robert L Sowders
Hmmm,

Never tried to make it work with an old version of JSDK.  It should still 
work with JSDK 1.3.1, but I haven't done it. 

Are you trying to start it up in process?  jkjni.dll should not be 
required for Apache.

Really I can only give you guesses if you don't post your configs.  I'll 
need jk2.prop..., worker2.prop..., etc.

rls







[EMAIL PROTECTED]
10/24/2002 04:08 AM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Question about JK2, Apache2 and TC 4.1.12 with jdk1.3.1_02

I have been struggling with JK2 to link Apache2 and TC 4.1.12 using JDL
1.3.1_02 on a Win2K system

All the docs and how-tos that I have found all talk about JDK1.4. And 
using
JDK1.4 it does seem to work. However I have to use JDK 1.3.1_02 and cannot
get it running.

I have put mod_jk2.dll in Apache2\modules, and have jk2.properties in
%CATALINA_HOME%\conf

When I start up TC I get this:

[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
[INFO] JkMain - -APR not loaded, disabling jni components:
java.io.IOException:
no jkjni in java.library.path
[INFO] JkMain - -Jk running ID=0 time=0/140  config=C:
\Java\jakarta-tomcat-4.1.12\conf\jk2.properties

I have got the jkjni.dll file too, but no matter where I put it, I get the
same error.

What have I forgotten/omitted?

Any help gratefully received.

JDL




--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: question about tomcat server

2002-10-15 Thread Turner, John


You can't just put servlets into the ROOT directory and expect them to work.
You need entries for them in web.xml.  Check the docs, and check the web.xml
for the examples to see how.

John


 -Original Message-
 From: Henry Mak [mailto:[EMAIL PROTECTED]]
 Sent: Monday, October 14, 2002 5:16 PM
 To: [EMAIL PROTECTED]
 Subject: question about tomcat server
 
 
 after i sucessfully install tomcat server. i tried to
 put my own servlets into the WEB-INF/classes under
 root directory. somehow it doesn't work - HTTP Status
 404  error popup. then i try to load the example
 servlets, and all of them have no problem at all.
 
 finally, i put my own servlets into the examples
 directory, and they are working fine. do u know what
 is the problem why it said HTTP Status 404  servlet
 not available when i put them into ROOT directory. i
 tested pure html files are working fine
 
 __
 Do you Yahoo!?
 Faith Hill - Exclusive Performances, Videos  More
 http://faith.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: Question from a newbie on running a web application

2002-09-26 Thread Turner, John


Tomcat ClassLoader HOWTO describes exactly how Tomcat finds classes:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

John


 -Original Message-
 From: Bill [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 25, 2002 10:31 PM
 To: Tomcat Users List
 Subject: Re: Question from a newbie on running a web application
 
 
 Hi Yiqun,
 Thanks for reply.
 I check what you said...
 All of the classes you mentioned, and also the classes that 
 showed up in the
 exception stack are in the jar files in /shared/lib, with the 
 exception of
 com.tad.security.core.tadmimp.logon.TADLogonServlet (which is in
 /WEB-INF/*).
 
 But, I do believe what you said is probably right.  There is 
 a conflict some
 place between the locations of the jars and classes.
 
 Thanks and regards,
 Bill
 
 - Original Message -
 From: Wu Yiqun [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, September 25, 2002 8:53 PM
 Subject: RE: Question from a newbie on running a web application
 
 
 Hi, Bill:
  I have encounter some similar problems.  Maybe this problem 
 is cause by
 following
 reason (I am not sure). You have a user class
 com.tad.security.core.logon.imp.LoginContext.
 This is at /WEB-INF/*, while you call  
 javax.security.auth.Subject. This is
 at /shared/lib,
 while it also EXIST in /server/lib in Tomcat 4.1. For some 
 reason, the one
 in /server/lib
 is used. And this is a tomcat internal class reposity, it 
 cannot seen the
 user class.
 Then strange thing happens. Maybe the writer of tomcat classloader can
 answer our question.
 My email similar to this issue at
 http://marc.theaimsgroup.com/?l=tomcat-userm=103292834825643w=2.
 
 Regards.
 
 
 -Original Message-
 From: Bill [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 26, 2002 7:46 AM
 To: tomcat-user
 Subject: Question from a newbie on running a web application
 
 
 Hi,
 I just installed Tomcat 4.1 and tried my web application.  
 But, ran into an
 exception which I have tried to resolved for most of the day, 
 without any
 success.
 
 This is the steps I used:
 1.  copied the application jar files to %CATALINA_HOME%\shared\lib
 2.  copied the war file to %CATALINA_HOME%\webapps
 
 When tomcat started, the war file expanded into the subdirectories
 correctly.  However, once I started to run the web 
 application, I got the
 following exception.  A couple of questions came out of this:
 
 1.  Why do some of the class have Unkknown Source?
 2.  The not-found class,  
 javax.security.auth.SubjectDomainCombiner, belongs
 to Sun's jaas.jar, which is in the shared\lib directory.  
 This jar also
 contains the class, javax.security.auth.Subject, which is the 
 class before
 the not-found class in the exception...this doesn't make much sense to
 me...how can a class being called by another class in the same jar be
 not-found?
 
 I also moved the jaas.jar to other lib's, e.g. \common\lib, 
 with the same
 error.
 
 Did I miss something?
 
 Pls help...thnx,
 Bill
 
 
 
 java.lang.ExceptionInInitializerError: java.lang.SecurityException:
 java.lang.ClassNotFoundException: 
 javax.security.auth.SubjectDomainCombiner
 at javax.security.auth.Subject.(Subject.java:170)
 at 
 com.tad.security.core.logon.imp.LoginContext.personalizeReques
 t(Unknown
 Source)
 at 
 com.tad.security.core.logon.imp.JUMAuthenticator.logon(Unknown Source)
 at com.tad.security.core.tadmimp.logon.TADLogonServlet.doLogon(Unknown
 Source)
 at
 com.tad.security.core.tadmimp.logon.TADLogonServlet.uidPasswor
 dLogon(Unknown
 Source)
 at com.tad.security.core.tadmimp.logon.TADLogonServlet.doPost(Unknown
 Source)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:1145)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:1264)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
 er(Application
 FilterChain.java:247)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
 cationFilterCh
 ain.java:193)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
 rapperValve.ja
 va:260)
 at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
 at 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardC
 ontextValve.ja
 va:191)
 at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643)
 at
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
 ine.java:480)
 at 
 org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
 org.apache.catalina.core.StandardContext.invoke(StandardContex
 t.java:2397)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHost
 Valve.java:180
 )
 at
 org.apache.catalina.core.StandardPipeline$StandardPipelineValv
 eContext.invok
 eNext(StandardPipeline.java:643

RE: Question from a newbie on running a web application

2002-09-25 Thread Wu Yiqun

Hi, Bill:
 I have encounter some similar problems.  Maybe this problem is cause by following
reason (I am not sure). You have a user class 
com.tad.security.core.logon.imp.LoginContext.
This is at /WEB-INF/*, while you call  javax.security.auth.Subject. This is at 
/shared/lib,
while it also EXIST in /server/lib in Tomcat 4.1. For some reason, the one in 
/server/lib
is used. And this is a tomcat internal class reposity, it cannot seen the user class.
Then strange thing happens. Maybe the writer of tomcat classloader can answer our 
question.
My email similar to this issue at 
http://marc.theaimsgroup.com/?l=tomcat-userm=103292834825643w=2.

Regards.


-Original Message-
From: Bill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 7:46 AM
To: tomcat-user
Subject: Question from a newbie on running a web application


Hi,
I just installed Tomcat 4.1 and tried my web application.  But, ran into an
exception which I have tried to resolved for most of the day, without any
success.

This is the steps I used:
1.  copied the application jar files to %CATALINA_HOME%\shared\lib
2.  copied the war file to %CATALINA_HOME%\webapps

When tomcat started, the war file expanded into the subdirectories
correctly.  However, once I started to run the web application, I got the
following exception.  A couple of questions came out of this:

1.  Why do some of the class have Unkknown Source?
2.  The not-found class,  javax.security.auth.SubjectDomainCombiner, belongs
to Sun's jaas.jar, which is in the shared\lib directory.  This jar also
contains the class, javax.security.auth.Subject, which is the class before
the not-found class in the exception...this doesn't make much sense to
me...how can a class being called by another class in the same jar be
not-found?

I also moved the jaas.jar to other lib's, e.g. \common\lib, with the same
error.

Did I miss something?

Pls help...thnx,
Bill



java.lang.ExceptionInInitializerError: java.lang.SecurityException:
java.lang.ClassNotFoundException: javax.security.auth.SubjectDomainCombiner
at javax.security.auth.Subject.(Subject.java:170)
at com.tad.security.core.logon.imp.LoginContext.personalizeRequest(Unknown
Source)
at com.tad.security.core.logon.imp.JUMAuthenticator.logon(Unknown Source)
at com.tad.security.core.tadmimp.logon.TADLogonServlet.doLogon(Unknown
Source)
at
com.tad.security.core.tadmimp.logon.TADLogonServlet.uidPasswordLogon(Unknown
Source)
at com.tad.security.core.tadmimp.logon.TADLogonServlet.doPost(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:1145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:1264)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)

Re: Question from a newbie on running a web application

2002-09-25 Thread Bill

Hi Yiqun,
Thanks for reply.
I check what you said...
All of the classes you mentioned, and also the classes that showed up in the
exception stack are in the jar files in /shared/lib, with the exception of
com.tad.security.core.tadmimp.logon.TADLogonServlet (which is in
/WEB-INF/*).

But, I do believe what you said is probably right.  There is a conflict some
place between the locations of the jars and classes.

Thanks and regards,
Bill

- Original Message -
From: Wu Yiqun [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 25, 2002 8:53 PM
Subject: RE: Question from a newbie on running a web application


Hi, Bill:
 I have encounter some similar problems.  Maybe this problem is cause by
following
reason (I am not sure). You have a user class
com.tad.security.core.logon.imp.LoginContext.
This is at /WEB-INF/*, while you call  javax.security.auth.Subject. This is
at /shared/lib,
while it also EXIST in /server/lib in Tomcat 4.1. For some reason, the one
in /server/lib
is used. And this is a tomcat internal class reposity, it cannot seen the
user class.
Then strange thing happens. Maybe the writer of tomcat classloader can
answer our question.
My email similar to this issue at
http://marc.theaimsgroup.com/?l=tomcat-userm=103292834825643w=2.

Regards.


-Original Message-
From: Bill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 7:46 AM
To: tomcat-user
Subject: Question from a newbie on running a web application


Hi,
I just installed Tomcat 4.1 and tried my web application.  But, ran into an
exception which I have tried to resolved for most of the day, without any
success.

This is the steps I used:
1.  copied the application jar files to %CATALINA_HOME%\shared\lib
2.  copied the war file to %CATALINA_HOME%\webapps

When tomcat started, the war file expanded into the subdirectories
correctly.  However, once I started to run the web application, I got the
following exception.  A couple of questions came out of this:

1.  Why do some of the class have Unkknown Source?
2.  The not-found class,  javax.security.auth.SubjectDomainCombiner, belongs
to Sun's jaas.jar, which is in the shared\lib directory.  This jar also
contains the class, javax.security.auth.Subject, which is the class before
the not-found class in the exception...this doesn't make much sense to
me...how can a class being called by another class in the same jar be
not-found?

I also moved the jaas.jar to other lib's, e.g. \common\lib, with the same
error.

Did I miss something?

Pls help...thnx,
Bill



java.lang.ExceptionInInitializerError: java.lang.SecurityException:
java.lang.ClassNotFoundException: javax.security.auth.SubjectDomainCombiner
at javax.security.auth.Subject.(Subject.java:170)
at com.tad.security.core.logon.imp.LoginContext.personalizeRequest(Unknown
Source)
at com.tad.security.core.logon.imp.JUMAuthenticator.logon(Unknown Source)
at com.tad.security.core.tadmimp.logon.TADLogonServlet.doLogon(Unknown
Source)
at
com.tad.security.core.tadmimp.logon.TADLogonServlet.uidPasswordLogon(Unknown
Source)
at com.tad.security.core.tadmimp.logon.TADLogonServlet.doPost(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:1145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:1264)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java

RE: Question about connecting Apache (2.0.40), tomcat (4.1.10) on Windows 2000

2002-09-23 Thread Turner, John


Actually, the instructions available work for both UNIX and Windows, as long
as you are able to translate paths.  For example, if the instructions use
/usr/local/apache, that translates (usually) to something like c:\apache
on a Windows server.  Other than that, and the need to use Winzip instead of
tar, the instructions are pretty much the same...the configuration files
such as workers.properties and server.xml and the necessary Apache
httpd.conf directives are platform-independent.

That said, you can get mod_jk.dll binaries from here:
http://www.johnturner.com/howto and if you search the archives for posts
last week, you will find posts from Robert Sowders with a very thorough list
of pointers to HOWTOs for various platforms, including Windows 2000.

John 


 -Original Message-
 From: ric [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, September 22, 2002 5:45 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Question about connecting Apache (2.0.40), tomcat (4.1.10) on
 Windows 2000
 
 
 I have installed and configured apache (2.0.40)(it's 
 currently hosting 
 two  URLs) and tomcat 4.1.10 on a windows 2000 advance server 
 machine. 
 Each, by themselves, are up and running. I am trying to 
 integrate tomcat 
 into the apache server and have failed. Has anyone done this 
 and could 
 you share the procedure (and configuration files).
 
 I am new to these servers and most of the documentation 
 assumes Unix and 
 I don't know how to convert what I am reading into what is 
 necessary for 
   a windows machine.
 
 Thanks for any help.
 ric ( ric @ garlic.com)
 
 PS I am currently not prepared to compile either server and am using 
 straight binaries.
 
 
 --
 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 setup mod_jserv with Tomcat 3.3.1 (was RE: Question)

2002-09-19 Thread Bill Barker

If you enable the Ajp12Interceptor in server.xml, then mod_jserv should work
normally (after setting the port attribute if necessary).

You'll have to set the ApjServManual flag, since no release version of
Tomcat currently supports starting the JVM from Apache (but it is under
development in the Jk2 connector).

Sorry that I can't be more specific, but I haven't used mod_jserv for a long
time.

Turner, John [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 Which documents?

 Please be as specific as you can if you want someone to help you out.

 Post snippets of config files, error messages, log file snippets, brief
 explanation of your configuration, etc.

 Maybe a good idea would be to read the list for a couple of days to get a
 feel for how to ask for help by providing as much information up front as
 possible.  Most (if not all) of us are quite busy, and giving us the
 information we need to help you up front will 1) get you your answer much
 faster and 2) cause more people to be inclined to help you.

 John


  -Original Message-
  From: Jai Durgam [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 18, 2002 1:58 PM
  To: Tomcat Users List
  Subject: RE: Question
 
 
  hi John, mod_jserv never worked, I guess. That is the issue.
  I Do have all the things set up per the documents.
  Jai
 
 
  -Original Message-
  From: Turner, John [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 18, 2002 10:57 AM
  To: 'Tomcat Users List'
  Subject: RE: Question
 
 
 
  Well, that's the sort of specific information we need to help you.
 
  You're using mod_jserv?  Has it worked before, is it working
  now?  What
  changed that caused it to stop working?  Mod_jk is recommended over
  mod_jserv, especially for Tomcat 4.
 
  So, I'm not clear what the issue is now.  You had mod_jserv
  working and then
  it stopped?  Or you want to know how to make mod_jserv work?
 
  John
 
 
   -Original Message-
   From: Jai Durgam [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, September 18, 2002 1:47 PM
   To: Tomcat Users List
   Subject: RE: Question
  
  
   hi John, thanks for being patient with me. have been using
   mod_jserv? Is that not recommended? Can you point me to a
   version here?
   Jai
  
  
   -Original Message-
   From: Turner, John [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, September 18, 2002 10:15 AM
   To: 'Tomcat Users List'
   Subject: RE: Question
  
  
  
   Well, you need to do all sorts of stuff to use Apache with
   Tomcat.  This is
   a pretty big subject, it comes up many times every day.
  You'll need a
   connector like mod_jk, and you will need to make changes to
   server.xml,
   httpd.conf, and create a new file called workers.properties
   (if you choose
   mod_jk...there are other alternatives).
  
   Your best bet is to search the list archives, or look for
   some HOWTOs.  I
   have some for Redhat here:
   http://www.johnturner.com/howto
  
   John
  
  
-Original Message-
From: Jai Durgam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 1:07 PM
To: Tomcat Users List
Subject: RE: Question
   
   
Sorry, my mistake. am running tomcat 3.3.1 and apache 1.3.26
on linux.
apache doc root set to //nn/prm
   
haven't changed anything else. What more information can
  I provide?
Thanks
Jai
   
   
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 9:59 AM
To: 'Tomcat Users List'
Subject: RE: Question
   
   
   
You'll need to provide a lot more information than that, and
get a lot more
specific, before anyone can help you.
   
Platform, versions, what you've done so far, what you've
   changed, etc.
   
John
   
 -Original Message-
 From: Jai Durgam [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 17, 2002 6:30 PM
 To: [EMAIL PROTECTED]
 Subject: Question


 I can't seem to connect apache to tomcat inspite of the
 include file in the httpd.conf file. I can get
 http://xxx.xxx.com:8080/nn/prm or something come up just fine
 but I cannot seem to get
 http://xxx.xxx.com to come up. I have configured Document
 Root in the httpd.conf file to point to .../nn/prm
 Please help.
 Thanks

 Jai Durgam


 --
 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]
 
 
  --
  To unsubscribe, e-mail:
  mailt

RE: Question

2002-09-18 Thread Turner, John


You'll need to provide a lot more information than that, and get a lot more
specific, before anyone can help you.

Platform, versions, what you've done so far, what you've changed, etc.

John

 -Original Message-
 From: Jai Durgam [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 17, 2002 6:30 PM
 To: [EMAIL PROTECTED]
 Subject: Question
 
 
 I can't seem to connect apache to tomcat inspite of the 
 include file in the httpd.conf file. I can get
 http://xxx.xxx.com:8080/nn/prm or something come up just fine 
 but I cannot seem to get
 http://xxx.xxx.com to come up. I have configured Document 
 Root in the httpd.conf file to point to .../nn/prm 
 Please help. 
 Thanks
 
 Jai Durgam
 
 
 --
 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: Question

2002-09-18 Thread Jai Durgam

Sorry, my mistake. am running tomcat 3.3.1 and apache 1.3.26 on linux. 
apache doc root set to //nn/prm

haven't changed anything else. What more information can I provide?
Thanks
Jai


-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 9:59 AM
To: 'Tomcat Users List'
Subject: RE: Question



You'll need to provide a lot more information than that, and get a lot more
specific, before anyone can help you.

Platform, versions, what you've done so far, what you've changed, etc.

John

 -Original Message-
 From: Jai Durgam [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 17, 2002 6:30 PM
 To: [EMAIL PROTECTED]
 Subject: Question
 
 
 I can't seem to connect apache to tomcat inspite of the 
 include file in the httpd.conf file. I can get
 http://xxx.xxx.com:8080/nn/prm or something come up just fine 
 but I cannot seem to get
 http://xxx.xxx.com to come up. I have configured Document 
 Root in the httpd.conf file to point to .../nn/prm 
 Please help. 
 Thanks
 
 Jai Durgam
 
 
 --
 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: Question

2002-09-18 Thread Turner, John


Well, you need to do all sorts of stuff to use Apache with Tomcat.  This is
a pretty big subject, it comes up many times every day.  You'll need a
connector like mod_jk, and you will need to make changes to server.xml,
httpd.conf, and create a new file called workers.properties (if you choose
mod_jk...there are other alternatives).

Your best bet is to search the list archives, or look for some HOWTOs.  I
have some for Redhat here:
http://www.johnturner.com/howto

John


 -Original Message-
 From: Jai Durgam [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 18, 2002 1:07 PM
 To: Tomcat Users List
 Subject: RE: Question
 
 
 Sorry, my mistake. am running tomcat 3.3.1 and apache 1.3.26 
 on linux. 
 apache doc root set to //nn/prm
 
 haven't changed anything else. What more information can I provide?
 Thanks
 Jai
 
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 18, 2002 9:59 AM
 To: 'Tomcat Users List'
 Subject: RE: Question
 
 
 
 You'll need to provide a lot more information than that, and 
 get a lot more
 specific, before anyone can help you.
 
 Platform, versions, what you've done so far, what you've changed, etc.
 
 John
 
  -Original Message-
  From: Jai Durgam [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 17, 2002 6:30 PM
  To: [EMAIL PROTECTED]
  Subject: Question
  
  
  I can't seem to connect apache to tomcat inspite of the 
  include file in the httpd.conf file. I can get
  http://xxx.xxx.com:8080/nn/prm or something come up just fine 
  but I cannot seem to get
  http://xxx.xxx.com to come up. I have configured Document 
  Root in the httpd.conf file to point to .../nn/prm 
  Please help. 
  Thanks
  
  Jai Durgam
  
  
  --
  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: Question

2002-09-18 Thread Jai Durgam

hi John, thanks for being patient with me. have been using mod_jserv? Is that not 
recommended? Can you point me to a version here? 
Jai


-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 10:15 AM
To: 'Tomcat Users List'
Subject: RE: Question



Well, you need to do all sorts of stuff to use Apache with Tomcat.  This is
a pretty big subject, it comes up many times every day.  You'll need a
connector like mod_jk, and you will need to make changes to server.xml,
httpd.conf, and create a new file called workers.properties (if you choose
mod_jk...there are other alternatives).

Your best bet is to search the list archives, or look for some HOWTOs.  I
have some for Redhat here:
http://www.johnturner.com/howto

John


 -Original Message-
 From: Jai Durgam [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 18, 2002 1:07 PM
 To: Tomcat Users List
 Subject: RE: Question
 
 
 Sorry, my mistake. am running tomcat 3.3.1 and apache 1.3.26 
 on linux. 
 apache doc root set to //nn/prm
 
 haven't changed anything else. What more information can I provide?
 Thanks
 Jai
 
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 18, 2002 9:59 AM
 To: 'Tomcat Users List'
 Subject: RE: Question
 
 
 
 You'll need to provide a lot more information than that, and 
 get a lot more
 specific, before anyone can help you.
 
 Platform, versions, what you've done so far, what you've changed, etc.
 
 John
 
  -Original Message-
  From: Jai Durgam [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 17, 2002 6:30 PM
  To: [EMAIL PROTECTED]
  Subject: Question
  
  
  I can't seem to connect apache to tomcat inspite of the 
  include file in the httpd.conf file. I can get
  http://xxx.xxx.com:8080/nn/prm or something come up just fine 
  but I cannot seem to get
  http://xxx.xxx.com to come up. I have configured Document 
  Root in the httpd.conf file to point to .../nn/prm 
  Please help. 
  Thanks
  
  Jai Durgam
  
  
  --
  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]


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




RE: Question

2002-09-18 Thread Turner, John


Well, that's the sort of specific information we need to help you.

You're using mod_jserv?  Has it worked before, is it working now?  What
changed that caused it to stop working?  Mod_jk is recommended over
mod_jserv, especially for Tomcat 4.

So, I'm not clear what the issue is now.  You had mod_jserv working and then
it stopped?  Or you want to know how to make mod_jserv work?

John


 -Original Message-
 From: Jai Durgam [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 18, 2002 1:47 PM
 To: Tomcat Users List
 Subject: RE: Question
 
 
 hi John, thanks for being patient with me. have been using 
 mod_jserv? Is that not recommended? Can you point me to a 
 version here? 
 Jai
 
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 18, 2002 10:15 AM
 To: 'Tomcat Users List'
 Subject: RE: Question
 
 
 
 Well, you need to do all sorts of stuff to use Apache with 
 Tomcat.  This is
 a pretty big subject, it comes up many times every day.  You'll need a
 connector like mod_jk, and you will need to make changes to 
 server.xml,
 httpd.conf, and create a new file called workers.properties 
 (if you choose
 mod_jk...there are other alternatives).
 
 Your best bet is to search the list archives, or look for 
 some HOWTOs.  I
 have some for Redhat here:
 http://www.johnturner.com/howto
 
 John
 
 
  -Original Message-
  From: Jai Durgam [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 18, 2002 1:07 PM
  To: Tomcat Users List
  Subject: RE: Question
  
  
  Sorry, my mistake. am running tomcat 3.3.1 and apache 1.3.26 
  on linux. 
  apache doc root set to //nn/prm
  
  haven't changed anything else. What more information can I provide?
  Thanks
  Jai
  
  
  -Original Message-
  From: Turner, John [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 18, 2002 9:59 AM
  To: 'Tomcat Users List'
  Subject: RE: Question
  
  
  
  You'll need to provide a lot more information than that, and 
  get a lot more
  specific, before anyone can help you.
  
  Platform, versions, what you've done so far, what you've 
 changed, etc.
  
  John
  
   -Original Message-
   From: Jai Durgam [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, September 17, 2002 6:30 PM
   To: [EMAIL PROTECTED]
   Subject: Question
   
   
   I can't seem to connect apache to tomcat inspite of the 
   include file in the httpd.conf file. I can get
   http://xxx.xxx.com:8080/nn/prm or something come up just fine 
   but I cannot seem to get
   http://xxx.xxx.com to come up. I have configured Document 
   Root in the httpd.conf file to point to .../nn/prm 
   Please help. 
   Thanks
   
   Jai Durgam
   
   
   --
   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]


--
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: Question

2002-09-18 Thread Jai Durgam

hi John, mod_jserv never worked, I guess. That is the issue. I Do have all the things 
set up per the documents. 
Jai


-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 10:57 AM
To: 'Tomcat Users List'
Subject: RE: Question



Well, that's the sort of specific information we need to help you.

You're using mod_jserv?  Has it worked before, is it working now?  What
changed that caused it to stop working?  Mod_jk is recommended over
mod_jserv, especially for Tomcat 4.

So, I'm not clear what the issue is now.  You had mod_jserv working and then
it stopped?  Or you want to know how to make mod_jserv work?

John


 -Original Message-
 From: Jai Durgam [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 18, 2002 1:47 PM
 To: Tomcat Users List
 Subject: RE: Question
 
 
 hi John, thanks for being patient with me. have been using 
 mod_jserv? Is that not recommended? Can you point me to a 
 version here? 
 Jai
 
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 18, 2002 10:15 AM
 To: 'Tomcat Users List'
 Subject: RE: Question
 
 
 
 Well, you need to do all sorts of stuff to use Apache with 
 Tomcat.  This is
 a pretty big subject, it comes up many times every day.  You'll need a
 connector like mod_jk, and you will need to make changes to 
 server.xml,
 httpd.conf, and create a new file called workers.properties 
 (if you choose
 mod_jk...there are other alternatives).
 
 Your best bet is to search the list archives, or look for 
 some HOWTOs.  I
 have some for Redhat here:
 http://www.johnturner.com/howto
 
 John
 
 
  -Original Message-
  From: Jai Durgam [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 18, 2002 1:07 PM
  To: Tomcat Users List
  Subject: RE: Question
  
  
  Sorry, my mistake. am running tomcat 3.3.1 and apache 1.3.26 
  on linux. 
  apache doc root set to //nn/prm
  
  haven't changed anything else. What more information can I provide?
  Thanks
  Jai
  
  
  -Original Message-
  From: Turner, John [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 18, 2002 9:59 AM
  To: 'Tomcat Users List'
  Subject: RE: Question
  
  
  
  You'll need to provide a lot more information than that, and 
  get a lot more
  specific, before anyone can help you.
  
  Platform, versions, what you've done so far, what you've 
 changed, etc.
  
  John
  
   -Original Message-
   From: Jai Durgam [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, September 17, 2002 6:30 PM
   To: [EMAIL PROTECTED]
   Subject: Question
   
   
   I can't seem to connect apache to tomcat inspite of the 
   include file in the httpd.conf file. I can get
   http://xxx.xxx.com:8080/nn/prm or something come up just fine 
   but I cannot seem to get
   http://xxx.xxx.com to come up. I have configured Document 
   Root in the httpd.conf file to point to .../nn/prm 
   Please help. 
   Thanks
   
   Jai Durgam
   
   
   --
   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]


--
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]




<    1   2   3   4   5   6   >