Re: finalize question

2005-11-03 Thread Darryl L. Miles
Andy Kriger wrote: Thanks for the info. A followup question... The second one is where the application has ThreadLocal data that is attached to a container thread. In tomcat this thread will be part of the thread pool, so it will never be garbage collected. We use ThreadLocal to handle our

Re: question about web-inf/lib

2005-11-03 Thread Tim Funk
You can place common library in common/lib. If that class needs to use reflection to instantiate any classes in your webapp - it may fail. (But since this looks to be a standalone utility - that doesn't seem to be the case) In the case of the reloads - a dll may only be registered once during

Re: Illegal to flush within a custom tag

2005-11-03 Thread Tim Funk
It looks like your custom tag is creating its own body content. The body content is handed back to the tag so furthur transformations may be done on it. So the whole tag needs evaluated and buffered before it may be flushed. Your tag is returning BodyTag.EVAL_BODY_BUFFERED during doStartTag().

RE: JkMount

2005-11-03 Thread Nehal Sangoi
Hi All, I could successfully implement load-balancing in tomcat apache setup. I got idea from the foll. case. http://www.junlu.com/msg/189637.html Do exactly same, what he has tried explaining It has worked perfectly fine for me. Regds, Nehal -Original Message- From: Nehal

Re: tomcat 5.5 logging

2005-11-03 Thread andy gordon
you can put the two log jar files in your web app web-inf/lib directory and the log4j properties in your web app classes directory. make sure your web app log4j properties file specifies its own log file and log file location. Its useful and may be good practice to place all log files in the

problems connecing apache to tomcat

2005-11-03 Thread Steven Pannell
Hi, I'm running apache 2.0.54 under windows XP with tomcat 5.5.7 and keep getting this error: trying to connect socket 772 to 127.0.0.1:8009 connect to 127.0.0.1:8009 failed with errno=61 Failed opening socket to (127.0.0.1:8009) with (errno=61) Error connecting to the Tomcat process. I can

Mimetypes

2005-11-03 Thread ALEX HYDE
Hi All, I've set up Tomcat to work inside of Apache. It's all going ok and I am trying to serve up 3gp to phones. My file worked ok on Sony Ericsson but on Nokia it doesn't work. I have only configurred Tomcat and not Apache to serve up 3gp mimetype. The Nokia does not know what the file type is.

How to deploy when JSPs need to change regularly?

2005-11-03 Thread Kurt Overberg
Hello All, I'm currently running mid-sized website (load balanced across five servers). Its a fairly large web application with a front and a back-end. In production, the application is sitting exploded in a directory which tomcats point at. It looks rather like a development sandbox. I do

Re: tomcat - OutOfMemoryError

2005-11-03 Thread Anna Seekamp
Yes, that was the problem. The PermSpace was Full, the we get an OutOfMemoryError. Thanks to you. -- anna BTW: Does someone know a good source about the content of the permspace. I read the sun-document, but there are only a few line about class and method-objects. In another place I read

Re: How to deploy when JSPs need to change regularly?

2005-11-03 Thread Anthony Carlos
Kurt: Have you looked into writing an Ant task to do this for you? -Anthony On Nov 3, 2005, at 9:19 AM, Kurt Overberg wrote: Hello All, I'm currently running mid-sized website (load balanced across five servers). Its a fairly large web application with a front and a back-end. In

RE: How to use -security when running as a service under Windows.

2005-11-03 Thread Donovan, JD
You're going from OpenVMS to Windows?!?!? WHY? Why go from the most secure system on the planet to the most exposed? Just wondering? jd Sr. Systems Engineer OpenVMS Alpha Support Team (813) 366-2359 OpenVMS: When downtime is not an option -Original Message- From: Andoni

RE: How to use -security when running as a service under Windows.

2005-11-03 Thread Ken Pawliw
Thanks to Bill Barker who supplied me with this advice a couple of weeks ago... Actually, what you need to do is to add to the Java Options section: -Djava.security.manager -Djava.security.policy==C:\path\to\tomcat\conf\catalina.policy If you look in catalina.bat, you will see that this is

Re: java.lang.OutOfMemoryError: unable to create new native thread after recompiling the kernel to 2.6.11.3

2005-11-03 Thread Brent Andrewsen
Can you give us some details Tomcat version Distro Tomcat compiled or binary install? Vanilla Tomcat installation or other applications installed? Brent ___ Brent Andrewsen Web Application Engineer [EMAIL PROTECTED] Office: (801) 861-2909 Novell, Inc.

MHT file dosn't show correctly

2005-11-03 Thread Yair Fine
Hi, I have am .MHT file on my web application. It is a web-archive page. If i open it through the file system ( double click) , an internet explorer is opened and the page is seen properly. If i try to access the MHT page through the web server, the page looks like gibberish. I tried

Re: How to deploy when JSPs need to change regularly?

2005-11-03 Thread Kurt Overberg
Richard, Thanks for the reply! Regarding your idea of using rsync- does that still involve building a .war file? I'm pretty ignorant of how 'real sites' do this, and of the whole deploy mechanism in general. I mean, how do people manage 100's of tomcats? I'm trying to get my system to

restrict to localhost

2005-11-03 Thread Michael P. Soulier
I have a setup where apache is proxypassing to tomcat, and we only want tomcat to bind to locahost:8080, as all authentication is currently done in apache. Unfortunately tomcat binds to all interfaces, so someone can get past that by going right to port 8080. How do I tell tomcat to bind

Get 404 error but file is there

2005-11-03 Thread ooper
html head /head body I have a site where a user can save reports for later viewing. An html file is created and the user can then access it later. For some reason, the html files that get created today are not accessible. A 404 error is returned. The html files from

RE: Tomcat 5.5.12 Refresh/Cache problem

2005-11-03 Thread Samit Paul
Thanks a lot guys. Certainly I misunderstood. Samit Paul -Original Message- From: MW Janssen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 2:51 AM To: 'Tomcat Users List' Subject: RE: Tomcat 5.5.12 Refresh/Cache problem that's what i meant. regards.

Re: Connection Pooling filling Temp tablespace

2005-11-03 Thread Anthony Carlos
Chris: Are your rollback segments located on the Temp tablespace? -Anthony On Nov 3, 2005, at 12:13 PM, Bliesner, Christopher P wrote: Hello, I am currently using Tomcat 4.1.12 with Oracle 8i on a Solaris 8 Unix machine and I have successfully set up the Tomcat configuration, pooling, etc.

RE: Connection Pooling filling Temp tablespace

2005-11-03 Thread Bliesner, Christopher P
Mine are not. They are on their own RBS tablespace. But the person's configuration that I'm describing, I'm not sure. What were you driving at? Chris -Original Message- From: Anthony Carlos [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 11:34 AM To: Tomcat Users List

RE: Client Certificate Authentication Failure

2005-11-03 Thread Steinberger, Richard
As a follow-up, the CAs are in the jre/.../cacerts store as well as being in the .truststore Rick -Original Message- From: Steinberger, Richard [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 12:06 PM To: users@tomcat.apache.org Subject: Client Certificate Authentication

Re: Connection Pooling filling Temp tablespace

2005-11-03 Thread Anthony Carlos
Chris: Well, the Temp tablespace usually is used just for sorting, which are rather short-lived. So, I can't see why 5GB would fill-up unless you were absolutely swamped with requests (in which case, you'd be describing a lot worse problems). So, the point I'm driving at is that if the

RE: Inner class session attributes not supported?

2005-11-03 Thread GB Developer
-Original Message- From: Ernesto Garcia [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 9:00 AM To: users@tomcat.apache.org Subject: Inner class session attributes not supported? I define a static inner class inside my JSP ... and then put it in the session. So even

Re: How to use -security when running as a service under Windows.

2005-11-03 Thread Andoni
Hi, That's fine, but where do I add these when I am not running Catalina.bat? Or are you saying that tomcat.exe is just calling catalina.bat? Andoni. - Original Message - From: Ken Pawliw Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Thursday, November 03, 2005 3:06 PM

RE: How to deploy when JSPs need to change regularly?

2005-11-03 Thread Richard Mixon
Kurt, Yes, I was thinking that using rsync would still involve bulding/deploying the war file. Here's the scenario I see: 1) Build war file, deploy to each Tomcat. 2) Developer makes changes to JSP during the day, then checks into CVS. 3) CVS can kick off a script that uses rsync/scp to update

RE: How to deploy when JSPs need to change regularly?

2005-11-03 Thread Richard Mixon
Kurt, Yes, I was thinking that using rsync would still involve bulding/deploying the war file. Here's the scenario I see: 1) Build war file, deploy to each Tomcat. 2) Developer makes changes to JSP during the day, then checks into CVS. 3) CVS can kick off a script that uses rsync/scp to update

Tomcat 4.x and JDK 1.4.x

2005-11-03 Thread George, Kenneth V [NTK]
We just recently upgraded one of our servers from JDK 1.3.15 to 1.4.2. After doing so, we are no longer able to get the web application to work. I am including the error and the web.xml. This worked fine with JDK 1.3.x. Any suggestions? Nov 3, 2005 5:27:05 PM

RE: How to use -security when running as a service under Windows.

2005-11-03 Thread Ken Pawliw
The Tomcat Windows distibution has an executable named tomcat5w.exe in the bin directory. Double click the executable, click the Java tab, and add the following to the Java Options field: -Djava.security.manager -Djava.security.policy=C:\path\to\tomcat\conf\catalina.policy Ken

Re: Using Windows Media Player video files (wmv) with Tomcat 5.0

2005-11-03 Thread Robson dos Santos Franca
Check the MIME type mapping in your web app's web.xml. For instance, add this in webapp/WEB-INF/web.xml: mime-mapping extensionwmv/extension mime-typevideo/x-ms-wmv/mime-type /mime-mapping Robson Denis Ahearn wrote: Does anyone know how to get Windows Media Player video files (wmv)

Include Problems

2005-11-03 Thread AA
Hi, we're using the latest version of Tomcat, but we've had this problem with previous versions as well. Our application uses include files. For example: --... c:import url="" context=/apps / Here is some HTML code.

Re: restrict to localhost

2005-11-03 Thread Michael P. Soulier
Caldarale, Charles R wrote: You didn't bother to tell us the version of Tomcat you're using, but for the current level look at the documentation for the HTTP connector here: http://tomcat.apache.org/tomcat-5.5-doc/config/http.html The address attribute is what you need to specify. Apologies,

Apache filters?

2005-11-03 Thread ALEX HYDE
Hi all, I am using Tomcat to serve up my image content. I was considering moving this static content to Apache itself but I'm stuck on how to do dynamic authorisation of a directory in Apache. In Tomcat I can restrict access to the images directory by adding a filter and in this filter

Google Map of active users on this list

2005-11-03 Thread Claire McLister
Hi, We've been working with Google Maps to see if we can automatically map origins of emails to groups. As a trial, we've been mapping active emails to this group since Oct 27th at: http://www.zeesource.net/maps/map.do?group=667 Would like to hear from you what you think of this

Re: Apache filters?

2005-11-03 Thread Tim Funk
Unless you use a 3rd party authorization package which has a tomcat and apache plugin - your out of luck -Tim ALEX HYDE wrote: Hi all, I am using Tomcat to serve up my image content. I was considering moving this static content to Apache itself but I'm stuck on how to do dynamic

Load class from different web app

2005-11-03 Thread Steven Nakhla
I'm writing a web application (a portal app, to be specific) that needs to be able to load a class (using Class.forName(...)) that was deployed in a different web application from the one I am developing. I've deployed the target web app containing the class I want to load, but whenever I call

jboss/tomcat on linux: request times out for client over VPN

2005-11-03 Thread faria hassan
Hi, I'm running jboss3.2.5/tomcat5 on linux 2.6.9-1.667, with default configurations. When clients request web pages (static HTML) normally (without being behind a proxy), there's no problem. If the request is made over VPN, it times out. I have tried with small files (4k) and very simple HTML (no

xmlValidation is Broken (and Undocumented) in TC 5.5.12

2005-11-03 Thread Bob Bronson
Hi All, Just a word of warning...apparently the sloppy Tomcat programmers did not thoroughly test TC 5.5.12. The Host element has an attribute, xmlValidation. In the default server.xml that's distributed with TC this value is set to false. If you set it to true you will see a boatload of

RE: Google Map of active users on this list

2005-11-03 Thread rahul
That's great work! but how did u mapped email ids to location? -Original Message- From: Claire McLister [mailto:[EMAIL PROTECTED] Sent: Friday, November 04, 2005 5:12 AM To: users@tomcat.apache.org Subject: Google Map of active users on this list Hi, We've been working with

Unix socket communications on Tomcat 5.5

2005-11-03 Thread Oliver Hookins
I've been trying to find some decent documentation on setting up Tomcat to communicate with mod_jk2 and Apache over unix sockets. So far what I've found suggests I only need to alter jk2.properties with details of the socket, and workers2.properties with the same details. I've done this and

Re: Unix socket communications on Tomcat 5.5

2005-11-03 Thread Oliver Hookins
Richard Mixon wrote: Oliver, Unless you have a special reason to use mod_jk2, you should probably be using mod_jk instead. See: http://tomcat.apache.org/connectors-doc/news/20041100.html#20041115.1 The mod_jk documentation for 5.5. is here:: http://tomcat.apache.org/connectors-doc/ Now,

Re: Apache filters?

2005-11-03 Thread Bruno Georges
Alex There many approach to this, the first one that come to mind is mod-rewrite parsing the request and apply some processing if there is a match.. Where do you store credentials? LDAP? Where is the security boundary in your design? Hope this helps Bruno Georges Glencore International AG Tel.