Rainer Jung | 1 Nov 01:31 2006
Picon

Re: svn commit: r469665 - /tomcat/connectors/trunk/jk/native/common/jk_map.c

Hi Bill,

Bill Barker schrieb:
>  
>> -----Original Message-----
>> From: rjung <at> apache.org [mailto:rjung <at> apache.org] 
...

>>  <at>  <at>  -68,7 +62,6  <at>  <at> 
>>          c = (unsigned int)*++k;                \
>>          checksum |= c;                         \
>>      }                                          \
>> -    checksum &= CASE_MASK;                     \
>>  }
> 
> This isn't very safe on machines that care about alignment (e.g. Sparc) :(.
> 

You mean the original line? The patch deletes the line. What's unsafe
concerning alignment in the code after the patch?
Bill Barker | 1 Nov 01:42 2006

RE: svn commit: r469665 - /tomcat/connectors/trunk/jk/native/common/jk_map.c


> -----Original Message-----
> From: Rainer Jung [mailto:rainer.jung <at> kippdata.de] 
> Sent: Tuesday, October 31, 2006 4:32 PM
> To: Tomcat Developers List
> Subject: Re: svn commit: r469665 - 
> /tomcat/connectors/trunk/jk/native/common/jk_map.c
> 
> Hi Bill,
> 
> Bill Barker schrieb:
> >  
> >> -----Original Message-----
> >> From: rjung <at> apache.org [mailto:rjung <at> apache.org] 
> ...
> 
> >>  <at>  <at>  -68,7 +62,6  <at>  <at> 
> >>          c = (unsigned int)*++k;                \
> >>          checksum |= c;                         \
> >>      }                                          \
> >> -    checksum &= CASE_MASK;                     \
> >>  }
> > 
> > This isn't very safe on machines that care about alignment 
> (e.g. Sparc) :(.
> > 
> 
> You mean the original line? The patch deletes the line. What's unsafe
> concerning alignment in the code after the patch?
> 
(Continue reading)

remm | 1 Nov 02:20 2006
Picon

svn commit: r469739 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java

Author: remm
Date: Tue Oct 31 17:20:18 2006
New Revision: 469739

URL: http://svn.apache.org/viewvc?view=rev&rev=469739
Log:
- Adjust the tests for deferred expressions evaluation.

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java?view=diff&rev=469739&r1=469738&r2=469739
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Validator.java Tue Oct 31 17:20:18 2006
 <at>  <at>  -664,7 +664,9  <at>  <at> 

             // JSP.2.2 - '#{' not allowed in template text
             if (n.getType() == '#') {
-                if (!pageInfo.isDeferredSyntaxAllowedAsLiteral()) {
+                if (!pageInfo.isDeferredSyntaxAllowedAsLiteral()
+                        && (tagInfo == null 
+                                || ((tagInfo != null) && !tagInfo.getTagLibrary().getRequiredVersion().equals("2.0")))) {
                     err.jspError(n, "jsp.error.el.template.deferred");
                 } else {
                     return;
 <at>  <at>  -982,9 +984,18  <at>  <at> 
                             && (attrs.getURI(i) == null
                                     || attrs.getURI(i).length() == 0 || attrs
(Continue reading)

Wendy Smoak | 1 Nov 03:58 2006
Picon

Re: jasper snapshot moved ?

On 10/31/06, Wendy Smoak <wsmoak <at> gmail.com> wrote:
> On 10/31/06, Wendy Smoak <wsmoak <at> gmail.com> wrote:
>
> > I'll deploy new 6.0.0-SNAPSHOT jars tonight unless someone beats me to it.
>
> Correction:  I'll deploy 6.0.1-SNAPSHOT jars tonight.

This is done.  The commands used to deploy the jars are below.  This
requires Maven 2 to be installed, and unless you configure a private
key in settings.xml, you'll have to answer two or three password
prompts per jar.

mvn deploy:deploy-file -Dfile=output/build/lib/el-api.jar
-DgroupId=org.apache.tomcat -DartifactId=el-api
-Dversion=6.0.1-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
-DrepositoryId=apache.snapshots
-Durl=scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository

mvn deploy:deploy-file -Dfile=output/build/lib/jasper-el.jar
-DgroupId=org.apache.tomcat -DartifactId=jasper-el
-Dversion=6.0.1-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
-DrepositoryId=apache.snapshots
-Durl=scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository

And MyFaces 1.2 is building again. :)

--

-- 
Wendy
Wendy Smoak | 1 Nov 04:17 2006
Picon

Re: Testing Tomcat 6.0.0 alpha

On 10/27/06, Yoav Shapira <yoavs <at> apache.org> wrote:

> I'd rather start off right and do it in the Maven 2, not Maven 1,
> structure.  The scripts I've seen are about equally easy...  But let
> us know what you think after you double check, please.

Answers from Maven developers on repository <at>  [1] indicate that either
 - using the Ant tasks for Maven to deploy to m2-ibiblio-rsync-repository, or
 - copying the jars and poms into the structure under
m1-ibiblio-rsync-repository
will work equally well for deploying releases.

Either way, both the jars and poms need to be individually signed.

Let me know if you need any help.

[1] http://mail-archives.apache.org/mod_mbox/www-repository/200610.mbox/%3c4542E2BE.8090206 <at> gmx.de%3e

--

-- 
Wendy
Kevin Jackson | 1 Nov 10:56 2006
Picon

Tomcat Manager Application

Hi all,

I'm trying to resolve a problem I have using the manager application
to deploy a war file.

The problem is that the time it takes to upload the war file is very
long and the website is offline for the time it takes to not only
undeploy the old application and deploy the new application, but the
file transfer too.

Basically what I need is for the application to allow me to deploy an
application remotely, but to copy the war over *before* undeploying
the old application.

First is this possible directly in the manager? (I'm using it through
Cargo, and the Cargo developers say that what I want is impossible
given the current manager implementation).

If it isn't possible (which I suspect), would you be interested in a
patch to the manager application that  provided this 'transfer before
deploy' functionality?

Thanks,
Kev
remm | 1 Nov 11:04 2006
Picon

svn commit: r469842 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Author: remm
Date: Wed Nov  1 02:04:21 2006
New Revision: 469842

URL: http://svn.apache.org/viewvc?view=rev&rev=469842
Log:
- Always call jspInit (some work in always done there, now).

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java?view=diff&rev=469842&r1=469841&r2=469842
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java Wed Nov  1 02:04:21 2006
 <at>  <at>  -391,8 +391,7  <at>  <at> 
         if (isPoolingEnabled) {
             for (int i = 0; i < tagHandlerPoolNames.size(); i++) {
                 out.printin(tagHandlerPoolNames.elementAt(i));
-                out
-                        .print(" = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(");
+                out.print(" = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(");
                 if (ctxt.isTagFile()) {
                     out.print("config");
                 } else {
 <at>  <at>  -562,8 +561,7  <at>  <at> 
         out.print(servletClassName);
         out.print(" extends ");
         out.println(pageInfo.getExtends());
(Continue reading)

remm | 1 Nov 11:59 2006
Picon

svn commit: r469855 - /tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Author: remm
Date: Wed Nov  1 02:59:20 2006
New Revision: 469855

URL: http://svn.apache.org/viewvc?view=rev&rev=469855
Log:
- For tag files, also put attributes in the wrapped jspContext.

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java?view=diff&rev=469855&r1=469854&r2=469855
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/Generator.java Wed Nov  1 02:59:20 2006
 <at>  <at>  -3559,8 +3559,7  <at>  <at> 
             throws JasperException {

         if (tagInfo.hasDynamicAttributes()) {
-            out
-                    .printil("private java.util.HashMap _jspx_dynamic_attrs = new java.util.HashMap();");
+            out.printil("private java.util.HashMap _jspx_dynamic_attrs = new java.util.HashMap();");
         }

         // Declare attributes
 <at>  <at>  -3619,6 +3618,14  <at>  <at> 
                 out.print(" = ");
                 out.print(attrInfos[i].getName());
                 out.println(";");
(Continue reading)

bugzilla | 1 Nov 13:29 2006
Picon

DO NOT REPLY [Bug 40860] New: - Tomcat loses request parameters

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40860>.
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=40860

           Summary: Tomcat loses request parameters
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: thiagocosta <at> infonet.com.br

Hi,

I’m having a problem with parameters loses in tomcat. It’s an intermittent
problem. That occurs when I do some ajax’s request and then I do one or more
form submissions. 

I put the tomcat in debug mode and  I observed the class CoyoteAdapter – the
method service(). There exists a request variable (CoyoteRequest type) that has
a protected variable requestParametersParsed that is a flag to parse or not
parse the parameters of a post or get. In the end of the method exists a
(Continue reading)

remm | 1 Nov 13:42 2006
Picon

svn commit: r469890 - in /tomcat/tc6.0.x/trunk/java/org/apache/jasper: compiler/TagFileProcessor.java resources/LocalStrings.properties

Author: remm
Date: Wed Nov  1 04:42:53 2006
New Revision: 469890

URL: http://svn.apache.org/viewvc?view=rev&rev=469890
Log:
- Check for some of the errors.

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java
    tomcat/tc6.0.x/trunk/java/org/apache/jasper/resources/LocalStrings.properties

Modified: tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java?view=diff&rev=469890&r1=469889&r2=469890
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/jasper/compiler/TagFileProcessor.java Wed Nov  1
04:42:53 2006
 <at>  <at>  -201,7 +201,9  <at>  <at> 
             }
             String deferredValueType = n.getAttributeValue("deferredValueType");
             if (deferredValueType != null) {
-                deferredValue = true;
+                if (!deferredValue) {
+                    err.jspError(n, "jsp.error.deferredvaluetypewithoutdeferredvalue");
+                }
             } else if (deferredValue) {
                 deferredValueType = "java.lang.Object";
             } else {
 <at>  <at>  -218,11 +220,17  <at>  <at> 
(Continue reading)


Gmane