Hi Durk,
are you really talking about mod_jk?
Yep, the package apache2-jakarta-tomcat-connectors contains (from the
included README file):
1. mod_jk + Ajp13Connector
2. mod_jk2 + CoyoteConnector + JkCoyoteHandler
3. mod_webapp + WarpConnector
2 is experimental, 3 is deprected, we're using
After some further investigation I saw the follwing...
If my user is in the first directory i'm binding to then the result.
getName() (JNDIRealm.java 1079) statement returns
CN=dasquery,OU=Herisau-AR-NET and everything works as expected.
If the user is found in a referral domain than the same
Hi all,
I have to modify the default tomcat port 8080 to another port because
there is a another application running at port 8080. If I want to
connect on https I get an error message that the connection is refused.
What must I else modify to connect at https when tomcat is running at a
non
Have you uncommented the https connector in the server.xml?
By default it is commented out as shown below
!-- Define a SSL HTTP/1.1 Connector on port 8443 --
!--
Connector port=8443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
Hi,
I've configured Tomcat 5.5.17 to use CLIENT-CERT as authentication
mechanism via web.xml in my web application. This works as expected and
the user gets prompted for a certificate. I'm facing a problem, because
when the user supplies a certificate that has expired Tomcat throws an
Hi Gary,
from my understanding of the code mod_proxy(_balancer) at the moment is
not able to do that. There are status settings disable and stopped
one can set, but at the moment disbled and stopped behave the same. I
didn't really try, but I derive that from looking at the code. This
holds true
Andrea König wrote:
I have to modify the default tomcat port 8080 to another port because
there is a another application running at port 8080. If I want to
connect on https I get an error message that the connection is refused.
What must I else modify to connect at https when tomcat is running
I'm trying to get a JNDI Realm working as one might expect with Active
Directory.
Tomcat 5.5.20
Java 1.5.06
Windows 2000 Server
The basic issue is that searching from a domain root dc=company,dc=com and
using userSubtree=true results in:
Oct 31, 2006 3:18:20 PM
Markus Schönhaber wrote:
Connector. The stock web.xml contains one which is commented by default.
make that server.xml ^^^
Regards
mks
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail:
Hi Durk,
the flushing has been changed in May 2005 around the time of version
1.2.13 or 1.2.14. Previously there were a lot of calls to ap_rflush()
during the writing of responses. Because that produced many problems
(not only log messages) concerning performance and memory requirements,
these
Hi all,
many thanks for your help. Modifying the appropriate connectors I could
start tomcat at a non default port and could connect on https.
Best regards
--
Dr. Andrea König
(Entwicklung)
G.punkt - medical services
Halberstädter Str. 115A
Eiskellerpassage
39112 Magdeburg
Tel: +49 391
Hi I am trying to setup my webapp.
I am using:
MS windows server 2003
Tomcat 5.5.20
MS SQL server 2000
I am trying to setup realm
I get a login error when the username or password is wrong but when it
is correct I get the following error
HTTP Status 408 - The time allowed for the login process
From: Teh Noranis Mohd Aris [mailto:[EMAIL PROTECTED]
Subject: Please Help!Tomcat Not Running on Linux Fedora
Unfortunately, when I tried to execute Tomcat in the
bin directory by typing ./startup.sh the following
message appeared:
The JAVA_HOME environment variable is not
Søren,
I get a login error when the username or password is wrong but when it
is correct I get the following error
HTTP Status 408 - The time allowed for the login process has been
exceeded. If you wish to continue you must either click back twice and
re-click the link you requested or
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() + :/ +
Hi!
While trying to start jetspeed I get an error message: FAIL - Application
at context path /jetspeed could not be started
catalina.2006-11-01.log fail shows several security role errors:
Nov 1, 2006 3:58:13 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote
request.getRequestURL().toString();
getRequestURL is a StringBuffer of the full URL.
Daniel Blumenthal wrote:
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,
From: Madhuraka Godahewa [mailto:[EMAIL PROTECTED]
Subject: Change Display Icon
But, still I have not been able to change the icon,
which displayed on the browser (Firefox) when my site
is loaded. The tomcat icon is shown.
Firefox likes to hang onto the favicon, regardless of whether or
From: evimail [mailto:[EMAIL PROTECTED]
Subject: FAIL - Application at context path /jetspeed could
not be started
While trying to start jetspeed I get an error message: FAIL
- Application at context path /jetspeed could not be started
Nov 1, 2006 3:58:15 PM
Hi Zsolt-
Straight from the doc
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
If you're using webappX classloader the search order is
a.. Bootstrap classes of your JVM
b.. System class loader classses (described above)
a.. $CATALINA_HOME/bin/bootstrap.jar - Contains
Dan-
iterate thru all of the header variables and print the header variable..
%
Enumeration headerNames = request.getHeaderNames();
while(headerNames.hasMoreElements())
{
String headerName = (String)headerNames.nextElement();
out.print(TRTD + headerName);
On 11/1/06, Subscriber [EMAIL PROTECTED] wrote:
Hi,
I've configured Tomcat 5.5.17 to use CLIENT-CERT as authentication
mechanism via web.xml in my web application. This works as expected and
the user gets prompted for a certificate. I'm facing a problem, because
when the user supplies a
While this relevant to a more generic question of classloaders, it
doesn't address the OP's issue.
Zsolt -- can we get a bit more context for this? My experience with
taglibs is they work just find under tc 5.5.x.
--David
Martin Gainty wrote:
Hi Zsolt-
Straight from the doc
Martin,
Martin Gainty wrote:
Dan-
iterate thru all of the header variables and print the header variable..
%
Enumeration headerNames = request.getHeaderNames();
while(headerNames.hasMoreElements())
{
String headerName = (String)headerNames.nextElement();
out.print(TRTD + headerName);
This is expected to be added to the proxy
module, but in a way which is more inline with
expectations for a specific proxy server (whether
serving ajp or http or anything else).
On Nov 1, 2006, at 5:39 AM, Rainer Jung wrote:
Hi Gary,
from my understanding of the code mod_proxy(_balancer) at
Hello!
Strange problem appears with Tomcat. It can't read the tlds from JAR
file (standard.jar).
org.apache.jasper.JasperException: Unable to read TLD META-INF/c.tld
from JAR file
It happens only once when Tomcat/work folder is empty. After page
refresh everything goes well.
Details:
1. Tomcat
With that lead, I figured out what was going on.
Two issues:
- referrals=follow is required if you search from the top of an ldap tree
instead of a specific OU. That property is not documented in Tomcat docs as
it might be:
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JNDIRealm
Hi Hassan,
Thanks for your answer. Yes, I've already tried your suggestion. Both
with the java.security.cert.CertificateExpiredException and the
javax.net.ssl.SSLHandshakeException, but the problem remains. As I can
see, the exception is thrown somewhere inside Tomcat, before handling
Are you deleting the content of work folder while tomcat is running?
Don't!
Work Folder: Automatically generated by Tomcat, this is where Tomcat
places
intermediate files (such as compiled JSP files) during it's work. If you
delete this directory while Tomcat is running you will not be able to
On Wed, 2006-11-01 at 12:16 -0800, Madhuraka Godahewa wrote:
Hi,
I am using tomcat 5.0.30. I have developed a web application and is ready to
launch. But, still I have not been able to change the icon, which displayed on
the browser (Firefox) when my site is loaded. The tomcat icon is
I have a DBCP quandry that I'm puzzled by. I use per-context JNDI handles to
the same Postgres database for multiple apps running inside tomcat. Each
context.xml sets up connection limits, max idle, etc, slightly differently.
One of my apps was not closing DBhandle correctly (I might take
Kews,
Subscriber wrote:
Hi Hassan,
Thanks for your answer. Yes, I've already tried your suggestion. Both
with the java.security.cert.CertificateExpiredException and the
javax.net.ssl.SSLHandshakeException, but the problem remains. As I can
see, the exception is thrown somewhere inside
John,
John Gorkos wrote:
I use per-context JNDI handles to
the same Postgres database for multiple apps running inside tomcat. Each
context.xml sets up connection limits, max idle, etc, slightly differently.
You said per-context JNDI handles, not per-context JNDI DataSources.
Where are you
Hello,
Question: How common is it for a webapp to be able to run on Tomcat
5.0.28 but *not* 5.5.20?
For the installation of a commerical web application that calls for
installation of Tomcat 5.0.28, I'm inclined to just go ahead and use the
5.5 series of servlet containers. Customer
Not while Tomcat is running.
I am aware of the work folder. It happens when Tomcat starts with
empty work folder.
Just upgraded to J2SDK1.4.2_12 - the same result
On 01/11/06, Darek Czarkowski [EMAIL PROTECTED] wrote:
Are you deleting the content of work folder while tomcat is running?
Don't!
On Wednesday 01 November 2006 11:58, Christopher Schultz wrote:
John,
John Gorkos wrote:
I use per-context JNDI handles to
the same Postgres database for multiple apps running inside tomcat. Each
context.xml sets up connection limits, max idle, etc, slightly
differently.
You said
Thank u for responding.
Where exactly should I put this in my coding?
response.setHeader(Content-Type,video/x-ms-wmv);
My file is .html
How should I implement it. I am just a basic user of tomcat.
thank u
- Original Message
From: Martin Gainty [EMAIL PROTECTED]
To: Tomcat Users
Glen,
Question: How common is it for a webapp to be able to run on Tomcat
5.0.28 but *not* 5.5.20?
For the installation of a commerical web application that calls for
installation of Tomcat 5.0.28 [...]
[snip]
To what degree is This webapp will work on 5.0.28 but not 5.5.20 an
old
John,
John Gorkos wrote:
On Wednesday 01 November 2006 11:58, Christopher Schultz wrote:
John Gorkos wrote:
I use per-context JNDI handles to
the same Postgres database for multiple apps running inside tomcat. Each
context.xml sets up connection limits, max idle, etc, slightly
differently.
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Subject: Webapps that run on 5.0.28 but not 5.5.x?
Question: How common is it for a webapp to be able to run on Tomcat
5.0.28 but *not* 5.5.20?
The probability of it not running is near zero, with two caveats:
1) If the webapp utilizes internal
On Wednesday 01 November 2006 12:19, Christopher Schultz wrote:
snip
using a per-app context XML that looks like this:
Context crossContext=true debug=10 docBase=AMDSTools
It looks like you have your resource defined (correctly) in context.xml,
which is what I would expect do to for
Zeina Aoun ha scritto:
I am having trouble with html in tomcat. I am using the Apache Tomcat 5.5.20
Server
The problem is hard to describe. I am trying to enable some video clip files to be downloaded by users, but unfortunatley instead of downloading it opens up the garbage text on the
I am currently testing just such an upgrade.
We have a current webapp that runs in 5.0.28. The war file has a context.xml
in the META-INF that has a JNDI datasource entry.
If I place the myapp.war file into TC 5.5, it expands and places our context
file in the conf/Catalina/localhost dir. I
Hi,
I have something like a content management webapp where I want to
keep a directory on the filesystem containing markup fragments (JSP and
HTML). Ideally I'd like this directory to be outside of my webapp, so
that users could simply drop in a new WAR without blowing away the
content
Apart from the changes in suggested deployment strategies and ressourec
definitions there's something to be careful:
Upgrading to TC 5.5 and upgrading from Java 1.4 to Java 5 are two
different things. As long as you do only the first, chances are good,
that you get the webapp to run without code
Wednesday, November 1, 2006, 8:19:07 PM, you wrote:
CS John,
CS John Gorkos wrote:
On Wednesday 01 November 2006 11:58, Christopher Schultz wrote:
John Gorkos wrote:
I use per-context JNDI handles to
the same Postgres database for multiple apps running inside tomcat. Each
context.xml sets
Yes, thanks for the reminder. That's also something I need to keep in
mind, as my installation guide says to load JRE 1.4.2, and I'm using
5.0. But again, I'd like to say that 1.4.2-compiled class files
*should* be able to run on a 5.0 JRE. (I know if you recompile the
source files--which I
Dima Retov wrote:
How stable is tomcat with Sun's HotSpot JVM 1.5?
Right now we have apache servers that are up for 3 and 4 months.
So I guess apache 1.3 may works for months.
How stable is tomcat against apache or other webservers?
Would tomcat be able to work 1 year without restart?
Yes, binary compatibility should be OK. But most webapps have JSPs and
you are soon in the area of source code compatibility:
http://java.sun.com/javase/technologies/compatibility.jsp
I only wanted to indicate, that it might be better to migrate in two
steps, to keep the two possible reasons for
I also know a couple of instances which ran under high load for a couple
of months. Usually though the frequency for changes in the apps are
higher than that.
Be careful: I would avoid hot deployment in critical production.
Also: It's not totally unusual for apps to have memory leaks. So minotor
Thanks Dave.
What version of JVM have you used?
Wednesday, November 1, 2006, 8:57:19 PM, you wrote:
DK Dima Retov wrote:
How stable is tomcat with Sun's HotSpot JVM 1.5?
Right now we have apache servers that are up for 3 and 4 months.
So I guess apache 1.3 may works for months.
How stable is
Concerning my experience: no stability issues with either 1.4.2 or 1.5,
as long as you stick to a reasonably new patch level (not the one, which
might be only a week old, but the newest one older than a month should
be perfect).
Dima Retov schrieb:
Thanks Dave.
What version of JVM have you
We had thousands of problems with Sun JDK that is why we switched to IBM
JDK who manage GC in a great manner.
You see the progress of the memory going down but it recover every
single bit. Sun jdk always recover but there is some remaining memory
that he do not release.
-Original
Dima Retov wrote:
Thanks Dave.
What version of JVM have you used?
I believe (not sure) it's 1.5.0_06 on the server; I'm running _07 on my
dev machine. As Rainer mentioned, don't try to use hot deployment for
busy apps; I always stop tomcat for updates, so my updates tend to be
saved up
From: Michael Hencin [mailto:[EMAIL PROTECTED]
Subject: RE: Webapps that run on 5.0.28 but not 5.5.x?
This setup is just as we do with 5.0, but when I access our
app, I get this error.
org.apache.jasper.JasperException: setAttribute:
Non-serializable attribute
One of the things 5.5
if, (for whatever reason), one webapp isn't releasing connections, but
is able to keep creating them, then eventually you'll run out of
available connections at the DB end, no?
i'd expend effort determining why the app isn't releasing the
connections, as that's the real problem.
John Gorkos
When searching LDAP from the root, you will get a referral reply from AD
that has a server DNS name of JUST the domain name (ie company.com). NOT the
initial server name you used in your connectionURL.
one small remark:
company.com in your post is what you chose as root object for your AD
have you actually looked to see what the code says at line 211 in Home.java?
octane.Home.doGet(Home.java:211)
is that part of your app?
the exception posted earlier in the thread indicates that an attribute
isn't serializable and the cause is at line 211, I think... ?
i've got a feeling that
Greetings,
Would you guys be able to give me pointers what needs to be checked if the
shutdown.sh scripts for tomcat 5 doesnt work?
I can try re-installing but would like to determine if there is anything
else I can check?
Thanks,
Rizalino
---
server: {1011} % netstat -an | grep
On Wednesday 01 November 2006 13:39, Pid wrote:
if, (for whatever reason), one webapp isn't releasing connections, but
is able to keep creating them, then eventually you'll run out of
available connections at the DB end, no?
Yes, but the database was set up to allow 500 connections, and the
From: Rizalino [mailto:[EMAIL PROTECTED]
Subject: Cannot shutdown tomcat-5.5.4
Would you guys be able to give me pointers what needs to be
checked if the shutdown.sh scripts for tomcat 5 doesnt work?
First: I'd suggest moving up to a newer level - lots of things have been
fixed since
On Wed, 2006-11-01 at 20:05 +0200, Vasiliy Keretsman wrote:
Not while Tomcat is running.
I am aware of the work folder. It happens when Tomcat starts with
empty work folder.
Just upgraded to J2SDK1.4.2_12 - the same result
On 01/11/06, Darek Czarkowski [EMAIL PROTECTED] wrote:
Are you
Dima,
Please don't steal threads. Start a new one next time.
How stable is tomcat with Sun's HotSpot JVM 1.5?
How stable is tomcat against apache or other webservers?
They are not directly comparable (Apache httpd and Tomcat) as Tomcat
does things Apache httpd cannot do, and vice versa.
On Wed, 2006-11-01 at 12:02 -0800, Darek Czarkowski wrote:
On Wed, 2006-11-01 at 20:05 +0200, Vasiliy Keretsman wrote:
Not while Tomcat is running.
I am aware of the work folder. It happens when Tomcat starts with
empty work folder.
Just upgraded to J2SDK1.4.2_12 - the same result
Thanks I will pass this along to our programmers. I am in a special position
as we are the webapp supplier and specify as our requirements that the end
clients use Tomcat.
I therefore look at tomcat in a different light, as a tool. I am always
concerned with what it the most elegant and simplest
From: Michael Hencin [mailto:[EMAIL PROTECTED]
Subject: RE: Webapps that run on 5.0.28 but not 5.5.x?
When I tested TC 5.5, I also used the recommended 1.4 JRE.
I presume you meant the 1.5 JRE in the above statement.
I will proceed with just an TC 5.5 upgrade using the previous
JAVA
Hi,
how can a servlet access maxThreads settings defined in server.xml? I
tried getServletContext(), getServletConfig(), getInitParameter(..),
getAttribute(..), etc, but I still can't find a way to access
server.xml
configuration. I guess I need to get ahold of the catalina engine and
the get
From: Alec Swan [mailto:[EMAIL PROTECTED]
Subject: accessing settings in server.xml from the servlet
how can a servlet access maxThreads settings defined in server.xml?
Usually via JMX. This is your rather terse starting point:
Charles ,
I agree with you that this starting point is rather terse.
Is there a way to access settings in server.xml without MBeans? I would like
to write a simple servlet that doesn't require special configuraion, such as
mbeans-descriptor.xml file.
Is it possible to get ahold of catalina
From: Alec Swan [mailto:[EMAIL PROTECTED]
Subject: Re: accessing settings in server.xml from the servlet
Is there a way to access settings in server.xml without
MBeans?
Other than rolling your own infrastructure, probably not, at least not
easily. That's what MBeans are for and why
Hi Rainer/Jim,
Many thanks, just ran a test with mod_jk 1.2.19 and works great by
setting the node to disabled through the JK status manager. From
further reading it appears to be commonly known as session draining.
Regards,
Gary
From: Jim Jagielski [EMAIL PROTECTED]
To: Tomcat Users List
Alec Swan wrote:
Is it possible to get ahold of catalina engine from the servlet code and
then somehow inspect http connectors?
Take a look at
http://wiki.apache.org/tomcat/HowTo#head-42e95596753a1fa4a4aa396d53010680e3d509b5
Mark
72 matches
Mail list logo