DO NOT REPLY [Bug 33650] - Jasper performance for multiple files processing

2005-07-30 Thread bugzilla
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=33650.
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=33650





--- Additional Comments From [EMAIL PROTECTED]  2005-07-30 11:09 ---
another aspect to this: Bug 31645

-- 
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: Migration to Subversion

2005-07-30 Thread Henri Gomez
As one of the few, still having TC 3.3.x in production (hard to make
net admins move), I could see that I have no problem with JTC and JDK
1.4.x dependencies.

And as you say, JTC is optional in TC 3.3.x :)



2005/7/30, Bill Barker [EMAIL PROTECTED]:
 
 - Original Message -
 From: Mark Thomas [EMAIL PROTECTED]
 To: Tomcat Developers List tomcat-dev@jakarta.apache.org
 Sent: Friday, July 29, 2005 3:30 PM
 Subject: Re: Migration to Subversion
 
 
  Yoav Shapira wrote:
  
  Any and all comments appreciated. In particular:
  a. Should more 3.x.x versions should be included in 4  5 above?
  b. I have assumed that all releases before 5.5.x will use the 5.0 branch
  of the connectors. Is this assumption valid?
  
   I don't think so.  Some Tomcat 3.x versions, for example, already use
 the
   latest connectors that are also used by Tomcat 5.5.
 
  That is fine as long as you build and run on a 1.4+ JDK but when checking
 for
  1.3 compatibility the Coyote/HTTP connector fails. The root cause is the
 use
  of the 1.4 regexp API in o.a.coyote.http11.Http11Processor
  (http://marc.theaimsgroup.com/?l=tomcat-devm=109403344007532w=2).
 
 
 This is true.  However in TC 3.3 the Coyote connectors have always been
 optional.  That's why I've kept it using j-t-c HEAD even with the 1.4
 dependancy.  Of course, it's pretty mote until it's time to do a 3.3.3
 release ;-).
 
  Possible solutions:
  1. Use the 5.0 branch
  2. Revert the patch and go back to using jakarta-regexp
  3. Introduce an o.a.coyote.http11.tomcat4 package and place a copy of
  Http11Processor in it that uses jakarta-regexp.
 
  Pros/Cons
  1. Would mean an awful lot of porting.
  2. Quick but adds an unnecessary library to TC5 and leaves TC5 using two
  different regexp libs
  3. Relatively quick but would need some build.xml tweaking for TC5
 
  Unless anyone has a better idea, I'll crack on with 3 over the weekend.
 
 
 I've thought that it should be possible to do this with an Ant filter (so
 that you don't have to maintain a separate copy of the file).  I've always
 been too lazy to actually sit down and write it however. :).
 
  On the Subversion front, I have TC4 building with
 jakarta-tomcat-connectors
  HEAD and will commit it once I have finished testing the various connector
 and
  JVM combinations (I don't plan to provide APR support in TC4). Once I have
 got
  this out of the way, I'll work with Henri on the test Watchdog migration.
 
  Mark
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 This message is intended only for the use of the person(s) listed above as 
 the intended recipient(s), and may contain information that is PRIVILEGED and 
 CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, 
 or distribute this message or any attachment. If you received this 
 communication in error, please notify us immediately by e-mail and then 
 delete all copies of this message and any attachments.
 
 In addition you should be aware that ordinary (unencrypted) e-mail sent 
 through the Internet is not secure. Do not send confidential or sensitive 
 information, such as social security numbers, account numbers, personal 
 identification numbers and passwords, to us via ordinary (unencrypted) e-mail.
 
 
 -
 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: Migration to Subversion

2005-07-30 Thread Mark Thomas

Bill Barker wrote:

That is fine as long as you build and run on a 1.4+ JDK but when checking
for 1.3 compatibility the Coyote/HTTP connector fails. The root cause is
the use of the 1.4 regexp API in o.a.coyote.http11.Http11Processor
(http://marc.theaimsgroup.com/?l=tomcat-devm=109403344007532w=2).


This is true.  However in TC 3.3 the Coyote connectors have always been
optional.  That's why I've kept it using j-t-c HEAD even with the 1.4
dependancy.  Of course, it's pretty mote until it's time to do a 3.3.3
release ;-).


Ah. Didn't know that. That explains a few things.


Unless anyone has a better idea, I'll crack on with 3 over the weekend.


I've thought that it should be possible to do this with an Ant filter (so
that you don't have to maintain a separate copy of the file).  I've always
been too lazy to actually sit down and write it however. :).


Very cunning. I'll take a look at doing it this way.

Mark


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



cvs commit: jakarta-tomcat-connectors/util build.xml

2005-07-30 Thread markt
markt   2005/07/30 04:39:50

  Modified:coyote   build.xml
   util build.xml
  Log:
  Clean up content of coyote jars when building for TC4
  
  Revision  ChangesPath
  1.32  +2 -2  jakarta-tomcat-connectors/coyote/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/build.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- build.xml 6 Jan 2005 12:42:13 -   1.31
  +++ build.xml 30 Jul 2005 11:39:49 -  1.32
  @@ -277,7 +277,7 @@
   manifest=${build.home}/conf/MANIFEST.MF
 fileset dir=${build.home}/classes 
   exclude name=**/tomcat3/*/
  -!-- exclude name=**/tomcat4/*/ --
  +exclude name=**/tomcat4/*/
   exclude name=**/tomcat5/*/
   include name=org/apache/coyote/**/
 /fileset
  
  
  
  1.33  +3 -0  jakarta-tomcat-connectors/util/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/build.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- build.xml 15 Apr 2005 02:49:14 -  1.32
  +++ build.xml 30 Jul 2005 11:39:50 -  1.33
  @@ -62,8 +62,10 @@
   echo message=-- commons-logging = ${commons-logging.present}/
   echo message=-- jmx = ${jmx.present} ${jmx.jar}/
   echo message=-- modeler = ${modeler.present} 
