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

2006-10-18 Thread VikasSharma-ATG, Noida
Mladen wrote: > extension_uri=/jakarta/isapi_redirect.dll > instead extension_uri=d:\vsharma\jakarta\bin\isapi_redirect.dll I tried this even, but didn't help. Both the setting generating same debug log. Please suggest I even tried downloading new isapi_redirect.dll (same version i.e. 1.2.19)

Downloadable file name is not correct on Linux/Unix box

2006-10-18 Thread Umar Zubair
I am using Tomcat5.5. I have a jsp page with option to download xls and pdf files. When I click the link to download file and try to save it, I can not see the exact file name. It shows the jsp file name. By the way, if I run same application on windows box, it works perfect. I am using following

Re: moving the context xml from $CATALINA_BASE/conf/

2006-10-18 Thread Peter Rossbach
Hi, you can confgure defaults at $CATALINA_BASE/conf/context.xml or $CATALINA_BASE/conf/Catalina/localhost/context.xml.default. Please read http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Regards Peter Am 19.10.2006 um 00:16 schrieb Molina, Teresa: Does anyone know how to sp

RE: CGI vs SMTP vs Tomcat

2006-10-18 Thread Wade Chandler
I would get an IDE such as Netbeans at: http://www.netbeans.org Wade --- HALSTEAD SGT WARREN F <[EMAIL PROTECTED]> wrote: > Tomcat is running on my (Windows 2003) machine as a > service logging in > as a Local System account. When I ran my test Perl > script on the command > line, I was logged i

RE: Problem Using Tomcat Connector on Windows 2000 Advanced Server

2006-10-18 Thread Darryl Ong
Hi Chuck. Yes. I have read that article and followed the instructions on this page as well: http://tomcat.apache.org/connectors-doc/howto/iis.html Perhaps I should post up the messages from the log files here. That way, the members here might get a better understanding? Regard

RE: Problem Using Tomcat Connector on Windows 2000 Advanced Server

