Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
Rainer, Thanks for that. Yes we are going for a mix of both really. But I'll run some bench marks against both sticky and none sticky to see how it gets on. Yes in production if we want to stop/undeploy/deploy a webapp we will set the worker status to stopped. This issue came up as more of a

Stop a webapp from being started when tomcat starts

2007-07-31 Thread ben short
Hi, Is it possible to configure tomcat to not start a specific webapp when it starts up? Ben - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Stop a webapp from being started when tomcat starts

2007-07-31 Thread Matthew Whittaker-Williams
On Tuesday 31 July 2007 11:02, ben short wrote: Hi, Is it possible to configure tomcat to not start a specific webapp when it starts up? Ben - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
I have altered the code to write out which webapp generated the page to the html, so i can see where the partial responses are comming from. What I see is I stop the webapp on box 2. I make a request and I see part of the page. The html shows that the partial page was generated by the

[ANN] Apache Tomcat JK 1.2.24 Web Server Connector released

2007-07-31 Thread Rainer Jung
The Apache Tomcat team is pleased to announce the immediate availability of version 1.2.24 of the Apache Tomcat Connectors. It contains connectors, which allow a web server such as Apache HTTPD, Microsoft IIS and Sun Web Server to act as a front end to the Tomcat web application server. This

DLL files for connecting Apache Httpd and Tomcat

2007-07-31 Thread Hugh Acland
Hi, I am hosting multiple sites on one Windows 2003 box using Apache 2.2.4 The sites are all built on Joomla 1.4 and therefore I have PHP 5.2.1 and MySql installed. Everything works fine. I also have Tomcat 5.5 installed and running happily on port 8080. I now have need to build a site using

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread Rainer Jung
ben short wrote: I have altered the code to write out which webapp generated the page to the html, so i can see where the partial responses are comming from. What I see is I stop the webapp on box 2. I make a request and I see part of the page. The html shows that the partial page was

Re: DLL files for connecting Apache Httpd and Tomcat

2007-07-31 Thread Rainer Jung
Hi Hugh, - jk2 has been deprecated a long time ago. Please use jk, which is fully supported and now contains most of the features, that were created for jk2 - the *.so files in the download directory for win32/win64 are actually windows libraries. You can use them. Only there name is a

Re: Tomcat with 8 GB memory

2007-07-31 Thread Mohan2005
so now we have to identify if our application is 64bit compatible or 32bit compatible. would not this be a very difficult situation as far as porting to 64bit is concerned? Andrew Miehs wrote: On 29/07/2007, at 9:08 PM, David Smith wrote: ...but people advice that 64bit are 20 - 30%

Latest MS patches

2007-07-31 Thread Edward . W . WillettJr . contractor
From: Willett, Jr., Edward W. (Contractor) Sent: Tuesday, July 31, 2007 8:13 AM To: 'users@tomcat.apache.org' Subject: Latest MS patches Does anyone know of any problem with Tomcat 6.0.1 and the latest MS patches. Eddie

RE: Tomcat Administration

2007-07-31 Thread SophieKlusn
Found it in some location in netbeans installation. I deleted the file. I still see the same message. Now neither MS or google desktop search lead to any results, I still see the same message when I visit the administration page. This is a nightmare! Caldarale, Charles R wrote: From:

Re: Tomcat with 8 GB memory

2007-07-31 Thread Andrew Miehs
On 31/07/2007, at 2:04 PM, Mohan2005 wrote: so now we have to identify if our application is 64bit compatible or 32bit compatible. If your application is only JAVA, then no porting is required. Andrew - To start a new

secured authentication / connection

2007-07-31 Thread Pierre Goupil
Hello all, On my webapp, I'm currently using a Tomcat-based form authentication. But I would like to switch to an encrypted authentication. And the long-term goal would be to have my users browse my webapp entirely with an https connection. Can anyone point me to a relevant tutorial ? I have

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
I'm not getting anywhere with this :( I have set the logging to trace for mod_jk and I can see all the response packets. I have also turned on our applications response logging and can see that the running webapp writes the full page to the response. I can then see it all in the mod_jk logs. But

FW: Quesion on starting tomcat (as a windows service) from Ant

2007-07-31 Thread Asensio, Rodrigo
Obviously you should try to figure out who is using that file. But if you want to do it like old days.. Do this in your ANT property name=service value=Tomcat5/ target name=stop description=Stops the ${service} exec executable=cmd.exe arg line=/C net stop ${service}/

Re: DLL files for connecting Apache Httpd and Tomcat

2007-07-31 Thread Rainer Jung
Hi Hugh, jk autoconf is broken for quite some time now. You can use mod_jk without autoconf, but you will need a little time to setup the config. There are a couple of descriptions concerning configuration in the JK docs. We might repair autoconf some time, but you shouldn't really use it at

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread Rainer Jung
You could dig deeper into two different directions: - protocol: is the content-length in the response headers correct? Or does it use chunked transfer, and is this OK? - sniff the network in front of the apache: do the packets actually get send back to the browser? Regards, Rainer ben

Re: Stop a webapp from being started when tomcat starts

2007-07-31 Thread Scott McClanahan
On Tue, 2007-07-31 at 05:28 -0400, Matthew Whittaker-Williams wrote: On Tuesday 31 July 2007 11:02, ben short wrote: Hi, Is it possible to configure tomcat to not start a specific webapp when it starts up? Ben -

Re: secured authentication / connection

2007-07-31 Thread Mark Thomas
Pierre Goupil wrote: Hello all, On my webapp, I'm currently using a Tomcat-based form authentication. But I would like to switch to an encrypted authentication. And the long-term goal would be to have my users browse my webapp entirely with an https connection. Can anyone point me to a

RE: secured authentication / connection

