I have a datasource defined similar to yours I get this error when I try to use
ds.getConnection(username, password);
but if I just use ds.getConnection(); it works fine.
-Sameer
Darren Hall [EMAIL PROTECTED] wrote: Is there any other information I can
supply to help people help me
Dear users,
Can anyone help on restricting 1 session per browser?
what we are trying to archieve here is when the users sucessfully login to our
server establish a session, we want that session to lock in that current
browser when another browser is open it show the previous login page
Hello,
is it right that Tomcat stores all compiled JSP sites in
Tomcat5\work\Catalina\localhost\application\org\apache\jsp?
After a restart of Tomcat I still see all the .class files
in above mentioned directory, does that mean that these files
do not have to be compiled again at first access to
I have 1.2.15 working correctly on WindowsXP, and on another machine,
Win2003 (and .NET1.1).
But I'm in trouble with a machine with Win2003 (IIS6) and .NET2 ( still
jk1.2.15 and Tomcat 5.5.17). Randomly (often) I have from IIS a Bad
Request resposne (and isapi_log doesn't log anything). The
Hi Alexander.
Because tomcat use a session cookie (JSESSIONID), the sessions are
already limited to one per browers, except if the user deactivate
cookie, in which case only the Url rewriting mecanism is used. In the
last mecanism, if the flow of page is interrupted (by accessing an url
not
Maybe I found the problem. IIS6 was in IIS5 isolation mode. Unchecking
it, seems to be working !
Piero
Piero Cavalieri ha scritto:
I have 1.2.15 working correctly on WindowsXP, and on another machine,
Win2003 (and .NET1.1).
But I'm in trouble with a machine with Win2003 (IIS6) and .NET2 (
hi,
can any body get me the link where i can download the latest
mod_jk.dll...i.e.tomcat 2.x.x compiled mod_jk.dll...ASAP
thanks in advance
regards
harryy
-
Stay in the know. Pulse on the new Yahoo.com. Check it out.
Hi,
Thanks for the answer! I have tried but the problem is when i sucessfully login
in to the page click CTRL N to open another browser click refresh the
previous screen appear.So i got 2 sucessfully login page now! we are trying
to lock the URL aswell from showing the jsessionid...for
If you are willing to use the latest 1.2.19:
http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/
This one is not yet officially released. The release vote will start
tomorrow, but until now no problems have beend found. So I'm confident,
that it will get official in very few
Hi,
am not sure to understand you. Please provide more detailed information
about the case in which 2 browser windows get 2 logins. Provide the
exact steps you issue from the 'opening the first browser windows' to
'you have 2 different sessions'. At each step give us the url you are at
and whether
Hi,
1) user access http://www.xyz.com -login page appear user key in username
password
2) http://www.xyz.com/CheckRule.do ( CheckRule.do is a action our programmer
created to hide the jsessionid) -wellcome page show
3) http://www.xyz.com//MemberAgreeRule.do - member page show
4)
Frank Niedermann wrote:
Hello,
is it right that Tomcat stores all compiled JSP sites in
Tomcat5\work\Catalina\localhost\application\org\apache\jsp?
yes.
After a restart of Tomcat I still see all the .class files
in above mentioned directory, does that mean that these files
do not have to
I am working on a webapplication in which i need to destroy or invalidate the
session of a logged in user from the application itself currently i am able
to see the list of all the logged in users but when i go to logout user the one
who
is trying to remove others himself gets logged out . in
Alexander Khoo wrote:
Hi,
1) user access http://www.xyz.com -login page appear user key in username
password
2) http://www.xyz.com/CheckRule.do ( CheckRule.do is a action our
programmer created to hide the jsessionid) -wellcome page show
3)
Google for JSP lifycyle to know more.
Santosh.
Michael Zoller wrote:
Frank Niedermann wrote:
Hello,
is it right that Tomcat stores all compiled JSP sites in
Tomcat5\work\Catalina\localhost\application\org\apache\jsp?
yes.
After a restart of Tomcat I still see all the .class files
in
We are using in our project Tomcat 5.0.x and have implemented a
file download servlet, which allows users to download certain binary
files. For security reasons, we did not want to enable directory listings
and let Tomcat handle the file download.
We have now the problem that we would like
Hello everybody,
Is there a way to configure Tomcat to load filters
after changes without restarting Tomcat? Looked into
server.xml and modified few options but no luck.
Any help would be more than appreciated.
Thank you,
Stefan Negrea
Hello everybody,
I am sure I forgot to mention a few things. I am using
Tomcat 5.5.17, the autodeploy function is enabled in
server.xml and the application is webapps/ROOT .
Thank you,
Stefan Negrea
--- Stefan Negrea [EMAIL PROTECTED] wrote:
Hello everybody,
Is there a way to configure
mod_jk 1.2.19
+1 works with MAC OSX :-)
Regards
Peter
Am 20.09.2006 um 14:17 schrieb Rainer Jung:
Hi,
I shortly want to remind everyone, that our release vote for mod_jk
1.2.19 will start tomorrow.
So all users still have some time to give us positive or negative
feedback on the
William-
I think this is one of those situations where there is some amount of ambiguity
one can read between the lines
connectionTimeout
It has been my experience that a value of 0 is used to indicate either 'feature
disabled' or 'value = infinite' ..(in this case we know the feature is
HI,
I HAVE INSTALLED ONLY ONE TOMCAT SERVER...BUT I AM SUING 4 INSTANCES OF
TOMCAT(IN THAT 4 ONLY ONE TOMCAT HAS BEEN INSTALLED-)
IN THE 4 TOMCAT INSTANCES
1 TOMCAT ACTS AS A LOAD BALANCER!
AND THE OTHER 3 TOMCATS ACT AS CLUSTERS!
I WANT TO START THESE 3 CLUSTERS CLUSTERS INDUVIGUALLY.I
Caldarale, Charles R wrote:
From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED]
Subject: URL Redirection
the problem is the client has to always type
http://abc.com/Mondrian/index.jsp in the address bar, rather
than typing only
http://abc.com/index.jsp.
Rename your application to ROOT
From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED]
Subject: Re: URL Redirection
I renamed the application to ROOT and everything works fine
except that all the images (gif) have all together vanished
How are you referencing the images? Do you have a hard-coded URL in the
generated HTML?
-
Look at the paths to your gif files in the browser. I suspect the paths
were hard coded to the /Mondrian context.
--David
Ashirvad Uniyal wrote:
Caldarale, Charles R wrote:
From: Ashirvad Uniyal [mailto:[EMAIL PROTECTED] Subject: URL
Redirection
the problem is the client has to always
Hi All,
I have some questions about deploying WARs using Tomcat's built in
manager. It seems that some of the times when we use the manager via a
web browser to deploy a new WAR file it will only partially install.
Meaning that the manager will return a list of the installed
applications and it
I know you cant deploy a webapp (when there are active sessions on the original
webapp)
so If you stop the webapp
then re-deploy the webapp
you should be abe to redeploy correctly
M-
*
This email message and any files transmitted
Hello everybody,
Got the problem solved. I think I had the context
setup wrong. Setting reloadable to true in
Host-Context solved my problem.
Thank you,
Stefan Negrea
--- Stefan Negrea [EMAIL PROTECTED] wrote:
Hello everybody,
I am sure I forgot to mention a few things. I am
using
Tomcat
Is possible to configure a log system that log only my messages, i.e,
without Tomcat messages?
For example:
- I don't want this in my log:
20/09/2006 12:40:35 my.application myMethod
INFO: My Message
- I don't want this in my log:
20/09/2006 12:40:35 org.apache.catalina.startup.Catalina start
Yeah I stop the webapp and undeploy it before doing the redeploy so I
don't think this is the issue. Unless the sessions are still persistent
even after I've undeployed, which I don't think is the case.
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
%TOMCAT_HOME%/conf/logging.properties
# Provides extra control for each logger.
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level =
SEVERE|INFO
change from
I haven't done any specific testing, however I am running one of my servers
with .Net 1.1 and .Net 2 (two application pools) along with Tomcat.
What are you doing with the .Net page to Tomcat? Maybe I can put together a
simple/similar example and test it out.
I have 1.2.15 working correctly
From: Paulo Cheque [EMAIL PROTECTED]
Subject: Log Independent
Is possible to configure a log system that log only my
messages, i.e, without Tomcat messages?
Have you read the doc and the logging entry in the FAQ?
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
Hi all,
I have just downloaded jakarta-tomcat-5.0.28.tar.gz from
http://tomcat.apache.org/download-55.cgi#5.0.28. I checked the md5
signature, and all was well. (NB. I need to use this version rather than
5.5, since that is what is on the machine I am targeting and I can't
change that at
I'm dealing with a problem where if a user hits a secured page and is
forwarded to a login page (using Form Auth). If the user sits on that login
page for too long, and then try to login they are confronted with a nasty
HTTP 408 error. I don't know if this behaviour is part of the servlet spec,
Hello All,
I'm looking for some insite into the mod_jk.
We have an apache web server on the outside, a
firewall and jboss on the inside (windows machines).
I'm trying to configure mod_jk , however it's begining
to look fruitless(sorry, just been trying this for
a few days).
Anyway, mod_jk
If you have a custom error page set up you can trap the 408 response
code and redirect to an appropriate resource. Works for me :)
Alternatively, you can set up a meta refresh on your login page so you
never get the 408. Of course, because the refresh has to go to some
protected page and not
did you setup your workers.properties?
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to
Hi,
I am noticing high cpu usage with tomcat 5.5.12 using APR 1.2.7 that
doesn't appear with tomcat without apr.
The server is a Solaris 10 x86, bi processor.
As soon as several ajp13 connections are made, the cpu usage of the java
process increase to 50%.
Is this expected behaviour ? Is
WHAT - I CAN'T HEAR YOU!
Typing in lowercase is easier to read and may draw some responses to
your question.
I don't know the answer - Just thought I'd mention the YELLING!
harish A.S. wrote:
HI,
I HAVE INSTALLED ONLY ONE TOMCAT SERVER...BUT I AM SUING 4 INSTANCES OF
TOMCAT(IN THAT 4
I am missing a key piece of information that I have not been able to
find in the past few days of searching. How does the security-role
and role-name tag work in relation to the auth-constraint and
role-name tag? Do they have any relation?
I am trying to change the security model of a
From: Mike Keller [mailto:[EMAIL PROTECTED]
Subject: Understanding of the security-role tag in the web.xml
How does the security-role and role-name tag
work in relation to the auth-constraint and
role-name tag? Do they have any relation?
This seems to be explained in section 12 of the
Chuck,
Thank you for your quick response. I have looked at the section 12
specifically 12.3 and 12.4 but I must be missing something. I don't
understand how the security-role tag is use full when you are
already restricting a resource through the auth-constraint. Is this
meant simply to give
Sometimes when I use the manager (via cargo) to undeploy and deploy, my webapp
won't actually undeploy.
What happens is that it leaves behind a jar file in the WEB-INF/lib dir.
At first I thought this was a resource leak in my app, but the jar file is not
always the same.
Is there anything I
Yes as a matter of fact. However I started modifying
the instead of getting the sample working first.
After re-reading and re-doing much, I now get an error
message in my browser, that permission is denied. I
feel closer, but am lost as to this error.
Any Ideas?
Thanks, B
--- Martin Gainty
Hi all. I am an admitted newbie when it comes to using a database
connection for a servlet to access. So can someone please tell me the
basics about how exactly I should go about doing this?? I have been very
much stumped about how I should do this for quite a long time now! I
just know that I
Google is your friend... here's a quick hit:
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/ad/cjvjdbas.htm
...and another (although slightly older, still looks to be valid)...
http://www.cs.bham.ac.uk/~aps/syllabi/2004_2005/issws/h01/jdbc.html
...and
From: Douglas Ferguson [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5.9 not undeploying
What happens is that it leaves behind a jar file in the
WEB-INF/lib dir.
What platform? If it's Windows, you might want to experiment with the
antiJARLocking and antiResourceLocking attributes of your
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread.
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread.
Hi,
I have an application deployed in Tomcat 5.0 in Linux OS.
I want my application messages as well as the JVM logs to log into a
file instead of into the console.
How can I do that?
Appreciate if some one can answer this query asap. It is in production
enviornment.
Regards,
Shiby
From: Mike Keller [mailto:[EMAIL PROTECTED]
Subject: Re: Understanding of the security-role tag in the web.xml
I have looked at the section 12 specifically 12.3 and 12.4
but I must be missing something.
Really have to read the whole section plus other bits and pieces of the
spec to get a
From: Shiby Maria John [mailto:[EMAIL PROTECTED]
Subject: Logging application messages to a file instead of to
the console
I have an application deployed in Tomcat 5.0 in Linux OS.
I want my application messages as well as the JVM logs to log into a
file instead of into the console.
Thanks for the immediate reply..
But I tried that .. it is loggin only Tomcat server specific messages
and not the application messages.
This is what I gave in my server.xml file
Logger classname=org.apache.catalina.logger.FileLogger
path=D:\applog.log verbosity=INFORMATION /
But only the INFO:
Hi,
What Logger are you using within the application. Is it Log4j?
Santosh.
Shiby Maria John wrote:
Thanks for the immediate reply..
But I tried that .. it is loggin only Tomcat server specific messages
and not the application messages.
This is what I gave in my server.xml file
Logger
Sorry Shiby,
I've got no idea about the java logger as such. But had it been Log4j,
I'd have checked my log4j.properties for the configured appender.
Santosh.
Shiby Maria John wrote:
No, java logger. (java.util.logging package)
Adding to that, you should try using a connection pool rather than
direct JDBC connection, once you get familiar with the fundamentals.
With connection pools the application performs better than not.
Santosh.
Frank W. Zammetti wrote:
Google is your friend... here's a quick hit:
56 matches
Mail list logo