2006-10-18 Thread Caldarale, Charles R
> From: Darryl Ong [mailto:[EMAIL PROTECTED] > Subject: RE: Problem Using Tomcat Connector on Windows 2000 > Advanced Server > > Currently, my server is also running IIS5.0 also and it is > using port 80 at the moment. I believe that's the first time you've mentioned IIS, which is a critical

RE: Problem Using Tomcat Connector on Windows 2000 Advanced Server

2006-10-18 Thread Darryl Ong
Hi, Currently, my server is also running IIS5.0 also and it is using port 80 at the moment. Now, from what I understand and seen, you cannot have both IIS5.0 and Tomcat using the same port 80 at the same time. So, my Tomcat is currently set to port 8080. However, it is rather unsigh

RE: Problem Using Tomcat Connector on Windows 2000 Advanced Server

2006-10-18 Thread Caldarale, Charles R
> From: Darryl Ong [mailto:[EMAIL PROTECTED] > Subject: Re: Problem Using Tomcat Connector on Windows 2000 > Advanced Server > > The connector I am using JK 1.2.19. But what are you trying to connect Tomcat with? The connector you downloaded is used when you're front-ending Tomcat with anot

Re: Problem Using Tomcat Connector on Windows 2000 Advanced Server

2006-10-18 Thread Darryl Ong
Hi Doug. Looks like I forgot to provide the necessary information. Here goes. Server: Windows 2000 Advanced Server Tomcat: 5.5.20 Java: Java Runtime Environment Version 5.0 Update 6 The connector I am using JK 1.2.19. The Tomcat I installed was from downloading the installer

RE: a discrepancy in webapp behavior in two environments

2006-10-18 Thread Aronszajn, Mark
Thanks for the information. I had checked Firefox in each environment (I think I mentioned this) to be sure that cookies were allowed, but I didn't realize that a firewall might block cookies. I really appreciate the help. Mark -Original Message- From: Caldarale, Charles R [mailto:[EM

Re: Problem Using Tomcat Connector on Windows 2000 Advanced Server

2006-10-18 Thread Parsons Technical Services
Darryl, Not a Tomcat on Windows myself, but a couple of things. Are you running a firewall on the box of any kind? What port do you have Tomcat configured to use? Past that I am sure the question of version will arise. Server (given) Tomcat Java You mentioned connector? Connector to what and wh

Re: IPTABLES

2006-10-18 Thread Parsons Technical Services
Rodrigo, Since it appears that you have not gotten an answer, I will take a stab at this. I am running CentOS 4 on one of my boxes and I used this method. I think you are running into the same issue I did with iptables. Open the iptables file in /etc/sysconfig. DO NOT edit it here. Just look a

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

2006-10-18 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > 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

RE: CGI vs SMTP vs Tomcat

2006-10-18 Thread HALSTEAD SGT WARREN F
Tomcat is running on my (Windows 2003) machine as a service logging in as a Local System account. When I ran my test Perl script on the command line, I was logged in as a administrator account. I tried changing the account it uses to a local admin account and it couldn't find any of the webpages (

RE: a discrepancy in webapp behavior in two environments

2006-10-18 Thread Caldarale, Charles R
> From: Aronszajn, Mark [mailto:[EMAIL PROTECTED] > Subject: RE: a discrepancy in webapp behavior in two environments > > Could you explain how the configuration of a firewall would have such > effect on whether the original HttpSession object gets retained? If you're not appending jsessionid ro

RE: a discrepancy in webapp behavior in two environments

2006-10-18 Thread Aronszajn, Mark
Thanks, Could you explain how the configuration of a firewall would have such effect on whether the original HttpSession object gets retained? I'm not being skeptical here at all, and sorry if it's a dumb question: I'm just ignorant of the sorts of considerations that might be relevant and would r

RE: a discrepancy in webapp behavior in two environments

2006-10-18 Thread Caldarale, Charles R
> From: Aronszajn, Mark [mailto:[EMAIL PROTECTED] > Subject: a discrepancy in webapp behavior in two environments > > This is fine, but what I don't understand is why specifying a > jsessionid param value is necessary in the TEST environment and > not necessary in the DEVELOPMENT environment. I a

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

2006-10-18 Thread Caldarale, Charles R
> From: Michael Courcy [mailto:[EMAIL PROTECTED] > Subject: Re: placing context.xml in META-INF works? > > How do you manage the problem, if you need to define a Host element > whith many Alias ? Hosts are a completely different problem, since they are not subordinate to an app. > Can you put

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? > > My ideal sequence of events is this. > 1) User installs tomcat > 2) User places our clean database file in the "recommended > location on the server machine. i.e c"\databse\ourfile.gdb" > 3

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

2006-10-18 Thread Michael Courcy
Because you have to restart Tomcat if you make any changes to server.xml - it's only read during initialization. Consequently, updating the app on the fly when its tag is in server.xml is not possible. To quote from the doc: ok Actually I'm not pretty sure to be ok. How do you manag

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

2006-10-18 Thread Michael Hencin
Our webapp is given to many discrete clients with their own networks. Often these users do not have tomcat at all. Our application requires it. Therefore the IT guy has to install tomcat when they get our web app. And they are not familiar with the ins and outs of tomcat at all. My ideal sequence

a discrepancy in webapp behavior in two environments

2006-10-18 Thread Aronszajn, Mark
I have a servlet-based web app that behaves differently with its handling of HttpSession objects in two different environments. Here are the two environments: DEVELOPMENT --- Firefox client on a linux box pointing at an instance of tomcat 5.5.17 (JVM from 1.5.0_07-b03) running on the same

RE: IPTABLES

2006-10-18 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: IPTABLES > > So, I suppose the answer to this guy's question is, "why are > you trying to fiddle with iptables when you could use jsvc?" Different strokes for different folks. If you don't need to run Tomcat as a daemon, and

Re: IPTABLES

2006-10-18 Thread Christopher Schultz
Chuck, >> Without some really nasty code, Tomcat is unable to do the same >> thing, so we're forced to do silly things like internal port >> forwarding, etc. > > Didn't realize that jsvc was considerd "really nasty", since I suspect > it's doing the exact same thing httpd is at startup. I've ne

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

2006-10-18 Thread Michael Courcy
Caldarale, Charles R a écrit : From: Michael Courcy [mailto:[EMAIL PROTECTED] Subject: Re: placing context.xml in META-INF works? Take out the path attribute - it's not allowed unless the element is in server.xml, which is strongly discouraged. why ? Because you have to

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

2006-10-18 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: placing context.xml in META-INF works? > > I get that, but it sounds like that's exactly what this guy wants: > configuration that is available to all of his webapps, and never > changes. If it smells like a global resource...?

RE: IPTABLES

2006-10-18 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: IPTABLES > > Without some really nasty code, Tomcat is unable to do the same > thing, so we're forced to do silly things like internal port > forwarding, etc. Didn't realize that jsvc was considerd "really nasty", since I susp

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

2006-10-18 Thread Christopher Schultz
Chuck, >> Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x >> expert, but that's what I'd do way back here in Tomcat 4.1. > > Things have changed. Global resources should be defined in server.xml, > but app-specific ones belong in the element for that app. > Specifying them glo

Re: IPTABLES

2006-10-18 Thread Christopher Schultz
Chuck, > P.S. Apache is an organization of open-source developers; httpd is the > web server product of that organization. Forgive me... s/(Apache)/\1 httpd/g >> : Yet another reason to front Tomcat with Apache: access to >> port 80. I'll have to add that to my laundry list of why I like to use

RE: IPTABLES

2006-10-18 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: IPTABLES > > : Yet another reason to front Tomcat with Apache: access to > port 80. I'll have to add that to my laundry list of why I like to use > Apache in front of Tomcat. ;) Why doesn't httpd have the same problem? What m

Re: load files on tomcat

2006-10-18 Thread Michael Courcy
Or if your resource are strored in a package try theObjectOf MyPackage.getClass().getResourceAsStream("image.gif"); Often used when sevlet inside a jar should serve content in the jar as well. David Smith a écrit : If you are trying to read from a servlet, it's: getServletContext().getResourc

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

2006-10-18 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: placing context.xml in META-INF works? > > Isn't this what conf/server.xml is for? I mean, I'm no Tomcat 5.x > expert, but that's what I'd do way back here in Tomcat 4.1. Things have changed. Global resources should be defined

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

2006-10-18 Thread Caldarale, Charles R
> From: Michael Courcy [mailto:[EMAIL PROTECTED] > Subject: Re: placing context.xml in META-INF works? > > > Take out the path attribute - it's not allowed unless the > > element is in server.xml, which is strongly discouraged. > > > why ? Because you have to restart Tomcat if you make any c

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 t

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 expe

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 yo

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 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 PROTECTE

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 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 o

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

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"/>

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: 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 th

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: 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: cann

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 respon

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 w

[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 - Agile/i

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 o

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 write

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 t

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 u

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 Ge

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: 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 > i

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, JavaS

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 I'

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: > > crossContext="true"/> Take out the path attribute - it's not allowed unless the element is in server.xml, which is strongly disco

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: 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: portal.xml I was told I could package this in the META-INF directory o

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 descri

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 open("ca

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. T

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 # # chk

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 , , , or . You need to use: instead of -chris

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 schr

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 Solutions

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 I tested this section and can access this resource fine from any webapp. Now I want to make a PersistenceManagerFactory global. I end up w

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

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 -

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 ' /op

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 immediat

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 s

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/ > [EM

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

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 --wi

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: T

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 st

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 ./

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: 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 serv

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-upl

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 ? -

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, the

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 *** checkin

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 no

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: 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 s

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 JV

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 file

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 conne

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: users@tomcat.apac

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 reque

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 t

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 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: 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 e

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: [...] /var/log/tomcat/ does exist, is writable

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 director

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 th

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 wor

  1   2   >