RE: tomcat console

2003-08-19 Thread Filip Hanik
run ./catalina.sh run instead of ./startup.sh it will run tomcat in the foreground Filip -Original Message- From: Luke Vanderfluit [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 9:31 PM To: [EMAIL PROTECTED] Subject: tomcat console Hi, I'm using tomcat 4.1.27. on

tomcat console

2003-08-19 Thread Luke Vanderfluit
Hi, I'm using tomcat 4.1.27. on Redhat 9. In some documentation it tells me to use the console window extensively during development, how do I do that? If I start tomcat from the console with startup.sh I don't get a lot of feedback about what is happening. Is the only way I can get that

directory outside context root

2003-08-19 Thread Erez Efrati
Is there some way to tell tomcat to serve files from a specific directory outside the context root? Thanks in advance, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 4.0.6 in HPUX

2003-08-19 Thread Indra Gunawan
Hi all, I am using Tomcat 4.0.6 in my Linux box and up until now it is okay . But when I wanted to install it on HPUX machine , I couldn't find the installation depot required , so I took shortcut ;) I just copied the source from my Linux box into the HPUX and automagically it ran successfully .

Re: Use catalina.sh run

2003-08-19 Thread Luke Vanderfluit
Hi Peter, Thanks, I replaced the line in startup.sh exec $PRGDIR/$EXECUTABLE start $@ with: exec $PRGDIR/$EXECUTABLE run $@ kind regards, On Wed, 2003-08-20 at 03:11, Peter Harrison wrote: Rather than startup.sh which will start a new process, use catalina.sh run which will put all

[File Upload] How to Increase the Speed of File transfer ??

2003-08-19 Thread Bikash Paul
Hi gang, I have developed one file transfer(means file uploading) application for that I have used swing,servlet and Tomcat4.1.24.Now my problem is the speed. The speed of manual copy and paste of file on hard disk of remote computer is faster than my application.I want to increase the speed of

Error when I start Jakarta-tomcat

2003-08-19 Thread Luong Phan
Hi all, I am having problem starting TOMCAT, I installed j2sdk1.4.2 and jakarta-tomcat-3.2.4 on the Redhat Linux 7.3. Those two directories are located at the /usr/java. I set the envoroment variables in the /.bash_profile as the following: JAVA_HOME=/usr/java/j2sdk1.4.2

Re: Problem with Tag files in Tomcat 5.0.7

2003-08-19 Thread Yann Cébron
This is known problem in 5.0.7 (can't find the Bugzilla ID right now), but try setting suppressSmap to true in your conf/web.xml. HTH, Yann Hi There is a problem in running JSP2 examples for Tag files. I just removed the Servlet mapping generated by JSPC from the web.xml for jsp-examples

Re: Tomcat 4.0.6 in HPUX

2003-08-19 Thread Reinhard Moosauer
Hi, hopefully I understand you right, otherwise please be clearer about what you want to do. normally, there is no hard work in porting an application from tomcat 4.0.6 to 4.1.24. So why not use the newer version? I would suggest to setup tomcat 4.1.24 on the linux box and thoroughly test

Re: Error when I start Jakarta-tomcat

2003-08-19 Thread Reinhard Moosauer
Hello, seems like /bin/sh does not exist. I saw the same problem in another mail today. Please check if /bin/sh exists and is executable. It really should! regards, Reinhard Am Dienstag, 19. August 2003 11:05 schrieb Luong Phan: Hi all, I am having problem starting TOMCAT, I installed

about web.xml and servlet mapping and reloading

2003-08-19 Thread Nitschke Michael
I try to dynamically create and change servlet mapping in the web.xml in full production mode and then reload/reread the web.xml to update the mapping, but as i read in the manage application: quoteNOTE: The /WEB-INF/web.xml web application configuration file is not reread on a reload. If you

tomcat console

2003-08-19 Thread Luke Vanderfluit
Hi, I'm using tomcat 4.1.27. on Redhat 9. In some documentation it tells me to use the console window extensively during development, how do I do that? If I start tomcat from the console with startup.sh I don't get a lot of feedback about what is happening. Is the only way I can get that

Re: Error when I start Jakarta-tomcat(Cont)

2003-08-19 Thread Luong Phan
Hi all, The file /bin/sh exists, and is executable (lrwxrwxrwx). I still get the error massage when I start jakarta-tomcat. Please help me! LuongPhan --- Reinhard Moosauer [EMAIL PROTECTED] wrote: Hello, seems like /bin/sh does not exist. I saw the same problem in another mail

Re: Problem in intergrating Tomcat and Apache

2003-08-19 Thread John Turner
The mod_webapp.so module you have is not compatible with the version of Apache that you have. Apache modules are typically version-sensitive, especially those built before 2.0.43 or thereabouts. John VijayaLakshmi Seshadri wrote: Hai I have installed Tomcat 4.0.1 in my machine and i have

Re: directory outside context root

2003-08-19 Thread John Turner
If on UNIX or Linux, you could use symbolic links, but this is not recommended for security and portability reasons. So, in general, the answer is no. John Erez Efrati wrote: Is there some way to tell tomcat to serve files from a specific directory outside the context root? Thanks in

Re: about web.xml and servlet mapping and reloading

2003-08-19 Thread Tim Funk
1) Stop and start the context. Reload only dumps the classloader and creates a new one. 2) Use a persistent manager (JBDC, file, ...) which will probably still be required with a context stop/start -Tim Nitschke Michael wrote: I try to dynamically create and change servlet mapping in the

