mod_jk documentation

2005-08-17 Thread Mott Leroy
Before I go gripe too, too much, let me just say that the mod_jk 
documentation has improved immensely since I start looking into it. Some 
of it might be simplied by the fact that I no longer consider jk2 in the 
picture which seemed to be adding some confusion.


I don't know who is responsible for updating the documentation, so 
thought I'd post here.


The documentation that I'm referring to is at:

http://jakarta.apache.org/tomcat/connectors-doc/index.html

load balancing page:
Well, the load balancing page is empty, which is ok, but a link to the 
majority of load balancing explanation on the worker.properties page 
would be nice.


domain property for a worker.
I had to use the domain property on a worker to get load balancing 
working, which corresponds to the jvmRoute. I didn't see any mention of 
jvmRoute or domain anywhere however in either the load balancing 
section or the general worker properties.


finally, and this may have annoyed me more than anything else -
all throughout the load balancing documentation there are red, bolded 
lines like These workers should not appear in the worker.list 
property! in reference to balance_workers. But then in the example, 
they do exactly what they said should NOT be done:

(bottom of this page)
http://jakarta.apache.org/tomcat/connectors-doc/howto/workers.html

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



Documentation ... : Your Advices please

2005-06-22 Thread Raghupathy,Gurumoorthy
Hello All,
I am thinking of writing a document of how to set up. Apache +
tomcat + mod_jk with Apache using SSL. for free.
I am using Apache 1.3.* and Tomcat 4.1 and this works very nicely
 I have this running on my linux box for 2 years + now. 

I need your advice if I create a document of how to setup this will
it be use full. I am thinking that tomcat now being 5.5.* and 
apache 2.0.* will it be worth my time for the peoplpe or do you
think I should upgrade as well 

Regards
Guru 

Gurumoorthy Raghupathy
EMFS - Fidelity Investments International
* Tel: +44 1737 836798
* Internal: 8-724 6798
* Tel (R): +442086423806
* Mail-Zone : XTB2B
* E-Mail: mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Regret for the things we did can be tempered by time; it is regret for the
things we did not do that is inconsolable

Important: Fidelity Investments International, Fidelity Investment Services
Limited, Fidelity Pensions Management and Financial Administration Services
Limited (a Fidelity Group company) are all authorised and regulated in the
UK by the Financial Services Authority and have their registered offices at
Oakhill House, 130 Tonbridge Road, Hildenborough, Tonbridge, Kent TN11 9DZ.
Tel 01732 361144. Fidelity only gives information on products and does not
give investment advice to private clients based on individual circumstances.
Any comments or statements made are not necessarily those of Fidelity. The
information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. If
you received this in error, please contact the sender and delete the
material from any computer. All e-mails sent from or to Fidelity may be
subject to our monitoring procedures. 'Direct link to Fidelitys website.
http://www.fidelity-international.com/world/index.html
http://www.fidelity-international.com/world/index.html 



RE: Documentation ... : Your Advices please

2005-06-22 Thread Sue Roe
I think most people would probably use later versions of both Java and
Tomcat if they were going to set an environment up from scratch now. So I
would suggest it better for you to upgrade now and document for later
releases.

Rgds

-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]

Sent: 22 June 2005 09:14
To: 'Tomcat Users List'
Subject: Documentation ... : Your Advices please 

Hello All,
I am thinking of writing a document of how to set up. Apache +
tomcat + mod_jk with Apache using SSL. for free.
I am using Apache 1.3.* and Tomcat 4.1 and this works very nicely
 I have this running on my linux box for 2 years + now. 

I need your advice if I create a document of how to setup this will
it be use full. I am thinking that tomcat now being 5.5.* and 
apache 2.0.* will it be worth my time for the peoplpe or do you
think I should upgrade as well 

Regards
Guru 

Gurumoorthy Raghupathy
EMFS - Fidelity Investments International
* Tel: +44 1737 836798
* Internal: 8-724 6798
* Tel (R): +442086423806
* Mail-Zone : XTB2B
* E-Mail: mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

Regret for the things we did can be tempered by time; it is regret for the
things we did not do that is inconsolable

Important: Fidelity Investments International, Fidelity Investment Services
Limited, Fidelity Pensions Management and Financial Administration Services
Limited (a Fidelity Group company) are all authorised and regulated in the
UK by the Financial Services Authority and have their registered offices at
Oakhill House, 130 Tonbridge Road, Hildenborough, Tonbridge, Kent TN11 9DZ.
Tel 01732 361144. Fidelity only gives information on products and does not
give investment advice to private clients based on individual circumstances.
Any comments or statements made are not necessarily those of Fidelity. The
information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. If
you received this in error, please contact the sender and delete the
material from any computer. All e-mails sent from or to Fidelity may be
subject to our monitoring procedures. 'Direct link to Fidelitys website.
http://www.fidelity-international.com/world/index.html
http://www.fidelity-international.com/world/index.html 




***Disclaimer***

The contents of this Email may be privileged and are confidential. If you are 
not the intended recipient, any disclosure, copying, distribution or any action 
taken or omitted to be taken in reliance on it, is prohibited and may be 
unlawful.

Should you wish to use Email as a mode of communication, CMi plc and its 
subsidiaries are unable to guarantee the security of Email content outside of 
our own computer systems.

This footnote also confirms that this Email message has been checked by 
MIMESweeper for the presence of computer viruses. Whilst we run anti-virus 
software, you are solely responsible for ensuring that any Email or attachment 
you receive is virus free. We disclaim any liability for any damage you suffer 
as a consequence of receiving any virus.

Checkmate International plc (CMi)
Registered in England No: 1899857
Registered Office 4th Floor, 35 New Bridge Street, London, EC4V 6BW


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



address for documentation bugs? (jndi datasource examples broken)

2005-03-24 Thread Michael Stillwell
Where should I send documentation bugs?

There's a few problems with
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html:

1.

Section 2 says to add a slug of XML between a /Context tag and a
/Host tag.  Tomcat's conf/server.xml (at least version 5.0.28) does
not have a /Context tag.  I had some success with adding a
DefaultContext tag and putting the slug in that, but I'm not sure if
that's what I'm supposed to do.

2.

The sample .jsp (Section 4) has lines like:

c:forEach var=row items=${rs.rows}
Foo ${row.foo}br/
Bar ${row.bar}br/
/c:forEach

This produces a literal ${row.foo}, etc.  Changing the taglib
reference from http://java.sun.com/jsp/jstl/core to
http://java.sun.com/jstl/core (i.e. remove /jsp) and rewriting
${row.foo} as c:out value=${row.foo}/ seemed to work, but I
don't know if that's what I'm supposed to do either.




--M.

-- 
http://beebo.org
+44 78 2118 9049

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



Re: address for documentation bugs? (jndi datasource examples broken)

2005-03-24 Thread Mark Thomas
All bugs, documentation or otherwise, should be reported via bugzilla.
Mark
Michael Stillwell wrote:
Where should I send documentation bugs?
There's a few problems with
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html:
1.
Section 2 says to add a slug of XML between a /Context tag and a
/Host tag.  Tomcat's conf/server.xml (at least version 5.0.28) does
not have a /Context tag.  I had some success with adding a
DefaultContext tag and putting the slug in that, but I'm not sure if
that's what I'm supposed to do.
2.
The sample .jsp (Section 4) has lines like:
c:forEach var=row items=${rs.rows}
Foo ${row.foo}br/
Bar ${row.bar}br/
/c:forEach
This produces a literal ${row.foo}, etc.  Changing the taglib
reference from http://java.sun.com/jsp/jstl/core to
http://java.sun.com/jstl/core (i.e. remove /jsp) and rewriting
${row.foo} as c:out value=${row.foo}/ seemed to work, but I
don't know if that's what I'm supposed to do either.

--M.

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


Documentation Change Recommendation for Logging

2005-03-21 Thread George Sexton

For the page:

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html

For the sample log4j.properties file, I would recommend changing:

log4j.appender.R.File=${catalina.home}/logs/tomcat.log

To

log4j.appender.R.File=${catalina.base}/logs/tomcat.log


George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
 


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



?? Yet Another Tomcat Documentation Bug ??

2005-02-21 Thread Tony LaPaso
If you go here:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment
The first bullet point starts out: Any XML file in the 
$CATALINA_HOME/conf/[engine_name]/[host_name] directory is assumed...

I believe this should say, Any XML file in the 
$CATALINA_BASE/conf/[engine_name]/[host_name] directory is assumed...

Is that right? It's another typo, right? 


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


RE: ?? Yet Another Tomcat Documentation Bug ??

