Re: WebSocket TODOs

2012-02-25 Thread markt
Mark Thomas  wrote:

>On 23/02/2012 12:42, Mark Thomas wrote:
>> All,
>> 
>> The bulk of the WebSocket implementation is complete. There are,
>> however, still quite a few TODOs.

>> 3. Autobhan performance failures. Not all these tests are completing.
>> Need to figure out why.
>The implementation is horribly slow. See point 6.

Fixed. Still scope for improvement.

>> 4. i18n. Fix all the TODOs and ensure there are no hard-coded English
>> messages.

Fixed.

>> 5. Threading. Fix the TODOs associated around multiple threads trying
>to
>> send messages at the same time.

Still to do.

>> 6. Profiling. Take a look with YourKit and Autobahn's performance
>tests.
>> If there are obvious bottlenecks, fix them.

Mostly fixed. Performance for lots of small messages is still terrible but I 
haven't added any buffering yet and that should help a lot. There are a few 
obvious bottle necks I want to fix before i add the buffering.
 
>> 7. Add some documentation but mainly rely on the examples and the
>Javadoc.

Still to do.

Getting there.

Mark


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Native components builds on Gump

2012-02-25 Thread Stefan Bodewig
On 2012-02-25, Bill Barker wrote:

> Yes, the version of HTTPD that Gump builds mod_jk against is
> trunk. Similarly for the version of APR and APR-UTIL.  So what the
> errors are telling the Tomcat community is that there will need to be
> changes to mod_jk once the next major version of HTTPD is released.

Not sure whether trunk's API is different from 2.4.x.

> This is also why I never set up a build for tomcat-native, since I
> didn't think it would build against APR trunk.  Of course, any ASF
> committer can set up a build of a branch of HTTPD, APR, etc.  to run
> in Gump. I understand Mladen's concern that Gump only covers Linux,
> Solaris, and OS/X but some coverage is still better than none IMHO.

Just nitpicking (I agree with all you said) gump.zones.apache.org runs
on FreeBSD 8.2 rather than Solaris by now.

Stefan

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52767] New: Potential Bug or Inconsistency in JDBCRealm.java and JDBCAccessLogValve.java

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52767

 Bug #: 52767
   Summary: Potential Bug or Inconsistency in JDBCRealm.java and
JDBCAccessLogValve.java
   Product: Tomcat 7
   Version: trunk
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: msrbugzi...@gmail.com
Classification: Unclassified


This is Ken Cheung, a Computer Science M.Phil. student. I observed some
code clones in Tomcat and found inconsistent code:

/tomcat/trunk/java/org/apache/catalina/realm/JDBCRealm.java

676if (driver == null) {
677try {
678Class clazz = Class.forName(driverName);
679driver = (Driver) clazz.newInstance();
680} catch (Throwable e) {
681ExceptionUtils.handleThrowable(e);
682throw new SQLException(e.getMessage(), e);
683}
684}
685
686// Open a new connection
687Properties props = new Properties();
688if (connectionName != null)
689props.put("user", connectionName);
690if (connectionPassword != null)
691props.put("password", connectionPassword);
692dbConnection = driver.connect(connectionURL, props);

/tomcat/trunk/java/org/apache/catalina/valves/JDBCAccessLogValve.java

566if (driver == null) {
567try {
568Class clazz = Class.forName(driverName);
569driver = (Driver) clazz.newInstance();
570} catch (Throwable e) {
571ExceptionUtils.handleThrowable(e);
572throw new SQLException(e.getMessage(), e);
573}
574}
575
576// Open a new connection
577Properties props = new Properties();
578props.put("autoReconnect", "true");
579if (connectionName != null) {
580props.put("user", connectionName);
581}
582if (connectionPassword != null) {
583props.put("password", connectionPassword);
584}
585conn = driver.connect(connectionURL, props);

Quick description of the inconsistency
Two code snippets are very similar code, but as you see, in JDBCRealm.java does
not use "props.put("autoReconnect", "true")" while JDBCAccessLogValve.java has.

We thought it could be a potential bug or inconsistency. Hope this helps.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52768] New: Potential Bug or Inconsistency in AprEndpoint.java and JIoEndpoint.java

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52768

 Bug #: 52768
   Summary: Potential Bug or Inconsistency in AprEndpoint.java and
JIoEndpoint.java
   Product: Tomcat 7
   Version: trunk
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: msrbugzi...@gmail.com
Classification: Unclassified


This is Ken Cheung, a Computer Science M.Phil. student. I observed some
code clones in Tomcat and found inconsistent code:

/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java

1048try {
1049Thread.sleep(1000);
1050} catch (InterruptedException e) {
1051// Ignore
1052}
1053long now = System.currentTimeMillis();
1054Iterator> sockets =
1055waitingRequests.iterator();
1056while (sockets.hasNext()) {
1057SocketWrapper socket = sockets.next();
1058if (socket.async) {
1059long access = socket.getLastAccess();
1060if (socket.getTimeout() > 0 &&
1061(now-access)>socket.getTimeout()) {
1062   
processSocketAsync(socket,SocketStatus.TIMEOUT);
1063}
1064}
1065}

/tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java

147try {
148Thread.sleep(1000);
149} catch (InterruptedException e) {
150// Ignore
151}
152long now = System.currentTimeMillis();
153Iterator> sockets =
154waitingRequests.iterator();
155while (sockets.hasNext()) {
156SocketWrapper socket = sockets.next();
157long access = socket.getLastAccess();
158if (socket.getTimeout() > 0 &&
159(now-access)>socket.getTimeout()) {
160processSocketAsync(socket,SocketStatus.TIMEOUT);
161}
162}

Quick description of the inconsistency
Two code snippets are very similar code, but as you see, in JIoEndpoint.java
does not check "if (socket.async)" while AprEndpoint.java has the checker.

We thought it could be a potential bug or inconsistency. Hope this helps.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52769] New: Potential Bug or Inconsistency in AjpMessage.java

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52769

 Bug #: 52769
   Summary: Potential Bug or Inconsistency in AjpMessage.java
   Product: Tomcat 7
   Version: trunk
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: msrbugzi...@gmail.com
Classification: Unclassified


