[Bug 64017] Apache http server 2.4.41 - Issue with transfer-encoding

2019-12-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64017

--- Comment #4 from Vinoth  ---
Hi Rainer,

Did you get a chance to look at it?

Thanks

-- 
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 64028] New: Unable to set Expiration Time for CloudMembership Service in an Openshift Cluster

2019-12-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64028

Bug ID: 64028
   Summary: Unable to set Expiration Time for CloudMembership
Service in an Openshift Cluster
   Product: Tomcat 9
   Version: 9.0.27
  Hardware: Other
OS: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Cluster
  Assignee: dev@tomcat.apache.org
  Reporter: poornima.sivan...@gov.bc.ca
  Target Milestone: -

Hi,

 I am using tomcat 9 image to deploy my application on an Openshift
Cluster. I am trying to leverage the tomcat HA using the CloudMembership
service. An excerpt from the server.xml is given below:
```
   
   
 

```

I tried without the expirationTime parameter which starts the service fine, but
there is lot of load on the openshift cluster when it fails to find a member
within the stipulated 5000ms `( it keeps failing with [catalina ] [ERROR] -
Failed to open stream at
org.apache.catalina.tribes.membership.cloud.KubernetesMembershipProvider.fetchMembers(KubernetesMembershipProvider.java:132)
[catalina-tribes.jar:9.0.27]
at
org.apache.catalina.tribes.membership.cloud.CloudMembershipProvider.heartbeat(CloudMembershipProvider.java:127)
[catalina-tribes.jar:9.0.27] )`

for which I wanted to try and increase the expirationTime to 1ms. 

```

However, the tomcat service fails to start on providing this parameter. It
fails with the following error:

```

Caused by: java.lang.NumberFormatException: For input string: "1ms"
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
~[?:1.8.0_232]
at java.lang.Long.parseLong(Long.java:589) ~[?:1.8.0_232]
at java.lang.Long.parseLong(Long.java:631) ~[?:1.8.0_232]
at
org.apache.catalina.tribes.membership.cloud.CloudMembershipProvider.init(CloudMembershipProvider.java:109)
~[catalina-tribes.jar:9.0.27]
at
org.apache.catalina.tribes.membership.cloud.CloudMembershipService.start(CloudMembershipService.java:112)
~[catalina-tribes.jar:9.0.27]
at
org.apache.catalina.tribes.group.ChannelCoordinator.internalStart(ChannelCoordinator.java:184)
~[catalina-tribes.jar:9.0.27]
... 20 more
2019-12-23 18:15:56,004 [catalina ] [FATAL] - The required Server component
failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException:
org.apache.catalina.tribes.ChannelException: java.lang.NumberFormatException:
For input string: "1ms"; No faulty members identified.

```

Request you to kindly help me with this.

Thanks
Poornima

-- 
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 64028] Unable to set Expiration Time for CloudMembership Service in an Openshift Cluster

2019-12-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64028

Remy Maucherat  changed:

   What|Removed |Added

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

--- Comment #1 from Remy Maucherat  ---
Please investigate this issue on the Tomcat user mailing list.
"1ms" is not a valid value for "expirationTime", as the error basically
says, it indicates it is trying to parse a long. Also, the error connecting in
fetchMembers includes a root cause, which will help understand what may be
happening (please post it in the user 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 64028] Unable to set Expiration Time for CloudMembership Service in an Openshift Cluster

2019-12-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64028

--- Comment #2 from Poornima Sivanand  ---
Thank you so much. I will do that.

-- 
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] ziyan901 opened a new pull request #231: init tomcat config

2019-12-23 Thread GitBox
ziyan901 opened a new pull request #231: init tomcat config
URL: https://github.com/apache/tomcat/pull/231
 
 
   


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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