2005-02-21 Thread Caldarale, Charles R
 From: Tony LaPaso [mailto:[EMAIL PROTECTED]
 Subject: ?? Yet Another Tomcat Documentation Bug ??
 
 The first bullet point starts out: Any XML file in the 
 $CATALINA_HOME/conf/[engine_name]/[host_name] directory is assumed...
 
 I believe this should say, Any XML file in the 
 $CATALINA_BASE/conf/[engine_name]/[host_name] directory is assumed...
 
 Is that right? It's another typo, right? 

There's a fairly prominent note at the introduction to the host element:

The description below uses the variable name $CATALINA_HOME to refer to the 
directory into which you have installed Tomcat 5, and is the base directory 
against which most relative paths are resolved. However, if you have configured 
Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you 
should use $CATALINA_BASE instead of $CATALINA_HOME for each of these 
references.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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



Re: ?? Yet Another Tomcat Documentation Bug ??

2005-02-21 Thread Tony LaPaso
Yea, I know, I saw that note. It's in the Host element description but 
references to $CATALINA_HOME (which should be $CATALINA_BASE) are all over 
the place -- not just under Host documentation.

What's more, a reader could easily think that the note you mentioned *only* 
referred to the Host element description since it says, The description 
below

IMHO, instead of asking the reader to do a mental substitution I think the 
documentation should be updated s.t. it uses $CATALINA_BASE when 
$CATALINA_BASE is appropriate. This documentation anomaly has bothered me 
for a long time and I felt I needed to mention it.


- Original Message - 
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, February 21, 2005 10:20 PM
Subject: RE: ?? Yet Another Tomcat Documentation Bug ??


From: Tony LaPaso [mailto:[EMAIL PROTECTED]
Subject: ?? Yet Another Tomcat Documentation Bug ??
The first bullet point starts out: Any XML file in the
$CATALINA_HOME/conf/[engine_name]/[host_name] directory is assumed...
I believe this should say, Any XML file in the
$CATALINA_BASE/conf/[engine_name]/[host_name] directory is assumed...
Is that right? It's another typo, right?
There's a fairly prominent note at the introduction to the host element:
The description below uses the variable name $CATALINA_HOME to refer to the 
directory into which you have installed Tomcat 5, and is the base directory 
against which most relative paths are resolved. However, if you have 
configured Tomcat 5 for multiple instances by setting a CATALINA_BASE 
directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each 
of these references.

- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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

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


Documentation

2004-12-07 Thread Pablo Carretero
Hi, 

Where can I find documentation about Tomcat looger, and debug  verbosity
params?


I change the debug and verbosity values, and the log is always the same. 


Thank you very much. 

 



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



RE: Documentation

2004-12-07 Thread Shapira, Yoav

Hi,

Where can I find documentation about Tomcat looger, and debug 
verbosity
params?


I change the debug and verbosity values, and the log is always the
same.

Different Tomcat versions have different ways to configure logging.
Make sure you're looking at the documentation for your Tomcat version.

The verbosity attribute is mostly for Tomcat 3.x.

The debug attribute, if allowed (the docs will list it if it's allowed),
goes from 0 (the default, no logging) to 99 (the highest, max logging).
But it's mostly used in Tomcat 4.x, and less in 5.x.

The more recent versions of Tomcat use Commons-Logging increasingly.  To
configure their logging, you need to pick an implementation (e.g. log4j
or JDK 1.4 logging) and configure Tomcat to use that logging
implementation with your chosen logging levels.  This is explained in
the FAQ and documentation (the latter only for Tomcat 5.5).

For Tomcat 5.5, there's no Logger, and no debug attributes, at all.
It's all Commons-Logging.

Yoav Shapira http://www.yoavshapira.com




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

2004-12-07 Thread Pablo Carretero
Thanks Yoav, 

Maybe, I don't explain very well my case. For example, If I active the debug
in the database pool connection, can I see the active connection, free
connection, the queries, etc... 

Other example, I'm configuring a cluster in memory, I would like activate
the debug option, in order to know if the machines of the cluster is working
good or not. 

I mean, I looking for this documentation, but I find nothing about that. Do
you know if are there any documentation about this issues??



Thank a lot. 





-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: martes, 07 de diciembre de 2004 19:40
To: Tomcat Users List
Subject: RE: Documentation


Hi,

Where can I find documentation about Tomcat looger, and debug 
verbosity
params?


I change the debug and verbosity values, and the log is always the
same.

Different Tomcat versions have different ways to configure logging.
Make sure you're looking at the documentation for your Tomcat version.

The verbosity attribute is mostly for Tomcat 3.x.

The debug attribute, if allowed (the docs will list it if it's allowed),
goes from 0 (the default, no logging) to 99 (the highest, max logging).
But it's mostly used in Tomcat 4.x, and less in 5.x.

The more recent versions of Tomcat use Commons-Logging increasingly.  To
configure their logging, you need to pick an implementation (e.g. log4j
or JDK 1.4 logging) and configure Tomcat to use that logging
implementation with your chosen logging levels.  This is explained in
the FAQ and documentation (the latter only for Tomcat 5.5).

For Tomcat 5.5, there's no Logger, and no debug attributes, at all.
It's all Commons-Logging.

Yoav Shapira http://www.yoavshapira.com




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

2004-12-07 Thread Filip Hanik - Dev
if you want to see cluster output, just configure debug for 
org.apache.catalina.cluster
using log4j for example

to setup log4j all I did was to add log4j.xml into common/classes and log4j.jar 
into common/lib

Filip

- Original Message - 
From: Pablo Carretero [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 1:34 PM
Subject: RE: Documentation


Thanks Yoav, 

Maybe, I don't explain very well my case. For example, If I active the debug
in the database pool connection, can I see the active connection, free
connection, the queries, etc... 

Other example, I'm configuring a cluster in memory, I would like activate
the debug option, in order to know if the machines of the cluster is working
good or not. 

I mean, I looking for this documentation, but I find nothing about that. Do
you know if are there any documentation about this issues??



Thank a lot. 





-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: martes, 07 de diciembre de 2004 19:40
To: Tomcat Users List
Subject: RE: Documentation


Hi,

Where can I find documentation about Tomcat looger, and debug 
verbosity
params?


I change the debug and verbosity values, and the log is always the
same.

Different Tomcat versions have different ways to configure logging.
Make sure you're looking at the documentation for your Tomcat version.

The verbosity attribute is mostly for Tomcat 3.x.

The debug attribute, if allowed (the docs will list it if it's allowed),
goes from 0 (the default, no logging) to 99 (the highest, max logging).
But it's mostly used in Tomcat 4.x, and less in 5.x.

The more recent versions of Tomcat use Commons-Logging increasingly.  To
configure their logging, you need to pick an implementation (e.g. log4j
or JDK 1.4 logging) and configure Tomcat to use that logging
implementation with your chosen logging levels.  This is explained in
the FAQ and documentation (the latter only for Tomcat 5.5).

For Tomcat 5.5, there's no Logger, and no debug attributes, at all.
It's all Commons-Logging.

Yoav Shapira http://www.yoavshapira.com




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]

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



RE: Documentation

2004-12-07 Thread Shapira, Yoav

Hi,

Maybe, I don't explain very well my case. For example, If I active the
debug
in the database pool connection, can I see the active connection, free
connection, the queries, etc...

There are two ways to determine what logging output you will see if you
enable debug-level logging for a given Tomcat component.  One way to is
try it.  The other way is to look at the source code, which of course is
freely available for you to download and examine.

If you look at the source, you will see that some components do more
logging than others.  So even setting debug-level logging for them might
not yield much information.

As to the specific question above about database pooling: because that's
not implemented by Tomcat, but by a pluggable implementation (DBCP by
default), it's up to the implementation's logging.  Again, you can try
it, or you can consult the DBCP source code.  Alternatively you can plug
in your own connection pooling implementation.

I mean, I looking for this documentation, but I find nothing about
that. Do
you know if are there any documentation about this issues??

What are you asking is generic.  Documentation for Tomcat's own logging
is covered under the Logger configuration reference and, for Tomcat 5.5,
in the logging-howto section of the docs.  There is also a FAQ entry
showing how to configure Tomcat 5.0.x with log4j.  For parts of the code
that are not Tomcat's own, e.g. DBCP, you need to consult that
component's documentation.

Yoav Shapira http://www.yoavshapira.com




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

2004-12-07 Thread Pablo Carretero
Yoav and Filip, thanks a lot. 

I'm very new in the Open Source software, I good like the idea, and under my
point of view, is the best solution event the big companies. But for
beginner, is very difficult. 

Thank you very much I try continue with your indication. 

Best regards. 



-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: martes, 07 de diciembre de 2004 20:37
To: Tomcat Users List
Subject: RE: Documentation


Hi,

Maybe, I don't explain very well my case. For example, If I active the
debug
in the database pool connection, can I see the active connection, free
connection, the queries, etc...

There are two ways to determine what logging output you will see if you
enable debug-level logging for a given Tomcat component.  One way to is
try it.  The other way is to look at the source code, which of course is
freely available for you to download and examine.

If you look at the source, you will see that some components do more
logging than others.  So even setting debug-level logging for them might
not yield much information.

As to the specific question above about database pooling: because that's
not implemented by Tomcat, but by a pluggable implementation (DBCP by
default), it's up to the implementation's logging.  Again, you can try
it, or you can consult the DBCP source code.  Alternatively you can plug
in your own connection pooling implementation.

I mean, I looking for this documentation, but I find nothing about
that. Do
you know if are there any documentation about this issues??

What are you asking is generic.  Documentation for Tomcat's own logging
is covered under the Logger configuration reference and, for Tomcat 5.5,
in the logging-howto section of the docs.  There is also a FAQ entry
showing how to configure Tomcat 5.0.x with log4j.  For parts of the code
that are not Tomcat's own, e.g. DBCP, you need to consult that
component's documentation.

Yoav Shapira http://www.yoavshapira.com




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

2004-12-07 Thread Shapira, Yoav

Hi,
No problem.  We're glad to help, and you should feel free to ask
questions.  That's why these mailing lists are here, and I think these
lists and forums are one of the better assets of open-source software.
Many paid support organizations have neither the expertise nor the
enthusiasm found on this list.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Pablo Carretero [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 3:01 PM
To: 'Tomcat Users List'
Subject: RE: Documentation

Yoav and Filip, thanks a lot.

I'm very new in the Open Source software, I good like the idea, and
under
my
point of view, is the best solution event the big companies. But for
beginner, is very difficult.

Thank you very much I try continue with your indication.

Best regards.



-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: martes, 07 de diciembre de 2004 20:37
To: Tomcat Users List
Subject: RE: Documentation


Hi,

Maybe, I don't explain very well my case. For example, If I active the
debug
in the database pool connection, can I see the active connection, free
connection, the queries, etc...

There are two ways to determine what logging output you will see if you
enable debug-level logging for a given Tomcat component.  One way to is
try it.  The other way is to look at the source code, which of course
is
freely available for you to download and examine.

If you look at the source, you will see that some components do more
logging than others.  So even setting debug-level logging for them
might
not yield much information.

As to the specific question above about database pooling: because
that's
not implemented by Tomcat, but by a pluggable implementation (DBCP by
default), it's up to the implementation's logging.  Again, you can try
it, or you can consult the DBCP source code.  Alternatively you can
plug
in your own connection pooling implementation.

I mean, I looking for this documentation, but I find nothing about
that. Do
you know if are there any documentation about this issues??

What are you asking is generic.  Documentation for Tomcat's own logging
is covered under the Logger configuration reference and, for Tomcat
5.5,
in the logging-howto section of the docs.  There is also a FAQ entry
showing how to configure Tomcat 5.0.x with log4j.  For parts of the
code
that are not Tomcat's own, e.g. DBCP, you need to consult that
component's documentation.

Yoav Shapira http://www.yoavshapira.com




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]




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

2004-12-07 Thread QM
On Tue, Dec 07, 2004 at 09:01:07PM +0100, Pablo Carretero wrote:
: I'm very new in the Open Source software, I good like the idea, and under my
: point of view, is the best solution event the big companies. But for
: beginner, is very difficult. 

I'd argue that just about any software -- commercial or otherwise -- can
be difficult to grasp in the early days.  J2EE?  Systems administration?
Oracle?  The list goes on and on...

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: webdav servlet file path; documentation

2004-11-29 Thread Garret Wilson
Mark,
Thanks for giving me a place to start. I've had a half-our glance at the 
source code; let me know if I'm going in the right direction.

Doesn't this simply entail making sure that the ProxyDirContext 
resources object created in DefaultServlet has the correct file system root?

Would that have anything to do with the vPath of a wrapped ProxyDirContext?
I'll look into this more in a couple of days. (I've noticed that others 
have requested this same feature.)

Garret
Mark Thomas wrote:
From: Garret Wilson [mailto:[EMAIL PROTECTED] 
I can't imagine why this wouldn't be a simple change to the Tomcat 
WebDAV code---probably just five or ten lines. You start with a file 
system base directory right? Just get it from the context parameter.
Not quite that simple ;)
I'll gladly take a look at the code---can you tell me where to start?
org.apache.catalina.servlets.WebdavServlet
I'd be happy to look at anything you come up with.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
Citing Thank you for sharing.  It IS useful information.  Now if newbies would
only search the archives before posting the same questions, we'd be all
set! ;)

Mmm, of course it would be great, but mailing lists are not in reality the 
place people look for documentation for world-class software products. They are 
not particularly usable, and much of it is conversation without solution, a lot 
of time can be wasted. 

The prevalence of Tomcat is obvious and synonymous in my view with J2EE web 
application development. But on the documentation front, BEA, IBM and the like 
out-do Tomcat easily. This will be a factor in Tomcat's ultimate success. Our 
.net boys have just completed their first ever project in 
J2EE/Tomcat/Struts/Hibernate and they had real problems and time loss scouting 
mailing lists and the web for documentation on configuration with IIS with 
respect to SSL and Virtual Hosting - 2 prevalent technologies used everywhere. 
Same goes for the other technologies (you know they are used to wizards lol) 
but there is some truth in it.

I understand that with an open-source product this is never going to be the 
case and it relies on contributors to the project. For my part, I would like to 
help where I can with Tomcat's documentation and as you know I started that. I 
am going to think about the areas I think improvement can be made and make 
those suggestions.

But you know, I submitted a logging page doc patch over a week ago and it's 
still not there, and since then there have been many posts asking about this 
problem. I don't find that encouraging.

Also, there is very little documentation on how to even document! Tomcat 
developers make a lot of suggestions to people to go write a document then 
but never cite a definitive reference for how one would do that. There's a 
small page on how to build Tomcat but that's your lot (please correct me if I 
am wrong!). So that's a page I think could be helpful.

Turns out you need an understanding of CVS, making a patch, the XDOC format. I 
had to scout all the Apache website to form a full view of how to do this. And 
how do you even preview your changes? Probably by having to grab Apache Forrest 
or something.

Let's get a page detailing a step by step how to write and contribute 
documentation and then let's get Tomcat's docs up to scratch by really 
considering the areas that come up time and again in the lists and making the 
Tomcat documentation deserving of its functional reputation.

Allistair.

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
 Sent: 24 November 2004 14:05
 To: Tomcat Users List
 Subject: RE: SuSE 9.2 and Tomcat...
 
 
 
 Hi,
 Thank you for sharing.  It IS useful information.  Now if 
 newbies would
 only search the archives before posting the same questions, 
 we'd be all
 set! ;)
 
 Yoav Shapira http://www.yoavshapira.com
  
 
 -Original Message-
 From: Quinton Delpeche [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 24, 2004 2:28 AM
 To: [EMAIL PROTECTED]
 Subject: SuSE 9.2 and Tomcat...
 
 Hi Again,
 
 Well after pulling my hair out and getting very frustrated I have
 finally
 fixed and documented everything that needs to be done in order to get
 Tomcat
 5 working on SuSE 9.2.
 
 This seems a little strange since I am using the version of 
 Tomcat that
 comes
 with SuSE 9.2, but I won't say anymore on the matter.
 
 There are basically two important permission things that need to be
 done.
 
 1). The files admin.xml and manager.xml
 in /etc/tomcat5/base/Catalina/localhost/ need to be given 
 write access
 to
 the
 tomcat user.
 
 There new profile should look like this:
 -rw-rw-r--  1 root   tomcat 862 Oct  5 03:20 admin.xml
 -rw-rw-r--  1 root   tomcat 428 Oct  5 03:20 manager.xml
 
 This fix removes the previous error regarding the admin and manager
 applications that I posted earlier.
 
 2). The tomcat user needs to be given access to /var/run in order to
 create
 the relevant PID file.
 
 Because my server is behind a firewall and I change the ROOT and user
 password
 on the server regularly, I changed the /var/run permissions so that
 everyone
 could read and write from and to this directory.
 
 The new profile should look like this:
 drwxrwxrwx  15 root  root  1032 Nov 24 09:11 run
 
 This fix solves various issues regarding the admin and manager
 applications
 as
 well as the start.log error.
 
 Thats it. I don't know if this information will be useful to anyone,
 but I
 thought I would share it with you all anyway.
 
 Regards
 Q
 --
 Quinton Delpeche
 Internal Systems Developer
 Softline VIP
 
 Telephone: +27 12 420 7000
 Direct:+27 12 420 7007
 Facsimile: +27 12 420 7344
 
 http://www.vippayroll.co.za/
 
  A doctor, an architect, and a computer scientist were arguing
 about whose profession was the oldest.  In the course of their
 arguments, they got all the way back to the Garden of Eden, whereupon
 the doctor said, The medical profession is clearly the 
 oldest

RE: Tomcat Documentation Thoughts

2004-11-24 Thread Shapira, Yoav

Hi,

But you know, I submitted a logging page doc patch over a week ago and
it's
still not there, and since then there have been many posts asking about
this problem. I don't find that encouraging.

As I responded, your patch has been committed, and it will be available
in the next release.  If you want something sooner or more dynamic,
that's why we have a wiki.

Also, there is very little documentation on how to even document!
Tomcat
developers make a lot of suggestions to people to go write a document
then but never cite a definitive reference for how one would do that.
There's a small page on how to build Tomcat but that's your lot (please
correct me if I am wrong!). So that's a page I think could be helpful.

There's the tech guide at http://www.apache.org/dev/contributors.html.
The xdoc format is self-explanatory.  Then you submit your patches in
Bugzilla and we take care of building them.

