I have not gotten jmeter to support mutually authenticated SSL. Is this
possible?
jmeter
-Tim
Steph Richardson wrote:
I guess this is more of a generic http server question than a tomcat
one, but I'm looking for recommended toolset(s) to use in
benchmarking the performace of our tomcat
This problem is solved.
Just in time actually, it had to be live tomorrow.
The solution was particular for jCharts: it uses X11 to generate the
charts (I guess) and therefore it needed a special configuration.
Jaap
On Sun, 2003-08-24 at 00:21, Jaap Stelwagen wrote:
Hi,
I have two systems
I know I have read that you can use eclipse to remote debug tomcat, but is it possible
to have eclipse debug struts action classes that are being executed by Tomcat? And is
there anywhere that documents how that would work.. I'd love to know what the value of
some variables are at runtime etc
At 01:21 PM 8/24/2003 -0700, you wrote:
How would you register a webapp's servlet and that servlet's url-mapping
when the invoker servlet mapping is disabled...??? I hope that sounds
right. I just uncommented the invoker mapping in conf/web.xml but if this
is a security risk I would like to
At 11:47 AM 8/24/2003 -0500, you wrote:
I am able to put classes in the CATALINA_HOME\shared\classes and have
all of my hosts access a common class. Is there a way to set a user
directory as a shared webapp like that?
Not unless you modify the startup scripts. I'd avoid this since that will
be
I'm having trouble reloading servlets on Tomcat 4.1.27.
The log files indicate that Tomcat notices that the servlet has
changed. First time, after updating the servlet, I hit up the servlet I
get a 500 error and a stack trace. Every time after that I get a
resource not available error.
My
Hello,
I'm having a problem getting a directory listing using Apache and Tomcat.
I have a directory that I want to display the contents of using Apache.
However, when I access the directory (http://myhost.com/dir/) I get a
404 error from Tomcat.
In my workers2.properties file I have the uri
I'm in the process of configuration Tomcat 4.1.27 to communicate with Apache
1.3.28 through mod_jk on a single machine. I have several virtual hosts set up
on my server in the following way: /home/vhost1, /home/vhost2, etc.. I would
like to configure Apache/Tomcat to allow users of these vhosts to
The most basic way is probably to use log4j or commons logging and then
use the eclipse logwatcher plugin to keep watch over your log files.
Paul Sundling
Quasar wrote:
I know I have read that you can use eclipse to remote debug tomcat, but is it possible
to have eclipse debug struts action
Hi
confirmed:
the WebdavServlet's PROPPATCH method in tomcat 4 5 doesnt work
actually, it just isnt implemented.
the fact is not in the docs (afaik), on the contrary, several pages
in the jakarta site claim tomcat 4 supports webdav level 2, which
is not true.
it is not in the bugtracker;
I'm using org.apache.catalina.realm.JAASRealm for my authentication for
my webapps, and I have got to the point where I want to use tomcat's
manager and admin app.
Unfortunately when I try to use JAASRealm for the manager,
JAASCallBackHandler throws an exception because it hasn't been given
Hi ,
I am running a simple servlet/jsp on Tomcat 4.1.18 (on Solaris
machine with 4GB mem). The application suppose to extract some data from
database but I encountered this error: java.lang.OutOfMemoryError .
I don't have any traffic on the tomcat server. Is this a java or tomcat
error ?. How
Atreya
Your code looks fine but it may be that you are ommiting the path paramater
that is causing the problem:
Context path=/examples docBase=examples debug=0
reloadable=true
Kind Regards
Schalk Neethling
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel:
set JAVA_OPTS environment variable to your preferred max and min heap sizes
Example : JAVA_OPTS=-server -Xincgc -Xms128m -Xmx256m
Looking for Help : java -X
At 05:55 PM 8/25/2003 +0800, you wrote:
Hi ,
I am running a simple servlet/jsp on Tomcat 4.1.18 (on Solaris
machine with 4GB mem). The
Hello friends,
I have a problem with web.xml, in specifying the welcome-file-list tag. In the
web.xml file i have specified in the following way.
welcome-file-list
welcome-fileindex.html/welcome-file
welcome-fileindex.jsp/welcome-file
welcome-fileindex.htm/welcome-file
/welcome-file-list
But
hello,
in web.xml, is there any statement like this:
init-param
param-namelistings/param-name
param-valuetrue/param-value
/init-param
if exists,try this:
init-param
param-namelistings/param-name
You can place a Realm inside a Context declaration.
As for the non-working of JAASRealm - I know nothing about it and have not
used it.
-Tim
Adam Hardy wrote:
I'm using org.apache.catalina.realm.JAASRealm for my authentication for
my webapps, and I have got to the point where I want to use
Madhu
If this is just for the first (homepage) you have two options, if you are
working with Tomcat via Apache create a standard .html page that you place
in your .htdocs of Apache, in this have a meta-refresh tag that directly
forwards to the .html you want to go to alternatively, strip all the
Hi,
Thanks for the suggestion. This context is my root context. So I don't
want to reach it via a sub-directory, I want to access it from the root
url.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
Bottom line is that, if you want Log4j logging to work properly, make sure
log4j.jar is in WEB-INF/lib.
I had unwanted Debugging-Output from org.apache.commons.Digester and org.apache.commons.Digester.sax that made it impossible to continue to work. Everytime i started Tomcat i had to wait 10
Hi James,
I tried inserting the context-param into web-app, no effect.
But thanks for catching the typo in my JSP code in the lookup() line.
Unfortunately, this had no effect either. I still get the infamous
Cannot load JDBC driver class 'null' error... hurmmm...
Any suggestions from others
Dan McCullough wrote:
I have not ever had any problems doing Tomcat/Apache/JDBC/MySQL/SSL, except these last
few times
at it has been problems with corupt downloads and incompatible mod_jk, and its a pain
trying to
find any mod_jk. So if you find it make sure it is compatiable with your
Thanks, thats what I was thinking. I am now going around and building from source.
--- John Turner [EMAIL PROTECTED] wrote:
Dan McCullough wrote:
I have not ever had any problems doing Tomcat/Apache/JDBC/MySQL/SSL, except these
last few
times
at it has been problems with corupt
The HOWTO will work for all versions of Red Hat (and probably any other
Linux). The only gotcha is getting the correct mod_jk.so binary.
Everything else is the same as far as I can tell.
John
Michele Neylon:: Blacknight Solutions wrote:
Which version of Apache?
Which OS?
If it's RH with 1.3*
hello,
in web.xml, is there any statement like this:
init-param
param-namelistings/param-name
param-valuetrue/param-value
/init-param
if exists,try this:
init-param
param-namelistings/param-name
John,
Your theory is wrong, and here is why : how would Tomcat be able to change
your permissions, if you set an access-denied type of permission to Tomcat
so that he -cannot- change your permissions ? This is obvious : you prevent
Tomcat from accessing some of your JSP files : therefore he won't
Hello,
Tomcat 4.1.18/Apache 2.0.43/mod_jk2
3 virtual hosts in Apache, 3 virtual hosts in Tomcat
Apache virtual host section
NameVirtualHost *
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests
Howdy,
You probably have a more complete error in your logs. The -LE release
is missing some libraries that play a roll in the authentication. Stick
with the full release in your case.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Steve Wilkinson [mailto:[EMAIL
Howdy,
Definitely, what I say here is for true : restart Tomcat4 and all your
permissions you might have set before in your web application folder
are
replaced, and I'm talking about Linux OS, didn't try it on Windows.
And I want to prevent this from happening.
I can't reproduce this on linux
Has anyone got Tomcat 5.0.3 working with Apache 2.0.46 (using mod_jk2)?
Especialy concerning struts... I just cannot get the actions (*.do) to
work whithout it giving me a 404 not found. It works file Tomcat
standalone. All other *.jsp, images, etc. loads fine via Apache.
If it's a Tomcat
Howdy,
Yes, and it's true for any servlet spec 2.3 compliant container.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Prince [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 6:53 AM
To: Tomcat Users List
Subject: JavaServer Faces
hi,
does tomcat support
Howdy,
First of all, the fact that you can have multiple engines/services/hosts
doesn't mean they're necessary. It's just good coding practice on the
part of tomcat developers knowing they can't predict all possible
configurations and therefore not wanting to restrict users of tomcat by
allowing
WARNING: a virus (probably I-Worm.Sobig.f) or suspicious attachment was detected and
removed from the following message from [EMAIL PROTECTED]
Some of the content may still be readable.
---BeginMessage---
All subparts of this MIME message are infected with a virus.
---End Message---
Hello, I´d like having some help on a test I´m doing : I have a
servlet that updates a record in a table in database, but it cannot do it
immediately because I´m locking the table using another client. The browser
progress bar will just go on and on while the servlet waits to perform the
ah, ok. I put those 2 realms at engine level. So I can't have 2 realms
in engine?
Now thanks to your advice I've got the manager working with
tomcat-users.xml by placing the realm tag in the manager.xml in the
webapps dir. However I would like to keep the declaration in my server.xml
Thanks,
Glad you got it working. Incidentally, GNU tar handles all of the GNU
software and is 100% compatible with any other archive, even those built
using Solaris tar. So, you can avoid this in the future by making sure
your path brings in GNU tar ahead of Solaris tar by default. You won't
have
David Wynter wrote:
So if I have a Context path=
docBase=/usr/local/jakarata-tomcat-4.1.12/webapp2/se / DocumentRoot
should be /usr/local/jakarata-tomcat-4.1.12/webapp2/se. If this case then
what about the other webapp in
/usr/local/jakarata-tomcat-4.1.12/webapp2/rwtransform how will I get to
You can't have 2 Realms at the Engine level because there is no way to
determine which Realm a webapp should use.
-Tim
Adam Hardy wrote:
ah, ok. I put those 2 realms at engine level. So I can't have 2 realms
in engine?
Now thanks to your advice I've got the manager working with
Hi everyone,
Is the http://jakarta.apache.org/ site down or it our network?
Thanks,
Tarek M. Nabil
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Howdy,
I think it might be down. I can't get into my various apache.org
accounts which is usually the giveaway that it's completely down. ;(
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Tarek M. Nabil [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 10:32
Hi,
I can't reproduce this on linux (RH 9): no permissions are changed.
Did you try to change Ownership of the folder (change the User and the Group
ownership of the folder) ? This is what Tomcat changes at first sight after
restarting it.
How did you set your permissions : did you use a Linux
Howdy,
Did you try to change Ownership of the folder (change the User and the
Group
ownership of the folder) ? This is what Tomcat changes at first sight
after
restarting it.
I did, and tomcat did not change them back. I use chmod, not a
graphical tool, and no Samba involved (Samba would be my
Hi guys,
i am needing help with DBCP. Since it doesnt work as a singleton object, iam
making something crazy like that.
if ( ds == null )
{
BeanPoolConn bp = new BeanPoolConn();
ds = bp.conexao();
}
The BeanPoolConn instances DBCP component. The problem
OK, but what's the resourceName for then, as in
Realm className=org.apache.catalina.realm.UserDatabaseRealm
debug=99
resourceName=UserDatabase/
On 08/25/2003 04:28 PM Tim Funk wrote:
You can't have 2 Realms at the Engine level because there is no way to
determine which Realm a
Hi,
It looks like you have a little confusion between JK and JK2.
Location /TruckEnqui/
JkUriSet worker ajp13:test2.com:8009
/Location
Get rid of these in your httpd.conf. The URIs are defined in
workers2.properties.
workers2.properties file :
[logger.apache2]
level=DEBUG
[shm]
Hi there,
I'm current using Tomcat 3.2.4 in a private network, and want to give
access to external clients through an Apache server configured as proxy. The
problem is that Tomcat is changing request addresses... I know how to solve
this problem in Apache (simply turn UseCanonicalName off),
Has anyone written a web app that downloads files within a directory
structure and maintains the directory structure on the client machine?
I'd like to do it without archiving the files in a zip file first. How do
you identify a directory in a multipart download?
Thanks,
Derrick
This
Second half of this question is what is a good profiler to use with Tomcat ?
I am currently using JProfiler (
http://www.ej-technologies.com/products/jprofiler/overview.html ) which plugs plays
really easily
with my current Tomcat install, BUT it's major problem is that it includes time that
Hi,
This is an ORT (Ovh Redirect Technology) SMTP server.
ORT did not find out any redirect email
--- Below this line is a copy of the message.
Received: by ORT (Ovh Redirect Technology) ver:0.99
[EMAIL PROTECTED]
[EMAIL PROTECTED] NONE (no found)
Howdy,
Second half of this question is what is a good profiler to use with
Tomcat
I like OptimizeIt.
with my current Tomcat install, BUT it's major problem is that it
includes
time that threads spend idly listening on sockets. So
That's proper behavior. I'm not aware of a profiler that
I know I have read that you can use eclipse to remote debug tomcat, but is it possible
to have eclipse debug struts action classes that are being executed by Tomcat? And is
there anywhere that documents how that would work.. I'd love to know what the value of
some variables are at runtime etc
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/realm/UserDatabaseRealm.java?rev=1.8content-type=text/vnd.viewcvs-markup
It looks like it is for JNDI lookups that is only specific to UserDatabase
Realm. Probably using Google or the archives might
How is your JNDI resource configured? In an explicitly defined Context or
in the DefaultContext? ResourceLinked?
I ask because there are a number of folks with similar problems that look to
be something missing in how JNDI datasources are handled internally when
using DefaultContext.
See other
I've been trying to use this to set up multiple Host entries.
I started off with Tomat V5.09 but get the following response if I click
on the existing host:
HTTP Status 500 - Error retrieving attribute liveDeploy
I get a similar message if I try to create a new host - just that it
fails to
It's in DefaultContext, I checked the related messages, it seems like
the same problem.
Thanks for the answer.
_
Manolo Ramirez T.
Madere, Colin wrote:
How is your JNDI resource configured? In an explicitly defined Context or
in the DefaultContext? ResourceLinked?
I ask
Madame, Mademoiselle, Monsieur,
Votre e-mail n'a pas atteint son destinataire.
Pour des raisons de sécurité, le type de fichier attaché n'est pas autorisé. Nous vous
prions de contacter le destinataire pour de plus amples renseignements.
Administrateur Informatique
Régie du Rhône S.A.
Place du
Hi all,
On one of our servers, we were running Red Hat Linux 7.3 with Apache
1.3.X, mod_jk, Sun JDK 1.4.1, and many (~150) instances Tomcat of
various flavors. Everything worked perfectly until we upgraded to Red
Hat 9. Now, it seems like mod_jk and Tomcat are losing touch until the
Tomcat JVM
Is the http://jakarta.apache.org/ site down or it our network?
The site was up, but the server was unaccessible due to a network problem
unrelated to our server. Everything should be fine as of 11:15 EDT.
--- Noel
-
Hi,
I'm using the new UserDatabase (org.apache.catalina.UserDatabase /
org.apache.catalina.users.MemoryUserDatabaseFactory) as configured by
default with Tomcat 4.1.27.
Our System admin made a basic XML error, and in tomcat-users.xml put and
entry in like...
user username=tomcat password=tomcat
Thanks :)
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 5:51 PM
To: Tomcat Users List
Subject: RE: Is the Jakarta site down?
Howdy,
I think it might be down. I can't get into my various apache.org
accounts which is usually the giveaway
Howdy,
It looks like a bug -- file it in Bugzilla.
You can't stop the file being re-written, and if you have any comments
in the file they'll be removed.
I'm not sure if XML entities are allowed or not. It's really intended
to be a simple, get started quickly mechanism. Not a complete
So you are using a resource link in the DefaultContext either in server.xml
or your web.xml?
-Original Message-
From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 1:27 PM
To: Tomcat Users List
Subject: Re: Can not load JNDI DataSource in Servlet.init()
It's
What kind of error are you getting that makes you thing they are losing
touch. Check the mod_jk log and see what kind of errors it is throwing
and post an example.
Ben Ricker
Wellinx, Inc.
On Mon, 2003-08-25 at 10:54, Fred Whipple wrote:
Hi all,
On one of our servers, we were running Red Hat
Thanx for this.
I thought it was the other way around. When looking to jk2 Source (mod_jk2.c), it does
not matter.
See comments below :
/**
* Set a property associated with a URI, using native Location
* directives.
*
* This is used if you want to use the native mapping and
* integrate
Hi everyone!
apache 2.0.45 tomcat 4.18 mod_jk2
I'm having a problem with Virtual host. I thought I had it working but it
seemed to stop working. Here is what I would like to do. I would like to
have several static sites served from the standard apache/htdocs directory,
and jsp sites served from
Ah, the symptoms, of course ;-)
There actually aren't any errors AFAIK. Perhaps there's a more verbose
logging level? I couldn't find any obvious info on this in the manual.
What actually happens is if I make a request to a JSP, for example, that
should normally be forwarded onto Tomcat, the
The following list topics seem to all be related:
* Can not load JNDI DataSource in Servlet.init()
* Globally defined JNDI DataSource (was: JNDI DataSource Realm)
* Question about Tomcat Documentation
* Tomcat 4.1 DefaultContext Bug?
* ResourceLink and DefaultContext
and all others I've seen
I've run into a problem with my setup of Apache 2.0.47, Tomcat 4.1.27 LE, JDK1.4, and
JK2 connected using JNI. If I stop the Apache service, and then restart it, I get a
505 Server Error unless I either reload the page a few times, or load a page that
isn't passed to Tomcat first, once that's
Sobig... Solow!
Sobig finally away, Jeez, 700 messages from Compuserve to my account
(and it isn't even my provider)
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: maandag 25 augustus 2003 16:51
To: Tomcat Users List
Subject: RE: Is the Jakarta site down?
No, I'm not using a ResourceLink.
_
Manolo Ramirez T.
Madere, Colin wrote:
So you are using a resource link in the DefaultContext either in server.xml
or your web.xml?
-Original Message-
From: Manolo Ramirez T. [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 1:27
Hi,
I have the exact problem. I'm not sure what's going on.
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Jason Symons [mailto:[EMAIL PROTECTED]
Sent: August 25, 2003 3:24
Hi,
This is an ORT (Ovh Redirect Technology) SMTP server.
ORT did not find out any redirect email
--- Below this line is a copy of the message.
Received: by ORT (Ovh Redirect Technology) ver:0.99
[EMAIL PROTECTED]
[EMAIL PROTECTED] NONE (no found)
Tomcat is perfectly capable of serving HTML documents. Set up a Host in
server.xml, and in that Host set up a Context to handle your static content.
If you're not using Apache now, there's no reason to use it in the
future just for serving static files.
John
[EMAIL PROTECTED] wrote:
Hi
I am
hello,
I attempt to use openpgp in my web application
For that i use an external provider.
I put jar files in WEB-INF/lib and in a 'load-on-startup' servlet, i call
Security.addProvider() and i read a public key from a file for futur
encryptions.
I start tomcat manually (with startup.sh) and
If I want to use Tomcat to serve all of my HTML pages, can I still use
things such as .htaccess where I can set up protected directories etc.?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
I am using mod_jk together with apache 1.3 an mod_ssl to forward the
HTTPS request from apache 1.3.27 to tomcat 4.1.24.
Instead of getting the URL that a am entering in the browser
https://foo.bar/servletXY?param=abc
I get following URL-request in tomcat:
http://foo.bar:443/servletXY?param=abc
Howdy,
.htaccess files are an Apache feature, not tomcat, so you can't use
them.
Instead, you would use the security and access control mechanisms
defined in the servlet specification.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Atreya Basu [mailto:[EMAIL
Hello - I'm having some problems with Tomcat on one of my servers..
Whenever I try to go to http://localhost:8080/admin
it will bring up the login script - with the Realm as XDB and none of
the preconfigured Tomcat usernames and passwords seem to work.. I tried
creating a new user under the
Well then it may be something else. I'm essentially doing what you are with
a JNDI datasource defined in the DefaultContext with nothing in the web.xml
(except to pass along the JNDI name so it's not hard-coded). It breaks for
me (and a bunch of other people posting recently using 4.1.x) when I
Bug 22715 posted
BTW, what makes you think UserDatabase is new? ;)
As opposed to the old MemoryRealm from Tomcat 4.0.x, which is now commented
out by default in server.xml :-)
!-- Comment out the old realm but leave here for now in case we
need to go back quickly --
!--
The only Tomcat built-in protection is Realms:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 4:57 PM
To: [EMAIL PROTECTED]
Subject: Question about Tomcat serving HTML pages
Maxime Colas des Francs wrote:
I attempt to use openpgp in my web application
For that i use an external provider.
I put jar files in WEB-INF/lib and in a 'load-on-startup' servlet, i call
Security.addProvider() and i read a public key from a file for futur
encryptions.
I start tomcat
I am trying to use Tomcat to perform a JNDI look up of a JMS queue (JMS
server is Sun One MQ that is bundled with Sun One AS 7). However, it
doesn't seem like JMS resources are bound to the Tomcat JNDI namespace.
For my app, I am using com.sun.jndi.cosnaming.CNCtxFactory as the initial
context
Hi,
I am a pure java supporter. I don't like C# or .Net because of Microsoft's
monopolization (sorry, kind of prejudice). However, I notice that more and
more people pick up C#/.NET due to their new advantages. I also heard that
C# is much faster than Java. My concern is, can Java/JSP still be
I got up and running with V5.09.
I found a few things out:
1. Each v. host needs its own web apps directory or else Tomcat gets
confused.
2. If you don't set a default v.host then unrecognised v.host names
result in an empty (0-length) response. If you do then you get
the
I was making more test with this, I find that if I define the resource
in a normal context it works, but I want to use defaultcontext to work
with ant InstallTask, or is there another way to do this?
I attached my web.xml, this is the relevant entry in server.xml:
DefaultContext debug=0
To my knowledge, up to the 4.1.24 version of TC 4.1 has a tag handler pooling issue
which leads to malfunctioning of tags. Does anyone know what is the situation in the
4.1.27 right now (fixed or not)? Whether it is still advisable to disable the option
in the system configuration?
Thanks
87 matches
Mail list logo