This is Ken Cheung, a Computer Science M.Phil. student. I observed some
code clones in Tomcat and found inconsistent code:

/tomcat/trunk/java/org/apache/coyote/ajp/AjpMessage.java

195if (cc == null) {
196log.error(sm.getString("ajpmessage.null"),
197new NullPointerException());
198appendInt(0);
199appendByte(0);
200return;
201}
202int start = cc.getStart();
203int end = cc.getEnd();
204appendInt(end - start);
205char[] cbuf = cc.getBuffer();
206for (int i = start; i < end; i++) {
207char c = cbuf[i];
208// Note:  This is clearly incorrect for many strings,
209// but is the only consistent approach within the current
210// servlet framework.  It must suffice until servlet output
211// streams properly encode their output.
212if (((c <= 31) && (c != 9)) || c == 127 || c > 255) {
213c = ' ';
214}
215appendByte(c);
216}
217appendByte(0);

/tomcat/trunk/java/org/apache/coyote/ajp/AjpMessage.java

230if (str == null) {
231log.error(sm.getString("ajpmessage.null"),
232new NullPointerException());
233appendInt(0);
234appendByte(0);
235return;
236}
237int len = str.length();
238appendInt(len);
239for (int i = 0; i < len; i++) {
240char c = str.charAt (i);
241// Note:  This is clearly incorrect for many strings,
242// but is the only consistent approach within the current
243// servlet framework.  It must suffice until servlet output
244// streams properly encode their output.
245if (((c <= 31) && (c != 9)) || c == 127 || c > 255) {
246c = ' ';
247}
248appendByte(c);
249}
250appendByte(0);

Quick description of the inconsistency
Two code snippets are very similar code, but as you see, both codes use
different ways to compute the condition of for loop.

We thought it could be a potential bug or inconsistency. Hope this helps.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52770] New: Potential Bug or Inconsistency in NioBlockingSelector.java

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52770

 Bug #: 52770
   Summary: Potential Bug or Inconsistency in
NioBlockingSelector.java
   Product: Tomcat 7
   Version: trunk
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: msrbugzi...@gmail.com
Classification: Unclassified


This is Ken Cheung, a Computer Science M.Phil. student. I observed some
code clones in Tomcat and found inconsistent code:

/tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java

103try {
104if ( att.getWriteLatch()==null ||
att.getWriteLatch().getCount()==0) att.startWriteLatch(1);
105poller.add(att,SelectionKey.OP_WRITE,reference);
106   
att.awaitWriteLatch(writeTimeout,TimeUnit.MILLISECONDS);
107}catch (InterruptedException ignore) {
108Thread.interrupted();
109}
110if ( att.getWriteLatch()!=null &&
att.getWriteLatch().getCount()> 0) {
111//we got interrupted, but we haven't received
notification from the poller.
112keycount = 0;
113}else {
114//latch countdown has happened
115keycount = 1;
116att.resetWriteLatch();
117}
118
119if (writeTimeout > 0 && (keycount == 0))
120timedout = (System.currentTimeMillis() - time) >=
writeTimeout;

/tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java

164try {
165if ( att.getReadLatch()==null ||
att.getReadLatch().getCount()==0) att.startReadLatch(1);
166poller.add(att,SelectionKey.OP_READ, reference);
167if (readTimeout < 0) {
168att.awaitReadLatch(Long.MAX_VALUE,
TimeUnit.MILLISECONDS);
169} else {
170att.awaitReadLatch(readTimeout,
TimeUnit.MILLISECONDS);
171}
172}catch (InterruptedException ignore) {
173Thread.interrupted();
174}
175if ( att.getReadLatch()!=null &&
att.getReadLatch().getCount()> 0) {
176//we got interrupted, but we haven't received
notification from the poller.
177keycount = 0;
178}else {
179//latch countdown has happened
180keycount = 1;
181att.resetReadLatch();
182}
183if (readTimeout >= 0 && (keycount == 0))
184timedout = (System.currentTimeMillis() - time) >=
readTimeout;

Quick description of the inconsistency
Two code snippets are very similar code, but as you see, the first code does
not check "if (readTimeout < 0)" while the second code has the checker.

We thought it could be a potential bug or inconsistency. Hope this helps.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Restart taglibs release

2012-02-25 Thread Jeremy Boynes
I intend restart work on getting a release out of taglibs. Before I went on 
hiatus there were issues with building on Maven3.0 but it looks like those have 
been fixed as it now builds cleanly for me. There is one new bug #51234 related 
to formatNumber but I plan to mark that as wontfix due to spec requirements.

I plan to start by publishing new snapshots and rerunning the TCK and if there 
are no issues kick off a production release.

--
Jeremy


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1293651 - /tomcat/taglibs/taglibs-parent/trunk/pom.xml

2012-02-25 Thread jboynes
Author: jboynes
Date: Sat Feb 25 17:14:47 2012
New Revision: 1293651

URL: http://svn.apache.org/viewvc?rev=1293651&view=rev
Log:
update to latest Apache pom

Modified:
tomcat/taglibs/taglibs-parent/trunk/pom.xml

Modified: tomcat/taglibs/taglibs-parent/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/taglibs/taglibs-parent/trunk/pom.xml?rev=1293651&r1=1293650&r2=1293651&view=diff
==
--- tomcat/taglibs/taglibs-parent/trunk/pom.xml (original)
+++ tomcat/taglibs/taglibs-parent/trunk/pom.xml Sat Feb 25 17:14:47 2012
@@ -23,7 +23,7 @@
   
 org.apache
 apache
-9
+10
   
 
   org.apache.taglibs



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1293655 - /tomcat/taglibs/standard/trunk/

2012-02-25 Thread jboynes
Author: jboynes
Date: Sat Feb 25 17:49:16 2012
New Revision: 1293655

URL: http://svn.apache.org/viewvc?rev=1293655&view=rev
Log:
ignore IDEA directories as well as module files

Modified:
tomcat/taglibs/standard/trunk/   (props changed)

Propchange: tomcat/taglibs/standard/trunk/
--
--- svn:ignore (original)
+++ svn:ignore Sat Feb 25 17:49:16 2012
@@ -1,3 +1,4 @@
-*.iml
 target
