Re: [REPOST] Can't get apache and Tomcat to talk

2006-09-15 Thread Rob Tanner
Mark, Thank you.  That took care of the problem. -- Rob On 09/15/2006 05:28 PM, Mark Thomas wrote: Rob Tanner wrote: Brian, Adding the parameter you suggest generates a java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig. Where should I find the jarfile conta

Re: What does this output mean?

2006-09-15 Thread Wade Chandler
--- [EMAIL PROTECTED] wrote: > When I start tomcat (with catalina.sh), I always get > the following message > on one of our machines: > > Warning: unknown VM type on line 21 of > `/usr/java/jdk1.5.0_02/jre/lib/i386/jvm.cfg' > Warning: unknown VM type on line 27 of > `/usr/java/jdk1.5.0_02/jre/l

Re: [REPOST] Can't get apache and Tomcat to talk

2006-09-15 Thread Mark Thomas
Rob Tanner wrote: > Brian, > > Adding the parameter you suggest generates a > java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig. > Where should I find the jarfile containing that class? It's new to me > and I know I'm not using that listener in my install of Tomcat-4.1.31 on

Re: [REPOST] Can't get apache and Tomcat to talk

2006-09-15 Thread Rob Tanner
Brian, Adding the parameter you suggest generates a java.lang.ClassNotFoundException: org.apache.jk.config.ApacheConfig. Where should I find the jarfile containing that class? It's new to me and I know I'm not using that listener in my install of Tomcat-4.1.31 on another machine. And whe

Re: Three hostnames in one instance of tomcat

2006-09-15 Thread Mark Thomas
Eric Berry wrote: >> This will fail in later versions of Tomcat 5. appBase should not equal >> docbase. The correct configuration is: >> >> >> > > Does this mean that there must be a "ROOT" directory under > "/opt/projects/www/host1/web"? Yes. Mark ---

Re: [REPOST] Can't get apache and Tomcat to talk

2006-09-15 Thread brian bay
Do you have a Listener set up in your tomcat server.xml? Inside of modJk="/usr/lib/apache2/modules/mod_jk.so" workersConfig="/etc/apache2/workers.properties"/> I placed my workers.properties file in the apache dir. Inside of port="8080"

Re: Perm Gen not being released in GC

2006-09-15 Thread Nikola Milutinovic
> Im a Project Manager, not a techie but we had the same problem and had to > increase the perm gen to the following: Tomcat sets it at default at 64MB. > Perm Gen Memory: 150 MB > Max Perm Gen: 256 MB Perm gen is memory reserved for class loading and is directly proportional to the number/size

Re: What does this output mean?

2006-09-15 Thread Martin Gainty
you have an invalid entry in your jvm.cfg on line 21 If you send me the contents of jvm.cfg I can look at it.. M- * This email message and any files transmitted with it contain confidential information intended only for the person

Re: [REPOST] Can't get apache and Tomcat to talk

2006-09-15 Thread Martin Gainty
# Defines a worker named "remote" that uses the ajpv13 protocol to forward requests to a Tomcat process in workers.properties worker.remote.type=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 *

What does this output mean?

2006-09-15 Thread danielwong
When I start tomcat (with catalina.sh), I always get the following message on one of our machines: Warning: unknown VM type on line 21 of `/usr/java/jdk1.5.0_02/jre/lib/i386/jvm.cfg' Warning: unknown VM type on line 27 of `/usr/java/jdk1.5.0_02/jre/lib/i386/jvm.cfg' Warning: unknown VM type on lin

Large Data Post Problem

2006-09-15 Thread James Grady
I am running Apache 2.0.48 that uses mod_jk 1.2.10 to communicate with Tomcat 5.5.7. When my client posts large requests (about 40K) to Apache, I can see where the request is sent through mod_jk, but when it gets to Tomcat the data has a length of zero. Is there a way to increase the amount

