Re: max_threads issue blocked threads (*warning* long thread dump attached)

2006-10-18 Thread Pascal Alberty
Check your connectiontimeout value. May be it is too high ? Have you a heavy load on this server ? How many (concurent) users ? On 10/18/06, Derek Wormdahl [EMAIL PROTECTED] wrote: We initially started this project running on the Sun JVM but ran into an issue with the JVM aborting when doing a

RE: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-18 Thread Gunnar.Bostrom
Hi, We need the fix for multipart forms introduced in 5.5.20 so go back to version 5.5.17 is not an option. But the problem seems even worse because forms POST'ed does not work with the CGI module! We have to many Perl-scripts that use the CGI-module so rewriting them to read directly from

RE: Memory problem in Tomcat

2006-10-18 Thread Inma Marín López
Yes, I am doing a POST, via https. The request is reached by the server; however, in the middle of the processing, the service throws InvocationTargetException. Thank you very much. -Mensaje original- De: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Enviado el: martes, 17 de octubre

RE: Error occurred during initialization of VM

2006-10-18 Thread DE VINZELLES, Guillaume \(ext.\)
Hi there, I'm a bit surprised of what you get from your java -version. It says gij (GNU libgcj) and as far as I know, gcj is the GNU native java compiler. I can also see that there is a mismatch between the VM version that should be installed (1.5.0_08) and the version returned by java -version

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Jørgen Nørgaard
Hello, If your servlet(s) start new threads that run independently of request this may happen. Could this be the case? On Wed, October 18, 2006 01:42, Elaine TING wrote: Hi, This is what I have done: 1) use shutdown.sh to shut down tomcat 2) Now the website appears to be down 3) Use ps

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Tomas Hulek
At JVM shutdown, the JVM is terminated only if all remaining running threads are daemon threads. Therefore, if the application starts own threads, it is necessary to ensure that 1) either all these threads are destroyed before JVM shutdown by calling the stop() method for each of the threads,

Anti jar locking and performance on Windows

2006-10-18 Thread Mikolaj Rydzewski
Hi, There's well known problem Tomcat and classloaders not being garbage collected after succesive deploys. I know, it's not a Tomcat problem but java in general. But Tomcat admins face it often. It's very painful on Windows, because not unloaded classloader keeps locked jars, so hot

Re: new tomcat installation failes to start

2006-10-18 Thread Assaf Flatto
Martin locate jmx /usr/share/java/mx4j/boa/mx4j-rjmx-boa-3.0.1.jar /usr/share/java/mx4j/mx4j-jmx-3.0.1.jar /usr/share/java/mx4j/mx4j-jmx.jar /usr/share/java/mx4j/mx4j-rjmx-3.0.1.jar /usr/share/java/mx4j/mx4j-rjmx.jar /usr/share/java/tomcat5/catalina-ant-jmx-5.5.17.jar

Re: new tomcat installation failes to start

2006-10-18 Thread Assaf Flatto
David #rpm -qa *sun-compat* java-1.4.2-sun-compat-1.4.2.10-1jpp As you can see the compat rpm is installed. Assaf David Smith wrote: These messages make me think you are trying to run tomcat 5.5 on a 1.4.x JVM. If so, download and install the compat package and install it. It's on the

RE: problems with unpacking ROOT.war

2006-10-18 Thread andrew . w . cooke
Hi Charles, Neither one is correct. You must NOT use the path attribute in a Context element unless the Context is defined in server.xml. The URI path to the app is determined from the name of the .xml file in the conf/[engine]/[host] directory. Thanks for the feedback and the correction.

Re: XP network connections freeze after request by IE

2006-10-18 Thread Martin Heiden
Peter, I tested this in another configuration and it didn't work, but now I tested it again and it works. It seems to be an apache/connector issue. Thanks for the advice! Sometimes it's much easier than it seems... Martin am Dienstag, 17. Oktober 2006 um 12:56 schrieben Sie: Hi!

IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread VikasSharma-ATG, Noida
HI, I'm trying to get IIS6.0 configured with JBoss 4.0.3sp1 cluster (2 pageServers loadBalancer) using mod_jk 1.2.19, my web server and application server are on different machine I followed up the instruction given on following links

