file transfer error

2008-01-02 Thread Rohit
Dear All,
I have a typical problem. When I am trying to copy files from through
tomcat on one computer to other computer then I get exceptions as :-

java.io.FileNotFoundException:
\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr (Access is denied)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.init(FileOutputStream.java:179)
 at java.io.FileOutputStream.init(FileOutputStream.java:131)
 at extractor.MovingFile.copyFile(MovingFile.java:43)
 at extractor.MovingFile.copyDirectory(MovingFile.java:31)
 at extractor.FileGeneratorServlet.doGet(FileGeneratorServlet.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:705)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
 at java.lang.Thread.run(Thread.java:534)

and also:-

sendKey()
java.io.IOException: Access is denied
 at java.io.WinNTFileSystem.createFileExclusively(Native Method)
 at java.io.File.createNewFile(File.java:828)
 at extractor.FileGeneratorServlet.sendKey(FileGeneratorServlet.java:425)
 at extractor.FileGeneratorServlet.doGet(FileGeneratorServlet.java:101)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:237)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:157)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:214)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:198)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:152)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137
)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at

Error when serving large Word doc

2008-01-02 Thread syg6

I am running Tomcat 5.5 on Windows 2000 Server. I have a jsp page with a
scriptlet that basically takes the 'out' object (JspWriter) and spits out a
bunch of info from the database along with Word formatting and using the
'msword' mime type. It is a total kludge, I know, but I didn't write it, I
just inherited it.

Anyway, when I have a lot of data the generated Word file is unable to be
opened. The process itself finishes correctly but it seems that when Tomcat
tries to serve it, it craps out. We're talking about less that 5Mb here, not
exactly a huge file.

I've been looking at increasing the bufferSize using the Jsp page directive
but doing so changes the error; it tells me that format is correct.

Is there anywhere in the server.xml (or somewhere else?) where I can
increase the maximum file size that Tomcat can serve?

Thanks,
Bob
-- 
View this message in context: 
http://www.nabble.com/Error-when-serving-large-Word-doc-tp14575610p14575610.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem getting GlobalNamingResources DataSource DBCP from Custom JAAS

2008-01-02 Thread Mariano
Hi all, I have a custom JAAS implemented in Tomcat 5.5.25. This custom JAAS
works fine and i am trying to implement the same custom JAAS in Tomcat
6.0.14 but i have a problem and after deep searching in mailing lists and
web I haven't found anything.

The configuration is the following:

server.xml:

GlobalNamingResources
Resource name=jdbc/dataSource_usuarios_aplicaciones_Local
  auth=Container
  type=javax.sql.DataSource
  description=BBDD MySQL 5.0 donde se almacenan los grupos 
de
usuarios.
  driverClassName=com.mysql.jdbc.Driver
  
factory=org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
  maxActive=20 maxIdle=10 maxWait=3
  minEvictableIdleTimeMillis=3
  username=dbcplodi
  password=infor123
  testOnBorrow=true
  testWhileIdle=true
  timeBetweenEvictionRunsMillis=1
  
url=jdbc:mysql://localhost:3306/usuarios_aplicaciones?autoRe
connectForPools=trueamp;connectTimeout=3
  validationQuery=SELECT 1 /
  /GlobalNamingResources


Engine name=Catalina defaultHost=localhost
...
Realm className=org.apache.catalina.realm.JAASRealm
 
resourceName=jdbc/dataSource_usuarios_aplicaciones_Local
 appName=UsuariosAplicaciones
 
userClassNames=org.sescam.chua.AutenticacionTomcatChua.Usuar
ioChuaLDAP
 
roleClassNames=org.sescam.chua.AutenticacionTomcatChua.Grupo
ChuaPrincipal/
...
/Engine

All libraries are placed in %TOMCAT_HOME%/lib folder.

I deleted the custom JAAS just to try if DBCP is well initialized with this
URL in navigator: http://localhost:9080/manager/resources and the DBCP is
correctly configured.

The tomcat server started with JVM
property: -Djava.security.auth.login.config=C:\...\jaas.config

The class that implements 'LoginModule' interface has the following code in
initialize method:

DataSource dataSourceSQL = null;
  try {
Context ctx = new InitialContext();
Context envContext = (Context) ctx.lookup(java:comp/env);

dataSourceSQL = (DataSource)
envContext.lookup(jdbc/dataSource_usuarios_aplicaciones_Local);
LoginModuloChua.entidadesDAO = new EntidadesDAO(dataSourceSQL);

  } catch (NamingException ex) {
LoginModuloChua.entidadesDAO = null;
log_ERROR(Se ha producido una NamingException con  +
  nombreJndiDBCP: ' + this.nombreJndiDBCP + ' en  +
  'initialize' - iniciando 'entidadesDAO':  +
  ex.getMessage());
ex.printStackTrace();
  }

And always throws the following exception:

javax.naming.NameNotFoundException: Name jdbc is not bound in this 
Context

Please any idea ?.

Best regards and thank you very much,

Mariano López



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RES: Servlet Filter Not Intercepting?

2008-01-02 Thread Milanez, Marcus
Hi,

Yes, filters atre supposed to intercept a requets just before it is accessed. 
Could you please post your filter config written in your web.xml file?

Yours,

Marcus Milanez
http://sumatrablog.wordpress.com