Re: Sharing Tomcat DBCP connection

2006-09-15 Thread Stanley Bradbury
Foo Shyn wrote: Hi guys, Currently i'm using Tomcat 4.1 and my application uses the Tomcat's DBCP to connect to a Derby database. However, since the Derby database only allow one application to connect to it at a time, is it possible that i could configure the Tomcat's DBCP connection so tha

Re: JAASRealm, Kerberos, and Open Directory

2006-09-15 Thread Wendy Smoak
On 9/15/06, P. Douglas Reeder <[EMAIL PROTECTED]> wrote: I'd like to set up a Realm which gets it's authentication information using Kerberos, specifically Open Directory running under OS X Server 10.3.9. ... After reading the Tomcat docs, _Tomcat: The Definitive Guide_, and Wendy Smoak's examp

[REPOST] Can't get apache and Tomcat to talk

2006-09-15 Thread Rob Tanner
(Grrr! I hit send when I meant save -- the first posting is incomplete) I'm running a new install Fedora Core 5 and rebuilding my development system. I'm running Apache/2.2.2 (part of the FC5 distro) and Tomcat-4.1.32. I downloaded the version 1.2.18 tomcat connector kit and followed the in

JAASRealm, Kerberos, and Open Directory

2006-09-15 Thread P. Douglas Reeder
I'd like to set up a Realm which gets it's authentication information using Kerberos, specifically Open Directory running under OS X Server 10.3.9. For initial testing, I'm running Tomcat 5.5.7 on the same machine (the copy the comes with NetBeans 4.1), and setting CATALINA_BASE to a direc

Can't get apache and Tomcat to talk

2006-09-15 Thread Rob Tanner
I'm running a new install Fedora Core 5 and rebuilding my development system. I'm running Apache/2.2.2 (part of the FC5 distro) and Tomcat-4.1.32. I downloaded the version 1.2.18 tomcat connector kit and followed the instructions in BUILD.txt to compile and install the mod_jk.so connector. I

RE: Help please