Re: CGI vs SMTP vs Tomcat

2006-10-18 Thread Pid
is there a simple answer here? if OP's running under a security manager, does the CGI servlet require port permissions setting in catalina.policy? Martin Gainty wrote: As Tomcat is written in Java JSP and Servlet (with C code for native function calls to the underlying OS~this is at least

Problem with the update of JSPs

2006-10-18 Thread imedina
Hi, In a Tomcat 5.5 running on Win200Server as production server there are problems with the update of the JSPs files. The problem started when Tomcat upgrade from 5.0 to 5.5, but at first it was not so annoying. It took more time for render the updates but anyway it did. Now the situation is

DAV support

2006-10-18 Thread Stuart Fox
Hi all Can someone point me to a doc or howto to get DAV enabled on tomcat-5.5.20? I have a bunch of contexts and want dav for each one with each context having its own auth'd user list, is this possible? Cheers Stuart This email and any files transmitted with it are confidential and

Re: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread Mladen Turk
VikasSharma-ATG, Noida wrote: [Tue Oct 17 07:32:10 2006] [1760:0412] [debug] jk_isapi_plugin.c (887): [/atg/bcc] is a servlet url - should redirect to loadbalancer And what happens then? It is obvious from the log that the uri mapping stage was OK. Do you have any errors in the log? If

Re: new tomcat installation failes to start

2006-10-18 Thread David Smith
No, not Sun compat. Tomcat 5.5 compatibility package. It's two or three jar files not included in the normal tomcat 5.5 because 5.5 is intended to be run on a 1.5.x JVM. Now that I know you are using RPMs for this, replace your Java 1.4.x install with 1.5. I looked at the JPackage site and

RE: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread VikasSharma-ATG, Noida
That's it, there's nothing after these lines when I access my application. No errors, just the debug lines. I've checked isapi_redirect.dll has execute and write permissions. I doubt on the below mention log entry, I think instead of localhost it should point towards my application server

Re: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread Mladen Turk
VikasSharma-ATG, Noida wrote: That's it, there's nothing after these lines when I access my application. No errors, just the debug lines. I've checked isapi_redirect.dll has execute and write permissions. I doubt on the below mention log entry, I think instead of localhost it should point

Re: Memory problem in Tomcat

2006-10-18 Thread andresgr
Look for maxPostSize in: http://tomcat.apache.org/tomcat-5.0-doc/config/http.html Regards. 2006/10/18, Inma Marín López [EMAIL PROTECTED]: Yes, I am doing a POST, via https. The request is reached by the server; however, in the middle of the processing, the service throws

Re: DAV support

2006-10-18 Thread andresgr
Maybe this can help: http://www.artran.co.uk/computers/tomcatWebDAV.html 2006/10/18, Stuart Fox [EMAIL PROTECTED]: Hi all Can someone point me to a doc or howto to get DAV enabled on tomcat-5.5.20? I have a bunch of contexts and want dav for each one with each context having its own auth'd

Re: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread Rainer Jung
Maybe I missed something, but I didn't see a worker.list in the configuration. Mladen Turk wrote: VikasSharma-ATG, Noida wrote: That's it, there's nothing after these lines when I access my application. No errors, just the debug lines. I've checked isapi_redirect.dll has execute and write

Re: Database connection pooling errors in Tomcat 5.5.17

2006-10-18 Thread David Smith
The normal method uses DriverManager.getConnection() which appears to cast a wider net in resolving database URLs. Maybe someone who's seen the DriverManager class source can comment? --David Saurabh Nanda wrote: Thanks. I got it working: 1. Removed the oracle driver from WEB-INF/lib and

Re: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread Mladen Turk
Rainer Jung wrote: Maybe I missed something, but I didn't see a worker.list in the configuration. In the original main from the poster there is: worker.list=loadbalancer,jkstatus So, I think you've missed it :) Regards, Mladen

RE: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread VikasSharma-ATG, Noida
Thanks Mladen, I deleted all Jakarta filter, and install again, this time manually. So things looks like progressed a bit further. Also this time I didn't created any registry entry, instead I'm using isapi_redirect.properties as described in

