Tomcat 3.3 CVS: class/jar reloading

2001-09-12 Thread Bojan Smojver
Still a bit confused with it... When I put class files into WEB-INF/classes, Tomcat reports something like this: DependManager: Added /home/httpd/html/binarix.dev/WEB-INF/classes/com/binarix/velocity/PumpServlet.class class com.binarix.velocity.PumpServlet

Re: TC4: web.xml and reloading

2001-09-12 Thread Jim Cheesman
At 05:54 AM 12/09/01, you wrote: Remy Maucherat wrote: Essentially, yes. JAR reloading is not very reliable on my Windows box, though (and you can't remove JARs; but strangely you can ovewrite them). Sometimes, the changes get picked up, sometimes they do not. I have yet to find the

Re: TC4: web.xml and reloading

2001-09-12 Thread Bojan Smojver
Jim Cheesman wrote: I have to back this statement up - jar reloading on TC4/Win2000 is a risky business, to say the least. Sometimes it works, sometimes not... I wonder if it's anything to do with the server checking for a new jar at the same time as the filesystem overwrites the old one?

Re: GET parameters and anchors

2001-09-12 Thread Craig R. McClanahan
On Wed, 12 Sep 2001, Stuart Allen wrote: Date: Wed, 12 Sep 2001 15:46:23 +1000 From: Stuart Allen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: GET parameters and anchors Thanks, Craig A silly mistake, but I couldn't find any clues on the net

IMPORTANT!!!!!!!!! NEW DISTRUCTIVE VIRUS!!!!! DON' T OPEN...

2001-09-12 Thread Catalin Palsu
At 11:12 AM 9/12/01 +0300, you wrote: A new virus has just been discovered that has been classified by Microsoft as the most destructive ever! This virus was discovered yesterday afternoon by McAfee and no vaccine has yet been developed. This virus simply destroys Sector

RE: Problem with loading classes dynamically, new objects can't see things in webapp.

2001-09-12 Thread Guy Verbist
Hi again Craig. If ProsumerTestTag is being loaded from the class path, it's being loaded by the system class loader. If CustomTag is being loaded from the web app, it is being loaded from the webapp class loader. Judging by printing out the name of the classloaders being used at

RE: file download servlet

2001-09-12 Thread Dinu Jose
Hi, Could you please check the link given below.It shows how to use Content-Disposition etc. http://www.esus.com/javaindex/j2ee/servlets/servletdlbinaryfile.html Regards Dinu -Original Message- From: Alexander Jesse [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 12, 2001

To maintain bean session from a jsp called in a servlet?

2001-09-12 Thread Lessault Jean-Luc
Hi, I'm working on a cache Web, and I would like to maintain beans session from jsp files called in a servlet. But I loose them although I keep the servlet session. Does someone know how to solve this problem? Thanks.

Resource Overhead

2001-09-12 Thread Sam (Ying-Hsien Ku)
Hi everybody, We want to develop embedded linux system involve JSP engine. How could I know the overhead of memory and CPU utility when we running tomcat? even resin and others. thanks in advance,

Re: TC4: web.xml and reloading

2001-09-12 Thread Jim Cheesman
At 09:22 AM 12/09/01, you wrote: Jim Cheesman wrote: I have to back this statement up - jar reloading on TC4/Win2000 is a risky business, to say the least. Sometimes it works, sometimes not... I wonder if it's anything to do with the server checking for a new jar at the same time as the

Automatic compilation of java-classes?

2001-09-12 Thread Paul Downs
Hi, We recently swapped a machine over from running resin to running tomcat. One of the erm... features of resin was the compilation, if present, of java files into servlets/beans etc. Can this be achieved with tomcat? I could not find anything in the docs... TIA Paul

Re: To maintain bean session from a jsp called in a servlet?

2001-09-12 Thread asheesh
Check ur browser settings see if cookies are enabled or not ? Cheers asheesh - Original Message - From: Lessault Jean-Luc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 12, 2001 5:48 PM Subject: To maintain bean session from a jsp called in a servlet? Hi,

RE: IMPORTANT!!!!!!!!! NEW DISTRUCTIVE VIRUS!!!!! DON' T OPEN...

2001-09-12 Thread Roy Long
According to Mcafee's website this virus is a Hoax as was the internet flower for you http://vil.mcafee.com/dispVirus.asp?virus_k=98893; Roy -Original Message- From: Catalin Palsu [mailto:[EMAIL PROTECTED]] Sent: 12 September 2001 09:32 To: [EMAIL PROTECTED] Subject: IMPORTANT!

Re: Announce: OurSQL, JSP interface for MySQL

2001-09-12 Thread Kaneda K
At 06:47 12/09/2001 +0200, you wrote: Hi, First, I'm sorry for being half off-topic. Recently, I was looking for a good admin tool for MySQL. All I found was MyAdmin, which is written in PHP. I don't want any PHP on my server, so I decided to write my own software, and here it is - the first

Re: Announce: OurSQL, JSP interface for MySQL

2001-09-12 Thread Elm Gysel
That page has 4 links of its own and 3 of them give you jsp errors. I'm not sure if I would join that project tho :) Greetings from Belgium! Elm - Original Message - From: Kaneda K [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 12, 2001 12:42 PM Subject: Re:

Re: Announce: OurSQL, JSP interface for MySQL

2001-09-12 Thread Tom Oinn
Elm Gysel wrote: That page has 4 links of its own and 3 of them give you jsp errors. I'm not sure if I would join that project tho :) Greetings from Belgium! Elm - Original Message - From: Kaneda K [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 12,

Tomcat won't start : java.lang.OutOfMemoryError

2001-09-12 Thread Franck Routier
Hi, I'm trying to start Tomcat and get the following error : Exception during startup processing java.lang.reflect.InvocationTargetException: java.lang.OutOfMemoryError [...] I get this error with tomcat 3.3-b2 as well as tomcat-4.0-rc1. My environment is : Debian GNU Linux PowerPC Kernel

RE: Automatic compilation of java-classes?

2001-09-12 Thread Randy Layman
Not directly, however there is another Jakarta project called Ant that is a Java build tool. Clever use of a background process and file modification time stamps should allow you to automatically build java files into class files using Ant when necessary. Randy -Original

Re: Tomcat 3.3 CVS: class/jar reloading

2001-09-12 Thread Bojan Smojver
Bojan Smojver wrote: Still a bit confused with it... When I put class files into WEB-INF/classes, Tomcat reports something like this: DependManager: Added /home/httpd/html/binarix.dev/WEB-INF/classes/com/binarix/velocity/PumpServlet.class class

servlet hang

2001-09-12 Thread Noah Zigas
Hi All, I'm new to the this list, but I have searched endlessly on the following problem. First the machine config: Dell-installed RedHat Linux, kernel 2.2.14 Apache 1.3.12 compiled from source Tomcat 3.2.3 compile from source Blackdown JDK 1.2.2-FCS I have a

IIS Virtual hosting

2001-09-12 Thread David Oxley
Hi all, I need to set up IIS with each virtual host routing to a different worker in Tomcat. Each virtual host has the same web application under it and therefore must all be the same context. i.e. Under Apache I set up the following: NameVirtualHost 128.100.2.23 VirtualHost 128.100.2.23

RE: Database pool

2001-09-12 Thread Alexandre Victoor
Thanks for your responses Anybody knows the database pool of Turbine ? Is there a documentation beside the javadoc ? Alexandre Sorry I code Java servlets and I am looking something like http://javaexchange.com (which is not open source) Thanks Alexandre

RE: servlet hang

2001-09-12 Thread Andy Bailey
I had problems like this in a more conventional Server/Client (Applet) scenario. I am not entirely certain what causes the ObjectInputStream to think it is at EOF and didn't really have the time to find a 'workaround'. It was actually easier to create an RMI setup for what I wanted to acheive.

Tomcat error page

2001-09-12 Thread Alexandre Victoor
Hello again, I would like to know if it is possible to configure tomcat to serve a static page (without the java stack trace) when an error 500 occurs. Is there a tag like error-page that I need to add in web.xml ? Thanks for your help Alexandre

static class and JSP

2001-09-12 Thread JBrawner
Upon tomcat being started, I have a servlet populate a static class with configurations that are used by other servlets when they are invoked. This works great! But, now I'd like to have my JSP's use this static class but I'm getting the Undefined variable or class name error on the JSP. How

RE: To maintain bean session from a jsp called in a servlet?

2001-09-12 Thread Lessault Jean-Luc
Thank you asheesh for your answer, nevertheless I don't use cookies but just only HttpSession Objects. Cheers, jean luc. -Message d'origine- De?: asheesh [mailto:[EMAIL PROTECTED]] Envoye?: dimanche 24 juin 2001 12:16 A?: [EMAIL PROTECTED] Objet?: Re: To maintain bean session from a

RE: static class and JSP

2001-09-12 Thread Randy Layman
You need to import the class using %@ page import=class name here % at the top of your file. This works like regular java imports, except the import attribute can be comma delimited (or there can be multiple imports, or both) and you must import all classes (the default package is not

Re: Tomcat error page

2001-09-12 Thread Craig R. McClanahan
On Wed, 12 Sep 2001, Alexandre Victoor wrote: Date: Wed, 12 Sep 2001 16:43:58 +0200 From: Alexandre Victoor [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat error page Hello again, I would like to know if it is possible to configure tomcat to serve a

WebdavServlet and WEB-INF folder

2001-09-12 Thread nicolas bonvin
Is there a way to configure the org.apache.catalina.servlets.WebdavServlet so that webdav clients can access the WEB-INF folder? The provided webdav webapp doesn't display the WEB-INF folder - an understandable security precaution, but I would like to turn it off. thanks, nicolas b.

Re: tomcat has to be restarted every few hours (resent, mailserver errors)

2001-09-12 Thread Thad Humphries
Eric-- I had the same problem--an application that ran fine in Linux (RedHat 6.2) and would lock up on Solaris 2.7 and 2.6. Both systems with JDK 1.3.1, Tomcat 3.2.3, Apache 1.3.20. It would eventually stall and require restarting. Sometimes it would go several hours. Sometimes it would

iis redirecting servlet requests to tomcat but not JSP requests

2001-09-12 Thread Hughes, Tim
Hi, I have set up Tomcat on NT4.0 as a standalone and everything (servlets and jsps) work fine if I connect directly to Tomcat. I then set up IIS to forward requests exactly as described in the HowTo. The result is that when I connect to IIS with a servlet request e.g.

IIS-Tomcat case insensitivity

2001-09-12 Thread Morteo, Karl (AFIS)
I am looking for a way to integrate Tomcat 3.2 with an existing case IIS application. Unfortunately I have no control over the static HTML and many bookmarks that have used mixed case. Consequently I need to make Tomcat 3.2 and the uriworkers.properties case insensitive. Any ideas ? Thanks

Re: IIS-Tomcat case insensitivity

2001-09-12 Thread Craig R. McClanahan
On Wed, 12 Sep 2001, Morteo, Karl (AFIS) wrote: Date: Wed, 12 Sep 2001 15:16:13 +0200 From: Morteo, Karl (AFIS) [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: IIS-Tomcat case insensitivity I am looking for a way to integrate Tomcat 3.2

RE: IIS-Tomcat case insensitivity

2001-09-12 Thread Randy Layman
Perhaps a possible solution to your problem would be to create something in IIS that on 404 would examine the URL and change the case to what is needed, and then perform a forward? I assume that this is possible, but I don't know how to do it. Randy -Original

Visual Age 3.02 and Tomcat 3.11 - Problems configuring Tomcat for my own servlets

2001-09-12 Thread S.Munz
Hi, (I'm using VA for Java 3.02 and tomcat 3.1.1 running inside VAJ.) I have problems running my own servlets from the VAJ workspace without exporting it. When I start tomcat and type in the URL of my servlet i get a message that the page is not found. (BTW: The tomcat examples work fine). I've

IIS with Tomcat: Change default servlet directory

2001-09-12 Thread Albert
Hi All, I've installed Tomcat on Winnt4 with IIS4 and I've followed the instructions in Tomcat IIS HowTo to let IIS cooperate with Tomcat. It works if I set the home directory of my Web site in IIS to d:\tomcat (for my case, TOMCAT_HOME = d:\tomcat). I can run the servlet examples included in

Help: Tomcat 3.x/ 4.x and FreeBSD

2001-09-12 Thread Paul Kofon
Hi All, I just got a request from a friend of mine to help him build a portal for his office. Now, he would like to keep using his server which runs FreeBSD. I don't have any experience with this OS, however, I'm willing to help my friend. My questions are these: 1. Which JDK should I use? 2.

tomcat 4 beta 7 - reloading doesn't work

2001-09-12 Thread sankar kondur
Hi, i am using tomcat 4 beta 7. reloading doesn't seem to work at all. i did the following 1. used reloadable=true 2. put the classes in WEB-INF/classes 3. i also tried putting the classes in a jar in WEB-INF/lib instead of WEB-INF/classes it doesn't seem to work. anyone experienced this

bug 1006 - v3.2.3

2001-09-12 Thread Jean-Christophe Salomé
Hello We are using Tomcat 3.2.3, ibm jdk 1.2.2 (aix). (our) Tomcat has a similar symptom than the bug 1006 described in the bug database : Tomcat standlone accumulate blocked thread and stop responding. Isn't it supposed to be fixed in release 3.2.2? --- Additional Comments From [EMAIL

Tomcat 3.2.3 Apache

2001-09-12 Thread Hoggatt Matt - mahogg
I can't get Apache to recognize my servlet directory. I took the tomcat.conf file and added a few lines to it, but it's not picking up the new directory. What am I doing wrong? ## # Apache-Tomcat

Re: tomcat 4 beta 7 - reloading doesn't work

2001-09-12 Thread paul
yes, I posted almost the same message but gave up and download rc1 today still investingating whether it works with rc1 paul - Original Message - From: sankar kondur [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 12, 2001 6:29 PM Subject: tomcat 4 beta 7 - reloading

Tomcat and https

2001-09-12 Thread Nick Torenvliet
Recently we signed up for a secure http(https) service with Verisign. Does anyone know how to configure Tomcat for https? Nick

RE: IIS Virtual hosting

2001-09-12 Thread Larry Isaacs
Hi David, Multiple virtual hosts on IIS is something I have not found time to try to do, yet. However, it is something I hope to support in Tomcat 3.3. Tim Whittington has submitted a patch to the isapi_redirect.dll that should be included soon. It adds a feature where the isapi_redirect dll

RE: file download servlet

2001-09-12 Thread chiuming
But how exactly does web server instruct web browser to save the stream of bytes into a filename as filename on server? Does web server send any HTTP header like Content-Disposition to specify the file name to save? Since If i dont' set any HTTP headers in my servlet but just send the

RE: To maintain bean session from a jsp called in a servlet?

2001-09-12 Thread Larry Isaacs
The preferred method for tracking sessions between requests is to store a session ID in a cookie. If you can assume that all browsers accessing your site will have cookies enabled, then you don't need to do anything special to have sessions work. If you can't make that assumption, you must use

RE: tomcat 4 beta 7 - reloading doesn't work

2001-09-12 Thread Sankar Kondur
it works in rc1. -Original Message- From: paul [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 12, 2001 1:34 PM To: [EMAIL PROTECTED] Subject: Re: tomcat 4 beta 7 - reloading doesn't work yes, I posted almost the same message but gave up and download rc1 today still

Re: tomcat 4 beta 7 - reloading doesn't work

2001-09-12 Thread Craig R. McClanahan
On Wed, 12 Sep 2001, sankar kondur wrote: Date: Wed, 12 Sep 2001 10:29:45 -0700 (PDT) From: sankar kondur [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: tomcat 4 beta 7 - reloading doesn't work Hi, i am using tomcat 4 beta 7. reloading doesn't seem to

RE: Two contexts sharing one WebApp

2001-09-12 Thread Matt Small
Ok, I got it working but in doing so I found a couple of weaknesses in the WebXmlReader class (it is difficult to extend), I think. I think that there might be room here for improvements in tomcat, flexibility could be added without breaking the requirements of the spec. I realize that there are

Re: Tomcat and https

2001-09-12 Thread Craig R. McClanahan
For Tomcat 4, see http://jakarta.apache.org/tomcat/tomcat-4.0-doc-exp/ssl-howto.html Craig On Wed, 12 Sep 2001, Nick Torenvliet wrote: Date: Wed, 12 Sep 2001 13:41:43 -0400 From: Nick Torenvliet [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat and

RE: Database pool

2001-09-12 Thread Matt Small
Take a look at www.bitmechanic.com -Original Message- From: Alexandre Victoor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 7:49 AM To: [EMAIL PROTECTED] Subject: Database pool Hello, This is perhaps off-topic, I am looking for an open-source database connection pool.

Tomcat 3.2.3 Apache

2001-09-12 Thread Hoggatt Matt - mahogg
I can't get Apache to recognize my servlet directory. I took the tomcat.conf file and added a few lines to it, but it's not picking up the new directory. What am I doing wrong? ## # Apache-Tomcat

RE: Two contexts sharing one WebApp

2001-09-12 Thread Larry Isaacs
Matt, Congratulations on getting it to work. AFAIK, hardly any of the modules/interceptors are written to be extensible at the moment. The public methods are for configuration and interaction within the server architecture. The implementation, I think, is typlically private. Using the

Re: Help: Tomcat 3.x/ 4.x and FreeBSD

2001-09-12 Thread nbd95
on 9/12/01 12:07 PM, Paul Kofon at [EMAIL PROTECTED] wrote: Hi All, I just got a request from a friend of mine to help him build a portal for his office. Now, he would like to keep using his server which runs FreeBSD. I don't have any experience with this OS, however, I'm willing to help my

Help: Tomcat 3.2.3 and Apache on FreeBSD **Java newbie**

2001-09-12 Thread nbd95
The details: FreeBSD 4.1 Jakarta-Tomcat 3.2.3 JDK-1.1.8 Apache 1.3.20 (DSO) mod_jk I've been around the block with PHP, Perl, Bash, Apache, Unix, Linux, Postfix, BIND, Netatalk, Samba, Kernels. Building, configuring, patching, set-up, custom compiling, all no problem. I am *new* to Java. I've

Doesn't Tomcat support wildcards like *.jsp or *.html at web-resource-collection??

2001-09-12 Thread Meinolf . Schulte-Doeinghaus
Hi, I've tried to use wildcards for a webresource collection like *.jsp to denie guests to access these pages but it doesn't work with tomcat 3.2.3 Isn't that defined within the servlet specification? Sample: security-constraint web-resource-collection

RE: Doesn't Tomcat support wildcards like *.jsp or *.html at web-res ource-collection??

2001-09-12 Thread Randy Layman
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 12, 2001 2:56 PM To: [EMAIL PROTECTED] Subject: Doesn't Tomcat support wildcards like *.jsp or *.html at web-res ource-collection?? Hi, I've tried to use wildcards for a

tomcat-users.xml reload.

2001-09-12 Thread Benoit Bertrand
hello, I have got a question concerning tomcat-users.xml reloading. I am developping a web application where an administrator can add/remove user(s) (to contraints access to this web app). This operation add/remove the necessary information to/from tomcat-users.xml file. Unfortunately,

JSSI - Tomcat 3.2.3

2001-09-12 Thread Hoggatt Matt - mahogg
Does Tomcat support Java ServerSide Includes? -Matt

Tomcat x WebSphere in the AS/400

2001-09-12 Thread Juliana . Amaral
I liked of the informations and/or comparisons between Tomcat and WebSphere Standard v3.5.0 in the AS/400. Thanks in advanced ! Juliana

Newbie - Setting environment variables??

2001-09-12 Thread Joel Fowler
I'm using a package that requires that I have a DISPLAY variable set Tomcat's environment. I've attempted to export this variable before running startup.sh as well as including: export DISPLAY=localhost:0.0 in a .tomcatrc file. Neither approach seems to have accomplished this. How do I place

Question on restarting Tomcat service

2001-09-12 Thread Ivy Chen
Hi, I have successfully configured Tomcat 3.2.3 to run as a service on my NT machine. I copied jk_nt_service.exe to my local directory: C:\Project\Tomcat\win32\i386 and executed the file from the same directory. My question is: I stopped Tomcat service from running then deleted the

RE: file download servlet

2001-09-12 Thread Tim O'Neil
The server sends a header that describes the file type. See mime types. At 10:45 AM 9/12/2001, you wrote: But how exactly does web server instruct web browser to save the stream of bytes into a filename as filename on server? Does web server send any HTTP header like Content-Disposition to

RE: request for suggestions on how to secure a web application... .

2001-09-12 Thread Frank Lawlor
Re protection via Realms: - a useful mechanism, but by itself might not do the whole job. For example, if you need to have users log into a specific domain (e.g. different clients get different data) (as happens in many apps) where the userid isn't enough info (one value of Realms is

Destination Port for mod_jk

2001-09-12 Thread Scott Jones
Hello, I'm setting a pair of machines, one of which is running tomcat, and the other of which is running apache. I am using ajp13 to connect the two machines, and am trying to configure an iptables firewall on the apache machine (the tomcat machine will be next). The roadblock that I'm running

RE: Question on restarting Tomcat service

2001-09-12 Thread Hoggatt Matt - mahogg
Yes, you need that file! When NT tries to start that it runs the following command: C:\path\jk_nt_service.exe Jakarta Just put that back where it was and you're problem should be solved. If you want to change the path, you will probably have to delete the service and create a new one. That's

ClassLoader error

2001-09-12 Thread Marcia Perry
Hi, I'm running the pre-compiled binary of Tomcat 3.1 on Solaris 2.7. If I compile my servlets with JDK1.2 and use environment variables for JDK1.2, my servlets run fine. However, if I compile a servlet w/ JDK1.4 (and also change my environment vars for jdk1.4), I get this error: Bad

Re: Help: Tomcat 3.2.3 and Apache on FreeBSD **Java newbie**

2001-09-12 Thread Plamen Petkov
nbd95 wrote: The details: FreeBSD 4.1 Jakarta-Tomcat 3.2.3 JDK-1.1.8 Apache 1.3.20 (DSO) mod_jk I've been around the block with PHP, Perl, Bash, Apache, Unix, Linux, Postfix, BIND, Netatalk, Samba, Kernels. Building, configuring, patching, set-up, custom compiling, all no problem.

Re: Help: Tomcat 3.x/ 4.x and FreeBSD

2001-09-12 Thread Plamen Petkov
nbd95 wrote: on 9/12/01 12:07 PM, Paul Kofon at [EMAIL PROTECTED] wrote: Hi All, I just got a request from a friend of mine to help him build a portal for his office. Now, he would like to keep using his server which runs FreeBSD. I don't have any experience with this OS, however,

Re: Destination Port for mod_jk

2001-09-12 Thread Scott Jones
I've gotten around it for now my making an iptables chain that accepts inputs where the source address is my tomcat machine and where the source port is the port specified in server.xml... However, I'd still like to get this working based on destination port as well, so if anybody has any

Using Windows Native Security

2001-09-12 Thread Frank Lawlor
Does anyone have any references or information on using native windows security (NTLM?) for Tomcat security? Are there any Java JNI wrappers for the native system calls? Are there any higher-lever implementations to some other more usable interface (JAAS, LDAP, etc.)? Thanks, Frank Lawlor

Re: IMPORTANT!!!!!!!!! NEW DISTRUCTIVE VIRUS!!!!! DON' T OPEN...

2001-09-12 Thread Erik Weber
These are both hoaxes that have been around for years. -Erik Catalin Palsu wrote: At 11:12 AM 9/12/01 +0300, you wrote: A new virus has just been discovered that has been classified by Microsoft as the most destructive ever! This virus was discovered yesterday afternoon

Tomcat 3.2.3 : do threads I make myself count towards max_threads

2001-09-12 Thread simon
Hello everyone, I'm using Tomcat 3.2.3 on Vine Linux 2.1.5 (basically Redhat 6.2, Japanese version) Q: If I create a new thread in my servlet is this counted as a 'tomcat thread'? I have read on the mailing list (and have experienced first hand) that if the number of threads passes the

Re: To maintain bean session from a jsp called in a servlet?

2001-09-12 Thread asheesh
Dear Jean, HttpSession is a height level interface built on top of cookies only. So if the cookies are disabled on client's browser this is not going to work. the possible solutions out of this problem, are 1) URL-Rewriting 2) Forms Hidden fields. cheers asheesh - Original Message -

RE: file download servlet

2001-09-12 Thread Tony Vinayak
In your servlet's doGet processing, you will need to have a line of code like: resp.setContentType(text/plain); Of course, for your mp3 file, it won't be text/plain, but a different mime-type (audio/mpeg or whatever) - Tony -Original Message- From: Tim O'Neil [mailto:[EMAIL PROTECTED]]

Multiple Tomcat workers (using mod_jk)

2001-09-12 Thread Tony Vinayak
Folks, I've got a couple of quick newbie questions: Environment: Apache 1.3.20 on Solaris 8; Tomcat 3.2 (using mod_jk); Apache and Tomcat running on the same box. If I configure and run multiple Tomcat workers on the same machine (listening on different ports of course), and let's say they are

Re: Multiple Tomcat workers (using mod_jk)

2001-09-12 Thread Jan Labanowski
I am not the developer, so I do not know... But this is what I think: The workers are different instances of Tomcat, and can reside even on different machines, i.e., obviously they run under different VMs At the same time, the load balancing worker should send the request which belong to the same

Re: file download servlet

2001-09-12 Thread Ketan Patel
Hi, To download file with the specific file name like song.mp3 as your following url http://192.168.1.105/download/servlet/download?filename=song.mp3 changed it with following url- http://192.168.1.105/download/servlet/download/song.mp3?filename=song.mp3 . So while downloading the extrapath

Re: file download servlet

2001-09-12 Thread Dmitri Colebatch
you could go a step further than that, and remove the query string altogether, extracting it from the request url. That way the end user wouldn't even know it was being served by a servlet (well, the /servlet might give it away, but you could change that if it mattered)... cheers dim On Thu,

Re: The pitfalls in restarting tomcat

2001-09-12 Thread Jonathan Eric Miller
I agree that there should be a restart.sh. However, it is possible to restart/reload a servlet without having to stop and start Tomcat, in version 4 that is, which is due for release any day now. I think you can do it in Tomcat 3 as well. In 4, you can mark a Context as reloadable. Then, it will

Re: static class and JSP

2001-09-12 Thread Ketan Patel
Hi, You can certainly use static class variables in jsp file using reference of fully qualified classname. [EMAIL PROTECTED] wrote: Upon tomcat being started, I have a servlet populate a static class with configurations that are used by other servlets when they are invoked. This works

Re: file download servlet

2001-09-12 Thread simon
I was using the path in a similar way but passing the whole URL: e.g. http://192.168.1.105/test1/servlet/test1/http://www.example.com/main/page1.html This worked fine for tomcat v3.2.1 but when I upgraded to v3.2.3 the '//' got converted to '/'. I realise this was for security reasons but, out

RE: tomcat has to be restarted every few hours (resent, mailserver errors)

2001-09-12 Thread Dinu Jose
Hi All, I am also facing a similar problem.I need to restart the tomcat every two hours.If the tomcat server and the database server are on same machine,then there is no problem and it works fine .But if these two are on different machines,then every two hours i need to restart

Source required for isapi_redirect.dll

2001-09-12 Thread Manjunath BHat
Hi, where can one find source vc++ source for isapi_redirect.dll?? I had no luck with jakarta site. TIA M Bhat _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp