I'm getting the following error when starting up tomcat:
Jan 8, 2011 3:46:19 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jan 8, 2011 3:46:19 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6
It appears that the problem was that I didn't have openssl libs installed.
On Jan 7, 2011, at 10:59 PM, Daniel Blumenthal wrote:
I'm getting the following error when starting up tomcat:
Jan 8, 2011 3:46:19 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache
I'm trying to use symlinks during development, but for some reason the
allowLinking attribute doesn't seem to be working for me. I'm using Tomcat6
on a Mac Mini.
First, I added it to my application's META-INF/context.xml file:
Context allowLinking=true
...
That didn't work, so I added it to
If you're referring to during the development phase
Yes, during the development phase.
the IDEs
I've worked with such as NetBeans and Eclipse does it for you
automatically. I don't remember if NetBeans actually make a
war or not but it does autodeploy. Eclipse will auto
synchronize
I'm reorganizing an existing project according to the generally accepted
Java directory structure
(http://java.sun.com/blueprints/code/projectconventions.html#23136), and
everything seems to be working all right, but there's one thing I don't
understand that seems like it should be a common
I've set my Tomcat server up to gzip files of appropriate types, but for
some reason it doesn't seem to be working on two files (according to YSlow).
These files don't seem to be special, both are minified. One is fairly
large (~328k), the other is medium-sized (72k).
Here are the additional
I'm having an odd problem. When filters are enabled in my application
(e.g., to add an Expires header to certain files), I have to restart the
tomcat server every time I recompile. When the filters are disabled, I
don't have to restart the server (i.e., reloadable works).
tomcat/conf/web.xml:
Sorry, I forgot to mention. This is for Tomcat 5.5.23.
_
From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 1:40 PM
To: 'Tomcat Users List'
Subject: reloadable problem with filters
I'm having an odd problem. When filters are enabled in my application
with filters
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
Daniel Blumenthal wrote:
I'm having an odd problem. When filters are enabled in my
application
(e.g., to add an Expires header to certain files), I have
to restart
the tomcat server every time I recompile. When
Unfortunately, neither renaming the file to ZZExpiresFilter.java nor
removing the line from the config file appears to be having an effect.
-Original Message-
From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 4:34 PM
To: 'Tomcat Users List'
Subject: RE
: RE: reloadable problem with filters
From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
Subject: RE: reloadable problem with filters
I'm actually getting an error in catalina.out *during
compilation* (see log extract below).
Are you compiling into the deployment directory of an active
, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 9:09 AM
To: Tomcat Users List
Subject: RE: setting up SSL
From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
Subject: setting up SSL
Any ideas? Is it possible that Tomcat isn't able to find
the openssl
libraries
Ah, never mind - it looks like this only happens the first time.
-Original Message-
From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 11:17 AM
To: 'Tomcat Users List'
Subject: RE: setting up SSL
Thanks! This is exactly what I needed. I've
I'm having a real problem getting SSL working with Tomcat. Back when I was
using Apache and mod_jk2, I had SSL working with Tomcat. But now that I've
switched to just using Tomcat, I can't seem to get it to work. I'm using
Linux (Fedora Core 5) and Tomcat 5.5.26. I've reverted to a clean
Happy holidays, all!
Is there any way to set HTTP headers on non-jsp files, using only tomcat?
What I would like to do is set javascript files to no-cache, so that the
browsers pick up the (fairly frequent) changes.
Any ideas?
(I could just turn them into jsp files, and I may yet do so, but
I'm in the process of moving to Tomcat 5.5.20, and I've come across a bit of
a snag. All of the conversion went fine until I started testing the SSL
with APR, and it looks like it needs a different configuration. My old
configuration is:
Connector
List
Subject: Re: APR / SSL in 5.5.20
On 11/28/06, Daniel Blumenthal [EMAIL PROTECTED] wrote:
SSLCertificateFile=${catalina.base}/conf/localhost.crt
SSLCertificateKeyFile=${catalina.base}/conf/localhost.key /
I can export the .crt file from the .kdb file, but how do I
I'm trying to do what should be a fairly easy thing, but I'm really tearing
my hair out over this...
All I want is to be able to get the full URL (including scheme, queryString,
etc.). Right now, I'm trying something like:
%
out.write(request.getScheme() + :/ +
I'd like to get rid of the manager webapp, but it isn't clear where it's
located. What's the best way to delete it?
Thanks!
Daniel
Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 12, 2006 11:24 AM
To: Tomcat Users List
Subject: Re: uninstalling the manager
Simple version = delete manager.xml in
conf/Catalina/localhost. manager itself is located in server/webapps
--David
Daniel Blumenthal wrote:
I'd like
We just switched from a single server to a cluster, with a load balancer out
front to manage incoming connections. The load balancer makes the decision
to go to app server 1 (app1) or app server 2 (app2) based on IP address -
once a request comes in from one source IP, all future requests (for
are not the
intended recipient, you are hereby notified that you have
received this communication in error and that any review,
disclosure, dissemination, distribution or copying of it or
its contents
- Original Message -
From: Daniel Blumenthal [EMAIL PROTECTED]
To: 'Tomcat
- Original Message -
From: Daniel Blumenthal [EMAIL PROTECTED]
To: 'Tomcat Users List' users@tomcat.apache.org
Sent: Tuesday, October 10, 2006 9:00 AM
Subject: RE: AOL
Good morning Martin,
Have I misunderstood? The issue isn't switching from using
Apache as
a front end
Chris,
How does the lb decide where you go for all requests after
the first one? Typically, the session id is sniffed from the
URL or cookie and the lb maintains a table of mappings that
expires after some time.
Our two choices are evidently IP-based and cookie-based. Currently,
we're
Thanks! These are good places to test.
-Original Message-
From: Paul Singleton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006 3:06 PM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: AOL
Daniel Blumenthal wrote:
We just switched from a single server
Hopefully, a pretty easy question: how do you determine the IP address of
the server a servlet is running on?
Thanks!
Daniel
, distribution or copying of it or
its contents
- Original Message -
From: Daniel Blumenthal [EMAIL PROTECTED]
To: 'Tomcat Users List' users@tomcat.apache.org
Sent: Saturday, October 07, 2006 12:21 PM
Subject: RE: Java heap space
The quick answer is no - all of the code is non
I've been running a struts app on a plain vanilla install of Tomcat
(5.0.28), and recently I've been getting some OutOfMemoryErrors. I did some
looking, and found the -Xms and -Xmx flags, and was hoping to get some
advice regarding good values.
I'm upgrading to a couple of RH Linux servers which
One interesting thing is that the line:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
is repeated inside the head block.
Probably not a big deal.
How long has the site been up?
-Original Message-
From: Scott
As a security concern, you might not want to allow full UTF-8 usernames.
There are a number of invisible characters (from the soft hyphen to various
connector characters) which people can use to spoof other users' names.
Daniel
-Original Message-
From: Mark Thomas [mailto:[EMAIL
request.getServerName()
-Original Message-
From: Amir Sadeh [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 19, 2006 10:57 AM
To: users@tomcat.apache.org
Subject: Retrieving host name
Hi,
How can I retrieve the host name (defined in the tomcat
server.xml) or some unique
- select count(*) as c from [postings on tomcat.apache.org] group by email
order by c desc, and then figure out which are the clued-in, and which are
the clueless
- repeat, with other listservs
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Friday, February
I received a similar (identical?) error when I was first starting up, and
the solution was to be very careful to ALWAYS close ResultSets.
ResultSet rset = stmt.executeQuery(select foo from bar where ID=7);
int foo = rset.getInt(1);
rset.close();
-Original Message-
From: Khawaja Shams
Chuck,
So, I repeat: What full-fledged features do you think are
missing from Tomcat?
The reason I'm currently using Apache+Tomcat is that I had heard that Tomcat
was significantly slower at serving static files (.css, .gif, .js, etc.).
Is this no longer the case?
Daniel
Yes you can, but the problem is that each webapp is going to have a
different session object. There are a couple of ways you can get around
this, each of which would take a little bit of code (but not necessarily a
huge amount).
The first step would be to create a very simple webapp - all it
Why would you want separate webapps for this? Why not one webapp, one login
page, and then one (or more) screens with content created dynamically based
on the login ID?
-Original Message-
From: Rob Hills [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 31, 2005 12:39 AM
To: Tomcat
for having this repitition.
Do let me know of your thoughts on this...
Cheers,
- Pulkit
On 12/25/05, Daniel Blumenthal [EMAIL PROTECTED] wrote:
I've set up my system so that Apache handles all requests, and
forwards to the servlet when the path is www.mysite.com/myservlet/*.
Following
Hi there! (and happy holidays!)
I have a problem - when users go to my site, they generally go to
www.mysite.com, but then they have to get redirected to
www.mysite.com/myservlet/Home.do. I'd like for them to be able to see the
home page without having to be redirected, but I can't figure out
Hi there! (and happy holidays!)
I have a problem - when users go to my site, they generally go to
www.mysite.com, but then they have to get redirected to
www.mysite.com/myservlet/Home.do. I'd like for them to be able to see the
home page without having to be redirected, but I can't figure out
39 matches
Mail list logo