[Bug 66210] Some unit tests are failing on a non-English PC

2022-08-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66210

--- Comment #6 from Han Li  ---
PR: https://github.com/apache/tomcat/pull/542

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



[GitHub] [tomcat] aooohan opened a new pull request, #542: Bugfix for 66210 - Some unit tests are failing on a non-English PC

2022-08-16 Thread GitBox


aooohan opened a new pull request, #542:
URL: https://github.com/apache/tomcat/pull/542

   Fix [BZ66210](https://bz.apache.org/bugzilla/show_bug.cgi?id=66210)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



[Bug 66178] Reduce garbage from strings in AbstractArchiveResourceSet.getResource

2022-08-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66178

--- Comment #11 from Joe Jackson  ---
Hey Christopher,

Sorry for the delay in getting back to you. I haven't been able to create a
demo application, but basically, you would just need a high number of jars and
then call StandardRoot.getResource() to hit the related code. 

As for the load I was testing it's just loading the same page in our app 5
times with the browser cache disabled which causes us to load a number of JS
files from jars.

-- 
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] branch 8.5.x updated: Fix comment typo

2022-08-16 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
 new c40729b6af Fix comment typo
c40729b6af is described below

commit c40729b6af7994bd8389d81047c9575fae2228fc
Author: Mark Thomas 
AuthorDate: Tue Aug 16 18:04:14 2022 +0100

Fix comment typo
---
 java/org/apache/coyote/http2/Stream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index f426d31672..2a86a1cbae 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -150,7 +150,7 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
 throw new IllegalArgumentException();
 }
 // This processing expects bytes. Server push will have used a String
-// to trigger a conversion if required.
+// so trigger a conversion if required.
 hostValueMB.toBytes();
 ByteChunk valueBC = hostValueMB.getByteChunk();
 byte[] valueB = valueBC.getBytes();


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



[tomcat] branch 9.0.x updated: Fix comment typo

2022-08-16 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 7c7795fdba Fix comment typo
7c7795fdba is described below

commit 7c7795fdba30a56cef2d92bc8f8bb8be1d2eb2b5
Author: Mark Thomas 
AuthorDate: Tue Aug 16 18:04:14 2022 +0100

Fix comment typo
---
 java/org/apache/coyote/http2/Stream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index 8cb4ff0087..4b776cd0a0 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -152,7 +152,7 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
 throw new IllegalArgumentException();
 }
 // This processing expects bytes. Server push will have used a String
-// to trigger a conversion if required.
+// so trigger a conversion if required.
 hostValueMB.toBytes();
 ByteChunk valueBC = hostValueMB.getByteChunk();
 byte[] valueB = valueBC.getBytes();


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



[tomcat] branch 10.0.x updated: Fix comment typo

2022-08-16 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.0.x by this push:
 new 2711640ec8 Fix comment typo
2711640ec8 is described below

commit 2711640ec820d413f3ff59bc9731c5477762e4ef
Author: Mark Thomas 
AuthorDate: Tue Aug 16 18:04:14 2022 +0100

Fix comment typo
---
 java/org/apache/coyote/http2/Stream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index 820091e7f3..304187771e 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -152,7 +152,7 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
 throw new IllegalArgumentException();
 }
 // This processing expects bytes. Server push will have used a String
-// to trigger a conversion if required.
+// so trigger a conversion if required.
 hostValueMB.toBytes();
 ByteChunk valueBC = hostValueMB.getByteChunk();
 byte[] valueB = valueBC.getBytes();


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



[tomcat] branch main updated: Fix comment typo

2022-08-16 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
 new 6c460bbb93 Fix comment typo
6c460bbb93 is described below

commit 6c460bbb9372e4e9cacfec451e010080785a66fc
Author: Mark Thomas 
AuthorDate: Tue Aug 16 18:04:14 2022 +0100

Fix comment typo
---
 java/org/apache/coyote/http2/Stream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index 0bfc076d9f..9037d7d849 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -153,7 +153,7 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
 throw new IllegalArgumentException();
 }
 // This processing expects bytes. Server push will have used a String
