Re: php and apache tomcat

2005-03-20 Thread Pablo E. Siciliano
I haven't tried this, but I suppose you can also compile php as CGI and use
it via CGI servlet. And you can configure apache + tomcat using mod_jk, and
serve php pages with the Apache server.



Regards,
Pablo E. Siciliano.

- Original Message - 
From: Hassan Schroeder [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Sunday, March 20, 2005 9:22 PM
Subject: Re: php and apache tomcat


 Benson Margulies wrote:
  Apache isn't the same thing as 'Apache Software Foundation / Jakarta
  Tomcat'. The usual PHP requires plain old Apache, not Tomcat.

 Well -- yes to the first, not exactly to the second.

 The chances are good that the original poster is confused about the
 difference between Apache httpd and Tomcat, but PHP 4 has an option
 in the `configure` script to build a PHP servlet.

 I've built it, run it, used it for lightweight PHP stuff. Works OK,
 more or less, but any significant glitch takes the whole JVM down.
 In other words, not suitable for serious production use, but fine
 for running one calendar app, or some such trivia  :-)

 The servlet build function seems to be missing in PHP5, though.

 FWIW,
 -- 
 Hassan Schroeder - [EMAIL PROTECTED]
 Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

dream.  code.



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -- 
 No virus found in this incoming message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 15/03/05




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Two database connectors for tomcat + cocoon

2004-03-16 Thread Pablo E. Siciliano
Hi!!

I'm using tomcat 4.1 under windows 98, with cocoon 2.0.1 , and jvm 1.4.2. I
tried to add connection pool for MS SQL 2000 server. I'm using the
connection driver provided by Microsoft in
http://www.microsoft.com/downloads/details.aspx?FamilyID=9f1874b6-f8e1-4bd6-
947c-0fc5bf05bf71DisplayLang=en.

I've added that connector to cocoon.xconf, and the driver to web.xml, and It
really stablish the pool (I can see it into SQL Server processes), but I
can't compile anything. I only obtain an OutOffMemoryError from console. I
tried even with a pool with only one connection.

Please, help me.

Pablo E. Siciliano.
Depto. ProgramaciĆ³n.
puentenet.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Two database connectors for tomcat + cocoon

2004-03-16 Thread Pablo E. Siciliano
I solved it adding SET JAVA_OPTS= -server -Xms512m -Xmx512m in my
autoexec.bat file.

- Original Message -
From: Pablo E. Siciliano [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 2:40 PM
Subject: Two database connectors for tomcat + cocoon


Hi!!

I'm using tomcat 4.1 under windows 98, with cocoon 2.0.1 , and jvm 1.4.2. I
tried to add connection pool for MS SQL 2000 server. I'm using the
connection driver provided by Microsoft in
http://www.microsoft.com/downloads/details.aspx?FamilyID=9f1874b6-f8e1-4bd6-
947c-0fc5bf05bf71DisplayLang=en.

I've added that connector to cocoon.xconf, and the driver to web.xml, and It
really stablish the pool (I can see it into SQL Server processes), but I
can't compile anything. I only obtain an OutOffMemoryError from console. I
tried even with a pool with only one connection.

Please, help me.

Pablo E. Siciliano.
Depto. ProgramaciĆ³n.
puentenet.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]