${commons-modeler.jar}/
  +echo message=-- skip.digester = ${skip.digester} /
   echo message=-- JDK14 = ${jdk1.4.present}/
   echo message=-- JDK15 = ${jdk1.5.present} /
  +echo message=-- JDK15 = ${jdk1.5.present} /
   
   javac srcdir=java
   destdir=${tomcat-util.build}/classes
  @@ -82,6 +84,7 @@
   exclude name=**/util/net/jsse/JSSE14* unless=jdk1.4.present 
/
   exclude name=**/util/net/jsse/JSSE15* unless=jdk1.5.present 
/
   exclude name=**/util/net/jsse/JSSEKeyManager.java 
unless=jdk1.4.present /
  +exclude name=**/util/digester/* if=skip.digester /
   /javac
   
!-- Copy static resource files --
  
  
  

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



cvs commit: jakarta-tomcat-connectors/util build.xml

2005-07-30 Thread markt
markt   2005/07/30 04:54:44

  Modified:util build.xml
  Log:
  Remove duplication from previous commit
  
  Revision  ChangesPath
  1.34  +0 -1  jakarta-tomcat-connectors/util/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-connectors/util/build.xml,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- build.xml 30 Jul 2005 11:39:50 -  1.33
  +++ build.xml 30 Jul 2005 11:54:44 -  1.34
  @@ -65,7 +65,6 @@
   echo message=-- skip.digester = ${skip.digester} /
   echo message=-- JDK14 = ${jdk1.4.present}/
   echo message=-- JDK15 = ${jdk1.5.present} /
  -echo message=-- JDK15 = ${jdk1.5.present} /
   
   javac srcdir=java
   destdir=${tomcat-util.build}/classes
  
  
  

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



[EMAIL PROTECTED]: Project jakarta-tomcat-http11 (in module jakarta-tomcat-connectors) failed

2005-07-30 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project jakarta-tomcat-http11 has an issue affecting its community integration.
This issue affects 67 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- cocoon :  Java XML Framework
- cocoon-block-apples :  Java XML Framework
- cocoon-block-asciiart :  Java XML Framework
- cocoon-block-authentication-fw :  Java XML Framework
- cocoon-block-axis :  Java XML Framework
- cocoon-block-batik :  Java XML Framework
- cocoon-block-bsf :  Java XML Framework
- cocoon-block-chaperon :  Java XML Framework
- cocoon-block-cron :  Java XML Framework
- cocoon-block-databases :  Java XML Framework
- cocoon-block-deli :  Java XML Framework
- cocoon-block-eventcache :  Java XML Framework
- cocoon-block-faces :  Java XML Framework
- cocoon-block-fop :  Java XML Framework
- cocoon-block-forms :  Java XML Framework
- cocoon-block-hsqldb :  Java XML Framework
- cocoon-block-html :  Java XML Framework
- cocoon-block-itext :  Java XML Framework
- cocoon-block-javaflow :  Java XML Framework
- cocoon-block-jcr :  A jcr: protocol for Cocoon
- cocoon-block-jfor :  Java XML Framework
- cocoon-block-jms :  Java XML Framework
- cocoon-block-jsp :  Java XML Framework
- cocoon-block-linkrewriter :  Java XML Framework
- cocoon-block-lucene :  Java XML Framework
- cocoon-block-mail :  Java XML Framework
- cocoon-block-midi :  Java XML Framework
- cocoon-block-naming :  Java XML Framework
- cocoon-block-paranoid :  Java XML Framework
- cocoon-block-petstore :  Java XML Framework
- cocoon-block-portal :  Java XML Framework
- cocoon-block-profiler :  Java XML Framework
- cocoon-block-proxy :  Java XML Framework
- cocoon-block-python :  Java XML Framework
- cocoon-block-qdox :  Java XML Framework
- cocoon-block-repository :  Java XML Framework
- cocoon-block-scratchpad :  Java XML Framework
- cocoon-block-serializers :  Java XML Framework
- cocoon-block-session-fw :  Java XML Framework
- cocoon-block-slop :  Java XML Framework
- cocoon-block-spring-app :  A demo for Spring and Cocoon
- cocoon-block-stx :  Java XML Framework
- cocoon-block-taglib :  Java XML Framework
- cocoon-block-template :  Java XML Framework
- cocoon-block-tour :  Java XML Framework
- cocoon-block-velocity :  Java XML Framework
- cocoon-block-web3 :  Java XML Framework
- cocoon-block-xmldb :  Java XML Framework
- cocoon-block-xsp :  Java XML Framework
- db-torque :  Persistence Layer
- forrest :  Apache Forrest is an XML standards-oriented documentation fr...
- forrest-test :  Apache Forrest is an XML standards-oriented documentation 
fr...
- fulcrum-intake :  Services Framework
- fulcrum-security-adapter-turbine :  Services Framework
- jakarta-cactus-documentation :  Cactus Documentation
- jakarta-cactus-release-12 :  Unit test framework for server-side java code
- jakarta-cactus-release-13 :  Unit test framework for server-side java code
- jakarta-cactus-sample-servlet-12 :  Cactus Servlet Sample (J2EE 1.2)
- jakarta-jetspeed :  Enterprise Information Portal
- jakarta-tomcat :  Servlet 2.2 and JSP 1.1 Reference Implementation
- jakarta-tomcat-coyote-tomcat3 :  Connectors to various web servers
- jakarta-tomcat-http11 :  Connectors to various web servers
- jakarta-turbine-2 :  A servlet based framework.
- jakarta-turbine-3 :  A servlet based framework.
- jakarta-turbine-jcs :  Cache
- lenya :  Content Management System
- scarab :  Issue Tracking Built for the Ages


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-http11/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [tomcat-http11.jar] identifier set to project name
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-http11/gump_work/build_jakarta-tomcat-connectors_jakarta-tomcat-http11.html
Work Name: build_jakarta-tomcat-connectors_jakarta-tomcat-http11 (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 secs
Command Line: java -Djava.awt.headless=true org.apache.tools.ant.Main 
-Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dcommons-modeler.jar=/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-30072005.jar
 

[EMAIL PROTECTED]: Project jakarta-tomcat-http11 (in module jakarta-tomcat-connectors) failed

2005-07-30 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project jakarta-tomcat-http11 has an issue affecting its community integration.
This issue affects 67 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- cocoon :  Java XML Framework
- cocoon-block-apples :  Java XML Framework
- cocoon-block-asciiart :  Java XML Framework
- cocoon-block-authentication-fw :  Java XML Framework
- cocoon-block-axis :  Java XML Framework
- cocoon-block-batik :  Java XML Framework
- cocoon-block-bsf :  Java XML Framework
- cocoon-block-chaperon :  Java XML Framework
- cocoon-block-cron :  Java XML Framework
- cocoon-block-databases :  Java XML Framework
- cocoon-block-deli :  Java XML Framework
- cocoon-block-eventcache :  Java XML Framework
- cocoon-block-faces :  Java XML Framework
- cocoon-block-fop :  Java XML Framework
- cocoon-block-forms :  Java XML Framework
- cocoon-block-hsqldb :  Java XML Framework
- cocoon-block-html :  Java XML Framework
- cocoon-block-itext :  Java XML Framework
- cocoon-block-javaflow :  Java XML Framework
- cocoon-block-jcr :  A jcr: protocol for Cocoon
- cocoon-block-jfor :  Java XML Framework
- cocoon-block-jms :  Java XML Framework
- cocoon-block-jsp :  Java XML Framework
- cocoon-block-linkrewriter :  Java XML Framework
- cocoon-block-lucene :  Java XML Framework
- cocoon-block-mail :  Java XML Framework
- cocoon-block-midi :  Java XML Framework
- cocoon-block-naming :  Java XML Framework
- cocoon-block-paranoid :  Java XML Framework
- cocoon-block-petstore :  Java XML Framework
- cocoon-block-portal :  Java XML Framework
- cocoon-block-profiler :  Java XML Framework
- cocoon-block-proxy :  Java XML Framework
- cocoon-block-python :  Java XML Framework
- cocoon-block-qdox :  Java XML Framework
- cocoon-block-repository :  Java XML Framework
- cocoon-block-scratchpad :  Java XML Framework
- cocoon-block-serializers :  Java XML Framework
- cocoon-block-session-fw :  Java XML Framework
- cocoon-block-slop :  Java XML Framework
- cocoon-block-spring-app :  A demo for Spring and Cocoon
- cocoon-block-stx :  Java XML Framework
- cocoon-block-taglib :  Java XML Framework
- cocoon-block-template :  Java XML Framework
- cocoon-block-tour :  Java XML Framework
- cocoon-block-velocity :  Java XML Framework
- cocoon-block-web3 :  Java XML Framework
- cocoon-block-xmldb :  Java XML Framework
- cocoon-block-xsp :  Java XML Framework
- db-torque :  Persistence Layer
- forrest :  Apache Forrest is an XML standards-oriented documentation fr...
- forrest-test :  Apache Forrest is an XML standards-oriented documentation 
fr...
- fulcrum-intake :  Services Framework
- fulcrum-security-adapter-turbine :  Services Framework
- jakarta-cactus-documentation :  Cactus Documentation
- jakarta-cactus-release-12 :  Unit test framework for server-side java code
- jakarta-cactus-release-13 :  Unit test framework for server-side java code
- jakarta-cactus-sample-servlet-12 :  Cactus Servlet Sample (J2EE 1.2)
- jakarta-jetspeed :  Enterprise Information Portal
- jakarta-tomcat :  Servlet 2.2 and JSP 1.1 Reference Implementation
- jakarta-tomcat-coyote-tomcat3 :  Connectors to various web servers
- jakarta-tomcat-http11 :  Connectors to various web servers
- jakarta-turbine-2 :  A servlet based framework.
- jakarta-turbine-3 :  A servlet based framework.
- jakarta-turbine-jcs :  Cache
- lenya :  Content Management System
- scarab :  Issue Tracking Built for the Ages


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-http11/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [tomcat-http11.jar] identifier set to project name
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-tomcat-connectors/jakarta-tomcat-http11/gump_work/build_jakarta-tomcat-connectors_jakarta-tomcat-http11.html
Work Name: build_jakarta-tomcat-connectors_jakarta-tomcat-http11 (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 secs
Command Line: java -Djava.awt.headless=true org.apache.tools.ant.Main 
-Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dcommons-modeler.jar=/usr/local/gump/public/workspace/jakarta-commons/modeler/dist/commons-modeler-30072005.jar
 

[EMAIL PROTECTED]: Project jakarta-tomcat-4.0 (in module jakarta-tomcat-4.0) failed

2005-07-30 Thread Stefan Bodewig
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project jakarta-tomcat-4.0 has an issue affecting its community integration.
This issue affects 4 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- cargo :  Cargo provides a Java API to manipulate Java Containers
- jakarta-cactus-sample-jetty-13 :  Cactus Jetty Sample (J2EE 1.3)
- jakarta-cactus-sample-servlet-13 :  Cactus Servlet Sample (J2EE 1.3)
- jakarta-tomcat-4.0 :  Servlet 2.3 and JSP 1.2 Reference Implementation


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-tomcat-4.0/jakarta-tomcat-4.0/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Output [naming-resources.jar] identifier set to output basename: 
[naming-resources]
 -DEBUG- Output [servlets-default.jar] identifier set to output basename: 
[servlets-default]
 -DEBUG- Output [naming-common.jar] identifier set to output basename: 
[naming-common]
 -DEBUG- Output [catalina.jar] identifier set to output basename: [catalina]
 -DEBUG- Output [bootstrap.jar] identifier set to output basename: [bootstrap]
 -DEBUG- Output [servlets-common.jar] identifier set to output basename: 
[servlets-common]
 -DEBUG- Output [servlets-invoker.jar] identifier set to output basename: 
[servlets-invoker]
 -DEBUG- Dependency on javamail exists, no need to add for property mail.jar.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.jar.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.jar.
 -DEBUG- Dependency on jakarta-servletapi-4 exists, no need to add for property 
servlet.jar.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
xerces.jar.
 -DEBUG- Dependency on jakarta-tomcat-util exists, no need to add for property 
tomcat-util.jar.
 -DEBUG- Dependency on commons-logging exists, no need to add for property 
commons-logging-api.jar.
 -DEBUG- Dependency on ant exists, no need to add for property ant.home.
 -DEBUG- Dependency on jakarta-servletapi-4 exists, no need to add for property 
servlet.home.
 -DEBUG- Dependency on jsse exists, no need to add for property jsse.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmxtools.jar.
 -DEBUG- Dependency on jndi exists, no need to add for property jndi.home.
 -DEBUG- Dependency on javamail exists, no need to add for property mail.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property 
regexp.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property 
regexp.jar.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.home.
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-tomcat-4.0/jakarta-tomcat-4.0/gump_work/build_jakarta-tomcat-4.0_jakarta-tomcat-4.0.html
Work Name: build_jakarta-tomcat-4.0_jakarta-tomcat-4.0 (Type: Build)
Work ended in a state of : Failed
Elapsed: 16 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Djaas.jar=/usr/local/gump/packages/jaas1_0/lib/jaas.jar 
-Djmx.jar=/usr/local/gump/packages/jmx-1_2_1-bin/lib/jmxri.jar 
-Djmx.home=/usr/local/gump/packages/jmx-1_2_1-bin 
-Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Dregexp.jar=/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-30072005.jar
 -Dmail.home=/usr/local/gump/packages/javamail-1.3.2 
-Dant.home=/usr/local/gump/public/workspace/ant/dist 
-Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar
 
-Dxerces.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 
-Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30072005.jar
 -Dldap.jar=/usr/local/gump/packages/ldap-1_2_4/lib/ldap.jar 
-Djsse.home=/usr/local/gump/packages/jsse1.0.3 
-Dtomcat-coyote.jar=/usr/local/gump/public/workspace/jakarta-tomcat-connectors/coyote/build/lib/tomcat-coyote.jar
 -Dmail.jar=/usr/local/gump/packages/javamail-1.3.2/mail.jar 

[EMAIL PROTECTED]: Project jakarta-tomcat-4.0 (in module jakarta-tomcat-4.0) failed

2005-07-30 Thread Stefan Bodewig
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project jakarta-tomcat-4.0 has an issue affecting its community integration.
This issue affects 4 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- cargo :  Cargo provides a Java API to manipulate Java Containers
- jakarta-cactus-sample-jetty-13 :  Cactus Jetty Sample (J2EE 1.3)
- jakarta-cactus-sample-servlet-13 :  Cactus Servlet Sample (J2EE 1.3)
- jakarta-tomcat-4.0 :  Servlet 2.3 and JSP 1.2 Reference Implementation


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-tomcat-4.0/jakarta-tomcat-4.0/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Output [naming-resources.jar] identifier set to output basename: 
[naming-resources]
 -DEBUG- Output [servlets-default.jar] identifier set to output basename: 
[servlets-default]
 -DEBUG- Output [naming-common.jar] identifier set to output basename: 
[naming-common]
 -DEBUG- Output [catalina.jar] identifier set to output basename: [catalina]
 -DEBUG- Output [bootstrap.jar] identifier set to output basename: [bootstrap]
 -DEBUG- Output [servlets-common.jar] identifier set to output basename: 
[servlets-common]
 -DEBUG- Output [servlets-invoker.jar] identifier set to output basename: 
[servlets-invoker]
 -DEBUG- Dependency on javamail exists, no need to add for property mail.jar.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.jar.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.jar.
 -DEBUG- Dependency on jakarta-servletapi-4 exists, no need to add for property 
servlet.jar.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
xerces.jar.
 -DEBUG- Dependency on jakarta-tomcat-util exists, no need to add for property 
tomcat-util.jar.
 -DEBUG- Dependency on commons-logging exists, no need to add for property 
commons-logging-api.jar.
 -DEBUG- Dependency on ant exists, no need to add for property ant.home.
 -DEBUG- Dependency on jakarta-servletapi-4 exists, no need to add for property 
servlet.home.
 -DEBUG- Dependency on jsse exists, no need to add for property jsse.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmx.home.
 -DEBUG- Dependency on jmx exists, no need to add for property jmxtools.jar.
 -DEBUG- Dependency on jndi exists, no need to add for property jndi.home.
 -DEBUG- Dependency on javamail exists, no need to add for property mail.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property 
regexp.home.
 -DEBUG- Dependency on jakarta-regexp exists, no need to add for property 
regexp.jar.
 -DEBUG- Dependency on jaf exists, no need to add for property activation.home.
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-tomcat-4.0/jakarta-tomcat-4.0/gump_work/build_jakarta-tomcat-4.0_jakarta-tomcat-4.0.html
Work Name: build_jakarta-tomcat-4.0_jakarta-tomcat-4.0 (Type: Build)
Work ended in a state of : Failed
Elapsed: 16 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Djaas.jar=/usr/local/gump/packages/jaas1_0/lib/jaas.jar 
-Djmx.jar=/usr/local/gump/packages/jmx-1_2_1-bin/lib/jmxri.jar 
-Djmx.home=/usr/local/gump/packages/jmx-1_2_1-bin 
-Djdbc20ext.jar=/usr/local/gump/packages/jdbc2_0/jdbc2_0-stdext.jar 
-Dregexp.jar=/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-30072005.jar
 -Dmail.home=/usr/local/gump/packages/javamail-1.3.2 
-Dant.home=/usr/local/gump/public/workspace/ant/dist 
-Dservlet.jar=/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar
 
-Dxerces.jar=/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar
 
-Dcommons-collections.jar=/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30072005.jar
 -Dldap.jar=/usr/local/gump/packages/ldap-1_2_4/lib/ldap.jar 
-Djsse.home=/usr/local/gump/packages/jsse1.0.3 
-Dtomcat-coyote.jar=/usr/local/gump/public/workspace/jakarta-tomcat-connectors/coyote/build/lib/tomcat-coyote.jar
 -Dmail.jar=/usr/local/gump/packages/javamail-1.3.2/mail.jar 

DO NOT REPLY [Bug 35930] - Tomcat 5.5.10 not starting on Windows XP

2005-07-30 Thread bugzilla
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=35930.
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=35930





--- Additional Comments From [EMAIL PROTECTED]  2005-07-30 15:55 ---
Wouldn't it be a good thing to have this defined already after installation, 
like catalina.home? 

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



cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11AprProcessor.java Http11Processor.java

2005-07-30 Thread markt
markt   2005/07/30 09:18:14

  Modified:http11/src/java/org/apache/coyote/http11
Http11AprProcessor.java Http11Processor.java
  Log:
  Fix typo. Should also fix Gump.
  
  Revision  ChangesPath
  1.29  +1 -1  
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java
  
  Index: Http11AprProcessor.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11AprProcessor.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- Http11AprProcessor.java   29 Jul 2005 10:23:56 -  1.28
  +++ Http11AprProcessor.java   30 Jul 2005 16:18:14 -  1.29
  @@ -34,7 +34,7 @@
   import org.apache.coyote.Request;
   import org.apache.coyote.RequestInfo;
   import org.apache.coyote.Response;
  -import org.apache.coyote.ajp.Constants;
  +import org.apache.coyote.http11.Constants;
   import org.apache.coyote.http11.filters.ChunkedInputFilter;
   import org.apache.coyote.http11.filters.ChunkedOutputFilter;
   import org.apache.coyote.http11.filters.GzipOutputFilter;
  
  
  
  1.123 +1 -1  
jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java
  
  Index: Http11Processor.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v
  retrieving revision 1.122
  retrieving revision 1.123
  diff -u -r1.122 -r1.123
  --- Http11Processor.java  29 Jul 2005 10:23:56 -  1.122
  +++ Http11Processor.java  30 Jul 2005 16:18:14 -  1.123
  @@ -35,7 +35,7 @@
   import org.apache.coyote.Request;
   import org.apache.coyote.RequestInfo;
   import org.apache.coyote.Response;
  -import org.apache.coyote.ajp.Constants;
  +import org.apache.coyote.http11.Constants;
   import org.apache.coyote.http11.filters.ChunkedInputFilter;
   import org.apache.coyote.http11.filters.ChunkedOutputFilter;
   import org.apache.coyote.http11.filters.GzipOutputFilter;
  
  
  

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



DO NOT REPLY [Bug 35941] New: - Wrong remote IP reported when using AJP and APR

2005-07-30 Thread bugzilla
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=35941.
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=35941

   Summary: Wrong remote IP reported when using AJP and APR
   Product: Tomcat 5
   Version: 5.5.10
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: critical
  Priority: P2
 Component: Connector:AJP
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


When using AJP and APR, in the access-logs the address of the machine running
the httpd gets recorded as remote IP address and not the address of the machine
where the request originates (where the client browser runs on). 
ServletRequest#getRemoteAddress() shows the same behaviour.
What I consider more serious is that the RemoteAddrValve is rendered useless.

I've verified this on a stock Tomcat 5.5.10 binary distribution connected to an
Apache httpd 2.0.54 using JK-1.2.14.

-- 
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 35942] New: - NPE when calling ServletRequest#getAttribute(javax.servlet.request.cipher_suite)

2005-07-30 Thread bugzilla
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=35942.
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=35942

   Summary: NPE when calling
ServletRequest#getAttribute(javax.servlet.request.ciphe
r_suite)
   Product: Tomcat 5
   Version: 5.5.10
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Connector:AJP
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


When using AJP and APR, a NPE occurs in 
ServletRequest#getAttribute(javax.servlet.request.cipher_suite);
When accessing the bundeled example-servlet
/servlets-examples/servlet/RequestInfoExample
this can be observed.

The statcktrace:

java.lang.NullPointerException
at java.io.ByteArrayInputStream.init(ByteArrayInputStream.java:109)
at 
org.apache.coyote.ajp.AjpAprProcessor.action(AjpAprProcessor.java:651)
at org.apache.coyote.Request.action(Request.java:365)
at org.apache.catalina.connector.Request.getAttribute(Request.java:847)
at
org.apache.catalina.connector.RequestFacade.getAttribute(RequestFacade.java:260)
at RequestInfoExample.doGet(RequestInfoExample.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at filters.ExampleFilter.doFilter(ExampleFilter.java:101)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:513)
at
org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:588)
at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1182)
at java.lang.Thread.run(Thread.java:595)

I've verified this on a stock Tomcat 5.5.10 binary distribution connected to an
Apache httpd 2.0.54 using JK-1.2.14.

If APR is not used, no Exception is thrown.

-- 
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 35941] - Wrong remote IP reported when using AJP and APR

2005-07-30 Thread bugzilla
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=35941.
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=35941





--- Additional Comments From [EMAIL PROTECTED]  2005-07-30 18:27 ---
For completeness' sake I should mention:
if APR is not used, no Exception is thrown.

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



cvs commit: jakarta-tomcat-4.0/catalina build.xml

2005-07-30 Thread markt
markt   2005/07/30 09:30:17

  Modified:catalina build.xml
  Log:
  Get TC4 building with connectors HEAD
  
  Revision  ChangesPath
  1.138 +37 -2 jakarta-tomcat-4.0/catalina/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/build.xml,v
  retrieving revision 1.137
  retrieving revision 1.138
  diff -u -r1.137 -r1.138
  --- build.xml 8 Feb 2005 23:06:30 -   1.137
  +++ build.xml 30 Jul 2005 16:30:17 -  1.138
  @@ -23,6 +23,7 @@
 property name=tomcat-util.home   value=${jtc.home}/util/
 property name=tomcat-coyote.home value=${jtc.home}/coyote/
 property name=tomcat-jk.home value=${jtc.home}/jk/
  +  property name=tomcat-jni.homevalue=${jtc.home}/jni/
 property name=tomcat-webapp.home value=${jtc.home}/webapp/
 property name=tomcat-http11.home value=${jtc.home}/http11/
   
  @@ -42,6 +43,8 @@
  value=${tomcat-jk.home}/build/lib/tomcat-jni.jar/
 property name=jk2.properties
  value=${tomcat-jk.home}/build/conf/jk2.properties/
  +  property name=tomcat-apr.jar
  +   value=${tomcat-jni.home}/dist/tomcat-native-1.0.0.jar/
 property name=tomcat-warp.jar
  value=${tomcat-webapp.home}/build/tomcat-warp.jar/
 property name=tomcat-http11.jar
  @@ -791,13 +794,26 @@
 /target
   
   
  +  !-- === BUILD: Build tomcat-apr  
--
  +  target name=build-tomcat-apr
  +
  +ant dir=${tomcat-jni.home} target=jar inheritAll=false 
  +   property name=version value=1.0.0 /
  +/ant
  +
  +  /target
  +
  +
 !-- === BUILD: Build tomcat-util === 
--
  -  target name=build-tomcat-util
  +  target name=build-tomcat-util depends=build-tomcat-apr 
   
  -ant dir=${tomcat-util.home} target=build-main
  +ant dir=${tomcat-util.home} target=build-main inheritAll=false 
  property name=jmx.jar value=${jmx.jar} /
  property name=puretls.jar value=${puretls.jar} /
  property name=jsse.lib value=${jsse.lib} /
  +   property name=commons-logging.jar value=${commons-logging.jar} /
  +   property name=commons-modeler.jar value=${commons-modeler.jar} /
  +   property name=skip.digester value=true /
   /ant
   
   copy todir=${catalina.build}/server/lib
  @@ -886,6 +902,7 @@
 property name=commons-logging.jar value=${commons-logging.jar}/
 property name=jmx.jar value=${jmx.jar}/
 property name=servlet-api.jar value=${servlet.jar}/
  +  property name=tomcat-apr.jar value=${tomcat-apr.jar}/
   /ant
   
   copy todir=${catalina.deploy}/server/lib
  @@ -917,8 +934,25 @@
 !-- == BUILD: Build tomcat-coyote-http11 === 
--
 target name=build-tomcat-http11
   
  +!-- Replace 1.4 regexp with jakarta-regexp --
  +replace 
file=${tomcat-http11.home}/src/java/org/apache/coyote/http11/Http11Processor.java
  +  replacefilter
  + token=java.util.regex.Pattern
  + value=org.apache.regexp.RE /
  +  replacefilter
  + token=Pattern.compile
  + value=new RE /
  +  replacefilter
  + token=Pattern
  + value=RE /
  +  replacefilter
  + token=matcher(userAgentValue).matches()
  + value=match(userAgentValue) /
  +/replace
  +
   ant dir=${tomcat-http11.home} target=compile
 property name=commons-logging.jar value=${commons-logging.jar}/
  +  property name=tomcat-jni.jar value=${tomcat-apr.jar}/
   /ant
   
   copy todir=${catalina.deploy}/server/lib
  @@ -957,6 +991,7 @@
   ant dir=${tomcat-util.home} target=clean/
   ant dir=${tomcat-coyote.home} target=clean/
   ant dir=${tomcat-jk.home} target=clean/
  +ant dir=${tomcat-jni.home} target=clean/
   ant dir=${tomcat-webapp.home} target=clean/
   ant dir=${tomcat-http11.home} target=clean/
   
  
  
  

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



DO NOT REPLY [Bug 34771] - Unable to set maxHttpHeaderSize

2005-07-30 Thread bugzilla
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=34771.
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=34771





--- Additional Comments From [EMAIL PROTECTED]  2005-07-30 18:53 ---
For the record, TC4 now builds using HEAD from the connectors and the next
release of TC4 (whenever that might be) will use the same connectors as the most
recent stable 5.5.x release.

-- 
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 35943] New: - request.getRemoteUser() is not getting populated on first time frame requests

2005-07-30 Thread bugzilla
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=35943.
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=35943

   Summary: request.getRemoteUser() is not getting populated on
first time frame requests
   Product: Tomcat 5
   Version: 5.5.9
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Keywords: APIBug
  Severity: normal
  Priority: P2
 Component: Servlet  JSP API
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


We have following jsp as the first page of an application. Application is 
accesible only to the authorized users. What is happening is in the FrameSET 
JSP all the request.getRemoteUser() and request.isUserInRole(readonlyuser) 
are valid and correct.  
But the jsp's inside the frame, in this example, Top.jsp, Test.jsp is 
having the request.getRemoteUser() as null. This behavior happens only in the 
first time I access the application. If I refresh the main Frameset.jsp, each 
Frame's jsp has the correct value for request.getRemoteUser()

HTML
HEAD
TITLETest/TITLE
/HEAD
FRAMESET ROWS=73,100% framespacing=0 border=0 
frameborder=0
FRAME name=topframe src=Top.jsp marginwidth=0 
marginheight=0 SCROLLING=NO  NORESIZE/
FRAMESET cols=0,173,* framespacing=0 border=0 
frameborder=0
FRAME name=code src=Test.jsp 
marginwidth=0 marginheight=0/
FRAME name=contents src= marginwidth=0 
marginheight=0/
FRAME name=main src=blank.html 
marginwidth=0 marginheight=0/
/FRAMESET
/FRAMESET
/HTML

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



cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp AjpAprProcessor.java

2005-07-30 Thread remm
remm2005/07/30 14:19:58

  Modified:jk/java/org/apache/coyote/ajp AjpAprProcessor.java
  Log:
  - Add a check for null certificates message bytes (that I forgot to cut  
paste
somehow).
  - Handling of addresses was wrong: AJP passes the remote and local
addresses.
  
  Revision  ChangesPath
  1.15  +27 -100   
jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProcessor.java
  
  Index: AjpAprProcessor.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProcessor.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- AjpAprProcessor.java  29 Jul 2005 10:23:55 -  1.14
  +++ AjpAprProcessor.java  30 Jul 2005 21:19:58 -  1.15
  @@ -32,8 +32,6 @@
   import org.apache.coyote.Request;
   import org.apache.coyote.RequestInfo;
   import org.apache.coyote.Response;
  -import org.apache.tomcat.jni.Address;
  -import org.apache.tomcat.jni.Sockaddr;
   import org.apache.tomcat.jni.Socket;
   import org.apache.tomcat.jni.Status;
   import org.apache.tomcat.util.buf.ByteChunk;
  @@ -598,115 +596,44 @@
   
   } else if (actionCode == ActionCode.ACTION_REQ_SSL_ATTRIBUTE ) {
   
  -ByteChunk certData = certificates.getByteChunk();
  -ByteArrayInputStream bais = 
  -new ByteArrayInputStream(certData.getBytes(),
  - certData.getStart(),
  - certData.getLength());
  -
  -// Fill the first element.
  -X509Certificate jsseCerts[] = null;
  -try {
  -CertificateFactory cf =
  -CertificateFactory.getInstance(X.509);
  -X509Certificate cert = (X509Certificate)
  -cf.generateCertificate(bais);
  -jsseCerts =  new X509Certificate[1];
  -jsseCerts[0] = cert;
  -} catch(java.security.cert.CertificateException e) {
  -log.error(sm.getString(ajpprocessor.certs.fail), e);
  -return;
  -}
  -
  -request.setAttribute(AprEndpoint.CERTIFICATE_KEY, jsseCerts);
  -
  -} else if (actionCode == ActionCode.ACTION_REQ_HOST_ADDR_ATTRIBUTE) {
  -
  -// Get remote host address
  -if (remoteAddr == null) {
  +if (!certificates.isNull()) {
  +ByteChunk certData = certificates.getByteChunk();
  +X509Certificate jsseCerts[] = null;
  +ByteArrayInputStream bais = 
  +new ByteArrayInputStream(certData.getBytes(),
  +certData.getStart(),
  +certData.getLength());
  +// Fill the first element.
   try {
  -long sa = Address.get(Socket.APR_REMOTE, socket);
  -remoteAddr = Address.getip(sa);
  -} catch (Exception e) {
  -log.warn(sm.getString(ajpprocessor.socket.info), e);
  -}
  -}
  -request.remoteAddr().setString(remoteAddr);
  -
  -} else if (actionCode == ActionCode.ACTION_REQ_LOCAL_NAME_ATTRIBUTE) 
{
  -
  -// Get local host name
  -if (localName == null) {
  -try {
  -long sa = Address.get(Socket.APR_LOCAL, socket);
  -localName = Address.getnameinfo(sa, 0);
  -} catch (Exception e) {
  -log.warn(sm.getString(ajpprocessor.socket.info), e);
  +CertificateFactory cf =
  +CertificateFactory.getInstance(X.509);
  +X509Certificate cert = (X509Certificate)
  +cf.generateCertificate(bais);
  +jsseCerts = new X509Certificate[1];
  +jsseCerts[0] = cert;
  +request.setAttribute(AprEndpoint.CERTIFICATE_KEY, 
jsseCerts);
  +} catch (java.security.cert.CertificateException e) {
  +log.error(sm.getString(ajpprocessor.certs.fail), e);
  +return;
   }
   }
  -request.localName().setString(localName);
  -
  +
   } else if (actionCode == ActionCode.ACTION_REQ_HOST_ATTRIBUTE) {
   
  -// Get remote host name
  -if (remoteHost == null) {
  +// Get remote host name using a DNS resolution
  +if (request.remoteHost().isNull()) {
   try {
  -long sa = Address.get(Socket.APR_REMOTE, socket);
  -remoteHost = Address.getnameinfo(sa, 0);
  -} catch (Exception e) {
  -

DO NOT REPLY [Bug 35942] - NPE when calling ServletRequest#getAttribute(javax.servlet.request.cipher_suite)

2005-07-30 Thread bugzilla
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=35942.
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=35942


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




-- 
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 35941] - Wrong remote IP reported when using AJP and APR

2005-07-30 Thread bugzilla
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=35941.
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=35941


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




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



cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml

2005-07-30 Thread remm
remm2005/07/30 14:22:25

  Modified:.build.xml build.properties.default
   webapps/docs changelog.xml
  Log:
  - Add ready to build tomcat-native.tar.gz in bin that Mladen built.
  
  Revision  ChangesPath
  1.232 +8 -0  jakarta-tomcat-5/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.xml,v
  retrieving revision 1.231
  retrieving revision 1.232
  diff -u -r1.231 -r1.232
  --- build.xml 27 Jul 2005 15:11:09 -  1.231
  +++ build.xml 30 Jul 2005 21:22:24 -  1.232
  @@ -158,6 +158,8 @@
   copy todir=${tomcat.build}/bin file=${commons-daemon.jsvc.tar.gz} 
   failonerror=false /
   
  +copy todir=${tomcat.build}/bin file=${tomcat-native.tar.gz} /
  + 
   !-- copy todir=${tomcat.build}/common/lib file=${ant.jar}/
   copy todir=${tomcat.build}/common/lib file=${ant-launcher.jar}/ --
copy todir=${tomcat.build}/common/lib 
file=${jasper-compiler-jdt.jar}/
  @@ -1891,6 +1893,12 @@
 param name=destfile value=${saxpath.jar}/
   /antcall
   
  +antcall target=downloadfile
  +  param name=sourcefile value=${tomcat-native.loc}/
  +  param name=destfile value=${tomcat-native.tar.gz}/
  +  param name=destdir value=${tomcat-native.home}/
  +/antcall
  +
   !-- Build the dependencies that are not yet released --
   antcall target=build-depends/
   
  
  
  
  1.152 +8 -1  jakarta-tomcat-5/build.properties.default
  
  Index: build.properties.default
  ===
  RCS file: /home/cvs/jakarta-tomcat-5/build.properties.default,v
  retrieving revision 1.151
  retrieving revision 1.152
  diff -u -r1.151 -r1.152
  --- build.properties.default  27 Jul 2005 22:16:25 -  1.151
  +++ build.properties.default  30 Jul 2005 21:22:24 -  1.152
  @@ -145,6 +145,13 @@
   jdt.jar=${jdt.lib}/org.eclipse.jdt.core_3.1.0.jar
   
jdt.loc=http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1-200506271435/eclipse-JDT-3.1.zip
   
  +
  +# - Tomcat native library -
  +tomcat-native.home=${base.path}/tomcat-native-1.0
  +tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz
  
+tomcat-native.loc=${base-jakarta.loc}/tomcat-connectors/jni/tomcat-native.tar.gz
  +
  +
   # --
   #  CORE OPTIONAL LIBRARIES
   # --
  
  
  
  1.347 +13 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.346
  retrieving revision 1.347
  diff -u -r1.346 -r1.347
  --- changelog.xml 28 Jul 2005 14:01:49 -  1.346
  +++ changelog.xml 30 Jul 2005 21:22:25 -  1.347
  @@ -32,6 +32,12 @@
 update
   Update to Xerces 2.7.1 (remm)
 /update
  +  add
  +Add ready to build bin/tomcat-native.tar.gz for the APR JNI wrapper 
library (remm)
  +  /add
  +  fix
  +bug35930/bug: Bad logging config used by the Tomcat Windows 
service (remm)
  +  /fix
   /changelog
 /subsection
 
  @@ -72,6 +78,13 @@
 fix
   Fix output buffering for APR AJP implementation. (remm)
 /fix
  +  fix
  +bug35941/bug: Fix getRemoteAddr for APR AJP implementation. 
(remm)
  +  /fix
  +  fix
  +bug35942/bug: Fix NPE retriving cipher suite attribute when no 
certificate 
  +was submitted (for example with no SSL). (remm)
  +  /fix
/changelog
 /subsection
   
  
  
  

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



cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp AjpAprProcessor.java

2005-07-30 Thread remm
remm2005/07/30 15:22:58

  Modified:jk/java/org/apache/coyote/ajp AjpAprProcessor.java
  Log:
  - Remove now uneeded code.
  
  Revision  ChangesPath
  1.16  +0 -84 
jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProcessor.java
  
  Index: AjpAprProcessor.java
  ===
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/coyote/ajp/AjpAprProcessor.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- AjpAprProcessor.java  30 Jul 2005 21:19:58 -  1.15
  +++ AjpAprProcessor.java  30 Jul 2005 22:22:57 -  1.16
  @@ -139,12 +139,6 @@
   
   
   /**
  - * Char version of the message header.
  - */
  -//protected char[] headerChar = new char[8*1024];
  -
  -
  -/**
* Body message.
*/
   protected AjpMessage bodyMessage = new AjpMessage();
  @@ -169,54 +163,12 @@
   
   
   /**
  - * Is there an expectation ?
  - */
  -protected boolean expectation = false;
  -
  -
  -/**
* Socket associated with the current connection.
*/
   protected long socket;
   
   
   /**
  - * Remote Address associated with the current connection.
  - */
  -protected String remoteAddr = null;
  -
  -
  -/**
  - * Remote Host associated with the current connection.
  - */
  -protected String remoteHost = null;
  -
  -
  -/**
  - * Local Host associated with the current connection.
  - */
  -protected String localName = null;
  -
  -
  -/**
  - * Local port to which the socket is connected
  - */
  -protected int localPort = -1;
  -
  -
  -/**
  - * Remote port to which the socket is connected
  - */
  -protected int remotePort = -1;
  -
  -
  -/**
  - * The local Host address.
  - */
  -protected String localAddr = null;
  -
  -
  -/**
* Host name (used to avoid useless B2C conversion on the host name).
*/
   protected char[] hostNameC = new char[0];
  @@ -382,13 +334,6 @@
   thrA.setCurrentStage(endpoint, parsing http request);
   rp.setStage(org.apache.coyote.Constants.STAGE_PARSE);
   
  -// Set the remote address
  -remoteAddr = null;
  -remoteHost = null;
  -localAddr = null;
  -remotePort = -1;
  -localPort = -1;
  -
   // Setting up the socket
   this.socket = socket;
   
  @@ -531,18 +476,6 @@
   error = true;
   }
   
  -} else if (actionCode == ActionCode.ACTION_ACK) {
  -
  -// Acknowlege request
  -
  -// Send a 100 status back if it makes sense (response not 
committed
  -// yet, and client specified an expectation for 100-continue)
  -
  -if ((response.isCommitted()) || !expectation)
  -return;
  -
  -// No expectations in AJP
  -
   } else if (actionCode == ActionCode.ACTION_CLIENT_FLUSH) {
   
   if (!response.isCommitted()) {
  @@ -576,16 +509,6 @@
   error = true;
   }
   
  -} else if (actionCode == ActionCode.ACTION_RESET) {
  -
  -// Reset response
  -
  -// Note: This must be called before the response is committed
  -
  -} else if (actionCode == ActionCode.ACTION_CUSTOM) {
  -
  -// Do nothing
  -
   } else if (actionCode == ActionCode.ACTION_START) {
   
   started = true;
  @@ -826,13 +749,6 @@
new 
Integer(requestHeaderMessage.getInt()));
   break;
   
  -// FIXME: no usage for secret attribute here
  -/*
  -case Constants.SC_A_SECRET :
  -requestHeaderMessage.getBytes(tmpMB);
  -break;
  -*/
  -
   case Constants.SC_A_STORED_METHOD:
   requestHeaderMessage.getBytes(request.method()); 
   break;
  
  
  

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



DO NOT REPLY [Bug 35791] - binary streaming / content-type problem with mod_jk ?

2005-07-30 Thread bugzilla
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=35791.
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=35791


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|Connector:AJP   |Connector:HTTP




-- 
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 35791] - binary streaming / content-type problem with mod_jk ?

2005-07-30 Thread bugzilla
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=35791.
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=35791


[EMAIL PROTECTED] changed:

   What|Removed |Added

 OS/Version|All |Windows XP




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