+.idea
+*.iml
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Tomcat Wiki] Trivial Update of "Logging_Tutorial" by GlenIhrig

2012-02-25 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "Logging_Tutorial" page has been changed by GlenIhrig:
http://wiki.apache.org/tomcat/Logging_Tutorial?action=diff&rev1=6&rev2=7

  
  = Primer On java.util.logging and JULI =
  
- The goal of this primer is to demonstrate how to to log with 
+ The goal of this primer is to demonstrate how to log with 
  java.util.logging, as implemented by JULI, as a backdrop to the rest of the 
tutorial, 
  in particular
  the sections related to configuring Tomcat logging with the configuration 
file.
@@ -33, +33 @@

  the above concepts / classes extensively.  
  
  Lets start with Loggers.
- What's the purpose of a Logger?  A Logger is what a developer uses to write a 
log statements 
+ What's the purpose of a Logger?  A Logger is what a developer uses to write 
log statements 
  to the console, to a file, to the network, etc.  If you wanted to log 
something from
  your web application's class CriticalComponent using java.util.logging you 
would 
  first create a logger like this:
@@ -50, +50 @@

  
  Pay attention to how we defined the name of the Logger.  This is important
  to the material explaining Tomcat's logging configuration.  You may also
- want to think about why the myLogger is a static field (Hint myLogger is 
shared
+ want to think about why myLogger is a static field (Hint myLogger is shared
  among all instances of CriticalComponent).
  
  Now you have a logger to create logging messages from your class 
CriticalComponent.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Tomcat Wiki] Trivial Update of "Logging_Tutorial" by GlenIhrig

2012-02-25 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "Logging_Tutorial" page has been changed by GlenIhrig:
http://wiki.apache.org/tomcat/Logging_Tutorial?action=diff&rev1=7&rev2=8

  is called, it will get logged because the level
  intrinsic to the method severe is greater than 3.  So you are following this, 
but wondering
  how myLogger's level got set to 3 (INFO), since we never explicitly set it.  
The answer
- is that it comes the root Logger.  Now suppose you created logger named 
'com.example.myapp'
+ is that it comes from the root Logger.  Now suppose you created logger named 
'com.example.myapp'
  and set its level.  Would myLogger still get its level from the root Logger.  
It would not.
  The reason is that the logger named 'com.example.myapp' is now a parent 
logger to myLogger,
  and myLogger gets its level from it instead.  How did the 'com.example.myapp' 
Logger

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 51234] NumberFormatException in fmt:formatNumber tag

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51234

Jeremy Boynes  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #5 from Jeremy Boynes  2012-02-25 19:46:41 UTC 
---
Resolving as WONTFIX as the spec defines what we must do here.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Tomcat Wiki] Trivial Update of "Logging_Tutorial" by GlenIhrig

2012-02-25 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "Logging_Tutorial" page has been changed by GlenIhrig:
http://wiki.apache.org/tomcat/Logging_Tutorial?action=diff&rev1=8&rev2=9

Comment:
Added clarification on the definition of 'myLogger'

  is called, it will get logged because the level
  intrinsic to the method severe is greater than 3.  So you are following this, 
but wondering
  how myLogger's level got set to 3 (INFO), since we never explicitly set it.  
The answer
- is that it comes from the root Logger.  Now suppose you created logger named 
'com.example.myapp'
+ is that it comes from the root Logger.  
+ 
- and set its level.  Would myLogger still get its level from the root Logger.  
It would not.
+ Now suppose you created a logger named 'com.example.myapp' and set its level. 
 Would myLogger still get its level from the root Logger.  It would not.
+ 
  The reason is that the logger named 'com.example.myapp' is now a parent 
logger to myLogger,
  and myLogger gets its level from it instead.  How did the 'com.example.myapp' 
Logger
- become a parent?
- It's because of its name 'com.example.myapp'.  If it were named 
'org.charity.generous', it
+ become a parent? It's because of its name 'com.example.myapp'.  If it were 
named 'org.charity.generous', it
+ would not be a parent logger.  Do you see the pattern (myLogger = 
Logger.getLogger('com.example.myapp.CriticalComponent') includes 
'com.example.myapp' in its name)?  
- would not be a parent logger.  Do you see the pattern (myLogger includes 
'com.example.myapp'
- in its name)?  
  
  Now that we mulled that over you have an idea of what a level is as well.  
The Level
  determines what gets logged.  You can set the level directly on myLogger like 
this:

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Restart taglibs release

2012-02-25 Thread Jeremy Boynes
Updated snapshots have been deployed and pass the TCK on Tomcat 6.0.35 so I am 
going to start the release process. The first vote will be for the parent pom 
that describes the project structures - this will help me validate I have the 
process working. Once that passes, I'll stage the actual artifacts and call a 
vote on them.

Cheers
Jeremy

On Feb 25, 2012, at 9:14 AM, Jeremy Boynes wrote:

> I intend restart work on getting a release out of taglibs. Before I went on 
> hiatus there were issues with building on Maven3.0 but it looks like those 
> have been fixed as it now builds cleanly for me. There is one new bug #51234 
> related to formatNumber but I plan to mark that as wontfix due to spec 
> requirements.
> 
> I plan to start by publishing new snapshots and rerunning the TCK and if 
> there are no issues kick off a production release.
> 
> --
> Jeremy
> 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1293675 - /tomcat/taglibs/taglibs-parent/trunk/pom.xml

2012-02-25 Thread jboynes
Author: jboynes
Date: Sat Feb 25 20:10:37 2012
New Revision: 1293675

URL: http://svn.apache.org/viewvc?rev=1293675&view=rev
Log:
[maven-release-plugin] prepare release taglibs-parent-1

Modified:
tomcat/taglibs/taglibs-parent/trunk/pom.xml

Modified: tomcat/taglibs/taglibs-parent/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/taglibs/taglibs-parent/trunk/pom.xml?rev=1293675&r1=1293674&r2=1293675&view=diff
==
--- tomcat/taglibs/taglibs-parent/trunk/pom.xml (original)
+++ tomcat/taglibs/taglibs-parent/trunk/pom.xml Sat Feb 25 20:10:37 2012
@@ -15,10 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
 -->
