Re: JAVA vs. PERL startup time + memory

2001-05-05 Thread David Crooke
It's perfectly easy to write code which runs as a process to read a continuous pipe, or to write it to be invoked fresh every time. No special knowledge is needed in either case (the former in Perl boils down to "while ()") I think you'll get better advice if you post more details about what you'

Re: JAVA vs. PERL startup time + memory

2001-05-05 Thread Eric Fialkowski
Just one idea that isn't completely thought through so forgive me if this is ludicrous How about piping the output from the log into a FIFO/named pipe (read the man page for mknod if you're not sure what that is). Then you could have a background process that is reading from the pipe. That

tomcat along side IIS 5 on windows 2000 pro

2001-05-05 Thread Kieran Kelly
I have followed your instructions on: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.html and: http://www.verysimple.com/scripts/support_tc_iis.html to setup tomcat as a service and configure the ISAPI redirector on my win 2000 server. when I try: http://localhost/ex

RE: Tomcat/Xalan

2001-05-05 Thread Paul Teasdale
xalan...xerces...japx.jar...j2eee.jar...crimson.jar This definitively is a pain when jars come with different implementations of the same interfaces. We have to juggle with the order in which we place these in the classpath...and all is well in the end. So although you may have the prope jars, j

RE: JAVA vs. PERL startup time + memory

2001-05-05 Thread tim leung
My problem is I must use unix pipe. e.g. command1 | command2 where command1 is some unix command. where command2 is "java PipeReader" that is output of command1 sent to input of java application -- PipeReader. why I must use pipe? because I am using apache web server. apache server

RE: JAVA vs. PERL startup time + memory

2001-05-05 Thread Ross Dyson
The JVM is loaded just ONCE not once pre request. This is WHY java back-ends have better performance and are scalable. -Original Message- From: tim leung [mailto:[EMAIL PROTECTED]] Sent: Sunday, 6 May 2001 4:39 AM To: [EMAIL PROTECTED] Subject: JAVA vs. PERL startup time + memory Hi, I

Threads

2001-05-05 Thread Wolle
Hello all wise guys, Could I manange the number of Thread that Tomcat will creat ? Is there an Option in the server.xml (somthing like max_thread) ? when yes, how do I configure this. Greetings, Michael

Apache/Tomcat/JBoss: Where/how to deploy J2EE application?

2001-05-05 Thread David M. Karr
This is probably a simple question if you've already done it, but if you're trying to deploy a WEB/EJB application in a system using Apache, Tomcat, and JBoss (all separate), where exactly do you deploy it? Can you still deploy it as a single EAR in one place? Do you have to take any special ste

RE: JAVA vs. PERL startup time + memory

2001-05-05 Thread Danny Angus
Perl can be small, and relatively fast, apache cgi invocations of perl scripts (mod-cgi not mod-perl) load the perl "engine"(whatever it might be called, interpreter/VM/JITcompiler) for every process, as far as I know anyway, hence the rise of mod-perl which caches the compiled perl scripts and t

Re: JAVA vs. PERL startup time + memory

2001-05-05 Thread Jeff Kilbride
Wouldn't it be easier to create a daemon of some sort that stays loaded and accepts requests, rather than creating a new process each time? Whether you use Java or Perl, this will make a much bigger performance difference than the language itself. If you must write something that creates a new pro

JAVA vs. PERL startup time + memory

2001-05-05 Thread tim leung
Hi, I am thinking of write an unix app that will get data from a pipe e.g. | and then will do a HTTP POST to some server. e.g. command1 | java PipeReader-- OR -- e.g. command1 | perl PipeReader Assume I need to invoke the JVM process or PERL process very frequently ( 5

JSP/ASP Coexistance

2001-05-05 Thread Arnold Shore
I DID RTFM, but saw nothing that answered the following basic/newbie question: On both IIS/ASP and PWS/ASP environments, can subject sets of pages both be handled? (I.e., would foo.asp and foo.jsp each be fielded appropriately per the file extension?) Thanks, folks. Arnold Shore Annapolis, MD

destroy/init sequence

2001-05-05 Thread Michael Bergknoff
Does the container maintain session state across a destroy/init sequence? If so is it up to each servlet to serialize or delete any objects stored in the session? For debugging, is it possible to control when the destroy method is called? Thanks, Mike

tomcat on IIS in-process

2001-05-05 Thread Rasmus Munk Jensen
Hi I am trying to set up IIS to work with tomcat 3.2.0 using the jni_connect.dll, so that it can run in-process. But when I start the IIS, I get the following text in the stderr-log file from the JVM: 2001-05-05 05:57:52 - ContextManager: Adding context Ctx( /examples ) 2001-05-05 05:57:52 - Co

Ajp13 with mod_jk and mod_jk-eapi

2001-05-05 Thread Wolle
Hello, I hae an error, which will occure, when I refresh in the Web Client is too fast, Tomcat will throw an Error (or better mod_jk ?), which popup on stdout: -> java.net.SocketException: Datenübergabe unterbrochen (broken pipe): Datenübergabe unterbrochen (broken pipe) at java.net.Socket

Solved! (Was Re: Tomcat-MySQL connection problem)

2001-05-05 Thread Angela Stempfel
Hi Wolle, hi Brahmanand, Thanks a lot for your tips, it works now. My weekend is saved :-)) I think it did not work the first time because I used the src package instead of the binary. have a nice weekend cu Angela