-Mensagem original-
De: Jay Liu [mailto:[EMAIL PROTECTED] 
Enviada em: terça-feira, 1 de janeiro de 2008 18:36
Para: users@tomcat.apache.org
Assunto: Servlet Filter Not Intercepting?

Hi all,

 

I'm having a problem with filters. I setup filter to block access to a resource 
unless the user is authenticated.

 

I've noticed that the resource is accessed then the filter kicks in and then 
loads.

 

I thought filters were supposed to intercept the request before the resource is 
accessed?

 

Is there something wrong with my xml configuration?

 

Thanks,

Jay


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 6's nio protocol is slower than the regular HTTP/1.1 protocol

2008-01-02 Thread Shlomi Tsur

Hi

We are testing the new nio connector, and in our load tests we are getting
30% better results

in terms of fetches/sec in favor of the old HTTP/1.1 protocol.

All we are doing in the servlet is just returning status 200 in the
response, nothing more.

Does the new io really slower then the regular protocol?

Thank you.


-- 
View this message in context: 
http://www.nabble.com/Tomcat-6%27s-nio-protocol-is-slower-than-the-regular-HTTP-1.1-protocol-tp14576203p14576203.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: (successful) Configuring gmail sending mail from Tomcat

2008-01-02 Thread Johan Borchers

I managed to send emails from a webapp in Tomcat using gmail.

The configuration is:

Resource name=mail/MyMailServerName
  auth=Container
  type=javax.mail.Session
  mail.transport.protocol=smtp
  mail.smtp.host=smtp.gmail.com
  mail.smtp.port=465
  mail.smtp.auth=true
  mail.smtp.user=[EMAIL PROTECTED]
  password=mypassword
  mail.smtp.starttls.enable=true
  mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
/

I didn't do anything with a keystore!

Johan

Deeþan Chakravarthy wrote:

Johan Borchers wrote:

Hello,

I'm using Tomcat 6.0.14 on windows 2003 server with JDK 1.5.0_12.
I'm using now my 'normal' email account for sending email.

Resource name=mail/MyMailServerName
  auth=Container
  type=javax.mail.Session
  mail.store.protocol=pop3
  mail.pop3.host=pop.myprovider.xxx
  mail.transport.protocol=smtp
  mail.smtp.host=mail.myprovider.xxx
  mail.smtp.port=25
  mail.smtp.auth=true
  mail.smtp.user=myusername
  password=mypassword
/

I want to use a gmail account for sending email from Tomcat.

Has anyone succesfully configured a gmail account for sending email 
from Tomcat.

I can't find the exact parameters to use.

My first try was this:

Resource name=mail/MyMailServerName
  auth=Container
  type=javax.mail.Session
  mail.store.protocol=pop3
  mail.pop3.host=pop.gmail.com
  mail.transport.protocol=smtps
  mail.smtp.starttls.enable=true
  mail.smtps.host=smtp.gmail.com
  mail.smtps.port=465
  mail.smtps.auth=true
  mail.smtps.user=[EMAIL PROTECTED]
  password=mypassword
/

I'm not sure if this is allright?
And I think I'll have to configure some keystore for a certificate.



Looks fine.. Did you try it out ? Does it work ?



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: file transfer error

2008-01-02 Thread Tim Funk
You don't have permission to write (or open?) files on the remote 
machine - check the permission tomcat is running as vs who can open 
files on the remote machine


(Access is denied)

-Tim

Rohit wrote:

Dear All,
I have a typical problem. When I am trying to copy files from 
through tomcat on one computer to other computer then I get exceptions as :-
 
java.io.FileNotFoundException: 
\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr 
file://\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr (Access is denied)

 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.init(FileOutputStream.java:179)
 at java.io.FileOutputStream.init(FileOutputStream.java:131)
 at extractor.MovingFile.copyFile(MovingFile.java:43)
 at extractor.MovingFile.copyDirectory(MovingFile.java:31)
 at extractor.FileGeneratorServlet.doGet(FileGeneratorServlet.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: file transfer error

2008-01-02 Thread Rohit
I have permissions to write files. I am able to do that manully and thorugh
single program also. I am not able to do it through tomcat.
Please let me know if there is some configuration required in tomcat.

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 6:12 PM
To: Tomcat Users List
Subject: Re: file transfer error


You don't have permission to write (or open?) files on the remote
machine - check the permission tomcat is running as vs who can open
files on the remote machine

(Access is denied)

-Tim

Rohit wrote:
 Dear All,
 I have a typical problem. When I am trying to copy files from
 through tomcat on one computer to other computer then I get exceptions as
:-

 java.io.FileNotFoundException:
 \\10.1.103.110\FileUpload\Punjab\02-jan-08.enr
 file://\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr (Access is denied)
  at java.io.FileOutputStream.open(Native Method)
  at java.io.FileOutputStream.init(FileOutputStream.java:179)
  at java.io.FileOutputStream.init(FileOutputStream.java:131)
  at extractor.MovingFile.copyFile(MovingFile.java:43)
  at extractor.MovingFile.copyDirectory(MovingFile.java:31)
  at extractor.FileGeneratorServlet.doGet(FileGeneratorServlet.java:97)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---
This e-mail message may contain confidential, proprietary or legally privileged 
information. It should not be used by anyone who is not the original intended 
recipient.If you have erroneously received this message, please delete it 
immediately and notify the sender. The recipient acknowledges that 3i Infotech 
or its subsidiaries and  associated companies, (collectively 3i Infotech), 
are unable to exercise control or ensure or guarantee the integrity of/over the 
contents of the information contained in e-mail transmissions and further 
acknowledges that any views expressed in this message are those of the 
individual sender and no binding nature of the message shall be implied or 
assumed unless the sender does so expressly with due authority of 3i Infotech. 
Before opening any attachments please check them for viruses and defects.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: file transfer error

2008-01-02 Thread Tim Funk
You may have permissions to write - but if you are running tomcat as a 
SYSTEM user (since I see windows specific stuff) - it does not.


This is not a tomcat (specific) issue.

-Tim

Rohit wrote:

I have permissions to write files. I am able to do that manully and thorugh
single program also. I am not able to do it through tomcat.
Please let me know if there is some configuration required in tomcat.

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 6:12 PM
To: Tomcat Users List
Subject: Re: file transfer error


You don't have permission to write (or open?) files on the remote
machine - check the permission tomcat is running as vs who can open
files on the remote machine

(Access is denied)

-Tim

Rohit wrote:

Dear All,
I have a typical problem. When I am trying to copy files from
through tomcat on one computer to other computer then I get exceptions as

:-

java.io.FileNotFoundException:
\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr
file://\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr (Access is denied)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.init(FileOutputStream.java:179)
 at java.io.FileOutputStream.init(FileOutputStream.java:131)
 at extractor.MovingFile.copyFile(MovingFile.java:43)
 at extractor.MovingFile.copyDirectory(MovingFile.java:31)
 at extractor.FileGeneratorServlet.doGet(FileGeneratorServlet.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: file transfer error

2008-01-02 Thread David Smith
But is tomcat using your user account or it's own?  Usually tomcat runs 
as a service and may not have the same access rights you do.  The 
exception seems pretty clear tomcat was denied permission to the file at 
file://\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr



--David

Rohit wrote:


I have permissions to write files. I am able to do that manully and thorugh
single program also. I am not able to do it through tomcat.
Please let me know if there is some configuration required in tomcat.

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 6:12 PM
To: Tomcat Users List
Subject: Re: file transfer error


You don't have permission to write (or open?) files on the remote
machine - check the permission tomcat is running as vs who can open
files on the remote machine

(Access is denied)

-Tim

Rohit wrote:
 


Dear All,
   I have a typical problem. When I am trying to copy files from
through tomcat on one computer to other computer then I get exceptions as
   


:-
 


java.io.FileNotFoundException:
\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr
file://\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.init(FileOutputStream.java:179)
at java.io.FileOutputStream.init(FileOutputStream.java:131)
at extractor.MovingFile.copyFile(MovingFile.java:43)
at extractor.MovingFile.copyDirectory(MovingFile.java:31)
at extractor.FileGeneratorServlet.doGet(FileGeneratorServlet.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---
This e-mail message may contain confidential, proprietary or legally privileged 
information. It should not be used by anyone who is not the original intended 
recipient.If you have erroneously received this message, please delete it immediately and 
notify the sender. The recipient acknowledges that 3i Infotech or its subsidiaries and  
associated companies, (collectively 3i Infotech), are unable to exercise 
control or ensure or guarantee the integrity of/over the contents of the information 
contained in e-mail transmissions and further acknowledges that any views expressed in 
this message are those of the individual sender and no binding nature of the message 
shall be implied or assumed unless the sender does so expressly with due authority of 3i 
Infotech. Before opening any attachments please check them for viruses and defects.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NamingException

2008-01-02 Thread AbelMacAdam

I have a piece of code that should get me a dataSource (from an example I'm
playing with from a Struts book):
[code]
try {
  logger.info(DAOBase.getConnection: == InitialContext ==);
  context = new InitialContext();
  logger.info(DAOBase.getConnection: == context.lookup  ==);
  dataSource = (DataSource)
context.lookup(java:/comp/env/jdbc/myDataSource);
}
catch (NamingException e) {
  logger.info(DAOBase.getConnection: == NamingException ==,
e.fillInStackTrace());  
  throw new DAOException();
}
[/code]

This is a piece of my logging:
[logging]
13:04:33,449 INFO  app15a.action.CreateCustomerAction - AMc: ++
getConnection 
13:04:33,449 INFO  app15a.action.CreateCustomerAction -
DAOBase.getConnection: == InitialContext ==
13:04:33,449 INFO  app15a.action.CreateCustomerAction -
DAOBase.getConnection: == context.lookup  ==
13:04:33,449 INFO  app15a.action.CreateCustomerAction -
DAOBase.getConnection: == NamingException ==
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at app15a.dao.DAOBase.getConnection(DAOBase.java:34)
at
app15a.dao.CustomerDAOMySQLImpl.createCustomer(CustomerDAOMySQLImpl.java:44)
at 
app15a.action.CreateCustomerAction.execute(CreateCustomerAction.java:44)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Unknown Source)
[/logging]

As you might have noticed, I'm fairly new to this part of the neighborhood.
What should I do to remove this error?

I was advised to put the JDBC driver in the common/lib directory of my
TOMCAT_HOME. I don't have a common directory. I do have a TOMCAT_HOME/lib
directory. Am I correct in assuming I put my driver in that directory?

I also added the following Context element to my
TOMCAT_HOME/conf/server.xml:
[code]
!-- AMc: 02/01/2008: MySQL DataSource Object --
Context path=/app15a docBase=app15a reloadable=true debug=8
Loader checkInterval=7 reloadable=true /
Resource name=jdbc/myDataSource auth=Container
type=javax.sql.DataSource /
ResourceParams name=jdbc/myDataSource
parameter
namefactory/name
   
valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
parameter
namemaxActive/name
value100/value
/parameter
parameter
namemaxWait/name
value1/value
/parameter
parameter
nameusername/name
valueroot/value
/parameter
parameter
namepassword/name
value/value
/parameter
parameter
namedriverClass/name
valuecom.mysql.jdbc.Driver/value
/parameter
parameter
nameurl/name
valuejdbc:mysql://localhost/test/value
/parameter
/ResourceParams
/Context
  /Service
/Server
[/code]
Am I correct in assuming this piece of code does not contain a reference to
my JDBC driver? 

Any help would be appreciated, as I do not see what else I can do.

TIA,
Abel
-- 
View this message in context: 
http://www.nabble.com/NamingException-tp14578063p14578063.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new 

RE: NamingException

2008-01-02 Thread Mariano
First of all if you are working with tomcat 5.5 you have to put your jdbc
library file in TOMCAT_HOME/common/lib but if you are using Tomcat 6.0 you
have to put files in TOMCAT_HOME/lib.

I think that ResourceParams is nested to Resource and you have it out of
Resource.

You must follow guidelines in
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
to create DBCP.

I hope this help you.

Mariano

-Mensaje original-
De: AbelMacAdam [mailto:[EMAIL PROTECTED]
Enviado el: miercoles, 02 de enero de 2008 14:05
Para: users@tomcat.apache.org
Asunto: NamingException



I have a piece of code that should get me a dataSource (from an example I'm
playing with from a Struts book):
[code]
try {
  logger.info(DAOBase.getConnection: == InitialContext ==);
  context = new InitialContext();
  logger.info(DAOBase.getConnection: == context.lookup  ==);
  dataSource = (DataSource)
context.lookup(java:/comp/env/jdbc/myDataSource);
}
catch (NamingException e) {
  logger.info(DAOBase.getConnection: == NamingException ==,
e.fillInStackTrace());
  throw new DAOException();
}
[/code]

This is a piece of my logging:
[logging]
13:04:33,449 INFO  app15a.action.CreateCustomerAction - AMc: ++
getConnection 
13:04:33,449 INFO  app15a.action.CreateCustomerAction -
DAOBase.getConnection: == InitialContext ==
13:04:33,449 INFO  app15a.action.CreateCustomerAction -
DAOBase.getConnection: == context.lookup  ==
13:04:33,449 INFO  app15a.action.CreateCustomerAction -
DAOBase.getConnection: == NamingException ==
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at app15a.dao.DAOBase.getConnection(DAOBase.java:34)
at
app15a.dao.CustomerDAOMySQLImpl.createCustomer(CustomerDAOMySQLImpl.java:44)
at 
app15a.action.CreateCustomerAction.execute(CreateCustomerAction.java:44)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:
852)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(H
ttp11AprProtocol.java:584)
at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Unknown Source)
[/logging]

As you might have noticed, I'm fairly new to this part of the neighborhood.
What should I do to remove this error?

I was advised to put the JDBC driver in the common/lib directory of my
TOMCAT_HOME. I don't have a common directory. I do have a TOMCAT_HOME/lib
directory. Am I correct in assuming I put my driver in that directory?

I also added the following Context element to my
TOMCAT_HOME/conf/server.xml:
[code]
!-- AMc: 02/01/2008: MySQL DataSource Object --
Context path=/app15a docBase=app15a reloadable=true debug=8
Loader checkInterval=7 reloadable=true /
Resource name=jdbc/myDataSource auth=Container
type=javax.sql.DataSource /
ResourceParams name=jdbc/myDataSource
parameter
namefactory/name

valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter
parameter
namemaxActive/name
value100/value
/parameter
parameter
namemaxWait/name
value1/value
/parameter
parameter
nameusername/name
valueroot/value
/parameter
parameter
namepassword/name
value/value
/parameter
parameter
namedriverClass/name
valuecom.mysql.jdbc.Driver/value
/parameter

RE: file transfer error

2008-01-02 Thread Rohit
I have tried logging tomcat with my network user id and password but still I
am getting same error.
Please help in this regard

-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 6:26 PM
To: Tomcat Users List
Subject: Re: file transfer error


But is tomcat using your user account or it's own?  Usually tomcat runs
as a service and may not have the same access rights you do.  The
exception seems pretty clear tomcat was denied permission to the file at
file://\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr


--David

Rohit wrote:

I have permissions to write files. I am able to do that manully and thorugh
single program also. I am not able to do it through tomcat.
Please let me know if there is some configuration required in tomcat.

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 6:12 PM
To: Tomcat Users List
Subject: Re: file transfer error


You don't have permission to write (or open?) files on the remote
machine - check the permission tomcat is running as vs who can open
files on the remote machine

(Access is denied)

-Tim

Rohit wrote:


Dear All,
I have a typical problem. When I am trying to copy files from
through tomcat on one computer to other computer then I get exceptions as


:-


java.io.FileNotFoundException:
\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr
file://\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr (Access is denied)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.init(FileOutputStream.java:179)
 at java.io.FileOutputStream.init(FileOutputStream.java:131)
 at extractor.MovingFile.copyFile(MovingFile.java:43)
 at extractor.MovingFile.copyDirectory(MovingFile.java:31)
 at extractor.FileGeneratorServlet.doGet(FileGeneratorServlet.java:97)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---
This e-mail message may contain confidential, proprietary or legally
privileged information. It should not be used by anyone who is not the
original intended recipient.If you have erroneously received this message,
please delete it immediately and notify the sender. The recipient
acknowledges that 3i Infotech or its subsidiaries and  associated companies,
(collectively 3i Infotech), are unable to exercise control or ensure or
guarantee the integrity of/over the contents of the information contained in
e-mail transmissions and further acknowledges that any views expressed in
this message are those of the individual sender and no binding nature of the
message shall be implied or assumed unless the sender does so expressly with
due authority of 3i Infotech. Before opening any attachments please check
them for viruses and defects.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---
This e-mail message may contain confidential, proprietary or legally privileged 
information. It should not be used by anyone who is not the original intended 
recipient.If you have erroneously received this message, please delete it 
immediately and notify the sender. The recipient acknowledges that 3i Infotech 
or its subsidiaries and  associated companies, (collectively 3i Infotech), 
are unable to exercise control or ensure or guarantee the integrity of/over the 
contents of the information contained in e-mail transmissions and further 
acknowledges that any views expressed in this message are those of the 
individual sender and no binding nature of the message shall be implied or 
assumed unless the sender does so expressly with due authority of 3i Infotech. 
Before opening any attachments please check them for viruses and defects.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mod_spnego SingleSignOn over mod_jk

2008-01-02 Thread Cenk Oguz
Hey Rainer!

On Wed, Jan 02, 2008 at 07:39:49AM +0100, Rainer Jung wrote:
 Hi Cenk,
 
 For me the mod_spnego code looks like it only set the usual
 authenticated user var, so the name of the user will be available for
 the webapp only by using request.getRemoteUser() and not via an http header.

Yes I got that impression. I was thinking that perhaps the RequestHeader 
directive from mod_headers could be used to set a REMOTE_USER header, using the 
REMOTE_USER variable that mod_spnego should have set. 

But it seems to be a question of timing, needing authentication to have taken 
place and the REMOTE_USER variable to have been set before RequestHeader 
actions take place. I will simply have to test this out when I have time.

 
  Also, will autentication take place before mod_jk forwards the
  request? If mod_jk acts before autentication there is no point in
  proceding with this.
 
 It looks like the two modules play nicely together. mod_spnego only uses
 the auth slots and mod_jk totally ignores those. That should be fine.
 
 You shoulkd check, if mod_spnego does work fine with Location
 directives and not only with Directory. I would expect that, but the
 docs are not clear about it.

Looking at forum messages at sf mod_spnego site it seems that Location 
directives worked out whereas Directory directives did not.

Thanks!
Cenk

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: War File Deployment - Permissions for ftp account

2008-01-02 Thread Carsten Schmitz
Thanks for your suggests Juha.

Managed it by using ACLs. Default group rights are rw now for the
webapps folder and Tomcat is unpacking with rw for the group now.

I will check the umask from tomcat in the evening, but the ACL solution
seems to be quicker and safer, because I can set the permissions for
every virtual host if I've got the need for it and leave the default
permissions for those who don't need this feature.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: NamingException

2008-01-02 Thread David Smith
ResourceParams doesn't exist in tomcat 5.5, 6.0.  All those parameters 
became attributes of the Resource .../ element.  What version of 
tomcat are you using Abel?


--David

Mariano wrote:


First of all if you are working with tomcat 5.5 you have to put your jdbc
library file in TOMCAT_HOME/common/lib but if you are using Tomcat 6.0 you
have to put files in TOMCAT_HOME/lib.

I think that ResourceParams is nested to Resource and you have it out of
Resource.

You must follow guidelines in
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
to create DBCP.

I hope this help you.

Mariano

-Mensaje original-
De: AbelMacAdam [mailto:[EMAIL PROTECTED]
Enviado el: miercoles, 02 de enero de 2008 14:05
Para: users@tomcat.apache.org
Asunto: NamingException



I have a piece of code that should get me a dataSource (from an example I'm
playing with from a Struts book):
[code]
   try {
 logger.info(DAOBase.getConnection: == InitialContext ==);
 context = new InitialContext();
 logger.info(DAOBase.getConnection: == context.lookup  ==);
 dataSource = (DataSource)
context.lookup(java:/comp/env/jdbc/myDataSource);
   }
   catch (NamingException e) {
 logger.info(DAOBase.getConnection: == NamingException ==,
e.fillInStackTrace());
 throw new DAOException();
   }
[/code]

This is a piece of my logging:
[logging]
13:04:33,449 INFO  app15a.action.CreateCustomerAction - AMc: ++
getConnection 
13:04:33,449 INFO  app15a.action.CreateCustomerAction -
DAOBase.getConnection: == InitialContext ==
13:04:33,449 INFO  app15a.action.CreateCustomerAction -
DAOBase.getConnection: == context.lookup  ==
13:04:33,449 INFO  app15a.action.CreateCustomerAction -
DAOBase.getConnection: == NamingException ==
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
at app15a.dao.DAOBase.getConnection(DAOBase.java:34)
at
app15a.dao.CustomerDAOMySQLImpl.createCustomer(CustomerDAOMySQLImpl.java:44)
at 
app15a.action.CreateCustomerAction.execute(CreateCustomerAction.java:44)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:
852)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(H
ttp11AprProtocol.java:584)
at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Unknown Source)
[/logging]

As you might have noticed, I'm fairly new to this part of the neighborhood.
What should I do to remove this error?

I was advised to put the JDBC driver in the common/lib directory of my
TOMCAT_HOME. I don't have a common directory. I do have a TOMCAT_HOME/lib
directory. Am I correct in assuming I put my driver in that directory?

I also added the following Context element to my
TOMCAT_HOME/conf/server.xml:
[code]
   !-- AMc: 02/01/2008: MySQL DataSource Object --
   Context path=/app15a docBase=app15a reloadable=true debug=8
   Loader checkInterval=7 reloadable=true /
   Resource name=jdbc/myDataSource auth=Container
type=javax.sql.DataSource /
   ResourceParams name=jdbc/myDataSource
   parameter
   namefactory/name

valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
   /parameter
   parameter
   namemaxActive/name
   value100/value
   /parameter
   parameter
   namemaxWait/name
   value1/value
   /parameter
   parameter
   nameusername/name
   valueroot/value
   /parameter
   parameter
   namepassword/name
   value/value
   

RE: Tomcat 6's nio protocol is slower than the regular HTTP/1.1 protocol

2008-01-02 Thread Martin Gainty

  Hi  We are testing the new nio connector, and in our load tests we are 
  getting 30% better results  in terms of fetches/sec in favor of the old 
  HTTP/1.1 protocol.  All we are doing in the servlet is just returning 
  status 200 in the response, nothing more.  Does the new io 
Rewhat new io?
really slower then the regular protocol?
Redo you mean HTTP/1.0 ?  Thank you.ReYou're welcome  --  View this 
message in context: 
http://www.nabble.com/Tomcat-6%27s-nio-protocol-is-slower-than-the-regular-HTTP-1.1-protocol-tp14576203p14576203.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.   
- To start 
a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL 
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 
_
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007

Tomcat 6.x for 64 bit OS

2008-01-02 Thread Indudhar Devanath

Hi,

We are looking for 64 bit Tomcat 6.x version to be run as service on 
Windows Server.  We did find many solutions on the web, but is there any 
official version from Apache group? 


Indudhar

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 6.x for 64 bit OS

2008-01-02 Thread Gregor Schneider
The official Apache-solution is imho

- get the sources at
http://ftp.hosting-studio.de/pub/linux/apache/tomcat/tomcat-6/v6.0.14/src/apache-tomcat-6.0.14-src.zip
- compile it on your 64bit-platform using a 64bit-JDK using the
provided Ant-build-script

Cheers

Gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 6.x for 64 bit OS

2008-01-02 Thread Andrew Miehs

On 02/01/2008, at 3:43 PM, Gregor Schneider wrote:


The official Apache-solution is imho

- get the sources at
http://ftp.hosting-studio.de/pub/linux/apache/tomcat/tomcat-6/v6.0.14/src/apache-tomcat-6.0.14-src.zip
- compile it on your 64bit-platform using a 64bit-JDK using the
provided Ant-build-script


Actually - the official Apache solution is to download it from here...

http://tomcat.apache.org/download-60.cgi

No need to recompile it.

CHeers

Andrew

smime.p7s
Description: S/MIME cryptographic signature


Re: Tomcat 6.x for 64 bit OS

2008-01-02 Thread Gregor Schneider
arfgl... must still have some alcohol in my brains from the last party...

indudhar:

java byte-code is always the same on any platform.

the only thing what you need is a 64-bit-java-runtime.

having this, you can just run the precompiled java-bytecode which
*should* use the 64bit-benefits (like extended memory-alloc)

cheers

gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 6.x for 64 bit OS

2008-01-02 Thread Caldarale, Charles R
 From: Gregor Schneider [mailto:[EMAIL PROTECTED] 
 Subject: Re: Tomcat 6.x for 64 bit OS
 
 - compile it on your 64bit-platform using a 64bit-JDK using the
 provided Ant-build-script

That would be a waste of time, since pure Java programs are completely
platform independent, and, other than the APR connector, Tomcat is pure
Java.

The OP was asking about running Tomcat as a service on a 64-bit Windows
box, which requires a 64-bit version of the launcher (tomcat6.exe) and
service wrapper (tomcat6w.exe); these are not Java programs, and I'm not
sure where to find binary versions.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: mod_spnego SingleSignOn over mod_jk

2008-01-02 Thread Martin Gainty

good pointcan you display for us the Directory configuration in httpd.conf 
 
e.g. something like
 
#assume you do not have mod_auth_sspi 
http://sourceforge.net/projects/mod-auth-sspi/
Directory /home/bob/apache2/htdocs
Options Indexes FollowSymLinks
AllowOverride AuthConfig
Order allow,deny
Allow from all
# not valid with SSPI
Krb5KeyTabFile /home/alice/krb5kt
#
Krb5ServiceName HTTP
/Directory
Martin__Disclaimer and 
confidentiality noteEverything in this e-mail and any attachments relates to 
the official business of Sender. This transmission is of a confidential nature 
and Sender does not endorse distribution to any party other than intended 
recipient. Sender does not necessarily endorse content contained within this 
transmission. Date: Wed, 2 Jan 2008 07:39:49 +0100 From: [EMAIL PROTECTED] 
To: users@tomcat.apache.org Subject: Re: mod_spnego SingleSignOn over mod_jk 
 Hi Cenk,  Cenk Oguz schrieb:  I am looking into configuring SingleSignOn 
Kerberos authentication in  a Tomcat application using SPNEGO authentication 
on a Apache2  frontend server. The fontend apache2 currently forwards all 
requests  to Tomcat through mod_jk.As I see there is an apache2 
module for Kerberos authentication  without user intervention, mod_spnego. 
  However I am curious of knowing if it is possible using mod_spnego to  
forward the authenticated user/principal in a http header to Tomcat  from 
Apache, in the mod_jk stream. The packaged Tomcat application  requires an 
http header that containes the user.  For me the mod_spnego code looks like 
it only set the usual authenticated user var, so the name of the user will be 
available for the webapp only by using request.getRemoteUser() and not via an 
http header.   Also, will autentication take place before mod_jk forwards 
the  request? If mod_jk acts before autentication there is no point in  
proceding with this.  It looks like the two modules play nicely together. 
mod_spnego only uses the auth slots and mod_jk totally ignores those. That 
should be fine.  You shoulkd check, if mod_spnego does work fine with 
Location directives and not only with Directory. I would expect that, but 
the docs are not clear about it.   Has anyone had experience in this?  No 
experience from me, this is just from a quick look at the code.   /Cenk  
Regards,  Rainer   
- To start 
a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL 
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 
_
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007

RE: Tomcat 6's nio protocol is slower than the regular HTTP/1.1protocol

2008-01-02 Thread Caldarale, Charles R
 From: Shlomi Tsur [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat 6's nio protocol is slower than the regular 
 HTTP/1.1protocol
 
 Does the new io really slower then the regular protocol?

Yes; read this:
http://marc.info/?l=tomcat-userm=119635696312254w=2

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 6.x for 64 bit OS

2008-01-02 Thread Indudhar Devanath

The OP was asking about running Tomcat as a service on a 64-bit Windows
box, which requires a 64-bit version of the launcher (tomcat6.exe) and
service wrapper (tomcat6w.exe); these are not Java programs


Thats right Chuck.  I did find something here.

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

But I couldn't find anything for Tomcat 6.x

Indu

 Original Message  
Subject: Re: Tomcat 6.x for 64 bit OS
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Date: Wednesday, January 02, 2008 10:08:30 AM

From: Gregor Schneider [mailto:[EMAIL PROTECTED] 
Subject: Re: Tomcat 6.x for 64 bit OS


- compile it on your 64bit-platform using a 64bit-JDK using the
provided Ant-build-script


That would be a waste of time, since pure Java programs are completely
platform independent, and, other than the APR connector, Tomcat is pure
Java.

The OP was asking about running Tomcat as a service on a 64-bit Windows
box, which requires a 64-bit version of the launcher (tomcat6.exe) and
service wrapper (tomcat6w.exe); these are not Java programs, and I'm not
sure where to find binary versions.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 6.x for 64 bit OS

2008-01-02 Thread Caldarale, Charles R
 From: Indudhar Devanath [mailto:[EMAIL PROTECTED] 
 Subject: Re: Tomcat 6.x for 64 bit OS
 
 But I couldn't find anything for Tomcat 6.x

Filip H put 64-bit 5.5 versions of procrun* here:
http://svn.apache.org/viewvc/tomcat/connectors/tags/tc5.5.x/TOMCAT_5_5_2
5/procrun/bin/amd64/

(But watch out - the names of the .exe files may be reversed.)

With the 32-bit versions, you could just rename tomcat5*.exe to
tomcat6*.exe and they would function properly with the newer level; the
same is likely true for the 64-bit ones.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: clarification of server.xml settings for AJP 1.3 Thread Limit

2008-01-02 Thread Rainer Jung
Mohan2005 schrieb:
 Question 02
 
 Recently we have made our jboss servers j2ee compliant, earlier it was not.
 Earlier we used the Apache front end to render all static pages such as
 image files, php files etc...
 
 Now we cannot do that,  AS FAR AS WE KNOW, as j2ee does not allow it. So we
 render everything from the jboss servers.
 
 This has taxed our jboss servers and Apache is basically idle only doing
 mod_jk load balancing while un-mounting all jpeg, gif, etc... files.
 
 Is there a way we can have J2EE and have ONLY Apache render these static
 pages ?

If you can describe in terms of URL prefixes and/or suffixes, which URLs
belong to static content, you can do that by deploying a copy of the
static content on the web server and using corresponding URL patterns in
JkMount and JkUnMount.

 Thanks in Advance
 Reg
 mohan

Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat status 75 error

2008-01-02 Thread Paul Beattie
Hi,

I have a series of relatively high transaction volume tomcat servers
which are sporadically hitting thread issues.  We run with with tomcat
4.1.27 at the current time.  The behaviour we notice is after several
days of around one hundred thousand transactions our tomcat instances
hang with the catalina.out message of:

SEVERE: All threads are busy, waiting. Please increase maxThreads or
check the servlet status75 75
Stopping service Tomcat-Standalone

I've done a quite a lot of reading on this and in some cases there is an
indication that moving to a later tomcat version alleviates the issue. 
However in many others it indicates that this problem is due solely to
the code whereby the threads are not exiting cleanly.  We have a classic
3-tier architecture and we can see the db connections closing.  I have
tired reproducing this error on a tomcat 5 environment and I get a
similar but not identical error:

org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (15) are currently busy, waiting. Increase
maxThreads (15) or check the servlet status

The tomcat install continues to function correctly after this has
occurred.   What I would like to know is do the 2 error messages
correspond to the same underlying issue.  I strongly suspect it is an
application code issue so I would like to be able to count Tomcat out of
the loop.

Thanks,

Paul

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: clarification of server.xml settings for AJP 1.3 Thread Limit

2008-01-02 Thread Mohan2005

Thank you very much. 
We will try this, and inquire further if we run into complications.

On Question Once;
To increase maximum thread limit for AJP 1.3 on jboss's server.xml

Is it MaxThreads or MaxProcessors please ?


Thanks and Regards
Mohan



Rainer Jung-3 wrote:
 
 Mohan2005 schrieb:
 Question 02
 
 Recently we have made our jboss servers j2ee compliant, earlier it was
 not.
 Earlier we used the Apache front end to render all static pages such as
 image files, php files etc...
 
 Now we cannot do that,  AS FAR AS WE KNOW, as j2ee does not allow it. So
 we
 render everything from the jboss servers.
 
 This has taxed our jboss servers and Apache is basically idle only doing
 mod_jk load balancing while un-mounting all jpeg, gif, etc... files.
 
 Is there a way we can have J2EE and have ONLY Apache render these static
 pages ?
 
 If you can describe in terms of URL prefixes and/or suffixes, which URLs
 belong to static content, you can do that by deploying a copy of the
 static content on the web server and using corresponding URL patterns in
 JkMount and JkUnMount.
 
 Thanks in Advance
 Reg
 mohan
 
 Regards,
 
 Rainer
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/clarification-of-server.xml-settings-for-AJP-1.3-Thread-Limit-tp14581745p14582636.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: clarification of server.xml settings for AJP 1.3 Thread Limit

2008-01-02 Thread Caldarale, Charles R
 From: Mohan2005 [mailto:[EMAIL PROTECTED] 
 Subject: Re: clarification of server.xml settings for AJP 1.3 
 Thread Limit

 on jboss side server.xml file, we wish to increase the 
 maximum THREAD count for the AJP 1.3 connector port 8009;
 Which parameter is used to do this ?

What do the docs say?
http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html

 Earlier we used the Apache front end to render all static 
 pages such as image files, php files etc...

 Now we cannot do that,  AS FAR AS WE KNOW, as j2ee does 
 not allow it.

Where in the J2EE specs did you find that restriction?

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat status 75 error

2008-01-02 Thread Rainer Jung
Hi Paul,

Paul Beattie schrieb:
 Hi,
 
 I have a series of relatively high transaction volume tomcat servers
 which are sporadically hitting thread issues.  We run with with tomcat
 4.1.27 at the current time.  The behaviour we notice is after several
 days of around one hundred thousand transactions our tomcat instances
 hang with the catalina.out message of:
 
 SEVERE: All threads are busy, waiting. Please increase maxThreads or
 check the servlet status75 75
 Stopping service Tomcat-Standalone
 
 I've done a quite a lot of reading on this and in some cases there is an
 indication that moving to a later tomcat version alleviates the issue. 
 However in many others it indicates that this problem is due solely to
 the code whereby the threads are not exiting cleanly.  We have a classic
 3-tier architecture and we can see the db connections closing.  I have
 tired reproducing this error on a tomcat 5 environment and I get a
 similar but not identical error:
 
 org.apache.tomcat.util.threads.ThreadPool logFull
 SEVERE: All threads (15) are currently busy, waiting. Increase
 maxThreads (15) or check the servlet status

If all threads are busy, you can do a thread dump (kill -QUIT) for the
Java process to find out, what they are actually doing. The result goes
into catalina.out. A thread dump contains the full stack for each thread
in the JVM. The Java process will proceed with the usual work after
writing out the stacks. If all threads are busy, either the load is
higher than expected, or the things your threads are doing are running
slower than expected. In the stack you could see e.g. if threads are
waiting for database results etc.

The above message also indicates, that you have only 15 threads
configured. It's quite possible, that this is a somewhat small thread pool.

B.T.W.: 4.1.27 is a little old. If you need to stick with 4.1, there is
4.1.36 already. I'm not saying, that an update will help, but it could
be a good general cleanup thing.

 The tomcat install continues to function correctly after this has
 occurred.   What I would like to know is do the 2 error messages
 correspond to the same underlying issue.  I strongly suspect it is an
 application code issue so I would like to be able to count Tomcat out of
 the loop.
 
 Thanks,
 
 Paul

Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JSF and SSI

2008-01-02 Thread Joe Riopel
I don't know much about your project, but based on your question
Facelets might be easier than plain JSF for handling your SSI.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat status 75 error

2008-01-02 Thread Martin Gainty

Good CallIf you can upgrade to TC 6 you can use this shared threadPool (being 
mindful that you need to configure before Connector)
http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html
In any event the statement of taking tomcat out of the loop requires 
clarification
Martin__Disclaimer and 
confidentiality noteEverything in this e-mail and any attachments relates to 
the official business of Sender. This transmission is of a confidential nature 
and Sender does not endorse distribution to any party other than intended 
recipient. Sender does not necessarily endorse content contained within this 
transmission. Date: Wed, 2 Jan 2008 19:24:18 +0100 From: [EMAIL PROTECTED] 
To: users@tomcat.apache.org Subject: Re: Tomcat status 75 error  Hi Paul,  
Paul Beattie schrieb:  Hi,I have a series of relatively high 
transaction volume tomcat servers  which are sporadically hitting thread 
issues. We run with with tomcat  4.1.27 at the current time. The behaviour we 
notice is after several  days of around one hundred thousand transactions our 
tomcat instances  hang with the catalina.out message of:SEVERE: All 
threads are busy, waiting. Please increase maxThreads or  check the servlet 
status75 75  Stopping service Tomcat-StandaloneI've done a quite a 
lot of reading on this and in some cases there is an  indication that moving 
to a later tomcat version alleviates the issue.   However in many others it 
indicates that this problem is due solely to  the code whereby the threads 
are not exiting cleanly. We have a classic  3-tier architecture and we can 
see the db connections closing. I have  tired reproducing this error on a 
tomcat 5 environment and I get a  similar but not identical error:
org.apache.tomcat.util.threads.ThreadPool logFull  SEVERE: All threads (15) 
are currently busy, waiting. Increase  maxThreads (15) or check the servlet 
status  If all threads are busy, you can do a thread dump (kill -QUIT) for 
the Java process to find out, what they are actually doing. The result goes 
into catalina.out. A thread dump contains the full stack for each thread in 
the JVM. The Java process will proceed with the usual work after writing out 
the stacks. If all threads are busy, either the load is higher than expected, 
or the things your threads are doing are running slower than expected. In the 
stack you could see e.g. if threads are waiting for database results etc.  
The above message also indicates, that you have only 15 threads configured. 
It's quite possible, that this is a somewhat small thread pool.  B.T.W.: 
4.1.27 is a little old. If you need to stick with 4.1, there is 4.1.36 
already. I'm not saying, that an update will help, but it could be a good 
general cleanup thing.   The tomcat install continues to function correctly 
after this has  occurred. What I would like to know is do the 2 error 
messages  correspond to the same underlying issue. I strongly suspect it is 
an  application code issue so I would like to be able to count Tomcat out of 
 the loop.Thanks,Paul  Regards,  Rainer  
- To start 
a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL 
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 
_
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007

RE: clarification of server.xml settings for AJP 1.3 Thread Limit

2008-01-02 Thread Mohan2005

thank you. we will look into this.

Caldarale, Charles R wrote:
 
 From: Mohan2005 [mailto:[EMAIL PROTECTED] 
 Subject: Re: clarification of server.xml settings for AJP 1.3 
 Thread Limit
 
 on jboss side server.xml file, we wish to increase the 
 maximum THREAD count for the AJP 1.3 connector port 8009;
 Which parameter is used to do this ?
 
 What do the docs say?
 http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html
 
 Earlier we used the Apache front end to render all static 
 pages such as image files, php files etc...

 Now we cannot do that,  AS FAR AS WE KNOW, as j2ee does 
 not allow it.
 
 Where in the J2EE specs did you find that restriction?
 
  - 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 start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/clarification-of-server.xml-settings-for-AJP-1.3-Thread-Limit-tp14581745p14584123.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat status 75 error

2008-01-02 Thread Caldarale, Charles R
 From: Martin Gainty [mailto:[EMAIL PROTECTED] 
 Subject: RE: Tomcat status 75 error
 
 Good CallIf you can upgrade to TC 6 you can use this shared 
 threadPool (being mindful that you need to configure before Connector)
 http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html

Don't do that.  The perfomance of the executor does not measure up (nor
does using an executor have any bearing on the problem):
http://marc.info/?l=tomcat-userm=118002259402411w=2

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error when serving large Word doc

2008-01-02 Thread Mark Thomas
syg6 wrote:
 Is there anywhere in the server.xml (or somewhere else?) where I can
 increase the maximum file size that Tomcat can serve?

There is no such limit. There were some bugs around the 2GB mark but I
believe these have all since been resolved.

Mark


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem getting GlobalNamingResources DataSource DBCP from Custom JAAS

2008-01-02 Thread Mark Thomas
Mariano wrote:
 Please any idea ?.

Try looking at how the DataSourceRealm does it.

http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/catalina/realm/DataSourceRealm.java

Mark


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



other ways to change the Connector element in server.xml?

2008-01-02 Thread Anna Nhan

Hi,

Is there a way to change the Connector element in server.xml without
manually editing the file?  Could we, for example, change the
CATALINA_OPTS line using a script or C code to choose whether to use
HTTP or HTTPS,  the file path to the keystore and keystore password,
and whether or not the server should require client authentication?

Thanks,
Anna 



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



need help with Tomcat-generated redirects

2008-01-02 Thread Julian Dunn
Hi,

I have some applications running under a Tomcat installation set up in this way:

[load balancer on port 80] --- [Apache server on port 5001] -- [Tomcat server 
on port 7001]

One of the Tomcat applications sends a redirect to Apache because there is a 
welcome-file directive. However, the redirect that is sent says:

www.site.com:5001/foo/bar.jsp

instead of

www.site.com/foo/bar.jsp

On the Apache side, I already have ServerName set to www.site.com:80 to solve 
this problem for mod_rewrite. What is the corresponding directive for Tomcat?

- Julian


--
-- Julian C. Dunn, P.Eng.  [EMAIL PROTECTED]
-- Assistant Team Lead, Media Production Support, CBC Technology
-- Digital Programming and Business Development
-- Office: 2C310-N  *  Tel.: (416) 205-3311 x6988 * DID: 1-151-6988



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: need help with Tomcat-generated redirects

2008-01-02 Thread David Smith
Connector attribute proxyPort should fix the inclusion of the port 
number in tomcat generated urls.


--David

Julian Dunn wrote:


Hi,

I have some applications running under a Tomcat installation set up in this way:

[load balancer on port 80] --- [Apache server on port 5001] -- [Tomcat server 
on port 7001]

One of the Tomcat applications sends a redirect to Apache because there is a 
welcome-file directive. However, the redirect that is sent says:

www.site.com:5001/foo/bar.jsp

instead of

www.site.com/foo/bar.jsp

On the Apache side, I already have ServerName set to www.site.com:80 to solve 
this problem for mod_rewrite. What is the corresponding directive for Tomcat?

- Julian


--
-- Julian C. Dunn, P.Eng.  [EMAIL PROTECTED]
-- Assistant Team Lead, Media Production Support, CBC Technology
-- Digital Programming and Business Development
-- Office: 2C310-N  *  Tel.: (416) 205-3311 x6988 * DID: 1-151-6988



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: other ways to change the Connector element in server.xml?

2008-01-02 Thread Rainer Jung
Hi Anna,

Anna Nhan schrieb:
 Hi,
 
 Is there a way to change the Connector element in server.xml without
 manually editing the file?  Could we, for example, change the
 CATALINA_OPTS line using a script or C code to choose whether to use
 HTTP or HTTPS,  the file path to the keystore and keystore password,
 and whether or not the server should require client authentication?

Starting with TC 5.0 you can use system properties in server.xml, which
you can set during startup as commandline arguments
(-Dname.of.the.property=value).

You refer to a system property in server.xml with ${name.of.the.property}.

If you don't like a very long command line, you can also set system
properties by adding them to catalina.properties (e.g. the startup
script could concatenate a master catalina.properties with additional
lines coming out of the script).

Those ideas don't really help for passwords though (i.e. they don't get
more secret by this).

 Thanks,
 Anna

Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: other ways to change the Connector element in server.xml?

2008-01-02 Thread Anna Nhan

Thanks Rainer!

I will try out your advice right away.

Anna

At 04:37 PM 1/2/2008, you wrote:

Hi Anna,

Anna Nhan schrieb:
 Hi,

 Is there a way to change the Connector element in server.xml without
 manually editing the file?  Could we, for example, change the
 CATALINA_OPTS line using a script or C code to choose whether to use
 HTTP or HTTPS,  the file path to the keystore and keystore password,
 and whether or not the server should require client authentication?

Starting with TC 5.0 you can use system properties in server.xml, which
you can set during startup as commandline arguments
(-Dname.of.the.property=value).

You refer to a system property in server.xml with ${name.of.the.property}.

If you don't like a very long command line, you can also set system
properties by adding them to catalina.properties (e.g. the startup
script could concatenate a master catalina.properties with additional
lines coming out of the script).

Those ideas don't really help for passwords though (i.e. they don't get
more secret by this).

 Thanks,
 Anna

Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: need help with Tomcat-generated redirects

2008-01-02 Thread Rainer Jung
Hi Julian,

Julian Dunn schrieb:
 Hi,
 
 I have some applications running under a Tomcat installation set up
 in this way:
 
 [load balancer on port 80] --- [Apache server on port 5001] --
 [Tomcat server on port 7001]
 
 One of the Tomcat applications sends a redirect to Apache because
 there is a welcome-file directive. However, the redirect that is
 sent says:
 
 www.site.com:5001/foo/bar.jsp
 
 instead of
 
 www.site.com/foo/bar.jsp
 
 On the Apache side, I already have ServerName set to www.site.com:80
 to solve this problem for mod_rewrite. What is the corresponding
 directive for Tomcat?

How do you connect Apache to Tomcat?
If you are using mod_jk, the module gets the port it sends to Tomcat via
ap_get_server_port(), which in turn depends on UseCanonicalName. If this
is set to On, the port is also determined from the port in ServerName.

The AJP protocol then makes sure, that Tomcat thinks it's using the port
that mod_jk told Tomcat.

In case this doesn't work or you are using some other way to connect
Apache to Tomcat:

The connector element in server.xml knows about attributes proxyName,
proxyPort and scheme. See

http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

 - Julian

Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat + HttpClient + SSL + tcnative-1.dll issues?

2008-01-02 Thread Jim Brikman (ybrikman)
Are there any known issues when using the Apache HttpClient to send
https requests to Tomcat running with tcnative-1.dll? Perhaps different
SSL stacks causing issues?
 
The issue we are seeing is duplicate messages: our HttpClient sends just
one copy of the message (an https request), but on the Tomcat side (with
tcnative-1.dll) we are seeing the message twice. This only happens with
https and not http.
 
Jim
 

Yevgeniy (Jim) Brikman
Software Engineer
Voice Technology Group

[EMAIL PROTECTED]
Phone :978-936-0510
Mobile :617-538-2632



500 Beaver Brook Road
Boxborough, MA 01719
United States
www.cisco.com http://www.cisco.com/ 




 


Re: need help with Tomcat-generated redirects

2008-01-02 Thread Julian Dunn
 On Wed, Jan 2, 2008 at  4:48 PM, Rainer Jung [EMAIL PROTECTED] wrote: 

 I have some applications running under a Tomcat installation set up
 in this way:
 
 [load balancer on port 80] --- [Apache server on port 5001] --
 [Tomcat server on port 7001]
 
 One of the Tomcat applications sends a redirect to Apache because
 there is a welcome-file directive. However, the redirect that is
 sent says:
 
 www.site.com:5001/foo/bar.jsp
 
 instead of
 
 www.site.com/foo/bar.jsp
 
 On the Apache side, I already have ServerName set to www.site.com:80
 to solve this problem for mod_rewrite. What is the corresponding
 directive for Tomcat?
 
 How do you connect Apache to Tomcat?
 If you are using mod_jk, the module gets the port it sends to Tomcat via
 ap_get_server_port(), which in turn depends on UseCanonicalName. If this
 is set to On, the port is also determined from the port in ServerName.

I'm using mod_jk 1.2.6 and Apache 2.0.59. UseCanonicalName is already on in the 
Apache server, and the ServerName is set to www.site.com:80 in the VirtualHost. 
I also tried to set ServerName globally and that didn't make a difference.

This allows mod_rewrite to send the correct port # in rewrites, but Tomcat 
doesn't seem to pick this up for some reason.

By the way, don't laugh, but this is a legacy Tomcat 3.3.1a application so I 
need something for that version of Tomcat.

- Julian


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: need help with Tomcat-generated redirects

2008-01-02 Thread Rainer Jung
Hi Julian,

Julian Dunn schrieb:
 How do you connect Apache to Tomcat? If you are using mod_jk, the
 module gets the port it sends to Tomcat via ap_get_server_port(),
 which in turn depends on UseCanonicalName. If this is set to On,
 the port is also determined from the port in ServerName.
 
 I'm using mod_jk 1.2.6 and Apache 2.0.59. UseCanonicalName is already
 on in the Apache server, and the ServerName is set to www.site.com:80
 in the VirtualHost. I also tried to set ServerName globally and that
 didn't make a difference.
 
 This allows mod_rewrite to send the correct port # in rewrites, but
 Tomcat doesn't seem to pick this up for some reason.
 
 By the way, don't laugh, but this is a legacy Tomcat 3.3.1a
 application so I need something for that version of Tomcat.

I'm not laughing (at least I try to). Since I'm relatively sure about
the jk feature: what about updating to a recent jk version. 1.2.6 is
..., we are at 1.2.26.

I never worked with TC 3.3, but the docs tell us, that it allows an
AJP13 connector, so that one should be compatible with recent JK
versions. In case you are still using AJP12, that's not a safe bet to
use AJP12 with recent JK.

The docs look like the connector attributes we posted as an alternative
solution unfortunately don't exist for 3.3.

 - Julian

Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Announce] Enhanced ISAPI Redirector + Tomcat Connector Binaries (and IIS 6.0)

2008-01-02 Thread Tim Whittington
I haven't had to do anything special when using the ISAPI Redirectory on IIS 
6 (apart from the usual Web Services extension magic), so it definitely 
works in the default worker process isolation mode.
My patched version does utilise Windows 2003 Server specific APIs when used 
on IIS 6 (to do optimised network writes of chunk encoded blocks), but 
that's auto-detected.

I haven't had any experience using the redirector in IIS 5 isolation mode, 
but I can't imagine why it wouldn't work - the ISAPI redirector doesn't do 
anything too esoteric with the IIS APIs, and the same builds run in IIS 5 
fine.

For those that are interested, the modes are described at 
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ed3c22ba-39fc-4332-bdb7-a0d9c76e4355.mspx?mfr=true

tim

-Original Message-
From: Travis Haagen [mailto:[EMAIL PROTECTED]
Sent: Saturday, 22 December 2007 1:30 p.m.
To: Tomcat Users List
Subject: Re: [Announce] Enhanced ISAPI Redirector + Tomcat Connector 
Binaries (and IIS 6.0)

Tim,

Have you had experience testing your version of the ISAPI redirector DLL 
with IIS 6.0? What specific IIS configuration settings take the fullest 
advantage of the persistent HTTP connections that your version offers?

Also, I've seen zero discussion thus far on whether version 1.2.25 of the 
DLL should work with IIS in worker process isolation mode or in IIS 5 
isolation mode. Do you have any insight on this? Anyone have any insight on 
this? :)

-Travis Haagen



- Original Message -
From: Tim Whittington [EMAIL PROTECTED]
To: users@tomcat.apache.org; [EMAIL PROTECTED]
Sent: Thursday, December 20, 2007 5:20 PM
Subject: [Announce] Enhanced ISAPI Redirector + Tomcat Connector Binaries


 Hi all

 We've been using Tomcat and Tomcat Connectors in our company products for
 almost 10 years now, and it's a very important part of our technology
stack.
 Over those years we've contributed some enhancements and fixes to the IIS
 connector/ISAPI Redirector, and most of these have been accepted back into
 the trunk.
 There's one in particular that we feel is very useful that hasn't been
 accepted though, which is the addition of chunked encoding support to the
 ISAPI Redirector, which allows IIS to use HTTP keep alives between the
 browser and IIS - we've found this has major scalability benefits on high
 transaction volume sites.
  http://issues.apache.org/bugzilla/show_bug.cgi?id=35297
 http://issues.apache.org/bugzilla/show_bug.cgi?id=35297 tracks the
proposed
 patch for this, but it's been waiting for 2+ years for a 1.3 development
 branch to open to make it available to the wider community.
 We feel this is an important enough feature for us to maintain internally
 and use in many production sites over the years, and we think other people
 will find it useful, so we've now taken the step of making it available to
 the community at large in source + binary form on SourceForge. Our patches
 are all APLv2, as per the Tomcat source, and are available in the
 SourceForge SVN repo.

 https://sourceforge.net/projects/timsjk/ is the SF site.

 We've also taken the opportunity to make available the compiled binaries
we
 produce in-house for many platforms (we support a large number), and I
hope
 this is of use to the community at large. You'll find binaries for Apache
 2.0, 2.0-prefork, 2.2, 2.2-prefork and IIS 5/6 on AIX PPC64, HP-UX
PA-RISC2,
 HP-UX IA64, Linux-x86, Linux-x64,
 Windows x86 and Window x64 (with some obvious exceptions) available from
the
 SourceForge project download page. We've provided builds of our enhanced
 ISAPI redirector as well as an unpatched ISAPI redirector.

 This isn't a fork of Tomcat Connectors - the work the Tomcat devs are
doing
 on Tomcat Connectors in recent times, in particular Rainer and Mladen, is
 great, and we continue to value, use and support it - apart from the IIS
 connector we use unpatched mod_jk connectors everywhere. If/when the 1.3
 development branch opens and the chunked encoding support is added to the
 main trunk we'll wind up our patches and see if there's a better way to
 distribute the binaries.

 If you're going to try out or use the enhanced ISAPI redirector, please be
 responsible when reporting bugs and test against the unpatched version
 before logging them against Tomcat. If they turn out to be due to our
 patches, then report them on the SF project.

 cheers
 tim





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] Apache Tomcat JK 1.2.26 Web Server Connector released

2008-01-02 Thread Tim Whittington
Binary builds of 1.2.26 for various platforms are available now from
http://sourceforge.net/projects/timsjk/
These include builds of a patched IIS 5/6 ISAPI Redirector that support
HTTP 1.1 chunked encoding (and thus keep-alives on dynamic content).

cheers
tim


-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 25 December 2007 4:36 a.m.
To: users@tomcat.apache.org; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: [ANN] Apache Tomcat JK 1.2.26 Web Server Connector released

The Apache Tomcat team is pleased to announce the immediate availability
of version 1.2.26 of the Apache Tomcat Connectors.

It contains connectors, which allow a web server such as Apache HTTPD,
Microsoft IIS and Sun Web Server to act as a front end to the Tomcat web
application server.

This version contains a few enhancements and fixes a number of minor bugs
of the previous versions.

See http://tomcat.apache.org/connectors-doc/miscellaneous/changelog.html
for a complete list of changes.

Source distribtions can be downloaded from an Apache Software Foundation
mirror at:

http://tomcat.apache.org/download-connectors.cgi

Binary distributions for a number of different operating systems and web
servers can be downloaded from an Apache Software Foundation mirror at:

http://tomcat.apache.org/download-connectors.cgi

Syncing the release to the download mirrors might take up to 48 hours.

Documentation for using Apache Tomcat Connectors can be found at:

http://tomcat.apache.org/connectors-doc/

Thank you,

-- The Apache Tomcat Team

P.S.: Merry Christmas!



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



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: need help with Tomcat-generated redirects

2008-01-02 Thread Bill Barker

Rainer Jung [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi Julian,

 Julian Dunn schrieb:
 How do you connect Apache to Tomcat? If you are using mod_jk, the
 module gets the port it sends to Tomcat via ap_get_server_port(),
 which in turn depends on UseCanonicalName. If this is set to On,
 the port is also determined from the port in ServerName.

 I'm using mod_jk 1.2.6 and Apache 2.0.59. UseCanonicalName is already
 on in the Apache server, and the ServerName is set to www.site.com:80
 in the VirtualHost. I also tried to set ServerName globally and that
 didn't make a difference.

 This allows mod_rewrite to send the correct port # in rewrites, but
 Tomcat doesn't seem to pick this up for some reason.

 By the way, don't laugh, but this is a legacy Tomcat 3.3.1a
 application so I need something for that version of Tomcat.

 I'm not laughing (at least I try to). Since I'm relatively sure about
 the jk feature: what about updating to a recent jk version. 1.2.6 is
 ..., we are at 1.2.26.


Assuming that you are using the AJP13Interceptor, then updating the mod_jk 
version should be enough.  The problem is that mod_jk 1.2.6 doesn't respect 
the UseCanonicalName directive and sends the actual port that Apache is 
listening on.

If you are using the CoyoteConnector (which was released as an addon to 
3.3.1a), then I think that the proxyPort directive will work.  This 
connector also ships with 3.3.2, which is a fairly painless upgrade (as 
opposed to 5.5.x or 6.0.x).

 I never worked with TC 3.3, but the docs tell us, that it allows an
 AJP13 connector, so that one should be compatible with recent JK
 versions. In case you are still using AJP12, that's not a safe bet to
 use AJP12 with recent JK.


Yes, the AJP/1.2 connector was deprecated even for 3.3.1a  (except as a way 
to shut Tomcat down :).To get this to work, you'll have to be using the 
AJP/1.3 protocol.

 The docs look like the connector attributes we posted as an alternative
 solution unfortunately don't exist for 3.3.

 - Julian

 Regards,

 Rainer

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Servlet Filter Not Intercepting?

2008-01-02 Thread Jay Liu
Thanks Marcus.

Here's my filter setup. I just created it fresh in netbeans so I'd be
surprised if there is a problem.

I woke up this morning, realizing I forgot to turn off invoking the
resource. Would that matter?

filter
filter-nameUserFilter/filter-name
filter-classstore.filters.UserFilter/filter-class
/filter
filter-mapping
filter-nameUserFilter/filter-name
servlet-nameCheckout/servlet-name
/filter-mapping
servlet
servlet-nameCheckout/servlet-name
 
servlet-classcom.inifim.commerce.store.servlets.transactions.Checkout/ser
vlet-class
/servlet

I only have one filter right now.

Thanks again,
Jay

-Original Message-
From: Milanez, Marcus [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 02, 2008 5:21 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RES: Servlet Filter Not Intercepting?

Hi,

Yes, filters atre supposed to intercept a requets just before it is
accessed. Could you please post your filter config written in your web.xml
file?

Yours,

Marcus Milanez
http://sumatrablog.wordpress.com

-Mensagem original-
De: Jay Liu [mailto:[EMAIL PROTECTED] 
Enviada em: terça-feira, 1 de janeiro de 2008 18:36
Para: users@tomcat.apache.org
Assunto: Servlet Filter Not Intercepting?

Hi all,

 

I'm having a problem with filters. I setup filter to block access to a
resource unless the user is authenticated.

 

I've noticed that the resource is accessed then the filter kicks in and then
loads.

 

I thought filters were supposed to intercept the request before the resource
is accessed?

 

Is there something wrong with my xml configuration?

 

Thanks,

Jay


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Comet processor blocks if chunk includes final CRLF

2008-01-02 Thread Filip Hanik - Dev Lists

the patch has been applied and will go into 6.0.16

Filip

Chris Pettitt wrote:

Filip,

Do you know which release this patch will go into? Is there a bug
number I can watch?

Thanks,
Chris

On Dec 19, 2007 9:13 AM, Chris Pettitt [EMAIL PROTECTED] wrote:
  

Filip,

Your patch has fixed the chunk parsing and the processor is no longer blocking.

Sometimes newly connected clients get disconnected immediately, but I
think that is related to this bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=43846.

Thanks,
Chris



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[tomcat5.5] ClassCastException at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:396)

2008-01-02 Thread totalrecall

This problem occurs on tomcat 5.5 but not tomcat 5.
I'm trying to figure out why there's a class casting on ConsoleHandler. 
Unfortunately I could not find the source code on ClassLoaderLogManager, so
I don't exactly know what's wrong!

Is there a major update of org.apache.juli in tomcat 5.5?


Handler error
java.lang.ClassCastException: com.gotrade.util.logging.ConsoleHandler
at
org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:396)
at
org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
at
org.apache.juli.ClassLoaderLogManager$2.run(ClassLoaderLogManager.java:273)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo(ClassLoaderLogManager.java:270)
at
org.apache.juli.ClassLoaderLogManager.getLogger(ClassLoaderLogManager.java:175)
at java.util.logging.Logger.getLogger(Logger.java:255)
at
org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:152)
at
org.apache.commons.logging.impl.Jdk14Logger.init(Jdk14Logger.java:53)
at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.
java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
at
org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:381)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4119)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

-- 
View this message in context: 
http://www.nabble.com/-tomcat5.5--ClassCastException-at-org.apache.juli.ClassLoaderLogManager.readConfiguration%28ClassLoaderLogManager.java%3A396%29-tp14592653p14592653.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[tomcat 5.5] logger configuration in context.xml

2008-01-02 Thread totalrecall

I would like to have separate log for each context, like I have done in
tomcat5.  But similar configuration doesn't seem to work under tomcat 5.5?

Is there a new syntax for the Logger tag?


Context docBase=. swallowOutput=true
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=context1.log.
  suffix=.web3.txt
  directory=/usr/local/tomcat5.5/logs /
/Context
-- 
View this message in context: 
http://www.nabble.com/-tomcat-5.5--logger-configuration-in-context.xml-tp14593006p14593006.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]