Re: [File Upload] How to Increase the Speed of File transfer ??

2003-08-19 Thread John Turner
OK, take a step back and think about this. ATA-66 disk bus: 533 Mbps ATA-100 disk bus: 800 Mbps Ultra-160 SCSI disk bus: 1300 Mbps Now, you're saying that you have a network connection of 2 Mbps (I think you mean T1 or E1 as ISDN is not 128 Kbps unless you have a bunch of lines bonded together

Re: Tomcat on Linux: binary or source?

2003-08-19 Thread John Turner
Custom build for what, exactly? Performance equal to your WebLogic cluster? What evidence do you have that a similarly configured Tomcat cluster will not have similar performance? Have you tried a Tomcat cluster? John [EMAIL PROTECTED] wrote: Hi everyone, Not that this list seems to need

Re: about web.xml and servlet mapping and reloading

2003-08-19 Thread John Turner
Reloading/restarting your web application is not the same as reloading/restarting Tomcat. You can reload/restart web applications without restarting Tomcat. That's what the manager app is for, and that documentation says that a web app reload will not re-read web.xml, you need a web app

Re: Error when I starting Jakarta-tomcat

2003-08-19 Thread John Turner
Your operating system is messed up, or you have a corrupt Tomcat installation. bad interpreter means that the shell script startup.sh cannot be executed using the path to the shell that is in the script. The first line of startup.sh should be something like: #!/bin/sh My guess is that on

Re: Run RPM packaged Tomcat as non-root

2003-08-19 Thread John Turner
Depends on how the system is setup. If Tomcat is running on port 80, it must run as root. If Tomcat is not running on port 80, then simply switch to another user account (or log in as a user other than root) and start up Tomcat. You can also try using Apache with a connector, or other

Re: Error when I start Jakarta-tomcat(Cont)

2003-08-19 Thread John Turner
Relax, we are helping you. How did you install Tomcat? How did you extract the archive? Are there any strange characters in startup.sh? Did you by chance transfer the Tomcat archive in ascii mode instead of binary when you downloaded it? John Luong Phan wrote: Hi all, The file /bin/sh

shutdown tomcat

