How Disable all logs File tomcat 4.1.34 ?

2007-03-19 Thread Philippe Couas
Hi, How disable all logs file on Tomcat 4.1.34, i have tried verbosity=0 without success Regards Philippe

Http to https and viceversa without session losing

2007-03-19 Thread Bello Martinez Sergio
Hi all, I'm working with the next scenario: I have a web application running under apache-mod_jk-tomcat. I access this application through https, but I have an applet into a page, this applet access the server periodically to get data through http (I can´t use https at this point, it´s a

Tomcat Manifest File

2007-03-19 Thread sanane sanane
Hi; In tomcat is it possible to put a servlet class file to a different than web-inf/classses directory in my server by the help of manifest file and by declaring class-path attribute. For example : I mean in this app $CATALINA_HOME\webapps\myapp\web-inf\classes\hello.class may I put

configuring tomcat manager

2007-03-19 Thread Thakkar P [Mauj.com]
Hi, I am trying to configure tomcat to provide me access of tomcat manager and admin modules but i not able to configure it properly. i have made the changes in /usr/local/jakarta-tomcat/conf/tomcat-users.xml to add a user as user username=tomadmg password=tomadmg roles=manager/ still i am

Re: configuring tomcat manager

2007-03-19 Thread rmarra
Hi Im not an expert, but did you already rebooted Tomcat? I tried to add the same in mine tomcat-users.xml works properly Hi, I am trying to configure tomcat to provide me access of tomcat manager and admin modules but i not able to configure it properly. i have made the changes in

Re: configuring tomcat manager

2007-03-19 Thread sanane sanane
You can try to add admin role to the roles attribute, as I show below sample xml user username=admin password= roles=admin,manager/ From: [EMAIL PROTECTED] Reply-To: Tomcat Users List users@tomcat.apache.org To: Tomcat Users List users@tomcat.apache.org Subject: Re: configuring tomcat

Re: Cannot start tomcat5 service with jrockit

2007-03-19 Thread Igor Shevchenko
bb [EMAIL PROTECTED] wrote on 13.03.2007 19:22:10: Hi, We are running 5.5.17 as a service using JRockit. A couple things to check: 1) if you are using the service.bat to install as a service confirm that the PR_JVM is considering the correct path to the jrockit dll. this should be

server/lib annoys me

2007-03-19 Thread Tremal Naik
Hello to you all, Going further into the building of my application the percentage of classes I need to include into the server/lib folder is growing too much. In a few days all my application will be deployed there instead of the webapps folder! The point is I defined a Valve which performs

RE: server/lib annoys me

