Error migrating to 5.0.x

2004-09-24 Thread Curley, Thomas
Hi All

Exiting Tomcat 4.1.30 / New 5.0.28

I just installed 5.0 created a data source using admin and copied my webapp to the 
webapps dir (also changed the catalina_home).  I'm using struts and get the following 
error

Appreciate any ideas on this

Thomas


org.apache.jasper.JasperException: jsp.error.tlv.invalid.pagenull: 
java.lang.IllegalStateException: can't declare any more prefixes in this 
contextjsp.error.tlv.invalid.pagenull: 
java.lang.IllegalStateException: can't declare any more prefixes in this context

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:112)
org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:661)
org.apache.jasper.compiler.Validator.validate(Validator.java:613)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:230)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)






*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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



RE: SQL Injection and Tomcat

2003-12-12 Thread Curley, Thomas
Thanks Andrey and Tim for replies - appreciate it

Has thought of setting rewrite rules in Apache and only allow valid chars in - would 
the value be better/worse

Thomas


-Original Message-
From: Andrey Rogov [mailto:[EMAIL PROTECTED]
Sent: 12 December 2003 12:00
To: Tomcat Users List
Subject: Re: SQL Injection and Tomcat


Hi,

U can configure the Valve param in your server.xml file
   
   
   

   
U Can Also buy wonderfull book TOMCAT The definitive Guide
by Ian E.Darwin & Jason Brittain


CT> Hi,

CT> I have an app using MySql and TC4 on linux o JSP app

CT> Does Tomcat have any inbuild features to filter out certain characters like ', ;, 
etc from request URI's.  Would a filters or values impl help with this or is it 
necessary to parse all input (may
CT> affect performance)

CT> any experience 

CT> thanks

CT> Thomas


CT> 
*
CT> This email and any attachments are confidential and intended for the sole use of 
the intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it
CT> from your system. Any unauthorized dissemination, retransmission, or copying of 
this email and any attachments is prohibited. Euroconex does not accept any 
responsibility for any breach of
CT> confidence, which may arise from the use of email. Please note that any views or 
opinions presented in this email are solely those of the author and do not necessarily 
represent those of the
CT> Company. This message has been scanned for known computer viruses. 
CT> 
*

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



-- 
Best regards,
 Andreymailto:[EMAIL PROTECTED]
*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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



SQL Injection and Tomcat

2003-12-12 Thread Curley, Thomas
Hi,

I have an app using MySql and TC4 on linux o JSP app

Does Tomcat have any inbuild features to filter out certain characters like ', ;, etc 
from request URI's.  Would a filters or values impl help with this or is it necessary 
to parse all input (may affect performance)

any experience 

thanks

Thomas


*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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



RE: Security Hole - server.xml

2003-11-26 Thread Curley, Thomas
thanks for your time Justin - I will look into this - T

-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: 26 November 2003 18:17
To: Tomcat Users List
Subject: RE: Security Hole - server.xml


Well, right, but if you were to inherit from the realm that you wanted to use, you can 
manipulate the password field in any way that you wish.

Unix password shadows are plantext, as are MD5 hashes.  All you do now is run MD5 over 
the password field in the authenticate method, and viola, you have MD5 to store your 
passwords with.

Justin

-Original Message-
From: Curley, Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 1:13 PM
To: Tomcat Users List
Subject: RE: Security Hole - server.xml


Note - in reply to Justin - I don't have a multi-tier login

So to sumarise I guess the ansswer to this is that Tomcat currently does not support 
encrypted datasource user/passwd or does not allow the option to enter user/passwd at 
startup

The most one can do is to apply strict unix permissions to server.xml

Thomas






-Original Message-
From: Bob Jacoby [mailto:[EMAIL PROTECTED]
Sent: 26 November 2003 17:10
To: [EMAIL PROTECTED]
Subject: RE: Security Hole - server.xml


I consider things like this. By encrypting the password I'm protecting against casual 
learning of the password. I'm not really referring to hackers, but administrators of 
the system. There's a big difference between a hacker and an administrator. What if I 
need the administrator to add a new entry? Do I tell him to not look at the other 
entries or hold up some Men in Black gizmo after he's done to make him forget what he 
saw? How can I prove that the admin knowingly looked at the file to get the passwords 
as opposed to just making a mistake? If the passwords are encrypted the administrator 
would have to take a deliberate action to learn the passwords that generally can't be 
chalked up to a mistake. I think a similar argument applies to why Unix passwords are 
encrypted. 

By some of the arguments I've seen in response to the original post people seem to 
think that if a specific security precaution doesn't absolutely protect the system 
there's no point in doing it. By that argument, and given that there are no absolutes 
with respect to security, what's the point of implementing any security in the first 
place? This question is to those who say it's pointless to encrypt the passwords since 
they can be discovered via some means - not a general question of why any security 
should be implemented. :)

Bob

>>> [EMAIL PROTECTED] 11/26/03 08:09AM >>>
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]

> I'd feel more secure with an MD5 or SHA1 encrypted user and 
> password that relying on unix file level security - what 
> happens if a hacker gets root priv's ?

Er ... Without wishing to flame, but if they've got root priv's they can do
what they like!

They could still sniff the network and get this info what ever the app
server, unless you DB server supports SSL in which case it becomes more
complex.

Although weblogic appears to encrypt this, if you script the startup, the
admin username/password is still avaliable and hence the encrypted passwords
can be unencrypted (as the app server has to send the password to the DB) -
so you just slow someone down, but if they have some brains will get through
eventually.

Greg


> 
> thanks
> 
> Thomas
> 
> -Original Message-
> From: Tim Funk [mailto:[EMAIL PROTECTED]
> Sent: 26 November 2003 13:51
> To: Tomcat Users List
> Subject: Re: Security Hole - server.xml
> 
> 
> The username and password still need decrypted at some time. 
> It just makes 
> the attacker jump through 1 hoop.
> 
> Using file permissions on the config file as well and server 
> security are the 
> ways to go.
> 
> -Tim
> 
> Curley, Thomas wrote:
> 
> > Hi all,
> > 
> > A direct question arising from a security review :-
> > 
> >  Using a datasource it is possible to remove the 
> 'username', 'password' or at least encrypt them using 
> someting like MD5
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> **
> ***
> This email and any attachments are confidential and intended 
> for the sole use of the intended recipient(s).If you receive 
> this email in error please notify [EMAIL PROTECTED] 
> and delete it from your system. Any unauthorized 
> dissemination, retransmission, or copying of this email and 
> any attachments is prohibited. Euroconex does not accept any 

RE: Security Hole - server.xml

2003-11-26 Thread Curley, Thomas
Note - in reply to Justin - I don't have a multi-tier login

So to sumarise I guess the ansswer to this is that Tomcat currently does not support 
encrypted datasource user/passwd or does not allow the option to enter user/passwd at 
startup

The most one can do is to apply strict unix permissions to server.xml

Thomas






-Original Message-
From: Bob Jacoby [mailto:[EMAIL PROTECTED]
Sent: 26 November 2003 17:10
To: [EMAIL PROTECTED]
Subject: RE: Security Hole - server.xml


I consider things like this. By encrypting the password I'm protecting against casual 
learning of the password. I'm not really referring to hackers, but administrators of 
the system. There's a big difference between a hacker and an administrator. What if I 
need the administrator to add a new entry? Do I tell him to not look at the other 
entries or hold up some Men in Black gizmo after he's done to make him forget what he 
saw? How can I prove that the admin knowingly looked at the file to get the passwords 
as opposed to just making a mistake? If the passwords are encrypted the administrator 
would have to take a deliberate action to learn the passwords that generally can't be 
chalked up to a mistake. I think a similar argument applies to why Unix passwords are 
encrypted. 

By some of the arguments I've seen in response to the original post people seem to 
think that if a specific security precaution doesn't absolutely protect the system 
there's no point in doing it. By that argument, and given that there are no absolutes 
with respect to security, what's the point of implementing any security in the first 
place? This question is to those who say it's pointless to encrypt the passwords since 
they can be discovered via some means - not a general question of why any security 
should be implemented. :)

Bob

>>> [EMAIL PROTECTED] 11/26/03 08:09AM >>>
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]