2007-07-31 Thread Caldarale, Charles R
From: Pierre Goupil [mailto:[EMAIL PROTECTED] Subject: secured authentication / connection Can anyone point me to a relevant tutorial ? Besides configuring SSL as Mark T pointed out, you need to read section 12 of the servlet spec:

Re: Tomcat with 8 GB memory

2007-07-31 Thread Mark H. Wood
On Fri, Jul 27, 2007 at 07:25:26PM -0400, Christopher Schultz wrote: The reverse is true. First of all, no home user ever bought an 8-bit machine. Um, ask the owner of an Apple ][ about that. Likewise my Synertek SYM-1 used an 8-bit 6502 processor, as did designs by Atari, Commodore, etc.

Re: Tomcat with 8 GB memory

2007-07-31 Thread Mark H. Wood
I think what we're seeing here is the reason for the oft-heard, seldom-heeded advice that the only benchmark which means anything is *your application*. Once you see how the code you care about performs, *then* you can bum a few cycles here and there to tune it up. Generalities such as 64-bit

Problem to configure servelet on Tomcat6

2007-07-31 Thread Fabbris Pierluigi
Hi, I've configured Tomacat 6 for Servlet but I've this error: *message* *description* _The server encountered an internal error () that prevented it from fulfilling this request._ *exception* javax.servlet.ServletException: Servlet.init() for servlet default threw exception

Re: Problem to configure servelet on Tomcat6

2007-07-31 Thread reno
catch the NumberFormatException check the given parameter: if your parameter is empty or is different that a number, set it to a default value http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NumberFormatException.html it is more a servlet problem than a tomcat problem F. Hi, I've

RE: Problem to configure servelet on Tomcat6

2007-07-31 Thread Caldarale, Charles R
From: Fabbris Pierluigi [mailto:[EMAIL PROTECTED] Subject: Problem to configure servelet on Tomcat6 java.lang.NumberFormatException: For input string: java.lang.NumberFormatException.forInputString(Unknown Source) java.lang.Integer.parseInt(Unknown Source)

Encoding/Decoding

2007-07-31 Thread Russo, Joe
This test page results are shown: Latin Character input Capital A with Circumflex ^: Â Greek Character input Omega: Ù without decode=Latin%3A+%C3%82+Greek%3A+%C3%99 with decode=Latin: Â Greek: Ù It appears the encoding is set to IS0 8859-1 since the character encoding maps correctly to that

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
Ok I have used wireshark and see that the request is sent to the apache httpd. The next first packet i get back contains the following... HTTP/1.1 200 OK Date: Tue, 31 Jul 2007 14:57:25 GMT Server: Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7a mod_jk/1.2.23 Content-Length: 1090 ***NOTE

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread Rainer Jung
ben short wrote: Ok I have used wireshark and see that the request is sent to the apache httpd. The next first packet i get back contains the following... HTTP/1.1 200 OK Date: Tue, 31 Jul 2007 14:57:25 GMT Server: Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7a mod_jk/1.2.23 Content-Length:

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-31 Thread ben short
Is length 1090 correct?`So does the full body have that length? Yes firefox reports that the page is 1k in size, via the web developer's tool bar. I have seen it happen in IE 6 and 7 also. Would it be possible for me to email you directly the output of wireshark for both one bad and one good

Recovery from OutOfMemoryError?

2007-07-31 Thread Craig Berry
Our Tomcat-based app suffers from occasional OutOfMemoryErrors. We have found that we need to manually restart Tomcat when these happen; frequently the Tomcat process appears to be working after the error, but is actually crippled in one way or another by the loss of some key thread. We would

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Leon Rosenberg
variant 1: a log watcher that checks for OOMe and restarts tomcat variant 2: fix the bug :-) regards Leon On 7/31/07, Craig Berry [EMAIL PROTECTED] wrote: Our Tomcat-based app suffers from occasional OutOfMemoryErrors. We have found that we need to manually restart Tomcat when these happen;

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Craig Berry
Fixing the bug would be cool, but the bug is actually just too many users contending for the same heap space, so that's going to be tough. I'd thought of the log watcher, but that seems a rather blunt instrument; I was thinking there might be some kind of Tomcat (or JVM) intrinsic mechanism for

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread hanasaki
1. you may have a memory leak in your code... do some profiling 2. check out abandoned sessions that are due to expire perhaps you can lower the session timeout and that will make some memory available earlier. Craig Berry wrote: Our Tomcat-based app suffers from occasional OutOfMemoryErrors.

Re: secured authentication / connection

2007-07-31 Thread Pierre Goupil
Erf... It wasn't especially out of my reach. But (as many, I presume), when I'm looking for info, I tend to google around, where there is info fresh from the source... Thanks to both of you and I will try to use more the official documentation, in the future. Cheers, Pierre 2007/7/31,

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Caldarale, Charles R
From: Craig Berry [mailto:[EMAIL PROTECTED] Subject: RE: Recovery from OutOfMemoryError? Fixing the bug would be cool, but the bug is actually just too many users contending for the same heap space Let's put it another way: your webapp and/or JVM configuration aren't set up properly to

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Andrew Miehs
On 31/07/2007, at 6:52 PM, Craig Berry wrote: Fixing the bug would be cool, but the bug is actually just too many users contending for the same heap space, so that's going to be tough. I'd thought of the log watcher, but that seems a rather blunt instrument; I was thinking there might be some

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Craig Berry
Oh, I'm not blaming either one. Normally, our server is quite adequate to handle the expected user load. Every now and then we get a perfect storm of too many users asking for too many large-memory requests, and an OOME happens. We're investigating ways to increase capacity, but in the mean

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Craig Berry
The trouble is that our memory demand per user session is unpredictable. Some user sessions do things that barely touch the heap; other sessions can make huge demands. It depends on what the user chooses to do during the session. So throttling user count down to make it utterly safe would be

Re: Tomcat with 8 GB memory

2007-07-31 Thread Alexey Solofnenko
There can be hidden dependencies on native code. For example, JDBC drivers (OCI, ...). Fortunately there are usually corresponding 64 bit libraries available - you just need to update PATH or LD_LIBRARY_PATH. - Alexey. Andrew Miehs wrote: On 31/07/2007, at 2:04 PM, Mohan2005 wrote: so

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Caldarale, Charles R
From: Craig Berry [mailto:[EMAIL PROTECTED] Subject: RE: Recovery from OutOfMemoryError? It depends on what the user chooses to do during the session. Again, try another point of view. It's what the webapps choose to do in response to user requests that provoke the problem. Is there some

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Rainer Jung
hi Craig, if you get OutOfMemoryError reliably in your log, you might consider the tanukisoftware Java Service Wrapper as an intermediate solution. It can watch the output and automatically restart Tomcat. I would not combine it with an app, that has a very high volume of log output though.

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Andrew Miehs
On 31/07/2007, at 7:19 PM, Caldarale, Charles R wrote: From: Craig Berry [mailto:[EMAIL PROTECTED] Subject: RE: Recovery from OutOfMemoryError? It depends on what the user chooses to do during the session. Again, try another point of view. It's what the webapps choose to do in response to

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Marco
Dear Craig, You are familiar with, even with enough systemmemory, JVM uses limited memory? I your application consumes much memory, you could change settings in the tomcat6.conf file: #JAVA_OPTS=-Xminf0.1 -Xmaxf0.3 JAVA_OPTS=-Xmx1024M -Xms512M Or higher, depending on your systemconfiguration.

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Andrew Miehs
On 31/07/2007, at 7:39 PM, Marco wrote: Dear Craig, You are familiar with, even with enough systemmemory, JVM uses limited memory? I your application consumes much memory, you could change settings in the tomcat6.conf file: #JAVA_OPTS=-Xminf0.1 -Xmaxf0.3 JAVA_OPTS=-Xmx1024M -Xms512M mx

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Craig Berry
Hi, Marco, Yes, our memory allocation sizes are carefully selected, and set near the maximum available in 32-bit Java. We're investigating running under a 64-bit JVM to enable the use of additional heap space. -Original Message- From: Marco [mailto:[EMAIL PROTECTED] Sent: Tuesday, July

Re: secured authentication / connection

2007-07-31 Thread Pierre Goupil
Quote from the Tomcat doc : *** It is important to note that configuring Tomcat to take advantage of secure sockets is usually only necessary when running it as a stand-alone web server. When running Tomcat primarily as a Servlet/JSP container behind another web server, such as Apache or

Re: secured authentication / connection

2007-07-31 Thread David Smith
SSL as a protocol is not designed to allow for this sort of man-in-the-middle configuration. Either tomcat handles the ssl and listens on port 443 or Apache httpd handles the ssl and listens on 443. --David Pierre Goupil wrote: Quote from the Tomcat doc : *** It is important to note

RE: secured authentication / connection

2007-07-31 Thread Caldarale, Charles R
From: Pierre Goupil [mailto:[EMAIL PROTECTED] Subject: Re: secured authentication / connection But I still need Apache in front of it, in order to be able to use the port 80 this sort of things. Tomcat can quite happily use port 80; what else do you need httpd for? (We'll assume you mean

Re: secured authentication / connection

2007-07-31 Thread Pierre Goupil
I have some static HTML content. But I will handle it with Tomcat too, in order to ease things regarding my present need. So I will stick to Tomcat for SSL management and won't use Apache *Httpd* ;-) any more... Easy. As easy as my need in fact. Actually, my only sensitive need is to have SSL

Re: secured authentication / connection

2007-07-31 Thread David Smith
Port 80 is for unencrypted traffic. The default port for SSL (https protocol) is 443. --David Pierre Goupil wrote: I have some static HTML content. But I will handle it with Tomcat too, in order to ease things regarding my present need. So I will stick to Tomcat for SSL management and

Re: secured authentication / connection

2007-07-31 Thread Pierre Goupil
Ooops... Yes, definitely... But I still need the port 80 for my purely static (unencrypted) content. The connections to my webapp will be encrypted from end-to-end using its context name, but all the content accessible within the default context will be static. Pierre 2007/7/31, David Smith

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Craig, Craig Berry wrote: Fixing the bug would be cool, but the bug is actually just too many users contending for the same heap space, so that's going to be tough. Too many users logged-in, or too many simultaneous connections? If the latter, you

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Len Popp
How about keeping track of how many of these big operations are running (using a synchronized counter) and returning a 503 status for big requests that come in when the system is busy? Only the servlet(s) or page(s) that handle these big requests would be limited, the rest of the webapp would keep

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Recovery from OutOfMemoryError? A thread that suffers an OOME is pretty much hosed, anyway, so counting on it to do any kind of recovery is difficult. Why do you say that? The only thing that failed is the allocation of some

RE: Question on starting tomcat (as a windows service) from Ant

2007-07-31 Thread Asensio, Rodrigo
Buddy, you should not have such servlet-.jar inside the WEB INF/lib, print me a list of fiels inside yoru web-inf Pls, write to the list. tks -Original Message- From: Lenny Wintfeld [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 2:55 PM To: Asensio, Rodrigo Subject: Question on

Classloading Question

2007-07-31 Thread Brian Munroe
I am connecting my application to a Oracle XE database and I am having a weird issue with classloading. According to the classloading documentation [1] I should be placing the Oracle JDBC jar file ojdbc14.jar in $CATALINA_HOME/shared/lib, but when I do that, my application throws a Cannot load

RE: Classloading Question

2007-07-31 Thread Propes, Barry L
What version of TC are you using? I wouldn't put the jar file there, no! Try in %TC HOME%\common\lib, whereever that is. -Original Message- From: Brian Munroe [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 3:50 PM To: Tomcat Users List Subject: Classloading Question I am

Re: Classloading Question

2007-07-31 Thread Brian Munroe
On 7/31/07, Propes, Barry L [EMAIL PROTECTED] wrote: What version of TC are you using? I wouldn't put the jar file there, no! I am using 5.5.23. Wouldn't put it where? shared/lib? Try in %TC HOME%\common\lib, whereever that is. I did, and it works, but from my understanding of the

RE: Classloading Question

2007-07-31 Thread Caldarale, Charles R
From: Brian Munroe [mailto:[EMAIL PROTECTED] Subject: Re: Classloading Question I did, and it works, but from my understanding of the classloading documentation, you should technically place application level jars in $CATALINA_HOME/shared/lib, in which it does not work. Depends on whether

Re: Classloading Question

2007-07-31 Thread Brian Munroe
On 7/31/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: Look here for details: http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h tml Heh, II was wondering about that. I just gleamed that and found this gem: Drivers for older Oracle versions may be distributed as

Configuring PHP on Tomcat 6.0

2007-07-31 Thread Mike Duffy
Does anyone have a good reference for installing PHP on Tomcat 6.0? There is no good info at php.net and the instructions I've found through Google talk about modifying an httpd.conf file that is not in Tomcat. I have a feeling these instructions are for older versions of Tomcat (Google is

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Leon Rosenberg
How about using SoftReference to store _large_ or some session data? It must add additional overhead due to data re-retrieval needed in case it has been collected, but at least its guaranteed that you will never get an oome, and chances are good, that you will loose inactive sessions earlier.

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Leon Rosenberg
On 7/31/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Recovery from OutOfMemoryError? A thread that suffers an OOME is pretty much hosed, anyway, so counting on it to do any kind of recovery is difficult. Why do you

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Recovery from OutOfMemoryError? A thread that suffers an OOME is pretty much hosed, anyway, so counting on it to do any kind of recovery is

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Recovery from OutOfMemoryError? Thats however strongly depend on where it happened... if for example the code in question was a middleware stub which is left in unpredictable state, or the orb itself, or any kind of stack

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Recovery from OutOfMemoryError? Thats however strongly depend on where it happened... if for example the code in question was a middleware stub which

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Leon Rosenberg
On 8/1/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: ... but these often aren't learned until something catastrophic happens. great sentence :-) Leon - To start a new topic, e-mail: users@tomcat.apache.org To

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Recovery from OutOfMemoryError? Are you suggesting that all methods should be written as a loops around attempts to do real work, catching OOME and re-trying until the work gets done? Sort of, but not at the method level -

Tomcat 5.5 configuration

2007-07-31 Thread Susan Richards
In Tomcat 5.0.28, I had this in my server.xml: Host name=test-infonline.matc.edu appBase=/www/apps/tomcat/webapps Context path= docBase=./ /Host and in the webapps directory I had an index.html page that redirected to the servlet: meta http-equiv=refresh

How do I start Tomcat as a service using the HotSpot VM

2007-07-31 Thread rmiller
I can start Tomcat with the HotSpot VM using the -server JVM option in startup.bat. But when I try to start Tomcat as a service with the -server option in the registry key HKEY_LOCAL_MACHINE-Software-Apache Software Foundation-Procrun 2.0-PortalServer-Parmeters-Java-Options it won't start. The

Re: Configuring PHP on Tomcat 6.0

2007-07-31 Thread Hassan Schroeder
On 7/31/07, Mike Duffy [EMAIL PROTECTED] wrote: Does anyone have a good reference for installing PHP on Tomcat 6.0? Probably not; AFAIK it doesn't exist :-) There is no good info at php.net and the instructions I've found through Google talk about modifying an httpd.conf file that is not in

Re: How do I start Tomcat as a service using the HotSpot VM

2007-07-31 Thread Bill Barker
rmiller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I can start Tomcat with the HotSpot VM using the -server JVM option in startup.bat. But when I try to start Tomcat as a service with the -server option in the registry key HKEY_LOCAL_MACHINE-Software-Apache Software

Re: Configuring PHP on Tomcat 6.0

2007-07-31 Thread Bill Barker
Mike Duffy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone have a good reference for installing PHP on Tomcat 6.0? There is no good info at php.net and the instructions I've found through Google talk about modifying an httpd.conf file that is not in Tomcat. I have a

Re: Configuring PHP on Tomcat 6.0

2007-07-31 Thread GHOSTRIDER
Another alternative to Apache httpd, and this is my personal preference, I'm running this server (.php enabled) on two windows box's and they work flawlessly.. Abyss X1 web server (freeware version) More info. http://www.aprelium.com/ And to install .php support for that server:

Re: How do I start Tomcat as a service using the HotSpot VM

2007-07-31 Thread rmiller
Thanks for clarifying this Bill. As it turns out service.bat creates the service to use the server version of jvm.dll by default; the Jvm arguement is pointing to D:\Java\jdk1.5.0_09\jre\bin\server\jvm.dll. Should have noticed that :) Do you know of any other JVM tuning arguement odities when

RE: Recovery from OutOfMemoryError?

2007-07-31 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Recovery from OutOfMemoryError? (Sorry for not responding sooner. Went out to dinner and to see the Spider Pig movie :-) Actually, my past experience has been that it's the GC thread that OOMEs, not a worker thread. Assuming

Re: Configuring PHP on Tomcat 6.0

2007-07-31 Thread Andre Prasetya
you might wnna take a look at this http://quercus.caucho.com/ i havent use it, but maybe its is useful for you. On 8/1/07, Mike Duffy [EMAIL PROTECTED] wrote: Does anyone have a good reference for installing PHP on Tomcat 6.0? There is no good info at php.net and the instructions I've found

RE: Tomcat 5.5 configuration

2007-07-31 Thread Caldarale, Charles R
From: Susan Richards [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5 configuration In Tomcat 5.0.28, I had this in my server.xml: Host name=test-infonline.matc.edu appBase=/www/apps/tomcat/webapps Context path= docBase=./ /Host The above - having docBase equal to appBase - was never

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread Peter Stavrinides
I have recently changed a lot of my old perceptions on this matter after reading this excellent article: http://www.ibm.com/developerworks/java/library/j-jtp01274.html If you change your mindset when you write your apps to consider how the garbage collector actually operates, then those memory