Let's get a page detailing a step by step how to write and contribute
documentation and then let's get Tomcat's docs up to scratch by really
considering the areas that come up time and again in the lists and
making
the Tomcat documentation deserving of its functional reputation.

I've added a section to the wiki page at
http://wiki.apache.org/jakarta-tomcat/HowTo.

I'm glad you have the time to help, and I look forward to seeing your
contributions.

Happy thanksgiving ;)

Yoav Shapira http://www.yoavshapira.com




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: Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
Hey :)

 But you know, I submitted a logging page doc patch over a 
 week ago and it's
 still not there, and since then there have been many posts 
 asking about
 this problem. I don't find that encouraging.
 
 As I responded, your patch has been committed, and it will be 
 available
 in the next release.  If you want something sooner or more dynamic,
 that's why we have a wiki.

Yes but the logging applies to the current release too and people are asking 
about it. Is the web page build quite an intensive process? I don't want to 
labour on the point, I just think documentation should be a priority, not a 
per-Tomcat-build thing.
 
 Also, there is very little documentation on how to even document!
 Tomcat
 developers make a lot of suggestions to people to go write 
 a document
 then but never cite a definitive reference for how one 
 would do that.
 There's a small page on how to build Tomcat but that's your 
 lot (please
 correct me if I am wrong!). So that's a page I think could 
 be helpful.
 
 There's the tech guide at http://www.apache.org/dev/contributors.html.
 The xdoc format is self-explanatory.  Then you submit your patches in
 Bugzilla and we take care of building them.

Well it's something but it doesn't apply to Tomcat directly. The docs are 
wrapped up in jakarta-catalina in webapps folder. I had to download nearly 
everything to find that out. he jakarta-site2 is misleading ... (this site it 
says). My point again is this scattering of information rather than a 
definitive Tomcat resource. People don't want to scout the web piecing together 
information on how to get a product up and going imo.
 
 I'm glad you have the time to help, and I look forward to seeing your
 contributions.

:) ok.

 Happy thanksgiving ;)

Yes of course, I forgot it's thanksgiving for you guys!! Enjoy :)

Allistair.


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: Tomcat Documentation Thoughts

2004-11-24 Thread Ben Souther
Let's get a page detailing a step by step how to write and contribute
 documentation and then let's get Tomcat's docs up to scratch by really
 considering the areas that come up time and again in the lists and
 making
 the Tomcat documentation deserving of its functional reputation.

There's the tech guide at http://www.apache.org/dev/contributors.html.
 The xdoc format is self-explanatory.  Then you submit your patches in
 Bugzilla and we take care of building them.
 

There is this also.
http://jakarta.apache.org/site/jakarta-site2.html

-Ben



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



Re: Tomcat Documentation Thoughts

2004-11-24 Thread Wouter De Vaal
On Wed, 24 Nov 2004 09:44:00 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote:
 
 Hi,
 
 But you know, I submitted a logging page doc patch over a week ago and
 it's
 still not there, and since then there have been many posts asking about
 this problem. I don't find that encouraging.
 
Is this about my problem that I posted earlier today (tomcat 5.5.4 and
log4j)? About the
...[host].[/] problem?
If so, could you please post your fix on this to me or this list?

Regards,
Wouter de Vaal

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



RE: Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
/li
/ol

p
This log4j configuration will set up a file called tomcat.log 
in your Tomcat logs folder with 
a maximum file size of 500KB and up to 10 backups. DEBUG level 
is specified which will result 
in the most verbose output from Tomcat. The above can generate 
in excess of 5MB of logging with 
bundled web applications and Struts web applications.
/p

p
You can of course choose to be more picky about which packages 
to include in the logging as with
the JDK Logging. For example try substituting the last line of 
the above configuration with one 
of these:

ul

lilog4j.logger.org.apache.catalina.core.ContainerBase.[Catalina].[localhost]=DEBUG,
 R/li
lilog4j.logger.org.apache.catalina.core=DEBUG, R/li
lilog4j.logger.org.apache.catalina.session=DEBUG, 
R/li
/ul
/p

  /section
  
  section name=Conclusion
