RE: Tomcat 5.5.12 Refresh/Cache problem

2005-10-31 Thread MW Janssen
is IE caching problem. To avoid caching of images in IE put an extra unique parameter behind the image source, i.e. the time in milliseconds. So the browser can never find it again in the cache. regards, maarten -Oorspronkelijk bericht- Van: Samit Paul [mailto:[EMAIL PROTECTED] Verzonde

RE: I'm convinced JNDI support is broken in 5.0.28

2005-10-31 Thread Preston Crawford
>> From: Preston Crawford [mailto:[EMAIL PROTECTED] >> Subject: I'm convinced JNDI support is broken in 5.0.28 >> >> I keep getting... >> >> FATAL [http-8080-Processor25] (DatasourceConnectionProvider.java:47) - >> Could not find datasource: java:comp/env/jdbc/sybDB >> javax.naming.NameNotFoundExce

combine server level security constraint and custom login?

2005-10-31 Thread Lawence
Dear all, Our website has a restricted folder, let's say /restricted, which is supposted to be only accessible by registered users. Surely I can simply use JDBC realm + security constraint provided by tomcat 5.5.X, BTW, that's the version I use, for user access control. However, I need to do

Re: Tomcat make error

2005-10-31 Thread Brian Munroe
On Oct 31, 2005, at 7:19 AM, Goverts IV, Paul wrote: I am having problems compiling connector for Tomcat 5.5.12 and apache2 on Solaris 10. I am compiling using gcc 3.4.3 (supplied with solaris 10) and I am building the connector for the apache2 that is supplied with solaris 10. Here is the ou

Re: 408 error with Form Authentication and Proxy. Doesn't occur with Basic Auth.

2005-10-31 Thread Brian Bonner
I forgot to share that there is *negligible* clock time lag between when the form is presented and the userid and password are entered. Still not sure why this error is popping up. It sounds like this also occurs in 5.5.9 and other configurations. Thanks. Brian On 10/31/05, Brian Bonner <[EMAIL

408 error with Form Authentication and Proxy. Doesn't occur with Basic Auth.

2005-10-31 Thread Brian Bonner
I've seen several posts that describe a 408 error in tomcat. I'm using Apache 2.0.55 as a proxy to Tomcat 5.0.30. Using Form based authentication, I access a secured URL and I'm challenged with a login form. I submit a valid userid/password and receive the following error. "HTTP Status 408 - Th

RE: I'm convinced JNDI support is broken in 5.0.28

2005-10-31 Thread Caldarale, Charles R
> From: Preston Crawford [mailto:[EMAIL PROTECTED] > Subject: I'm convinced JNDI support is broken in 5.0.28 > > I keep getting... > > FATAL [http-8080-Processor25] (DatasourceConnectionProvider.java:47) - > Could not find datasource: java:comp/env/jdbc/sybDB > javax.naming.NameNotFoundException

I'm convinced JNDI support is broken in 5.0.28

2005-10-31 Thread Preston Crawford
Our JNDI setup (configured in server.xml) works fine in Tomcat 5.0.28 on Windows. It works fine under Linux running as root. But it doesn't run fine running as a non-privelaged user (tomcat). Doesn't make any sense at all. I keep getting... FATAL [http-8080-Processor25] (DatasourceConnectionProvid

Tomcat 5.5.12 Refresh/Cache problem

2005-10-31 Thread Samit Paul
Can somebody tell me what configuration parameter I need to set to get rid of page not refreshing. I have a png image a.png . When I browse from IE it shows me the image properly. Now I put a different image but with the same name a.png. Event if I press the browser refresh button , it still does n

Authentication when Tomcat is fronted by Apache

2005-10-31 Thread Alan Chandler
I have apache2 as my main web server. I have configured it to pass all paths that begin with /famtree to them through to tomcat via the ajp connector (using jk_mod). I am trying to get basic authentication working using the UserDatabase Realm. I get the basic dialog box to appear so I can ente

Installing Tomact as a service... update

2005-10-31 Thread Preston Crawford
So I've been trying to use this site and the daemon script here. http://www.linuxjava.net/howto/webapp/#tomcat It works so far. I mean, at least the server starts, I can get to the site, etc. So far, so good. The only problem is, for some reason when I start tomcat using root everything runs fine

Re: Tomcat-Apache slow PDF response

2005-10-31 Thread Guy Knights
Sorry, I forgot to update my original post - yes, we have tried 1.2.14 and the same problem occurred. I've done a bit more testing since yesterday, and discovered the following about the problem: - if I redirect any large file to be served through the connector, it gives the same slow respon

Tomcat as a service under Linux... "To dream the impossible dream"

2005-10-31 Thread Preston Crawford
I've tried this so many different ways and I can't get it to work. Why is something that works out of the box on Windows so hard on Linux? Shouldn't there be a defined way to do this? I feel like I'm tilting at Windmills at this point. Don Quixote

RE: Jsvc vs tomcat shutdown -force

2005-10-31 Thread Preston Crawford
How did you get this to work? I tried following the directions and it doesn't work for me. Preston > I've used jsvc to have tomcat start as root and then switch to tomcat > user. This way I can have tomcat run on port 80 on a linux box. > > -Dennis > > -Original Message- > From: Matteo Tu

RE: How to change Tomcat's default page.

2005-10-31 Thread Saha Rabindra N
With that I am able to change the ROOT to point to my own application. Now http://:8080/ points to my own application. BUT, now all the compiled jsp class files are going to $CATALINA_HOME/work/Standalone/localhost/_/ instead of $CATALINA_HOME/work/Standalone/localhost// [I am using tomcat4.1.1

ant reload

2005-10-31 Thread Tamas Hegedus
Hi, After src/*.java modification I do an "ant compile", "ant reload". Nothing happens. Old class files not overwritten. If I do "ant remove" followed by "ant install": everything is OK (refreshed). Do you know what can I miss? I am using: jdk1.5.0_05, apache-ant-1.6.5, apache-tomcat-5.5.12.

Re: server.xml JNDIRealm question

2005-10-31 Thread Wendy Smoak
From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> I was trying to get away with just using the JNDIRealm connector but if you don't mind I will use portions of your code for a custom JAAS Realm. That's what it's there for. :) Do check the recent list archives if you want to use a custom user princ

RE: How to change Tomcat's default page.

2005-10-31 Thread Saha Rabindra N
Hi, Nice to get your such a quick response. Can you please elaborate me little bit as to how do remove the default ROOT context ? What all are the configuration files I need to change ? Thanks a lot RNS -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: server.xml JNDIRealm question

2005-10-31 Thread Klotz Jr, Dennis
Thanks. I was trying to get away with just using the JNDIRealm connector but if you don't mind I will use portions of your code for a custom JAAS Realm. Thanks. -Dennis -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 2:58 PM To: Tomcat User

Re: How to change Tomcat's default page.

2005-10-31 Thread Hassan Schroeder
Saha Rabindra N wrote: > When I point my browser to tomcat server, the default page showed up. > That default webapps is 'ROOT' and the file is index.jsp of ROOT webapps. > So every time I point to tomcat, I actually open ROOT/index.jsp > > Instead of that I want to point it to some other webapp

security question for this group

2005-10-31 Thread Prabhat Kumar \(IT\)
I am trying to figure out how to prevent a situation where a user has a runaway page that is a super user page (and unauthorized). The page has a text area that takes an SQL query and executes this on the applications database. My question is, how can such unauthorized tasks be prevented in gene

How to change Tomcat's default page.

2005-10-31 Thread Saha Rabindra N
Hi All, When I point my browser to tomcat server, the default page showed up. That default webapps is 'ROOT' and the file is index.jsp of ROOT webapps. So every time I point to tomcat, I actually open ROOT/index.jsp Instead of that I want to point it to some other webapps so that whenever http:/

SOLVE:RE: can I run tomcat on port 80 without running as root

2005-10-31 Thread Kam Lung Leung
Thank you the the information. It is solved with iptables using net in linux. Tomcat Users List wrote: > > Yes. The solution is (assuming you're running Linux or something like it) is > to port forward requests on port 80 to port 8080. > > Here's a discussion. > > http://linux.org.mt/arti

Re: server.xml JNDIRealm question

2005-10-31 Thread Wendy Smoak
From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> I've added : -Djavax.security.auth.useSubjectCredsOnly=false To my Catalina options environment variable in Catalina.bat. Now I get the error: java.lang.SecurityException: Unable to locate a login configuration To get a JAASRealm to work with Kerber

RE: server.xml JNDIRealm question

2005-10-31 Thread Klotz Jr, Dennis
Ok I've made progress, whether it is backwards or not, I don't know yet. I've added : -Djavax.security.auth.useSubjectCredsOnly=false To my Catalina options environment variable in Catalina.bat. Now I get the error: java.lang.SecurityException: Unable to locate a login configuration a

Why only one Web APP can be clustered?!

2005-10-31 Thread michelle wang
I have been fighting with this for a while, still have no clue at all. Any help is appreciated!! we are running 2 tomcat instances (5.0.18) on one Solaris 9 box with SimpleTcpClustering. There are 4 applications needs to be clustered. However, there's only one application can transfer the session

null client cert on SSL request

2005-10-31 Thread Steinberger, Richard
Hello! I have 2 way SSL running, and all is well until I try to get the certificate off of the request... java.security.cert.X509Certificate[] certs = (java.security.cert.X509Certificate[])request.getAttribute("java.securit y.cert.X509Certificate"); isSecure is true. sslID is provided.

Re: R�f. : unale to stop Tomcat-4.1.27

2005-10-31 Thread marju jalloh
..but it seems tomcat/bin/startup.sh was executed. How can I get around this problem? any help Byfour --- Richard Leotard <[EMAIL PROTECTED]> wrote: > That's because you tomcat server is not startes I > think > richard > > > > > > > marju jalloh <[EMAIL PROTECTED]> > 31/10/2005 15:01 > Ve

RE: Jsvc vs tomcat shutdown -force

2005-10-31 Thread Klotz Jr, Dennis
I've used jsvc to have tomcat start as root and then switch to tomcat user. This way I can have tomcat run on port 80 on a linux box. -Dennis -Original Message- From: Matteo Turra [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 12:11 PM To: users@tomcat.apache.org Subject: Jsvc

Re: DBCP connection leak after undeploy

2005-10-31 Thread Bogdan Calmac
Correct. On 10/31/05, Steve Kirk <[EMAIL PROTECTED]> wrote: > > I was thinking that you could write your own ServletContextListener code to > create/close the pool, so that you do not have to rely on TC to manage DBCP > via JNDI. I am planning to do this myself sometime soon, for other reasons >

RE: DBCP connection leak after undeploy

2005-10-31 Thread Steve Kirk
I was thinking that you could write your own ServletContextListener code to create/close the pool, so that you do not have to rely on TC to manage DBCP via JNDI. I am planning to do this myself sometime soon, for other reasons (you've just given me another one). I'm thinking that by not using JN

RE: Tomcat logging - Persistence of Logs

2005-10-31 Thread Steve Kirk
in case it helps but you haven't already seen it, the verbosity of can be tweaked, see same page as in last reply. Can I just check what you are saying: are you saying that the standard output to the file which captures stdout is different on the 2 platforms, even with out-of-the-box TC config?

Re: Getting Tomcat to run under Linux as a service?

2005-10-31 Thread Preston Crawford
Anyone? On Sat, 2005-10-29 at 08:46 -0700, Preston Crawford wrote: > I'm using CentOS 4.2. A rebuild of RHEL version 4 release 2. I'm trying > to get Tomcat 5.0xx running as a service. I've found a couple different > ways to do it. One using jsvc, but I can't quite get that one right. One > involv

Jsvc vs tomcat shutdown -force

2005-10-31 Thread Matteo Turra
Hi, I was wondering what jsvc is for? I tought it was to shutdown tomcat if it hangs and does not listen on shutdown port. Now I learn I can use CATALINA_PID and the -force parameter to kill tomcat if shutdown fails, isn'it? Thanks. Matteo. --

Re: DBCP connection leak after undeploy

2005-10-31 Thread Bogdan Calmac
In our company we share several Tomcat servers for all developers, so that's why we use deploy/undeploy instead of start/stop. As a workaround for this problem, you can create a ServletContextListener and close the datasource yourself in contextDestroyed(). I used refection here to avoid compile t

Re: OT: Tomcat/JVM dump

2005-10-31 Thread David Boyer
The webapp that's using this is a 3rd-party commercial app. I am dealing with the vendor on this also, but things are such that I want to give them any help I can ;) >>> [EMAIL PROTECTED] 10:03 AM 10/31/200531/2005 >>> You are obviously using hibernate with c3p0. Have you already upgraded to the

Re: Tomcat logging - Persistence of Logs

2005-10-31 Thread Tom Burke
Indeed, I have a daily log already but it doesn't seem to be as verbose as the stdout.log. I was just wondering if the default log - stdout.log in Windows, catalina.out in linux - could be made to behave the same way on the two platforms. But it looks as if this is an OS-specific difference, a

RE: Tomcat-Apache slow PDF response

2005-10-31 Thread GB Developer
> -Original Message- > From: Guy Knights [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 30, 2005 7:38 PM > To: Tomcat Mailing List > Subject: Tomcat-Apache slow PDF response > > > - compiling and installing the latest mod_jk connector (1.2.6) and > testing this with a test copy of a

Re: OT: Tomcat/JVM dump

2005-10-31 Thread Christoph Kutzinski
You are obviously using hibernate with c3p0. Have you already upgraded to the latest version of to c3p0? I experienced hangs with an older version of c3p0 (0.8.4.5?), too. David Boyer wrote: We have a Tomcat app that is hanging every 3-4 days. I know this is off-topic, but I'd appreciate any he

server.xml JNDIRealm question

2005-10-31 Thread Klotz Jr, Dennis
The quick question: Where do I place the cache file generated by kinit? The long explanation: Oh the fun and joy of getting JNDIRealm to work! I am attempting to use authentication="GSSAPI" against Active Directory and I can't figure out how to setup Kerberos. I'm getting the error: GSSExcept

OT: Tomcat/JVM dump

2005-10-31 Thread David Boyer
We have a Tomcat app that is hanging every 3-4 days. I know this is off-topic, but I'd appreciate any help in resolving this. I've posted the JVM dump on my web page at http://web.bvu.edu/staff/david/jvmdmp.txt Additional details: JDK 1.4.2_08 on Windows Server 2003 Enterprise, Tomcat 5.0.28

RE:

2005-10-31 Thread Caldarale, Charles R
> From: Lothar Krenzien [mailto:[EMAIL PROTECTED] > Subject: > > but on server B I get always the erros message 'the file > "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogMan > ager" could not found'. That message might indicate the entire parameter is being interpreted as some sor

RE: ClassLoaderLogManager not found

2005-10-31 Thread Caldarale, Charles R
> From: Lothar Krenzien [mailto:[EMAIL PROTECTED] > Subject: RE: ClassLoaderLogManager not found > > I just found another link with google which says that I have > to install the JDK instead of the JRE. Depends on the version of Tomcat you're using. The 5.5 series requires only a JRE, not a JD

Tomcat make error

2005-10-31 Thread Goverts IV, Paul
I am having problems compiling connector for Tomcat 5.5.12 and apache2 on Solaris 10. I am compiling using gcc 3.4.3 (supplied with solaris 10) and I am building the connector for the apache2 that is supplied with solaris 10. Here is the output I am getting, any ideas would be appreciated, I am n

Réf. : unale to stop Tomcat-4.1.27

2005-10-31 Thread Richard Leotard
That's because you tomcat server is not startes I think richard marju jalloh <[EMAIL PROTECTED]> 31/10/2005 15:01 Veuillez répondre à "Tomcat Users List" Pour : Tomcat Users List cc :(ccc : Richard Leotard/Dev_middle/Paris/Exane) Objet : unale to stop Tomcat-4.

RE: JkMount

2005-10-31 Thread SUGAHARA Toshio
Hi Nehal, See the following comment; Regards, Toshio > Hi, > > I tried as follows > > My workers.properties : > > workers.java_home=/usr/j2se > ps=/ > worker.list=test1,test2,test3,test4 The workers that are member of load balancer must not appear in the worker.list directive. http://tom

unale to stop Tomcat-4.1.27

2005-10-31 Thread marju jalloh
Hello Can someone lease help.I`m using tomcat-4.1.27.When starten its gives all indication of clean start Using CATALINA_BASE: /etc/tomcat4 Using CATALINA_HOME: /etc/tomcat4 Using CATALINA_TMPDIR: /etc/tomcat4/temp Using JAVA_HOME: /usr/lib/j2sdk1.5-sun/ ... testing with http://loca

RE: How can I check is some connector up for TomCat?

2005-10-31 Thread Raghupathy,Gurumoorthy
Do telnet localhost 8009 and see if connects ? guru -Original Message- From: Janem [mailto:[EMAIL PROTECTED] Sent: 31 October 2005 10:56 To: users@tomcat.apache.org Subject: How can I check is some connector up for TomCat? How can I check is ajp12 or ajp13 connector up for

RE: ClassLoaderLogManager not found

2005-10-31 Thread Lothar Krenzien
Hi Steve, thanks for your answer. I'm running tomcat on Windows XP. And yes I set the env variables and run "service install". But because of some other problems I tried to stop the service and start the server with the startup-script. I just found another link with google which says that I h

RE:

2005-10-31 Thread Steve Kirk
windows or linux? if on windows and runing as a service, have you run the "service install" command after copying across the contents of the TC root directory? also check: have you set the env variables JAVA_HOME and CATALINA_HOME? are file permissions on the jar file OK? > -Original Message

users@tomcat.apache.org

2005-10-31 Thread Lothar Krenzien
Hi there, I'm using Tomcat 5.5 and want to copy a working installation from server A to server B, so that on both servers I have a running Tomcat service. The installation on server A is running without any problems, but on server B I get always the erros message 'the file "-Djava.util.loggi

RE: Tomcat logging - Persistence of Logs

2005-10-31 Thread Steve Kirk
The under 5.0.x uses -MM-DD format in the filename, so this would change each day, would that give you what you need? See "FileLogger" under "Standard Implementation" at: http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html PS note that is deprecated in 5.5.x > -Original Message-

RE: JkMount

2005-10-31 Thread Nehal Sangoi
Hi, I tried as follows My workers.properties : workers.java_home=/usr/j2se ps=/ worker.list=test1,test2,test3,test4 ## TEST1 CONNECTOR worker.test1.port= worker.test1.host=xxx.xxx.xxx.xxx worker.test1.type=ajp13 ## TEST2 CONNECTOR worker.test2.port= worker.test2.host=xxx.xxx.xxx.xxx

Tomcat logging - Persistence of Logs

2005-10-31 Thread Tom Burke
I have a problem with log files. I have a customer who has Tomcat 5.0.28 running on Windows 2003 Server. The main output is being logged to stdout.log in the tomcat/logs directory - this is the Windows equivalent of catalina.out on a linux/unix system. The problem is that for good reasons the

How can I check is some connector up for TomCat?

2005-10-31 Thread Janem
How can I check is ajp12 or ajp13 connector up for TomCat? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JkMount

2005-10-31 Thread SUGAHARA Toshio
Hi Nehal, I think you had better use Tomcat load-balancing function when you use different worker. See below document; http://tomcat.apache.org/connectors-doc/howto/workers.html Regards, Toshio > > How can i "JkMount" same URI twice in httpd.conf > with different worker > specified? > > e.g.

JkMount

2005-10-31 Thread Nehal Sangoi
How can i "JkMount" same URI twice in httpd.conf with different worker specified? e.g. i want to mount /example/* twice using different worker name. JkMount /example/* worker1 JkMount /example/* worker2 But this is not working. How should i configure to achieve my motto? Regds, Nehal --

RE: Tomcat not starting

2005-10-31 Thread Nehal Sangoi
Hi, There was permission issues on common/lib jar files and they were not accessible by my other tomcat instances. I changed permissions and its working fine now. Thanks Nehal -Original Message- From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 2:48 PM To: 'Tomc

Re: Apache front-end: mod_jk vs. ProxyPass/ProxyPassReverse?

2005-10-31 Thread Pau Garcia i Quiles
Quoting "Bas A. Schulte" <[EMAIL PROTECTED]>: On Oct 31, 2005, at 1:29 AM, Pau Garcia i Quiles wrote: If you need to generate almost every page you serve because they pages are customized for each visitor, go with mod_jk. It is quite dynamic however this doesn't really answer the question:

RE: Tomcat not starting

2005-10-31 Thread Nehal Sangoi
I have all the jars present in my catalinahome/common/lib. i believe, those have got corrupted. is there anyway apart from re-installation to resolve this problem? -Original Message- From: Steve Kirk [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 2:39 PM To: 'Tomcat Users

RE: Tomcat not starting

2005-10-31 Thread Steve Kirk
from your stacktrace it appears that this error occurs when XML is being parsed, because TC can't find a class: java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef in my installation (5.5.9) this class is in %catalina_home%\common\lib\naming-factory.jar so might be worth checking tha

RE: Tomcat not starting

2005-10-31 Thread Nehal Sangoi
Bob, Thanks so much for your response. Even, i had visited this page and now thinking for re-installation only. Why tomcat is so unstable?... Its risky to go ahead with that then. Thanks once again -Original Message- From: Bob Hall [mailto:[EMAIL PROTECTED] Sent: Monday, October

RE: Tomcat not starting

2005-10-31 Thread Bob Hall
Nehal, You probably need to reinstall Tomcat. See comment at end of: - Bob --- Nehal Sangoi <[EMAIL PROTECTED]> wrote: > Hi, > > I am using : > > jakarta-tomcat-5.5.9 > jdk1.5.0 > Solaris10 > > Please do help -- my Tomcat environmen