> I'd feel more secure with an MD5 or SHA1 encrypted user and 
> password that relying on unix file level security - what 
> happens if a hacker gets root priv's ?

Er ... Without wishing to flame, but if they've got root priv's they can do
what they like!

They could still sniff the network and get this info what ever the app
server, unless you DB server supports SSL in which case it becomes more
complex.

Although weblogic appears to encrypt this, if you script the startup, the
admin username/password is still avaliable and hence the encrypted passwords
can be unencrypted (as the app server has to send the password to the DB) -
so you just slow someone down, but if they have some brains will get through
eventually.

Greg


> 
> thanks
> 
> Thomas
> 
> -Original Message-
> From: Tim Funk [mailto:[EMAIL PROTECTED]
> Sent: 26 November 2003 13:51
> To: Tomcat Users List
> Subject: Re: Security Hole - server.xml
> 
> 
> The username and password still need decrypted at some time. 
> It just makes 
> the attacker jump through 1 hoop.
> 
> Using file permissions on the config file as well and server 
> security are the 
> ways to go.
> 
> -Tim
> 
> Curley, Thomas wrote:
> 
> > Hi all,
> > 
> > A direct question arising from a security review :-
> > 
> >  Using a datasource it is possible to remove the 
> 'username', 'password' or at least encrypt them using 
> someting like MD5
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> **
> ***
> This email and any attachments are confidential and intended 
> for the sole use of the intended recipient(s).If you receive 
> this email in error please notify [EMAIL PROTECTED] 
> and delete it from your system. Any unauthorized 
> dissemination, retransmission, or copying of this email and 
> any attachments is prohibited. Euroconex does not accept any 
> responsibility for any breach of confidence, which may arise 
> from the use of email. Please note that any views or opinions 
> presented in this email are solely those of the author and do 
> not necessarily represent those of the Company. This message 
> has been scanned for known computer viruses. 
> **
> ***
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

RE: Security Hole - server.xml

2003-11-26 Thread Curley, Thomas
I'd feel more secure with an MD5 or SHA1 encrypted user and password that relying on 
unix file level security - what happens if a hacker gets root priv's ?

thanks

Thomas

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: 26 November 2003 13:51
To: Tomcat Users List
Subject: Re: Security Hole - server.xml


The username and password still need decrypted at some time. It just makes 
the attacker jump through 1 hoop.

Using file permissions on the config file as well and server security are the 
ways to go.

-Tim

Curley, Thomas wrote:

> Hi all,
> 
> A direct question arising from a security review :-
> 
>  Using a datasource it is possible to remove the 'username', 'password' or at least 
> encrypt them using someting like MD5
> 


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

*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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



Security Hole - server.xml

2003-11-26 Thread Curley, Thomas
Hi all,

A direct question arising from a security review :-

 Using a datasource it is possible to remove the 'username', 'password' or at least 
encrypt them using someting like MD5


thanks in advance for your info

Thomas







*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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



RE: Tomcat4.1, jk2, and apache 1.3

2003-10-09 Thread Curley, Thomas
Fully agree - the connector tomcat/apache doc is a mess - can't understand why the 
connector developers cannot write a simple doc as part of release procedure or ask for 
help in documenting this.

I'm alo trying to integrate Apache 1.3, TC 4.1.27 using jk2 on RH7.3

>From what I see you need mod_jk2.so (build this), jk2.properties, 
>workers2.properties.  Avoid going the auto config route in httpd just add the 2 lines 
>for the jk2 module.


Thomas


-Original Message-
From: Mark Claassen [mailto:[EMAIL PROTECTED]
Sent: 08 October 2003 23:18
To: [EMAIL PROTECTED]
Subject: Tomcat4.1, jk2, and apache 1.3


Hi.  I am trying to get the mod_jk2 to load into apache 1.3 and I am
slowly going insane.  I have "googled" my way around the web and have
seen lots of people ask the same type of question I am asking, but there
are few good answers.  (I feel a bit like that guy in the commercial
that "finished" the internet.)

I have in my httpd.conf file:
LoadModule  jk2_module libexec/mod_jk2.so
Include tomcat/conf/auto/mod_jk.conf

I have read that there is a way to get tomcat to produce its own
mod_jk.conf-auto file, but I cannot find how to do it.  I have looked at
the jk2 docs a lot, but it seems that they are for a different
(incompatible) version.  The JkMount directives cannot be added manually
either, since mod_jk2 doesn't seem to understand these.  

What magic do I need to do so that tomcat 4.1 can produce the jk2 config
file automatically? 

Thanks,
Mark


-
"Nonviolence is the answer to the crucial political and moral questions
of our time; the need for man to overcome oppression and violence
without resorting to oppression and violence. "
-- Martin Luther King Jr.

Mark Claassen
Donnell Systems, Inc.
300 S. St. Louis Blvd. Ste. 203 
South Bend, IN 46617
E-mail: mailto:[EMAIL PROTECTED]
Voice: (574)232-3784
Fax: (574)232-4014


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

*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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



Integrating Tomcat and Apache on RedHat 9.0

2003-10-07 Thread Curley, Thomas
Hi,

First good doc.

However I got to the build of mod_jk and got the following error:

# make
...
...
...
TH=/var/run/httpd.mm -g -O2 -I /usr/java/j2sdk1.4.1/include -I 
/usr/java/j2sdk1.4.1/include/ -c jk_uri_worker
_map.c -fPIC -DPIC -o .libs/jk_uri_worker_map.lo
jk_uri_worker_map.c: In function `map_uri_to_worker':
jk_uri_worker_map.c:493: parse error before `char'
jk_uri_worker_map.c:495: `url_rewrite' undeclared (first use in this function)
jk_uri_worker_map.c:495: (Each undeclared identifier is reported only once
jk_uri_worker_map.c:495: for each function it appears in.)
make[1]: *** [jk_uri_worker_map.lo] Error 1
make[1]: Leaving directory 
`/usr/src/jakarta-tomcat-connectors-4.1.27-src/jk/native/common'
make: *** [all-recursive] Error 1
[EMAIL PROTECTED] native]# ls -l

Also prior to this on 

# ./configure got

configure.in:24: AC_PROG_CPP was called before AC_PROG_CC


I'm running RH 7.3 AIS on i386, Tomcat 4.1.27 / Apache 1.3.27


Would appreciate any ideas on this










-Original Message-
From: Lawence [mailto:[EMAIL PROTECTED]
Sent: 02 October 2003 20:08
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Integrating Tomcat and Apache on RedHat 9.0




Thanks for sharing.
 
 
Mike Millson <[EMAIL PROTECTED]> wrote:
FYI, below is an article I wrote on integrating tomcat and apache on
RedHat 9.0 that might be of interest.

http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html

It has a lot of general configuration info as well. It has been fairly
well tested recently by a number of individuals who have provided
feedback.

It was published this month by Linux Gazette, but the link above has the
latest and greatest w/ typos fixed and clarifications added. As much as
I proofread the copy I sent to Linux Gazette, a few issues and typos
were brought to my attention after I submitted it.

http://linuxgazette.com/issue95/millson.html

Mike


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


-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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



RE: APJ v WARP

2003-10-03 Thread Curley, Thomas
Chaps,

where can I get mod_jk2.so as bin or do I need to build for linux RH

-Original Message-
From: Curley, Thomas 
Sent: 03 October 2003 13:33
To: [EMAIL PROTECTED]
Subject: APJ v WARP


I am connecting Apache 1.3.x to TC 4.1.27 on Linux

>From what I can see on the group the concensus is to go with jk2 / AJP

Has anyone recently done this  - if so please let me know if there are any issues / 
performace issues.


Thomas


*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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

*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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



APJ v WARP

2003-10-03 Thread Curley, Thomas
I am connecting Apache 1.3.x to TC 4.1.27 on Linux

>From what I can see on the group the concensus is to go with jk2 / AJP

Has anyone recently done this  - if so please let me know if there are any issues / 
performace issues.


Thomas


*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

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



DBCP borrowObject failed

2003-10-01 Thread Curley, Thomas
HI all,

I am stuck with the trying to setup MySql 4.0.13 to Tomcat 4.1.27 on RH Linux (both DB 
and TC are on the same box). I have read the doc's and looked thro' previous posting 
and cant see the problem.  I have this working on TC 4.1.12 and MySql 3.23.  The only 
other issue is the new box is inside a DMZ

I get the following error:

DBCP borrowObject failed: java.sql.SQLException: Server connection failure during 
transaction.
Attempted reconnect 3 times. Giving up.

I can use MySql client and connect to mysql using the user/passwd in server.xml


 <> 
 <> 
thanks

Thomas

*
This email and any attachments are confidential and intended for the sole use of the 
intended recipient(s).If you receive this email in error please notify [EMAIL 
PROTECTED] and delete it from your system. Any unauthorized dissemination, 
retransmission, or copying of this email and any attachments is prohibited. Euroconex 
does not accept any responsibility for any breach of confidence, which may arise from 
the use of email. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of the Company. This 
message has been scanned for known computer viruses. 
*

http://java.sun.com/dtd/web-app_2_3.dtd";>

  Merchant Direct
  
  DB Connection
  jdbc/mdirect
  javax.sql.DataSource
  Container
  




  
  
  




  
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
  
  
pathname
conf/tomcat-users.xml
  

  
  

  


  


  

  




  
  
  
  
  
  
  
  
  
  
  
  
  
  

  url
  jdbc:HypersonicSQL:database


  password
  


  driverClassName
  org.hsql.jdbcDriver


  username
  sa

  
  

  mail.smtp.host
  localhost

  
  






  


	
	
	  
	username
	mdapp
	  
	  
	password
	mdapp001
	  
	  
	url
	jdbc:mysql://svrark-mer01/mdirect?autoReconnect=true
	  
	  
	driverClassName
	com.mysql.jdbc.Driver
	  
	  
	maxWait
	5000
	  
	  
	maxActive
	200
	  
	  
	maxIdle
	10
	  
	
	 

  
  
  

  

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

jsp:setProperty

2003-02-17 Thread Curley, Thomas
Hi all,

using 4.1.12 - is there any issues with setProperty()

I have a simple form with 3 textfields (1 shown in example below for clarity) and a 
java bean class (again cut down 1 method).

problem - the bean does not get populated when I hit submit (ie) when I call 
getFname() from addUserA.jsp its null.  When I reload the html the form also resets 
(ie) fields do not retain their value


thanks

Thomas








addUser.jsp
-





  



  
Please enter 
the users details

  First Name
  


  

  

  






AddUserForm


package login.bean;

public class AddUserForm
{

  public String getFname()
  {
return fname != null ? fname: "";
  }
  public void setFname(String fname)
  {
this.fname = fname;
  }

  private String uname;
}













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




RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Jim,

many thanks 

NB: - presume you uncommented the invoker in conf/web.xml to get this working 

Thomas

-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 14:08
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp 


Hi Thomas,

I got it to work using this web.xml:



http://java.sun.com/dtd/web-app_2_3.dtd";>


Tomcat Examples

  Study servlets and JSP pages.


  
  TestServlet
  
  
  com.wrox.projsp.ch03.TestServlet
  


   
  

TestServlet
/TestServlet





and this URL:

http://localhost:8080/study/TestServlet

Regards

Jim.

> -Original Message-
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:41
> To: Tomcat Users List
> Subject: RE: How to add a servlet to a new Webapp 
> 
> 
> Here the study.jar file - cd to webapps and jar -xvf .
> 
> 
> 
> -Original Message-
> From: Curley, Thomas 
> Sent: 28 November 2002 13:37
> To: Tomcat Users List
> Subject: RE: How to add a servlet to a new Webapp 
> 
> 
> Jim - its in both webapps under classes - 
> com.wrox.projsp.ch03.TestServlet
> 
> -Original Message-
> From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:35
> To: 'Tomcat Users List'
> Subject: RE: How to add a servlet to a new Webapp 
> 
> 
> You mention in your first post that the servlet works if you 
> create the
> package structure in WEB-INF/classes. Is the servlet no longer in this
> directory?
> 
> > -Original Message-
> > From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 13:29
> > To: Tomcat Users List
> > Subject: RE: How to add a servlet to a new Webapp 
> > 
> > 
> > Correct ! - I origionally copied the examples web.xml
> > 
> > -Original Message-
> > From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 13:28
> > To: 'Tomcat Users List'
> > Subject: RE: How to add a servlet to a new Webapp 
> > 
> > 
> > Thomas has got a mapping to the invoker servlet in the 
> web.xml file he
> > posted so it should not be a problem.
> > 
> > > -Original Message-
> > > From: mech [mailto:[EMAIL PROTECTED]]
> > > Sent: 28 November 2002 13:25
> > > To: 'Tomcat Users List'
> > > Subject: RE: How to add a servlet to a new Webapp 
> > > 
> > > 
> > > This problem is new with 4.1.12. For security reasons the invoker
> > > servlet had been disabled in the "global" /conf/web.xml file. 
> > > This invoker servlet usually loads user servlets that are 
> not mapped
> > > correctly as far as i understand. This is done by using a default
> > > mapping "/servlet/*".
> > > In productive systems this should not be done, instead 
> > correct mapping
> > > is required.
> > > 
> > > In the /examples webapp the invoker servlet had been enabled 
> > > again with
> > > the local web.xml. 
> > > That's why it's working in examples and not in study. 
> > Because in your
> > > study web.xml you won't have it enabled manually and thus 
> > the default
> > > from /conf/web.xml ist used where this feature is disabled.
> > > 
> > > Thus the mapping /servlet/... to servlets is just Tomcat 
> > specifically
> > > done via the invoker servlet which is now (4.1.12+) disabled 
> > > by default.
> > > But actually you should not need /servlet/ at all, if your 
> > mapping is
> > > correct.
> > > 
> > > Try 
> > > 
> http://localhost:8080/study/com.wrox.projsp.ch03.Testservlet or make
> > > a shorter mapping to "/study/Testservlet" in your web.xml
> > > 
> > > mech
> > > 
> > > > -Original Message-
> > > > From: Curley, Thomas [mailto:[EMAIL PROTECTED]] 
> > > > Sent: Donnerstag, 28. November 2002 14:06
> > > > To: Tomcat Users List
> > > > Subject: RE: How to add a servlet to a new Webapp 
> > > > 
> > > > 
> > > > Well I also tried 
> > > > 
> > http://localhost:8080/study/servlet/com.wrox.projsp.ch03.TestServlet
> > > > 
> > > > but the same whereas 
> > > > http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.Te
> > > > stServlet works 
> > > > 
> > > > 
> > > > ??
> > > > 
> > 

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Hi,

this is now working thanks to you all.

Attached is the web.xml. As Rodrigo stated I pruned it down and it turns out that at a 
min I need the 'Servlet Mapped Filter', the invoker mapping.

If anyone can explain the web.xml file in plain lang / what filters do and how to get 
rid of the invoker then please do 


Thomas
 





-Original Message-----
From: Curley, Thomas 
Sent: 28 November 2002 13:48
To: Tomcat Users List
Subject: RE: How to add a servlet to a new Webapp 


thanks - will try

-Original Message-
From: Ruiz [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:46
To: Tomcat Users List
Subject: Re: How to add a servlet to a new Webapp 


If you copied the examples web.xml, then you must have a lot of references
to servlet classes and filters not present in your new webapp. This can make
the context not to be created, because of exceptions raised during context
initialization. Try to delete all unused entries before starting the server
:-)

Hope it helps

- Original Message -----
From: "Curley, Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 2:37 PM
Subject: RE: How to add a servlet to a new Webapp


> Jim - its in both webapps under classes - com.wrox.projsp.ch03.TestServlet
>
> -Original Message-
> From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:35
> To: 'Tomcat Users List'
> Subject: RE: How to add a servlet to a new Webapp
>
>
> You mention in your first post that the servlet works if you create the
> package structure in WEB-INF/classes. Is the servlet no longer in this
> directory?
>
> > -Original Message-
> > From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 13:29
> > To: Tomcat Users List
> > Subject: RE: How to add a servlet to a new Webapp
> >
> >
> > Correct ! - I origionally copied the examples web.xml
> >
> > -Original Message-
> > From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 13:28
> > To: 'Tomcat Users List'
> > Subject: RE: How to add a servlet to a new Webapp
> >
> >
> > Thomas has got a mapping to the invoker servlet in the web.xml file he
> > posted so it should not be a problem.
> >
> > > -Original Message-
> > > From: mech [mailto:[EMAIL PROTECTED]]
> > > Sent: 28 November 2002 13:25
> > > To: 'Tomcat Users List'
> > > Subject: RE: How to add a servlet to a new Webapp
> > >
> > >
> > > This problem is new with 4.1.12. For security reasons the invoker
> > > servlet had been disabled in the "global" /conf/web.xml file.
> > > This invoker servlet usually loads user servlets that are not mapped
> > > correctly as far as i understand. This is done by using a default
> > > mapping "/servlet/*".
> > > In productive systems this should not be done, instead
> > correct mapping
> > > is required.
> > >
> > > In the /examples webapp the invoker servlet had been enabled
> > > again with
> > > the local web.xml.
> > > That's why it's working in examples and not in study.
> > Because in your
> > > study web.xml you won't have it enabled manually and thus
> > the default
> > > from /conf/web.xml ist used where this feature is disabled.
> > >
> > > Thus the mapping /servlet/... to servlets is just Tomcat
> > specifically
> > > done via the invoker servlet which is now (4.1.12+) disabled
> > > by default.
> > > But actually you should not need /servlet/ at all, if your
> > mapping is
> > > correct.
> > >
> > > Try
> > > http://localhost:8080/study/com.wrox.projsp.ch03.Testservlet or make
> > > a shorter mapping to "/study/Testservlet" in your web.xml
> > >
> > > mech
> > >
> > > > -Original Message-
> > > > From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> > > > Sent: Donnerstag, 28. November 2002 14:06
> > > > To: Tomcat Users List
> > > > Subject: RE: How to add a servlet to a new Webapp
> > > >
> > > >
> > > > Well I also tried
> > > >
> > http://localhost:8080/study/servlet/com.wrox.projsp.ch03.TestServlet
> > > >
> > > > but the same whereas
> > > > http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.Te
> > > > stServlet works
> > > >
> > > >
> > > > ??
> > > >
> > > > T

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
thanks - will try

-Original Message-
From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:46
To: Tomcat Users List
Subject: Re: How to add a servlet to a new Webapp 


If you copied the examples web.xml, then you must have a lot of references
to servlet classes and filters not present in your new webapp. This can make
the context not to be created, because of exceptions raised during context
initialization. Try to delete all unused entries before starting the server
:-)

Hope it helps

- Original Message -
From: "Curley, Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 2:37 PM
Subject: RE: How to add a servlet to a new Webapp


> Jim - its in both webapps under classes - com.wrox.projsp.ch03.TestServlet
>
> -Original Message-
> From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:35
> To: 'Tomcat Users List'
> Subject: RE: How to add a servlet to a new Webapp
>
>
> You mention in your first post that the servlet works if you create the
> package structure in WEB-INF/classes. Is the servlet no longer in this
> directory?
>
> > -Original Message-
> > From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 13:29
> > To: Tomcat Users List
> > Subject: RE: How to add a servlet to a new Webapp
> >
> >
> > Correct ! - I origionally copied the examples web.xml
> >
> > -Original Message-
> > From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 13:28
> > To: 'Tomcat Users List'
> > Subject: RE: How to add a servlet to a new Webapp
> >
> >
> > Thomas has got a mapping to the invoker servlet in the web.xml file he
> > posted so it should not be a problem.
> >
> > > -Original Message-
> > > From: mech [mailto:[EMAIL PROTECTED]]
> > > Sent: 28 November 2002 13:25
> > > To: 'Tomcat Users List'
> > > Subject: RE: How to add a servlet to a new Webapp
> > >
> > >
> > > This problem is new with 4.1.12. For security reasons the invoker
> > > servlet had been disabled in the "global" /conf/web.xml file.
> > > This invoker servlet usually loads user servlets that are not mapped
> > > correctly as far as i understand. This is done by using a default
> > > mapping "/servlet/*".
> > > In productive systems this should not be done, instead
> > correct mapping
> > > is required.
> > >
> > > In the /examples webapp the invoker servlet had been enabled
> > > again with
> > > the local web.xml.
> > > That's why it's working in examples and not in study.
> > Because in your
> > > study web.xml you won't have it enabled manually and thus
> > the default
> > > from /conf/web.xml ist used where this feature is disabled.
> > >
> > > Thus the mapping /servlet/... to servlets is just Tomcat
> > specifically
> > > done via the invoker servlet which is now (4.1.12+) disabled
> > > by default.
> > > But actually you should not need /servlet/ at all, if your
> > mapping is
> > > correct.
> > >
> > > Try
> > > http://localhost:8080/study/com.wrox.projsp.ch03.Testservlet or make
> > > a shorter mapping to "/study/Testservlet" in your web.xml
> > >
> > > mech
> > >
> > > > -Original Message-
> > > > From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> > > > Sent: Donnerstag, 28. November 2002 14:06
> > > > To: Tomcat Users List
> > > > Subject: RE: How to add a servlet to a new Webapp
> > > >
> > > >
> > > > Well I also tried
> > > >
> > http://localhost:8080/study/servlet/com.wrox.projsp.ch03.TestServlet
> > > >
> > > > but the same whereas
> > > > http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.Te
> > > > stServlet works
> > > >
> > > >
> > > > ??
> > > >
> > > > Thomas
> > > >
> > > >
> > > > -Original Message-
> > > > From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> > > > Sent: 28 November 2002 13:04
> > > > To: 'Tomcat Users List'
> > > > Subject: RE: How to add a servlet to a new Webapp
> > > >
> > > >
> > > > I believe that servlet has been disabled by default in 4.1.12
> > 

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Here the study.jar file - cd to webapps and jar -xvf .



-Original Message-
From: Curley, Thomas 
Sent: 28 November 2002 13:37
To: Tomcat Users List
Subject: RE: How to add a servlet to a new Webapp 


Jim - its in both webapps under classes - com.wrox.projsp.ch03.TestServlet

-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:35
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp 


You mention in your first post that the servlet works if you create the
package structure in WEB-INF/classes. Is the servlet no longer in this
directory?

> -Original Message-
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:29
> To: Tomcat Users List
> Subject: RE: How to add a servlet to a new Webapp 
> 
> 
> Correct ! - I origionally copied the examples web.xml
> 
> -Original Message-
> From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:28
> To: 'Tomcat Users List'
> Subject: RE: How to add a servlet to a new Webapp 
> 
> 
> Thomas has got a mapping to the invoker servlet in the web.xml file he
> posted so it should not be a problem.
> 
> > -Original Message-
> > From: mech [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 13:25
> > To: 'Tomcat Users List'
> > Subject: RE: How to add a servlet to a new Webapp 
> > 
> > 
> > This problem is new with 4.1.12. For security reasons the invoker
> > servlet had been disabled in the "global" /conf/web.xml file. 
> > This invoker servlet usually loads user servlets that are not mapped
> > correctly as far as i understand. This is done by using a default
> > mapping "/servlet/*".
> > In productive systems this should not be done, instead 
> correct mapping
> > is required.
> > 
> > In the /examples webapp the invoker servlet had been enabled 
> > again with
> > the local web.xml. 
> > That's why it's working in examples and not in study. 
> Because in your
> > study web.xml you won't have it enabled manually and thus 
> the default
> > from /conf/web.xml ist used where this feature is disabled.
> > 
> > Thus the mapping /servlet/... to servlets is just Tomcat 
> specifically
> > done via the invoker servlet which is now (4.1.12+) disabled 
> > by default.
> > But actually you should not need /servlet/ at all, if your 
> mapping is
> > correct.
> > 
> > Try 
> > http://localhost:8080/study/com.wrox.projsp.ch03.Testservlet or make
> > a shorter mapping to "/study/Testservlet" in your web.xml
> > 
> > mech
> > 
> > > -Original Message-
> > > From: Curley, Thomas [mailto:[EMAIL PROTECTED]] 
> > > Sent: Donnerstag, 28. November 2002 14:06
> > > To: Tomcat Users List
> > > Subject: RE: How to add a servlet to a new Webapp 
> > > 
> > > 
> > > Well I also tried 
> > > 
> http://localhost:8080/study/servlet/com.wrox.projsp.ch03.TestServlet
> > > 
> > > but the same whereas 
> > > http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.Te
> > > stServlet works 
> > > 
> > > 
> > > ??
> > > 
> > > Thomas
> > > 
> > > 
> > > -Original Message-
> > > From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> > > Sent: 28 November 2002 13:04
> > > To: 'Tomcat Users List'
> > > Subject: RE: How to add a servlet to a new Webapp 
> > > 
> > > 
> > > I believe that servlet has been disabled by default in 4.1.12 
> > > for security reasons. That is probably why you can't use: 
> > > http://localhost:8080/study/servlet/TestServlet
> > > 
> > > Jim
> > > 
> > > > -Original Message-
> > > > From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> > > > Sent: 28 November 2002 12:58
> > > > To: [EMAIL PROTECTED]
> > > > Subject: How to add a servlet to a new Webapp
> > > > 
> > > > 
> > > > Hi All,
> > > > 
> > > > Using Tomcat 4.1.12 on Win 2K
> > > > 
> > > > I am getting a 404 error when I try to create a new webapp
> > > > and add a very basic servlet.  The servlet works if I create 
> > > > the package structure within the examples WEB-INF/classes.  
> > > > Here are the steps:
> > > > 
> > > > 1.  created webapps/study
> > > > 2.  created 
> > > >

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Jim - its in both webapps under classes - com.wrox.projsp.ch03.TestServlet

-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:35
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp 


You mention in your first post that the servlet works if you create the
package structure in WEB-INF/classes. Is the servlet no longer in this
directory?

> -Original Message-
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:29
> To: Tomcat Users List
> Subject: RE: How to add a servlet to a new Webapp 
> 
> 
> Correct ! - I origionally copied the examples web.xml
> 
> -Original Message-
> From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:28
> To: 'Tomcat Users List'
> Subject: RE: How to add a servlet to a new Webapp 
> 
> 
> Thomas has got a mapping to the invoker servlet in the web.xml file he
> posted so it should not be a problem.
> 
> > -Original Message-
> > From: mech [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 13:25
> > To: 'Tomcat Users List'
> > Subject: RE: How to add a servlet to a new Webapp 
> > 
> > 
> > This problem is new with 4.1.12. For security reasons the invoker
> > servlet had been disabled in the "global" /conf/web.xml file. 
> > This invoker servlet usually loads user servlets that are not mapped
> > correctly as far as i understand. This is done by using a default
> > mapping "/servlet/*".
> > In productive systems this should not be done, instead 
> correct mapping
> > is required.
> > 
> > In the /examples webapp the invoker servlet had been enabled 
> > again with
> > the local web.xml. 
> > That's why it's working in examples and not in study. 
> Because in your
> > study web.xml you won't have it enabled manually and thus 
> the default
> > from /conf/web.xml ist used where this feature is disabled.
> > 
> > Thus the mapping /servlet/... to servlets is just Tomcat 
> specifically
> > done via the invoker servlet which is now (4.1.12+) disabled 
> > by default.
> > But actually you should not need /servlet/ at all, if your 
> mapping is
> > correct.
> > 
> > Try 
> > http://localhost:8080/study/com.wrox.projsp.ch03.Testservlet or make
> > a shorter mapping to "/study/Testservlet" in your web.xml
> > 
> > mech
> > 
> > > -Original Message-
> > > From: Curley, Thomas [mailto:[EMAIL PROTECTED]] 
> > > Sent: Donnerstag, 28. November 2002 14:06
> > > To: Tomcat Users List
> > > Subject: RE: How to add a servlet to a new Webapp 
> > > 
> > > 
> > > Well I also tried 
> > > 
> http://localhost:8080/study/servlet/com.wrox.projsp.ch03.TestServlet
> > > 
> > > but the same whereas 
> > > http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.Te
> > > stServlet works 
> > > 
> > > 
> > > ??
> > > 
> > > Thomas
> > > 
> > > 
> > > -Original Message-
> > > From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> > > Sent: 28 November 2002 13:04
> > > To: 'Tomcat Users List'
> > > Subject: RE: How to add a servlet to a new Webapp 
> > > 
> > > 
> > > I believe that servlet has been disabled by default in 4.1.12 
> > > for security reasons. That is probably why you can't use: 
> > > http://localhost:8080/study/servlet/TestServlet
> > > 
> > > Jim
> > > 
> > > > -Original Message-
> > > > From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> > > > Sent: 28 November 2002 12:58
> > > > To: [EMAIL PROTECTED]
> > > > Subject: How to add a servlet to a new Webapp
> > > > 
> > > > 
> > > > Hi All,
> > > > 
> > > > Using Tomcat 4.1.12 on Win 2K
> > > > 
> > > > I am getting a 404 error when I try to create a new webapp
> > > > and add a very basic servlet.  The servlet works if I create 
> > > > the package structure within the examples WEB-INF/classes.  
> > > > Here are the steps:
> > > > 
> > > > 1.  created webapps/study
> > > > 2.  created 
> > > > .../study/WEB-INF/classes/com/wrox/projsp/ch03/TestServlet.jav
> > > > a and compiled [ok]
> > > > 3.  added the following line to server.xml after the 
> > > > exa

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Correct ! - I origionally copied the examples web.xml

-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:28
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp 


Thomas has got a mapping to the invoker servlet in the web.xml file he
posted so it should not be a problem.

> -Original Message-
> From: mech [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:25
> To: 'Tomcat Users List'
> Subject: RE: How to add a servlet to a new Webapp 
> 
> 
> This problem is new with 4.1.12. For security reasons the invoker
> servlet had been disabled in the "global" /conf/web.xml file. 
> This invoker servlet usually loads user servlets that are not mapped
> correctly as far as i understand. This is done by using a default
> mapping "/servlet/*".
> In productive systems this should not be done, instead correct mapping
> is required.
> 
> In the /examples webapp the invoker servlet had been enabled 
> again with
> the local web.xml. 
> That's why it's working in examples and not in study. Because in your
> study web.xml you won't have it enabled manually and thus the default
> from /conf/web.xml ist used where this feature is disabled.
> 
> Thus the mapping /servlet/... to servlets is just Tomcat specifically
> done via the invoker servlet which is now (4.1.12+) disabled 
> by default.
> But actually you should not need /servlet/ at all, if your mapping is
> correct.
> 
> Try 
> http://localhost:8080/study/com.wrox.projsp.ch03.Testservlet or make
> a shorter mapping to "/study/Testservlet" in your web.xml
> 
> mech
> 
> > -Original Message-
> > From: Curley, Thomas [mailto:[EMAIL PROTECTED]] 
> > Sent: Donnerstag, 28. November 2002 14:06
> > To: Tomcat Users List
> > Subject: RE: How to add a servlet to a new Webapp 
> > 
> > 
> > Well I also tried 
> > http://localhost:8080/study/servlet/com.wrox.projsp.ch03.TestServlet
> > 
> > but the same whereas 
> > http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.Te
> > stServlet works 
> > 
> > 
> > ??
> > 
> > Thomas
> > 
> > 
> > -Original Message-
> > From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 13:04
> > To: 'Tomcat Users List'
> > Subject: RE: How to add a servlet to a new Webapp 
> > 
> > 
> > I believe that servlet has been disabled by default in 4.1.12 
> > for security reasons. That is probably why you can't use: 
> > http://localhost:8080/study/servlet/TestServlet
> > 
> > Jim
> > 
> > > -Original Message-
> > > From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> > > Sent: 28 November 2002 12:58
> > > To: [EMAIL PROTECTED]
> > > Subject: How to add a servlet to a new Webapp
> > > 
> > > 
> > > Hi All,
> > > 
> > > Using Tomcat 4.1.12 on Win 2K
> > > 
> > > I am getting a 404 error when I try to create a new webapp
> > > and add a very basic servlet.  The servlet works if I create 
> > > the package structure within the examples WEB-INF/classes.  
> > > Here are the steps:
> > > 
> > > 1.created webapps/study
> > > 2.created 
> > > .../study/WEB-INF/classes/com/wrox/projsp/ch03/TestServlet.jav
> > > a and compiled [ok]
> > > 3.added the following line to server.xml after the 
> > > examples 
> > > 
> > >> debug="0" >
> > > 
> > > 4.just copied the examples web.xml to study/WEB-INF and 
> > > added the following lines
> > > 
> > > 
> > > 
> > >   
> > >   TestServlet
> > >   
> > >   
> > >   com.wrox.projsp.ch03.TestServlet
> > >   
> > > 
> > > 
> > > 
> > > TestServlet
> > > /TestServlet
> > > 
> > > 
> > > 
> > > 5.restart tomcat 
> > > 
> > > 
> > > RESULT - The requested resource (/study/servlet/TestServlet)
> > > is not available.
> > > 
> > > 
> > > Can anyone see what I am missing ?
> > > 
> > > 
> > > 
> > > thanks
> > > 
> > > 
> > > Thomas
> > > 
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> > > <mailto:[EM

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Jim,

I just took the examples web.xml and added the mapping - here it is



-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:18
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp 


Can you post your web.xml?

> -Original Message-
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:16
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: How to add a servlet to a new Webapp 
> 
> 
> No -
> The requested resource (/study/TestServlet) is not available.
> 
> 
> Note
> I have just added the servlet mappings into examples web.xml 
> and I can also now access the TestServlet in the examples 
> context using either
> http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.Te
> stServlet
> or
> http://localhost:8080/examples/servlet/TestServlet
> 
> 
> but neither works for the study webapp ?
> 
> 
> 
> 
> 
> -Original Message-
> From: Martin Gruner [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:10
> To: 'Tomcat Users List'
> Subject: AW: How to add a servlet to a new Webapp 
> 
> 
> Hi!
> Try to access /study/TestServlet!!
> 
> Martin
> 
> > -Ursprüngliche Nachricht-
> > Von: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 28. November 2002 13:58
> > An: [EMAIL PROTECTED]
> > Betreff: How to add a servlet to a new Webapp 
> > 
> > 
> > Hi All,
> > 
> > Using Tomcat 4.1.12 on Win 2K
> > 
> > I am getting a 404 error when I try to create a new webapp 
> > and add a very basic servlet.  The servlet works if I create 
> > the package structure within the examples WEB-INF/classes.  
> > Here are the steps:
> > 
> > 1.  created webapps/study
> > 2.  created 
> > .../study/WEB-INF/classes/com/wrox/projsp/ch03/TestServlet.jav
> > a and compiled [ok]
> > 3.  added the following line to server.xml after the 
> > examples  
> > 
> >  debug="0" >
> > 
> > 4.  just copied the examples web.xml to study/WEB-INF and 
> > added the following lines
> > 
> > 
> > 
> >   
> >   TestServlet
> >   
> >   
> >   com.wrox.projsp.ch03.TestServlet
> >   
> > 
> > 
> > 
> > TestServlet
> > /TestServlet
> > 
> > 
> > 
> > 5.  restart tomcat 
> > 
> > 
> > RESULT - The requested resource (/study/servlet/TestServlet) 
> > is not available.
> > 
> > 
> > Can anyone see what I am missing ?
> > 
> > 
> > 
> > thanks
> > 
> > 
> > Thomas
> > 
> > 
> > 
> > --
> > 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]>


PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



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




http://java.sun.com/dtd/web-app_2_3.dtd";>


Tomcat Examples

  Study servlets and JSP pages.




Servlet Mapped Filter
filters.ExampleFilter

  attribute
  filters.ExampleFilter.SERVLET_MAPPED



Path Mapped Filter
filters.ExampleFilter

  attribute
  fi

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
No -
The requested resource (/study/TestServlet) is not available.


Note
I have just added the servlet mappings into examples web.xml and I can also now access 
the TestServlet in the examples context using either
http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.TestServlet
or
http://localhost:8080/examples/servlet/TestServlet


but neither works for the study webapp ?





-Original Message-
From: Martin Gruner [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:10
To: 'Tomcat Users List'
Subject: AW: How to add a servlet to a new Webapp 


Hi!
Try to access /study/TestServlet!!

Martin

> -Ursprüngliche Nachricht-
> Von: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 28. November 2002 13:58
> An: [EMAIL PROTECTED]
> Betreff: How to add a servlet to a new Webapp 
> 
> 
> Hi All,
> 
> Using Tomcat 4.1.12 on Win 2K
> 
> I am getting a 404 error when I try to create a new webapp 
> and add a very basic servlet.  The servlet works if I create 
> the package structure within the examples WEB-INF/classes.  
> Here are the steps:
> 
> 1.created webapps/study
> 2.created 
> .../study/WEB-INF/classes/com/wrox/projsp/ch03/TestServlet.jav
> a and compiled [ok]
> 3.added the following line to server.xml after the 
> examples  
> 
>   
> 
> 4.just copied the examples web.xml to study/WEB-INF and 
> added the following lines
> 
> 
> 
>   
>   TestServlet
>   
>   
>   com.wrox.projsp.ch03.TestServlet
>   
> 
> 
> 
> TestServlet
> /TestServlet
> 
> 
> 
> 5.restart tomcat 
> 
> 
> RESULT - The requested resource (/study/servlet/TestServlet) 
> is not available.
> 
> 
> Can anyone see what I am missing ?
> 
> 
> 
> thanks
> 
> 
> Thomas
> 
> 
> 
> --
> 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 add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Well I also tried
http://localhost:8080/study/servlet/com.wrox.projsp.ch03.TestServlet

but the same whereas
http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.TestServlet works 


??

Thomas


-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:04
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp 


I believe that servlet has been disabled by default in 4.1.12 for security
reasons. That is probably why you can't use:
http://localhost:8080/study/servlet/TestServlet

Jim

> -Original Message-----
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 12:58
> To: [EMAIL PROTECTED]
> Subject: How to add a servlet to a new Webapp 
> 
> 
> Hi All,
> 
> Using Tomcat 4.1.12 on Win 2K
> 
> I am getting a 404 error when I try to create a new webapp 
> and add a very basic servlet.  The servlet works if I create 
> the package structure within the examples WEB-INF/classes.  
> Here are the steps:
> 
> 1.created webapps/study
> 2.created 
> .../study/WEB-INF/classes/com/wrox/projsp/ch03/TestServlet.jav
> a and compiled [ok]
> 3.added the following line to server.xml after the 
> examples  
> 
>   
> 
> 4.just copied the examples web.xml to study/WEB-INF and 
> added the following lines
> 
> 
> 
>   
>   TestServlet
>   
>   
>   com.wrox.projsp.ch03.TestServlet
>   
> 
> 
> 
> TestServlet
> /TestServlet
> 
> 
> 
> 5.restart tomcat 
> 
> 
> RESULT - The requested resource (/study/servlet/TestServlet) 
> is not available.
> 
> 
> Can anyone see what I am missing ?
> 
> 
> 
> thanks
> 
> 
> Thomas
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 


PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



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


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




How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Hi All,

Using Tomcat 4.1.12 on Win 2K

I am getting a 404 error when I try to create a new webapp and add a very basic 
servlet.  The servlet works if I create the package structure within the examples 
WEB-INF/classes.  Here are the steps:

1.  created webapps/study
2.  created .../study/WEB-INF/classes/com/wrox/projsp/ch03/TestServlet.java and 
compiled [ok]
3.  added the following line to server.xml after the examples  



4.  just copied the examples web.xml to study/WEB-INF and added the following lines



  
  TestServlet
  
  
  com.wrox.projsp.ch03.TestServlet
  



TestServlet
/TestServlet



5.  restart tomcat 


RESULT - The requested resource (/study/servlet/TestServlet) is not available.


Can anyone see what I am missing ?



thanks


Thomas



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Shared Class Loader (4.0.5) and (4.1.12) Win 2K

2002-10-28 Thread Curley, Thomas
FYI - now fixed

- the last exception 'server configuration denies access to data source' was due to 
the fact that I have changed machines so MySql did not recognise the domain part of my 
login credencials.

- the mysql jar file needs to be in common/lib (as Charlie rightly pointed out).  They 
will not be found in the shared lib area


Thomas



-Original Message-----
From: Curley, Thomas 
Sent: 28 October 2002 13:36
To: Tomcat Users List
Subject: RE: Shared Class Loader (4.0.5) and (4.1.12) Win 2K


Ok - Lets stay on 4.1.12 for Win 2K


Yes, did re-start

JdbcRealm in 4.1.12 - ? not sure - just trying to configure a DBCP data source.  The 
mysql db is on a different machine than tomcat.  Tomcat is local running on Win2K, 
MySql is remote on RH 7.3

Ok - tried mysql-connector-java-2.0.14-bin.jar in /common/lib - here is the exception:
org.apache.jasper.JasperException: java.sql.SQLException: Server configuration 
denies access to data source


jar archive seems fine - can jar -tvf and see the class - thanks for idea though


Thomas


-Original Message-
From: Cox, Charlie [mailto:ccox@;cincom.com]
Sent: 28 October 2002 13:18
To: 'Tomcat Users List'
Subject: RE: Shared Class Loader (4.0.5) and (4.1.12) Win 2K


did you restart tomcat after movig it to /tomcat/lib?

are you using it for a JdbcRealm in 4.1.12? If so, you need to put it in
/common/lib so that the tomcat internal classes can access it along with
your web app.

Charlie

> -Original Message-
> From: Curley, Thomas [mailto:thomas.curley@;euroconex.com]
> Sent: Monday, October 28, 2002 8:14 AM
> To: [EMAIL PROTECTED]
> Subject: Shared Class Loader (4.0.5) and (4.1.12) Win 2K
> 
> 
> Hi,
> 
> While trying to load mysql driver :
> 
> Shared Class Loader:
> on 4.0.5  - I placed mysql 
> 'mysql-connector-java-2.0.14-bin.jar' in  $CATALINA_HOME/lib 
> but still got  - Cannot load JDBC driver class 
> 'org.gjt.mm.mysql.Driver'
> on 4.1.12 - I placed mysql 
> 'mysql-connector-java-2.0.14-bin.jar' in  
> $CATALINA_HOME/shared/lib but still got  - Cannot load JDBC 
> driver class 'org.gjt.mm.mysql.Driver'
> 
> Common Class Loader:
> on 4.0.5 $CATALINA_HOME/common/lib  - the common class loader 
> works - Why is this ? - is the doc wrong or am I mssing a step
> 
> 
> thanks
> Thomas
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 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>


--
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: Shared Class Loader (4.0.5) and (4.1.12) Win 2K

2002-10-28 Thread Curley, Thomas
Ok - Lets stay on 4.1.12 for Win 2K


Yes, did re-start

JdbcRealm in 4.1.12 - ? not sure - just trying to configure a DBCP data source.  The 
mysql db is on a different machine than tomcat.  Tomcat is local running on Win2K, 
MySql is remote on RH 7.3

Ok - tried mysql-connector-java-2.0.14-bin.jar in /common/lib - here is the exception:
org.apache.jasper.JasperException: java.sql.SQLException: Server configuration 
denies access to data source


jar archive seems fine - can jar -tvf and see the class - thanks for idea though


Thomas


-Original Message-
From: Cox, Charlie [mailto:ccox@;cincom.com]
Sent: 28 October 2002 13:18
To: 'Tomcat Users List'
Subject: RE: Shared Class Loader (4.0.5) and (4.1.12) Win 2K


did you restart tomcat after movig it to /tomcat/lib?

are you using it for a JdbcRealm in 4.1.12? If so, you need to put it in
/common/lib so that the tomcat internal classes can access it along with
your web app.

Charlie

> -Original Message-
> From: Curley, Thomas [mailto:thomas.curley@;euroconex.com]
> Sent: Monday, October 28, 2002 8:14 AM
> To: [EMAIL PROTECTED]
> Subject: Shared Class Loader (4.0.5) and (4.1.12) Win 2K
> 
> 
> Hi,
> 
> While trying to load mysql driver :
> 
> Shared Class Loader:
> on 4.0.5  - I placed mysql 
> 'mysql-connector-java-2.0.14-bin.jar' in  $CATALINA_HOME/lib 
> but still got  - Cannot load JDBC driver class 
> 'org.gjt.mm.mysql.Driver'
> on 4.1.12 - I placed mysql 
> 'mysql-connector-java-2.0.14-bin.jar' in  
> $CATALINA_HOME/shared/lib but still got  - Cannot load JDBC 
> driver class 'org.gjt.mm.mysql.Driver'
> 
> Common Class Loader:
> on 4.0.5 $CATALINA_HOME/common/lib  - the common class loader 
> works - Why is this ? - is the doc wrong or am I mssing a step
> 
> 
> thanks
> Thomas
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> 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>


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




Shared Class Loader (4.0.5) and (4.1.12) Win 2K

2002-10-28 Thread Curley, Thomas
Hi,

While trying to load mysql driver :

Shared Class Loader:
on 4.0.5  - I placed mysql 'mysql-connector-java-2.0.14-bin.jar' in  
$CATALINA_HOME/lib but still got  - Cannot load JDBC driver class 
'org.gjt.mm.mysql.Driver'
on 4.1.12 - I placed mysql 'mysql-connector-java-2.0.14-bin.jar' in  
$CATALINA_HOME/shared/lib but still got  - Cannot load JDBC driver class 
'org.gjt.mm.mysql.Driver'

Common Class Loader:
on 4.0.5 $CATALINA_HOME/common/lib  - the common class loader works - Why is this ? - 
is the doc wrong or am I mssing a step


thanks
Thomas















--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Integrating Apache 1.3 / Tomcat 4.12 on Redhat Linux 7.3

2002-09-27 Thread Curley, Thomas

Hello all,

I wish to integrate Apache 1.3 with Tomcat 4.1 on Redhat 7.3


I have looked at the 4.1 doc on site but am still a bit confused confusing.  For 
example it talks about turning on auto-config in tomcat but does not say how.  Should 
I use the mod_jk2 connector ?

I know this is a popular request so does anyone have an list of instructions written ?


any help appreciated


Thomas Curley
Irl


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Install Question

2002-09-27 Thread Curley, Thomas

Hi,

I have looked on the web-site for the answer but without success.  Would appreciate 
your ideas:

Tomcat 4.1.12 / Apache 1.23 on RedHat 7.3

Does anyone have any recommendations as to what user to start tomcat as ? (for 
security reasons).  Is it usual to add a dedicated 'tomcat' user for this purpose

regards


Thomas Curley









--
To unsubscribe, e-mail:   
For additional commands, e-mail: