Re: multiple services for each Tomcat instance on NT

2005-03-10 Thread Matej Kafadar
Try to use Tomcat Service Manager, it's a nice GUI.
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=overview
regards
Matej
Bedrijven.nl wrote:
Hello,
I installed Tomcat 557 and create several instances for development
applications by using the CATALINA_BASE parameter.
So I set up about 10 webapplication on my localhost that I can start with
startup.bat. Now what I want to do is to create for each webapplication an
own service on NT (otherwise I have to run each time startup.bat and the CMD
box appear). The first one I can install, but when I try another (given it
another name) failed.
Is it possible to this and second how can I do this?
thanx
Maarten
-
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: Query on mod_jk.log

2005-03-10 Thread Lionel Farbos
in your mod_jk.conf :
JkLogFile /var/log/apache/mod_jk.log

On Thu, 10 Mar 2005 11:58:03 +0530
[EMAIL PROTECTED] wrote:

 
 Hi All,
 
 I need to change the location of mod_jk.log file. Presently it gets
 logged in /apache/logs. I need to put it in /var/log/apache.
 
 How to accomplish this?
 
 Thanks and Regards,
 Mandar M Kelvekar
 
 
 
 
 Confidentiality Notice
 
 The information contained in this electronic message and any attachments to 
 this message are intended
 for the exclusive use of the addressee(s) and may contain confidential or 
 privileged information. If
 you are not the intended recipient, please notify the sender at Wipro or 
 [EMAIL PROTECTED] immediately
 and destroy all copies of this message and any attachments.
 
 -
 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]



JAAS authentication and global realms

2005-03-10 Thread Guillaume Lederrey
  Hello !

  I'm trying to use a host wide JAAS Realm. I've written the LoginModule and 
tested it by declaring the Realm in the Context/ of one of my app. This app 
is not declared in server.xml, but in its own context.xml in /webapps. 
Everything is working just fine. My LoginModule logs using just 
System.out.println(), so I fiind its logs in logs/catalina.out.

  When I move the Realm decleration from the context.xml to server.xml (either 
in the host/ node or the Engine/ node) it stops working ... I dont see 
any logs of any kind ...

  What am I doing wrong ? The doc made me think I could just move this Realm 
around to change its visibility, but there would not need to do anything 
more ...

  Thanks for the help.

 Guillaume

-- 


Guillaume Lederrey
Informaticien Développement
Tecost - Technology Consulting Studies
Fribourg (Switzerland)
http://www.tecost.ch/

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



Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-10 Thread David Tonhofer, m-plify S.A.
Juste pour info:
I have written up my DataSourceRealm with DBCP that I got working
before 02:00 this night (eww) into the DBCP Twiki. Not the best place,
but hey, might be useful:
http://wiki.apache.org/jakarta-commons/DBCP
Enjoy,
-- David
--On Wednesday, March 09, 2005 8:40 PM -0800 alexander dosher [EMAIL 
PROTECTED] wrote:
Hassan Schroeder makes my day:
How about something like:
  (the correct answer)
YES, thank you.  i had a resourceName instead of a dataSourceName in my 
DataSourceRealm, left over from trying to use a UserDatabaseRealm, which i 
didn't really understand and isn't even in the docs anymore anyway. duh.  *and* 
this method *is* reopening connections, which JDBCRealm didn't. yay!
   dream.  code.