2007-03-19 Thread Peter Crowther
From: Tremal Naik [mailto:[EMAIL PROTECTED] The point is I defined a Valve which performs license checking and it needs to access the DB. Why not a Filter? That could then be webapp-specific. - Peter - To

Re: server/lib annoys me

2007-03-19 Thread Tremal Naik
I need to perform license checking before the user authenticate. Filters filter the request only after authentication, do they? Thanks TN 2007/3/19, Peter Crowther [EMAIL PROTECTED]: From: Tremal Naik [mailto:[EMAIL PROTECTED] The point is I defined a Valve which performs license checking

Re: server/lib annoys me

2007-03-19 Thread David Delbecq
Do the licence checking at webapp startup. Either do this with an auto startup servlet, either do this with a context listener. I don't understand why you try to do a webapp specific stuff (licence checking) in a server context (a valve). And yes, filters applies only after authentification and

Re: server/lib annoys me

2007-03-19 Thread Tremal Naik
2007/3/19, David Delbecq [EMAIL PROTECTED]: I don't understand why you try to do a webapp specific stuff (licence checking) in a server context (a valve). Well, my license is limiting the number of contemporary sessions, i.e. there is a limit on the number of users can be logged in at the same

RE: DST Issue

2007-03-19 Thread Will Holmes
Mark, Just the Tomcat application is off by one hour. The OS time is correct. I will check out the alert from Sun again. Maybe I missed something the first time I looked at it. Thanks! Will -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Sunday, March 18, 2007

Re: server/lib annoys me

2007-03-19 Thread David Kerber
Tremal Naik wrote: 2007/3/19, David Delbecq [EMAIL PROTECTED]: I don't understand why you try to do a webapp specific stuff (licence checking) in a server context (a valve). Well, my license is limiting the number of contemporary sessions, i.e. there is a limit on the number of users can

Re: server/lib annoys me

2007-03-19 Thread Tremal Naik
2007/3/19, David Kerber [EMAIL PROTECTED]: session.invalidate() is complicated? Not at all, but I cannot login the user and then simply redirect him to the login form next time he'll perform some action. This would be confusing. If I could simply use the axe to make my job, my dear, I would

Re: server/lib annoys me

2007-03-19 Thread Tremal Naik
2007/3/19, Tremal Naik [EMAIL PROTECTED]: Please, bear in mind my original question was is it possible avoid using server/lib? I never asked for java/j2ee programming lessons Of course, I accept all suggestions I receive gratefully, I'm not a some kind of troll, the last comment was a specific

Re: server/lib annoys me

2007-03-19 Thread David Kerber
Tremal Naik wrote: 2007/3/19, Tremal Naik [EMAIL PROTECTED]: Please, bear in mind my original question was is it possible avoid using server/lib? I never asked for java/j2ee programming lessons Of course, I accept all suggestions I receive gratefully, I'm not a some kind of troll, the last

Re: Explicit header definition

2007-03-19 Thread Gregor Schneider
google is your friend, there are tons of articles on that topic: http://www.google.com/search?q=tomcat+filter+tutorialbtnG=Google-Suchemeta= i.e. http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html cheers greg -- what's puzzlin' you, is the nature of my game gpgp-fp:

Re: Http to https and viceversa without session losing

2007-03-19 Thread Gregor Schneider
afaik there is no way to do that since this would break the security-concepts of https. you might be able to store the data needed in a dbms or a flat file, however, that's a very poor design-concept, imho. maybe you'd like to let us know why that requirement is? cheers greg -- what's

RE: JK 1.2.21 DLL does not work with IIS 6?

2007-03-19 Thread Cory . Bestgen
Timothy, The Tomcat install that I am using came as part of the stand-alone JIRA installation. I followed the instructions at the link below to integrate it with IIS 6. http://www.atlassian.com/software/jira/docs/latest/iisintegration.html Step 11 is IIS 6 specific. Maybe they can be of some

Re: server/lib annoys me

2007-03-19 Thread Mikolaj Rydzewski
Tremal Naik wrote: Well, my license is limiting the number of contemporary sessions, i.e. there is a limit on the number of users can be logged in at the same time. So, I need to filter user requests after web app startup. I may do this after the user has authenticated himself, but this means

Re: server/lib annoys me

2007-03-19 Thread Leon Rosenberg
How about performing login as part of your webapp? Than you'll have no problems whatsoever limiting anything you want in the filter. Leon On 3/19/07, Tremal Naik [EMAIL PROTECTED] wrote: 2007/3/19, Tremal Naik [EMAIL PROTECTED]: Please, bear in mind my original question was is it possible

RE: JK 1.2.21 DLL does not work with IIS 6?

2007-03-19 Thread Dobbins, Tim
Mladen, I have attached the log files and properties files. Thanks for your help. Timothy Dobbins Senior Systems Administrator [EMAIL PROTECTED] 704-733-5545 Premier, Inc. 2320 Cascade Pointe Blvd. Charlotte, NC 28208 -Original Message- From: Mladen Turk [mailto:[EMAIL

Re: server/lib annoys me

2007-03-19 Thread David Delbecq
En l'instant précis du 19/03/07 13:31, Tremal Naik s'exprimait en ces termes: 2007/3/19, David Delbecq [EMAIL PROTECTED]: I don't understand why you try to do a webapp specific stuff (licence checking) in a server context (a valve). Well, my license is limiting the number of contemporary

Re: JK 1.2.21 DLL does not work with IIS 6?

2007-03-19 Thread Mladen Turk
Dobbins, Tim wrote: Mladen, I have attached the log files and properties files. Apache users list doesn't allow to have large attachments (entire email can be up to 40K I think). Please use some public repository for those files, or send them directly to my email address Regards, Mladen.

Deploying libs for use both with Tomcat, and standalone apps

2007-03-19 Thread David Kerber
This is on Windows server 2003. I have a library (.jar file) that is used with 3 different apps: with my tomcat webapp, with a standalone command-line app, and with a jni package that provides a .dll for use with a windows gui app. What is the best way (place) to deploy this jar? It

Re: JK 1.2.21 DLL does not work with IIS 6?

2007-03-19 Thread Mladen Turk
Dobbins, Tim wrote: Mladen, I have attached the log files and properties files. [Mon Mar 19 09:43:00 2007] [41704:24112] [error] jk_isapi_plugin.c (679): WriteClient failed with 2746 This is: WSAECONNRESET 10054 (2746 hex) Connection reset by peer. An existing connection was forcibly

RE: JK 1.2.21 DLL does not work with IIS 6?

2007-03-19 Thread Dobbins, Tim
So you don't believe this error is related to real problem, the fact the IIS fails to serve TomCat resources? Timothy Dobbins Senior Systems Administrator [EMAIL PROTECTED] 704-733-5545 Premier, Inc. 2320 Cascade Pointe Blvd. Charlotte, NC 28208 -Original Message- From: Mladen Turk

Re: server/lib annoys me

2007-03-19 Thread Tremal Naik
2007/3/19, David Delbecq [EMAIL PROTECTED]: How about having your webapp implements some kind on 'license checking service' and, at webapp startup, put it available at the JNDI level? You valve (or realm) could then access this named service and simply issue a 'can i log in one more user?'

connection pool

2007-03-19 Thread Gioia, Michael
Hi, I'm new to tomcat and have a problem with keeping up the connection to the database thru the connection pool. Almost every weekend the database gets bumped and the java app that were running needs to have tomcat restarted to reconnect to the database thru the connection pool. When we come

RE: connection pool

2007-03-19 Thread Propes, Barry L [GCG-NAOT]
I wonder if you have some bad thread or something hanging in Tomcat causing this. Any way you have Tomcat stop and restart on its own? We do that on our Win platform as a service -- ostensobly in part to avoid that type of thing. -Original Message- From: Gioia, Michael [mailto:[EMAIL

RE: connection pool

2007-03-19 Thread Tim Lucia
Do you have a validation query? Is testOnBorrow set to true? Doing both of these things will force the pool to really close and really re-open any connection which fails the validation query. Tim -Original Message- From: Piwoni, Andre [mailto:[EMAIL PROTECTED] Sent: Monday, March

JULI logging in Tomcat 5.5.23

2007-03-19 Thread Piwoni, Andre
Why do I have to remove the following lines from conf/logging.properties file in order to have more detailed and even SEVERE level catalina logging? org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers =

IIS 5 to a Tomcat 5 unable to load workers.properties

2007-03-19 Thread Glenn Wilson
Hi all, I'm trying to hook IIS 5 to a Tomcat 5 instance using JK 1.2.21. I've followed the instructions on the jakarta site (http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html). The filter seems to be installed and working properly as far as intercepting the request but on its

Requesting files with non-English/international characters in their names

2007-03-19 Thread Thomas Peter Berntsen
Hi guys, I have some trouble getting Tomcat to return files with non-English/international characters in their names. Eg. I have two files in the root app (the standard app in the ROOT folder), one named tomcat.gif and another one, which is a copy of tomcat.gif, named æøå.gif. When I request

RE: connection pool

2007-03-19 Thread Propes, Barry L [GCG-NAOT]
is testOnBorrow an attribute in the xml config? I haven't seen that in my version, coincidentally. -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 11:15 AM To: 'Tomcat Users List' Subject: RE: connection pool Do you have a validation query? Is

RE: connection pool

2007-03-19 Thread Tim Lucia
See http://jakarta.apache.org/commons/dbcp/configuration.html (testOnBorrow=true is the default, so you would have to change it to false to remove this behavior.) Tim -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 12:44 PM

RE: connection pool

2007-03-19 Thread Piwoni, Andre
Tim, Thank you. This is more of a solution than a restart hack! testOnBorrow is set to true by default for DBCP in data source configuration but I did not have validation query set. -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Monday, March 19,

Re: Requesting files with non-English/international characters in their names

2007-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Peter Berntsen wrote: I have some trouble getting Tomcat to return files with non-English/international characters in their names. It's interesting how questions like this come in waves. I have tried setting 'URIEncoding=UTF-8' in

mod_jk load balancing with SSL?

2007-03-19 Thread Sean Neeley
I'm using Apache Tomcat/5.5.15 and trying to get load balancing working with SSL. Are there any tricks to this setup? I have two tomcat instances on one server, and I want to split sessions between them. I've set this up before without SSL on a different machine, but on this one particular

Can't solve problem: Unable to compile class for JSP

2007-03-19 Thread Linas Stankevicius
Hallo, i tried to solve this problem and i read many posts but could found any good solution. plz help me :) org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: The return type is incompatible with JspSourceDependent.getDependants()

Re: Can't solve problem: Unable to compile class for JSP

2007-03-19 Thread Rashmi Rubdi
Did you check on your favorite search engine for possible solutions? Reading this might help: http://tomcat.apache.org/tomcat-5.0-doc/jasper/docs/api/org/apache/jasper/runtime/JspSourceDependent.html -Rashmi - Original Message From: Linas Stankevicius [EMAIL PROTECTED] To:

Re: Can't solve problem: Unable to compile class for JSP

2007-03-19 Thread David Smith
Have you taken a look at the full stack trace of the root cause in the logs? It would also be helpful if we could see the relevant jsp source and know which version of tomcat you are working with. --David Linas Stankevicius wrote: Hallo, i tried to solve this problem and i read many posts

RE: Security problems with caseSensitive to false

2007-03-19 Thread Giuseppe Santamaria
Thank Chuck, for your answer, but in in FAQ Windows http://tomcat.apache.org/faq/windows.html there is this paragraph Can I turn off case sensitivity? Yes with the link Yes to the Resources Component, but i don't know how work with this component ! Can you help me in this context? Again

RE: Security problems with caseSensitive to false

2007-03-19 Thread Giuseppe Santamaria
Thank Chuck, for your answer, but in in FAQ Windows http://tomcat.apache.org/faq/windows.html there is this paragraph Can I turn off case sensitivity? Yes with the link Yes to the Resources Component, but i don't know how work with this component ! Can you help me in this context? Again

RE: Security problems with caseSensitive to false

2007-03-19 Thread Caldarale, Charles R
From: Giuseppe Santamaria [mailto:[EMAIL PROTECTED] Subject: RE: Security problems with caseSensitive to false but in in FAQ Windows http://tomcat.apache.org/faq/windows.html there is this paragraph Can I turn off case sensitivity? Yes with the link Yes to the Resources Component,

Re: Tomcat Persistent Session Issues

2007-03-19 Thread ddigmann
This class is in WEB-INF/classes. I am pretty sure it has to be loaded by the classloader because it is a super class some major classes in the app. If it was not loaded, the entire app would not load. It is my understanding that there are multiple classloaders though, and one could be

Re: Same session for one IP

2007-03-19 Thread kz
Actually the product is an industrial automation tool. It is supposed to run in control rooms of industrial plants. The requirement for a single user for a machine is important because the client is very heavy. It requires a lot of memory and other resources (which makes it important that we

RE: Tomcat Persistent Session Issues

2007-03-19 Thread Caldarale, Charles R
From: ddigmann [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Persistent Session Issues This class is in WEB-INF/classes. I am pretty sure it has to be loaded by the classloader because it is a super class some major classes in the app. It is my understanding that there are multiple

[Deployment] Tomcat 5.5, Single war into multiple apps

2007-03-19 Thread Eugene Wong
Dear experts, I have this foo.war created using netbeans and deployed to 2 apps in Tomcat, namely fooTest and fooProduction. So I made 2 copies and renamed them to fooTest.war and fooProduction.war and made changes to \conf\Catalina\localhost\fooTest.xml and fooProduction.xml ?xml version=1.0

RE: [Deployment] Tomcat 5.5, Single war into multiple apps

2007-03-19 Thread Caldarale, Charles R
From: Eugene Wong [mailto:[EMAIL PROTECTED] Subject: [Deployment] Tomcat 5.5, Single war into multiple apps \conf\Catalina\localhost\fooTest.xml and fooProduction.xml Context path=/fooTest reloadable=true Context path=/fooProduction reloadable=true Take out the path attributes -

Re: [Deployment] Tomcat 5.5, Single war into multiple apps

2007-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eugene, Eugene Wong wrote: I have this foo.war created using netbeans and deployed to 2 apps in Tomcat, namely fooTest and fooProduction. So I made 2 copies and renamed them to fooTest.war and fooProduction.war and made changes to

Re: [Deployment] Tomcat 5.5, Single war into multiple apps

2007-03-19 Thread Rashmi Rubdi
Is there a way to config these apps to redirect to their corresponding subdirectory when Tomcat see path the /foo ? Any help would be great, thanks. Is there any particular reason why you need them on two separate contexts such as /fooTest/ and /fooProduction/ , instead of having both