RE: Writing a text file back to browser from a servlet

2006-10-18 Thread Tim Lucia
Leave out the Content-Disposition header and you'll get a plain text response. You originally said so they can save it to their local hard disk. FireFox uses the name of the request as the file to save as when one is not specified in the response -- so that may explain why using File-Save As

Re: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread Mladen Turk
VikasSharma-ATG, Noida wrote: Thanks Mladen, I deleted all Jakarta filter, and install again, this time manually. So things looks like progressed a bit further. Also this time I didn't created any registry entry, instead I'm using isapi_redirect.properties You should post that file then :)

RE: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread Øyvind Roth
See also my EMail on 2006.10.04 14:45 Thread IIS and Tomcat on different physical servers bullet 2). My issue is not solved, so I am waiting for your solution, maybe it's the same problem? Best regards Øyvind Roth Systems developer Suss-telefonen foundation PB 6577 Rodeløkka N-0501 Oslo Norway  

UserDatabase problem

2006-10-18 Thread Millie Morton
Just installed tomcat-5.5.20 with JVM 1.5.0_09 on RHEL ES 4.0. I didn't find very much on the web about this error and wonder if any of you can help. WARNING: User database is not persistable - no write permissions on directory The entire tomcat tree is owned by tomcat and the server runs

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Christopher Schultz
Tomas, At JVM shutdown, the JVM is terminated only if all remaining running threads are daemon threads. Not true. System.exit() kills the VM regardless of the presence of non-daemon threads. -chris signature.asc Description: OpenPGP digital signature

RE: Memory problem in Tomcat

