oh! but i need to connect to both those datasources. Is this not possible
in tomcat6?
From:
"Propes, Barry L "
To:
Tomcat Users List
Date:
10/22/2010 01:11 AM
Subject:
RE: javax.naming.NamingException: Cannot create resource instance
I know it's allowed in TC 4. I was saying not allowed
As per my previous post, I'm setting up Tomcat 6.0.24 with Apache on Mac OS X
Server 10.5, using the built-in versions that come with the OS, and Java
1.5.0_26 (the latest from Apple, just released).
When I invoke a specific operation in my servlet from my Web client, which
involves uploading a
On Oct 21, 2010, at 1:06 AM, André Warnier wrote:
> Start here :
>
> http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
>
>>> Use the special name 'ROOT' for each application and it will serve
>>> resource on the default path.
>> Can you describe this in more detail?
>
> Start he
2010/10/21 Mark Thomas
> On 20/10/2010 21:39, Ivan wrote:
> > Hi,
> > From the pom file of tomcat-catalina-ha, it depends on the
> > tomcat-catalina. But one class HTMLManagerServlet in the tomcat-catalina
> has
> > a reference to a class BackupManager in the tomcat-catalina-ha. Is there
> a
Hi,
I was just playing with the correct jmx properties. My purpose is to see what
are the maximum requests and watch the health of my servers.
MBeanServerConnection mbs = jmxpool.getConnection(host);
ObjectName query = new
ObjectName("Catalina:type=RequestProcessor,worke
Hello!
Is there any JMX property which indicates no requests is being processed, and
no requests are waiting in the queue?
I am trying to develop a way to gracefully shutdown tomcat as part of
mod_jk cluster.
Because requests can be long (up to 1 hour) and must be successfully processed,
there m
> From: Keith Masten [mailto:spmdt...@gmail.com]
> Subject: Re: Securing A Directory Listing
> The realm definition for this tomcat instance is in
> the server.xml.
That partially answers the question. As the doc says: "You may nest a Realm
inside any Catalina container Engine, Host, or Contex
Not sure how to answer your Realm question. The realm in the web.xml is not
referenced anywhere. The realm definition for this tomcat instance is in
the server.xml. Should the realm defined in the web.xml be
defined/referenced somewhere?
Just tried the basic setup again and no luck. When promp
I know it's allowed in TC 4. I was saying not allowed in 5, or after 5.0 or 5.5.
-Original Message-
From: Aparna1 V [mailto:aparna...@tcs.com]
Sent: Thursday, October 21, 2010 10:55 AM
To: Tomcat Users List
Subject: RE: javax.naming.NamingException: Cannot create resource instance
Hi Barr
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Missing property "keepAliveTimeout" on Connector in 6.0.29?
> I'm updating all my software to re-do my performance testing and I'm
> getting a warning during startup:
> [SetAllPropertiesRule]{Server/Service/Connector} S
> From: Keith Masten [mailto:spmdt...@gmail.com]
> Subject: Re: Securing A Directory Listing
> login dialog is presented, but no matter what Id/pw I
> provide I cannot login.
For initial testing purposes, try BASIC for the and put
unencrypted passwords in the list. Once that's working, then
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I'm updating all my software to re-do my performance testing and I'm
getting a warning during startup:
[SetAllPropertiesRule]{Server/Service/Connector} Setting property
'keepAliveTimeout' to '15000' did not find a matching property
The document
Thanks for the pointers!
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Thursday, October 21, 2010 3:55 AM
To: Tomcat Users List
Subject: Re: Source Address based Realms
Aggarwal, Ajay wrote:
> bump... looking for ideas... anybody?
If the question finally is "..wi
Servlet filter was the first thing that came to my mind, but I was
hoping to leverage tomcat's built-in Realm support, if I could.
Thanks for your suggestions.
-Ajay
-Original Message-
From: Srinivasa Rao.Kandula [mailto:srinivas_j...@yahoo.com]
Sent: Wednesday, October 20, 2010 4:46 PM
login dialog is presented, but no matter what Id/pw I provide I cannot
login.
Here is the web.xml that I am using and the tomcat-users.xml
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun
Jason Britton wrote:
Hi Martin,
In researching my jstack not working issue I too came across the make sure
you run jstack as the same user that tomcat is running as. So I did try
su'ing to my tomcat user and issuing the jstack -F -l -m command to no
avail. After I reproduce my application dead
Hi Martin,
In researching my jstack not working issue I too came across the make sure
you run jstack as the same user that tomcat is running as. So I did try
su'ing to my tomcat user and issuing the jstack -F -l -m command to no
avail. After I reproduce my application deadlock again this morning
Hi Barry,
That is allowed in TC 4.
From:
"Propes, Barry L "
To:
Tomcat Users List
Date:
10/21/2010 09:21 PM
Subject:
RE: javax.naming.NamingException: Cannot create resource instance
Not sure, but I don't think you need all those attributes separated like
that.
In TC4 you had to do th
Not sure, but I don't think you need all those attributes separated like that.
In TC4 you had to do that -- but not so after 5.0, or at least 5.5
And on top of that, you've got two ResourceLink name attributes pointing to the
same class with different names.
Not sure, but is that allowed?
---
On 20/10/2010 20:20, Jason Britton wrote:
> commons-dbcp-1.2.1.jar
> and
> commons-pool-1.3.jar
Lots of sync related fixes since then. I'd strongly recommend and upgrade.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat
> From: Aparna1 V [mailto:aparna...@tcs.com]
> Subject: javax.naming.NamingException: Cannot create resource instance
> Please advise as to what could be wrong since im using the
> server.xml that i was using with the tomcat 4.
You just answered your own question. The configuration of Tomcat
Hi,
I am migrating my application from tomcat 4 to tomcat 6.0. But the data
sources are not being created.
I have configured the datasources in the server.xml as follows:
Im trying to connect to sql server 2005.
server.xml
serverName
NYCITASD074
On 20/10/2010 21:39, Ivan wrote:
> Hi,
> From the pom file of tomcat-catalina-ha, it depends on the
> tomcat-catalina. But one class HTMLManagerServlet in the tomcat-catalina has
> a reference to a class BackupManager in the tomcat-catalina-ha. Is there a
> way to remove the recursive dependen
I made the change Chuck suggested and it now prompts me for userid/pw. I
now have to setup the proper user access to make the setup complete.
On Thu, Oct 21, 2010 at 9:34 AM, Keith Masten wrote:
> Thank you for pointing that out Chuck, I will make that adjustment.
>
>
> On Thu, Oct 21, 2010 at
Thank you for pointing that out Chuck, I will make that adjustment.
On Thu, Oct 21, 2010 at 9:16 AM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Keith Masten [mailto:spmdt...@gmail.com]
> > Subject: Re: Securing A Directory Listing
>
> > This does not work.
>
> Be more spe
HTTP-404 error, resource not available. This error has been consistent with
all of the variations that I have tried. Tomcat starts just fine. Realm is
defined in the server.xml.
This is the realm entry in the server.xml.
and this is resource entry that I thought
> From: Keith Masten [mailto:spmdt...@gmail.com]
> Subject: Re: Securing A Directory Listing
> This does not work.
Be more specific.
> /applogs/*
I suspect you erroneously included the path to the webapp in the above. I you
specify just "/*", the entire webapp will be protected; what you
Please clarify what do you mean by "does not work":
0) Did you created the realm in Server.xml or in your context xml file?
1) Error on Tomcat (Tomcat wont start anymore)
2) HTTP Error 500 (or other HTTP error)?
3) Directory is not secured (you can still access without login request)?
4) Login re
This is the web.xml that I am using. This does not work.
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">
Vision Application Logs
On 21/10/2010 13:49, Jason Britton wrote:
> I'll definitely will take a look at the standalone release. Thanks for the
> info. I'm going to throw Cygwin/X on my desktop machine to hopefully be
> able to pull up jvisualvm remotely and/or just use standalone version.
> Perhaps Cygwin/X would also a
On Thu, Oct 21, 2010 at 1:11 AM, Jason Britton wrote:
> Thankfully when I pulled up jvisualvm on the server and issued thread dumps,
> even though the stacktraces for the threads did not come up within jvisualvm
> the thread stacktraces were dumped to stdout.
I think this is quite likely to be th
jason,
Out of personal interest I have a question about the way you use jstack. I
came across this "jstack cannot take dump of hung process" problem before. I
once witnessed the same exceptions when chasing a deadlock.
This happened to me on ubuntu 10.4.0 (and 10.4.1) 64-bit using sun's jdk
1.6.0
A jsp page with database connections? That's poor.
There is a bug in *your* code. You should find that bug and fix it. Then the
problem will go away.
-Original Message-
From: Amal Thayyil [mailto:amalthay...@gmail.com]
Sent: Thursday, October 21, 2010 4:27 AM
To: users@tomcat.apache.org
Hi Charles,
thank you for your tip. I solved now my problem. My application waited for a
service wich was not initialized before the application. A classical
deadlock which of course do not appear when I start Tomcat first (with the
needed service) and then deploy my application ;-)
kind regards
I'll definitely will take a look at the standalone release. Thanks for the
info. I'm going to throw Cygwin/X on my desktop machine to hopefully be
able to pull up jvisualvm remotely and/or just use standalone version.
Perhaps Cygwin/X would also allow you to pull up VisualGC remotely?
On Thu,
On 21/10/2010 09:23, Amal Thayyil wrote:
> Hi,
>
> I am getting the following error and tomcat gets stuck while running a jsp
> page with MYSQL DB Connections.
>
> Tomcat Version is 6.0.29
>
> SEVERE: The web application [/] is still processing a request that has yet
> to finish. This is very li
On 21/10/2010 08:46, André Warnier wrote:
> Pid wrote:
>> On 20/10/2010 17:02, Oliver Wulff wrote:
>>> Thanks. To recap, I configure AJP13 with tomcatAuthentication equals to
>>> false but I still need the login-config and security-constraints in the
>>> web.xml...
>>>
>>> Where can I let tomcat kn
On 21/10/2010 00:11, Jason Britton wrote:
> Highly recommend trying out jvisualvm (it's in your jdk bin) if you're
> running 1.6.
There's a standalone release - 1.3.1 - with more plugins & some slightly
shinier toys.
https://visualvm.dev.java.net/
Even if you can't run it on the same machine a
Tobias Crefeld wrote:
We have problems to manage Tomcats Logs. Logfiles like catalina.out or
application specific logging is not the problem, but there are some
files that are created each day new by tomcat (Tomcat-6):
localhost.2010-02-27.log
manager.2010-02-16.log
host-manager.2009-08-30.log
I am getting the following error and tomcat gets stuck while running a jsp
page with MYSQL DB Connections.
Tomcat Version is 6.0.29
SEVERE: The web application [/] is still processing a request that has yet
to finish. This is very likely to create a memory leak. You can control the
time allowed f
Hi,
I am getting the following error and tomcat gets stuck while running a jsp
page with MYSQL DB Connections.
Tomcat Version is 6.0.29
SEVERE: The web application [/] is still processing a request that has yet
to finish. This is very likely to create a memory leak. You can control the
time allo
We have problems to manage Tomcats Logs. Logfiles like catalina.out or
application specific logging is not the problem, but there are some
files that are created each day new by tomcat (Tomcat-6):
localhost.2010-02-27.log
manager.2010-02-16.log
host-manager.2009-08-30.log
admin.2010-07-10.log
Thomas Hauk wrote:
On Oct 20, 2010, at 3:22 AM, Pid wrote:
Presumably by 'different servlet' you mean different 'web application
which contains one or more servlets'?
I'm not sure what kind of distinction you're trying to get at here, so let me
phrase what I need in another way.
I have brand
Aggarwal, Ajay wrote:
bump... looking for ideas... anybody?
If the question finally is "..without using *container-based*
authentication/authorisation", then have a look at
http://securityfilter.sourceforge.net/
There is good explanation of the difference between the "container-based" and
Pid wrote:
On 20/10/2010 17:02, Oliver Wulff wrote:
Thanks. To recap, I configure AJP13 with tomcatAuthentication equals to
false but I still need the login-config and security-constraints in the
web.xml...
Where can I let tomcat know to which roles a user belongs to?
That has to be done via
Environment:
Tomcat 7.0.2 - running on 32-bit 1 GB ram
java version "1.6.0_21"
Debian 2.6.26-2-686
--
Tomcat directory (manual installation)
/srv/tomcat
/srv/tomcat/bin/tomcat-juli.jar
/srv/tomcat/bin/bootstrap.jar
/srv/tomcat/bin/native/unix/jsvc
All the paths are correctly addressed
Error
ja
46 matches
Mail list logo