Re: Tomcat supporting PHP

2007-07-16 Thread jean-frederic clere

Joe Nathan wrote:

I am talking about in-built capability that people do NOT need
to install heaps of cranky-installation software packages!


You may try http://labs.jboss.com/wiki/Jbossweb and 
http://labs.jboss.com/file-access/default/members/jbossweb/freezone/modules/php/index.html


Cheers

Jean-Frederic



regards.



Yoav Shapira-2 wrote:

Hey,

On 7/14/07, Bill Barker <[EMAIL PROTECTED]> wrote:

"Joe Nathan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

I think if Tomcat also supports PHP scripts, it could be wonderful!.

Google is your friend :) http://www.google.com/search?q=php+servlet.

I don't think that there is much interest in hosting a PHP servlet in
Tomcat
however.

Bill's right.

I also wrote up (the initial version of)
http://wiki.apache.org/tomcat/UsingPhp a while ago, if you're still
interested in this approach.

Yoav

-
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: Tomcat supporting PHP

2007-07-16 Thread Henri Gomez

2007/7/16, jean-frederic clere <[EMAIL PROTECTED]>:

Joe Nathan wrote:
> I am talking about in-built capability that people do NOT need
> to install heaps of cranky-installation software packages!


Do you want a 100% Java PHP engine or just a simple native to Java bridge ?

Regards

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



Re: Tomcat supporting PHP

2007-07-16 Thread Joe Nathan


Henri Gomez wrote:
> 
> Do you want a 100% Java PHP engine or just a simple native to Java bridge
> ?
> 

I mean PHP scripts are processed as JSP are handled inside Tomcat 
without installing any other things as built-in features. Imagine if 
Tomcat can handle JSP, PHP, even ASP script pages! Then who will 
not use this!


-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11612860
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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



Re: Tomcat supporting PHP

2007-07-16 Thread Mladen Turk

Joe Nathan wrote:


Henri Gomez wrote:

Do you want a 100% Java PHP engine or just a simple native to Java bridge
?



I mean PHP scripts are processed as JSP are handled inside Tomcat 
without installing any other things as built-in features. Imagine if 
Tomcat can handle JSP, PHP, even ASP script pages! Then who will 
not use this!




Why would someone wish to do that at the first place.
Those are completely different systems with completely
different technology. The only usage is consolidation of the
technology and lowering down the time for consolidation
to a particular technology.

The are some attempts for PHP like a simple CGI or a
JBoss Reflex, and even some project (think its commercial)
that has PHP engine and modules rewritten in Java.
However their main usage is for easing you to switch to
the real stuff (main Tomcat technology; jsp and servlets).

Regards,
Mladen.

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



Re: Tomcat supporting PHP

2007-07-16 Thread Markus Schönhaber
Joe Nathan schrieb:

> I mean PHP scripts are processed as JSP are handled inside Tomcat 
> without installing any other things as built-in features. Imagine if 
> Tomcat can handle JSP, PHP, even ASP script pages! Then who will 
> not use this!

I will not use this.
I'm not interested in PHP at all. And I wouldn't want a servlet
container bloated with features I don't want nor ever will need.

Regards
  mks

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



DO NOT REPLY [Bug 42849] - If mod_jk cannot resolve host name of single worker, all workers are destroyed

2007-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42849





--- Additional Comments From [EMAIL PROTECTED]  2007-07-16 06:28 ---
Which was the web server, where the behaviour got observed?

Actually we implemented both variants:

Apache 2.x: any validation failure will make wc_open() return JK_FALSE and
Apache will log an error and *not* start.

Apache 1.3: only logs an error, but does start up. Worker initialization even
for the good ones might not be done!

IIS: Not sure.

Netscape: Codes looks like we only log a line, so seems to be the same as for
Apache 1.3

I would prefer to not start up. It is a problem, that can be detected during
startup. As such ir differs from typos in context URLs. Since we can detect the
problem during startup, we should tell people what's wrong and not do the 
startup.

I think, that Apache 2.x does it OK, we don't have it in Apache 1.3 primarily
for historic reasons, because the init hook does not allow return values. We can
use out jk_error_exit() function nevertheless.

I'll patch it for Apache 1.3 if noone objects. Mladen? Anyone else?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 42849] - If mod_jk cannot resolve host name of single worker, all workers are destroyed

2007-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42849





--- Additional Comments From [EMAIL PROTECTED]  2007-07-16 10:20 ---
No objections.

Not sure for IIS if we should or could force the entire service
shutdown. However we can retun 404 from filter if init failed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



svn commit: r556765 - /tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/manager-howto.xml

2007-07-16 Thread markt
Author: markt
Date: Mon Jul 16 16:28:49 2007
New Revision: 556765

URL: http://svn.apache.org/viewvc?view=rev&rev=556765
Log:
Clarify that the manager app is already installed

Modified:
tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/manager-howto.xml