-http://maven.apache.org/POM/4.0.0";
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
   4.0.0
   
 org.apache
@@ -28,7 +25,7 @@
 
   org.apache.taglibs
   taglibs-parent
-  1-SNAPSHOT
+  1
   Apache Taglibs Parent
   pom
 
@@ -47,9 +44,9 @@
   
 
   
-
scm:svn:http://svn.apache.org/repos/asf/tomcat/taglibs/taglibs-parent/trunk
-
scm:svn:https://svn.apache.org/repos/asf/tomcat/taglibs/taglibs-parent/trunk
-http://svn.apache.org/viewvc/tomcat/taglibs/taglibs-parent/trunk
+
scm:svn:http://svn.apache.org/repos/asf/tomcat/taglibs/taglibs-parent/tags/taglibs-parent-1
+
scm:svn:https://svn.apache.org/repos/asf/tomcat/taglibs/taglibs-parent/tags/taglibs-parent-1
+
http://svn.apache.org/viewvc/tomcat/taglibs/taglibs-parent/tags/taglibs-parent-1
   
 
   



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1293677 - /tomcat/taglibs/taglibs-parent/trunk/pom.xml

2012-02-25 Thread jboynes
Author: jboynes
Date: Sat Feb 25 20:10:40 2012
New Revision: 1293677

URL: http://svn.apache.org/viewvc?rev=1293677&view=rev
Log:
[maven-release-plugin] prepare for next development iteration

Modified:
tomcat/taglibs/taglibs-parent/trunk/pom.xml

Modified: tomcat/taglibs/taglibs-parent/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/taglibs/taglibs-parent/trunk/pom.xml?rev=1293677&r1=1293676&r2=1293677&view=diff
==
--- tomcat/taglibs/taglibs-parent/trunk/pom.xml (original)
+++ tomcat/taglibs/taglibs-parent/trunk/pom.xml Sat Feb 25 20:10:40 2012
@@ -25,7 +25,7 @@
 
   org.apache.taglibs
   taglibs-parent
-  1
+  2-SNAPSHOT
   Apache Taglibs Parent
   pom
 
@@ -44,9 +44,9 @@
   
 
   
-
scm:svn:http://svn.apache.org/repos/asf/tomcat/taglibs/taglibs-parent/tags/taglibs-parent-1
-
scm:svn:https://svn.apache.org/repos/asf/tomcat/taglibs/taglibs-parent/tags/taglibs-parent-1
-
http://svn.apache.org/viewvc/tomcat/taglibs/taglibs-parent/tags/taglibs-parent-1
+
scm:svn:http://svn.apache.org/repos/asf/tomcat/taglibs/taglibs-parent/trunk
+
scm:svn:https://svn.apache.org/repos/asf/tomcat/taglibs/taglibs-parent/trunk
+http://svn.apache.org/viewvc/tomcat/taglibs/taglibs-parent/trunk
   
 
   



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1293676 - /tomcat/taglibs/taglibs-parent/tags/taglibs-parent-1/

2012-02-25 Thread jboynes
Author: jboynes
Date: Sat Feb 25 20:10:39 2012
New Revision: 1293676

URL: http://svn.apache.org/viewvc?rev=1293676&view=rev
Log:
[maven-release-plugin]  copy for tag taglibs-parent-1

Added:
tomcat/taglibs/taglibs-parent/tags/taglibs-parent-1/
  - copied from r1293675, tomcat/taglibs/taglibs-parent/trunk/


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[VOTE] Release Apache Taglibs Parent POM 1

2012-02-25 Thread Jeremy Boynes
The proposed Apache Taglibs Parent POM v1 release is now available for voting.

This contains Maven project metadata for building and releasing the actual 
Taglibs project files.

The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-068/

The svn tag is:
https://svn.apache.org/repos/asf/tomcat/taglibs/taglibs-parent/tags/taglibs-parent-1/

The proposed v1 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as v1 Stable

Cheers
Jeremy



[Tomcat Wiki] Trivial Update of "Logging_Tutorial" by GlenIhrig

2012-02-25 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "Logging_Tutorial" page has been changed by GlenIhrig:
http://wiki.apache.org/tomcat/Logging_Tutorial?action=diff&rev1=9&rev2=10

  ---
  
  That's how Loggers are configured.  We specified the name of the 
- Logger followed by followed by a period followed by the name of the 
+ Logger followed by a period and the name of the 
  property we wanted to set, which is 'level' in this case.  If we had several
  classes with corresponding loggers, and we did not want to set the 
  logging level for each class individually, we could set the logging

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Tomcat Wiki] Trivial Update of "Logging_Tutorial" by GlenIhrig

2012-02-25 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "Logging_Tutorial" page has been changed by GlenIhrig:
http://wiki.apache.org/tomcat/Logging_Tutorial?action=diff&rev1=10&rev2=11

  will delegate to this Handler.
  
  == Configuring Context Loggers ==
- So you now had a look at the example logging.properties file
+ So now you've had a look at the example logging.properties file
  in the official documentation again, and you understand most of it.
  
  Then you get to these lines:

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Tomcat Wiki] Trivial Update of "Logging_Tutorial" by GlenIhrig

2012-02-25 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "Logging_Tutorial" page has been changed by GlenIhrig:
http://wiki.apache.org/tomcat/Logging_Tutorial?action=diff&rev1=11&rev2=12

  ---
  
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level 
= INFO
  
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers
 = \
-3manager.org.apache.juli.FileHandler
+ 3manager.org.apache.juli.FileHandler
  ---
 
  These don't follow the same syntax we've been using thus far to configure 
Loggers and Handlers.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52769] Potential Bug or Inconsistency in AjpMessage.java

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52769

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Mark Thomas  2012-02-25 23:31:24 UTC ---
> We thought it could be a potential bug or inconsistency. Hope this helps.

Bugzilla is not for reporting "potential bugs". If you aren't 100% sure you are
reporting a bug you shouldn't be going anywhere near Bugzilla. Just because you
don't understand something, that does not make it a bug.

If there is a part of the Tomcat source code you don't understand, the users
list (not the developers list) is the place to seek clarification.

There is no bug here. If you want an explanation of why, the users list is the
place to ask.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52768] Potential Bug or Inconsistency in AprEndpoint.java and JIoEndpoint.java

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52768

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Mark Thomas  2012-02-25 23:35:15 UTC ---
(In reply to comment #0)
> We thought it could be a potential bug or inconsistency. Hope this helps.

Bugzilla is not for reporting "potential bugs". If you aren't 100% sure you are
reporting a bug you shouldn't be going anywhere near Bugzilla. Just because you
don't understand something, that does not make it a bug.

If there is a part of the Tomcat source code you don't understand, the users
list (not the developers list) is the place to seek clarification.

There is no bug here. If you want an explanation of why, the users list is the
place to ask.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52770] Potential Bug or Inconsistency in NioBlockingSelector.java

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52770

--- Comment #1 from Mark Thomas  2012-02-25 23:57:21 UTC ---
Looks like infinite timeouts (pretty much never used) won't work for writes. It
is a bug but one that very few folks - if anyone - are ever going to trip over.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52767] Potential Bug or Inconsistency in JDBCRealm.java and JDBCAccessLogValve.java

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52767

--- Comment #1 from Mark Thomas  2012-02-25 23:59:51 UTC ---
Yep, there are different and the difference is documented.

I don't like a mysql specific setting being in the code - especially that one -
but removing it for 7.0.x is not an option since there is a small chance it
could break something.

Removing it for 8.0.x (trunk seems reasonable). Users that want it can always
add it back in via the URL.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: WebSocket TODOs

2012-02-25 Thread Mark Thomas
On 25/02/2012 13:32, ma...@apache.org wrote:
> Mark Thomas  wrote:

>>> 5. Threading. Fix the TODOs associated around multiple threads
>>> trying
>> to
>>> send messages at the same time.
> 
> Still to do.
> 
>>> 6. Profiling. Take a look with YourKit and Autobahn's
>>> performance
>> tests.
>>> If there are obvious bottlenecks, fix them.
> 
> Mostly fixed. Performance for lots of small messages is still
> terrible but I haven't added any buffering yet and that should help a
> lot. There are a few obvious bottle necks I want to fix before i add
> the buffering.

This turned out to be a Windows issue. Running the same tests on Linux
is significantly faster and on a par with the performance figures
published by Autobahn for various servers they tested.

I'm not sure if it is Java, Python or both on Windows but something,
somewhere really doesn't like lots of small packets. Adding the
buffering made zero difference so I don't see that there is anything I
can do in the WebSocket code to help with this.

Also on the down side, the WebSockets does not play nicely with the
APR/native connector yet. I need to dig into that and test the NIO
connector.

>>> 7. Add some documentation but mainly rely on the examples and
>>> the
>> Javadoc.
> 
> Still to do.

Mark


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GUMP@vmgump]: Project tomcat-taglibs-standard (in module tomcat-taglibs) failed

2012-02-25 Thread Gump
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 gene...@gump.apache.org.

Project tomcat-taglibs-standard has an issue affecting its community 
integration.
This issue affects 2 projects,
 and has been outstanding for 557 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-taglibs-standard :  Standard Taglib
- tomcat-taglibs-standard-install :  JSP Taglibs


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-taglibs/tomcat-taglibs-standard/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Optional dependency taglibs-standard-spec failed with reason build 
failed
 -INFO- Optional dependency httpunit failed with reason build failed
 -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