2006-09-15 Thread Caldarale, Charles R
> From: Robert Harper [mailto:[EMAIL PROTECTED] > Subject: RE: Help please > > Does anyone have experience with Tomcat on a mainframe? Works fine on ours, as does JBoss. But we're not silly enough to use EBCDIC... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIET

RE: Help please

2006-09-15 Thread Robert Harper
I think the problem has more to do with Tomcat on a mainframe and conversion from ASCII to EBCDIC. The XML parser is having problems translating the XML records in the configuration files. Does anyone have experience with Tomcat on a mainframe? Robert S. Harper Information Access Technology, Inc.

loggers no longer working

2006-09-15 Thread gurkan
Hi, We started using tomcat5.5.17 (used to use tomcat4). so far, I have moved all webapp/lib/*.jar to tomcat5 webapp/lib As of now tomcat5 common/lib and tomcat4 common/lib have different jar files. And also I had to do some changes with server.xml. It seems like my logger are no longer working an

Re: Help please

2006-09-15 Thread Martin Gainty
Kevin- To use CompressionFilter you 1)override doFilter method to provide filtering response via previously defined 'FilterChain' 2)wrap your regular response as a CompressionServletResponse before sending back to client (as in this example from Kief Morris) public void doFilter(ServletRequest

Re: SimpleTagSupport invalid bodycontent JSP

2006-09-15 Thread Scott Van Wart
Pid wrote: try "scriptless" That worked wonderfully, thank you so much. Incidentally, is there an updated DTD (or XSL) for the TLD, or are you thinking WTF with the TLAs like I am? :) - Scott - To start a new topic, e-ma

Re: SimpleTagSupport invalid bodycontent JSP

2006-09-15 Thread Pid
try "scriptless" Scott Van Wart wrote: > This has been bugging me for a few days, so bear with me, I thought I'd > try the list. I'm using SimpleTagSupport (I find it much easier than > the JSP 1.2 interfaces). In my TLD I put "JSP" as the , > and Tomcat gives me an error (invalid body-content

RE: Tomcat 5.5 won't auto-deploy my web app

2006-09-15 Thread Peter Ries
Sorry - I should have said. We do have the JDK 1.4 Compatibility files installed within Tomcat 5.5. So, this should work then? ~Peter -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 2:09 AM To: Tomcat Users List Subject: Re: Tomcat 5.5 wo

RE: Perm Gen not being released in GC

2006-09-15 Thread Tracy Nelson
Are you sure you don't have a memory leak? FWIW, I had a client with a situation like this, we wound up throwing in a stopgap that consisted of a thread that checked free space once a minute and explicitly invoked System.gc() if certain parameters were met. Not the solution I originally proposed,

SimpleTagSupport invalid bodycontent JSP

2006-09-15 Thread Scott Van Wart
This has been bugging me for a few days, so bear with me, I thought I'd try the list. I'm using SimpleTagSupport (I find it much easier than the JSP 1.2 interfaces). In my TLD I put "JSP" as the , and Tomcat gives me an error (invalid body-content type (JSP).). The only other options are

Help with tomcat and windows 2000 server

2006-09-15 Thread alarrea
Help Im trying to execute tomcat in windows 200 server, it doesnt show any problem, and i found nothing in the log file. Thoes any one knows?? Alberto Larrea _ Correo libre de virus EMAAP-Q Nota importante: La informacion contenida en este e-mail es conf

Help with tomcat on z/OS

2006-09-15 Thread Kevin Mullin
I need help from anybody who has placed Tomcat on a mainframe machine running z/OS 1.7.  I've had to had to convert the ASCII files to EBCDIC.  I had to follow that up with change the .xml files to contain "encoding=ebcdic=cp-us" from what it had which was "encoding=IOS-8859-1".  Did anybody else

Re: Perm Gen not being released in GC

2006-09-15 Thread adrena . keating
Hi Stephanie, Im a Project Manager, not a techie but we had the same problem and had to increase the perm gen to the following: Tomcat sets it at default at 64MB. Perm Gen Memory: 150 MB Max Perm Gen: 256 MB We where getting perm gen out of memory errors which is why we did this. This stabilised

user management with JDBC realm support

2006-09-15 Thread Andre Charbonneau
Greetings, I know this question has probably been asked many times before, but I couldn't find a definite answer to it; so here it is again: Is there an application (servlet) that I can install on my Tomcat server to provide a web interface to perform user management (add/delete/edit users a

RE: Help please

2006-09-15 Thread Robert Harper
Check your definition of the servlet in the [app_root]/WEB-INF/web.xml file. There is a reference to where the filters are located. You probably need to either create this class or remove the reference from the web.xml file. Robert S. Harper Information Access Technology, Inc. _ From

Re: Perm Gen not being released in GC

2006-09-15 Thread Stephen Caine
Darren, Every now and then JConsole shows Old Gen as having flat-lined. Only a Tomcat restart can rectify the problem. Killing sessions followed by a manual GC does not seem to have an effect. Haven't yet determined whether we need to start looking at the young to old heap allocation ra

Help please

2006-09-15 Thread Kevin Mullin
I've just downloaded Tomcat 5.5.17 and am trying to run it on our mainframe system that is running z/OS 1.7 operating system.  I am getting a failure in Tomcat that says: java.lang.ClassNotFoundException: compressionFilters.CompressionFilter Does anyone know what is causing this, and what I can d

Perm Gen not being released in GC

2006-09-15 Thread Darren Kukulka
Hi All, Throughput Garbage collection on a 5.5.15 Tomcat instance is failing to release Old Gen heap space when it becomes full on one of our Windows installations. For the most part GC does release memory - in a typical working day this is an upward trend in terms of the amount of heap rec

javax.management.MalformedObjectNameException: Invalid character '=' in value part of property

2006-09-15 Thread Montilla Markus \(KIUH 43\)
> HI > > does anybody know where this error is coming from? Which config file? > > SEVERE: Exception creating UserDatabase MBeans for UserDatabase > javax.management.MalformedObjectNameException: Invalid character '=' > in value part of property > at javax.management.ObjectName.construct

running Tomcat as different user

2006-09-15 Thread Gurganus, Brant L
Forgive me if I already sent this. I thought I had, but I could not find it in my Sent or deleted items.   I am running Tomcat on Windows XP SP2 as a service. I would like to run Tomcat as a different user that Local System since Local System is rather over-privileged. I ran tomcat5w and

Re: Three hostnames in one instance of tomcat

2006-09-15 Thread Eric Berry
This will fail in later versions of Tomcat 5. appBase should not equal docbase. The correct configuration is: Does this mean that there must be a "ROOT" directory under "/opt/projects/www/host1/web"? In my current configuration I have "/opt/projects/www/host1/web/[index.jsp,jsp/,html/,ima

Re: moving to linux

2006-09-15 Thread Wade Chandler
--- David Rees <[EMAIL PROTECTED]> wrote: > I doubt that switching to > Linux from > Windows will solve your performance problem. Have > you identified what > your performance bottleneck is now? > > -Dave Yes I would have to second that. I love Linux, but not knowing where the real issue with yo

RE: JConsole query

2006-09-15 Thread Darren Kukulka
Thanks Jess. We suspected this was the case so we'll consolidate to server JVM. -Original Message- From: Jess Holle [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 13:47 To: Tomcat Users List Subject: Re: JConsole query Darren Kukulka wrote: > HI There, > > Just a quick question rega

RE: 408 with virtual host and j_security_check

2006-09-15 Thread Montilla Markus \(KIUH 43\)
Hi George yes, I can ping it. I definded it now in $catalina_home/config/web.xml ONLY still the same. I also noticed an error when starting in verbose mode. But I can't imagine an error connected to this issue, because without dns_alias everything works fine. error: java.lang.NullPointerExcept

Re: JConsole query

2006-09-15 Thread Jess Holle
Darren Kukulka wrote: HI There, Just a quick question regarding the JConsole tool we use to monitor Tomcat5 instances - 2 to be precise. We've noticed that within the Memory display window the breakdown of Heap usage shows three areas and their utilisation. The descriptions of each space d

Re: Two contexts initialized ...

2006-09-15 Thread Velja Radenkovic
Thanks, It is tom 5. And its OK now. Velja On 9/14/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Velja Radenkovic [mailto:[EMAIL PROTECTED] ] > Subject: Two contexts initialized ... > > I set the web application directory to be a ROOT > by creating dirname.xml > in the CATLINA_

Re: 408 with virtual host and j_security_check

2006-09-15 Thread Gregor Schneider
Hm, then I'd check if DNS is able to resolve your hostname. Can you ping the hostname? Besides, I'd define the Session-Timeout only in $catalina_home/config/web.xml OR only in $catalina_home/webpass/your_app/WEB-INF/web.xml otherwise you might spent hours searching for a misconfiguration. If

RE: 408 with virtual host and j_security_check

2006-09-15 Thread Montilla Markus \(KIUH 43\)
Hi Gregor i changed it now in both config files, the same error occurs. I think somehow its an error in the session. Can it be that the hostname has something to do with the session/session id? It also happens after restart and when I login as first user. markus -Original Message- Fro

Re: 408 with virtual host and j_security_check

2006-09-15 Thread Gregor Schneider
did you set the session-ttimeout in $catalina_home/config/web.xml or in $catalina_home/webapps/your_app/WEB-INF/web.xml? usually this error means that the session has exceed and it happens, when j_securitycheck display the login-screen and the user is waiting too long to enter the credentials. g

Re: tomcat jmx agent question

2006-09-15 Thread Michele Mazzucco
Right, ok, this makes sense. And what about if it runs in another tomcat instance (or if it's a standalone application)? Is the url something like service:jmx:rmi:///jndi/rmi://:/jmxrmi, where port is the value specified by -Dcom.sun.management.jmxremote.port? Thanks, Michele Mikolaj Rydzewski

Re: tomcat jmx agent question

2006-09-15 Thread Mikolaj Rydzewski
Michele Mazzucco wrote: I understand this. What I don't understand is, how can I access (inside a web application or program) the mbeans exposed by another web application? Do you have any chunk of code to show me? If you want to access another webapp's mbeans (but running in the same Tomcat

RE: 408 with virtual host and j_security_check

2006-09-15 Thread Montilla Markus \(KIUH 43\)
can't be... when I enter uptime, the time is correctly set... Greets Markus -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 1:32 PM To: Tomcat Users List Subject: Re: 408 with virtual host and j_security_check Maybe the clock is wrong on the serv

Re: 408 with virtual host and j_security_check

2006-09-15 Thread Pid
Maybe the clock is wrong on the server. Montilla Markus (KIUH 43) wrote: > Hi > I have an error with my Application using Tomcat 5 and a virtual host. > When > I access it using localhost defined as host everything works. Otherwise > I can access > the login page and then I get an "HTTP Status

Re: tomcat jmx agent question

2006-09-15 Thread Michele Mazzucco
Hi Mikolaj, I understand this. What I don't understand is, how can I access (inside a web application or program) the mbeans exposed by another web application? Do you have any chunk of code to show me? Thanks, Michele Mikolaj Rydzewski wrote: > Michele Mazzucco wrote: >> right, that's the respo

408 with virtual host and j_security_check

2006-09-15 Thread Montilla Markus \(KIUH 43\)
Hi I have an error with my Application using Tomcat 5 and a virtual host. When I access it using localhost defined as host everything works. Otherwise I can access the login page and then I get an "HTTP Status 408 - The time allowed for the login process has been exceeded."-error. I also use FOR

Re: Tomcat 5.5 won't auto-deploy my web app

2006-09-15 Thread David Smith
Or the compatibility package for use with JDK 1.4 --David Gregor Schneider wrote: Hi Peter, don't know if this is the reson for your problem, however, afaik Tomcat 5.5.17 requires JDK 1.5 Cheers Gregor - To start a new to

Re: tomcat jmx agent question

2006-09-15 Thread Mikolaj Rydzewski
Michele Mazzucco wrote: right, that's the response to my question :). Now, I've got a web application exposing some mbeans. How can I access them from outside (another web application deployed on the same machine, for example)? Enable remote JXM access. Just like when working with jconsole.

Re: tomcat jmx agent question

2006-09-15 Thread Michele Mazzucco
Hi Peter, right, that's the response to my question :). Now, I've got a web application exposing some mbeans. How can I access them from outside (another web application deployed on the same machine, for example)? Michele Peter Rossbach wrote: > HI Michele, > > please, read the sun jmx docs. >

JConsole query

2006-09-15 Thread Darren Kukulka
HI There, Just a quick question regarding the JConsole tool we use to monitor Tomcat5 instances - 2 to be precise. We've noticed that within the Memory display window the breakdown of Heap usage shows three areas and their utilisation. The descriptions of each space differs between the

Re: Single Sign-on Configuration with Apache

2006-09-15 Thread Alex Hepp
Mark, Mark Thomas schrieb: When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear

Re: Tomcat 5.5 won't auto-deploy my web app

2006-09-15 Thread Gregor Schneider
Hi Peter, don't know if this is the reson for your problem, however, afaik Tomcat 5.5.17 requires JDK 1.5 Cheers Gregor -- what's puzzlin' you, is the nature of my game - To start a new topic, e-mail: users@tomcat.apache.org T