no, thank you. had an awk dream once. i don't recommend it.  ;-)
--alex.
-
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 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread David Tonhofer, m-plify S.A.
Hello,
Question regarding Tomcat 5.5.7 and the JNDI Datasource:
It seems like either the web documentation for Tomcat 5.5 or the
implementation is incorrect regarding the use of JNDI Datasources.
In this page:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
the Resource element configuring the DataSource is put inside the Context 
element.
However, I have tried to set up a DataSourceRealm that is configured
using said Resource
00Exception performing authentication
01  javax.naming.NameNotFoundException: Name jdbc is not bound in this 
Context
02  at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
03  at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
04  at 
org.apache.catalina.realm.DataSourceRealm.open(DataSourceRealm.java:406)
05  at 
org.apache.catalina.realm.DataSourceRealm.authenticate(DataSourceRealm.java:277)
06  at 
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:181)
07  at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446)
08  at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
09  at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
10  at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
11  at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
12  at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
13  at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
14  at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
15  at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
16  at 
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
17  at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
18  at java.lang.Thread.run(Thread.java:595)
Out of luck? Bugs related to other Tomcat versions helped out:
http://issues.apache.org/bugzilla/show_bug.cgi?id=24723
http://issues.apache.org/bugzilla/show_bug.cgi?id=24836
I put the Resource element inside the GlobalNamingResources element, 
described here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/globalresources.html
...and it worked!
Maybe the documentation should tell people to set up the Resources in the
GlobalNamingResources? Probably not though -- there might be some other 
reason why
it didn't work. I tried useNaming=true for the Context according to
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html but
no go :-((
Additionally:
The 'factory' attribute of the 'Resource' element is mentioned nowhere... o_O
which is **BAD** because w/o the factory value the Realm Authentication seems to
reduce to 'Access All Areas' - you don't get no error in the catalina log 
either.
   Resource name=jdbc/lousydatabase
 auth=Container
 type=javax.sql.DataSource
HERE factory=org.apache.commons.dbcp.BasicDataSourceFactory
 driverClassName=com.mysql.jdbc.Driver
 validationQuery=SELECT 1
 loginTimeout=10
 username=waateenbordel
 password=tudjeu!!
 testOnBorrow=true
 
url=jdbc:mysql://127.0.0.1/lousy?autoReconnect=trueamp;connectTimeout=5000amp;socketTimeout=3amp;useUsageAdvisor=true
   /

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


Tomcat auth problem

2005-03-10 Thread Kannan Shastri
Hi ,

 I am facing a very peculiar problem..I have configured my web-app to
use form-based auth and it is working fine, except when I give the
complete URL of a JSP pafe inside a restricted area, it allows me
access without redirecting to the login page.

I have in my web.xml something like..

security-constraint
   display-nameagentHome/display-name
   web-resource-collection
   web-resource-nameagentHome/web-resource-name
   descriptionAgent Home Applicaiton/description
   url-pattern
   /index.jsp/url-pattern
   url-pattern/agentHome/*/url-pattern
   url-pattern/lob/*/url-pattern
   url-pattern/lob/term/*/url-pattern
   http-method
   GET/http-method
   http-method
   POST/http-method
   /web-resource-collection
   auth-constraint
   description/description
   role-nameappAgentHome/role-name
   /auth-constraint
   /security-constraint

But when i type the URL http://localhost:8080/nbpapps/faces/lob/term/ABC.jsp
it takes me directly to the page.
But on one machine in the network, it behaves OK and redirects me to
the login page...

Any idea what the problem could be?

Regards,

Kannan

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



Re: Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread Remy Maucherat
On Thu, 10 Mar 2005 12:21:29 +0100, David Tonhofer, m-plify S.A.
[EMAIL PROTECTED] wrote:
 00Exception performing authentication
 01  javax.naming.NameNotFoundException: Name jdbc is not bound in this 
 Context
 02  at org.apache.naming.NamingContext.lookup(NamingContext.java:769)

Ah, cool, so you did not read the docs for the datasource realm, then ...
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#DataSourceRealm
- localDataSource

 Out of luck? Bugs related to other Tomcat versions helped out:
 
 http://issues.apache.org/bugzilla/show_bug.cgi?id=24723
 http://issues.apache.org/bugzilla/show_bug.cgi?id=24836
 
 I put the Resource element inside the GlobalNamingResources element, 
 described here:
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/globalresources.html
 ...and it worked!

Makes sense.

 Additionally:
 
 The 'factory' attribute of the 'Resource' element is mentioned nowhere... o_O
 which is **BAD** because w/o the factory value the Realm Authentication seems 
 to
 reduce to 'Access All Areas' - you don't get no error in the catalina log 
 either.

You indeed should not be specifying the factory, and it works fine.
Please stop whining.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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



Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-10 Thread Remy Maucherat
On Wed, 09 Mar 2005 17:39:21 -0800, alexander dosher [EMAIL PROTECTED] wrote:
 and an
 Engine
Realm className=org.apache.catalina.realm.DataSourceRealm
 name=UserDatabase
 
 and i get
 java.lang.NullPointerException
at javax.naming.NameImpl.init
at javax.naming.CompositeName.init
at org.apache.naming.NamingContext.lookup
 (etc.)
 
 so please accept my application to the Frustration Club.  :(

You get a membership to the RTFM club instead ;)
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#DataSourceRealm

The JDBC realm in 5.5.8 obviously still has the bug related to
connection handling, as I only fixed it two days ago.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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



Re: file watcher

2005-03-10 Thread deepak suldhal
if you have a file watcher Please email, it will help me a lot.
 
 
Thanks

Antony Paul [EMAIL PROTECTED] wrote:
What you mean ?. You need a file watcher program or you have one.
To start it when tomcat is started, 
1. If it is servlet in web.xml use in servlet
declaration and run it from init() method.
2. Write a ContextListener and start it from there.

rgds
Antony Paul 


On Wed, 9 Mar 2005 15:31:12 -0800 (PST), deepak suldhal
wrote:
 Hi,
 I need to keep a file watcher program running.
 Is it possible for me to start this automatically when
 
 tomcat is hosted.
 
 Thanks
 D
 
 __
 Celebrate Yahoo!'s 10th Birthday!
 Yahoo! Netrospective: 100 Moments of the Web
 http://birthday.yahoo.com/netrospective/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

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



-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

Re: Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread David Tonhofer, m-plify S.A.
Ah, cool, so you did not read the docs for the datasource realm, then ...
WRONG!
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#DataSourceRealm
- localDataSource
Easy when you know it, then. Tested ok. One problem down.
Additionally:
The 'factory' attribute of the 'Resource' element is mentioned nowhere... o_O
which is **BAD** because w/o the factory value the Realm Authentication seems to
reduce to 'Access All Areas' - you don't get no error in the catalina log 
either.
You indeed should not be specifying the factory, and it works fine.
Damn...you are right, too. Well, I tested this twice and I was sure that 
there was
a problem. Ah, well.
A look at the source reveals the default factory is indeed
org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory but you can specify it
through the system property javax.sql.DataSource.Factory or through the
factory attribute. Which is nice.
Please stop whining.
Should I take this as an offense? I don't whine. I either discuss bugs or 
use
harsh language.
But thanks anyway.
-- David Tonhofer
  M-PLIFY S.A.
  Resp. Informatique
  47, av. de la Liberté
  L-1931 Luxembourg

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


RE: Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread Erkkila, Matthew
Here is my config to get a JNDI datasource.  It works for me but I am
not sure if all of it is actually required.

***context.xml***
Context path=/ docBase=root
ResourceLink name=jdbc/ssdb type=javax.sql.DataSource
global=jdbc/ssdb/
/Context 

***web.xml snippet from inside web-app***
resource-ref
   descriptionConnection Pool/description
   res-ref-namejdbc/ssdb/res-ref-name
   res-typejavax.sql.DataSource/res-type
   res-authContainer/res-auth
/resource-ref

***server.xml snippetr from inside GlobalNamingResources***
Resource
  name=jdbc/ssdb
  type=javax.sql.DataSource
  driverClassName=oracle.jdbc.driver.OracleDriver
  password=password
  maxIdle=5
  maxWait=3000
  username=username
  url=jdbc:oracle:thin:@192.168.0.1:1521:ssdb
  maxActive=50/


Matt

-Original Message-
From: David Tonhofer, m-plify S.A. [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 6:21 AM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla
time?

Hello,

Question regarding Tomcat 5.5.7 and the JNDI Datasource:

It seems like either the web documentation for Tomcat 5.5 or the
implementation is incorrect regarding the use of JNDI Datasources.

In this page:

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-example
s-howto.html

the Resource element configuring the DataSource is put inside the
Context element.

However, I have tried to set up a DataSourceRealm that is configured
using said Resource

00Exception performing authentication
01  javax.naming.NameNotFoundException: Name jdbc is not bound in 
01 this Context
02  at
org.apache.naming.NamingContext.lookup(NamingContext.java:769)
03  at
org.apache.naming.NamingContext.lookup(NamingContext.java:152)
04  at
org.apache.catalina.realm.DataSourceRealm.open(DataSourceRealm.java:406)
05  at
org.apache.catalina.realm.DataSourceRealm.authenticate(DataSourceRealm.j
ava:277)
06  at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicA
uthenticator.java:181)
07  at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:446)
08  at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
09  at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
10  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
11  at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
12  at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
13  at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
14  at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
15  at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
675)
16  at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
17  at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
java:684)
18  at java.lang.Thread.run(Thread.java:595)

Out of luck? Bugs related to other Tomcat versions helped out:

http://issues.apache.org/bugzilla/show_bug.cgi?id=24723
http://issues.apache.org/bugzilla/show_bug.cgi?id=24836

I put the Resource element inside the GlobalNamingResources element,
described here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/globalresources.
html
..and it worked!

Maybe the documentation should tell people to set up the Resources in
the GlobalNamingResources? Probably not though -- there might be some
other reason why it didn't work. I tried useNaming=true for the
Context according to
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
but no go :-((

Additionally:

The 'factory' attribute of the 'Resource' element is mentioned
nowhere... o_O which is **BAD** because w/o the factory value the Realm
Authentication seems to reduce to 'Access All Areas' - you don't get no
error in the catalina log either.

Resource name=jdbc/lousydatabase
  auth=Container
  type=javax.sql.DataSource
HERE 
factory=org.apache.commons.dbcp.BasicDataSourceFactory
  driverClassName=com.mysql.jdbc.Driver
  validationQuery=SELECT 1
  loginTimeout=10
  username=waateenbordel
  password=tudjeu!!
  testOnBorrow=true
 
url=jdbc:mysql://127.0.0.1/lousy?autoReconnect=trueamp;connectTimeout=
5000amp;socketTimeout=3amp;useUsageAdvisor=true
/

 


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



RE: file watcher

2005-03-10 Thread Anderson, M. Paul
What is a file watcher?

-Original Message-
From: deepak suldhal [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 7:41 AM
To: Tomcat Users List; Antony Paul
Subject: Re: file watcher


if you have a file watcher Please email, it will help me a lot.
 
 
Thanks

Antony Paul [EMAIL PROTECTED] wrote:
What you mean ?. You need a file watcher program or you have one. To
start it when tomcat is started, 
1. If it is servlet in web.xml use in servlet
declaration and run it from init() method.
2. Write a ContextListener and start it from there.

rgds
Antony Paul 


On Wed, 9 Mar 2005 15:31:12 -0800 (PST), deepak suldhal
wrote:
 Hi,
 I need to keep a file watcher program running.
 Is it possible for me to start this automatically when
 
 tomcat is hosted.
 
 Thanks
 D
 
 __
 Celebrate Yahoo!'s 10th Birthday!
 Yahoo! Netrospective: 100 Moments of the Web 
 http://birthday.yahoo.com/netrospective/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

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



-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

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



Re: file watcher

2005-03-10 Thread Antony Paul
You can search in Google. Two I know are log4j file watcher and Tomcat
WAR watcher.

rgds
Antony paul


On Thu, 10 Mar 2005 04:41:14 -0800 (PST), deepak suldhal
[EMAIL PROTECTED] wrote:
 if you have a file watcher Please email, it will help me a lot.
  
  
 Thanks
 
 Antony Paul [EMAIL PROTECTED] wrote:
 What you mean ?. You need a file watcher program or you have one.
 To start it when tomcat is started, 
 1. If it is servlet in web.xml use in servlet
 declaration and run it from init() method.
 2. Write a ContextListener and start it from there.
 
 rgds
 Antony Paul 
 
 
 On Wed, 9 Mar 2005 15:31:12 -0800 (PST), deepak suldhal
 wrote:
  Hi,
  I need to keep a file watcher program running.
  Is it possible for me to start this automatically when
  
  tomcat is hosted.
  
  Thanks
  D
  
  __
  Celebrate Yahoo!'s 10th Birthday!
  Yahoo! Netrospective: 100 Moments of the Web
  http://birthday.yahoo.com/netrospective/
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -- 
 rgds
 Antony Paul
 http://www.geocities.com/antonypaul24/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 
 
 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

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



RE: Tomcat auth problem

2005-03-10 Thread Ramu, Vinod
I would try with using extension URL mapping. For instance, 
url-pattern*.jsp/url-pattern in my web.xml. 
 
And based on the URL sent by you and I thing the application root web context 
is nbpapps. If this is true, then begin your URL under the url-pattern tag 
with faces (based on the URL sent by you) because that seem to be a public 
directory directly under your web context.
 
Vinod



From: Kannan Shastri [mailto:[EMAIL PROTECTED]
Sent: Thu 3/10/2005 6:30 AM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat auth problem



Hi ,

 I am facing a very peculiar problem..I have configured my web-app to
use form-based auth and it is working fine, except when I give the
complete URL of a JSP pafe inside a restricted area, it allows me
access without redirecting to the login page.

I have in my web.xml something like..

security-constraint
   display-nameagentHome/display-name
   web-resource-collection
   web-resource-nameagentHome/web-resource-name
   descriptionAgent Home Applicaiton/description
   url-pattern
   /index.jsp/url-pattern
   url-pattern/agentHome/*/url-pattern
   url-pattern/lob/*/url-pattern
   url-pattern/lob/term/*/url-pattern
   http-method
   GET/http-method
   http-method
   POST/http-method
   /web-resource-collection
   auth-constraint
   description/description
   role-nameappAgentHome/role-name
   /auth-constraint
   /security-constraint

But when i type the URL http://localhost:8080/nbpapps/faces/lob/term/ABC.jsp
it takes me directly to the page.
But on one machine in the network, it behaves OK and redirects me to
the login page...

Any idea what the problem could be?

Regards,

Kannan

-
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: JDBCRealm changes from Tomcat 5.0.x to 5.5.x

2005-03-10 Thread Phillip Qin
Very useful info. Thx. Have you actually tested your configure in
tc5.5.7/.8, i.e. Tomcat Manager app deploy/redeploy etc.?




-Original Message-
From: David Tonhofer, m-plify S.A. [mailto:[EMAIL PROTECTED] 
Sent: March 10, 2005 5:55 AM
To: Tomcat Users List
Subject: Re: JDBCRealm changes from Tomcat 5.0.x to 5.5.x


Juste pour info:

I have written up my DataSourceRealm with DBCP that I got working before
02:00 this night (eww) into the DBCP Twiki. Not the best place, but hey,
might be useful:

http://wiki.apache.org/jakarta-commons/DBCP

Enjoy,

-- David


--On Wednesday, March 09, 2005 8:40 PM -0800 alexander dosher
[EMAIL PROTECTED] wrote:

 Hassan Schroeder makes my day:
 How about something like:
   (the correct answer)

 YES, thank you.  i had a resourceName instead of a dataSourceName in 
 my DataSourceRealm, left over from trying to use a UserDatabaseRealm, 
 which i didn't really understand and isn't even in the docs anymore 
 anyway. duh.  *and* this method *is* reopening connections, which 
 JDBCRealm didn't. yay!

dream.  code.

 no, thank you. had an awk dream once. i don't recommend it.  ;-)

 --alex.


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


!DSPAM:4230275a152948713912020!


RE: Query on mod_jk.log

2005-03-10 Thread Phillip Qin

JkLogFile

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: March 10, 2005 1:28 AM
To: tomcat-user@jakarta.apache.org
Subject: Query on mod_jk.log



Hi All,

I need to change the location of mod_jk.log file. Presently it gets logged
in /apache/logs. I need to put it in /var/log/apache.

How to accomplish this?

Thanks and Regards,
Mandar M Kelvekar




Confidentiality Notice

The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. If you are not the intended
recipient, please notify the sender at Wipro or [EMAIL PROTECTED]
immediately and destroy all copies of this message and any attachments.

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


!DSPAM:422fe96e132135474820448!


Limiting number of login attempts

2005-03-10 Thread Anderson, M. Paul
Is there a way to limit the number of login attempts for a user when
using a JDBC realm?

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



Cannot compile class in WEB-INF/classes

2005-03-10 Thread Rahul Joshi
I have a Simple JSP page in my webapps/myappname. I
have a utility class which this page will use. The
class file for this should be in
webapps/myappname/WEB-INF/classes. So I put the java
source file in that directory
(webapps/myappname/WEB-INF/classes). Also, a method in
this utility class has HttpServletRequest request as
an argument. This will be passed when this method is
called from the scriplet java code from the JSP page. 

The Problem is that the utility java file does not
compile and gives error- Cannot recognize
HttpServletRequest. Shouldn't servlet-api.jar be
automatically visible?

I am using latest Tomcat 5.5.8 and latest JDK/JRE 1.5.
I can avoid the issue by not passing the request
object but still is there a way to pass the request
object?

Thanks!
Rahul.



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



James Richardson is out of the office.

2005-03-10 Thread James Richardson
I will be Out of the Office
Start Date: 10/03/2005.
End Date: 14/03/2005.


I will respond to your message when I return.








--

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.



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



RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Anderson, M. Paul
Did you import javax.servlet.http.* ?

-Original Message-
From: Rahul Joshi [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 1:19 PM
To: tomcat-user@jakarta.apache.org
Subject: Cannot compile class in WEB-INF/classes


I have a Simple JSP page in my webapps/myappname. I
have a utility class which this page will use. The
class file for this should be in webapps/myappname/WEB-INF/classes. So I
put the java source file in that directory
(webapps/myappname/WEB-INF/classes). Also, a method in this utility
class has HttpServletRequest request as an argument. This will be passed
when this method is called from the scriplet java code from the JSP
page. 

The Problem is that the utility java file does not
compile and gives error- Cannot recognize
HttpServletRequest. Shouldn't servlet-api.jar be
automatically visible?

I am using latest Tomcat 5.5.8 and latest JDK/JRE 1.5.
I can avoid the issue by not passing the request
object but still is there a way to pass the request
object?

Thanks!
Rahul.



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

-
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: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Rahul Joshi
Yes, I did.

import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;


API signature:  String expand(HttpServletRequest
request)

-Rahul.

--- Anderson, M. Paul [EMAIL PROTECTED]
wrote:
 Did you import javax.servlet.http.* ?
 
 -Original Message-
 From: Rahul Joshi [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 10, 2005 1:19 PM
 To: tomcat-user@jakarta.apache.org
 Subject: Cannot compile class in WEB-INF/classes
 
 
 I have a Simple JSP page in my webapps/myappname. I
 have a utility class which this page will use. The
 class file for this should be in
 webapps/myappname/WEB-INF/classes. So I
 put the java source file in that directory
 (webapps/myappname/WEB-INF/classes). Also, a method
 in this utility
 class has HttpServletRequest request as an argument.
 This will be passed
 when this method is called from the scriplet java
 code from the JSP
 page. 
 
 The Problem is that the utility java file does not
 compile and gives error- Cannot recognize
 HttpServletRequest. Shouldn't servlet-api.jar be
 automatically visible?
 
 I am using latest Tomcat 5.5.8 and latest JDK/JRE
 1.5.
 I can avoid the issue by not passing the request
 object but still is there a way to pass the request
 object?
 
 Thanks!
 Rahul.
 
 
   
 __ 
 Do you Yahoo!? 
 Yahoo! Small Business - Try our new resources site!
 http://smallbusiness.yahoo.com/resources/ 
 

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



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
Hi, I have a sort of theoretical question.  I'm
wondering about the pros and cons of using a one
connection per tomcat session strategy for connecting
to a Postgresql server rather than connection pooling.
 

My users generally login in the morning and keep my
app open for extended periods of time, usually
serveral hours at least.  The one connection per
session method seems to work well.  Here are the
reasons I'm using it.

1.  Can cache prepared statements, something that is
more problematic to do with a generic connection pool.

2.  Have better control of connection releases via the
finalize() method in a session helper class that
contains the one single connection.

3.  Easier to code and implement than connection
pooling.

4.  Potentially faster than connection pooling because
of only one connection open per session.  

Are there issues that I'm overlooking?  If I had more
users with shorter sessions, would it make a
difference?


Thanks.




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Anderson, M. Paul
Have you compiled the class previously?  The source for the class does
not go in the WEB-INF/classes directory - only the class files go
here.  You also need to pre-compile your classes - Tomcat doesn't do
this for you.

-Original Message-
From: Rahul Joshi [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 1:26 PM
To: Tomcat Users List
Subject: RE: Cannot compile class in WEB-INF/classes


Yes, I did.

import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;


API signature:  String expand(HttpServletRequest
request)

-Rahul.

--- Anderson, M. Paul [EMAIL PROTECTED]
wrote:
 Did you import javax.servlet.http.* ?
 
 -Original Message-
 From: Rahul Joshi [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 10, 2005 1:19 PM
 To: tomcat-user@jakarta.apache.org
 Subject: Cannot compile class in WEB-INF/classes
 
 
 I have a Simple JSP page in my webapps/myappname. I
 have a utility class which this page will use. The
 class file for this should be in webapps/myappname/WEB-INF/classes. So

 I put the java source file in that directory
 (webapps/myappname/WEB-INF/classes). Also, a method
 in this utility
 class has HttpServletRequest request as an argument.
 This will be passed
 when this method is called from the scriplet java
 code from the JSP
 page. 
 
 The Problem is that the utility java file does not
 compile and gives error- Cannot recognize
 HttpServletRequest. Shouldn't servlet-api.jar be automatically 
 visible?
 
 I am using latest Tomcat 5.5.8 and latest JDK/JRE
 1.5.
 I can avoid the issue by not passing the request
 object but still is there a way to pass the request
 object?
 
 Thanks!
 Rahul.
 
 
   
 __
 Do you Yahoo!? 
 Yahoo! Small Business - Try our new resources site!
 http://smallbusiness.yahoo.com/resources/ 
 

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



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



JDBC Realm by-passing login page using a link

2005-03-10 Thread Fredrik Liden
Is it possible to pass login info in a link and then based on this
information set the JDBC realm status to logged in?

In other words is it possible to trigger the authentication manually in
a filter?

Thanks!

/Fredrik

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



RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Rahul Joshi
I did not try compiling it at an external location. I
thought I would compile it in classes and then delete
the source java file later. 

I will try your suggestion of compiling it outside of
tomcat and then copying the class in the classes
directory. But does it mean that a java file cannot be
compiled in WEB-INF/classes if it is accessing
Tomcat's own servlet-api.jar?

Thanks,
Rahul.

--- Anderson, M. Paul [EMAIL PROTECTED]
wrote:
 Have you compiled the class previously?  The source
 for the class does
 not go in the WEB-INF/classes directory - only the
 class files go
 here.  You also need to pre-compile your classes -
 Tomcat doesn't do
 this for you.
 
 -Original Message-
 From: Rahul Joshi [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 10, 2005 1:26 PM
 To: Tomcat Users List
 Subject: RE: Cannot compile class in WEB-INF/classes
 
 
 Yes, I did.
 
 import java.io.*;
 import java.util.*;
 import javax.servlet.*;
 import javax.servlet.http.*;
 
 
 API signature:String expand(HttpServletRequest
 request)
 
 -Rahul.
 
 --- Anderson, M. Paul [EMAIL PROTECTED]
 wrote:
  Did you import javax.servlet.http.* ?
  
  -Original Message-
  From: Rahul Joshi [mailto:[EMAIL PROTECTED]
  Sent: Thursday, March 10, 2005 1:19 PM
  To: tomcat-user@jakarta.apache.org
  Subject: Cannot compile class in WEB-INF/classes
  
  
  I have a Simple JSP page in my webapps/myappname.
 I
  have a utility class which this page will use. The
  class file for this should be in
 webapps/myappname/WEB-INF/classes. So
 
  I put the java source file in that directory
  (webapps/myappname/WEB-INF/classes). Also, a
 method
  in this utility
  class has HttpServletRequest request as an
 argument.
  This will be passed
  when this method is called from the scriplet java
  code from the JSP
  page. 
  
  The Problem is that the utility java file does not
  compile and gives error- Cannot recognize
  HttpServletRequest. Shouldn't servlet-api.jar be
 automatically 
  visible?
  
  I am using latest Tomcat 5.5.8 and latest JDK/JRE
  1.5.
  I can avoid the issue by not passing the request
  object but still is there a way to pass the
 request
  object?
  
  Thanks!
  Rahul.
  
  
  
  __
  Do you Yahoo!? 
  Yahoo! Small Business - Try our new resources
 site!
  http://smallbusiness.yahoo.com/resources/ 
  
 

-
  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]
  
  
 
 
   
 __ 
 Do you Yahoo!? 
 Yahoo! Small Business - Try our new resources site!
 http://smallbusiness.yahoo.com/resources/ 
 

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



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



RE: JDBC Realm by-passing login page using a link

2005-03-10 Thread Anderson, M. Paul
It is my understanding that the JDBC realm will execute prior to any
filters or other servlets, so I wouldn't think this would be possible
unless you perform your own authentication - possibly in a filter - to
do just what you're looking for.

-Original Message-
From: Fredrik Liden [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 1:40 PM
To: Tomcat Users List
Subject: JDBC Realm by-passing login page using a link


Is it possible to pass login info in a link and then based on this
information set the JDBC realm status to logged in?

In other words is it possible to trigger the authentication manually in
a filter?

Thanks!

/Fredrik

-
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: Mapping context to root of website

2005-03-10 Thread Ronnie Tartar
Is there a way to do this with jk or jk2?

Thanks



-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 11:46 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


This is how I use to be able to do it with mod_warp.

   WebAppConnection mps warp localhost:8019
   WebAppDeploy . mps /

Deployed the specific context to the root of the actual site leaving 1
instance of tomcat with multiple webapps.

Thanks

Ronnie Tartar
407-251-2036



-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 10:50 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Y, but you can only have one ROOT in the webapps folder?  Is this what
you are talking about?  I would like to have multiple contexts mapped to
the ROOT of different web servers.

http://www.test1.com/mapped to /context1
http://www.test2.com/mapped to /context2
http://www.test3.com/mapped to /context3

I have created my application as ROOT in the webapps folder, and that
does work, but without creating multiple tomcat instances, I can only
have one ROOT.

I always seem to have trouble with the connectors, thanks for your
patience.



Ronnie Tartar
407-251-2036



-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 10:39 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Hi,

Yes this is extremely common and in TC 5.0 is configured using an empty
path attribute in the Context element and in 5.5 it is done by naming
your web application as ROOT. FOr IIS to TC look up JK 1.2.8, there's
even an installer. Your mappings would be /something=ajp13 rather than
/context/something=ajp13.

Good luck. Allistair.

 -Original Message-
 From: Ronnie Tartar [mailto:[EMAIL PROTECTED]
 Sent: 07 March 2005 15:37
 To: tomcat-user@jakarta.apache.org
 Subject: Mapping context to root of website
 
 
 Is there anyway to map a context to the root of a website.
  
 For instance:  http://www.test.com/context/ to
  
 http://www.test.com/
  
 I know I can do this by creating mulitple Tomcat Instances but this is

 not very efficient on resources.
  
 I have done it with Mod_warp with success but need to do it on IIS and

 Apache.
  
 Is there a doc out there somewhere?
  
 Thanks in advance.
 


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]


-
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: Mapping context to root of website

2005-03-10 Thread Anderson, M. Paul
How would I do this if I am just using Tomcat (no apache, IIS, etc.)???

-Original Message-
From: Ronnie Tartar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 1:50 PM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Is there a way to do this with jk or jk2?

Thanks



-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 11:46 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


This is how I use to be able to do it with mod_warp.

   WebAppConnection mps warp localhost:8019
   WebAppDeploy . mps /

Deployed the specific context to the root of the actual site leaving 1
instance of tomcat with multiple webapps.

Thanks

Ronnie Tartar
407-251-2036



-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 10:50 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Y, but you can only have one ROOT in the webapps folder?  Is this what
you are talking about?  I would like to have multiple contexts mapped to
the ROOT of different web servers.

http://www.test1.com/mapped to /context1
http://www.test2.com/mapped to /context2
http://www.test3.com/mapped to /context3

I have created my application as ROOT in the webapps folder, and that
does work, but without creating multiple tomcat instances, I can only
have one ROOT.

I always seem to have trouble with the connectors, thanks for your
patience.



Ronnie Tartar
407-251-2036



-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 10:39 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Hi,

Yes this is extremely common and in TC 5.0 is configured using an empty
path attribute in the Context element and in 5.5 it is done by naming
your web application as ROOT. FOr IIS to TC look up JK 1.2.8, there's
even an installer. Your mappings would be /something=ajp13 rather than
/context/something=ajp13.

Good luck. Allistair.

 -Original Message-
 From: Ronnie Tartar [mailto:[EMAIL PROTECTED]
 Sent: 07 March 2005 15:37
 To: tomcat-user@jakarta.apache.org
 Subject: Mapping context to root of website
 
 
 Is there anyway to map a context to the root of a website.
  
 For instance:  http://www.test.com/context/ to
  
 http://www.test.com/
  
 I know I can do this by creating mulitple Tomcat Instances but this is

 not very efficient on resources.
  
 I have done it with Mod_warp with success but need to do it on IIS and

 Apache.
  
 Is there a doc out there somewhere?
  
 Thanks in advance.
 


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]


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



Workers, workers, how do they work??

2005-03-10 Thread Klaus-F. Kaal
Hi,
I am not really sure that I understand the workers right.
I interface Apache 2.0.48 with Tomcat 5.0.28 via mod_jk.
Obviously, Apache accepts mod_jk to some extend, because, I get this in 
the _mo_jk.log_:

[Thu Mar 10 20:05:21 2005]  [jk_uri_worker_map.c (459)]: Attempting to 
map URI '/jsp-examples/'
[Thu Mar 10 20:05:21 2005]  [jk_uri_worker_map.c (483)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 - 
/jsp-examples/
[Thu Mar 10 20:05:21 2005]  [mod_jk.c (1689)]: Into handler 
r-proxyreq=0 r-handler=jakarta-servlet r-notes=136555304 worker=worker1
[Thu Mar 10 20:05:21 2005]  [jk_worker.c (90)]: Into 
wc_get_worker_for_name worker1
[Thu Mar 10 20:05:21 2005]  [jk_worker.c (94)]: wc_get_worker_for_name, 
done did not find a worker
[Thu Mar 10 20:05:21 2005]  [jk_uri_worker_map.c (445)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Thu Mar 10 20:05:21 2005]  [jk_uri_worker_map.c (459)]: Attempting to 
map URI '/error/HTTP_INTERNAL_SERVER_ERROR.html.var'

I have a _mod_jk.conf_ like this:
IfModule !mod_jk.c
 LoadModule jk_module /usr/lib/apache2-prefork/mod_jk.so
/IfModule
JKOptions +ForwardKeySize +ForwardURICompat +ForwardDirectories
JkWorkersFile /etc/apache2/workers2.properties
JkLogFile /usr/tomcat/logs/mod_jk.log
JkLogLevel debug
JkMount /jsp-examples/* worker1
and the _workers2.properties_ reads like this:
worker.list = worker1
[channel.socket:localhost:8009]
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
[uri:/jsp-examples/*]
worker1=ajp13.localhost:8009
In my understanding, it found worker1 which matched the request, but 
then did not really find the final context. Can somebody explain to me 
what is wrong here?

Thanks for your help.
Klaus



Re: Connection pooling verse one connection per session

2005-03-10 Thread QM
On Thu, Mar 10, 2005 at 10:31:41AM -0800, Mark Winslow wrote:
: Hi, I have a sort of theoretical question.  I'm
: wondering about the pros and cons of using a one
: connection per tomcat session strategy for connecting
: to a Postgresql server rather than connection pooling.

The great benefit of pooling is that objects that aren't being
(actively) used by one person/login/etc can be used by another.  
Put another way, the Connection objects aren't specific to a user, so
there's no need to treat them as such.  (If you've done any EJB, think
of Stateless vs Stateful Session Beans.)

You say your users are logged into your app all day; but are they
constantly streaming data from the minute they login to the minute they
logout?  If not, then holding open the DB connection for them isn't
helping much.  (I'd hesitate to say it's doing harm or anything bad,
just that it's not helping.)

For this same reason, pooling also helps in scalability: when a
Connection is idle (not being used by anyone), someone else can use it.  



: 1.  Can cache prepared statements, something that is
: more problematic to do with a generic connection pool.

True; but have you seen a significant performance gain due to prepared
statement caching?


: 2.  Have better control of connection releases via the
: finalize() method in a session helper class that
: contains the one single connection.

I'm not sure I understand this.  If your app is written such that
data-access code fetches a Connection as needed, then returns it to the
pool when it's done (Connection#close()), then what other control would
you need?

You realize, for a pooled connection, close() doesn't really shutdown
the network connection.  It just sends the Connection object back to the
pool.


: 3.  Easier to code and implement than connection
: pooling.

Again, I don't understand this.  Please explain.


: 4.  Potentially faster than connection pooling because
: of only one connection open per session.  

Yes and no. The connection pool keeps the connection open all the time;
so users who go through a pooled Connection object don't suffer any
first time access hits.

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



Access Threads informations/state

2005-03-10 Thread David Causse
Hi,
I store my jdbc connections inside the user session, and I create thanks 
to a Filter one connection per thread (cause we encountered multithread 
issues with the oracle JDBC driver, and we use frames).

When the user hit the Home link I have to clean all the session 
attributes, but I don't want to clean the Connections if they are in use.
In normal condition and in a perfect world no Connection should be 
present in the session when home is called, but it is a very big app...
The session attribute name is like 
Connection+Thread.currentThread().getName().

So when hitting home I loop over all attributes in the session and I do 
special case for each type of class I find. So when I find a Connection 
object I first have to close() before gc.
I know wich Thread generated this Connection (I can easely extract the 
Thread name) and I would like to close it *only if I'm sure that this 
Thread is not serving something*.

This case should happen because there is some big db extraction that the 
user can open inside a sort of popup and continue working on the main 
app screen waiting for the export to finish.

I identified 3 solutions to solve my problem :
- Do not close a java.sql.Connection if there is still open Statement on 
it - I don't know how to do.
- Ask tomcat if the thread is serving a request - I don't know how to do.
- Never close Connection - I don't like this one...

We use :
- JAVA 1.4
- Tomcat 5
- Oracle 9i with jdbc thin driver with our own connection pool management.
Thank you for you help.
David.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Access Threads informations/state

2005-03-10 Thread QM
On Thu, Mar 10, 2005 at 08:47:25PM +0100, David Causse wrote:
: I store my jdbc connections inside the user session, and I create thanks 
: to a Filter one connection per thread (cause we encountered multithread 
: issues with the oracle JDBC driver, and we use frames).

Is there a way to refactor your app, to move the thread-safety outside
of the Connection objects?   Put another way, it sounds as though you
could insert a data layer between the Filter / Session objects and the
Connection objects.


: When the user hit the Home link I have to clean all the session 
: attributes, but I don't want to clean the Connections if they are in use.
: In normal condition and in a perfect world no Connection should be 
: present in the session when home is called, but it is a very big app...
: The session attribute name is like 
: Connection+Thread.currentThread().getName().

The problem you may run into, long-term, is that a Java webapp isn't
supposed to rely on container-specific features, especially something as
low-level as the thread model.  


I don't see a quick solution to this.  Just about anything you find
right now will be a short-term holdover, and will eventually bite you
down the line.  If at all possible, consider refactoring the data access
of your app such that this isn't an issue.


-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: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
OK, I see your points and they are well taken.  A lot
of my concern has to do with this 

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/printer/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations

There is one problem with connection pooling. A web
application has to explicetely close ResultSet's,
Statement's, and Connection's.

So I don't close my result sets, etc.  I have say 5
unique connection hits per page.  Say the tomcat
connection trash collector (set with
removeAbandoned=true) runs every 1 minute.  In one
minute a user can easily hit 5 pages.  That's 25
connections I've created and used for that user
instead of just 1.  

Am I wrong about this?  

A lot of my confusion has to do with the details of
how the underlying connection pool code works and how
efficient it is.  For instance can you assume that the
overhead to create a Pooled Connection based an an
already established connection is negligable? 
Releasing it the same thing?  There are threading
issues involved with connection pools.  Do they create
inefficient blocking conditions?

I understand that there are problems associated with
hanging onto a resource like a connection for extended
periods of time.  It's sort of a non-standard thing to
do and maybe not worth any potential cpu/memory
benefits.  I think I'm probably trying to talk myself
into droping my strategy and implementing connection
pools.

Thanks.

--- QM [EMAIL PROTECTED] wrote:
 On Thu, Mar 10, 2005 at 10:31:41AM -0800, Mark
 Winslow wrote:
 : Hi, I have a sort of theoretical question.  I'm
 : wondering about the pros and cons of using a one
 : connection per tomcat session strategy for
 connecting
 : to a Postgresql server rather than connection
 pooling.
 
 The great benefit of pooling is that objects that
 aren't being
 (actively) used by one person/login/etc can be used
 by another.  
 Put another way, the Connection objects aren't
 specific to a user, so
 there's no need to treat them as such.  (If you've
 done any EJB, think
 of Stateless vs Stateful Session Beans.)
 
 You say your users are logged into your app all day;
 but are they
 constantly streaming data from the minute they login
 to the minute they
 logout?  If not, then holding open the DB connection
 for them isn't
 helping much.  (I'd hesitate to say it's doing
 harm or anything bad,
 just that it's not helping.)
 
 For this same reason, pooling also helps in
 scalability: when a
 Connection is idle (not being used by anyone),
 someone else can use it.  
 
 
 
 : 1.  Can cache prepared statements, something that
 is
 : more problematic to do with a generic connection
 pool.
 
 True; but have you seen a significant performance
 gain due to prepared
 statement caching?
 
 
 : 2.  Have better control of connection releases via
 the
 : finalize() method in a session helper class that
 : contains the one single connection.
 
 I'm not sure I understand this.  If your app is
 written such that
 data-access code fetches a Connection as needed,
 then returns it to the
 pool when it's done (Connection#close()), then what
 other control would
 you need?
 
 You realize, for a pooled connection, close()
 doesn't really shutdown
 the network connection.  It just sends the
 Connection object back to the
 pool.
 
 
 : 3.  Easier to code and implement than connection
 : pooling.
 
 Again, I don't understand this.  Please explain.
 
 
 : 4.  Potentially faster than connection pooling
 because
 : of only one connection open per session.  
 
 Yes and no. The connection pool keeps the connection
 open all the time;
 so users who go through a pooled Connection object
 don't suffer any
 first time access hits.
 
 -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]
 
 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



Re: Workers, workers, how do they work??

2005-03-10 Thread Adrian Robert
On Mar 10, 2005, at 2:29 PM, Klaus-F. Kaal wrote:
I am not really sure that I understand the workers right.
I interface Apache 2.0.48 with Tomcat 5.0.28 via mod_jk.
It looks like you're trying to use a mod_jk2 config file format with 
mod_jk.  You want a file (better called workers.properties) w/the 
following:

workers.tomcat_home= [insert CATALINA_BASE here]
workers.java_home= [insert JAVAHOME here]
ps=/
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=1
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=worker1
(You can tweak the load balancing lines.)
Also, make sure the JkWorkersFile in httpd.conf occurs outside of any 
VirtualHost section.

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


Re: Connection pooling verse one connection per session

2005-03-10 Thread QM
On Thu, Mar 10, 2005 at 12:30:22PM -0800, Mark Winslow wrote:
: 
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/printer/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
: 
: There is one problem with connection pooling. A web
: application has to explicetely close ResultSet's,
: Statement's, and Connection's.

I'd hardly say that's a problem; that's just good coding practice. =)
(example: When I'm done cooking, I should turn off the stove.  Is that a
problem with stoves, or just how stoves work?)

Connection cleanup maintenance is straightforward: liberally sprinlke
finally{} blocks around data access code.  -and if that's abstracted out
into a layer, and a separate set of objects, you shouldn't have to look
in that many places to insert said finally{} blocks.



: For instance can you assume that the
: overhead to create a Pooled Connection based an an
: already established connection is negligable? 

A pooled connection usually *is* an established connection.  The idea of
pooling (any sort of object pooling) is that the app (here, Tomcat)
instantiates some number of said objects ahead of time, such that
they're ready to use when needed.  In some cases the objects are created
on-demand but then kept around for future use.

Pooled Connection objects are wrapped in another object (that also
implements Connection) that intercepts close() calls.  Instead of
actually closing the connection, it returns the object to the pool.


: There are threading
: issues involved with connection pools.

Such as...?  As long as you treat a Connection as a hot potato -- hold
on to it only as long as you need, then pitch it -- there should be no
such threading issues. -and as long as you only fetch Connection objects
from the DataSource, then you should never run into an issue where two
sections of code get the same Connection.


: It's sort of a non-standard thing to
: do and maybe not worth any potential cpu/memory
: benefits.  I think I'm probably trying to talk myself
: into droping my strategy and implementing connection
: pools.

For me, it's mostly a design issue.  I design my apps such that I can
switch the connection source (pooled, one-off, etc) and the code is none
the wiser.  It just knows, I get a Connection here, and I call close()
on it when I'm done.  Whether close() really terminates a network
connection/DB session, or just returns an object to the pool, it doesn't
matter...

-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: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
I'm still not entirely sure about this issue.  The
close/=null + finally blocks make for pretty ugly and
error prone code if you ask me.

Why doesn't the connection pool encapsulate closing
anyway?  Can't it encapsulate closing into the
finalize() methods?  Are there ordering issues for
closing ResultSets, Statements, and Connections? Is
infrequent garbage collection an issue?

I'm asking about encapsulating into the finalize()
methods because I don't like the asthetics of all the
close/=null + finally statements.  I believe they make
for confusing and error prone code and would like a
way to make my own encapsulating classes.


--- QM [EMAIL PROTECTED] wrote:
 On Thu, Mar 10, 2005 at 12:30:22PM -0800, Mark
 Winslow wrote:
 :

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/printer/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
 : 
 : There is one problem with connection pooling. A
 web
 : application has to explicetely close ResultSet's,
 : Statement's, and Connection's.
 
 I'd hardly say that's a problem; that's just good
 coding practice. =)
 (example: When I'm done cooking, I should turn off
 the stove.  Is that a
 problem with stoves, or just how stoves work?)
 
 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



Strange error-page behavior

2005-03-10 Thread Dustin
Hey all. Very bizzare problem here.

I am running tomcat-5.0.28. I am trying to set up
custom error pages.

I originally set up a 404 error page for testing (the
error-page elements are in the server web.xml, not in
the app's web.xml):

  error-page
error-code404/error-code
location/errors/404-SNAPSHOT.jsp/location
  /error-page

Put the jsp files in place (both in the ROOT webapp
dir and my app's war) and everything worked great.
However, as soon as I added additional error-page
elements and restarted tomcat, things broke.

  error-page
error-code404/error-code
location/errors/404-SNAPSHOT.jsp/location
  /error-page
  error-page
error-code401/error-code
location/errors/401-SNAPSHOT.jsp/location
  /error-page

Now my manager won't come up at all. A request to
http://host:8080/manager/html/list displays a blank
page. No authorization attempted.

A request to another app that uses authorization
(http://host:8080/auth-app/) pulls up the 401
Unauthorized page even though I was never prompted for
credentials.

A request to an app that has no authentication comes
up just fine.

I remove all but one of the error-page elements and
everything is back to normal.

Any ideas?

Thanks,
  Dustin



__ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs

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



RE: Connection pooling verse one connection per session

2005-03-10 Thread Caldarale, Charles R
On Thu, Mar 10, 2005 at 10:31:41AM -0800, Mark Winslow wrote:
 
 2.  Have better control of connection releases via the
 finalize() method in a session helper class that
 contains the one single connection.

I hope you meant finally clause rather than finalize() method.  A 
finalize() method is only called when an object is garbage collected, which may 
not happen for a long, long time, if ever.

 - 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: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
if ever.??? Is that really the case?  My personal
experience with Tomcat is that it does indeed have
memory leak problems.  In theory, shouldn't all
objects created in a web user session eventually be
garbage collected after the session ends?

I in fact did mean the finalize() method.  Is that the
main reason not to encapsulate close() methodology
there because of slow garbage collection?  


--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:
 On Thu, Mar 10, 2005 at 10:31:41AM -0800, Mark
 Winslow wrote:
  
  2.  Have better control of connection releases via
 the
  finalize() method in a session helper class that
  contains the one single connection.
 
 I hope you meant finally clause rather than
 finalize() method.  A finalize() method is only
 called when an object is garbage collected, which
 may not happen for a long, long time, if ever.
 
  - 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]
 
 



__ 
Do you Yahoo!? 
Yahoo! Sports - Sign up for Fantasy Baseball. 
http://baseball.fantasysports.yahoo.com/

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



RE: Connection pooling verse one connection per session

2005-03-10 Thread Caldarale, Charles R
 From: Mark Winslow [mailto:[EMAIL PROTECTED]
 Subject: RE: Connection pooling verse one connection per session
 
 if ever.??? Is that really the case?  My personal
 experience with Tomcat is that it does indeed have
 memory leak problems.

Nearly all the memory leaks I've seen have been in the apps, frequently related 
to use of static variables to hold references to various session- or 
request-related items.  The few that have actually been a Tomcat problem seem 
to get fixed fairly quickly.

 In theory, shouldn't all objects created in a web user session 
 eventually be garbage collected after the session ends?

The GC algorithms do not guarantee that any specific object will be collected.  
If minor (young generation) GCs are sufficient to keep the JVM running, a full 
(tenured generation) GC need not be performed.  Objects in the tenured 
generation may never be collected and their finalize() methods may then never 
be called - the JVM may terminate first.

 I in fact did mean the finalize() method.  Is that the
 main reason not to encapsulate close() methodology
 there because of slow garbage collection?  

I don't know that I'd characterize it as slow; the current GC algorithms try 
to do as little work as possible, so it may be a long time before the desired 
object gets collected.  Since the point at which a finalize() method is called 
is so indeterminate, its usefulness is rather limited.  (Any class with a 
finalizer method is also somewhat inefficient, since it disrupts GC - each such 
object must be collected twice - and it slows down object allocation, since 
each finalizable object has to be registered.)

The try {}, catch {}, finally {} sequence is much more robust.

 - Chuck

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



Re: Connection pooling verse one connection per session

2005-03-10 Thread QM

On Thu, Mar 10, 2005 at 01:52:02PM -0800, Mark Winslow wrote:
: I'm still not entirely sure about this issue.  The
: close/=null + finally blocks make for pretty ugly and
: error prone code if you ask me.

Well, certainly no one's forcing you to code that way.  It's just a
fairly standard practice in Java webapps to pool DB connections and to
use try/catch/finally blocks where appropriate. ;)


: Why doesn't the connection pool encapsulate closing
: anyway?

It seems you're missing the point of the pool.  Pooled connections
remain open (logged in to the remote DB).  The close() method on the
Connection wrapper object puts the (underlying) Connection object back
in the pool so others can use it.



: Can't it encapsulate closing into the
: finalize() methods?

Maybe it does; but there's no guarantee finalizers will be called.
Besides, do you want to wait for gc to run to free up connections?


: Are there ordering issues for
: closing ResultSets, Statements, and Connections?

This is in the docs...  I *think* closing a Connection closes all
underlying Statement and ResultSet objects, but it's good form to just
close them when you're done with them.


: Is infrequent garbage collection an issue?

If you're waiting for finalizers to do your cleanup work for you, yes.  


: I'm asking about encapsulating into the finalize()
: methods because I don't like the asthetics of all the
: close/=null + finally statements.

Again, your call.


-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: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
I don't know.  I have one pure Tomcat (no Apache)
server that all it does is serve about 300,000 static
files per day.  The memory usage grows and grows
unexplicably.  I run a cron job that restarts it
everyday, which I had to started running with version
5.0.something or else it would eventually run out of
memory and crash.  I haven't seen what not restarting
will do on 5.5 and the latest version of Java/Linux. 
I guess I'll try and see.

I'm going to switch to using connection pools
regardless.  I really just had some questions about
the standard way of releasing them and gc issues
regarding them which have been answered by the nice
people on this list.

Thanks.


 
 Nearly all the memory leaks I've seen have been in
 the apps, frequently related to use of static
 variables to hold references to various session- or
 request-related items.  The few that have actually
 been a Tomcat problem seem to get fixed fairly
 quickly.
 
 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



RE: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
Sorry, just had one other question about the use of
static variables.  Can this really be a problem?  I
thought that a static variable only gets a single copy
per JVM/Context.  For instance the use of static
variables to define formats shouls save on memory
usage shouldn't it?

public class Helper
{

public static final DecimalFormat dFormat1 = new
DecimalFormat(00);

public static final DecimalFormat dFormat2 = new
DecimalFormat(#,##0.00);

public static final SimpleDateFormat df1 = new
SimpleDateFormat(HH:mm);

public static final SimpleDateFormat df2 = new
SimpleDateFormat(EEE, d MMM, );

}

 the apps, frequently related to use of static
 variables to hold references to various session- or
 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



RE: Connection pooling verse one connection per session

2005-03-10 Thread Caldarale, Charles R
 From: Mark Winslow [mailto:[EMAIL PROTECTED]
 Subject: RE: Connection pooling verse one connection per session
 
 The memory usage grows and grows unexplicably.

Modern JVMs also try to avoid doing GC if they can.  So, if you've given the 
JVM a large amount of memory, it will use it all before attempting a GC.

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



Tuning of Tomcat 5.5

2005-03-10 Thread Rolf Zelder

Hi Guys

For the last couple of days I tried to find some information regarding
tuning of Tomcat 5.5  Online or as a Book but couldn't find much. Where
could I get any information about this ?

I performed following steps to tune my tomcat.

1. Gave tomcat enough memory to run efficient
2. Increased the accpetCount,min/maxProcessors as well as the compression
for the AJP Connector (see below)



System Config.

Apache + tomcat 5.5 and Jboss 3.2.7

server.xml

Connector port=8009 
 minProcessors=50 maxProcessors=500 debug=0 
 enableLookups=false redirectPort=8443 acceptCount=1000 
 compression=on connectionTimeout=10 protocol=AJP/1.3 /



Cheers
  Rolf


 
Rolf Zelder 
Senior Software Architect
Stratum Communications 
16-22 Eastern Rd, South Melbourne, 
Vic, 3205 

Notice -This message contains privileged and confidential information
intended only for the use of the addressee named above. If you are not the
intended recipient of this message you are hereby notified that you must not
disseminate, copy or take any action in reliance on it. If you have received
this message in error please notify Stratum Communications immediately.




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



Multiple threads for one submit...how to limit?

2005-03-10 Thread Jonathan Wilson
I need some good advice:
I've got a production app running on a Redhat box that is having 
problems with the SAN which is causing all processes to slow/stall with 
heavy IO(CPU util is like 3%); the network/admin guys are working on 
that part but it's been ongoing. On two occasions during particularly 
heavy IO, TC 3.x stalls all threads while waiting for the SAN to respond 
(with file uploading/loading from SAN). Meanwhile a user is submitting a 
form, which takes too long for their taste, hits stop on the browser and 
submits again(and again...). I've got code to determine if they've 
submitted a form already, but that code doesn't get triggered till after 
the submit is actually handled by my servlet. So it may be 3/4 submits 
before the locks are finally in place...Any idea how I can lock this 
down? Isolating TC from SAN is not an option.

Thanks in advance,
JW
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


x509 Certificate Public key Problem - HELP

2005-03-10 Thread Sanjeev Srivastava
Hi all !

I am facing problem in displaying Public Key. When I
am pasring X509 certificate the Public Key is coming
as a very long String as as given in Format 1 below,
though it should come like as given in Format 2 below.


out.println(x509certificate.getPublicKey());

I am using Bouncy Castle API and after that only the
Public Key is coming like a long String. Please
advice. 


I tried to convert the Public key into byte array then
to String, but it is showing junk charaters. The
encoding for Publick key is ASN.1 DER but its is
giving error.

I need your advice .. Please HELP...! 

byte buf [] =
x509certificate.getPublicKey().getEncoded();
String s = new String(buf, UTF-8);
s= new String(s.getBytes(ISO8859_1), UTF-8);
out.println(s);


Format 1

RSA Public Key modulus:
cd288334541b89f30faf379131ffaf3160c9a8e8b21068ed9fe79336f10a64bb47f504173f23474dc5271981260c54720d882dd91f9a129fbcb371d380193f47667b8c3528d2b90adf24da9cd65079817a5ad337f7c24ad829922664d1e4986c3a008af5349b65f8ede310fffdb84958dca0de82396b81b1161961b954b6e643
public exponent: 3 


Format 2

SunJSSE RSA public key: public exponent: 010001
modulus: c90a4f87 1cb7a888 b668a7a2 3b6ceb7b 6c1f2ad8
d548a4d3 34b5cdce 32535ed3 d122116a d8afc534 082b8877
fdc6f728 66d0b743 935f868a 80be4a94 e4d953ca 69bbf480
ff0ba33b bb7f88a4 05403841 7d74b823 3499f387 76e8a8ad
a7fd0d91 07cda676 23df07ca d8afaa75 cfc245e7 10bb201d
f6308f10 52b5fb79 66ab41f9


Thanks xue daoming for conversion but its not working
, I tried searching the charset and encoding but no
solution till now


Best Regards,
Sanjeev

--- xue daoming [EMAIL PROTECTED] wrote:
 I think you can do as just below:
 byte[] buf  =
 x509certificate.getPublicKey().getEncoded();
 String s = new String(buf);
 
 
 On Thu, 10 Mar 2005 02:35:03 + (GMT), Sanjeev
 Srivastava
 [EMAIL PROTECTED] wrote:
  Hi All
  
  Can anybody tell me how to convert this Byte [] to
  String..
  
  byte[] buf =
  x509certificate.getPublicKey().getEncoded();
  
  Please help
  
  Thanks,
  Sanjeev
  
  Send instant messages to your online friends
 http://uk.messenger.yahoo.com
  
 

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

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

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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



Re: Limiting number of login attempts

2005-03-10 Thread Bob Feretich
I did it by providing a custom JDBC realm? If you use the existing realm 
as a model, the changes are not that difficult. The server.xml file 
allows you to specify the class path of the custom realm and pass 
database column names for failed_login_count and 
last_failed_login_timestamp as parameters. I placed my custom realm in 
$CATALINA_HOME/shared/classes/ and everything worked OK.

Note that this will make your web application Tomcat dependent.
Regards,
Bob Feretich

 Subject:
 Limiting number of login attempts
 From:
 Anderson, M. Paul [EMAIL PROTECTED]
 Date:
 Thu, 10 Mar 2005 12:54:41 -0500
 To:
 Tomcat Users List tomcat-user@jakarta.apache.org


 Is there a way to limit the number of login attempts for a user when
 using a JDBC realm?



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


Re: Multiple threads for one submit...how to limit?

2005-03-10 Thread Woodchuck
the way i handled this is with javascript.  

on my save button i simply invoke a javascript function on the onclick
event.  it checks a javascript page-scoped flag variable to see if save
button has been clicked or not.  if it has, then i popup a message
saying the previous submit is still being processed, otherwise i set
the flag variable and call form.submit().  this works even if they
press the browser stop button and then click the save button again.

basically, i'm doing the same thing as you are, but at the client-side
instead of the server side.

maybe there is a better way to handle this problem, but it has been
effective in my production app so far in belaying impatient users...

woodchuck


--- Jonathan Wilson [EMAIL PROTECTED] wrote:
 I need some good advice:
 
 I've got a production app running on a Redhat box that is having 
 problems with the SAN which is causing all processes to slow/stall
 with 
 heavy IO(CPU util is like 3%); the network/admin guys are working on 
 that part but it's been ongoing. On two occasions during particularly
 
 heavy IO, TC 3.x stalls all threads while waiting for the SAN to
 respond 
 (with file uploading/loading from SAN). Meanwhile a user is
 submitting a 
 form, which takes too long for their taste, hits stop on the browser
 and 
 submits again(and again...). I've got code to determine if they've 
 submitted a form already, but that code doesn't get triggered till
 after 
 the submit is actually handled by my servlet. So it may be 3/4
 submits 
 before the locks are finally in place...Any idea how I can lock this 
 down? Isolating TC from SAN is not an option.
 
 Thanks in advance,
 JW
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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



Re: Mapping context to root of website

2005-03-10 Thread Parsons Technical Services
Virtual Host
Then define each app as the ROOT context for that host.
Doug
- Original Message - 
From: Anderson, M. Paul [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, March 10, 2005 1:53 PM
Subject: RE: Mapping context to root of website

How would I do this if I am just using Tomcat (no apache, IIS, etc.)???
-Original Message-
From: Ronnie Tartar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 1:50 PM
To: Tomcat Users List
Subject: RE: Mapping context to root of website

Is there a way to do this with jk or jk2?
Thanks

-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 11:46 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website

This is how I use to be able to do it with mod_warp.
  WebAppConnection mps warp localhost:8019
  WebAppDeploy . mps /
Deployed the specific context to the root of the actual site leaving 1
instance of tomcat with multiple webapps.
Thanks
Ronnie Tartar
407-251-2036

-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 10:50 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website

Y, but you can only have one ROOT in the webapps folder?  Is this what
you are talking about?  I would like to have multiple contexts mapped to
the ROOT of different web servers.
http://www.test1.com/mapped to /context1
http://www.test2.com/mapped to /context2
http://www.test3.com/mapped to /context3
I have created my application as ROOT in the webapps folder, and that
does work, but without creating multiple tomcat instances, I can only
have one ROOT.
I always seem to have trouble with the connectors, thanks for your
patience.

Ronnie Tartar
407-251-2036

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 10:39 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website

Hi,
Yes this is extremely common and in TC 5.0 is configured using an empty
path attribute in the Context element and in 5.5 it is done by naming
your web application as ROOT. FOr IIS to TC look up JK 1.2.8, there's
even an installer. Your mappings would be /something=ajp13 rather than
/context/something=ajp13.
Good luck. Allistair.
-Original Message-
From: Ronnie Tartar [mailto:[EMAIL PROTECTED]
Sent: 07 March 2005 15:37
To: tomcat-user@jakarta.apache.org
Subject: Mapping context to root of website
Is there anyway to map a context to the root of a website.
 
For instance:  http://www.test.com/context/ to
 
http://www.test.com/
 
I know I can do this by creating mulitple Tomcat Instances but this is

not very efficient on resources.
 
I have done it with Mod_warp with success but need to do it on IIS and

Apache.
 
Is there a doc out there somewhere?
 
Thanks in advance.


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


RE: Mapping context to root of website

2005-03-10 Thread Anderson, M. Paul
I'm not sure I understand what you mean but I'll do some researching!  Thanks!


-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Thu 3/10/2005 9:42 PM
To: Tomcat Users List
Subject: Re: Mapping context to root of website
 
Virtual Host
Then define each app as the ROOT context for that host.


Doug

- Original Message - 
From: Anderson, M. Paul [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, March 10, 2005 1:53 PM
Subject: RE: Mapping context to root of website


How would I do this if I am just using Tomcat (no apache, IIS, etc.)???

-Original Message-
From: Ronnie Tartar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 1:50 PM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Is there a way to do this with jk or jk2?

Thanks



-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 11:46 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


This is how I use to be able to do it with mod_warp.

   WebAppConnection mps warp localhost:8019
   WebAppDeploy . mps /

Deployed the specific context to the root of the actual site leaving 1
instance of tomcat with multiple webapps.

Thanks

Ronnie Tartar
407-251-2036



-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 10:50 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Y, but you can only have one ROOT in the webapps folder?  Is this what
you are talking about?  I would like to have multiple contexts mapped to
the ROOT of different web servers.

http://www.test1.com/mapped to /context1
http://www.test2.com/mapped to /context2
http://www.test3.com/mapped to /context3

I have created my application as ROOT in the webapps folder, and that
does work, but without creating multiple tomcat instances, I can only
have one ROOT.

I always seem to have trouble with the connectors, thanks for your
patience.



Ronnie Tartar
407-251-2036



-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 10:39 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Hi,

Yes this is extremely common and in TC 5.0 is configured using an empty
path attribute in the Context element and in 5.5 it is done by naming
your web application as ROOT. FOr IIS to TC look up JK 1.2.8, there's
even an installer. Your mappings would be /something=ajp13 rather than
/context/something=ajp13.

Good luck. Allistair.

 -Original Message-
 From: Ronnie Tartar [mailto:[EMAIL PROTECTED]
 Sent: 07 March 2005 15:37
 To: tomcat-user@jakarta.apache.org
 Subject: Mapping context to root of website
 
 
 Is there anyway to map a context to the root of a website.
  
 For instance:  http://www.test.com/context/ to
  
 http://www.test.com/
  
 I know I can do this by creating mulitple Tomcat Instances but this is

 not very efficient on resources.
  
 I have done it with Mod_warp with success but need to do it on IIS and

 Apache.
  
 Is there a doc out there somewhere?
  
 Thanks in advance.
 


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]


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



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

Re: Mapping context to root of website

2005-03-10 Thread Parsons Technical Services
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html
Sorry for the short reply. I don't always get the luxury to go into details.
The above link will take to the host element. Each host element handles a 
URL (www.mytest.com).

What you do is copy the host element in the server.xml and paste it two time 
after the first one. Then change the default name from localhost to each of 
your URLs. Note leave the first host as localhost and deploy the app at the 
ROOT context. Then change other data such as doc path to create three 
separate unique environments or hosts.

For the second two deploy the app as the default context. This is different 
depending on the version of Tomcat.

If you type in your IP you will get the first app. If you type in the URL 
for your 2nd and 3rd you will get the corresponding app. If you point any 
other URL to your IP without setting up the virtual host element for it you 
will get your first app. That is the function of the app defined with 
localhost.

Hope this helps and as usual, I'm sure there is an error or five in there.
Doug
- Original Message - 
From: Anderson, M. Paul [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, March 10, 2005 9:52 PM
Subject: RE: Mapping context to root of website

I'm not sure I understand what you mean but I'll do some researching! 
Thanks!

-Original Message-
From: Parsons Technical Services [mailto:[EMAIL PROTECTED]
Sent: Thu 3/10/2005 9:42 PM
To: Tomcat Users List
Subject: Re: Mapping context to root of website
Virtual Host
Then define each app as the ROOT context for that host.
Doug
- Original Message - 
From: Anderson, M. Paul [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, March 10, 2005 1:53 PM
Subject: RE: Mapping context to root of website

How would I do this if I am just using Tomcat (no apache, IIS, etc.)???
-Original Message-
From: Ronnie Tartar [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 1:50 PM
To: Tomcat Users List
Subject: RE: Mapping context to root of website
Is there a way to do this with jk or jk2?
Thanks

-Original Message-
From: Ronnie Tartar
Sent: Monday, March 07, 2005 11:46 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website
This is how I use to be able to do it with mod_warp.
  WebAppConnection mps warp localhost:8019
  WebAppDeploy . mps /
Deployed the specific context to the root of the actual site leaving 1
instance of tomcat with multiple webapps.
Thanks
Ronnie Tartar
407-251-2036

-Original Message-
From: Ronnie Tartar
Sent: Monday, March 07, 2005 10:50 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website
Y, but you can only have one ROOT in the webapps folder?  Is this what
you are talking about?  I would like to have multiple contexts mapped to
the ROOT of different web servers.
http://www.test1.com/mapped to /context1
http://www.test2.com/mapped to /context2
http://www.test3.com/mapped to /context3
I have created my application as ROOT in the webapps folder, and that
does work, but without creating multiple tomcat instances, I can only
have one ROOT.
I always seem to have trouble with the connectors, thanks for your
patience.

Ronnie Tartar
407-251-2036

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 10:39 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website
Hi,
Yes this is extremely common and in TC 5.0 is configured using an empty
path attribute in the Context element and in 5.5 it is done by naming
your web application as ROOT. FOr IIS to TC look up JK 1.2.8, there's
even an installer. Your mappings would be /something=ajp13 rather than
/context/something=ajp13.
Good luck. Allistair.
-Original Message-
From: Ronnie Tartar [mailto:[EMAIL PROTECTED]
Sent: 07 March 2005 15:37
To: tomcat-user@jakarta.apache.org
Subject: Mapping context to root of website
Is there anyway to map a context to the root of a website.
For instance:  http://www.test.com/context/ to
http://www.test.com/
I know I can do this by creating mulitple Tomcat Instances but this is

not very efficient on resources.
I have done it with Mod_warp with success but need to do it on IIS and

Apache.
Is there a doc out there somewhere?
Thanks in advance.

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]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For 

RE: Connection pooling verse one connection per session

2005-03-10 Thread Caldarale, Charles R
 From: Mark Winslow [mailto:[EMAIL PROTECTED]
 Subject: RE: Connection pooling verse one connection per session
 
 Sorry, just had one other question about the use of
 static variables.  Can this really be a problem?  I
 thought that a static variable only gets a single copy
 per JVM/Context.  For instance the use of static
 variables to define formats shouls save on memory
 usage shouldn't it?

I didn't mean to imply earlier that all static variable usage was bad, just 
that it can be easily abused in a fashion that leads to memory leaks.  The 
usages you've outlined seem quite appropriate.

 - 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: load-balancing

2005-03-10 Thread Sng Wee Jim

I am using jk 1.2.8

My workers.properties
===
ps=\

worker.list=loadbalancer

worker.tomcat1.type=ajp13
worker.tomcat1.host=localhost
worker.tomcat1.port=8009
worker.tomcat1.lbfactor=1
worker.tomcat1.socket_timeout=5
worker.tomcat1.recycle_timeout=10


worker.tomcat2.type=ajp13
worker.tomcat2.host=localhost
worker.tomcat2.port=8209
worker.tomcat2.lbfactor=1
worker.tomcat2.socket_timeout=5
worker.tomcat2.recycle_timeout=10


worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tomcat1,tomcat2


- Jim




-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 9:46 PM
To: Tomcat Users List
Subject: Re: load-balancing

Sng Wee Jim wrote:
 I am using IIS 5.0 on Win2k Server edition. Will jk 1.2.9 solve the
issue for IIS too?


IIS and Apache on Windows are single child systems so the runtime data
was already shared among all clients.
I speak here about 1.2.8. Previous versions have lb code broken.

You'll have to give more details if jk 1.2.8 is what you are using,
at least the config params, etc...

Regards,
Mladen




The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorized. If you are not
an intended recipient, please notify the sender of this email
immediately. You should not copy, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.com/



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



Single Sign On(SSO) problem

2005-03-10 Thread xue daoming
Hi, All

How to config Single Single Sign On(SSO) in Tomcat? I read Tomcat
document, but I can't find information about it. Is something I miss?
Anybody carried out that can help me?
 
Thanks!

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