Re: JRuby sucked up the bath water but left the baby behind.

2008-06-17 Thread Jim Manico
You can not write enterprise-class, secure, web-centric software with PHP or RoR. The jury is still out on Python. To gain the benefits of Java you would need to turn the PHP language into - Java. So far, all projects that try to spit out bytecode via a non-Java language have failed.

Re: JRuby sucked up the bath water but left the baby behind.

2008-06-17 Thread Leon Rosenberg
On Tue, Jun 17, 2008 at 9:22 AM, Clifton Brooks [EMAIL PROTECTED] wrote: If, instead of interpreting JRuby, PHP, and Jython, Tomcat, or some extensions for it, could compile programs in these languages into java servlets, then all of the advantages of the Java world will instantly become

Re: JRuby sucked up the bath water but left the baby behind.

2008-06-17 Thread Jim Manico
I love this plan - a great way to turn all other languages into Java(tm) ! :) - Jim On Tue, Jun 17, 2008 at 9:22 AM, Clifton Brooks [EMAIL PROTECTED] wrote: If, instead of interpreting JRuby, PHP, and Jython, Tomcat, or some extensions for it, could compile programs in these languages into

Re: JRuby sucked up the bath water but left the baby behind.

2008-06-17 Thread Damien B
Leon Rosenberg wrote: On Tue, Jun 17, 2008 at 9:22 AM, Clifton Brooks [EMAIL PROTECTED] wrote: If, instead of interpreting JRuby, PHP, and Jython, Tomcat, or some extensions for it, could compile programs in these languages into java servlets, then all of the advantages of the Java world will

Re: svn commit: r668249 - /tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

2008-06-17 Thread Filip Hanik - Dev Lists
my initial reaction is a -1 to this one it should be if ( entry != null entry.isPrimary() ) set.add(new MapEntry(key,entry.getValue())); and not propagate internals of the cluster information out to the caller Filip [EMAIL PROTECTED] wrote: Author: markt Date: Mon Jun 16 10:22:36 2008

Re: svn commit: r668249 - /tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

2008-06-17 Thread Mark Thomas
Filip Hanik - Dev Lists wrote: my initial reaction is a -1 to this one it should be if ( entry != null entry.isPrimary() ) set.add(new MapEntry(key,entry.getValue())); and not propagate internals of the cluster information out to the caller Fine by me. I'll try and do this later

DO NOT REPLY [Bug 45222] New: concurrent startup of ReplicatedMap leads to inconsistent state.

2008-06-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45222 Summary: concurrent startup of ReplicatedMap leads to inconsistent state. Product: Tomcat 6 Version: 6.0.16 Platform: PC OS/Version: Linux Status: NEW

svn commit: r668847 - /tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

2008-06-17 Thread markt
Author: markt Date: Tue Jun 17 15:01:01 2008 New Revision: 668847 URL: http://svn.apache.org/viewvc?rev=668847view=rev Log: Revert previous fix after veto. Modified: tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java Modified:

RE: JRuby sucked up the bath water but left the baby behind.

2008-06-17 Thread George MATKOVITS
IMHO the foundation problem is class checking at compilation time. Many, many years ago I looked at .NET source and decided that it is was inferior to Java's compile time checking. (String parameter types can not be checked at compile time. .Net's CLR and the C++ library is full of them.

svn commit: r668849 - /tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

2008-06-17 Thread markt
Author: markt Date: Tue Jun 17 15:04:50 2008 New Revision: 668849 URL: http://svn.apache.org/viewvc?rev=668849view=rev Log: Apply Filip's better patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=45212 Map.entrySet() should return entries, not values Modified:

svn commit: r668852 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-06-17 Thread markt
Author: markt Date: Tue Jun 17 15:09:01 2008 New Revision: 668852 URL: http://svn.apache.org/viewvc?rev=668852view=rev Log: Propose Filip's better patch Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL:

svn commit: r668854 - /tomcat/trunk/java/org/apache/catalina/session/StandardSession.java

2008-06-17 Thread markt
Author: markt Date: Tue Jun 17 15:13:00 2008 New Revision: 668854 URL: http://svn.apache.org/viewvc?rev=668854view=rev Log: Additional check related to bug 45195. Modified: tomcat/trunk/java/org/apache/catalina/session/StandardSession.java Modified:

svn commit: r668855 - /tomcat/tc6.0.x/trunk/STATUS.txt

2008-06-17 Thread markt
Author: markt Date: Tue Jun 17 15:14:54 2008 New Revision: 668855 URL: http://svn.apache.org/viewvc?rev=668855view=rev Log: Add additional check to proposal. Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL:

DO NOT REPLY [Bug 45222] concurrent startup of ReplicatedMap leads to inconsistent state.

2008-06-17 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=45222 --- Comment #1 from Robert Newson [EMAIL PROTECTED] 2008-06-17 15:19:34 PST --- Here's the simplest code to reproduce it. Just start this on four machines at the same time (I used clusterssh). Most of the time each box will print a

Some potential data races in tomcat

2008-06-17 Thread Yao Qi
We have been working on a tool (MTRAT, Multi-Thread Runtime Analysis Tool) for finding potential data races and deadlocks in java programs and I tried it out on Tomcat 6.0.13. I found some that look like problems; you might be interested in fixing them, and I would like to know if my