2003-08-19 Thread Maksimenko Alexander
Hi! I created the following implementation of HttpSessionListener,HttpSessionActivationListener. public class TestTomcatNotifications implements HttpSessionListener, HttpSessionActivationListener { public void sessionCreated(HttpSessionEvent se) {

RE: directory outside context root

2003-08-19 Thread Stuart Stephen
You could if your using apache and a connector. If you use the mod_alias module in apache then you can map physical paths/drives to certain urls. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: 19 August 2003 12:57 To: Tomcat Users List Subject: Re: directory outside

Re: Error when I start Jakarta-tomcat(Cont)

2003-08-19 Thread victor pereira
(lrwxrwxrwx). -- that makes it a symbolic link i believe but if the file the sym link is pointing to is not executeable you wont be able to excute Cheers Vic - Original Message - From: Luong Phan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003

RE: about web.xml and servlet mapping and reloading

2003-08-19 Thread Shapira, Yoav
Howdy, Are you misunderstanding the difference between a webapp reload and a webapp restart? Yoav Shapira Millennium ChemInformatics -Original Message- From: Nitschke Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 7:30 AM To: [EMAIL PROTECTED] Subject: about web.xml

RE: [File Upload] How to Increase the Speed of File transfer ??

2003-08-19 Thread Shapira, Yoav
Howdy, You will be hard-pressed to find any network file transmission mechanism, even on unlimited bandwidth, that exceeds local hard-drive folder to folder copy. Good luck ;) transfer.Networking is done through 2MBPS dedicated ISDN lease line.Any help will be highly appreciated. Verify you

RE: maxProcessors problem

2003-08-19 Thread Shapira, Yoav
Howdy, What's your -Xmx setting to the JVM? Yoav Shapira Millennium ChemInformatics -Original Message- From: Mike Cherichetti (Renegade Internet) [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 4:42 PM To: Tomcat Users Subject: maxProcessors problem First off, I'm using RedHat

RE: Tomcat on Linux: binary or source?

2003-08-19 Thread Shapira, Yoav
Howdy, I would just use the latest stable binaries (4.1.27 currently), instead of an RPM. But YMMV... FYI, we use tomcat for all our sites, including clusters, and including ones that use to run on Weblogic in production... Yoav Shapira Millennium ChemInformatics -Original Message-

RE: Problem with context.xml and deploying

2003-08-19 Thread Shapira, Yoav
Howdy, See Jan Luehe's comment on bug 19610 here: http://issues.apache.org/bugzilla/show_bug.cgi?id=19610 Yoav Shapira Millennium ChemInformatics -Original Message- From: Allan Schweitz [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 4:03 PM To: [EMAIL PROTECTED] Subject:

RE: directory outside context root

2003-08-19 Thread Erez Efrati
Well I did find a way to do that by declaring another context just for that with docBase='c:\www\files' for example. Thing is, all this is not really working under the Tomcat bundled in JBoss. I know the next question is a usual one and forgive me in advance for asking if it is advised to put

Re: Tomcat MultiHosting problems

2003-08-19 Thread Robert Zhrer @ pronet.at
Hi, Now we 've deleted the complete Work-Dir (/var/cache/tomcat4/work) and restartet TC .. and nothing do work :( Even the Adim-Panel doesn't work any longer :( The error is allways like this http://pronet.at:8080/tomcat/test.jsp Was it wrong to delete the whole Work-Dir? Why doesn't TC

Re: tomcat console

2003-08-19 Thread tomcat-list
Luke, I am not sure exactly what you mean by this but I will give it a shot. If you are experiencing crashes or errors, I would check the logs. You can tell tomcat what verbosity you would like your logs reported to. You can do this in your server.xml file or within a specific application

RE: Issue moving from 4.0 to 4.1

2003-08-19 Thread Shapira, Yoav
Howdy, Set debug=99 for your and the default context and see what the log says... Yoav Shapira Millennium ChemInformatics -Original Message- From: Peter Harrison [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 9:09 AM To: [EMAIL PROTECTED] Subject: Issue moving from 4.0 to 4.1

Re: [File Upload] How to Increase the Speed of File transfer ??

2003-08-19 Thread Pablo Mayrgundter
I want some suggestion about below factors: 1.Iam sending file to server as block wise of 1024 bytes and my servlet also writes file in remote destination folder as a block wise of 1024 bytes.If I increase the block size then is it increase the speed ? Yeah.. test with higher block sizes.

Re: Tomcat MultiHosting problems

2003-08-19 Thread Robert Zhrer @ pronet.at
Hi, Now we 've deleted the complete Work-Dir (/var/cache/tomcat4/work) and restartet TC .. and nothing do work :( Even the Admin-Panel doesn't work any longer :( The error is allways like this http://pronet.at:8080/tomcat/test.jsp Was it wrong to delete the whole Work-Dir? Why doesn't TC

Re: Error when I start Jakarta-tomcat(Cont)

2003-08-19 Thread Giorgio Ponza
I agree with you. I'd try to execute a dos2unix utility on that script file I had the same problem, maybe copying it from a win version Giorgio John Turner ha scritto: Relax, we are helping you. How did you install Tomcat? How did you extract the archive? Are there any strange characters in

RE: writing to catalina.log

2003-08-19 Thread Shapira, Yoav
Howdy, You mean like log4j's runtime modification of logging levels? ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 3:27 PM To: [EMAIL PROTECTED] Subject: writing to catalina.log Hi, all.

Re: Run RPM packaged Tomcat as non-root

2003-08-19 Thread Stuart MacKenzie
I think that on most Linux/Unix system, and port 1024 is going to be considered priv. and requires root to start. Try using 800 or 8080 or something similar. + Stuart A. MacKenzie + http://www.iarad.com + On Tue, 19 Aug 2003, John Turner wrote: Depends on how the system

AW: about web.xml and servlet mapping and reloading

2003-08-19 Thread Nitschke Michael
Ok, my fault. What exactly does a webapp restart do. -Ursprüngliche Nachricht- Von: John Turner [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 19. August 2003 14:11 An: Tomcat Users List Betreff: Re: about web.xml and servlet mapping and reloading Reloading/restarting your web

CVS with tomcat

2003-08-19 Thread SuniX
Hi Is there a way to use CVS with tomcat ? i want my tomcat server to check a cvs project and deployed it automaticaly. (cvs server and tomcat server in the same machine running on a debian testing) - To unsubscribe, e-mail:

Re: apache, mod_jk, virtual hosts and 2 tomcats

2003-08-19 Thread Dan Lipofsky
I got it to work on my own, but I still have 1 major question. This is what I did: I made 1 unified workers.properties file which contains: workers.tomcat_home=/export/home/prod/tomcat3.2.4 workers.java_home=/export/home/prod/jdk-1.3.1 ps=/ worker.list=ajp12prod, ajp12beta

Re: shutdown tomcat

2003-08-19 Thread Jon Wingfield
So you added an instance of TestTomcatNotifications to a session as an attribute? That's the only way you'll get HttpSessionActivationListener events. You added a listener element to your web.xml registering TestTomcatNotifications as a HttpSessionListener? On shutdown sessionDestroyed(...)

RE: directory outside context root

2003-08-19 Thread Erez Efrati
Well I did find a way to do that by declaring another context just for that with docBase='c:\www\files' for example. Thing is, all this is not really working under the Tomcat bundled in JBoss. One option of solving this is having a servlet (Struts Action for example) which will serve the files.

RE: about web.xml and servlet mapping and reloading

2003-08-19 Thread Mike Curwen
As I read it, you are asked to stop and start the *web application* not Tomcat. So instead of a single 'reload' click, you must first click 'stop' and then 'start'. -Original Message- From: Nitschke Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 6:30 AM To:

RE: Error when I starting Jakarta-tomcat

2003-08-19 Thread Ralph Einfeldt
Or the first line contains some non printable characters after bin/sh. This could be verified by od or a hex editor. I doubt the second cause, this wouldn't typically lead to a 'bad interpreter' (At least in my expierience). -Original Message- From: John Turner [mailto:[EMAIL

AW: about web.xml and servlet mapping and reloading

2003-08-19 Thread Nitschke Michael
Ad 1) there is the problem the service should be accessible all the time 24/7/365 (liveline of a company) and we need to change the structure during runtime. Ad 2) a persisten manager is in use, but not for short living data. Thanx Mike -Ursprüngliche Nachricht- Von: Tim Funk

Starting Tomcat w/ commons-daemon

2003-08-19 Thread Richard Park
Hi, I've downloaded and built commons-daemon from source. I have the following issues: 1/ the 'INSTALL' text says I should have 'jsvc', 'service.jar'. I have 'jsvc', but 'service.jar' is no where to be found. The tutorial I'm following is from O'reilly's Tomcat Def. Guide, but it seems somewhat

Re: apache, mod_jk, virtual hosts and 2 tomcats

2003-08-19 Thread John Turner
Hi - workers.tomcat_home and workers.java_home are for housekeeping only. They serve no required purpose. They are there so that you can use them later in the file by reference (like ${tomcat_home}) but they are not required. The only required values for a worker are port, host, and type.

Re: [File Upload] How to Increase the Speed of File transfer ??

2003-08-19 Thread Micael
You definitely should use a buffered stream. Get a book on networking and take a look at these issues. There are many good ones out there. Network Programming by Hughes, et al, is one I have enjoyed. Micael At 01:50 AM 8/19/2003 -0700, Bikash Paul wrote: Hi gang, I have developed one file

Re: maxProcessors problem

2003-08-19 Thread Ben Ricker
On Mon, 2003-08-18 at 15:42, Mike Cherichetti (Renegade Internet) wrote: java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError, cannot create anymore threads due to memory or resource constraints There is the cheese right there. You need to WAY up your Java System memory heap using

RE: Globally defined JNDI DataSource (was: JNDI DataSource Realm)

2003-08-19 Thread Madere, Colin
(Renamed subject/topic since the DataSource Realm part works now, just the normal JNDI DataSource for my code gives the name jdbc not bound error) Yes, driver is in /commmon/lib. I'm quite experienced using JDBC access from servlets, just not with JNDI. As far as how I'm instantiating, isn't it

Re: directory outside context root

2003-08-19 Thread John Turner
I couldn't really say. I force my developers to keep everything in their Contexts, so the issue doesn't come up for me. John Erez Efrati wrote: Well I did find a way to do that by declaring another context just for that with docBase='c:\www\files' for example. Thing is, all this is not really

Problem using XPath and x:set, x:out and x:forEach

2003-08-19 Thread Sjoerd van Leent
In short I'm using the following tags: jsp:root ... c:import url=WEB-INF/xml/news.xml var=xmlnews / x:parse xml=${xmlnews} varDom=news / x:out select=$news escapeXml=true / /jsp:root With this document in WEB-INF/xml/news.xml: ?xml version=1.0 encoding=ISO-8859-1? items item

Calendar Tool?

2003-08-19 Thread Rick Roberts
Anyone know of a decent calendar tool / server that would integrate well with java/jsp/jdbc/tomcat? Thanks, -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * * http://www.ait-web.com *

Re: [File Upload] How to Increase the Speed of File transfer ??

2003-08-19 Thread Justin Ruthenbeck
If speed really is of paramount importance, consider directly opening sockets and transfering data directly between code running on Tomcat and your client application/applet/etc -- essentially taking Tomcat out of the loop for the actual file transfer. We've seen significant performance

RE: Problem using XPath and x:set, x:out and x:forEach

2003-08-19 Thread Shapira, Yoav
Howdy, Are you using a standard (i.e. stable, published) release of the JSTL implementation? Yoav Shapira Millennium ChemInformatics -Original Message- From: Sjoerd van Leent [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 3:48 PM To: 'Tomcat Users List' Subject: Problem using

RE: about web.xml and servlet mapping and reloading

2003-08-19 Thread Steph Richardson
I messed around with this quite a bit because of context-params that we kept updating in web.xml, but that didn't update when we did a reload. I read the documentation that said that stop restart of a web-app would reread the web.xml, however in our version 4.0.6 this was NOT the case. We have

Odd problems.

2003-08-19 Thread Clive Tonge
I have two odd problems that I would like to understand and maybe solve. OS: Mandrake Linux v 9.1 TOMCAT: 4.1.24 JAVA: j2sdk1.4.1_02 System: Pentium II 350 Mhz, 128Mb ram. 1) When I try to restart the tomcat4 service it crashes and throws a java connectionexception error.? It works fine if I

Apache-Tomcat-Struts 404 Not Found

2003-08-19 Thread Johan Wasserman - CPX Mngd Services
Hi, I got Tomcat and Apache configured according to documentation (still referencing TC4x) I found on the web. It seemed to work fine but while testing struts I found that the actions (*do) resulted in a 404 Not found. When I test via Tomcat only (localhost:8080) it works fine. I have probably

resource-env-ref tag in web.xml

2003-08-19 Thread Venkat
hi all, Why do we need the tag resource-env-ref in web.xml. What is the purpose of this. I saw some example where that was trying to register Datasource as JNDI resource in server.xml and in web.xml. Why do we need at two places? In server.xml: Resource name=jdbc/myDB auth=Container

Re: Tomcat MultiHosting problems

2003-08-19 Thread John Turner
Yeah, it was wrong. You want to recreate it, and instead delete everything IN it when doing a restart. So something like: rm -rf /var/cache/tomcat4/work/Standalone/* NOT rm -rf /var/cache/tomcat4/work John Robert Zöhrer @ pronet.at wrote: Hi, Now we 've deleted the complete Work-Dir

Re: Apache-Tomcat-Struts 404 Not Found

2003-08-19 Thread John Turner
Tomcat 4 and Tomcat 5 configuration with mod_jk are the same. Do you have something like this in your httpd.conf file? JkMount /*.do ajp13 John Johan Wasserman - CPX Mngd Services wrote: Hi, I got Tomcat and Apache configured according to documentation (still referencing TC4x) I found on the

Re: CVS with tomcat

2003-08-19 Thread Paul Sundling
I'm not sure why you'd want to have it deployed automatically. You can probably do it with ant and cruise control? With ant, you can create targets that reload your app or deploy it to a tomcat server. That's what I do currently and it even integrates well with eclipse! If you really want

Re: [File Upload] How to Increase the Speed of File transfer ??

2003-08-19 Thread Luciano Kiniti Issoe
1) Yes 2) Yes 3) No (AFAIK) 4) OK 5) Split your file and use threads in you application. - Original Message - From: Micael [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 2:59 PM Subject: Re: [File Upload] How to Increase the

RE: shutdown tomcat

2003-08-19 Thread Shapira, Yoav
Howdy, public class TestTomcatNotifications implements HttpSessionListener, Something like SessionListener01/SessionListener02/SessionListener03 from http://cvs.apache.org/viewcvs/jakarta-tomcat-catalina/tester/src/tester/ org/apache/tester/ would have saved you time ;) down tomcat neither

minProcessors/max Processors question

2003-08-19 Thread Rau NF
Hello - We have set minProcessor/maxProcessors to 120 for our tomcat installation (4.1.24 on Linux RH 8). However, under load, we are seeing close to 220+ threads being created (kill -3 on the VM). We are not sure as to why this is happening. I read somewhere that minProcessors/maxProcessors is

RE: Problem using XPath and x:set, x:out and x:forEach

2003-08-19 Thread Sjoerd van Leent
OK, I'm going to try a real stable version of it, if it works, I will notify, if not, I will also notify... Sjoerd van Leent -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: dinsdag 19 augustus 2003 21:51 To: Tomcat Users List Subject: RE: Problem using XPath and

changing class file and reloading question

2003-08-19 Thread Luke Vanderfluit
Hi, I'm running tomcat 4.1.27 standalone on Redhat 9 I have a class that I'm changing (development) and don't want to have to restart tomcat each time I make a change. It wouldn't be so bad to do that if it wasn't for the fact that tomcat takes ages to read my servlet every time it's restarted.

Re: Calendar Tool?

2003-08-19 Thread Pablo Mayrgundter
I've attached the beginnings of a community calendar I've been working on. The calendar arithmetic, which is the tricky part, has been taken care of. The style design needs work. The rest of the typical featuers, e.g. events, should probably be handled separately, with a DB, etc. On Tuesday

RE: tomcat console

2003-08-19 Thread Shapira, Yoav
Howdy, Use catalina.sh run instead of catalina.sh start (Or the startup.sh equivalent). Yoav Shapira Millennium ChemInformatics -Original Message- From: Luke Vanderfluit [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 12:31 AM To: [EMAIL PROTECTED] Subject: tomcat console

RE: Starting Tomcat w/ commons-daemon

2003-08-19 Thread David Kramer
Not sure if this will help much, but servlet.jar is included in the jakarta-servletapi-4 bundle. I know the Tomcat source compile will require that .jar package. Hopefully that sheds some light. DK -Original Message- From: Richard Park [mailto:[EMAIL PROTECTED] Sent: Tuesday, August

bean:message Error within Admin App - PLZ HELP!

2003-08-19 Thread David Kramer
Im getting the below error when trying to access the Admin app. I found the following error posted on the net and attempted the response(added ApplicationResource.properties to my WEB-INF/classes dir), but it still had not affect. I even tried removing the bean:message entry in my header.jsp

RE: Tomcat 4.1.18 and SQUID

2003-08-19 Thread Brian Peterson
Many thanks Bill, for a hint. snip Tomcat doesn't honor a HTTP/1.0 Connection: keep-alive when it comes from SQUID. I've upgraded Tomcat to 4.1.27 (latest stable), and I am still seeing these errors. Any ideas? Not really. Tomcat is supposed to handle HTTP/1.0 Keep-Alives. You could try

Re: Calendar Tool?

2003-08-19 Thread Rick Roberts
I thought that I had read something about a calendaring effort at Jakarta or maybe at tigris.org, but went looking and can't find what I thought I remembered. Rick Roberts wrote: Anyone know of a decent calendar tool / server that would integrate well with java/jsp/jdbc/tomcat? Thanks, --

RE: maxProcessors problem

2003-08-19 Thread Mike Cherichetti \(Renegade Internet\)
I've set CATALINA_OPTS to use -Xmx896m and -Xms384m. That works fine with maxProcessors set to 384. Problem is, if I set -Xmx higher or maxProcessors higher, I get he OutOfMemoryError. Thanks, Mike -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, August

RE: maxProcessors problem

2003-08-19 Thread Mike Cherichetti \(Renegade Internet\)
Are you saying that I should use JAVA_OPTS instead of CATALINA_OPTS? I've set CATALINA_OPTS to use -Xmx896m and -Xms384m already. Problem is, if I raise -Xmx or maxProcessors, I get the OutOfMemoryError and Tomcat stops creating request processors. Thanks, Mike -Original Message- From:

Re: maxProcessors problem

2003-08-19 Thread Kwok Peng Tuck
If I may ask how much physical memory do you have in the first place ? Do you really have that much to give to the for the max heap size ? Mike Cherichetti (Renegade Internet) wrote: I've set CATALINA_OPTS to use -Xmx896m and -Xms384m. That works fine with maxProcessors set to 384. Problem is,

That ever-popular 'wrong version:46, expected 45' message

2003-08-19 Thread Paul R Gazis
I'm running the J2SE 1.4.1_04 SDK and Tomcat 4.1.27 under Windows 2000. The Tomcat installation runs fine, but try as I might, I cannot compile code that imports any of the servlet classes. Attempts to do so yield that damnable error message: Invalid class file format in {my tomcat

RE: SSL and tomcat behind apache

2003-08-19 Thread Madere, Colin
Did you go through the JK2 setup guide found in the Tomcat docs? When you say when I go to a JSP page, are you going through Apache for it? Sorry if this sounds like a dumb question, but does it have the :8080 in your URL or are you going through Apache's port 443 (by using https, rather than

tomcat won't reload my servlets!

2003-08-19 Thread Luke Vanderfluit
Hi, I've done what you suggest: This is my servlet: ## import javax.servlet.http.*; import javax.servlet.ServletException; import java.io.PrintWriter; import java.io.IOException; public class Test extends HttpServlet { public void init() throws ServletException

About heap size, gc and newsize

2003-08-19 Thread achana
Hi all. I am trying to get gc to reclaim more regularly by clearing short live HttpRequest. Is this syntax corrrect, doesn't seem to do much whichever way I tweak it : (catalina.sh) ... JAVA_OPTS=-Xms256m -Xmx256m -XX:NewSize=128m -XX:MaxNewSize=128m TIA :-)

RE: [File Upload] How to Increase the Speed of File transfer ??

2003-08-19 Thread Bikash Paul
Hi Gang, Lot of thanks for all of urs suggestion.Now By modifying some factors in my code like by compressing file on the fly using util.zip package and using Buffer stream and also increasing block size(16384 bytes) I can increase speed of file transfer upto some extent means now speed of manual

ResourceLink and DefaultContext

2003-08-19 Thread Cam Smith
Hi all, Summary of my problem is that I'm unable to access a global JNDI data source via a ResourceLink when that link is declared inside a DefaultContext element. When I attempt the lookup, I get javax.naming.NameNotFoundException: Name jdbc is not bound in this Context However, If I place

RE: That ever-popular 'wrong version:46, expected 45' message

2003-08-19 Thread John Corrigan
Haven't seen/heard anything about this error, but it looks to me like maybe you have an older version of servlet.jar in your ext directory. Under windows, there are three different ext directories: one used when compiling, one when running, and one when using the jvm.dll. I would check to see

Re: resource-env-ref tag in web.xml

2003-08-19 Thread Jacob Kjome
think of resource-env-ref as the interface and the Resource as the implementation. Does it make more sense now? Your application get information through the interface. This interface is the same on all J2EE compliant containers. Each container provides its own implementation backing this,

How to send back data without to wait for the complete page.

2003-08-19 Thread Unternaehrer Stefano
Hello all. Hope the subject explains what I mean. I even don't know how to call that, so cannot search it in archives, and don't know if this behaviour can be setted for a specific jsp page or at tomcat configuration level. I have a page wich requires some time to be executed, you can imagine to

RE: Apache-Tomcat-Struts 404 Not Found

2003-08-19 Thread Johan Wasserman - CPX Mngd Services
Thanks John, no I didn't. But I did have JkMount /* ajp13, wouldn't that do it? I'll try specifying it the way you suggest. Thanks again. Johan. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 10:30 PM To: Tomcat Users List Subject: Re: