Ok. I can't use https from applet because I've realized that you can't
use methods like url.openConnection() nor url.openStream() if url is
'https' like.
This applet has to get images from server. You'll ask why I don´t use
getImage() or Toolkit.getImage(), the answer is that we don't work with
Hi there,
Does anyone know if there's a method for determining if the Session for
a user has expired since the last request? Basically I have a Filter
that does an "is logged in" check and redirects to a login page if the
user is not logged in. This works fine but in the case of Session
expiry
> 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 appl
-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
> \conf\Catali
> From: Eugene Wong [mailto:[EMAIL PROTECTED]
> Subject: [Deployment] Tomcat 5.5, Single war into multiple apps
>
> \conf\Catalina\localhost\fooTest.xml and fooProduction.xml
>
>
>
>
Take out the path attributes - they're not allowed when a
element is in the conf/Catalina/localhost director
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
So we hav
> 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 mult
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 restr
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 loadin
> 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
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?
Ag
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?
Ag
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 post
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: users@tomca
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()
org.apache
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 server
gotcha.
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent: Monday, March 19, 2007 11:54 AM
To: 'Tomcat Users List'
Subject: RE: connection pool
See http://jakarta.apache.org/commons/dbcp/configuration.html
(testOnBorrow=true is the default, so you would have to change it
-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"
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, 200
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 P
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
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 requ
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 in
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 =
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
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 P
I have the same problem. Ideally, there shouldn't be any broken
connections in the pool. When needed
connection should be created if database is up and running. This doesn't
seem to be the case.
-Original Message-
From: Gioia, Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, March 19, 2007
It could be that your backups are causing your database connections to be lost.
We added a cron job (on windows (at) ) to restart the server after a backup.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe
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
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?' requ
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 [
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 c
That works well. We implemented a custom Realm in that way:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200605.mbox/[EMAIL
PROTECTED]
David Delbecq wrote:
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 d
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 appears
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.
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 contempor
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 PROTEC
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 possibl
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 tha
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 h
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 puzzlin'
google is your friend, there are tons of articles on that topic:
http://www.google.com/search?q=tomcat+filter+tutorial&btnG=Google-Suche&meta=
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: 79A84FA52
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 l
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 speci
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Phillipe,
Philippe Couas wrote:
> How disable all logs file on Tomcat 4.1.34, i have tried verbosity=0 without
> success
I'm not sure where you got the verbosity="0" thing, but if you have
elements in your server.xml file, remove them.
I think you
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
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
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 sam
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 au
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 checkin
> 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
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 lice
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
> shou
You can try to add admin role to the roles attribute, as I show below sample
xml
From: [EMAIL PROTECTED]
Reply-To: "Tomcat Users List"
To: "Tomcat Users List"
Subject: Re: configuring tomcat manager
Date: Mon, 19 Mar 2007 10:45:41 +0100 (CET)
Hi Im not an expert, but did you already rebo
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 /
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
still i am getting below error:
Access to the requested resource h
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 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
requi
Hi,
How disable all logs file on Tomcat 4.1.34, i have tried verbosity=0 without
success
Regards
Philippe
60 matches
Mail list logo