permission denied when running tomcat with apache

2001-05-05 Thread Thomas Strack
Title: permission denied when running tomcat with apache Hi guys, I like to run tomcat and apache together and let apache give all .jsp files to tomcat.So I installed both servers and in the httpd.conf I included the tomcat-apache.conf.Then I started tomcat and after that apache.Now I can reac

please unsubscribe me

2001-05-05 Thread praveen
please unsubscribe me

Re: Tomcat-MySQL connection problem

2001-05-05 Thread Wolle
How do you create an Instance of this driver ? Do you use the static call class.forName(driver) ? Try the extend it with class.ForName(driver).newInstance(), this must be done on some VM . Greetings, Michael Wolle wrote: > Hello, > try the mm.mysql-2.0.4-bin.jar file, not the source file. > > G

Re: Tomcat-MySQL connection problem

2001-05-05 Thread Wolle
Hello, try the mm.mysql-2.0.4-bin.jar file, not the source file. Greetings, Michael Angela Stempfel wrote: > Brahmanand Gannur wrote: > > > put the mysql driver( .jar ) into the lib directory of the TOMCAT and > > restart the tomcat > > hope this helps > > I now copied the mm.mysql-2.0.4-src.

Re: Tomcat-MySQL connection problem

2001-05-05 Thread Angela Stempfel
Brahmanand Gannur wrote: > put the mysql driver( .jar ) into the lib directory of the TOMCAT and > restart the tomcat > hope this helps I now copied the mm.mysql-2.0.4-src.jar to the lib directory of TOMCAT and restarted it. However, it did not help as well. Is there any way to debugg the prob

Re: Tomcat-MySQL connection problem

2001-05-05 Thread Wolle
Hei, if this doesn't work. Put the .jar file in your TOMCAT/webapps/YOUR_APPL/WEB-INF/lib. When you put your .jar file in here, it's only accessible for this WEB-Application. When you put it in TOMCAT/lib it's accessible to all your Servlets/JSP. You could also put it into your JDK/jre/lib/ext dir

RE: Tomcat-MySQL connection problem

2001-05-05 Thread Brahmanand Gannur
put the mysql driver( .jar ) into the lib directory of the TOMCAT and restart the tomcat hope this helps -Original Message- From: Angela Stempfel [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 05, 2001 6:06 PM To: [EMAIL PROTECTED] Subject: Tomcat-MySQL connection problem Hi all, The

Tomcat-MySQL connection problem

2001-05-05 Thread Angela Stempfel
Hi all, The past hours I tried to set up Tomcat on my local Win2000 box. I've installed the lastest MySQL package and also the latest Tomcat version I got. After I've read the manual of the JDBC Driver I was able to set it up that I can connect to MySQL with my short Java Class I wrote. This cla

Re: 2nd Posting: Context Logging with TC4b3

2001-05-05 Thread Anthony W . Marino
I'm so used to document lag (in other projects) that I went to the list after several days of problems which included 1 niightly build which I couldn't get to work. Last night I tried the 5/4 nightly build which is working. Thank You, Anthony On Saturday 05 May 2001 07:11, Jeff Turner wrote:

Re: Tomcat 4-beta 3: ready for prime time?

2001-05-05 Thread Jeff Turner
Take a look at the changes between 4.0b3 and the upcoming 4.0b4 before you make any choices. The logging bug in b3 is pretty annoying. http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat-4.0/RELEASE-NOTES-4.0-B4.txt 3.3 is nice, stable, starts/stops much faster than 4.0, but it's server.xm

Re: 2nd Posting: Context Logging with TC4b3

2001-05-05 Thread Jeff Turner
>From RELEASE-NOTES-4.0-B4.txt: "Catalina: Restore recognition of , , and elements nested inside a element in "conf/server.xml". They were only being recognized inside a element." Ie, it's a (rather crucial) bug, fixed in CVS after b3 was released. For *everyone* running T4b3, the R

RE: Tomcat/Xalan

2001-05-05 Thread Allan Kamau
Xerces is a parser and Xalan is for XML transformations that's the difference. The easier way to process XML content is to use an XML publishing framework. Cocoon is probably the best publishing framework around, you can get it from http://xml.apache.org/ needless to say it can be easily configure

Re: Tomcat & IIS

2001-05-05 Thread Allan Kamau
Hi Willis and others installing tomcat and IIS You will need to configure IIS and install a filter that will forward requests to Tomcat. I don't remember the exact steps.The how to docs in Tomcat/docs directory provide detailed explanations on the same. Basically you will need to visit the tomcat