p
The usefulness of what you will find from internal Tomcat 
logging is debatable for web 
applications. Unless a problem with Tomcat itself exists, it is 
probably not required. 
/p
p
It is much more common and recommended for web application 
themselves to be configured with
a logging setup. In the case of JDK Logging, you could setup 
package loggers to collect logging
from your own applications, e.g 
codecom.mycomp.myapp.level=DEBUG/code. In the case of log4j, a custom
log4j.properties file would be placed into your web 
application's WEB-INF/classes folder and 
log4j-1.2.8.jar into WEB-INF/lib and the log4j.properties file 
would setup a set of 
(normally) file appenders to collect the logging, again with 
package level setup, e.g
codelog4j.logger.org.mycomp.myapp=DEBUG, 
APPENDER_TO_USE/code.
/p
  /section


 -Original Message-
 From: Wouter De Vaal [mailto:[EMAIL PROTECTED]
 Sent: 24 November 2004 14:54
 To: Tomcat Users List
 Subject: Re: Tomcat Documentation Thoughts
 
 
 On Wed, 24 Nov 2004 09:44:00 -0500, Shapira, Yoav 
 [EMAIL PROTECTED] wrote:
  
  Hi,
  
  But you know, I submitted a logging page doc patch over a 
 week ago and
  it's
  still not there, and since then there have been many posts 
 asking about
  this problem. I don't find that encouraging.
  
 Is this about my problem that I posted earlier today (tomcat 5.5.4 and
 log4j)? About the
 ...[host].[/] problem?
 If so, could you please post your fix on this to me or this list?
 
 Regards,
 Wouter de Vaal
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
That's useful thanks Ben :)

Allistair.

 -Original Message-
 From: Ben Souther [mailto:[EMAIL PROTECTED]
 Sent: 24 November 2004 14:55
 To: Tomcat Users List
 Subject: RE: Tomcat Documentation Thoughts
 
 
 Let's get a page detailing a step by step how to write and contribute
  documentation and then let's get Tomcat's docs up to 
 scratch by really
  considering the areas that come up time and again in the lists and
  making
  the Tomcat documentation deserving of its functional reputation.
 
 There's the tech guide at http://www.apache.org/dev/contributors.html.
  The xdoc format is self-explanatory.  Then you submit your 
 patches in
  Bugzilla and we take care of building them.
  
 
 There is this also.
 http://jakarta.apache.org/site/jakarta-site2.html
 
 -Ben
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: webdav servlet file path; documentation

2004-10-02 Thread Mark Thomas
From: Garret Wilson [mailto:[EMAIL PROTECTED] 
 
 Something like this:
 
 Context docBase=C:\webapps\mywebapp.war
Parameter name=webdavBase value=C:\data\mywebappdata\/
 /Context

This should be a parameter of the webdav servlet rather than a context one.

 I can't imagine why this wouldn't be a simple change to the Tomcat 
 WebDAV code---probably just five or ten lines. You start with a file 
 system base directory right? Just get it from the context parameter.

Not quite that simple ;)

 I'll gladly take a look at the code---can you tell me where to start?

org.apache.catalina.servlets.WebdavServlet

I'd be happy to look at anything you come up with.

Mark



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



webdav servlet file path; documentation

2004-09-25 Thread Garret Wilson
I just stumbled upon the Tomcat webdav servlet, which *almost* meets all 
my needs.

1. Is there some more complete documentation somewhere?
By default the servlet accesses the file system inside the web context. 
(That is, a servlet mapped to /context/webapp/* will show files in 
/context/webapp/ .)

2. What happens when I deploy my webapp as a .war---surely webdav 
methods won't modify the contents of the .war, will they?

3. How do I map the servlet to an absolute file on the server machine? 
The need for this is obvious in relation to the second question---I'd 
like to deploy my web application (the code in the .war) independently 
of the webdav-accessible documents (the data).

4. I'm sure I'll get into this once I get more documentation, but where 
should I start looking regarding implementing custom security methods? 
That is, rather than defining static users and passwords, I'd like my 
web application to dynamically validate all webdav accesses.

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


Re: webdav servlet file path; documentation

2004-09-25 Thread Garret Wilson
Garret Wilson wrote:
By default the servlet accesses the file system inside the web context. 
(That is, a servlet mapped to /context/webapp/* will show files in 
/context/webapp/ .)
Ack! Apparently the servlet will allow access to files in /context/ , 
which is much worse?

3. How do I map the servlet to an absolute file on the server machine?
(I meant directory of course.) This question is even more important, 
now...

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


AW: Documentation for the jkstatus output

2004-09-23 Thread Oliver Braun

Hi again.

Is there really nobody who can tell me something about the output of
jkstatus?

Please help.

Kind regards.

Olli.



 Hi all.

 Who can tell me, where I can find information about the output of jkstatus
 (documentation, reference)?
 I have found many sites with instructions about how to activate the
 status-worker but not one of these sites explains what the meaning of the
 different parts of the output is...

 If there is no documentation on the output availble, who can give me an
 answer to the following questions:

 What is the Scoreboard info telling me about the system?
 What is the Endpoint info telling me about the system?
 What is the meaning of the columns +jk and +end?
 What does it mean, if there is an entry in the scoreboard
 info-section for
 worker x with a connection time that is 3 hours old?
 Why is the value in the columns total time and max time equal
 to zero in
 each row of the Scoreboard info- and the Endpoint info-section?

 And finally: Is there a possibility to identify tomcat-threads, wich are
 caught in e.g. infinite loops?


 Thanks for your help.

 Olli.


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



Documentation for the jkstatus output

2004-09-22 Thread Oliver Braun

Hi all.

Who can tell me, where I can find information about the output of jkstatus
(documentation, reference)?
I have found many sites with instructions about how to activate the
status-worker but not one of these sites explains what the meaning of the
different parts of the output is...

If there is no documentation on the output availble, who can give me an
answer to the following questions:

What is the Scoreboard info telling me about the system?
What is the Endpoint info telling me about the system?
What is the meaning of the columns +jk and +end?
What does it mean, if there is an entry in the scoreboard info-section for
worker x with a connection time that is 3 hours old?
Why is the value in the columns total time and max time equal to zero in
each row of the Scoreboard info- and the Endpoint info-section?

And finally: Is there a possibility to identify tomcat-threads, wich are
caught in e.g. infinite loops?


Thanks for your help.

Olli.


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



RE: documentation for ant tasks

2004-08-23 Thread Shapira, Yoav

Hi,
The Manager How-To has some ant details.  It has a lot of detail on the
actual Manager tasks (the same whether invoked from Ant or from the web
browser), which is probably what you want.  The actual Ant tasks don't
have any logic, they're just convenience wrappers for invocation via
Ant.


Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Jeff Ousley [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 6:18 PM
To: [EMAIL PROTECTED]
Subject: documentation for ant tasks

hello!

is there anyplace where the catalina ant functions/tasks are
documented? i've searched but obviously i'm not looking in the proper
place.

thanks!

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



AJP documentation improvement

2004-08-20 Thread Francois JEANMOUGIN
Hi all,

Continuing to try to implement AJP13 for Apache2.0.50 and tomact5.0.27, I
just found that the documentation for the AJP connector remain incomplete for
me. The link:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html
states that:
The standard implementation of AJP Connector is
org.apache.coyote.tomcat5.CoyoteConnector, but you must specify the protocol
attribute (see below).
But the options of the implementation are only described in the HTTP
connector documentation at:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html

So, you have to be curious enough to go there and carefully read it. On the
other hand, AJP and HTTP versions doesn't seem to use the options the same
way (and this remains obscure for me).

I use the options address=IP port=PORT for my HTTP connectors frequently,
trying to do the same with AJP gives an error:
SEVERE: Error registering
Standalone:type=RequestProcessor,worker=jk-127.0.0.1-8019,name=JkRequest0
javax.management.InstanceAlreadyExistsException:
Standalone:type=RequestProcessor,worker=jk-127.0.0.1-8019,name=JkRequest0
at mx4j.server.MBeanServerImpl.register(MBeanServerImpl.java:1123)

as if the AJP connector tries to make two connection pools, strange. Removing
the address option removes the exception.

Thank you for your help,

François.


Décharge / Disclaimer

Ce message et toutes les pièces jointes (ci-après le message) sont confidentiels et 
établis à l'intention exclusive des destinataires. Toute utilisation ou diffusion non 
autorisée est interdite. Tout message électronique étant susceptible d'altération, 
123Multimédia et ses filiales déclinent toute responsabilité au titre de ce message 
s'il a été altéré, déformé ou falsifié.

This message and any attachments (the message) are confidential and intended solely 
for the addressees. Any unauthorised use or dissemination is prohibited. E-mails are 
susceptible to alteration. Therefore neither 123Multimédia nor any of its subsidiaries 
or affiliates shall be liable for the message if altered, changed or falsified.


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



documentation for ant tasks

2004-08-20 Thread Jeff Ousley
hello!

is there anyplace where the catalina ant functions/tasks are
documented? i've searched but obviously i'm not looking in the proper
place.

thanks!

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



RE: How to submit new Tomcat documentation updates.

2004-08-19 Thread Allistair Crossley
Got em. Thanks Tim!

Allistair Crossley

 -Original Message-
 From: Tim Funk [mailto:[EMAIL PROTECTED]
 Sent: 18 August 2004 11:47
 To: Tomcat Users List
 Subject: Re: How to submit new Tomcat documentation updates.
 
 
 Look at the xdocs directories. All the docs are xml files. 
 Then they get 
 passed through an xslt stylesheet.
 
 -Tim
 
 Allistair Crossley wrote:
 
  Hi Guys
  
  So far, I have been able to checkout from CVS the various 
 modules for Tomcat to look at the source code. I cannot find 
 a clear step-by-step for how one would get the latest 
 documentation, e.g Jasper HowTo, and then submit changes to it.
  
  If anyone has the time to detail a few steps (you can 
 assume I can use CVS) on what to do, as I would like to 
 submit a documentation update
  
  Cheers, AC
   
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



How to submit new Tomcat documentation updates.

2004-08-18 Thread Allistair Crossley
Hi Guys

So far, I have been able to checkout from CVS the various modules for Tomcat to look 
at the source code. I cannot find a clear step-by-step for how one would get the 
latest documentation, e.g Jasper HowTo, and then submit changes to it.

If anyone has the time to detail a few steps (you can assume I can use CVS) on what to 
do, as I would like to submit a documentation update

Cheers, AC


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



Re: How to submit new Tomcat documentation updates.

2004-08-18 Thread Tim Funk
Look at the xdocs directories. All the docs are xml files. Then they get 
passed through an xslt stylesheet.

-Tim
Allistair Crossley wrote:
Hi Guys
So far, I have been able to checkout from CVS the various modules for Tomcat to look 
at the source code. I cannot find a clear step-by-step for how one would get the 
latest documentation, e.g Jasper HowTo, and then submit changes to it.
If anyone has the time to detail a few steps (you can assume I can use CVS) on what to 
do, as I would like to submit a documentation update
Cheers, AC
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: How to submit new Tomcat documentation updates.

2004-08-18 Thread Shapira, Yoav

Hi,
As Tim pointed out, docs are xdocs (.xml files), mostly in the
webapps/docs directory of the jakarta-tomcat-catalina CVS module.   You
can check them out, and submit patches according to the normal Jakarta
process (http://jakarta.apache.org/site/source.html#Patches).  Many
people have done so in the past, so you can search Bugzilla to see how
they've done it as well.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 5:26 AM
To: [EMAIL PROTECTED]
Subject: How to submit new Tomcat documentation updates.

Hi Guys

So far, I have been able to checkout from CVS the various modules for
Tomcat to look at the source code. I cannot find a clear step-by-step
for
how one would get the latest documentation, e.g Jasper HowTo, and then
submit changes to it.

If anyone has the time to detail a few steps (you can assume I can use
CVS)
on what to do, as I would like to submit a documentation update

Cheers, AC


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



Where is the jk2 documentation gone ?

2004-08-06 Thread Francois JEANMOUGIN
Hi everyone,

Sorry to bother you, but at the end of the page:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html
There is a broken link to:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/

It is not that I need a so special configuration at the time, but I am lost
with a silly question. When to use Jk2 and when to use Jk1.2? Is it related
to the JSP spec version? Where can I find a simple doc for it without
downloading the whole source code?

Thanks for any tip.

François.


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



RE: Where is the jk2 documentation gone ?

2004-08-06 Thread Shapira, Yoav

Hi,
It's not a bother: thanks for reporting the broken link.  I've fixed it in CVS and the 
site will be updated during our next release.

For now, use the main JK documentation link (JK Documentation from the Reference 
section of the Tomcat 5 Docs home), or just bookmark 
http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Francois JEANMOUGIN [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 5:59 AM
To: Tomcat Users List
Subject: Where is the jk2 documentation gone ?

Hi everyone,

Sorry to bother you, but at the end of the page:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html
There is a broken link to:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/

It is not that I need a so special configuration at the time, but I am lost
with a silly question. When to use Jk2 and when to use Jk1.2? Is it related
to the JSP spec version? Where can I find a simple doc for it without
downloading the whole source code?

Thanks for any tip.

François.


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



Is the Tomcat5 documentation correct for this?

2004-07-24 Thread Michael Echerer
Hi,
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
says:
Pathname to a scratch directory to be provided by this Context for 
temporary read-write use by servlets within the associated web 
application. This directory will be made visible to servlets in the web 
application by a servlet context attribute (of type java.io.File) named 
javax.servlet.context.tempdir as described in the Servlet Specification. 
If not specified, a suitable directory underneath $CATALINA_HOME/work 
will be provided.

I have a setup where I have multiple Tomcat instances using the same 
$CATALINA_HOME, but each get's a different $CATALINA_BASE set on startup.

For each Tomcat instance I have a work directory below $CATALINA_BASE, 
not a combined one for all instances in my binaries CATALINA_HOME.
I doubt it would work if \work\Catalina\localhost has e.g. the temp jsp 
class files of all Tomcat instances.

So I guess it must be:
If not specified, a suitable directory underneath $CATALINA_BASE/work 
will be provided.

Greetings
Michael

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


Re: Is the Tomcat5 documentation correct for this?

2004-07-24 Thread Michael Echerer
Ignore this... I skipped reading this part:
The description below uses the variable name $CATALINA_HOME to refer to 
the directory into which you have installed Tomcat 5, and is the base 
directory against which most relative paths are resolved. However, if 
you have configured Tomcat 5 for multiple instances by setting a 
CATALINA_BASE directory, you should use $CATALINA_BASE instead of 
$CATALINA_HOME for each of these references.

:)
Michael Echerer wrote:
Hi,
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
says:
Pathname to a scratch directory to be provided by this Context for 
temporary read-write use by servlets within the associated web 
application. This directory will be made visible to servlets in the web 
application by a servlet context attribute (of type java.io.File) named 
javax.servlet.context.tempdir as described in the Servlet Specification. 
If not specified, a suitable directory underneath $CATALINA_HOME/work 
will be provided.

I have a setup where I have multiple Tomcat instances using the same 
$CATALINA_HOME, but each get's a different $CATALINA_BASE set on startup.

For each Tomcat instance I have a work directory below $CATALINA_BASE, 
not a combined one for all instances in my binaries CATALINA_HOME.
I doubt it would work if \work\Catalina\localhost has e.g. the temp jsp 
class files of all Tomcat instances.

So I guess it must be:
If not specified, a suitable directory underneath $CATALINA_BASE/work 
will be provided.

Greetings
Michael

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

--
Dipl.-Inf. (FH) Michael Echerer
TNG Technology Consulting GmbH, http://www.tngtech.com
Betastr. 13a, 85774 Unterföhring bei München,
Tel. +49 89 2158996-0, Fax. +49 89 2158996-9, Mobile +49 176 20088854
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


documentation on installing two instances of tomcat

2004-07-21 Thread Yoo, Joon
Is there any documentation on running two instances of tomcat on the same
Win2000 server and same IP but different ports?
 
 
Joon Yoo
Systems Administrator
Ladas  Parry LLC
26 West 61st Street
New York, NY 10023
tel:  (212) 708-1854
fax: (212) 246-8959
 
 


RE: documentation on installing two instances of tomcat

2004-07-21 Thread Shapira, Yoav

Hi,
Here's some:
- Download tomcat .zip
- Unpack first installation to a directory of your choice, ports will be
8080 and 8005 by default
- Unpack second installation to a different directory of your choice
- Edit conf/server.xml of the second installation to something other
than 8005 and 8080, say 8006 and 8081.
- That's it.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Yoo, Joon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 10:55 AM
To: ([EMAIL PROTECTED])
Subject: documentation on installing two instances of tomcat

Is there any documentation on running two instances of tomcat on the
same
Win2000 server and same IP but different ports?


Joon Yoo
Systems Administrator
Ladas  Parry LLC
26 West 61st Street
New York, NY 10023
tel:  (212) 708-1854
fax: (212) 246-8959





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: documentation on installing two instances of tomcat

2004-07-21 Thread Benjamin Armintor
You could also check out item (4) in RUNNING.txt under your Tomcat
install: Advanced Configuration - Multiple Tomcat 5 Instances.


Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
 


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 21, 2004 10:03 AM
To: Tomcat Users List
Subject: RE: documentation on installing two instances of tomcat



Hi,
Here's some: 
- Download tomcat .zip
- Unpack first installation to a directory of your choice, ports will be
8080 and 8005 by default
- Unpack second installation to a different directory of your choice
- Edit conf/server.xml of the second installation to something other
than 8005 and 8080, say 8006 and 8081.
- That's it.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Yoo, Joon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 10:55 AM
To: ([EMAIL PROTECTED])
Subject: documentation on installing two instances of tomcat

Is there any documentation on running two instances of tomcat on the
same
Win2000 server and same IP but different ports?


Joon Yoo
Systems Administrator
Ladas  Parry LLC
26 West 61st Street
New York, NY 10023
tel:  (212) 708-1854
fax: (212) 246-8959





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: How to start a web app? - documentation suggestion.

2004-07-12 Thread David . Pawson
Proposed addition to the tomcat documentation that would do it for me.


With the default setup, http://localhost:8080/index.html would
cause tomcat to seek a file index.html in directory
${catalina.home}/webapps/ROOT/index.html.

http://localhost:8080/myservlet would cause tomcat to seek 
a configuration file (web.xml) (more accurately the deployment descriptor)
in ${catalina.home}/webapps/myservlet/WEB-INF/

I.e. an application should be 'installed' directly within the
directory ${catalina.home}/webapps 
The class file for the servlet will normally be found in 
${catalina.home}/webapps/myservlet/WEB-INF/classes

This presumes the default setup, as tomcat is delivered.


I *think* the above is correct.

I guess I'm aiming at the newbie like me, taking tomcat out of the
box and hoping to have a servlet up and running quickly.
  (I'm not debating the fact that far more complex setups are possible
with tomcat :-)


HTH DaveP

** snip here **


-- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 

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



Re: PDF File on Documentation Web Site Corrupted?

2004-07-03 Thread Parsons Technical Services
Daniel,

Just to let you know I get an error also. I am using Adobe reader 6.0 on
WinXP and get an error about unable to extract font. Looks like they created
the first document using a font named EHPFDM+Arial but failed to package it
in the document. The second document gives unrecognized token scnTwGS1was
found.

You may need to repost this later next week to catch the eye of the
responsible parties.

Doug
www.parsonstechnical.com


- Original Message - 
From: SANTOS, DANIEL (SBCSI) [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, July 02, 2004 2:30 PM
Subject: PDF File on Documentation Web Site Corrupted?


When attempting to view a PDF on the Tomcat Architecture at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/requestProc
ess/requestProcess.pdf I get errors in Acrobat Reader.  Same thing for
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/startup/ser
verStartup.pdf.  Does anybody know who is responsible for these and if
there is any way to correct them?

Thanks
Daniel

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



PDF File on Documentation Web Site Corrupted?

2004-07-02 Thread SANTOS, DANIEL (SBCSI)
When attempting to view a PDF on the Tomcat Architecture at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/requestProc
ess/requestProcess.pdf I get errors in Acrobat Reader.  Same thing for
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/startup/ser
verStartup.pdf.  Does anybody know who is responsible for these and if
there is any way to correct them?

Thanks
Daniel

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



RE: Printer Unfriendly Tomcat 5 Documentation

2004-06-07 Thread Shapira, Yoav

Hi,

I am happy to do the work, but I need two more hints.

1) Please point me to a good CVS client or Diff utility that will
generate
a
suitable Diff file on my Windows XP Pro workstation.  My web search
found
too many choices and insufficient information for making a choice.

Bah, everyone has their favorites, and they're all fairly similar.  I
use WinCVS.  The Eclipse CVS explorer isn't too bad.

2) Please tell me how to generate the HTML files from the
documentation
XML
source.  I would like to test my changes before I submit the updates.

See the tomcat build file: it has targets that do this.  They use Anakia
and style tasks.  What you would do is checkout the CVS module, make
your XML changes, and run the tomcat doc generation tasks (they're in
jakarta-tomcat-catalina/webapps/docs/build.xml, probably just use the
dist target).

Yoav



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]



Printer Unfriendly Tomcat 5 Documentation

2004-06-04 Thread Lance D Bader
I have found that some of Tomcat 5 documentation is not printer friendly.
Printing from the Windows Internet Explorer V6, even after using the link to
the print-friendly version, an aggravating amount of data is truncated at
the right margin on my HP Laserjet using PostScript.  My web search for a
circumvention has proved fruitless.

What causes this problem and what can I do to fix the documentation
repository?  I would be happy to contribute fixes to the master repository
if that has some value, just point me in the right direction.

Here are three document references that demonstrate this problem.

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jndi-resources-howto.html

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jndi-datasource-examples-howto.html

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/realm-howto.html

-Lance Bader


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



RE: Printer Unfriendly Tomcat 5 Documentation

2004-06-04 Thread Shapira, Yoav

Hi,
We'd be thrilled if you submit documentation fixes.  What you would do
is:

- Get the source for the docs, which is at
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/docs/,

- Modify the file locally on your machine as you see fit,
- Open a Bugzilla (http://nagoya.apache.org/bugzilla/) enhancement
issue,
- Attach a diff (produced by CVS ideally, so you'd download a CVS client
and use its diff function, but you can submit diffs made with other
tools) to the Bugzilla item.

That's it.  We'll evaluate and commit the fixes into the repository, and
they'll be available with the next tomcat release.

If you're interested, the general contribution process is covered at
http://jakarta.apache.org/site/source.html#Patches and
http://jakarta.apache.org/site/getinvolved.html.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Lance D Bader [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 1:56 PM
To: [EMAIL PROTECTED]
Subject: Printer Unfriendly Tomcat 5 Documentation

I have found that some of Tomcat 5 documentation is not printer
friendly.
Printing from the Windows Internet Explorer V6, even after using the
link
to
the print-friendly version, an aggravating amount of data is truncated
at
the right margin on my HP Laserjet using PostScript.  My web search for
a
circumvention has proved fruitless.

What causes this problem and what can I do to fix the documentation
repository?  I would be happy to contribute fixes to the master
repository
if that has some value, just point me in the right direction.

Here are three document references that demonstrate this problem.

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jndi-resources-
howto.html

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jndi-datasource
-
examples-howto.html

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/realm-howto.htm
l

-Lance Bader


-
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: Printer Unfriendly Tomcat 5 Documentation

2004-06-04 Thread Lance D Bader
I found the cause of the unfriendly documentation.  Certain examples,
imbedded between pre /pre tags are consuming too much horizontal space.
Not only does this cause truncation on the right margin while printing, it
also causes unnecessary horizontal scrolling.

The obvious fix is to reformat the examples, placing a single attribute on
each line.  Not only does this fix my problem, it also improves the
productivity of administrators who use the examples as templates (copy,
paste, modify, repeat as needed).

I am happy to do the work, but I need two more hints.

1) Please point me to a good CVS client or Diff utility that will generate a
suitable Diff file on my Windows XP Pro workstation.  My web search found
too many choices and insufficient information for making a choice.

2) Please tell me how to generate the HTML files from the documentation XML
source.  I would like to test my changes before I submit the updates.


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



Re: Printer Unfriendly Tomcat 5 Documentation

2004-06-04 Thread Jacob Kjome
At 12:41 AM 6/5/2004 -0400, you wrote:
I found the cause of the unfriendly documentation.  Certain examples,
imbedded between pre /pre tags are consuming too much horizontal space.
Not only does this cause truncation on the right margin while printing, it
also causes unnecessary horizontal scrolling.
The obvious fix is to reformat the examples, placing a single attribute on
each line.  Not only does this fix my problem, it also improves the
productivity of administrators who use the examples as templates (copy,
paste, modify, repeat as needed).
I am happy to do the work, but I need two more hints.
1) Please point me to a good CVS client or Diff utility that will generate a
suitable Diff file on my Windows XP Pro workstation.  My web search found
too many choices and insufficient information for making a choice.
http://www.tortoisecvs.org/
Jake

2) Please tell me how to generate the HTML files from the documentation XML
source.  I would like to test my changes before I submit the updates.
-
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]


documentation for the command line installer

2004-06-03 Thread Ben Souther
Hello,
I'm looking for the documentation for installing Tomcat as a Windows service 
from the command line.  

The current documentation only tells how do to it with the wizard type 
installer.

I'm trying to install multiple instances as services which the gui installer 
doesn't seem to be able to do.

Does anyone know if such documentation exists?

Thank you.





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



RE: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Shapira, Yoav

Hi,
Definitive in the true sense of the word, no.  Helpful docs are aplenty,
though, on the tomcat wiki (http://wiki.apache.org/jakarta-tomcat)
UsefulLinks page.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Dan Barron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 6:32 PM
To: Tomcat Users List
Subject: Definitive Documentation for RH9, mod_jk2, Apache2  Tomcat 5?

Hello,

Is anyone aware of any definitive documentation for compiling,
installing,
and configuring mod_jk2 on Red Hat9 with Apache2 and Tomcat5?

Thank you,

Dan Barron


-
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: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Dan Barron
Thanks.

I came across a link that is the best I have seen so far:

http://www.reliablepenguin.com/clients/misc/tomcat/

At 06:02 AM 5/12/2004, Shapira, Yoav wrote:

Hi,
Definitive in the true sense of the word, no.  Helpful docs are aplenty,
though, on the tomcat wiki (http://wiki.apache.org/jakarta-tomcat)
UsefulLinks page.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Dan Barron [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 11, 2004 6:32 PM
To: Tomcat Users List
Subject: Definitive Documentation for RH9, mod_jk2, Apache2  Tomcat 5?

Hello,

Is anyone aware of any definitive documentation for compiling,
installing,
and configuring mod_jk2 on Red Hat9 with Apache2 and Tomcat5?

Thank you,

Dan Barron


-
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: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Shapira, Yoav

Hi,
Is it on our wiki?  If not, can you please add it?

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Dan Barron [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 10:15 AM
To: Tomcat Users List
Subject: RE: Definitive Documentation for RH9, mod_jk2, Apache2 
Tomcat 5?

Thanks.

I came across a link that is the best I have seen so far:

http://www.reliablepenguin.com/clients/misc/tomcat/


At 06:02 AM 5/12/2004, Shapira, Yoav wrote:

Hi,
Definitive in the true sense of the word, no.  Helpful docs are
aplenty,
though, on the tomcat wiki (http://wiki.apache.org/jakarta-tomcat)
UsefulLinks page.

Yoav Shapira
Millennium Research Informatics


 -Original Message-
 From: Dan Barron [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 11, 2004 6:32 PM
 To: Tomcat Users List
 Subject: Definitive Documentation for RH9, mod_jk2, Apache2  Tomcat
5?
 
 Hello,
 
 Is anyone aware of any definitive documentation for compiling,
installing,
 and configuring mod_jk2 on Red Hat9 with Apache2 and Tomcat5?
 
 Thank you,
 
 Dan Barron
 
 

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




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: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Daniel Gibby
I don't see the 'Useful Links' page that you speak of...
I think you meant the page that is called Tomcat Links

At 06:02 AM 5/12/2004, Shapira, Yoav wrote:

   

Hi,
Definitive in the true sense of the word, no.  Helpful docs are
 

aplenty,
 

though, on the tomcat wiki (http://wiki.apache.org/jakarta-tomcat)
UsefulLinks page.
Yoav Shapira
Millennium Research Informatics
 



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


RE: Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-12 Thread Shapira, Yoav

Hi,
It's a bit of a semantic pain with the current wiki setup, but
http://wiki.apache.org/jakarta-tomcat/UsefulLinks is the one I had in
mind, which now only lists
http://wiki.apache.org/jakarta-tomcat/Tomcat_2fLinks but in the future
that might change.  Can't hurt to clarify ;)

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Daniel Gibby [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 10:36 AM
To: Tomcat Users List
Subject: Re: Definitive Documentation for RH9, mod_jk2, Apache2 
Tomcat 5?

I don't see the 'Useful Links' page that you speak of...
I think you meant the page that is called Tomcat Links



At 06:02 AM 5/12/2004, Shapira, Yoav wrote:



Hi,
Definitive in the true sense of the word, no.  Helpful docs are


aplenty,


though, on the tomcat wiki (http://wiki.apache.org/jakarta-tomcat)
UsefulLinks page.

Yoav Shapira
Millennium Research Informatics





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



Definitive Documentation for RH9, mod_jk2, Apache2 Tomcat 5?

2004-05-11 Thread Dan Barron
Hello,

Is anyone aware of any definitive documentation for compiling, installing, 
and configuring mod_jk2 on Red Hat9 with Apache2 and Tomcat5?

Thank you,

Dan Barron

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


workers2.properties documentation?

2004-05-03 Thread Charles Jordan
Can anyone tell me where to find documentation on all the available
variables possible in the workers2.properties for Tomcat 4.1?
Thanks.

Charles (Allen) Jordan   [EMAIL PROTECTED]
  System Administrator(407)771-8919
  Convergys
  285 International Parkway, 
  Lake Mary, FL 32746-5007


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



RE: workers2.properties documentation?

2004-05-03 Thread Angus Mezick
The docs were just updated.  I had to read to code to get them that far.
I guess you will too.  In the Jakarta connectors project look in the
directory
 /jk/native2/common/apr  That is where all of the C code for the jk2 is
located.
  
 -Original Message-
 From: Charles Jordan [mailto:[EMAIL PROTECTED] 
 Sent: Monday, May 03, 2004 9:19 AM
 To: [EMAIL PROTECTED]
 Subject: workers2.properties documentation?
 
 
 Can anyone tell me where to find documentation on all the available
 variables possible in the workers2.properties for Tomcat 4.1?
 Thanks.
 
 Charles (Allen) Jordan   [EMAIL PROTECTED]
   System Administrator(407)771-8919
   Convergys
   285 International Parkway, 
   Lake Mary, FL 32746-5007
 
 
 -
 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: workers2.properties documentation?

2004-05-03 Thread Frank Duffner
you might be looking for this:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html

if you're just getting started with jk, you should read this too - very 
good entry tutorial:

http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss

frank

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


5.0 Documentation: missing link

2004-04-12 Thread Stephen Tredrea
The address
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/installation.html
refers to Detailed instructions for downloading and installing Tomcat 5 are
available here. where 'here' hyperlinks to
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RUNNING.txt which appears to
not be there.

Not a big problem because the binary was easy to install anyway.

Just wasn't sure who to let know...

Stephen



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



RE: 5.0 Documentation: missing link

2004-04-12 Thread Shapira, Yoav

Hi,
I've fixed this in CVS.  Future distros and the next website update will
show the fix.  Thanks for pointing it out,

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Stephen Tredrea [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 4:20 AM
To: [EMAIL PROTECTED]
Subject: 5.0 Documentation: missing link

The address
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/installation.htm
l
refers to Detailed instructions for downloading and installing Tomcat
5
are
available here. where 'here' hyperlinks to
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RUNNING.txt which
appears
to
not be there.

Not a big problem because the binary was easy to install anyway.

Just wasn't sure who to let know...

Stephen



-
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: Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-23 Thread Shapira, Yoav

Hi,
You know, that would make for an EXCELLENT ant task or maven plugin.
Feel like writing it? ;)

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Rudolf Nottrott [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 5:57 PM
To: Tomcat Users List
Subject: Tomcat documentation in book format (in contrast to the
myriad
files in a Web documentation)

Hi,

I know the Tomcat documentation at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
it's excellent in content and complete, but I still vastly prefer the
kind
of documentation that I can read like a book, rather than navigating a
myriad of file pieces linked together in Web fashion.

My question is, does something like this exist for Tomcat?  I mean the
documentation as a single file (PDF, html, or whatever), that I could
download and then read beginning to end?

Thanks

Rudolf


-
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: Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-23 Thread Rudolf Nottrott
I'm not really sure what this involves.  It didn't occur to me that 
documentation might be written as an Ant task.  What would be the benefits 
of that?  Any examples of that kind of thing somebody else might have done 
for other documentation?

Rudolf

At 09:40 AM 3/23/2004 -0500, you wrote:

Hi,
You know, that would make for an EXCELLENT ant task or maven plugin.
Feel like writing it? ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Rudolf Nottrott [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 5:57 PM
To: Tomcat Users List
Subject: Tomcat documentation in book format (in contrast to the
myriad
files in a Web documentation)

Hi,

I know the Tomcat documentation at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
it's excellent in content and complete, but I still vastly prefer the
kind
of documentation that I can read like a book, rather than navigating a
myriad of file pieces linked together in Web fashion.

My question is, does something like this exist for Tomcat?  I mean the
documentation as a single file (PDF, html, or whatever), that I could
download and then read beginning to end?

Thanks

Rudolf

-
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: Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-23 Thread Shapira, Yoav

Hi,
I suppose some background information is in order.

All of tomcat's documentation (and a vast majority of Apache
documentation in general, so this will have wide applicability) is in
XML format.  Much of that for tomcat is visible at
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/docs/.

There are Ant and Maven tasks (you can use either one, we use Ant for
tomcat as we're not mavenized) that will transform this XML docs to HTML
using XSLT.  Some transformers use Ant's style (aka xslt) task, some use
Anakia (http://jakarta.apache.org/velocity/anakia.html), some use
Maven's XDoc (http://maven.apache.org/reference/plugins/xdoc/).  The
XDoc plugin is probably the most full-featured one.

The end result is at least one HTML file for each XML file.  I say at
least because some of these transformers generate menus and top pages.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Rudolf Nottrott [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 12:31 PM
To: Tomcat Users List
Cc: Shapira, Yoav
Subject: RE: Tomcat documentation in book format (in contrast to the
myriad files in a Web documentation)

I'm not really sure what this involves.  It didn't occur to me that
documentation might be written as an Ant task.  What would be the
benefits
of that?  Any examples of that kind of thing somebody else might have
done
for other documentation?

Rudolf

At 09:40 AM 3/23/2004 -0500, you wrote:

Hi,
You know, that would make for an EXCELLENT ant task or maven plugin.
Feel like writing it? ;)

Yoav Shapira
Millennium Research Informatics


 -Original Message-
 From: Rudolf Nottrott [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 22, 2004 5:57 PM
 To: Tomcat Users List
 Subject: Tomcat documentation in book format (in contrast to the
myriad
 files in a Web documentation)
 
 Hi,
 
 I know the Tomcat documentation at
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
 it's excellent in content and complete, but I still vastly prefer
the
kind
 of documentation that I can read like a book, rather than navigating
a
 myriad of file pieces linked together in Web fashion.
 
 My question is, does something like this exist for Tomcat?  I mean
the
 documentation as a single file (PDF, html, or whatever), that I
could
 download and then read beginning to end?
 
 Thanks
 
 Rudolf
 
-
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]




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: Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-23 Thread Chong Yu Meng
I use Docbook to write my documentation, and the same docbook XML file 
can be used to generate a single PDF document. Problem is, when you use 
it to generate HTML, the filenames are sometimes randomly generated. 
This can play havoc on search engines, like Google, because the location 
can change arbitrarily. And for just-released products, the amount of 
doc changes can sometimes make the documentation unsearchable (if the 
document is updated frequently).

On the plus side:
- Docbook is easy to learn
- you get consistent formatting
- you only need to code the document once to be able to generate it into 
HTML and PDF format (and it even looks like one of those authoritative 
manuals published by commercial software companies)

Regards,
pascal chong


Rudolf Nottrott wrote:

I'm not really sure what this involves.  It didn't occur to me that 
documentation might be written as an Ant task.  What would be the 
benefits of that?  Any examples of that kind of thing somebody else 
might have done for other documentation?

Rudolf

At 09:40 AM 3/23/2004 -0500, you wrote:

Hi,
You know, that would make for an EXCELLENT ant task or maven plugin.
Feel like writing it? ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Rudolf Nottrott [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 5:57 PM
To: Tomcat Users List
Subject: Tomcat documentation in book format (in contrast to the
myriad
files in a Web documentation)

Hi,

I know the Tomcat documentation at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
it's excellent in content and complete, but I still vastly prefer the
kind
of documentation that I can read like a book, rather than navigating a
myriad of file pieces linked together in Web fashion.

My question is, does something like this exist for Tomcat?  I mean the
documentation as a single file (PDF, html, or whatever), that I could
download and then read beginning to end?

Thanks

Rudolf

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


Tomcat documentation in book format (in contrast to the myriad files in a Web documentation)

2004-03-22 Thread Rudolf Nottrott
Hi,

I know the Tomcat documentation at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
it's excellent in content and complete, but I still vastly prefer the kind 
of documentation that I can read like a book, rather than navigating a 
myriad of file pieces linked together in Web fashion.

My question is, does something like this exist for Tomcat?  I mean the 
documentation as a single file (PDF, html, or whatever), that I could 
download and then read beginning to end?

Thanks

Rudolf

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


Re: jk2.properties documentation

2004-03-19 Thread Daniel Savard
Le ven 19/03/2004 à 01:06, Chong Yu Meng a écrit :
 Daniel Savard wrote:
 
 Is there any documentation on the jk2.properties?
   
 
 There is the Jakarta documentation available on their site. Or you could 
 dig through the source code.
 

I also looked at the Jakarta docs, however, for the mod_jk2 part, they
are not very helpful. There is no complete list of properties with a
short description of each. Seems the approach is: Apply receipt A, if it
fails you are on your own...

BTW, I don't blame anyone for this, this is just a fact of life.

 That's an insensitive question ! I have only one computer at home. This 
 is my primary development workstation, and I don't want to mess around 
 with it. I can't afford another machine because I am currently 
 unemployed. So, unless you're willing to buy me another PC, or offer me 
 a job, you're not likely to see any other configurations.
 

Again, I do not personnally blame anyone for this, it is just a question
if anything else exist or any some other documentation that can be
helpful to overcome the beast.

 Your error does not lie in jk2.properties. Check that you have all the 
 necessary packages installed (see 
 http://cymulacrum.net/writings/tomcat5/c831.html#JK2_INTEGRATION_SETUP). 
 If you are using Fedora Core, the package you need is apr-util-devel and 
 apr-devel. If you're using Mandrake, the rpm packages are libapr-util (I 
 think) and ... something else. So, locate the name of the package and 
 install it. Because you did not mention your platform (Windows? Linux 
 distro? Solaris?), I can't be more specific.
 

Well, the checking is supposed to be done by the configure. So, it
passes the configure step, I assume the prereqs are all satisfied. I do
not use any standard Linux distro. I have something like a RedHat++ (I
mean I started a long time ago with RedHat 5.2, the upgraded until 7.2
and then upgraded manually some pieces beside the RedHat package
system).

Anyway, the problem is the buggy Makefile in the native2/server/apache2
directory. In particular, the JK_LDFLAGS variable which didn't have an
appropriate list of libraries to include. BTW, I found on the mailing
list the list of libraries to include. However, even if db-4.0 was
required, it is perfectly possible to use another version of the
Berkeley DB. Again, since I didn't have the version 4 installed on my
system, the configure step should have stopped processing to let me know
the prereqs were not satisfied.

I insist, don't take it personnally. It is just an observation on the
state of the mod_jk2 packaging. Maybe the README file could include some
kind of warnings or hints to help newbies...

-- 

===
Daniel Savard

===



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



jk2.properties documentation

2004-03-18 Thread Daniel Savard
Is there any documentation on the jk2.properties?

After reading the document:
http://cymulacrum.net/writings/tomcat5/c831.html#USING_MOD_JK2

I still get a problem lying with my jk2.properties. However, I was
unable to find any complete documentation on this. Also, the above
document mention 4 connection modes (Unix sockets, JNI channels, APR
sockets and channel sockets). Only Unix sockets is described (or at
least shown). What about other modes? 

I am getting the following error while starting tomcat:

INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: /usr/local/apps/apache2/lib/libjkjni.so:
/usr/local/apps/apache2/lib/libjkjni.so: undefined symbol: apr_md5_final
2004-03-18 15:02:45 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009


The undefined symbol is actually in the apr-util shared library, so I
guess I need to add something in the jk2.properties to indicate where to
search or explicitly load it. The library is in the LD_LIBRARY_PATH and
also configured in the ld.so.conf and ld.so.cache.



-- 

===
Daniel Savard

===



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



Re: jk2.properties documentation

2004-03-18 Thread Chong Yu Meng
Daniel Savard wrote:

Is there any documentation on the jk2.properties?
 

There is the Jakarta documentation available on their site. Or you could 
dig through the source code.

After reading the document:
http://cymulacrum.net/writings/tomcat5/c831.html#USING_MOD_JK2
I still get a problem lying with my jk2.properties. However, I was
unable to find any complete documentation on this. 

Also, the above
document mention 4 connection modes (Unix sockets, JNI channels, APR
sockets and channel sockets). Only Unix sockets is described (or at
least shown). What about other modes? 

 

That's an insensitive question ! I have only one computer at home. This 
is my primary development workstation, and I don't want to mess around 
with it. I can't afford another machine because I am currently 
unemployed. So, unless you're willing to buy me another PC, or offer me 
a job, you're not likely to see any other configurations.

I am getting the following error while starting tomcat:

INFO: APR not loaded, disabling jni components: java.io.IOException:
java.lang.UnsatisfiedLinkError: /usr/local/apps/apache2/lib/libjkjni.so:
/usr/local/apps/apache2/lib/libjkjni.so: undefined symbol: apr_md5_final
2004-03-18 15:02:45 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
The undefined symbol is actually in the apr-util shared library, so I
guess I need to add something in the jk2.properties to indicate where to
search or explicitly load it. The library is in the LD_LIBRARY_PATH and
also configured in the ld.so.conf and ld.so.cache.
 

Your error does not lie in jk2.properties. Check that you have all the 
necessary packages installed (see 
http://cymulacrum.net/writings/tomcat5/c831.html#JK2_INTEGRATION_SETUP). 
If you are using Fedora Core, the package you need is apr-util-devel and 
apr-devel. If you're using Mandrake, the rpm packages are libapr-util (I 
think) and ... something else. So, locate the name of the package and 
install it. Because you did not mention your platform (Windows? Linux 
distro? Solaris?), I can't be more specific.

--
We must respect the other fellow's religion, but only in the sense and
to the extent that we respect his theory that his wife is beautiful and
his children are smart. 
	-- Henry Mencken
++
| Pascal Chong   |
| email: [EMAIL PROTECTED]  |
||
| Please visit my site at : http://cymulacrum.net|
| If you're using my documentation, please read the Terms and|
| and Conditions at http://cymulacrum.net/terms.html |
++



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


RE: Can someone direct me to the documentation.

2004-03-01 Thread Angus Mezick
Could a link be added to the docs stating something like: Web.xml format
specified at LINK?  I think this type of this would be VERY helpful for
deflecting clueful newbies.  Only a clue hammer will help the clueless
:)
--Angus

 -Original Message-
 From: Derek Clarkson [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 26, 2004 8:54 PM
 To: 'Tomcat Users List'
 Subject: RE: Can someone direct me to the documentation.
 
 
 Thanks Filip,
   I've never looked at that before. I'd just looked at 
 the class files
 thinking it might be in there. I'll have a good read of it 
 know that I have
 it ;-)
 
 Ciao
 Derek.
  
 
 -Original Message-
 From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] 
 Sent: Friday, 27 February 2004 12:26 PM
 To: Tomcat Users List
 Subject: RE: Can someone direct me to the documentation.
 
 why document it again, when you have it in the specification :)
 
 http://java.sun.com/products/servlet/download.html#specs
 
 Filip
 
 -Original Message-
 From: Derek Clarkson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 26, 2004 5:20 PM
 To: Tomcat Users List
 Subject: Can someone direct me to the documentation.
 
 
 
 Hi all,
 I've found over time that the Apache and associated projects 
 web site is
 either extremely good, or extremely bad when it comes to 
 finding certain
 pieces of documentation. The lastest one that's been driving 
 me nuts is
 wanting to find a reference to the tags that can be set 
 inside the servlet
 namespace in a web.xml file. Specifically I was hunting for 
 details on the
 load-on-startup tag, what it did exactly and what the 
 numbers ment. I
 seached the Apache sites, the web, everything I could find 
 and all I got was
 some references in various news groups. It was enough to tell 
 me what I
 needed to know, but I would still like to know where the 
 offical reference
 is for this part of the web.xml file.
 
 Can anyone point me to a URL ?
 
 Ciao
 Derek.
 
 
 __
 This email, including attachments, is intended only for the 
 addressee and
 may be confidential, privileged and subject to copyright.  If you have
 received this email in error, please advise the sender and 
 delete it.  If
 you are not the intended recipient of this email, you must 
 not use, copy or
 disclose its content to anyone.  You must not copy or 
 communicate to others
 content that is confidential or subject to copyright, unless 
 you have the
 consent of the content owner.
 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004
 
 
 -
 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: Can someone direct me to the documentation.

2004-03-01 Thread Shapira, Yoav

Howdy,

Could a link be added to the docs stating something like: Web.xml
format
specified at LINK?  I think this type of this would be VERY helpful for
deflecting clueful newbies.  Only a clue hammer will help the clueless
:)

Where do you suggest we add this link to the servlet specification?

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: Can someone direct me to the documentation.

2004-03-01 Thread Angus Mezick
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html
In the getting started topic.  I do notice a blurb about web.xml in the
application developers topic stating Covers basic organization of your
web application source tree, the structure of a web application archive,
and an introduction to the web application deployment descriptor
(/WEB-INF/web.xml).  But I missed it when I first sent my message.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/introduction.html
This could just have a more explicit messages saying how web.xml is
define in the servlet 2.3 spec.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html
Make the mention of web.xml a hotlink?

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/processes.html
A bit more test around the mention of a basic web.xml.  I don't think
many people new to these config files know that you can just type in the
dtd link into a web browser and get the dtd.  It is a VERY nifty way to
get the spec for an xml file though.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html
Could this page have this type of link?

--Angus

 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 01, 2004 9:53 AM
 To: Tomcat Users List
 Subject: RE: Can someone direct me to the documentation.
 
 
 
 Howdy,
 
 Could a link be added to the docs stating something like: Web.xml
 format
 specified at LINK?  I think this type of this would be VERY 
 helpful for
 deflecting clueful newbies.  Only a clue hammer will help 
 the clueless
 :)
 
 Where do you suggest we add this link to the servlet specification?
 
 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]
 
 

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



RE: Can someone direct me to the documentation.

2004-03-01 Thread Shapira, Yoav

Hi,

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html
In the getting started topic.  I do notice a blurb about web.xml in the
application developers topic stating Covers basic organization of your
web application source tree, the structure of a web application
archive,
and an introduction to the web application deployment descriptor
(/WEB-INF/web.xml).  But I missed it when I first sent my message.

OK, so I'll ignore this one since it's there.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/introduction.htm
l
This could just have a more explicit messages saying how web.xml is
define in the servlet 2.3 spec.

It doesn't get much clearer than the second bullet point under Links
here: you will need this document to understand the web application
directory structure and deployment file (Chapter 9), methods of mapping
request URIs to servlets (Chapter 11), container managed security
(Chapter 12), and the syntax of the web.xml Web Application Deployment
Descriptor (Chapter 13).

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html
Make the mention of web.xml a hotlink?

Added a link to the servlet specification.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/processes.html
A bit more test around the mention of a basic web.xml.  I don't think
many people new to these config files know that you can just type in
the
dtd link into a web browser and get the dtd.  It is a VERY nifty way to
get the spec for an xml file though.

Added link to Servlet Specification there as well.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html
Could this page have this type of link?

Yes, if you ask the Servlet Specification committee (JSR 154 Expert
Group).

Note that my changes were applied to the latest version of the above
files in CVS (i.e. the tomcat 5 files) and will not be visible on
jakarta.apache.org until the next tomcat release.

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: Can someone direct me to the documentation.

2004-02-26 Thread Derek Clarkson
Thanks Filip,
I've never looked at that before. I'd just looked at the class files
thinking it might be in there. I'll have a good read of it know that I have
it ;-)

Ciao
Derek.
 

-Original Message-
From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] 
Sent: Friday, 27 February 2004 12:26 PM
To: Tomcat Users List
Subject: RE: Can someone direct me to the documentation.

why document it again, when you have it in the specification :)

http://java.sun.com/products/servlet/download.html#specs

Filip

-Original Message-
From: Derek Clarkson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 5:20 PM
To: Tomcat Users List
Subject: Can someone direct me to the documentation.



Hi all,
I've found over time that the Apache and associated projects web site is
either extremely good, or extremely bad when it comes to finding certain
pieces of documentation. The lastest one that's been driving me nuts is
wanting to find a reference to the tags that can be set inside the servlet
namespace in a web.xml file. Specifically I was hunting for details on the
load-on-startup tag, what it did exactly and what the numbers ment. I
seached the Apache sites, the web, everything I could find and all I got was
some references in various news groups. It was enough to tell me what I
needed to know, but I would still like to know where the offical reference
is for this part of the web.xml file.

Can anyone point me to a URL ?

Ciao
Derek.


__
This email, including attachments, is intended only for the addressee and
may be confidential, privileged and subject to copyright.  If you have
received this email in error, please advise the sender and delete it.  If
you are not the intended recipient of this email, you must not use, copy or
disclose its content to anyone.  You must not copy or communicate to others
content that is confidential or subject to copyright, unless you have the
consent of the content owner.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004


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


Can someone direct me to the documentation.

2004-02-26 Thread Derek Clarkson

Hi all,
I've found over time that the Apache and associated projects web site is
either extremely good, or extremely bad when it comes to finding certain
pieces of documentation. The lastest one that's been driving me nuts is
wanting to find a reference to the tags that can be set inside the servlet
namespace in a web.xml file. Specifically I was hunting for details on the
load-on-startup tag, what it did exactly and what the numbers ment. I
seached the Apache sites, the web, everything I could find and all I got was
some references in various news groups. It was enough to tell me what I
needed to know, but I would still like to know where the offical reference
is for this part of the web.xml file. 

Can anyone point me to a URL ?

Ciao
Derek.


__
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright.  If you
have received this email in error, please advise the sender and delete
it.  If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone.  You must not copy or 
communicate to others content that is confidential or subject to 
copyright, unless you have the consent of the content owner.

RE: Can someone direct me to the documentation.

2004-02-26 Thread Filip Hanik \(lists\)
why document it again, when you have it in the specification :)

http://java.sun.com/products/servlet/download.html#specs

Filip

-Original Message-
From: Derek Clarkson [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 5:20 PM
To: Tomcat Users List
Subject: Can someone direct me to the documentation.



Hi all,
I've found over time that the Apache and associated projects web site is
either extremely good, or extremely bad when it comes to finding certain
pieces of documentation. The lastest one that's been driving me nuts is
wanting to find a reference to the tags that can be set inside the servlet
namespace in a web.xml file. Specifically I was hunting for details on the
load-on-startup tag, what it did exactly and what the numbers ment. I
seached the Apache sites, the web, everything I could find and all I got was
some references in various news groups. It was enough to tell me what I
needed to know, but I would still like to know where the offical reference
is for this part of the web.xml file.

Can anyone point me to a URL ?

Ciao
Derek.


__
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright.  If you
have received this email in error, please advise the sender and delete
it.  If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone.  You must not copy or
communicate to others content that is confidential or subject to
copyright, unless you have the consent of the content owner.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.594 / Virus Database: 377 - Release Date: 2/24/2004


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



Re: documentation to implement the Realm interface aside from javadoc s

2004-01-28 Thread Philipp von dem Bussche
Why not downloading the sources from jakarta.apache.org ??

Doyle, Daniel C wrote:
I am looking for examples, tutorials, or documentation for implementing the
org.apache.catalina.Realm ineterface. Can the Realm implementation point to
a servlet? I need to authenticate using a cgi script (don't laugh) on a
different web server on a different machine. The cgi will redirect its fail
or success response to a URL. Currently, we have the cgi redirect the fail
or success response to a JSP. Anyone have design suggestions when
implementing a Realm for this architecture. I would look at the code in the
CVS repository that currently implement the Realm interface, but I can't get
the code as the proxy(which I don't administrate) will not allow CVS
traffic(i.e. port not available).
 

Thank you for your time and consideration,

 

Dan Doyle




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


documentation to implement the Realm interface aside from javadoc s

2004-01-27 Thread Doyle, Daniel C
I am looking for examples, tutorials, or documentation for implementing the
org.apache.catalina.Realm ineterface. Can the Realm implementation point to
a servlet? I need to authenticate using a cgi script (don't laugh) on a
different web server on a different machine. The cgi will redirect its fail
or success response to a URL. Currently, we have the cgi redirect the fail
or success response to a JSP. Anyone have design suggestions when
implementing a Realm for this architecture. I would look at the code in the
CVS repository that currently implement the Realm interface, but I can't get
the code as the proxy(which I don't administrate) will not allow CVS
traffic(i.e. port not available).

 

Thank you for your time and consideration,

 

Dan Doyle



RE: documentation to implement the Realm interface aside from javadocs

2004-01-27 Thread Shapira, Yoav

Howdy,

I am looking for examples, tutorials, or documentation for implementing
the

Examples:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/s
hare/org/apache/catalina/realm/.  Also search the list archives for past
discussions on this topic.  And as evidenced from the link above, you
can use ViewCVS over HTTP if your proxy/firewall doesn't like normal CVS
(port 2401) traffic.

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]



Documentation

2004-01-20 Thread Gaurav Kadyan
Hi All,
Could some body tell me where to find documentation for -
1.Realm
2.Filter
3.Valve
4.Container
5.Connector
6.MBean
7.Pipeline
8.LifeCycle
9.Jasper
Thanks in advance,
Gaurav Kadyan


Re: Documentation

2004-01-20 Thread Pete Stokes
http://jakarta.apache.org/tomcat/

Gaurav Kadyan wrote:

Hi All,
Could some body tell me where to find documentation for -
1.Realm
2.Filter
3.Valve
4.Container
5.Connector
6.MBean
7.Pipeline
8.LifeCycle
9.Jasper
Thanks in advance,
Gaurav Kadyan
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

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


Re: Question about Tomcat Documentation

2003-08-23 Thread Peter Harrison
From previous message:

 I was thinking that maybe now there's a default factory that can handle 
 things, but now when I run the App I get an exception:

 Cannot load JDBC driver class 'null'

 Which makes me think the default factory is not correct. So is the 
 documentation wrong, or are there cases where it can work with the 
 default factory?

On Sat, 23 Aug 2003 09:16, Madere, Colin wrote:
 Possibly the same as the issue in this recent thread:

 Tomcat 4.1 DefaultContext Bug?, regarding DefaultContext resources not
 being available to implicit contexts, check archives.

Yes, this sounds like exactly the problem I am having. It is working when the 
resource is put into the standard Context, but not when its put into the 
Global Resources or Default Context.

Is there a solution anyone knows of?

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



Question about Tomcat Documentation

2003-08-22 Thread Derek Chen-Becker
Hi,
I'm moving a server from 4.0.6 to 4.1.27 and I noticed something 
strange about the included 4.1.27 documentation. In the JNDI Resource 
HOWTO, the section on JDBC resources doesn't explicitly add a factory 
parameter, and it also says this about DBCP support:

NOTE - The default data source support in Tomcat is based on the DBCP 
connection pool from the Jakarta Commons  subproject. However, it is 
possible to use any other connection pool that implements 
javax.sql.DataSource, by writing your own custom resource factory, as 
described below.

I was thinking that maybe now there's a default factory that can handle 
things, but now when I run the App I get an exception:

Cannot load JDBC driver class 'null'

Which makes me think the default factory is not correct. So is the 
documentation wrong, or are there cases where it can work with the 
default factory?

Thanks,

Derek

--
--
Derek Chen-Becker
Senior Network Engineer
CPI Corp, Inc.
1706 Washington Ave
St. Louis, MO 63103
Phone: 314-231-1575 x6014
Fax:   314-613-6724
[EMAIL PROTECTED]
PGP Key available from public key servers
Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15 693F 9184 BC58
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Question about Tomcat Documentation

2003-08-22 Thread Madere, Colin
Possibly the same as the issue in this recent thread:

Tomcat 4.1 DefaultContext Bug?, regarding DefaultContext resources not
being available to implicit contexts, check archives.

Also, check to make sure you have the url parameter rather than the
driverName I think it was called under 4.0.

-Original Message-
From: Derek Chen-Becker [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2003 2:15 PM
To: Tomcat Users List
Subject: Question about Tomcat Documentation


Hi,
 I'm moving a server from 4.0.6 to 4.1.27 and I noticed something 
strange about the included 4.1.27 documentation. In the JNDI Resource 
HOWTO, the section on JDBC resources doesn't explicitly add a factory 
parameter, and it also says this about DBCP support:

NOTE - The default data source support in Tomcat is based on the DBCP 
connection pool from the Jakarta Commons  subproject. However, it is 
possible to use any other connection pool that implements 
javax.sql.DataSource, by writing your own custom resource factory, as 
described below.

I was thinking that maybe now there's a default factory that can handle 
things, but now when I run the App I get an exception:

Cannot load JDBC driver class 'null'

Which makes me think the default factory is not correct. So is the 
documentation wrong, or are there cases where it can work with the 
default factory?

Thanks,

Derek

-- 
--
Derek Chen-Becker
Senior Network Engineer
CPI Corp, Inc.
1706 Washington Ave
St. Louis, MO 63103
Phone: 314-231-1575 x6014
Fax:   314-613-6724
[EMAIL PROTECTED]
PGP Key available from public key servers
Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15 693F 9184 BC58
--


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



[off-topic] need info about FIXME links in Tomcat Documentation?

2003-07-14 Thread seera naveen

Hi,

I was going through Tomcat documentation shipped with binary distribution (about 
Realms).  Someplaces, it was mentioned as see (FIXME - reference to developer 
stuff).  what is this FIXME? where can I find information about this.
(This is where I am referring to 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html )

Thanks in advance,

Naveen


SMS using the Yahoo! Messenger;Download latest version.

Re: [off-topic] need info about FIXME links in Tomcat Documentation?

2003-07-14 Thread Bill Barker
FIXME means that the last developer to modify it didn't have time to expand
on the information that they thought should be included.  In your particular
case, I don't know of a better reference for this particular FIXME than the
javadocs at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache
/catalina/realm/package-summary.html.

seera naveen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Hi,

 I was going through Tomcat documentation shipped with binary distribution
(about Realms).  Someplaces, it was mentioned as see (FIXME - reference to
developer stuff).  what is this FIXME? where can I find information about
this.
 (This is where I am referring to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html )

 Thanks in advance,

 Naveen


 SMS using the Yahoo! Messenger;Download latest version.




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



JK2 Documentation

2003-06-07 Thread NormW
Good evening All.
I have a few questions re the configuration and operation of mod_jk2 that I hope some 
better informed user may be able to answer.

1. The documentation describes setting parameters in the httpd.conf file using JkSet, 
and I have had success with worker parameters, but trying to set something like the 
config file keeps eluding me. The 'object' name usually comes from the section head 
[config], and since there is no local component name one expects the setting would be:
   JkSet  config.file conf/filename
However when I start apache2 the following error is generated depending on the form 
used:

[Fri Jun 06 20:08:31 2003] [notice] mod_jk2: Unrecognized option config:file 
conf/workers2.properties
[Fri Jun 06 20:17:55 2003] [notice] mod_jk2: Unrecognized option config.file 
conf/workers2.properties
[Fri Jun 06 20:43:03 2003] [notice] mod_jk2: Unrecognized option config:.file 
conf/workers2.properties
[Fri Jun 06 20:45:28 2003] [notice] mod_jk2: Unrecognized option config:file 
${serverRoot}/conf/workers2.properties

Can someone enlighten me please?

2. The documentation indicates all objects have three standard properties, namely 
'disabled', 'debug' and 'version', yet when 'version=0' is included in 
workers2.properties under, for example, ajp13, mod_jk2 reports it as an unrecognised 
option. Which is correct, the module or the documents?

3. The basic premise of load balancing is understandable but not the method by which 
mod_jk achieves it.  If two workers have the same lb_factor of 1, does that imply 
every second (unique, assuming sticky sessions) request goes to each Tomcat?  ... and 
if the lb_factor is raised to 5 each? 5 to one then 5 the other?
If one Tomcat has an lb_factor of 20 and the other 2, does one do ten times the 'work' 
and if so how is this 'measured'? ...over a period of time, by counters, by preference?

I've read mod_jk2 is still a work in progress but hope the questions might provide at 
least a few ideas for inclusions.
Thanks in advance for any reply,
Norm


SOLVED: Preview Tomcat XML documentation locally with IE 6.0

2003-03-30 Thread johannes . fiala
Hi there,

Has anybody yet tried to preview a xml file from the tomcat docs locally 
with MS IE?
I think this makes sense if you add some sentences and want to see the 
results without ant rebuild.

There are only two minor things MS IE 6.0 complains:
*) the src and 
*) the alt variables are declared twice. 

If one corrects in the file tomcat-docs.xsl to logo-alt and logo-src
xsl:commentJAKARTA LOGO/xsl:comment
xsl:variable name=logo-alt
  xsl:value-of select=$home-name/
/xsl:variable
xsl:variable name=href
  xsl:value-of select=$home-href/
/xsl:variable
xsl:variable name=logo-src
  xsl:value-of select=$relative-path/xsl:value-of 
select=$home-logo/
/xsl:variable
a href={$href}
  img src={$logo-src} align=left alt={$logo-alt} 
border=0/
/a
 
and declares the XSL in the XML file:
?xml-stylesheet type=text/xsl href=tomcat-docs.xsl?

== voila! you can preview the complete XML rendered as HTML in MS IE 6.0!

cheers,
johannes

Good documentation?

2003-03-26 Thread Ryan Daly
Is there any good documentation for deploying JK2 out there anywhere?

The documents I reviewed weren't that detailed, and I find that things
the doc says to put in jk2.properties actually should live in
workers2.properties.

Any one with similar experiences?



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



RE: Good documentation?

2003-03-26 Thread Reynir Hübner

Yes, I have very similar experience, hard to find good docs on what to do. 
Last time I configured IIS with mod_jk2 I wrote few lines on the subject which 
describe the most simple solution I could find to get that kind of setup running. I 
don't think it uses all the benefits of JK2 but it gets the thing running, and that's 
what I needed. 

You can check it out at http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html

[EMAIL PROTECTED] posted more detailed configuration (making use of lb and more) on 
the list I think around 15. of march, that you might want to check out. 

Hope it helps

-reynir.net


 -Original Message-
 From: Ryan Daly [mailto:[EMAIL PROTECTED] 
 Sent: 26. mars 2003 20:23
 To: [EMAIL PROTECTED]
 Subject: Good documentation?
 
 
 Is there any good documentation for deploying JK2 out there anywhere?
 
 The documents I reviewed weren't that detailed, and I find 
 that things the doc says to put in jk2.properties actually 
 should live in workers2.properties.
 
 Any one with similar experiences?
 
 
 
 -
 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]



jk2 documentation

2003-03-19 Thread Herbert G. Fischer
Hi,

I'm trying to migrate Tomcat 4.0.x + WebApp to Tomcat 4.1.21 + JK2, but 
I'm having some difficult. First, I tryed to compile jk2 without sucess. 
Now I'm using pre-built binaries fo jk2 and it's not working.

Jk2's documentation is so confuse and incomplete. I'm trying some things 
like Jk's documentation, but it not works too.

Does anyone have a HOW-TO or documentation more complete for this setup?

Thanks,

Herbert

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


RE: jk2 documentation

2003-03-19 Thread Chris Dodunski
I managed to get JK2 working last weekend, despite the poor documentation.
I kept a diary of what I did, so next time it wouldn't be such an extended
exercise of trial and error.  I've attached it as a DRAFT procedure.  It
isn't too detailed at present, but you're welcome to test it.  Let me know
where you find it lacking.

Chris.


-Original Message-
From: Herbert G. Fischer [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 March 2003 9:23 a.m.
To: Tomcat-Users
Subject: jk2 documentation


Hi,

I'm trying to migrate Tomcat 4.0.x + WebApp to Tomcat 4.1.21 + JK2, but
I'm having some difficult. First, I tryed to compile jk2 without sucess.
Now I'm using pre-built binaries fo jk2 and it's not working.

Jk2's documentation is so confuse and incomplete. I'm trying some things
like Jk's documentation, but it not works too.

Does anyone have a HOW-TO or documentation more complete for this setup?

Thanks,

Herbert


-
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: jk2 documentation

2003-03-19 Thread Herbert G. Fischer
I did not received the attach. I think the list-serv removed it. Please, 
send to [EMAIL PROTECTED]

Thanks!

Chris Dodunski wrote:
I managed to get JK2 working last weekend, despite the poor documentation.
I kept a diary of what I did, so next time it wouldn't be such an extended
exercise of trial and error.  I've attached it as a DRAFT procedure.  It
isn't too detailed at present, but you're welcome to test it.  Let me know
where you find it lacking.
Chris.

-Original Message-
From: Herbert G. Fischer [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 March 2003 9:23 a.m.
To: Tomcat-Users
Subject: jk2 documentation
Hi,

I'm trying to migrate Tomcat 4.0.x + WebApp to Tomcat 4.1.21 + JK2, but
I'm having some difficult. First, I tryed to compile jk2 without sucess.
Now I'm using pre-built binaries fo jk2 and it's not working.
Jk2's documentation is so confuse and incomplete. I'm trying some things
like Jk's documentation, but it not works too.
Does anyone have a HOW-TO or documentation more complete for this setup?

Thanks,

Herbert

-
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: jk2 documentation

2003-03-19 Thread Eulogio Robles
Better yet, post it here, please. I'm having the same problem.

Best regards,

E. Robles

Herbert G. Fischer wrote:

I did not received the attach. I think the list-serv removed it. 
Please, send to [EMAIL PROTECTED]

Thanks!

Chris Dodunski wrote:

I managed to get JK2 working last weekend, despite the poor 
documentation.
I kept a diary of what I did, so next time it wouldn't be such an 
extended
exercise of trial and error.  I've attached it as a DRAFT procedure.  It
isn't too detailed at present, but you're welcome to test it.  Let me 
know
where you find it lacking.

Chris.

-Original Message-
From: Herbert G. Fischer [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 March 2003 9:23 a.m.
To: Tomcat-Users
Subject: jk2 documentation
Hi,

I'm trying to migrate Tomcat 4.0.x + WebApp to Tomcat 4.1.21 + JK2, but
I'm having some difficult. First, I tryed to compile jk2 without sucess.
Now I'm using pre-built binaries fo jk2 and it's not working.
Jk2's documentation is so confuse and incomplete. I'm trying some things
like Jk's documentation, but it not works too.
Does anyone have a HOW-TO or documentation more complete for this setup?

Thanks,

Herbert

-
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: jk2 documentation

2003-03-19 Thread Chris Dodunski
Better still, I'll export it to HTML and upload it to my home page.  Later
today.  Thanks for the interest.

Chris.


-Original Message-
From: Eulogio Robles [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 March 2003 12:25 p.m.
To: Tomcat Users List
Subject: Re: jk2 documentation


Better yet, post it here, please. I'm having the same problem.

Best regards,

E. Robles

Herbert G. Fischer wrote:

 I did not received the attach. I think the list-serv removed it.
 Please, send to [EMAIL PROTECTED]

 Thanks!

 Chris Dodunski wrote:

 I managed to get JK2 working last weekend, despite the poor
 documentation.
 I kept a diary of what I did, so next time it wouldn't be such an
 extended
 exercise of trial and error.  I've attached it as a DRAFT procedure.  It
 isn't too detailed at present, but you're welcome to test it.  Let me
 know
 where you find it lacking.

 Chris.


 -Original Message-
 From: Herbert G. Fischer [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 20 March 2003 9:23 a.m.
 To: Tomcat-Users
 Subject: jk2 documentation


 Hi,

 I'm trying to migrate Tomcat 4.0.x + WebApp to Tomcat 4.1.21 + JK2, but
 I'm having some difficult. First, I tryed to compile jk2 without sucess.
 Now I'm using pre-built binaries fo jk2 and it's not working.

 Jk2's documentation is so confuse and incomplete. I'm trying some things
 like Jk's documentation, but it not works too.

 Does anyone have a HOW-TO or documentation more complete for this setup?

 Thanks,

 Herbert


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


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



Oracle JDBC pool documentation

2003-03-10 Thread Jean Marais

Hi

I struggled with the following and think it should be mentioned in the 
documentation... unless I missed it somehow. The pool connection seems to hang up when 
you have set it up and in actual fact an important part of the DataSource setup was 
missing. It seems from the documentation that it is optional, but it seems to be 
required. I tested the same thing on PostgreSQL and noticed a seemingly infinite loop 
of something that looked like a setup query or setup command.. something that sets up 
the character set or something along these lines. The same thing most probably 
happened with Oracle.

Adding the following in the ResourceParams section fixed it. 
I hope this is the place to raise it as something that should be added to the 
documentation if it really was the cause of my problem.

Regards ( keep up the good work).

parameter
  namevalidationQuery/name
  valueselect count(1) from xyz_table/value
/parameter

***

validationQuery - SQL query that can be used by the pool to validate 
connections before they are returned to the application. If specified, this query MUST 
be an SQL SELECT statement that returns at least one row.

***

Oracle 8i

0. Introduction

We would appreciate comments on this section as I'm not an Oracle DBA :-)

Oracle requires minimal changes from the MySQL configuration except for 
the usual gotchas :-) Firstly by default, Tomcat will only use *.jar files installed 
in $CATALINA_HOME/common/lib therefore classes111.zip or classes12.zip will need to be 
renamed with a .jar extension. Since jarfiles are zipfiles, there is no need to unzip 
and jar these files - a simple rename will suffice. Also, you should be aware that 
some (early) versions of Tomcat 4.0 when used with JDK 1.4 will not load classes12.zip 
unless you unzip the file, remove the javax.sql.* class heirarchy and rejar.
1. server.xml configuration

In a similar manner to the mysql config above, you will need to define 
your Datasource in your server.xml file. Here we define a Datasource called myoracle 
using the thin driver to connect as user scott, password tiger to the schema called 
myschema in the sid called mysid. (Note: with the thin driver this sid is not the same 
as the tnsname)

Use of the OCI driver should simply involve a changing thin to oci in the 
URL string.

Resource name=jdbc/myoracle auth=Container
  type=javax.sql.DataSource/ 

ResourceParams name=jdbc/myoracle
  parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
  /parameter
  parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
  /parameter
  parameter
nameurl/name
valuejdbc:oracle:thin:[EMAIL PROTECTED]:1521:mysid/value
  /parameter
  parameter
nameusername/name
valuescott/value
  /parameter
  parameter
namepassword/name
valuetiger/value
  /parameter
  parameter
namemaxActive/name
value20/value
  /parameter
  parameter
namemaxIdle/name
value10/value
  /parameter
  parameter
namemaxWait/name
value-1/value
  /parameter
/ResourceParams

2. web.xml configuration

You should ensure that you respect the elemeent ordering defined by the 
DTD when you create you applications web.xml file.

resource-ref
 descriptionOracle Datasource example/description
 res-ref-namejdbc/myoracle/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
/resource-ref

3. Code example

You can use the same example application as above (asuming you create the 
required DB instance, tables etc.) replacing the Datasource code with something like

Context initContext = new InitialContext();
Context envContext  = (Context)initContext.lookup(java:/comp/env);
DataSource ds = (DataSource)envContext.lookup(jdbc/myoracle);
Connection conn = ds.getConnection();
//etc.



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



Re: Oracle JDBC pool documentation

2003-03-10 Thread Kwok Peng Tuck
Here's a link to the problem you had : 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg74781.html
I'm glad you solved it, it was confusing me in the first place :)

Jean Marais wrote:

	Hi

	I struggled with the following and think it should be mentioned in the documentation... unless I missed it somehow. The pool connection seems to hang up when you have set it up and in actual fact an important part of the DataSource setup was missing. It seems from the documentation that it is optional, but it seems to be required. I tested the same thing on PostgreSQL and noticed a seemingly infinite loop of something that looked like a setup query or setup command.. something that sets up the character set or something along these lines. The same thing most probably happened with Oracle.

	Adding the following in the ResourceParams section fixed it. 
	I hope this is the place to raise it as something that should be added to the documentation if it really was the cause of my problem.

	Regards ( keep up the good work).

parameter
  namevalidationQuery/name
  valueselect count(1) from xyz_table/value
/parameter
	***

	validationQuery - SQL query that can be used by the pool to validate connections before they are returned to the application. If specified, this query MUST be an SQL SELECT statement that returns at least one row.

	***

	Oracle 8i

	0. Introduction

	We would appreciate comments on this section as I'm not an Oracle DBA :-)

Oracle requires minimal changes from the MySQL configuration except for 
the usual gotchas :-) Firstly by default, Tomcat will only use *.jar files installed 
in $CATALINA_HOME/common/lib therefore classes111.zip or classes12.zip will need to be 
renamed with a .jar extension. Since jarfiles are zipfiles, there is no need to unzip 
and jar these files - a simple rename will suffice. Also, you should be aware that 
some (early) versions of Tomcat 4.0 when used with JDK 1.4 will not load classes12.zip 
unless you unzip the file, remove the javax.sql.* class heirarchy and rejar.
1. server.xml configuration
	In a similar manner to the mysql config above, you will need to define your Datasource in your server.xml file. Here we define a Datasource called myoracle using the thin driver to connect as user scott, password tiger to the schema called myschema in the sid called mysid. (Note: with the thin driver this sid is not the same as the tnsname)

	Use of the OCI driver should simply involve a changing thin to oci in the URL string.

	Resource name=jdbc/myoracle auth=Container
	  type=javax.sql.DataSource/ 

ResourceParams name=jdbc/myoracle
  parameter
namefactory/name
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
  /parameter
  parameter
namedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value
  /parameter
  parameter
nameurl/name
valuejdbc:oracle:thin:[EMAIL PROTECTED]:1521:mysid/value
  /parameter
  parameter
nameusername/name
valuescott/value
  /parameter
  parameter
namepassword/name
valuetiger/value
  /parameter
  parameter
namemaxActive/name
value20/value
  /parameter
  parameter
namemaxIdle/name
value10/value
  /parameter
  parameter
namemaxWait/name
value-1/value
  /parameter
/ResourceParams
	2. web.xml configuration

	You should ensure that you respect the elemeent ordering defined by the DTD when you create you applications web.xml file.

resource-ref
 descriptionOracle Datasource example/description
 res-ref-namejdbc/myoracle/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
/resource-ref
	3. Code example

	You can use the same example application as above (asuming you create the required DB instance, tables etc.) replacing the Datasource code with something like

Context initContext = new InitialContext();
Context envContext  = (Context)initContext.lookup(java:/comp/env);
DataSource ds = (DataSource)envContext.lookup(jdbc/myoracle);
Connection conn = ds.getConnection();
//etc.


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


  1   2   3   4   >