Hi,
Start by running your application inside a profiler to see where memory
is spent. An OutOfMemoryError is not recoverable (and doesn't have to
do with the connector).
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent:
Hello Filip,
Thanks for the reply. I had checked your XML file out
and thought about using it but was unsure if putting
the .class files in the work directory was an okay
thing to do for a released product. We may have
customers installing our app into an existing Tomcat
server environment and
actually, my problem is memory consuming, I think you thought I had
questioned first :) I'm using suse 9.1, does this export help in
something in my case?
thaks
Emerson
Ryan Lissack wrote:
Hi,
Yes it will more than likely fix your problem. It is a problem with RedHat
9 and NPTL. Search the
The answers on questions below:
The tools.jar is in on the path.
Tomcat is running from the console.
I am logged in as an administrator where the Tomcat is installed.
thanks for response
ondrej
- Original Message -
From: Knight, Digby [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
Getting closer.
I removed all logs, and all the servlets from (cd work/Catalina/;rm -rf *).
Startet up tomcat, and as you
said, all the web applications were generated under all three hosts (is that
deploying?).
But I dont understand why that happens. I have the Host attribute
autoDeploy=false.
Thanks I do test everything on my dev machine, but I don't have this
issue on osx. The live server however is linux, and thus i'm a little
restricted in terms of the tests I can run.
Restarting the server is of course what i do do, but I've never had
this sort of error previously on a live
On Tue, May 25, 2004 at 07:25:14PM +0200, Trond Hersl?v wrote:
: You say disable deployOnStartup. Did you mean autoDeploy?
Not at all -- I most certainly meant deployOnStartup.
Please search the online Tomcat docs for this term, it is explained in detail.
: What is the point of setting
On Tue, May 25, 2004 at 09:51:24AM -0700, Jason Palmatier wrote:
: Unfortunately the web.xml excerpt was a copy/paste.
That's alright -- I realize, I misread it. =)
: If I use the Ant
: method as described in the docs will it add the
: subdirectories to the package statement and create the
:
well time will only tell, but assuming the
org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
had something to do with it (which I suspect it does) upgrading to
5.0.24 certainly gets rid of that.
I'll give it a couple of days, but its where my money is.
Cheers
Thanks for your reply.
Unfortunately shutting down the registry seems not to work (although I
tried hard I could not find a way to do this). Instead, on shutdown (i.e.
in my ServletContextListener.contextDestroyed()-method), I unexport my
remote objects and unbind them in the registry.
Does
Thanks QM,
funny as it sounds, but nothing works and I'm happy.
No I must just deploy my apps manually. GREAT!
I'll drink a cold norwegian beer now. - haven't slept since saturday.
Thanks again.
-Opprinnelig melding-
Fra: QM [mailto:[EMAIL PROTECTED]
Sendt: Tuesday, May 25, 2004 19:37
Hi,
I think you're doing the right thing. See also
http://archives.java.sun.com/cgi-bin/wa?A2=ind0104L=rmi-usersP=R25414;
I=
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Christoph Mangold [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 1:55 PM
To: Tomcat
Hi all
Please bear with me as this is a little complex / indirect - I'll
explain below why the JServ URL - zone name abstraction is useful, and
then present a couple of workarounds I've thought of for trying to
implement the equivalent capability on top of Tomcat. I'd appreciate a
critique of
:funny as it sounds, but nothing works and I'm happy.
:No I must just deploy my apps manually. GREAT!
I'm glad that worked.
Static/manual deployment has its benefits, but if you want the automatic
deploy-on-startup behavior (not to be confused with auto-deply!) you
could simply use a separate
you are naked in this document!
Norton AntiVirus Deleted1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
The options for URL rewriting in tomcat get discussed frequently on this
list. Feel free to search the list archives for complete discussions.
Users usually go the Filter route, which is illustrated by the Balancer
webapp that ships with tomcat 5. That webapps is not coincidentally
similar
again? :)
On Tue, 25 May 2004 [EMAIL PROTECTED] wrote:
Date: Tue, 25 May 2004 12:21:42 -0500
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: warning
you are naked in this document!
-
To unsubscribe, e-mail:
What my stuff does is the same as jasper does when it compiles on the fly.
Except that my build does it al in one swoop.
So what I did was to compile two features into one,
1. precompile
2. on the fly compile
ie, all the jsp pages are precompiled, but if you change one, the jasper engine will
This issue has been (tangentially) addressed in a number of threads on
several lists, but the answers I've found are not exactly consistent.
I'd appreciate this list's opinion.
So, is it insecure to run standalone Tomcat as a root process on a Linux
system? By 'running Tomcat as a root
Hi,
You're not going to a get a simple yes or no answer. Both camps that
you cite are right. Why run something as root if you don't have to?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Barnet Wagman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 2:30
Hi,
We would like to run IIS with Tomcat. I have been struggling to make
IIS to work with Tomcat. After I followed the instructions to
configure IIS a few times, I though I have successfully configured the
IIS to work with Tomcat. It works for only one application that I
created, the examples
I'm trying to get mod_jk working with apache 2.0.49 built from source on
RedHat ES 3.0. I've got the module built and in the modules directory,
and my httpd.conf contains:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /usr/local/apache2/conf/workers.properties
JkLogFile
Okay, I've copied my files to my PC and attempted to
run the Ant build using the build.xml given on the
Tomcat 5.0 site. It runs for about 2 seconds and
spits out this error:
C:\apache-ant-1.6.1\bin\build.xml:21:
java.lang.VerifyError: (class: org/apache/
xerces/jaxp/DocumentBuilderImpl, method:
Thanks for the link Jim, I'm just getting around to this certificate now,
I got swamped with some extra work that I had to complete first. I looked
at the link you sent, but there is a small problem, I don't know anything
about Java:) What do I do with the source code given on the page? Should
Furthermore, what are the interfaces of the JMX bean proxies that are
mentioned? Are they standard, dynamic/model, or open mbeans? Is
there a good page out there that details what the interfaces of the
mentioned MBean proxies look like?
Does anyone configure mod_jk2/jk2 in this manner? If
Hi all,
I have Axis running as a webapp of Tomcat, and am wondering whether I
can share a static variable of a class between a Tomcat Valve and
a Axis Handler?
The following conceptually replicated what I tired:
//In the Constructor of a Tomcat Valve
ArmControl armControl = new
I saw your original post but forgot to reply ...
You can use keytool to import the certificate using pkcs12 certificate store
(add a '-storetype pkcs12' to keytool's arguments), which is supported by tomcat.
Also, if your certificate is signed by an intermediate CA (meaning more than 2
certs on
Let's see if I can offer a direct answer. I don't believe tomcat is
insecure, but there are always those holes that haven't been found yet
and a chance that the bad guys will find them first.
The best practice approach to system security is to run all processes
(tomcat included) at the
Hi all,
I am trying to use Log4j.properties to log Tomcat messages to the syslog. I am
getting errors in
the console telling me that it can't creat SyslogApender. Does anyone have a sample
of the
log4j.properties file that uses the SyslogAppender in Tomcat or have ideas how I can
make mine
Sorry, the whole thing actually hung when I tried to access the methods of
the returned Static variable...
Cheers,
Rui
On Tue, 25 May 2004, Rui Zhang wrote:
Hi all,
I have Axis running as a webapp of Tomcat, and am wondering whether I
can share a static variable of a class between a
Hello Jimmy,
the Remote JMX jk2 config is possible with this jk2.properties file
=== conf/jk2.properties
handler.list=modjk,mx
# Überschreibt den StandardPort des Channel-Sockets
channelSocket.port=8009
# Apache Status
modjk.webServerHost=localhost
modjk.webServerPort=80
modjk.statusPath=/jkstatus
Hi,
Sorry, I might've misunderstood you. Are you saying that even after a user
has loged in, they will still be prompted for log in information if they try
to go to another page during the same sessions? That's weird..., because
if you have your session set up right, tomcat will remember the
I want to make sure we're on the same page here. I have a certificate
that looks like this...
-BEGIN CERTIFICATE-
MIID/DCCAuSgAwIBAgIEAIXW1jANBgkqhkiG9w0BAQQFADCBozELMAkGA1UEBhMC
blablablabla
/WeCY0ZzyRYuHhQYIm3R+A==
-END CERTIFICATE-
I copied it to a plain text file called
Hi All,
I am using Tomcat 4.1 in Jbuilder X. Can someone please let me know how to
define JDBC configuration in server.xml ?
I want to define a datasource, user, password, database server name and port
in the configuration.
Thanks in advance.
Ram
There are some good examples for JDBC connection pooling for a variety of databases
located at the following URL:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
Good luck,
Randall
-Original Message-
From: Ram Mahajan [mailto:[EMAIL PROTECTED]
Sent:
I believe Koji wants to authenticate users as soon as they register. I agree
with him that it's kind of silly to have the user first fill out all his
user profile information to register as a new user to the site, and then ask
him to log on. It would be nice if one is able to log on the user
Hi
I managed to set up HTTP BASIC AUTH using the following:
HttpServletResponse response = request.getResponse();
response.setStatus( 401 );
response.setHeader( WWW-Authenticate, BASIC realm=\realm\ );
Now I want to go a step further and implement certificate authentification.
How about use web.xml to configure your security rather than doing it by hand?
That way tomcat does all the hard work.
Mark
-Original Message-
From: SH Solutions [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 10:37 PM
To: 'Tomcat Users List'
Subject: HTTP AUTH
Hi
I
Tomcat uses parameter javaEncoding in $TOMCAT_HOME/conf/web.xml to define
Java file encoding. The default is utf-8. You can change it to your
preferred encoding so that the compiled java source from jsp file will use
your encoding.
You may have to define a encoding filter. Also you may have to
Hi
How about use web.xml to configure your security rather than doing it by
hand?
That way tomcat does all the hard work.
We have a complex CMS system with about 35000 users.
We obviously do NOT want to use web.xml.
Regards,
Steffen
Hi,
I'm trying to change the JVM Tomcat is using to Sun's JVM. I've installed
the J2SDK from Sun and have set the environment variable JAVA_HOME to
/usr/java/j2sdk1.4.2_04 in /etc/profile. But after restarting Tomcat it is
still using the JVM from the Free Software Foundation.
How do i change
Hi Chris-
It depends on what you're trying to do. If all you're trying to do is
put the certificate in the keystore as a Trusted Certificate Entry, you
can use keytool to do that (check the openssl doc to see how to export
the cert in DER format). This is typically done when you're using
At 11:58 PM 5/25/2004 +0200, you wrote:
Hi
How about use web.xml to configure your security rather than doing it by
hand?
That way tomcat does all the hard work.
We have a complex CMS system with about 35000 users.
We obviously do NOT want to use web.xml.
Can you explain yourself here? It is
Sorry I was wrong (it's been a while ...). You don't really need to import the
pkcs12 format certificate into a keystore, the .pfx you generated earlier *is*
the keystore in pkcs12 format.
Now you only need to configure tomcat to recognize the keystore. See
Hey Many Thanks! It works like a dream. Three cheers for the Brits!
Hut
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
At 11:58 PM 5/25/04 +0200, Jan-Pieter van den Heuvel wrote:
I'm trying to change the JVM Tomcat is using to Sun's JVM. I've installed
the J2SDK from Sun and have set the environment variable JAVA_HOME to
/usr/javaj2sdk1.4.2_04 in /etc/profile. But after restarting Tomcat it is
still using the JVM
Can you give one little example, because I try do it but my tomcat return to
me one error say that not have one drive defined for this conection or dis
drive not exist...
I want use pool connection of tomcat-catalina.
I'm sending the attached file to help you understand my problem, I'm using
I experienced this problem on FreeBSD.. i cant remember what the fix was
exactly but i can tell you to work around it you will have to make a
change in your httpd.conf. I found my fix by pasteing the error into
Google..
good luck
Shapira, Yoav wrote:
Hi,
Maybe ask on the Apache httpd
Yes, my question was how to authenticate users as soon as they register.
I think there must be API for it.
Sorry for posting not clear question.
Any ideas?
Koji
-Original Message-
From: Patrick Willart [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 5:53 AM
To: Tomcat Users
Unfortunately, there is not an API for this in J2EE or
container-managed authentication. I accomplish this in an example app
that I wrote - using cookies and a redirect to j_security_check. For a
demo, see http://demo.raibledesigns.com/appfuse.
Matt
On May 25, 2004, at 7:51 PM, Koji
I am building a site that has regions which are restricted to non-members.
The idea is to build the site in a way that there is *not* a member section
per se - rather certain links will work for members only and otherwise link
to a 'sign-up page'. These links will be distributed all over the site
Redirecting to j_security_check is a nice idea.
Yes, I know Servlet specification doesn't have such API.
But Tomcat must implement a mechanism that associates
user principal with http session so that servlets can get
user principal by calling HttpServletRequest.getUserPrincipal().
So I'll check
Hi
Can you explain yourself here? It is not obvious to me. How does the
number of users make any difference here. Just set up BASIC Auth in
web.xml. You don't have to define your users and roles in web.xml, if
that's what you are implying.
Alright, that is what I was thinking.
So, is it
Hello!
Uri Mapping in the workers2.properties seems to be of the format
[uri:host:port/urlpattern]. urlpattern and host support the wild
card *. However host does not seem to work for patterns like
*.domain1.com or *.domain2.com.
I am trying to set up the workers2.properties so that
Hi!
tomcat 4.1.29/apache 2.0.49
I have a cluster with Apache Web Server load balancing over three
tomcat workers. In the middle of the tests, when one of the tomcat
workers was restarted, I noticed even before the server was brought up
completely*, Apache forwarded requests to the server,
Hi!
tomcat 4.1.29/apache 2.0.49
I have a cluster with Apache Web Server load balancing over three
tomcat workers. In the middle of the tests, when one of the tomcat
workers was restarted, I noticed even before the server was brought up
completely*, Apache forwarded requests to the server,
Hi!
tomcat 4.1.29/apache 2.0.49
I have a cluster with Apache Web Server load balancing over three
tomcat workers. In the middle of the tests, when one of the tomcat
workers was restarted, I noticed even before the server was brought
up
completely*, Apache forwarded requests to
101 - 157 of 157 matches
Mail list logo