-// to trigger a conversion if required.
+// so trigger a conversion if required.
 hostValueMB.toBytes();
 ByteChunk valueBC = hostValueMB.getByteChunk();
 byte[] valueB = valueBC.getBytes();


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



[Bug 66222] Exception occured while sending Websocket Message and the session is being closed

2022-08-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66222

Mark Thomas  changed:

   What|Removed |Added

   Severity|blocker |normal

--- Comment #2 from Mark Thomas  ---
Set importance to something reasonable.

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



[Bug 66222] Exception occured while sending Websocket Message and the session is being closed

2022-08-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66222

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #1 from Mark Thomas  ---
That Tomcat version is over 8 years old. Please retest with the latest 8.5.x
release (8.5.82 at the time of writing). If you still see the issue we'll
likely need a test case that demonstrates the issue.

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



[Bug 66222] New: Exception occured while sending Websocket Message and the session is being closed

2022-08-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66222

Bug ID: 66222
   Summary: Exception occured while sending Websocket Message and
the session is being closed
   Product: Tomcat 8
   Version: 8.5.11
  Hardware: PC
OS: Linux
Status: NEW
  Severity: blocker
  Priority: P2
 Component: WebSocket
  Assignee: dev@tomcat.apache.org
  Reporter: kmarimu...@tekvizion.com
  Target Milestone: 

I am trying to send the Message from the Websocket Server using
"session.getBasicRemote().sendText("message");" , I got the IO exception
message   "The current thread was interrupted while waiting for a blocking send
to complete " and the Websocket Session being closed due to the exception.

This Issue is happening while I am trying to run multiple threads parallely to
send the message on the same session object, Note: the method to send the
Wesocket Message is Synchronised, still I am getting the Exception.

Please help me to solve this issue. Thanks in advance.

Regards,
Karthikeyan

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



[GitHub] [tomcat-jakartaee-migration] markt-asf closed issue #31: Exception occured while sending Websocket Message and the session is being closed.

2022-08-16 Thread GitBox


markt-asf closed issue #31: Exception occured while sending Websocket Message 
and the session is being closed.
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/31


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



[GitHub] [tomcat-jakartaee-migration] markt-asf commented on issue #31: Exception occured while sending Websocket Message and the session is being closed.

2022-08-16 Thread GitBox


markt-asf commented on issue #31:
URL: 
https://github.com/apache/tomcat-jakartaee-migration/issues/31#issuecomment-1216759692

   Wrong project. And support questions belong on the users mailing list, not 
in the issue tracker.
   https://tomcat.apache.org/lists.html#tomcat-users


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



[GitHub] [tomcat-jakartaee-migration] Karthikeyan021298 opened a new issue, #31: Exception occured while sending Websocket Message and the session is being closed.

2022-08-16 Thread GitBox


Karthikeyan021298 opened a new issue, #31:
URL: https://github.com/apache/tomcat-jakartaee-migration/issues/31

   Hi, 
   
   I am trying to send the Message from the Websocket Server using 
"session.getBasicRemote().sendText("message");" , I got the IO exception 
message" The current thread was interrupted while waiting for a blocking send 
to complete "  and the Websocket Session being closed due to the exception.
   
   This Issue is happening while I am trying to run multiple threads parallely 
to send the message on the same session object,  Note: the method to send the 
Wesocket Message is Synchronised, still I am getting the Exception.
   
   Tomcat Version used- 8.5.11.
   
   Can anyone please help me to solve this issue. Thanks in advance.
   
   Regards,
   Karthikeyan
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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



[Bug 66221] request parameters put in http header or body which performance better?

2022-08-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66221

Han Li  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

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



[Bug 66221] request parameters put in http header or body which performance better?

2022-08-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66221

--- Comment #1 from Han Li  ---
Bugzilla is not a support forum. Please post your question to the users'
mailing list.

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



[Bug 66221] New: request parameters put in http header or body which performance better?

2022-08-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=66221

Bug ID: 66221
   Summary: request parameters put in http header or body which
performance better?
   Product: Tomcat 9
   Version: 9.0.64
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: Servlet
  Assignee: dev@tomcat.apache.org
  Reporter: promena...@163.com
  Target Milestone: -

In tomcat 9.0.64 version. Request parameters put in http header or body, which
will performance better. Why?

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