Re: Requirements for servlet session attributes?

2018-07-03 Thread Alex O'Ree
The jaws client maybe takes 100ms to fire up. So it's not terrible slow but the overall website is noticeably faster when caching it. All of the resources (wsdls, xsds) are local but there's a quite a few of them. Caching this object does not work as a session attribute. HttpServletRequest#setAtt

Re: Using F5 to load balance tomcat servers

2018-07-03 Thread Support
Chris, sorry for the typo! Can't believe I did it. Client -->F5:8080> does not connect to Tomcat-server1:8080. Client -->connects fine to Tomcat-server1:8080. Client can connect fine directly to tomcat over 8080 but not through f5. tcpdump on f5 reveals something about inc

Re: JFileChooser not working

2018-07-03 Thread Johan Compagner
Are you expecting that an application running on tomcat on a server will display the awt/swing components on a client? How is that code downloaded to the client? Webstart? What does the client start or load? But this is not really a tomcat question.. Op di 3 jul. 2018 21:04 schreef James Finnall

JFileChooser not working

2018-07-03 Thread James Finnall
Hello All, Developed application that works locally on XAMPP using JFileChooser (awt and swing).  I build the .war file, code sign it with jarsigner, and deploy to Tomcat server.  The server expands it out and it functions until it hits the JFileChooser section and then nothing.  No dialog appears

SSO/AD Authentication

2018-07-03 Thread Eric Robinson
We have users in AD domain “Billing” who need to run a tomcat application from a server that is in domain “BackOffice.” Is it possible for a user in the Billing domain to login to the tomcat application in the BackOffice domain without having to re-authenticate? --Eric

Re: Bug in org.apache.tomcat.util.http.fileupload.MultipartStream.ItemInputStream#read(byte[], int, int)

2018-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Piotr, On 7/3/18 4:30 AM, Piotr Joński wrote: > Hi, thanks for reply! Here is sample snippet that i use to > reproduce it: > --- > ---

RE: Using F5 to load balance tomcat servers

2018-07-03 Thread Robert Sulliman
Is there a version difference between those tomcat instances? I recently ran into an issue with our F5's looking for a "200 OK", but after an upgrade it stopped working. In newer versions of Tomcat the optional reason code has been removed. Thanks, Robert Sulliman -Original Message- Fr

Re: Using F5 to load balance tomcat servers

2018-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Usha, On 7/2/18 4:53 PM, Support wrote: > We are having trouble gettings this work over 8080. > > Client -->F5:8080> does not connect to Tomcat server:8080. > > Client -->F5:8080> connects fine to Tomcatserver:8080. What's the difference

Re: Bug in org.apache.tomcat.util.http.fileupload.MultipartStream.ItemInputStream#read(byte[], int, int)

2018-07-03 Thread Rémy Maucherat
On Tue, Jul 3, 2018 at 10:31 AM Piotr Joński wrote: > 1. Originally I have sent multipart/mixed request, but tomcat does not > support it at all! Tomcat supports only form-data, however in RFC, the very > first example is about mixed: > https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html Qu

Re: Bug in org.apache.tomcat.util.http.fileupload.MultipartStream.ItemInputStream#read(byte[], int, int)

2018-07-03 Thread Piotr Joński
BTW2 "makeAvailable will never try to read beyond the boundary position." -- this is not true. My content of json is properly read into buffer. after that it finish because it hit boundary. And the method makeAccessible() tried to read more from that stream but it finished! BTW3 those 2 tests that

Re: Bug in org.apache.tomcat.util.http.fileupload.MultipartStream.ItemInputStream#read(byte[], int, int)

2018-07-03 Thread Piotr Joński
BTW instead of *** you have to use some real values. of course I have just obfuscated values and left headers because they can matter. On 3 July 2018 at 10:30, Piotr Joński wrote: > Hi, thanks for reply! > Here is sample snippet that i use to reproduce it: > -

Re: Bug in org.apache.tomcat.util.http.fileupload.MultipartStream.ItemInputStream#read(byte[], int, int)

2018-07-03 Thread Piotr Joński
Hi, thanks for reply! Here is sample snippet that i use to reproduce it: --- --- #!/usr/bin/env bash echo; echo; echo; echo; echo; echo; curl 'http://localhost:8083/' \ -

Re: Bug in org.apache.tomcat.util.http.fileupload.MultipartStream.ItemInputStream#read(byte[], int, int)

2018-07-03 Thread Rémy Maucherat
On Mon, Jul 2, 2018 at 5:14 PM Piotr Joński wrote: > Hi, of course I use it together with multipart request. > I have spring boot 2 + zuul on tomcat 8.5.31. And I cannot proxy traffic > with multipart request due to that error. > I know that available return the right number of bytes but later yo