Modified: 
tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/manager-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/manager-howto.xml?view=diff&rev=556765&r1=556764&r2=556765
==
--- tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/manager-howto.xml 
(original)
+++ tomcat/container/branches/tc4.1.x/webapps/tomcat-docs/manager-howto.xml Mon 
Jul 16 16:28:49 2007
@@ -78,8 +78,9 @@
 directory.
 
 
-There are two ways to configure the Manager web application
-Context:
+A default Tomcat installation includes the manager. To add an instance of 
the
+Manager web application Context to a new host do one of the
+following:
 
 Install the manager.xml context configuration file
 in the appBase for your Host.



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



svn commit: r556766 - /tomcat/container/tc5.5.x/webapps/docs/manager-howto.xml

2007-07-16 Thread markt
Author: markt
Date: Mon Jul 16 16:30:07 2007
New Revision: 556766

URL: http://svn.apache.org/viewvc?view=rev&rev=556766
Log:
Clarify that the manager app is already installed. Remove adding entry to 
server.xml as an installation option.

Modified:
tomcat/container/tc5.5.x/webapps/docs/manager-howto.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/manager-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/manager-howto.xml?view=diff&rev=556766&r1=556765&r2=556766
==
--- tomcat/container/tc5.5.x/webapps/docs/manager-howto.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/manager-howto.xml Mon Jul 16 16:30:07 
2007
@@ -82,22 +82,16 @@
 directory (unless it was deployed from file system).
 
 
-There are two ways to configure the Manager web application
-Context:
-
-Install the manager.xml context configuration file
-in the $CATALINA_HOME/conf/[enginename]/[hostname] folder.
-
-Configure the Manager Context within the
-Host configuration in your Tomcat server.xml
-configuration. Here is an example:
+A default Tomcat installation includes the manager. To add an instance of 
the
+Manager web application Context to a new host install the
+manager.xml context configuration file in the
+$CATALINA_HOME/conf/[enginename]/[hostname] folder. Here is an
+example:
 
 
 
 
-
-
 
 
 If you have Tomcat configured to support multiple virtual hosts



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



svn commit: r556767 - /tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml

2007-07-16 Thread markt
Author: markt
Date: Mon Jul 16 16:33:46 2007
New Revision: 556767

URL: http://svn.apache.org/viewvc?view=rev&rev=556767
Log:
Clarify that the manager app is already installed. Remove adding entry to 
server.xml as an installation option.

Modified:
tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml

Modified: tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml?view=diff&rev=556767&r1=556766&r2=556767
==
--- tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml Mon Jul 16 16:33:46 2007
@@ -82,22 +82,16 @@
 directory (unless it was deployed from file system).
 
 
-There are two ways to configure the Manager web application
-Context:
-
-Install the manager.xml context configuration file
-in the $CATALINA_HOME/conf/[enginename]/[hostname] folder.
-
-Configure the Manager Context within the
-Host configuration in your Tomcat server.xml
-configuration. Here is an example:
+A default Tomcat installation includes the manager. To add an instance of 
the
+Manager web application Context to a new host install the
+manager.xml context configuration file in the
+$CATALINA_HOME/conf/[enginename]/[hostname] folder. Here is an
+example:
 
-
 
 
-
-
 
 
 If you have Tomcat configured to support multiple virtual hosts



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



DO NOT REPLY [Bug 42530] - ManagerBase.backgroundProcess throws NullPointerException.

2007-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42530





--- Additional Comments From [EMAIL PROTECTED]  2007-07-16 19:42 ---
I confirmed this correction.
http://svn.apache.org/viewvc?view=rev&revision=542185
Thanks. 

but,this correction is only the following. 

http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/session/Mana
gerBase.java?view=log
(Is this for Tomcat6.1.x ?)

Please add a similar correction also to tc6.0.x. 

http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/sess
ion/ManagerBase.java?view=log



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: Tomcat supporting PHP

2007-07-16 Thread Joe Nathan


Mladen Turk-3 wrote:
> 
> Why would someone wish to do that at the first place.
> 
You should realize that PHP world is lot bigger than Java world!
Having both will have many merits.


-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11643194
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


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



DO NOT REPLY [Bug 42913] New: - Invalid path /login was requested

2007-07-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42913

   Summary: Invalid path /login was requested
   Product: Tomcat 6
   Version: 6.0.7
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I am using Tomcat 6.0.7 on Windows. I downloded admin webapps of Tomcat 5.5.20
(I didnt get admin webapp for Tomcat 6) and  installed with 6.0.7. I am able to
see all the options in admin page, but when i tried to add new
variable/datasource etc, i am getting following error..

Jul 17, 2007 11:14:01 AM org.apache.struts.action.RequestProcessor 
processMapping
SEVERE: Invalid path /login was requested
Jul 17, 2007 11:14:09 AM org.apache.struts.action.RequestProcessor 
processMapping
SEVERE: Invalid path /frameset was requested

Is it because i am using older admin webapps.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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