Hi,
How disable all logs file on Tomcat 4.1.34, i have tried verbosity=0 without
success
Regards
Philippe
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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.
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
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
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
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?'
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
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
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
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 =
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
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
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
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
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,
-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
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
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()
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:
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
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
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
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,
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
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
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
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
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 -
-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
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
53 matches
Mail list logo