/srv/gump/public/workspace/tomcat-taglibs/standard/gump_mvn_settings.xml
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/srv/gump/public/workspace/tomcat-taglibs/standard/pom.xml
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-taglibs/tomcat-taglibs-standard/gump_work/build_tomcat-taglibs_tomcat-taglibs-standard.html
Work Name: build_tomcat-taglibs_tomcat-taglibs-standard (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 sec
Command Line: /opt/maven2/bin/mvn --batch-mode -DskipTests=true --settings 
/srv/gump/public/workspace/tomcat-taglibs/standard/gump_mvn_settings.xml 
install 
[Working Directory: /srv/gump/public/workspace/tomcat-taglibs/standard]
M2_HOME: /opt/maven2
-
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find 
parent: org.apache.taglibs:taglibs-parent for project: 
null:taglibs-standard:pom:1.2-SNAPSHOT for project 
null:taglibs-standard:pom:1.2-SNAPSHOT
at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
... 12 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 
'org.apache.taglibs:taglibs-parent' not found in repository: Unable to download 
the artifact from any repository

  org.apache.taglibs:taglibs-parent:pom:1-SNAPSHOT

from the specified remote repositories:
  gump-central (http://localhost:8192/maven2)

 for project org.apache.taglibs:taglibs-parent
at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
... 18 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable 
to download the artifact from any repository

  org.apache.taglibs:taglibs-parent:pom:1-SNAPSHOT

from the specified remote repositories:
  gump-central (http://localhost:8192/maven2)


at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
... 19 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
download the artifact from any repository
at 
org.apach

Bug report for Tomcat 6 [2012/02/26]

2012-02-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|41679|New|Enh|2007-02-22|SemaphoreValve should be able to filter on url pat|
|41883|Ass|Enh|2007-03-18|use abstract wrapper instead of plain X509Certific|
|43001|New|Enh|2007-07-30|JspC lacks setMappedFile and setDie for use in Ant|
|43400|New|Enh|2007-09-14|enum support for tag libs |
|43548|Opn|Enh|2007-10-04|xml schema for tomcat-users.xml   |
|43682|New|Enh|2007-10-23|JULI: web-inf/classes/logging.properties to suppor|
|43742|New|Enh|2007-10-30|.tag compiles  performed one at a time -- extremel|
|43979|New|Enh|2007-11-27|Add abstraction for Java and Classfile output |
|44199|New|Enh|2008-01-10|expose current backlog queue size |
|44225|New|Enh|2008-01-14|SSL connector tries to load the private keystore f|
|44284|New|Enh|2008-01-23|Support java.lang.Iterable in c:forEach tag   |
|44294|New|Enh|2008-01-25|Support for EL functions with varargs |
|44312|New|Enh|2008-01-28|Warn when overwritting docBase of the default Host|
|44645|New|Enh|2008-03-20|[Patch] JNDIRealm - Doesn't support JNDI "java.nam|
|44787|New|Enh|2008-04-09|provide more error context on "java.lang.IllegalSt|
|44818|New|Enh|2008-04-13|tomcat hangs with GET when content-length is defin|
|45014|New|Enh|2008-05-15|Request and Response classes should have wrappers |
|45282|New|Enh|2008-06-25|NioReceiver doesn't close cleanly, leaving sockets|
|45428|New|Enh|2008-07-18|warn if the tomcat stop doesn't complete  |
|45832|New|Enh|2008-09-18|add DIGEST authentication support to Ant tasks|
|45878|New|Enh|2008-09-24|Generated jars do not contain proper manifests or |
|45879|Opn|Enh|2008-09-24|Windows installer fails to install NOTICE and RELE|
|45931|Opn|Enh|2008-10-01|trimSpaces incorrectly modifies output|
|45995|New|Enh|2008-10-13|RFE - MIME type extension not case sensitive  |
|46173|New|Enh|2008-11-09|Small patch for manager app: Setting an optional c|
|46263|New|Enh|2008-11-21|Tomcat reloading of context does not update contex|
|46284|New|Enh|2008-11-24|Add flag to DeltaManager that blocks processing cl|
|46350|New|Enh|2008-12-05|Maven repository should contain source bundles|
|46497|New|Enh|2009-01-08|Install Tomcat Deployer/ANT on Windows Platform   |
|46655|New|Enh|2009-02-03|keystore's password handler   |
|46727|New|Enh|2009-02-17|DefaultServlet - serving multiple encodings   |
|46902|New|Enh|2009-03-24|LoginValve to bypass restrictions of j_security_ch|
|47214|New|Enh|2009-05-17|Inner classes that are explicitly referenced - sho|
|47242|New|Enh|2009-05-22|request for AJP command line client   |
|47281|New|Enh|2009-05-28|Efficiency of the JDBCStore   |
|47407|New|Enh|2009-06-23|HttpSessionListener doesn't operate in the session|
|47467|New|Enh|2009-07-02|Deployment of the war file by URL when contextpath|
|47785|Opn|Enh|2009-09-04|Cluster MBean not registered  |
|47834|New|Enh|2009-09-14|TldConfig throws Exception when exploring unpacked|
|47919|New|Enh|2009-09-30|Log Tomcat & Java environment variables in additio|
|48358|Opn|Enh|2009-12-09|JSP-unloading reloaded|
|48543|New|Enh|2010-01-14|[Patch] More flexibility in specifying -Dcatalina.|
|48600|Opn|Enh|2010-01-22|Performance issue with tags   |
|48672|New|Enh|2010-02-03|Tomcat Virtual Host Manager (/host-manager) have b|
|48674|New|Enh|2010-02-03|Tomcat Virtual Host Manager application doesn't pe|
|48743|New|Enh|2010-02-15|Make the SLEEP variable in catalina.sh settable fr|
|48899|New|Enh|2010-03-12|Guess URI charset should solve lot of problems|
|48922|New|Enh|2010-03-16|org.apache.catalina.connector.Request clone static|
|48928|New|Enh|2010-03-17|An alternative solution to preloading classes when|
|49161|New|Enh|2010-04-21|Unknown Publisher when installing tomcat 6.0.26   |
|49176|Opn|Enh|2010-04-23|Jasper in Dev Mode Is Memory Inefficient  |
|49464|

Bug report for Tomcat 7 [2012/02/26]

2012-02-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|16579|New|Enh|2003-01-30|documentation page layout/style breaks wrapping to|
|18500|New|Enh|2003-03-30|Host aliases to match by regular expression   |
|28039|Opn|Enh|2004-03-30|Cluster Support for SingleSignOn  |
|40728|Inf|Enh|2006-10-11|Catalina MBeans use non-serializable classes  |
|40881|Opn|Enh|2006-11-02|Unable to receive message through  TCP channel -> |
|41007|Opn|Enh|2006-11-20|Can't define customized 503 error page|
|43866|New|Enh|2007-11-14|add support for session attribute propagation with|
|43925|Opn|Enh|2007-11-21|org.apache.jasper.runtime.BodyContentImpl causing |
|44216|New|Enh|2008-01-11|Don't reuse session ID even if emptySessionPath=tr|
|48550|Inf|Enh|2010-01-14|Update examples and default server.xml to use UTF-|
|49395|New|Enh|2010-06-06|manager.findLeaks : display the date when the leak|
|49589|New|Enh|2010-07-12|Tag handlers with constant attribute values are al|
|49785|New|Enh|2010-08-19|Enabling TLS for JNDIRealm|
|49821|New|Enh|2010-08-25|Tomcat CLI|
|50019|New|Enh|2010-09-28|Adding JNDI "lookup-name" support In XML and Resou|
|50175|New|Enh|2010-10-28|Enhance memory leak detection by selectively apply|
|50234|New|Enh|2010-11-08|JspC use servlet 3.0 features |
|50504|New|Enh|2010-12-21|Allow setting query string character set trough re|
|50670|New|Enh|2011-01-27|Tribes | RpcChannel | Add option to specify extern|
|51181|New|Enh|2011-05-10|Add support for Web Sockets   |
|51195|New|Enh|2011-05-13|"Find leaks" reports a false positive memory/class|
|51197|Opn|Maj|2011-05-13|sendError/sendRedirect don't work with AsyncContex|
|51294|Opn|Enh|2011-05-30|Since 7.0.12 do not work option unpackWARs=true fo|
|51423|Inf|Enh|2011-06-23|[Patch] to add a path and a version parameters to |
|51463|New|Enh|2011-07-01|Tomcat.setBaseDir  (package org.apache.catalina.st|
|51496|New|Enh|2011-07-11|NSIS - Warn that duplicate service name will resul|
|51497|New|Enh|2011-07-11|Use canonical IPv6 text representation in logs|
|51526|New|Enh|2011-07-18|Process web application context config with embedd|
|51587|New|Enh|2011-07-29|Implement status and uptime commands  |
|51953|New|Enh|2011-10-04|Proposal: netmask filtering valve and filter  |
|52092|New|Enh|2011-10-26|Please make AsyncFileHandler and OneLineFormatter |
|52234|New|Enh|2011-11-23|More documentation of embedding, please?  |
|52235|New|Enh|2011-11-23|Please do a bit of SEO tuning for the web site|
|52236|New|Enh|2011-11-23|Idea: support 'overlays' shaped like Maven overlay|
|52323|New|Enh|2011-12-13|Cobertura test code coverage support for build.xml|
|52381|New|Enh|2011-12-22|Please add OSGi metadata  |
|52386|New|Enh|2011-12-26|Move to a Maven Build |
|52448|New|Enh|2012-01-11|Cache jar indexes in WebappClassLoader to speed up|
|52489|New|Enh|2012-01-19|Enhancement request for code signing of war files |
|52500|New|Enh|2012-01-23|Improve client certificate authentication |
|52558|New|Enh|2012-01-30|CometConnectionManagerValve is adding non-serializ|
|52688|New|Enh|2012-02-16|Added ability to have access logs output to standa|
|52724|New|Cri|2012-02-21|An incomplete fix for the resource leak bugs in Ca|
|52725|New|Nor|2012-02-21|org.apache.jasper.compiler.JspUtil#getTagHandlerCl|
|52726|New|Cri|2012-02-21|An incomplete fix for the resource leak bug in Mem|
|52727|New|Cri|2012-02-21|An incomplete fix for the resource leak bug in Hos|
|52729|New|Cri|2012-02-21|An incomplete fix for the resource leak bug in Com|
|52730|New|Cri|2012-02-21|Another incomplete fix for the resource leak bug i|
|52731|New|Cri|2012-02-21|An incomplete fix for the resource leak bug in JDT|
|52732|New|Cri|2012-02-21|An incomplete fix for the resource leak bug in Exp|
|52744|New|Nor|2012-02-23|[Jasper] JSP files are always recompiled in develo|
|52746|

Bug report for Tomcat 5 [2012/02/26]

2012-02-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|52579|New|Reg|2012-02-02|Tomcat5.5.35?Java1.5 cannot return proper value of|
|52677|New|Nor|2012-02-16|embedded SetCharacterEncodingFilter in org.apache.|
+-+---+---+--+--+
| Total2 bugs   |
+---+

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Bug report for Taglibs [2012/02/26]

2012-02-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field   |
|38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)|
|42413|New|Enh|2007-05-14|[PATCH] Log Taglib enhancements   |
|46052|New|Nor|2008-10-21|SetLocaleSupport is slow to initialize when many l|
|48333|New|Enh|2009-12-02|TLD generator |
+-+---+---+--+--+
| Total5 bugs   |
+---+

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Bug report for Tomcat Connectors [2012/02/26]

2012-02-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|34526|Opn|Nor|2005-04-19|Truncated content in decompressed requests from mo|
|35959|Opn|Enh|2005-08-01|mod_jk not independant of UseCanonicalName|
|43303|New|Enh|2007-09-04|Versioning under Windows not reported by many conn|
|43968|Inf|Enh|2007-11-26|[patch] support ipv6 with mod_jk  |
|44290|Inf|Nor|2008-01-24|mod_jk/1.2.26: retry is not useful for an importan|
|44349|Inf|Maj|2008-02-04|mod_jk/1.2.26 module does not read worker.status.s|
|44379|New|Enh|2008-02-07|convert the output of strftime into UTF-8 |
|44454|New|Nor|2008-02-19|busy count reported in mod_jk inflated, causes inc|
|44571|New|Enh|2008-03-10|Limits busy per worker to a threshold |
|45063|New|Nor|2008-05-22|JK-1.2.26 IIS ISAPI filter issue when running diff|
|45313|New|Nor|2008-06-30|mod_jk 1.2.26 & apache 2.2.9 static compiled on so|
|46337|New|Nor|2008-12-04|real worker name is wrong |
|46676|New|Enh|2009-02-09|Configurable test request for Watchdog thread |
|46767|New|Enh|2009-02-25|mod_jk to send DECLINED in case no fail-over tomca|
|47327|New|Enh|2009-06-07|remote_user not logged in apache logfile  |
|47617|Inf|Enh|2009-07-31|include time spent doing ajp_get_endpoint() in err|
|47678|New|Cri|2009-08-11|Unable to allocate shared memory when using isapi_|
|47714|New|Cri|2009-08-20|Reponse mixed between users   |
|47750|New|Maj|2009-08-27|Loss of worker settings when changing via jkstatus|
|47795|New|Maj|2009-09-07|service sticky_session not being set correctly wit|
|47840|Inf|Min|2009-09-14|A broken worker name is written in the log file.  |
|48191|New|Maj|2009-11-13|Problem with mod_jk 1.2.28 - Can not render up the|
|48460|New|Nor|2009-12-30|mod_proxy_ajp document has three misleading portio|
|48490|New|Nor|2010-01-05|Changing a node to stopped in uriworkermap.propert|
|48513|New|Enh|2010-01-09|IIS Quick setup instructions  |
|48564|New|Nor|2010-01-18|Unable to turn off retries for LB worker  |
|48830|New|Nor|2010-03-01|IIS shutdown blocked in endpoint service when serv|
|48891|Opn|Enh|2010-03-11|Missing EOL-style settings in tomcat/jk/trunk |
|49035|New|Maj|2010-04-01|data lost when post a multipart/form-data form|
|49063|New|Enh|2010-04-07|Please add JkStripSession status in jk-status work|
|49135|New|Enh|2010-04-16|SPDY Connector for The Tomcat |
|49469|New|Enh|2010-06-19|Workers status page has negative number of connect|
|49732|Opn|Nor|2010-08-10|reply_timeout can't wait forever. |
|49822|New|Enh|2010-08-25|Add hash lb worker method |
|49903|New|Enh|2010-09-09|Make workers file reloadable  |
|50186|New|Nor|2010-10-31|Wrong documentation of connection_pool_timeout / c|
|50511|Inf|Nor|2010-12-22|WARNING about Internal Dummy Connection of Apache |
|51767|New|Maj|2011-09-06|isapi_redirect intermittently crashes iis worker p|
|52074|New|Maj|2011-10-23|PATH_INFO not passed from IIS7 to Tomcat7 |
|52270|New|Cri|2011-12-01|isapi rediderctor hangs IIS 7.5 APP POOL  |
|52286|New|Blk|2011-12-05|isapi 1.2.32 fails to reload after worker processe|
|52334|New|Maj|2011-12-14|recover_time is not properly used |
|52432|New|Nor|2012-01-05|HTTP Error 500.0 from IIS 7.5 when configure tomca|
|52483|New|Enh|2012-01-18|Print JkOptions's options in log file and jkstatus|
|52651|New|Nor|2012-02-13|JKSHMFile size limitation |
|52659|New|Nor|2012-02-14|Shared memory becomes corrupted   |
+-+---+---+--+--+
| Total   46 bugs   |
+---+

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: d

Bug report for Tomcat Native [2012/02/26]

2012-02-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|45392|New|Nor|2008-07-14|No OCSP support for client SSL verification   |
|46179|Opn|Maj|2008-11-10|apr ssl client authentication |
|48655|Inf|Nor|2010-02-02|Active multipart downloads prevent tomcat shutdown|
|49038|Inf|Nor|2010-04-02|Crash in tcnative |
|51655|New|Nor|2011-08-12|Index page does not say what native does  |
|51813|New|Cri|2011-09-14|Tomcat randomly crashes with [libtcnative-1.so.1+0|
|52153|New|Maj|2011-11-08|periodic JVM crash (access violation) on buffer fl|
|52231|New|Nor|2011-11-23|Ant Tasks need to reflect changes in manager comma|
|52319|New|Maj|2011-12-12|Tomcat 6 crashes with [libapr-1.so.0+0x196da]  sig|
|52544|New|Maj|2012-01-27|tcnative-1.dll crash with RapidSSL certificate und|
|52627|New|Min|2012-02-08|Segmentation fault in org.apache.tomcat.jni.File.i|
+-+---+---+--+--+
| Total   11 bugs   |
+---+

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Bug report for Tomcat Modules [2012/02/26]

2012-02-25 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
| |   |   MIN=Minor   NOR=NormalENH=Enhancement TRV=Trivial |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
|48240|New|Nor|2009-11-19|Tomcat-Lite missing @Override markers |
|48268|New|Nor|2009-11-23|Patch to fix generics in tomcat-lite  |
|48861|New|Nor|2010-03-04|Files without AL headers  |
|49685|New|Nor|2010-08-02|Unsafe synchronization in class ManagedBean   |
|49686|New|Nor|2010-08-02|Using an instance lock to protect static shared da|
|49953|Opn|Nor|2010-09-17|Missing @Override annotations |
|50565|New|Min|2011-01-10|Static variables should be accessed in a static wa|
|50566|New|Nor|2011-01-10|Duplicate assignment to connection variable   |
|50571|Inf|Nor|2011-01-11|Tomcat 7 JDBC connection pool exception enhancemen|
|50660|New|Min|2011-01-26|Improve validationQuery error handling|
|50860|New|Nor|2011-03-03|In case of invalid or empty slqQuery connection ar|
|50864|New|Nor|2011-03-03|Reconfigure pool on the fly using JMX |
|51198|New|Nor|2011-05-13|Trunk Version : Performance enhancement in Connect|
|51237|New|Nor|2011-05-20|SlowQueryReport interceptor does not log anything |
|51388|New|Enh|2011-06-16|SlowQueryReport should respect Statement.getQueryT|
|51595|New|Nor|2011-08-01|org.apache.tomcat.jdbc.pool.jmx.ConnectionPool sho|
|51879|New|Enh|2011-09-22|Improve access to Native Connection Methods   |
|51893|New|Nor|2011-09-26|JMX notification/Exception for empty/exhausted con|
|52002|New|Nor|2011-10-10|Pool re-opens and re-issues closed connection |
|52024|New|Enh|2011-10-13|Custom interceptor to support automatic failover o|
|52066|New|Nor|2011-10-20|ConnectionPool.borrowConnection swallows interrupt|
|52318|New|Cri|2011-12-11|Version in tomcat-jdbc POM is conflicted with Vers|
|52327|New|Nor|2011-12-14|DataSourceProxy is not thread-safe|
|52493|New|Nor|2012-01-21|Add java7 support |
|52518|New|Trv|2012-01-24|Documentation enhancements|
|52629|New|Nor|2012-02-09|minIdle property behaviour is not the described on|
|52654|New|Nor|2012-02-13|Incomplete documentation about DataSource JMX regi|
+-+---+---+--+--+
| Total   27 bugs   |
+---+

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52772] New: JspC : checking uriRoot option validness

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52772

 Bug #: 52772
   Summary: JspC : checking uriRoot option validness
   Product: Tomcat 7
   Version: trunk
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: trivial
  Priority: P2
 Component: Jasper
AssignedTo: dev@tomcat.apache.org
ReportedBy: bluewolf.ch...@gmail.com
Classification: Unclassified


In org.apache.jasper.JspC#execute() method,
if uriRoot is not null,
it scans all jsp files under uriRoot,
and then checks if uriRoot is a directory.

It should be more desirable to check if uriRoot is a directory or not first and
then scanning it.


Here are my suggestion.

if (uriRoot == null) {
throw new JasperException(
Localizer.getMessage("jsp.error.jspc.no_uriroot"));
}

File uriRootF = new File(uriRoot);
if (!uriRootF.exists() || !uriRootF.isDirectory()) {
throw new JasperException(
Localizer.getMessage("jsp.error.jspc.uriroot_not_dir"));
}

if( context==null ) {
initServletContext();
}

// No explicit pages, we'll process all .jsp in the webapp
if (pages.size() == 0) {
scanFiles(uriRootF);
}

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52772] JspC : checking uriRoot option validness

2012-02-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52772

--- Comment #1 from Eugene Chung  2012-02-26 07:44:35 
UTC ---
And !uriRootF.exists() || !uriRootF.isDirectory() is redundant. isDirectory()
checks existence, too.

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

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org