Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-19 Thread Andy Savage
Wouldn't the easiest way be to run apache as a front end with mod_jk2? 
It's pretty simple and it saves the hassle of possibly taking down the 
whole server with a crash, or any security hassles.

Serve php with apache, serve everything else to tomcat.
Kind Regards,
Andy Savage
--
Bluewire Solutions
Position: Partner
Contact: +64 27 4678 262
Website: www.bluewire.net.nz
Email: [EMAIL PROTECTED]
David Lee wrote:
Hi! Folks,
 
Has anyone run the php application on Tomcat?. I'm trying to install the
squirrelmail on tomcat so I can web access my james email server.
 
What is the best way to integrate the php with tomcat or any
suggesstions or pitfalls to avoid?
 
Any comments welcome.
 
Thanks
 
David Lee

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


RE: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-19 Thread Shapira, Yoav

Hi,
easiest is subjective: some (many IMHO) people find the connector
configuration difficult enough so that anything they can run on Tomcat
standalone is good.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Andy Savage [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 6:36 AM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Wouldn't the easiest way be to run apache as a front end with mod_jk2?
It's pretty simple and it saves the hassle of possibly taking down the
whole server with a crash, or any security hassles.

Serve php with apache, serve everything else to tomcat.

Kind Regards,
Andy Savage

--
Bluewire Solutions
Position: Partner
Contact: +64 27 4678 262
Website: www.bluewire.net.nz
Email: [EMAIL PROTECTED]


David Lee wrote:
 Hi! Folks,

 Has anyone run the php application on Tomcat?. I'm trying to install
the
 squirrelmail on tomcat so I can web access my james email server.

 What is the best way to integrate the php with tomcat or any
 suggesstions or pitfalls to avoid?

 Any comments welcome.

 Thanks

 David Lee


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




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the sender.  Thank you.


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



RE: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-19 Thread David Lee
Hi! Yoav,
That's right, because I saw so many mails related to apache connector,
jk2 or mod_jk. Also I got problem with apache 2.0.*
My OS is winXP professional. Somehow, the apache server service looks
like it's running using Window services menu, but 
After I refresh it, the apache service is not running. It was running
like that for more than 3 monthes and 
Finally I gave up, because my focus is Tomcat, I just want to make
everything works first on tomcat and then 
Think other options. It will simplify the application development and
deployment.

David Lee 

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 19, 2004 5:40 AM
To: Tomcat Users List
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?


Hi,
easiest is subjective: some (many IMHO) people find the connector
configuration difficult enough so that anything they can run on Tomcat
standalone is good.

Yoav Shapira http://www.yoavshapira.com
 

-Original Message-
From: Andy Savage [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 6:36 AM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on 
tomcat?

Wouldn't the easiest way be to run apache as a front end with mod_jk2?
It's pretty simple and it saves the hassle of possibly taking down the 
whole server with a crash, or any security hassles.

Serve php with apache, serve everything else to tomcat.

Kind Regards,
Andy Savage

--
Bluewire Solutions
Position: Partner
Contact: +64 27 4678 262
Website: www.bluewire.net.nz
Email: [EMAIL PROTECTED]


David Lee wrote:
 Hi! Folks,

 Has anyone run the php application on Tomcat?. I'm trying to install
the
 squirrelmail on tomcat so I can web access my james email server.

 What is the best way to integrate the php with tomcat or any 
 suggesstions or pitfalls to avoid?

 Any comments welcome.

 Thanks

 David Lee


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
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]



Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-19 Thread Andoni
Tomcat is fine and all but in this case it is definitely not the right tool
for the job.  I know you've had problems with Apache but I'd go look at it
again. I am running apache 1.3 and I have a 5 line workers.properties, and
one line in server.xml, my connector has never been a problem. Installing
PHP took less time to do than it did to download the module over DSL!

Just my 2 cents: Go to old Apache, Old JK, and set up simply.

Andoni.

- Original Message - 
From: David Lee [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Friday, November 19, 2004 4:48 PM
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?


Hi! Yoav,
That's right, because I saw so many mails related to apache connector,
jk2 or mod_jk. Also I got problem with apache 2.0.*
My OS is winXP professional. Somehow, the apache server service looks
like it's running using Window services menu, but
After I refresh it, the apache service is not running. It was running
like that for more than 3 monthes and
Finally I gave up, because my focus is Tomcat, I just want to make
everything works first on tomcat and then
Think other options. It will simplify the application development and
deployment.

David Lee

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 5:40 AM
To: Tomcat Users List
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?


Hi,
easiest is subjective: some (many IMHO) people find the connector
configuration difficult enough so that anything they can run on Tomcat
standalone is good.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Andy Savage [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 6:36 AM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Wouldn't the easiest way be to run apache as a front end with mod_jk2?
It's pretty simple and it saves the hassle of possibly taking down the
whole server with a crash, or any security hassles.

Serve php with apache, serve everything else to tomcat.

Kind Regards,
Andy Savage

--
Bluewire Solutions
Position: Partner
Contact: +64 27 4678 262
Website: www.bluewire.net.nz
Email: [EMAIL PROTECTED]


David Lee wrote:
 Hi! Folks,

 Has anyone run the php application on Tomcat?. I'm trying to install
the
 squirrelmail on tomcat so I can web access my james email server.

 What is the best way to integrate the php with tomcat or any
 suggesstions or pitfalls to avoid?

 Any comments welcome.

 Thanks

 David Lee


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
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]



RE: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-19 Thread David Lee
Thanks for the suggestion.  BTW, what is the OS you are using, mine is
winXP professional, I heard apache is
Not suitable or not tuned for win but UNIX/LINUX, that's why it's not
stable on winXP platform, just an 
Afterthrought.

David 

-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 19, 2004 9:40 AM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Tomcat is fine and all but in this case it is definitely not the right
tool for the job.  I know you've had problems with Apache but I'd go
look at it again. I am running apache 1.3 and I have a 5 line
workers.properties, and one line in server.xml, my connector has never
been a problem. Installing PHP took less time to do than it did to
download the module over DSL!

Just my 2 cents: Go to old Apache, Old JK, and set up simply.

Andoni.

- Original Message -
From: David Lee [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Friday, November 19, 2004 4:48 PM
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?


Hi! Yoav,
That's right, because I saw so many mails related to apache connector,
jk2 or mod_jk. Also I got problem with apache 2.0.*
My OS is winXP professional. Somehow, the apache server service looks
like it's running using Window services menu, but
After I refresh it, the apache service is not running. It was running
like that for more than 3 monthes and
Finally I gave up, because my focus is Tomcat, I just want to make
everything works first on tomcat and then
Think other options. It will simplify the application development and
deployment.

David Lee

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 5:40 AM
To: Tomcat Users List
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?


Hi,
easiest is subjective: some (many IMHO) people find the connector
configuration difficult enough so that anything they can run on Tomcat
standalone is good.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Andy Savage [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 6:36 AM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Wouldn't the easiest way be to run apache as a front end with mod_jk2?
It's pretty simple and it saves the hassle of possibly taking down the
whole server with a crash, or any security hassles.

Serve php with apache, serve everything else to tomcat.

Kind Regards,
Andy Savage

--
Bluewire Solutions
Position: Partner
Contact: +64 27 4678 262
Website: www.bluewire.net.nz
Email: [EMAIL PROTECTED]


David Lee wrote:
 Hi! Folks,

 Has anyone run the php application on Tomcat?. I'm trying to install
the
 squirrelmail on tomcat so I can web access my james email server.

 What is the best way to integrate the php with tomcat or any
 suggesstions or pitfalls to avoid?

 Any comments welcome.

 Thanks

 David Lee


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
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]


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



RE: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-19 Thread Shapira, Yoav

Hi,
Apache httd is ROCK-solid on any of its supported platforms, including
Windows.  The problems arise with the connection between httpd and
Tomcat.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: David Lee [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 1:38 PM
To: Tomcat Users List
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Thanks for the suggestion.  BTW, what is the OS you are using, mine is
winXP professional, I heard apache is
Not suitable or not tuned for win but UNIX/LINUX, that's why it's not
stable on winXP platform, just an
Afterthrought.

David

-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 9:40 AM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Tomcat is fine and all but in this case it is definitely not the right
tool for the job.  I know you've had problems with Apache but I'd go
look at it again. I am running apache 1.3 and I have a 5 line
workers.properties, and one line in server.xml, my connector has never
been a problem. Installing PHP took less time to do than it did to
download the module over DSL!

Just my 2 cents: Go to old Apache, Old JK, and set up simply.

Andoni.

- Original Message -
From: David Lee [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Friday, November 19, 2004 4:48 PM
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?


Hi! Yoav,
That's right, because I saw so many mails related to apache connector,
jk2 or mod_jk. Also I got problem with apache 2.0.*
My OS is winXP professional. Somehow, the apache server service looks
like it's running using Window services menu, but
After I refresh it, the apache service is not running. It was running
like that for more than 3 monthes and
Finally I gave up, because my focus is Tomcat, I just want to make
everything works first on tomcat and then
Think other options. It will simplify the application development and
deployment.

David Lee

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 5:40 AM
To: Tomcat Users List
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?


Hi,
easiest is subjective: some (many IMHO) people find the connector
configuration difficult enough so that anything they can run on Tomcat
standalone is good.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Andy Savage [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 6:36 AM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Wouldn't the easiest way be to run apache as a front end with mod_jk2?
It's pretty simple and it saves the hassle of possibly taking down the
whole server with a crash, or any security hassles.

Serve php with apache, serve everything else to tomcat.

Kind Regards,
Andy Savage

--
Bluewire Solutions
Position: Partner
Contact: +64 27 4678 262
Website: www.bluewire.net.nz
Email: [EMAIL PROTECTED]


David Lee wrote:
 Hi! Folks,

 Has anyone run the php application on Tomcat?. I'm trying to install
the
 squirrelmail on tomcat so I can web access my james email server.

 What is the best way to integrate the php with tomcat or any
 suggesstions or pitfalls to avoid?

 Any comments welcome.

 Thanks

 David Lee


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
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]


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




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, proprietary 
and/or privileged.  This e-mail is intended only for the individual(s) to whom 
it is addressed, and may not be saved, copied, printed, disclosed or used by 
anyone else.  If you are not the(an) intended recipient, please immediately 
delete this e-mail from your computer system and notify the 

Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-19 Thread Duncan Krebs
Yoav, just curious how do your pronounce your name. Mine is easy because it
goes with Donuts but yours I can not find any restaurants or shops sharing
the same. Being that are you an active participant to this forum I deem this
email relevent. - Duncan

- Original Message - 
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 19, 2004 12:47 PM
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?



Hi,
Apache httd is ROCK-solid on any of its supported platforms, including
Windows.  The problems arise with the connection between httpd and
Tomcat.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: David Lee [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 1:38 PM
To: Tomcat Users List
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Thanks for the suggestion.  BTW, what is the OS you are using, mine is
winXP professional, I heard apache is
Not suitable or not tuned for win but UNIX/LINUX, that's why it's not
stable on winXP platform, just an
Afterthrought.

David

-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 9:40 AM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Tomcat is fine and all but in this case it is definitely not the right
tool for the job.  I know you've had problems with Apache but I'd go
look at it again. I am running apache 1.3 and I have a 5 line
workers.properties, and one line in server.xml, my connector has never
been a problem. Installing PHP took less time to do than it did to
download the module over DSL!

Just my 2 cents: Go to old Apache, Old JK, and set up simply.

Andoni.

- Original Message -
From: David Lee [EMAIL PROTECTED]
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Friday, November 19, 2004 4:48 PM
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?


Hi! Yoav,
That's right, because I saw so many mails related to apache connector,
jk2 or mod_jk. Also I got problem with apache 2.0.*
My OS is winXP professional. Somehow, the apache server service looks
like it's running using Window services menu, but
After I refresh it, the apache service is not running. It was running
like that for more than 3 monthes and
Finally I gave up, because my focus is Tomcat, I just want to make
everything works first on tomcat and then
Think other options. It will simplify the application development and
deployment.

David Lee

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 5:40 AM
To: Tomcat Users List
Subject: RE: Installing a webmail client such as squirrelmail (PHP) on
tomcat?


Hi,
easiest is subjective: some (many IMHO) people find the connector
configuration difficult enough so that anything they can run on Tomcat
standalone is good.

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Andy Savage [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 6:36 AM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

Wouldn't the easiest way be to run apache as a front end with mod_jk2?
It's pretty simple and it saves the hassle of possibly taking down the
whole server with a crash, or any security hassles.

Serve php with apache, serve everything else to tomcat.

Kind Regards,
Andy Savage

--
Bluewire Solutions
Position: Partner
Contact: +64 27 4678 262
Website: www.bluewire.net.nz
Email: [EMAIL PROTECTED]


David Lee wrote:
 Hi! Folks,

 Has anyone run the php application on Tomcat?. I'm trying to install
the
 squirrelmail on tomcat so I can web access my james email server.

 What is the best way to integrate the php with tomcat or any
 suggesstions or pitfalls to avoid?

 Any comments welcome.

 Thanks

 David Lee


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
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]


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

Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread David Lee
Hi! Folks,
 
Has anyone run the php application on Tomcat?. I'm trying to install the
squirrelmail on tomcat so I can web access my james email server.
 
What is the best way to integrate the php with tomcat or any
suggesstions or pitfalls to avoid?
 
Any comments welcome.
 
Thanks
 
David Lee


Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread David Boyer
I think you'd be better off fronting Tomcat with Apache or IIS
(depending on your platform). mod_php for Apache seems to have a pretty
good track record. For IIS, I'd suggest using php.exe for process
isolation rather than the PHP ISAPI application extension due to known
threading issues.
 
You might also be able to use Tomcat's CGI servlet to execute PHP
scripts with the appropriate binary for your platform, but I can't speak
to that from specific experience.

 [EMAIL PROTECTED] 11/18/2004 4:11:37 PM 

Hi! Folks,

Has anyone run the php application on Tomcat?. I'm trying to install
the
squirrelmail on tomcat so I can web access my james email server.

What is the best way to integrate the php with tomcat or any
suggesstions or pitfalls to avoid?

Any comments welcome.

Thanks

David Lee



Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread Hassan Schroeder
David Lee wrote:
Has anyone run the php application on Tomcat?. 
I've tinkered with it -- using the phpservlet to run a calendar app.
Works surprisingly well, but since you're hooking into native code,
beware -- if (when!) it crashes, it takes the whole JVM with it :-)
YMMV!
--
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]


RE: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread David Lee
Hi! Hassan,

You mean phpservlet to read the php app config file or php files and
then phpservlet to serve the php page?
Your calendar app were written using PHP?

Thanks 

David Lee 

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 3:06 PM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

David Lee wrote:

 Has anyone run the php application on Tomcat?. 

I've tinkered with it -- using the phpservlet to run a calendar app.
Works surprisingly well, but since you're hooking into native code,
beware -- if (when!) it crashes, it takes the whole JVM with it :-)

YMMV!
--
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]


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



Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread Hassan Schroeder
David Lee wrote:
You mean phpservlet to read the php app config file or php files and
then phpservlet to serve the php page?
When you build (configure) php with --with-java=$JAVA_HOME (I think,
it was a while ago I built this), you get a 'phpservlet.jar' created.
Put that in $CATALINA_HOME/common/lib, add something like this to
your catalina.sh startup script:
  LD_LIBRARY_PATH=/usr/local/php/lib/php/libphp4.so
:: and you're set. Oh, yeah, need to add mappings to your web.xml.
Your calendar app were written using PHP?
It's phpicalendar (I'm not the author). As I said, php does seem
to work fine, but I have had it crash. The machine I was using to
test with was woefully underpowered and under-memoried, though. I'll
have to try it on something more robust and see what happens.
HTH!
--
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]


RE: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread David Lee
Thanks lot, I will study it.

David Lee 

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 3:51 PM
To: Tomcat Users List
Subject: Re: Installing a webmail client such as squirrelmail (PHP) on
tomcat?

David Lee wrote:

 You mean phpservlet to read the php app config file or php files and 
 then phpservlet to serve the php page?

When you build (configure) php with --with-java=$JAVA_HOME (I think, it
was a while ago I built this), you get a 'phpservlet.jar' created.
Put that in $CATALINA_HOME/common/lib, add something like this to your
catalina.sh startup script:

   LD_LIBRARY_PATH=/usr/local/php/lib/php/libphp4.so

:: and you're set. Oh, yeah, need to add mappings to your web.xml.

 Your calendar app were written using PHP?

It's phpicalendar (I'm not the author). As I said, php does seem to
work fine, but I have had it crash. The machine I was using to test with
was woefully underpowered and under-memoried, though. I'll have to try
it on something more robust and see what happens.

HTH!
--
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]


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