Re: not able to setup tomcat 7 to use port 8443

2018-11-30 Thread masber masber
ok, forcing NIO implementation makes tomcat service to listen port 8443 but now I do a test using curl and the client does not get response from the server. $ curl -I 'https://X:8443/authentication' -H 'Authorization: Basic X' -H 'Content-Type: application/json' -H 'Acc

not able to setup tomcat 7 to use port 8443

2018-11-30 Thread masber masber
Dear tomcat community, I am trying to setup tomcat 7.0.69.0 on port 8443 but for some reason no service is listening that port after tomcat is rebooted. I uncommented the following part in server.xml And then just rebooted tomcat but sudo ss -nolpt | grep 8443 shows nothing what am I do

Re: Tomcat occasionally returns a response without HTTP headers

2018-11-30 Thread Kohei Nozaki
Hello Christopher, thank you for your help. > On Dec 1, 2018, at 1:52, Christopher Schultz > wrote: > >> I'm investigating a problem where Tomcat (7.0.92) returns a >> response with no HTTP headers very occasionally. It happened during >> a load test. >> >> According to the captured packets by

Re: OT: Java Textbook?

2018-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 11/30/18 11:33, Jerry Malcolm wrote: > Completely off-topic. But I figure this is the perfect group to > ask this question to. I will be teaching a university level intro > to Java programming (for non-programming majors) in the spring >

Re: OT: Java Textbook?

2018-11-30 Thread Hoa Phan
I'd say Core Java.I read other books mentioned as well, they are good in their own ways. However Core Java was one with best structure and paints the best picture.  Sent from Yahoo Mail on Android On Sat, Dec 1, 2018 at 3:34, Jerry Malcolm wrote: Completely off-topic.  But I figure this

Re: Tomcat occasionally returns a response without HTTP headers

2018-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kohei, On 11/29/18 20:19, Kohei Nozaki wrote: > I'm investigating a problem where Tomcat (7.0.92) returns a > response with no HTTP headers very occasionally. It happened during > a load test. > > > According to the captured packets by Wireshark,

Re: OT: Java Textbook?

2018-11-30 Thread Arjuna Bandara
Dear Jerry, According to my personal preference I am a big fan of Head first book series ("head first java"). Here you can find good examples for teaching. Moreover I can suggest " effective java" and "Java in nutshell" books. Regards Arjuna On Fri, 30 Nov 2018 10:04 pm Jerry Malcolm, wrote:

RE: Java Textbook?

2018-11-30 Thread Tran, Minh
Dear Professor Malcolm, I have experimeted with this book intro to Java Programming, Comprehensive Version 10th Edition, and I found it useful for non Java programming. The ISBN-13 is 978-0133761313. May I ask what programming book were you using for your computer network class ? I am experi

Re: Tomcat not scanning WEB-INF/Tmp

2018-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Johan, On 11/30/18 05:13, Johan Compagner wrote: > Why are you writing stuff in the web app folder? Problem with this > is that the WAR doesn't even need to be extracted depending on > configuration. > > I would always try to avoid this and use jav

OT: Java Textbook?

2018-11-30 Thread Jerry Malcolm
Completely off-topic.  But I figure this is the perfect group to ask this question to.  I will be teaching a university level intro to Java programming (for non-programming majors) in the spring semester.  I am looking for a good textbook to use.   I've been out of academia for years.  So I'm n

Re: Tomcat not scanning WEB-INF/Tmp

2018-11-30 Thread Arjuna Bandara
Hello, Hope you are looking for a similar answer like this.. https://stackoverflow.com/questions/1489665/is-it-possible-to-turn-off-taglib-scanning-in-tomcat Regards Arjuna On Fri, 30 Nov 2018 3:37 pm , wrote: > > > Hi, > > I have a problem in the start phase of Apache > Tomcat/7.0.90 > Insid

Re: Tomcat not scanning WEB-INF/Tmp

2018-11-30 Thread Johan Compagner
Why are you writing stuff in the web app folder? Problem with this is that the WAR doesn't even need to be extracted depending on configuration. I would always try to avoid this and use java's own tmp folder mechanism for a writeable folder Does the servlet spec also not have something like this?

Tomcat not scanning WEB-INF/Tmp

2018-11-30 Thread galli . tommaso
Hi, I have a problem in the start phase of Apache Tomcat/7.0.90 Inside the folder WEB-INF I have a subfolder called Tmp (application/WEB-INF/Tmp) where sometimes I put a lot of files and folders (more then 100.000) and after 24h I clean this folder. But if in the meantime I need to restart the