2006-10-18 Thread Caldarale, Charles R
From: andresgr [mailto:[EMAIL PROTECTED] Subject: Re: Memory problem in Tomcat Look for maxPostSize in: http://tomcat.apache.org/tomcat-5.0-doc/config/http.html The OP stated he's using 5.5, so the correct doc link is: http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Also might

RE: After stopping tomcat, the tomcat process still appears to berunning

2006-10-18 Thread Caldarale, Charles R
From: Tomas Hulek [mailto:[EMAIL PROTECTED] Subject: Re: After stopping tomcat, the tomcat process still appears to berunning 1) either all these threads are destroyed before JVM shutdown by calling the stop() method for each of the threads, A really, really bad idea and a sign of

[ANN] security component 1.0-beta (incl tomcat realm)

2006-10-18 Thread Nathan Coast
Hi, The codeczar team is pleased to announce the 1.0-beta release of the codeczar security component. This component enables db-resident user/role/group security within your webapps. This release includes: * admin webapp to manage users, roles groups. * client jars to integrate with your

RE: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread VikasSharma-ATG, Noida
Isapi_redirect.properties, this file needs to be created under the same directory where isapi_redirect.dll resides extension_uri=d:\vsharma\jakarta\bin\isapi_redirect.dll log_file=d:\vsharma\jakarta\logs\isapi_redirect.log log_level=debug worker_file=d:\vsharma\jakarta\conf\workers.properties

RE: UserDatabase problem

2006-10-18 Thread Caldarale, Charles R
From: Millie Morton [mailto:[EMAIL PROTECTED] Subject: UserDatabase problem WARNING: User database is not persistable - no write permissions on directory The entire tomcat tree is owned by tomcat and the server runs as user tomcat. I need to be able to access the manager and this

Re: UserDatabase problem

2006-10-18 Thread Millie Morton
conf is 755 tomcat-users.xml is 600 I did try making both world rw but it made no difference. Thanks. Millie Caldarale, Charles R wrote: From: Millie Morton [mailto:[EMAIL PROTECTED] Subject: UserDatabase problem WARNING: User database is not persistable - no write permissions on

Logging

2006-10-18 Thread Helmut Schneider
Hi, I'm not very aware of tomcat but I 'inherited' a webserver with tomcat where an application does not seem to work anymore. So the first thing I wanted to do is to look at the logfiles - no logfiles. I looked at conf/server.xml and found: Valve

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread David Smith
To the best of my knowlege, System.exit() is never called from within tomcat. Tomcat closes it's own daemon threads and then exits normally like any other java program. If a third party package starts it's own thread, that package is responsible for cleaning up what it starts. Tomcat won't

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Tomas Hulek
AFAIK Tomcat does not call System.exit() - at least did not in version 4.1.*, when we solved the very same problem. T. Christopher Schultz

Re: IIS6.0 with JBoss4.0.3sp1 using mod jk 1.2.19

2006-10-18 Thread Mladen Turk
VikasSharma-ATG, Noida wrote: Isapi_redirect.properties, this file needs to be created under the same directory where isapi_redirect.dll resides extension_uri=d:\vsharma\jakarta\bin\isapi_redirect.dll extension_uri=/jakarta/isapi_redirect.dll Regards, Mladen.

RE: After stopping tomcat, the tomcat process still appearsto be running

2006-10-18 Thread Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: After stopping tomcat, the tomcat process still appearsto be running To the best of my knowlege, System.exit() is never called from within tomcat. Well ... that's not quite true. There are several calls to System.exit() in the

Re: Using a custom connector in Tomcat 5.5

2006-10-18 Thread Jacob Marcus
So may be there is another way of doing what I want. My original plan was to override the createRequest method. The reason is, I want my own implementation of the isSecure() method. So my version of the createRequest method would be like, public Request createRequest() { Request

Re: Logging

2006-10-18 Thread Boris Unckel
Hello, Any ideas are appreciated. Have a look at http://tomcat.apache.org/tomcat-5.5-doc/logging.html There is a detailed description for Tomcat and log4j. Regards Boris - To start a new topic, e-mail:

Re: CGI vs SMTP vs Tomcat

2006-10-18 Thread Wade Chandler
The JVM security policy couldn't just block TCP/IP access for the Perl process. The reason being the child process...perl in this case will not be run in the JVM like a class which will make calls inside the JVM space...a.k.a the JVM can't say...you are not allow to make the call to make the

Re: load files on tomcat

2006-10-18 Thread harl3kin
Hey again, thanks for your replies. I just want to read the resource file and I tried the getResource() method, it can't find the resource though. When I get the absolute path of the context, I receive the file structure where the tomcat is installed. But does tomcat internally have the same

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Jon Wingfield
You've also got other candidates such as database connections, JMS connections etc which could spawn threads (For example, for keep-alive functionality). The easiest thing to do is a thread dump (send the process a SIGQUIT signal) after stopping tomcat to see which thread(s) are keeping the

Re: load files on tomcat

2006-10-18 Thread David Smith
If you are trying to read from a servlet, it's: getServletContext().getResource( /WEB-INF/graphics/test.gif ) getServletContext().getResourceAsStream( /WEB-INF/graphics/test.gif ) ; The first one retrieves a URL object that can be used to open an input stream. The second returns an input

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Christopher Schultz
Tomas, To be fair, you did say JVM shutdown, not Tomcat shutdown. AFAIK Tomcat does not call System.exit() - at least did not in version 4.1.*, when we solved the very same problem. Here: At JVM shutdown, the JVM is terminated only if all remaining running threads are daemon threads.

Re: max_threads issue blocked threads (*warning* long thread dump attached)

2006-10-18 Thread Derek Wormdahl
Pascal, Our connectionTimeout value is set to the Tomcat default of 6 (60 seconds). I'm not exactly sure how to determine if that's too high? Any ideas? Also, we're around 30-40 concurrent users during our peak times of day but that's about it. The server load is OK... I mean right

Configure issue with jsvc

2006-10-18 Thread Derek Schaible
Hi list, I am trying to install tomcat for the first time, version 5.5 with Sun's SDK 5, Redhat ES 4, which installed smoothly. My problem is trying to get the jsvc to get past configure: [EMAIL PROTECTED] jsvc-src]# ./configure --with-java=/usr/java/jre1.5.0_06 *** Current host ***

CPU Load Problem with IIS/Tomcat

2006-10-18 Thread Nino Ulsamer
Hi, I have a really strange problem - I installed the latest version of Tomcat (5.5.20) on my Windows 2000 Server machine, which is already running IIS 5.0. I followed the tutorials to make IIS talk to Tomcat using ISAPI redirect. If I open some test page generated by a servlet in my browser,

cannot write to disk

2006-10-18 Thread Asensio, Rodrigo
hi guys I have a Fedora 5 Tomcat 5517 JDK Sun 1508 my tomcat is running as daemon as tomcat user the owner of my tomcat installation folders is tomcat:tomcat but when my servlet starts he want to write to tomcat/logs (my own logs) and seems that I do not have permission. any clue ?

Infinite loop restarting web app

2006-10-18 Thread JWM
I made a change to a jar file for a web app and uploaded it using my normal process. Immediately after refreshing the jar on the server, Tomcat went into an infinite loop restarting the app (See snippit from stdout log below). Any ideas what could have caused this? I erased the jars and

Re: CPU Load Problem with IIS/Tomcat

2006-10-18 Thread Mladen Turk
Nino Ulsamer wrote: Hi, I have a really strange problem - I installed the latest version of Tomcat (5.5.20) on my Windows 2000 Server machine, which is already running IIS 5.0. I followed the tutorials to make IIS talk to Tomcat using ISAPI redirect. If I open some test page generated by a

Confused about getRemoteUser and Apache authentication

2006-10-18 Thread Joe Pluta
I am trying to authenticate via Apache and use getRemoteUser in Tomcat. I want to serve static pages via Apache and run a web application through Tomcat. I am receiving a null for getRemoteUser in my simple Spy servlet. I have read in different places where the AJP connector requires the keyword

Re: Logging

2006-10-18 Thread Helmut Schneider
Hi, From: Boris Unckel [EMAIL PROTECTED] Any ideas are appreciated. Have a look at http://tomcat.apache.org/tomcat-5.5-doc/logging.html There is a detailed description for Tomcat and log4j. [EMAIL PROTECTED] /usr/local/tomcat5.5]# find . | grep log4j ./common/classes/log4j.properties

RE: Confused about getRemoteUser and Apache authentication

2006-10-18 Thread Joe Pluta
Sheesh. I'm tired. I said: I'm not sure whether I the security constraints define in the application's web.xml. I meant: I'm not sure whether I need the security constraints defined in the application's web.xml. - To start

AW: CPU Load Problem with IIS/Tomcat

2006-10-18 Thread Nino Ulsamer
Hello Mladen, great!! That fixed the problem!!! Thank you so much... I should have put my question here earlier - would have saved me some google-hours ;-) Thanks!! Nino -Ursprüngliche Nachricht- Von: Mladen Turk [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 18. Oktober 2006 17:34 An:

Re: Configure issue with jsvc

2006-10-18 Thread Steve Ochani
On 18 Oct 2006 at 11:05, Derek Schaible wrote: Hi list, I am trying to install tomcat for the first time, version 5.5 with Sun's SDK 5, Redhat ES 4, which installed smoothly. My problem is trying to get the jsvc to get past configure: [EMAIL PROTECTED] jsvc-src]# ./configure

Re: Confused about getRemoteUser and Apache authentication

2006-10-18 Thread David Smith
I can fix one issue for you -- if you add the attribute tomcatAuthentication=false to the connector element in server.xml, the remote user will start coming through from Apache httpd. Never tried to do security constraints in web.xml and use tomcatAuthentication=false together. You could try

Re: Logging

2006-10-18 Thread Boris Unckel
Hi, Hopefully I still miss anything because there is still nothing which looks even similiar to an access log: [EMAIL PROTECTED] /usr/local/tomcat5.5]# grep -ir tomcat\.gif /usr/local/tomcat5.5/logs/ [EMAIL PROTECTED] /usr/local/tomcat5.5]# grep -ir tomcat\.gif /var/log/tomcat/ [EMAIL

Re: AW: CPU Load Problem with IIS/Tomcat

2006-10-18 Thread Mladen Turk
Nino Ulsamer wrote: Hello Mladen, great!! That fixed the problem!!! Cool. Anyhow, we should have the note about that on the main page (the next version installer will automatically pick up the latest stable 1.1.6 version) Version 5.5.20 downloads during install (1.1.4) is broken if you don't

RE: Confused about getRemoteUser and Apache authentication

2006-10-18 Thread Joe Pluta
Thanks, David. I swear I tried that on one of my attempts, but evidently I didn't save the file or didn't bounce the server or something. The tomcatAuthentication (not request.tomcatAuthentication) works fine. Interesting to note that the Tomcat security constraints do NOT work -- they

Re: Configure issue with jsvc

2006-10-18 Thread Derek Schaible
On Oct 18, 2006, at 11:42 AM, Steve Ochani wrote: You need to use sun's jdk only, try uninstalling gnu java alltogether and make sure you have sun's jdk (not just jre) installed. That did it! Thanks! Perhaps the Linux docs could be updated to reflect Sun's default JDK directory of '

Dead links on Tomcat Connectors page

2006-10-18 Thread JWM
There are some dead links on the Tomcat Connectors doc page. On page: http://tomcat.apache.org/connectors-doc/ go to the heading for Installation then Apache 2.0.x. It contains the following link that returns a 404. http://tomcat.apache.org/connectors-doc/install/apache2.html

org.xml.sax.SAXParseException

2006-10-18 Thread Assaf Flatto
Hello list Starting my tomcat (5.5.117) i get the following error, i validated the xml's and the pass , i matched the DTD and the also are defined properly has anyone encountered this behavior before ? thanks Assaf 5863 [main] INFO org.apache.struts.validator.ValidatorPlugIn - Loading

Can one Global JNDI resources reference another ?

2006-10-18 Thread Stephen More
I think I have come across a chicken and egg scenario. I want to have a connection pool that is globally accessible, so I added the following to my GlobalNamingResources Resource name=jdbc/GlobalPool auth=Container type=javax.sql.DataSource

RE: cannot write to disk

2006-10-18 Thread Nelson, Tracy
Is the owner:group of your logs directory also tomcat:tomcat? You might want to try to su to tomcat and touch(1) a file in the logs directory. You might also want to chmod 751 on the whole tomcat tree, it could save you from more troubleshooting later. --- Tracy Nelson / Nelnet Business

Re: Dead links on Tomcat Connectors page

2006-10-18 Thread Rainer Jung
Thanks for the info. The docs are not in good shape, eventually there will be more broken links. I fixed the links in the Installation section be referring to the new docs in HowTos. Should be synced to the main web site in an hour or so and will be included in the next release. Rainer JWM

Re: org.xml.sax.SAXParseException

2006-10-18 Thread Christopher Schultz
Assaf, Starting my tomcat (5.5.117) i get the following error, i validated the xml's and the pass , i matched the DTD and the also are defined properly I can't see how your XML validation passed, since position isn't a valid parameter for arg1, arg2, arg3, or arg4. You need to use: arg

RE: cannot write to disk

2006-10-18 Thread Asensio, Rodrigo
Yes, tomcat:tomcat is the owner:group of the entire tree I touched as tomcat and works ok. I modified to 751 the entire tree. Same results. *This is my tomcatd* #!/bin/sh # Sartup script for the Jakarta Tomcat Java Servlets and JSP server # #

Re: Confused about getRemoteUser and Apache authentication

2006-10-18 Thread David Smith
Not a problem. We have a custom auth module for Apache httpd, no equivalent for tomcat :-( where we need to do exactly this. --David Joe Pluta wrote: Thanks, David. I swear I tried that on one of my attempts, but evidently I didn't save the file or didn't bounce the server or something.

chroot, jsvc, and catalina.out

2006-10-18 Thread Mark Petrovic
Good day. I'm three+ hours into chroot'd jsvc odyssey that leaves me baffled. My eyes are looking but they seem to have failed to see. Recall normally when Tomcat starts that it writes information to catalina.out. However, when I run Tomcat as chroot'd with jsvc I can see a successful

RE: chroot, jsvc, and catalina.out

2006-10-18 Thread Caldarale, Charles R
From: Mark Petrovic [mailto:[EMAIL PROTECTED] Subject: chroot, jsvc, and catalina.out Recall normally when Tomcat starts that it writes information to catalina.out. Depends on the level of Tomcat being used - and you didn't bother to tell us which one you're using. The behavior described

placing context.xml in META-INF works?

2006-10-18 Thread Jason Novotny
Hi, I have a context.xml file that looks basically like this: Context path=/portal debug=0 reloadable=false crossContext=true/ In the past using Tomcat 5.5.X I've had to manually copy this file over to $CATALINA_HOME/conf/Catalina/localhost/ and giving it the filename of the context:

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Jason Novotny [mailto:[EMAIL PROTECTED] Subject: placing context.xml in META-INF works? I have a context.xml file that looks basically like this: Context path=/portal debug=0 reloadable=false crossContext=true/ Take out the path attribute - it's not allowed unless the Context

Re: chroot, jsvc, and catalina.out

2006-10-18 Thread Mark Petrovic
Thanks. I forgot to mention that I'm using 5.5.17. I read through the link you provided and cannot find a reason why I get logging to catalina.out in one runtime scenario (that is, the simplest case of bin/startup.sh out of the box), but not in the other scenario (chrooted under jsvc). Maybe

mod_jk broken pipe

2006-10-18 Thread Martin Kautz
Hello list, after wasting a few days to solve my problem using Google I ended up her. :-) I've written a straight forward web store/shop (a front controller servlet using dbcp/mysql with a couple of jsps included conditionally). I am using Mac OS X 10.4.8, Tomcat 5.5.17, mod_jk 1.2.19,

RE: chroot, jsvc, and catalina.out

2006-10-18 Thread Caldarale, Charles R
From: Mark Petrovic [mailto:[EMAIL PROTECTED] Subject: Re: chroot, jsvc, and catalina.out I read through the link you provided and cannot find a reason why I get logging to catalina.out in one runtime scenario (that is, the simplest case of bin/startup.sh out of the box), but not in the

Re: chroot, jsvc, and catalina.out

2006-10-18 Thread Mark Petrovic
Yes, thanks. This is under Linux/Ubuntu 6.06, btw. Here is the salient portion of my startup script: newroot=/chroot pidfile=/jsvc.pid javahome=/usr/local/jdk1.5.0_06 export CATALINA_HOME=/usr/local/tomcat case $1 in start) /usr/sbin/chroot $newroot /jsvc -user tomcat -home $javahome

Re: mod_jk broken pipe

2006-10-18 Thread Rafael . Almeida
Broken pipe errors are something that we want to debug too. Our enviroment is: Tomcat 5.5.17, apache 2.2.3 mod_proxy_ajp Sometimes we have a broken pipe too. Under heavy load, it happens more times, but our server keeps serving with no problems. Any ideas? Rafael Sarres de Almeida Seção de

RE: chroot, jsvc, and catalina.out

2006-10-18 Thread Caldarale, Charles R
From: Mark Petrovic [mailto:[EMAIL PROTECTED] Subject: Re: chroot, jsvc, and catalina.out Something about the result of chroot'ing is not quite right, as when I modify the invocation above to not use the chroot, output to catalina.out appears. It appears that Tomcat itself does not use

RE: placing context.xml in META-INF works?

2006-10-18 Thread Michael Hencin
I have a similar need. I have a context file with a JNDI resource, and some env entries. I want this context file to be copied to the $CATALINA_HOME/conf/Catalina/localhost/ directory do that the users can use the default JNDI and env values I enter. My app exisits within the appbase and I want

RE: cannot write to disk

2006-10-18 Thread Asensio, Rodrigo
The strange thing is that tomcat writes in tomcat/logs his own files as tomcat, and is not allowing me to do the same thru tomcat. -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 1:43 PM To: Tomcat Users List Subject: RE: cannot

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: RE: placing context.xml in META-INF works? I want this context file to be copied to the $CATALINA_HOME/conf/Catalina/localhost/ directory do that the users can use the default JNDI and env values I enter. Why does the location of the

[OT] Looking for engineers in boston

2006-10-18 Thread Dan Adams
Hey guys. Sorry for the spam. My company is looking for good engineers in boston. You can find the job posting details here: http://www.ifactory.com/about/jobs.php To be honest that job description is only half the picture. We also do a lot of: - Testing using TDD - Tapestry - Hibernate -

Re: chroot, jsvc, and catalina.out

2006-10-18 Thread Mark Petrovic
Charles, next time we meet I owe you coffee. Through this feedback I managed to realize that I created no proper /chroot/dev/null, which is required for the -output switch to do its job. I would have expected more complaints out of all the binaries involved in the runtime trajectory, and which

Re: mod_jk broken pipe

2006-10-18 Thread Rainer Jung
The broken pipe error generally means, that the client (browser/ab) closed the connection before tomcat finished sending it's response. Most often this happens, when an answer takes longer, than users expect/tolerate and the users pressed refresh, stop etc. Possibly also, if you use a short

RE: cannot write to disk

2006-10-18 Thread Asensio, Rodrigo
Found the problem, there was creating a file path with some windows slashes / Translated to System.getProperty(file.separator) Thankyou -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 1:43 PM To: Tomcat Users List Subject: RE:

IPTABLES

2006-10-18 Thread Asensio, Rodrigo
my config Fedora 5 Tomcat 5517 Java Sun 1508 Im running a tomcat in port 80 without httpd I want redirect packages from 80 to 8080 because tomcat is running as tomcat user (cant run as other non root under port 1025) and I tried the IPTABLES redirection aproach but doesnt work I tried this but

RE: Logging

2006-10-18 Thread Richard Mixon
Helmut, Where did you look for log files? Often they will be in the logs directory under the Tomcat home directory. Sometimes the standard output goes to a file called catalina.out. To help further you could supply: - Tomcat version, there should be a file called RELEASE_NOTES somewhere under

Re: mod_jk broken pipe

2006-10-18 Thread Martin Kautz
Rainer, Thank you, but I'd like to know a bit more. Is there a way to avoid pipes get broken? Even if this issue does not affect the user's expirience I'd like to get rid of that log file pollution. I forgot to mention that the issue only applies to concurrent requests from 'ab'. Martin

RE: placing context.xml in META-INF works?

2006-10-18 Thread Michael Hencin
I want to pre-setup the configuration. I enter all the parameters, for the JDNCI info, and then the user only needs to install the webapp and if they use the default database location setting, it would work. Resource auth=Container name=octane type=javax.sql.Datasource/ Resource

RE: placing context.xml in META-INF works?

2006-10-18 Thread Michael Hencin
Also my target users are not tomcat savvy. So the less they need to do, the better. Having a pre-configured context file get deployed the first time, makes it easy. They just drop our war file, place the db file on the file system in the location we specify in the pre-configured context.xml and it

RE: placing context.xml in META-INF works?

2006-10-18 Thread Caldarale, Charles R
From: Michael Hencin [mailto:[EMAIL PROTECTED] Subject: RE: placing context.xml in META-INF works? Also my target users are not tomcat savvy. So the less they need to do, the better. Having a pre-configured context file get deployed the first time, makes it easy. They just drop our war

moving the context xml from $CATALINA_BASE/conf/

2006-10-18 Thread Molina, Teresa
Does anyone know how to specify a location for the default context.xml file outside of $CATALINA_BASE/conf? I have looked through the Tomcat source code and found a reference to the constant for the default file name itself, conf/context.xml, as well as getters and setters that seem to over-ride

Re: placing context.xml in META-INF works?

2006-10-18 Thread Michael Courcy
Take out the path attribute - it's not allowed unless the Context element is in server.xml, which is strongly discouraged. why ? Mic - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: IPTABLES

2006-10-18 Thread Christopher Schultz
Rodrigo, I tried the IPTABLES redirection aproach but doesnt work. Did you get an error message? Or, does the configuration appear to work (i.e. no errors) but then doesn't actually end up working? Try using the LOG rule to dump output into the kernel log, and observe that. Logging can help

Re: placing context.xml in META-INF works?

2006-10-18 Thread Christopher Schultz
Michael, I want to pre-setup the configuration. I enter all the parameters, for the JDNCI info, and then the user only needs to install the webapp and if they use the default database location setting, it would work. Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x expert,

Re: mod_jk broken pipe

2006-10-18 Thread Rainer Jung
Hi Martin, Martin Kautz schrieb: Rainer, Thank you, but I'd like to know a bit more. Is there a way to avoid pipes get broken? Even if this issue does not affect the user's expirience I'd like to get rid of that log file pollution. I forgot to mention that the issue only applies to

  1   2   >