Re: Error 404 - The requested resource is not available

2017-01-12 Thread Torsten Krah
Am Donnerstag, den 12.01.2017, 13:38 -0600 schrieb fonsin2008 .:
> Here are the  log files.

What about fixing those NPE and enable debug/trace logs of struts2 to
get more information about how struts is going to map the request and
where the 404 is written to the response.


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



Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with openssl-1.0.2j-fips-x86_64

2017-01-12 Thread marcus presley
Yes, the path is correct.  I made sure there were no spaces in path.  Also, 
what are the files that should be in 'msvc' directory?


Marcus



From: Mark Thomas 
Sent: Thursday, January 12, 2017 6:42 PM
To: Tomcat Users List
Subject: Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with 
openssl-1.0.2j-fips-x86_64

On 12/01/2017 22:48, marcus presley wrote:
> Mark,
>
>
> I am building the environment but the bat file is failing at the following 
> line:
>
>
> set VSBaseDir=C:\cmsc-master\msvc
> popd
> if not exist "%VSBaseDir%\bin\i386\lib.exe" goto Failed
>
>
> I explicitly copied lib.exe the directory "%VSBaseDir%\bin\i386", but I still 
> receive the error.

I've never seen that error. Is VSBaseDir set correctly?

Mark


>
>
> Marcus
>
>
>
> 
> From: marcus presley 
> Sent: Thursday, January 12, 2017 3:39 PM
> To: Tomcat Users List
> Subject: Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with 
> openssl-1.0.2j-fips-x86_64
>
> Hi Mark,
>
>
> Thanks for the guide.  Can I use Visual Studio 2015 or should I use the 
> versions you have outlined in guide?
>
>
> Marcus
>
>
> 
> From: Mark Thomas 
> Sent: Thursday, January 12, 2017 2:47 PM
> To: Tomcat Users List
> Subject: Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with 
> openssl-1.0.2j-fips-x86_64
>
> On 12/01/2017 18:56, marcus presley wrote:
>> Forum,
>>
>>
>> I have been unsuccessful, trying to compile 'tcnative.dll' with Visual 
>> Studio 2015.
>
> https://cwiki.apache.org/confluence/display/TOMCAT/Building+the+Tomcat+Native+Connector+binaries+for+Windows

Building the Tomcat Native Connector binaries for Windows 
...
cwiki.apache.org
This page describes the process for building the Windows Native Connector for 
Windows. This is the native part of the APR/Native connector. These 
instructions assume ...



>
> Building the Tomcat Native Connector binaries for Windows 
> ...

Building the Tomcat Native Connector binaries for Windows 
...
cwiki.apache.org
This page describes the process for building the Windows Native Connector for 
Windows. This is the native part of the APR/Native connector. These 
instructions assume ...



> cwiki.apache.org
> This page describes the process for building the Windows Native Connector for 
> Windows. This is the native part of the APR/Native connector. These 
> instructions assume ...
>
>
>
>
> Building the Tomcat Native Connector binaries for Windows 
> ...

Building the Tomcat Native Connector binaries for Windows 
...
cwiki.apache.org
This page describes the process for building the Windows Native Connector for 
Windows. This is the native part of the APR/Native connector. These 
instructions assume ...



>
> Building the Tomcat Native Connector binaries for Windows 
> ...

Building the Tomcat Native Connector binaries for Windows 
...
cwiki.apache.org
This page describes the process for building the Windows Native Connector for 
Windows. This is the native part of the APR/Native connector. These 
instructions assume ...



> cwiki.apache.org
> This page describes the process for building the Windows Native Connector for 
> Windows. This is the native part of the APR/Native connector. These 
> instructions assume ...
>
>
>
> cwiki.apache.org
> This page describes the process for building the Windows Native Connector for 
> Windows. This is the native part of the APR/Native connector. These 
> instructions assume ...
>
>
>
>
> Mark
>
>>
>>
>> I have used several online forums including the instructions on Apache 
>> website (https://tomcat.apache.org/download-native.cgi).

Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...



>
> Apache Tomcat® - Tomcat Native 
> Downloads
> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the 

Re: Upgrade fom Tomat 8.0.33 to 8.5.9 - stuck clients

2017-01-12 Thread Mark Thomas
On 12/01/2017 21:09, Enrico Olivelli wrote:
> Thank you Chris
> 
> Il gio 12 gen 2017, 18:04 Christopher Schultz 
> ha scritto:
> 
> Enrico,
> 
> On 1/12/17 8:53 AM, Enrico Olivelli wrote:
 I'm upgrading from Tomcat 8.0.33. I see that after a period of work
 requests remains "pending", for instance I get all clients
 remaining waiting for a response (parsing HTTP Response header) and
 no active thread on my Tomcat.

 This happens in my QA environment where I start several
 WebDriver/Unit tests againts my web application. I have many cases,
 the most simple I this is the following:

 on  the client side (a JAX-WS client):

 "main" #1 prio=5 os_prio=0 tid=0x7f7cf0009000 nid=0x7ddc
 runnable [0x7f7cf6e3f000]

 java.lang.Thread.State: RUNNABLE

 at java.net.SocketInputStream.socketRead0(Native Method)

 at
 java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

 at java.net.SocketInputStream.read(SocketInputStream.java:170)

 at java.net.SocketInputStream.read(SocketInputStream.java:141)

 at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 - locked <0xfd159a18> (a java.io.BufferedInputStream)

 at
 sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
> 
> Okay, client is waiting.
> 
> 
>> From server side application logs I see that the webapp has processed the
>> request. In this case I am using Metro JAX-WS.
>> It seems that the reponse is waiting in some buffer.
>> Is there any way to inspect tomcat buffers? Network buffers? I am using
>> linux.
> 
>> The strange thing is that with Tomcat 8.0.33 there is no problem.
>>  The same problem happens even with other servlets of different frameworks
>> and other webapps.
> 
>> On 8.0.x I was using Nio connector, on 8.5 I am using Nio2.
>> The problem is both on http and jsse https.

Try NIO.

Mark


> 
>> Is any new relevant default value changed from 8.0 and 8.5? I can't find
>> any idea on changelogs or documentation
> 
> 
> 
> 
> 
 in the server side: Full thread dump Java HotSpot(TM) 64-Bit Server
 VM (25.92-b14 mixed mode):


 "anInnocuousThread" #861 daemon prio=5 os_prio=0
 tid=0x7ff23c0de800 nid=0xdb26 runnable [0x7ff1ad379000]
 java.lang.Thread.State: RUNNABLE at
 sun.nio.ch.EPoll.epollWait(Native Method) at
 sun.nio.ch.EPollPort$EventHandlerTask.poll(EPollPort.java:194) at
 sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:268) at
 java.lang.Thread.run(Thread.java:745) at
 sun.misc.InnocuousThread.run(InnocuousThread.java:74)

 (lots of this kind) (HTTPS Connector I think)
> 
> Without the rest of the stack trace, it's hard to tell if those are okay
> 
> 
>> I have cut all the other threads which had the same stacktrace.
>> I have stripped out GC threads, JMX...
>> My application is not present in any thread but I have several clients
>> stuck at waiting for a response.
> 
>> As soon as I can I will attach the full dump
> 
>> Thank you very much
>> I appreciate your help
> 
>> Enrico
> 
>> .
> 
 "https-jsse-nio2-10.168.10.55-8443-exec-130" #572 daemon prio=5
 os_prio=0 tid=0x7ff23c0a nid=0xd4a2 waiting on condition
 [0x7ff1b2bbf000] java.lang.Thread.State: WAITING (parking) at
 sun.misc.Unsafe.park(Native Method) - parking to wait for
 <0x80f1d420> (a
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 
> These

> are request-processing threads, waiting for work. They are idle.
> 
 (lots of this kind) (HTTP Connector I think)

 "http-nio2-10.168.10.55-8080-exec-21" #281 daemon prio=5 os_prio=0
 tid=0x7ff2340e7000 nid=0xd262 waiting on condition
 [0x7ff1af995000] java.lang.Thread.State: WAITING (parking) at
 sun.misc.Unsafe.park(Native Method) - parking to wait for
 <0x80f0cdb0> (a
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
> 
> Same

> here.
> 
> The others look okay to me.
> 
> -chris
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>> --
> 
> 
> -- Enrico Olivelli
> 


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



Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with openssl-1.0.2j-fips-x86_64

2017-01-12 Thread Mark Thomas
On 12/01/2017 22:48, marcus presley wrote:
> Mark,
> 
> 
> I am building the environment but the bat file is failing at the following 
> line:
> 
> 
> set VSBaseDir=C:\cmsc-master\msvc
> popd
> if not exist "%VSBaseDir%\bin\i386\lib.exe" goto Failed
> 
> 
> I explicitly copied lib.exe the directory "%VSBaseDir%\bin\i386", but I still 
> receive the error.

I've never seen that error. Is VSBaseDir set correctly?

Mark


> 
> 
> Marcus
> 
> 
> 
> 
> From: marcus presley 
> Sent: Thursday, January 12, 2017 3:39 PM
> To: Tomcat Users List
> Subject: Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with 
> openssl-1.0.2j-fips-x86_64
> 
> Hi Mark,
> 
> 
> Thanks for the guide.  Can I use Visual Studio 2015 or should I use the 
> versions you have outlined in guide?
> 
> 
> Marcus
> 
> 
> 
> From: Mark Thomas 
> Sent: Thursday, January 12, 2017 2:47 PM
> To: Tomcat Users List
> Subject: Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with 
> openssl-1.0.2j-fips-x86_64
> 
> On 12/01/2017 18:56, marcus presley wrote:
>> Forum,
>>
>>
>> I have been unsuccessful, trying to compile 'tcnative.dll' with Visual 
>> Studio 2015.
> 
> https://cwiki.apache.org/confluence/display/TOMCAT/Building+the+Tomcat+Native+Connector+binaries+for+Windows
> 
> Building the Tomcat Native Connector binaries for Windows 
> ...
> cwiki.apache.org
> This page describes the process for building the Windows Native Connector for 
> Windows. This is the native part of the APR/Native connector. These 
> instructions assume ...
> 
> 
> 
> 
> Building the Tomcat Native Connector binaries for Windows 
> ...
> 
> Building the Tomcat Native Connector binaries for Windows 
> ...
> cwiki.apache.org
> This page describes the process for building the Windows Native Connector for 
> Windows. This is the native part of the APR/Native connector. These 
> instructions assume ...
> 
> 
> 
> cwiki.apache.org
> This page describes the process for building the Windows Native Connector for 
> Windows. This is the native part of the APR/Native connector. These 
> instructions assume ...
> 
> 
> 
> 
> Mark
> 
>>
>>
>> I have used several online forums including the instructions on Apache 
>> website (https://tomcat.apache.org/download-native.cgi).
> 
> Apache Tomcat® - Tomcat Native 
> Downloads
> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
> 
> 
> 
> 
> Apache Tomcat® - Tomcat Native 
> Downloads
> 
> Apache Tomcat® - Tomcat Native 
> Downloads
> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
> 
> 
> 
> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
> 
> 
> 
>>
>>
>> I have been able to compile openssl-1.0.2j with FIPS, but I receive LNK 
>> Error when the tcnative.dll is being copiled.
>>
>>
>> Marcus
>>
>> Apache Tomcat® - Tomcat Native 
>> Downloads
> 
> Apache Tomcat® - Tomcat Native 
> Downloads
> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
> 
> 
> 
> 
> Apache Tomcat® - Tomcat Native 
> Downloads
> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
> 
> 
> 
>> tomcat.apache.org
>> Use the links below to download the Apache Tomcat ® Native software from one 
>> of our mirrors. You must verify the integrity of the downloaded files using 
>> ...
>>
>>
>>
>>
>> Thanks,
>>
>> Marcus J. Presley
>>
>>
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 


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

Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with openssl-1.0.2j-fips-x86_64

2017-01-12 Thread marcus presley
Mark,


I am building the environment but the bat file is failing at the following line:


set VSBaseDir=C:\cmsc-master\msvc
popd
if not exist "%VSBaseDir%\bin\i386\lib.exe" goto Failed


I explicitly copied lib.exe the directory "%VSBaseDir%\bin\i386", but I still 
receive the error.


Marcus




From: marcus presley 
Sent: Thursday, January 12, 2017 3:39 PM
To: Tomcat Users List
Subject: Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with 
openssl-1.0.2j-fips-x86_64

Hi Mark,


Thanks for the guide.  Can I use Visual Studio 2015 or should I use the 
versions you have outlined in guide?


Marcus



From: Mark Thomas 
Sent: Thursday, January 12, 2017 2:47 PM
To: Tomcat Users List
Subject: Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with 
openssl-1.0.2j-fips-x86_64

On 12/01/2017 18:56, marcus presley wrote:
> Forum,
>
>
> I have been unsuccessful, trying to compile 'tcnative.dll' with Visual Studio 
> 2015.

https://cwiki.apache.org/confluence/display/TOMCAT/Building+the+Tomcat+Native+Connector+binaries+for+Windows

Building the Tomcat Native Connector binaries for Windows 
...
cwiki.apache.org
This page describes the process for building the Windows Native Connector for 
Windows. This is the native part of the APR/Native connector. These 
instructions assume ...




Building the Tomcat Native Connector binaries for Windows 
...

Building the Tomcat Native Connector binaries for Windows 
...
cwiki.apache.org
This page describes the process for building the Windows Native Connector for 
Windows. This is the native part of the APR/Native connector. These 
instructions assume ...



cwiki.apache.org
This page describes the process for building the Windows Native Connector for 
Windows. This is the native part of the APR/Native connector. These 
instructions assume ...




Mark

>
>
> I have used several online forums including the instructions on Apache 
> website (https://tomcat.apache.org/download-native.cgi).

Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...




Apache Tomcat® - Tomcat Native 
Downloads

Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...



tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...



>
>
> I have been able to compile openssl-1.0.2j with FIPS, but I receive LNK Error 
> when the tcnative.dll is being copiled.
>
>
> Marcus
>
> Apache Tomcat® - Tomcat Native 
> Downloads

Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...




Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...



> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
>
>
>
>
> Thanks,
>
> Marcus J. Presley
>
>


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



Re: TomcatCon @ ApacheCon

2017-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Rich,

On 1/12/17 4:49 PM, Rich Bowen wrote:
> Speaking as the guy who gets to help advertise the event, I would 
> personally like to see some third-party stuff at ApacheCon. 
> Particularly popular apps that people run on top of Apache Foo.
> 
> I must admit my ignorance, I don't know what that is with Tomcat.
> But if there's some very popular application that folks tend to run
> on top of Tomcat, having the expert from that community join us for
> this event gives us an opportunity to cross-pollinate with other 
> communities.

How about JIRA?

Is Apache Roller still a thing that people use?

I'm sure Leon would love to talk about MosKito... that's more
widely-applicable than some user's company's proprietary web
application... but they may use MosKito in conjunction with their own
applications.

I run JasperReports Server on Tomcat, but their "open source"
"community" seems to be not much of either, unfortunately.

And of course, we run our own custom applications -- which may be of
little interest to attendees.

> Admittedly, we've had very little success with this, with *other* 
> Apache projects, but it seems worth asking. :-)

Well, I think that most users of e.g. Hadoop are probably running
their own proprietary stuff, or something that is only really
interesting to a small group of users.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYeAU6AAoJEBzwKT+lPKRYU+AQALBia/w9wlerisgmG3vsSTMA
A3OMs0bJczPq+KJK6MYHD/PQP3EZaxqzywM9ISXS8iBjl70OC8A6R19WcBt1nSu+
yrSpq4VAvA+LvgA9ZP5dloq081v8bJCjf2QcHpVFYFMhq1BSfjiJtvvU6qASCUQG
9foWD1J/XOZ9N82DYZAD2ksJw7VXOJsEALejkk34A2PrSMa5jjWNlP5dMLHdLwrB
HZ2WKYaU8fEhnRQKAoc+XImCabBuhg1YHRbGLG49N/JzoxH2/pC+sSmFzIA0Vhms
Us3rj5UITJuH2PqSnt2q8/YGnwqeKISxggq4fXaYb4ic0cRY9Xboibx9n8BHZPf8
hCVOuXJPkSQVlTTGhfSeEqdJ0K9mmYQm281HU+krlREtTZnD7l1nrc/Rlhr+p7GE
9xAH+TnFIkHyi5y06VxluM+014jISGhKXVBMfIWB150B3/hpFUVyoCHEdvDahwO2
3AUbz/0Y5jQVRleWg4cuqQiF8YvBCaYGLCZLLDjmdfnlevwCFsna3ioLIQfGn6Zn
3M5LeNE9dPiYfJ9qA7ZCIn9bqI++1IEoW4m6QJsoj7TZw7kxBTp+m87T2D5xOP67
iBYXZzZsU5cTDowIWQ+8csQmdBdf+oUikigrSCd02a8hOJlqGHn7++yt2IxwXJmk
oq+NFxrlRyROLSi8El9Q
=koSy
-END PGP SIGNATURE-

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



Re: TomcatCon @ ApacheCon

2017-01-12 Thread Rich Bowen


On 2017-01-09 06:57 (-0500), Mark Thomas  wrote: 
> All,
> 
> There is the opportunity (if we can pull it together as a community) to
> run a dedicated Tomcat conference alongside ApacheCon NA 2017. The dates
> are May 16 to 18.
> 
> The call for papers closes on Feb 11 so we have around a month to get
> organised. We'll also need to convince the conference organisers that a)
> there is a demand for this and b) we have a plan.
> 
> Getting the right content is going to be critical to success. I've been
> thinking about this for a while and I think we can identify the right
> content if as many folks as possible on this list answer the following
> question:
> 
> "What topic(s) need to be covered in a Tomcat conference to make it as
> easy as possible to get your employer to pay for you to attend?"
> 
> We have up to three days and potentially multiple tracks so even if you
> think you have a niche requirement, please speak up. We typically have a
> number of Tomcat committers speaking at ApacheCon so finding someone to
> cover a particular topic shouldn't be too tricky. Equally, if you have a
> topic you could present on that you think others would find useful,
> speak up.
> 
> Do feel free to add your +1 if someone else mentions a topic your are
> interested first. Having an idea of how popular the topics are would
> also be helpful.
> 
> Also, we don't have to stick to the standard "Sit and listen to someone
> present for 40 mins" format. Discussions, workshops, hackathons are all
> possible.
> 
> Some topic ideas to get the ball rolling.
> 
> Hands-on workshop: Configuring TLS with Apache Tomcat
> Reverse Proxying to Apache Tomcat
> Load-balancing with Apache Tomcat
> Clustering  with Apache Tomcat
> Tomcat Clinic (like the users list but with everyone in the same room)
> 
> I look forward to hearing your topic ideas.


Speaking as the guy who gets to help advertise the event, I would personally 
like to see some third-party stuff at ApacheCon. Particularly popular apps that 
people run on top of Apache Foo.

I must admit my ignorance, I don't know what that is with Tomcat. But if 
there's some very popular application that folks tend to run on top of Tomcat, 
having the expert from that community join us for this event gives us an 
opportunity to cross-pollinate with other communities.

Admittedly, we've had very little success with this, with *other* Apache 
projects, but it seems worth asking. :-)

--Rich

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



Re: Upgrade fom Tomat 8.0.33 to 8.5.9 - stuck clients

2017-01-12 Thread Enrico Olivelli
Thank you Chris

Il gio 12 gen 2017, 18:04 Christopher Schultz 
ha scritto:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Enrico,
>
> On 1/12/17 8:53 AM, Enrico Olivelli wrote:
> > I'm upgrading from Tomcat 8.0.33. I see that after a period of work
> > requests remains "pending", for instance I get all clients
> > remaining waiting for a response (parsing HTTP Response header) and
> > no active thread on my Tomcat.
> >
> > This happens in my QA environment where I start several
> > WebDriver/Unit tests againts my web application. I have many cases,
> > the most simple I this is the following:
> >
> > on  the client side (a JAX-WS client):
> >
> > "main" #1 prio=5 os_prio=0 tid=0x7f7cf0009000 nid=0x7ddc
> > runnable [0x7f7cf6e3f000]
> >
> > java.lang.Thread.State: RUNNABLE
> >
> > at java.net.SocketInputStream.socketRead0(Native Method)
> >
> > at
> > java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
> >
> > at java.net.SocketInputStream.read(SocketInputStream.java:170)
> >
> > at java.net.SocketInputStream.read(SocketInputStream.java:141)
> >
> > at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
> >
> > at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
> >
> > at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
> >
> > - locked <0xfd159a18> (a java.io.BufferedInputStream)
> >
> > at
> > sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)
>
> Okay, client is waiting.
>

>From server side application logs I see that the webapp has processed the
request. In this case I am using Metro JAX-WS.
It seems that the reponse is waiting in some buffer.
Is there any way to inspect tomcat buffers? Network buffers? I am using
linux.

The strange thing is that with Tomcat 8.0.33 there is no problem.
 The same problem happens even with other servlets of different frameworks
and other webapps.

On 8.0.x I was using Nio connector, on 8.5 I am using Nio2.
The problem is both on http and jsse https.

Is any new relevant default value changed from 8.0 and 8.5? I can't find
any idea on changelogs or documentation





> > in the server side: Full thread dump Java HotSpot(TM) 64-Bit Server
> > VM (25.92-b14 mixed mode):
> >
> >
> > "anInnocuousThread" #861 daemon prio=5 os_prio=0
> > tid=0x7ff23c0de800 nid=0xdb26 runnable [0x7ff1ad379000]
> > java.lang.Thread.State: RUNNABLE at
> > sun.nio.ch.EPoll.epollWait(Native Method) at
> > sun.nio.ch.EPollPort$EventHandlerTask.poll(EPollPort.java:194) at
> > sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:268) at
> > java.lang.Thread.run(Thread.java:745) at
> > sun.misc.InnocuousThread.run(InnocuousThread.java:74)
> >
> > (lots of this kind) (HTTPS Connector I think)
>
> Without the rest of the stack trace, it's hard to tell if those are okay
>

I have cut all the other threads which had the same stacktrace.
I have stripped out GC threads, JMX...
My application is not present in any thread but I have several clients
stuck at waiting for a response.

As soon as I can I will attach the full dump

Thank you very much
I appreciate your help

Enrico

.
>
> > "https-jsse-nio2-10.168.10.55-8443-exec-130" #572 daemon prio=5
> > os_prio=0 tid=0x7ff23c0a nid=0xd4a2 waiting on condition
> > [0x7ff1b2bbf000] java.lang.Thread.State: WAITING (parking) at
> > sun.misc.Unsafe.park(Native Method) - parking to wait for
> > <0x80f1d420> (a
> > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
>
> These
> >
> are request-processing threads, waiting for work. They are idle.
>
> > (lots of this kind) (HTTP Connector I think)
> >
> > "http-nio2-10.168.10.55-8080-exec-21" #281 daemon prio=5 os_prio=0
> > tid=0x7ff2340e7000 nid=0xd262 waiting on condition
> > [0x7ff1af995000] java.lang.Thread.State: WAITING (parking) at
> > sun.misc.Unsafe.park(Native Method) - parking to wait for
> > <0x80f0cdb0> (a
> > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
>
> Same
> >
> here.
>
> The others look okay to me.
>
> - -chris
> -BEGIN PGP SIGNATURE-
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJYd7cuAAoJEBzwKT+lPKRYjz4QAMdOEYMtJjMP3ZNmwNgUtFiv
> EGjupmPN4xYrcqmLGC3uBQUTSPHpwCnSz7rdunqmMsludgKeNdFUrljcWtMjNqHG
> Kacv+epNlT60L+Uqfeld4XDiADoXuVfxtX3KwGgNnSCsDNP/qgeSfP/61ucpmiqi
> rq5UF36CdGfp351Tw+6UEJyD86VSgRq+0URgDojkCvT9wwSJhmKzsFFG96QCzF4t
> dgbZEJTDPmg1y25dk4bi3GBmBbSMpM3o4s9/0HaZ8OUk/JrwCEFdvPbo8OWSZgmR
> C7JlAu+l4yN3rcj6fa58IyfxcyK8q68FSlck0bMP3ZCbBKNikY0ENj6GDY3s33/N
> ih1hWLyRtVnqrw2w2551Zi8gMj1dp7MOXogM4cp+hy+R13ihWKcwoshteGrX6mOb
> 4B1tLUtgweFeCiFLFC2Lno2M4OtiSSBbI6d5Dr4kIX7h9rCkDBxZHkTvZEGK82z3
> +1S4w8QLceRiyoJplPhb+81S2PrLedG7fbSpcwRAv/lHZzxFFaRgrcyxNw8wn5/o
> LDpV0+MRaf/VgZSiTB99Yn+bisXfKsaGLSbKytsM9Ts2LgvBP0C/W/0Ja86ghDUc
> D+WygQyikdpKN6UX04ZKJ2FUQJ+7/W6gXupHlzvvUvxy71iHSLaArmv/3I2UNgcv

Re: TomcatCon @ ApacheCon

2017-01-12 Thread Mark Thomas
On 12/01/2017 20:30, Christopher Schultz wrote:
> Coty,
> 
> On 1/11/17 12:24 PM, Coty Sutherland wrote:
>> On Tue, Jan 10, 2017 at 3:14 PM, Christopher Schultz 
>>  wrote:
>>> +1
> 
>> I'm glad someone is interested :)
> 
>>> Perhaps we could have some representatives from the various 
>>> distributions give a joint presentation.
> 
>> That would be great. I'd love to meet the other distro
>> maintainers.
> 
> [snip]
> 
>>> I think it would be a good idea to use some of that time to
>>> solicit feedback from the audience about what the distros could
>>> do to make things easier...
> 
>> +1, definitely. I will to do anything that we can to drive adoption
>> of tomcat up (distro-specific versions or ASF).
> 
> How about this: submit a topic to the Call for Papers[1] and choose
> "Panel Discussion" for the "Submission Type". If you can get some
> other maintainers coordinated, you can choose to prepare some slides
> (maybe 5 mins each) and/or come with some conversation questions to
> get things started with a panel. Open up to the audience as well. I
> suspect you'll get a good conversation going. I'll certainly be there
> unless I must be elsewhere.
> 
>> The biggest concern that I've heard from various of the involved 
>> people (and may be a reason why other distros don't consume
>> updates as frequently) is that tomcat is not that great at
>> maintaining backwards compatibility;
> 
> Understood.
> 
>> I hear this complaint a lot and I get push back from packages that 
>> have dependencies on tomcat when I do push our new revision
>> updates.
> 
> I know that some of the APR and httpd folks are absolutely rabid about
> not breaking backwards-compatibility. Perhaps we could bring them into
> the discussion to hear some of the things that they look for when
> maintaining compatibility. In the Java world, there is no
> binary-compatibility, for instance, but API compatibility is of course
> essential.
> 
>> I don't have any specific examples that I can think of right now 
>> other than the update from 8.0 to 8.5 removing BIO.
> 
> That's a new major release of Tomcat, though. We ought to be able to
> break whatever we want, there. I think complaints about lack of
> backward-compatibility are unwarranted in this particular case.
> 
> For the most part, Tomcat devs tend to feel free to modify
> completely-internal APIs as necessary, but will make an effort to
> maintain backward-compatibility for semi-internal APIs. It might be a
> good exercise to identify which parts of Tomcat should be considered
> (publicly) stable and which parts are okay to modify.

You mean like we do in the RELEASE-NOTES in the root of the repo?

Mark

> Backward-compatibility is relatively easy in Java for certain things.
> Major refactorings usually don't happen in a point-release.
> 
> -chris
> 
> [1]
> http://events.linuxfoundation.org/events/apachecon-north-america/program
> /cfp
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


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



Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with openssl-1.0.2j-fips-x86_64

2017-01-12 Thread marcus presley
Hi Mark,


Thanks for the guide.  Can I use Visual Studio 2015 or should I use the 
versions you have outlined in guide?


Marcus



From: Mark Thomas 
Sent: Thursday, January 12, 2017 2:47 PM
To: Tomcat Users List
Subject: Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with 
openssl-1.0.2j-fips-x86_64

On 12/01/2017 18:56, marcus presley wrote:
> Forum,
>
>
> I have been unsuccessful, trying to compile 'tcnative.dll' with Visual Studio 
> 2015.

https://cwiki.apache.org/confluence/display/TOMCAT/Building+the+Tomcat+Native+Connector+binaries+for+Windows

Building the Tomcat Native Connector binaries for Windows 
...
cwiki.apache.org
This page describes the process for building the Windows Native Connector for 
Windows. This is the native part of the APR/Native connector. These 
instructions assume ...




Mark

>
>
> I have used several online forums including the instructions on Apache 
> website (https://tomcat.apache.org/download-native.cgi).

Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...



>
>
> I have been able to compile openssl-1.0.2j with FIPS, but I receive LNK Error 
> when the tcnative.dll is being copiled.
>
>
> Marcus
>
> Apache Tomcat® - Tomcat Native 
> Downloads

Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...



> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
>
>
>
>
> Thanks,
>
> Marcus J. Presley
>
>


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



Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with openssl-1.0.2j-fips-x86_64

2017-01-12 Thread marcus presley
Coty


I'm trying build tomcat-native 1.2.x.


I have attached the error log I'm receiving from Visual Studio 2015.


Marcu



From: Coty Sutherland 
Sent: Thursday, January 12, 2017 2:40 PM
To: Tomcat Users List
Subject: Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with 
openssl-1.0.2j-fips-x86_64

Can you provide the output of the failure so that we can see what's
happening? And are you trying to build tomcat-native 1.2.x or 1.1.x?

On Thu, Jan 12, 2017 at 1:56 PM, marcus presley
 wrote:
> Forum,
>
>
> I have been unsuccessful, trying to compile 'tcnative.dll' with Visual Studio 
> 2015.
>
>
> I have used several online forums including the instructions on Apache 
> website (https://tomcat.apache.org/download-native.cgi).

Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...



>
>
> I have been able to compile openssl-1.0.2j with FIPS, but I receive LNK Error 
> when the tcnative.dll is being copiled.
>
>
> Marcus
>
> Apache Tomcat® - Tomcat Native 
> Downloads

Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...



> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
>
>
>
>
> Thanks,
>
> Marcus J. Presley
>

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


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

Re: TomcatCon @ ApacheCon

2017-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Coty,

On 1/11/17 12:24 PM, Coty Sutherland wrote:
> On Tue, Jan 10, 2017 at 3:14 PM, Christopher Schultz 
>  wrote:
>> +1
> 
> I'm glad someone is interested :)
> 
>> Perhaps we could have some representatives from the various 
>> distributions give a joint presentation.
> 
> That would be great. I'd love to meet the other distro
> maintainers.

[snip]

>> I think it would be a good idea to use some of that time to
>> solicit feedback from the audience about what the distros could
>> do to make things easier...
> 
> +1, definitely. I will to do anything that we can to drive adoption
> of tomcat up (distro-specific versions or ASF).

How about this: submit a topic to the Call for Papers[1] and choose
"Panel Discussion" for the "Submission Type". If you can get some
other maintainers coordinated, you can choose to prepare some slides
(maybe 5 mins each) and/or come with some conversation questions to
get things started with a panel. Open up to the audience as well. I
suspect you'll get a good conversation going. I'll certainly be there
unless I must be elsewhere.

> The biggest concern that I've heard from various of the involved 
> people (and may be a reason why other distros don't consume
> updates as frequently) is that tomcat is not that great at
> maintaining backwards compatibility;

Understood.

> I hear this complaint a lot and I get push back from packages that 
> have dependencies on tomcat when I do push our new revision
> updates.

I know that some of the APR and httpd folks are absolutely rabid about
not breaking backwards-compatibility. Perhaps we could bring them into
the discussion to hear some of the things that they look for when
maintaining compatibility. In the Java world, there is no
binary-compatibility, for instance, but API compatibility is of course
essential.

> I don't have any specific examples that I can think of right now 
> other than the update from 8.0 to 8.5 removing BIO.

That's a new major release of Tomcat, though. We ought to be able to
break whatever we want, there. I think complaints about lack of
backward-compatibility are unwarranted in this particular case.

For the most part, Tomcat devs tend to feel free to modify
completely-internal APIs as necessary, but will make an effort to
maintain backward-compatibility for semi-internal APIs. It might be a
good exercise to identify which parts of Tomcat should be considered
(publicly) stable and which parts are okay to modify.
Backward-compatibility is relatively easy in Java for certain things.
Major refactorings usually don't happen in a point-release.

- -chris

[1]
http://events.linuxfoundation.org/events/apachecon-north-america/program
/cfp


-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYd+dpAAoJEBzwKT+lPKRY33kP/AhgdrtshBuHzdBSqryIJXho
1FmWOO26LzO8TivH/hrcioo6hgMCXP5I/YWYJ+PH9BYwVAbzMZehW+8+9bfq07Ug
RZGzJo7Xv/J9xmEsZsIki5wnOLYVG+M80ZCLCGo80YEduQyhbnITvfH32D6jlLZc
k8A8NGA+Gldyq+Rc+H2ZYnn7nbdgu2Tmk/5JrEUV34e3DD0fhKxr8DAJf6BbmcZ6
BhZ2CqtK1ePa5RfKxLXaf9CVqkTan/9tGTA3mMRzTe6nMsDGr3SascYX4T9kf7OH
X38c4LpddImdxL3i4gC11V/NGpNFJ8nkD6CRodWDUcqPRkjnxNQ/w9vEA2NL3feu
MjV83pHy6Ow8S9MtRge3VBDEynwHQ/y9UaCw5gbjnSSCkSbCxrgtVvLgod/hHKTs
Ru5vf/SVYS7spyawscQCadR/ehp6WBWx1SnfjMZsgFdmpWPl3Xy8puwonDkJSfd9
52PRV+9XiBWnHTPgwPGuktfMWhMKW9CON8I4WYEQANNyM447tRWnwEzpva+oysam
s/rgXafxD9FVJuvIL41+VzUv42XcTs6sT548TaXmUapDYo29vMZB0AHevPvNHfm6
52Nhc9YRrgS9CqU/tdQIQBTqttr2h/lwzw+cS7XxRakXPOKPFzF/rbgAyQaRkZyW
vhHRawolld3jjohm+OEr
=w1b6
-END PGP SIGNATURE-

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



Re: Tomcat compatibility based on OS

2017-01-12 Thread Edward Bicker
Hello Chris,
Can you help to have Tomcat user group UN-subscribe me. I have tried to send 
email but it is not UN-subscribing me.
REgards,
/Ed


-Original Message-
>From: Christopher Schultz 
>Sent: Jan 12, 2017 11:55 AM
>To: Tomcat Users List 
>Subject: Re: Tomcat compatibility based on OS
>
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA256
>
>Mathur,
>
>On 1/12/17 11:30 AM, Mathur, Himanshu (GE, Corporate, consultant) wrote:
>> I am looking to download open source Apache Tomcat 8.x version for 
>> Oracle Linux Server release 5.11
>> 
>> But I am struggling to get a compatibility matrix of open source 
>> Tomcat based on its supported OS.
>> 
>> Can you please help me here?!!?
>> 
>> Below is the Apache Tomcat Versions matrix showing JSP/Servlet 
>> specs.
>> 
>> Similarly can I get one for OS.
>
>Tomcat is compatible with Java versions, not with specific operating
>systems. If you have a supported Java version for your OS, then Tomcat
>will run in it as well.
>
>I'm confident, for example, that Tomcat 8.x will run on Oracle Linux
>5.x as long as you have Java 7 or higher installed.
>
>- -chris
>-BEGIN PGP SIGNATURE-
>Comment: GPGTools - http://gpgtools.org
>Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
>iQIcBAEBCAAGBQJYd7UHAAoJEBzwKT+lPKRYdEIP/isx6toFxpdqmqWwq7MowLvf
>GkuGPeASXqmR57mHaBLXer6jHRjraF3VxYg3cYaqZ/p/UiRXklqlnSiTO3wi0q9O
>FoithAnT1zy2OGAj16S+ijhh5TRxyfgQIfKWoVpRcX2rEEpHeoEbkp+8s07wOFka
>ESg8kh7cZ1v0PeqQYA9LGJ5PXYgwyyrwYxvPHpGstwsfPG9oTjsbRug4tTwl2WSz
>wxQT7usXK0zDK/4dA69tuR+fHlk6DJ9dCMFbVVYOcO/MadTlEoWUPC8Qd8k6D5yb
>/CkdLEXxL8kQIEFfaycCNiYb8RCESKA+gR4s5S7oQ7kQJeC1xI8PNMP3fv790IVC
>wV6DCaa77WBFxoQNMluqkTMW0vIwDXepRxArrqu7D8sufufarZqpY4h8NTQiEL/S
>g0bwUBRfKQMM2bU+A/GrELe/PtqH3tsZLnKLc3dmjDuzYmziwSx+BSN/RW4WyX2T
>iZ+yoMrHQp4bh/3M6mThEbZky0oAkmkkmptpnq6khqdnZrglxCEoBYVaLB31dDig
>AmcAbZE8Mn5qU2ypph5xT01EbLbbkcEYqAGqQ+C3r9Qc20E7TZWq1gqOR5tEpaW3
>dghC/Pn59ioDdp52MhsLN8vkaQQiNRu2pfzNROEA4gTFEhrYR/egnNgIc2/zf3QP
>EEqUaltSuzIR063rbBKv
>=219s
>-END PGP SIGNATURE-
>
>-
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>For additional commands, e-mail: users-h...@tomcat.apache.org
>

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



Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with openssl-1.0.2j-fips-x86_64

2017-01-12 Thread Mark Thomas
On 12/01/2017 18:56, marcus presley wrote:
> Forum,
> 
> 
> I have been unsuccessful, trying to compile 'tcnative.dll' with Visual Studio 
> 2015.

https://cwiki.apache.org/confluence/display/TOMCAT/Building+the+Tomcat+Native+Connector+binaries+for+Windows

Mark

> 
> 
> I have used several online forums including the instructions on Apache 
> website (https://tomcat.apache.org/download-native.cgi).
> 
> 
> I have been able to compile openssl-1.0.2j with FIPS, but I receive LNK Error 
> when the tcnative.dll is being copiled.
> 
> 
> Marcus
> 
> Apache Tomcat® - Tomcat Native 
> Downloads
> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
> 
> 
> 
> 
> Thanks,
> 
> Marcus J. Presley
> 
> 


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



Re: Tcnative.dll apr-1.5.2-win32-src - unable to compile with openssl-1.0.2j-fips-x86_64

2017-01-12 Thread Coty Sutherland
Can you provide the output of the failure so that we can see what's
happening? And are you trying to build tomcat-native 1.2.x or 1.1.x?

On Thu, Jan 12, 2017 at 1:56 PM, marcus presley
 wrote:
> Forum,
>
>
> I have been unsuccessful, trying to compile 'tcnative.dll' with Visual Studio 
> 2015.
>
>
> I have used several online forums including the instructions on Apache 
> website (https://tomcat.apache.org/download-native.cgi).
>
>
> I have been able to compile openssl-1.0.2j with FIPS, but I receive LNK Error 
> when the tcnative.dll is being copiled.
>
>
> Marcus
>
> Apache Tomcat® - Tomcat Native 
> Downloads
> tomcat.apache.org
> Use the links below to download the Apache Tomcat ® Native software from one 
> of our mirrors. You must verify the integrity of the downloaded files using 
> ...
>
>
>
>
> Thanks,
>
> Marcus J. Presley
>

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



Re: Error 404 - The requested resource is not available

2017-01-12 Thread fonsin2008 .
Here are the  log files.

2017-01-12 2:29 GMT-06:00 Greg Huber :
> Check in the apache-tomcat-x.x.x/logs for any
>  errors in catalina.out or yourapp.log files.
>
>
>
> On 12 January 2017 at 06:19, fonsin2008 .  wrote:
>
>> Hi!
>>
>> The url is: http://somehost/evaluacion/login_formaLogin.action
>>
>> The problem is that it used to run without problems.
>>
>> 2017-01-11 19:50 GMT-06:00 Tim Watts :
>> > On Wed, 2017-01-11 at 15:49 -0600, fonsin2008 . wrote:
>> >> Hi all!
>> >>
>> >> First, I need to say that I'm new(ignorant) with Tomcat. One of our
>> >> systems is written with tomcat, but today something went wrong and the
>> >> following error appears on the webpage:
>> >>
>> >> --Estado HTTP 404 - /evaluacion/WEB-INF/pages/login/forma_login.jsp
>> >> --__
>> >> --type Informe de estado
>> >> --mensaje /evaluacion/WEB-INF/pages/login/forma_login.jsp
>> >> --descripción El recurso requerido no está disponible.
>> >> --
>> >> --Apache Tomcat/6.0.37
>> >>
>> >> The file exists on the virtualserver, at
>> >>
>> >> home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/
>> evaluacion/WEB-INF/pages/login
>> >>
>> >> And:
>> >> ls -l
>> >> -rw-r--r-- 1  desarrollo 3744 feb 11  2015 forma_login.jsp
>> >>
>> >> the evaluacion.war file lives at
>> >> /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo
>> >>
>> >> And in /WEB-INF/classes/struts.xm I found:
>> >> ./WEB-INF/classes/struts.xml:  > >> name="forma_login">/WEB-INF/pages/login/forma_login.jsp
>> >>
>> >> So, I can't figure out why this error appears. May be I'm missing
>> >> something obvious. I also googled it, but I only found permission
>> >> errors and wrong paths.
>> >>
>> >> If you need some additional information, feel free to ask.
>> >>
>> >
>> > What URL was used to produce the error message?
>> >
>> > Since you're unfamiliar with Tomcat, and presumably Servlet based web
>> > applications, you need to know that /WEB-INF and anything below it is
>> > inaccessible outside the web app; it's only accessible from within the
>> > web app.  So if you issued a URL like:
>> >
>> > http://some-host/evaluacion/WEB-INF/pages/login/forma_login.jsp
>> >
>> > You will unsurprisingly get the 404 error.
>> >
>> > If this is the case then your task is to learn more about the specifics
>> > of your application and what the proper login URL is.  Looks like it's
>> > built with Struts so you may need to learn about that -- starting with
>> > what version was used.
>> >
>> > -- Tim.
>> >
>> >
>> >> Thank you guys for your time!
>> >>
>> >> Jesus Mager
>> >> [www.h1n1-al.blogspot.com]
>> >>
>> >> -
>> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> >> For additional commands, e-mail: users-h...@tomcat.apache.org
>> >>
>> >
>> >
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> > For additional commands, e-mail: users-h...@tomcat.apache.org
>> >
>>
>>
>>
>> --
>> Jesus Mager
>> [www.h1n1-al.blogspot.com]
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>



-- 
Jesus Mager
[www.h1n1-al.blogspot.com]
ene 11, 2017 12:40:30 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() para servlet default lanzó excepción
java.lang.NullPointerException
	at mx.uam.azc.cbi.evaluaciones.actions.EvaluacionAction.reporteEvaluaciones(EvaluacionAction.java:241)
	at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
	at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
	at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
	at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
	at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
	at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
	at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
	at 

Re: Best way to find out how many DB connections that are open at any given time

2017-01-12 Thread Thomas Meyer
You may also want to have a look at flexy pool - 
https://github.com/vladmihalcea/flexy-pool 

With kind regards
Thomas


With kind regards
Thomas

> Am 11.01.2017 um 01:36 schrieb Joleen Barker :
> 
> As always, thank you Christopher, I'll take a look at the slides.
> 
> And Thank you to the other for pointing me in some directions for this.
> 
> -Joleen
> 
> On Tue, Jan 10, 2017 at 3:19 PM, Christopher Schultz <
> ch...@christopherschultz.net> wrote:
> 
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>> 
>> Joleen,
>> 
>>> On 1/10/17 11:10 AM, Joleen Barker wrote:
>>> Hello All,
>>> 
>>> Details: Tomcat Version: 7.0.64.0 Java Version: 1.8.0 OS: AIX 6.1
>>> Database: Oracle 11
>>> 
>>> The web application installed on the server above makes data
>>> connections to run file transfers from point A to point B. The
>>> default Database connection setting that are set when the
>>> application server comes up are as follows:
>>> 
>>> DataBasePoolingFlag - APACHE MaxActive - 400 MaxIdle - 20 MinIdle -
>>> 10
>>> 
>>> We had an incident where all these connections were actually used
>>> up due to a script someone had that looped. I need to determine at
>>> any given point in time how many DB connections exist from the web
>>> application to the DB. There may be more than one way to do this. I
>>> am sure there is a DB command that could be run against the schema
>>> but the schema is pointed to by many servers. I am  wondering if
>>> there is a java command of some kind that I could run that may tell
>>> me how many connections are open at that time or possibly a tomcat
>>> or apache command.
>> 
>> This may be helpful:
>> 
>> http://people.apache.org/~schultz/ApacheCon%20NA%202016/Monitoring%20Apa
>> che%20Tomcat%20with%20JMX.pdf
>> 
>> Slides 15-16 show you where you can find the DataSource information
>> via JMX, and then later on in the presentation there are slides to
>> show how you can get that information via HTTP instead of JMX. Scripts
>> are provided to fetch a value at intervals, track values over time, etc.
>> 
>> - -chris
>> -BEGIN PGP SIGNATURE-
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>> 
>> iQIcBAEBCAAGBQJYdUHCAAoJEBzwKT+lPKRY8lAP/0C6wfLboz4K2MxaHR/86moX
>> sKIev9jV+wQ17n0nf1Wj1UA7GDGALye485Z2XMgIjlOaXmufVClfa3MWY07z+bv2
>> R67AmDQ797jlCwTAAhpaRtB0FJmX4cd0EnJkC9r03NCH+kPRIK8G91bkgn8ehw4L
>> x0jrgKO/N0UEpshNI/baPxRJRX7yr83g2ZHiKVoFAXM25rEcJNSPOkvlTkBxZ5Yv
>> RCQuobinJa9X64p8beYXSkO/9wbP+b5/wcUxpewfvByK9Hits+n33/Mbq5RpKlR7
>> vIHpwDJKlTo2/8ivIDHngIPiRQetlXEgwSWwN+5Fsr+V4bFSh6XnzIBAiB8SNoua
>> A9m71pyOoyQhdAAQzNfWwtLPWg9jrDaIRB7bj+HnbrKnCUa4rDyWfUDm4IwanfLW
>> QcDUggAgD151UstbSAQafLKJb0TBCWqHpIAvsJwCziOb6LnvtIf5xoLe7s48JZE9
>> 44YfDFI4qg0NSdP59vF/Z1Ho5sveScHrcgmB03BGWVunj9caclqKOWWnJOscAVLJ
>> UXQG0B6VvboLJRgKUU4/z0s1a2sOcTLRUz+H1Ib9giqLirI6NVYUSg0lEZdVm5BA
>> 0Ctwd6qD7G1j8e4ZiuChC3paCA0nYVhEea0dAVHXB+ZYER89yeoBzPkZnc/vWLEe
>> LO1AZaxZ2nDebk0ubBn9
>> =JgPw
>> -END PGP SIGNATURE-
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
>> 


smime.p7s
Description: S/MIME cryptographic signature


Tcnative.dll apr-1.5.2-win32-src - unable to compile with openssl-1.0.2j-fips-x86_64

2017-01-12 Thread marcus presley
Forum,


I have been unsuccessful, trying to compile 'tcnative.dll' with Visual Studio 
2015.


I have used several online forums including the instructions on Apache website 
(https://tomcat.apache.org/download-native.cgi).


I have been able to compile openssl-1.0.2j with FIPS, but I receive LNK Error 
when the tcnative.dll is being copiled.


Marcus

Apache Tomcat® - Tomcat Native 
Downloads
tomcat.apache.org
Use the links below to download the Apache Tomcat ® Native software from one of 
our mirrors. You must verify the integrity of the downloaded files using ...




Thanks,

Marcus J. Presley



Tomcat compatibility based on OS

2017-01-12 Thread Mathur, Himanshu (GE, Corporate, consultant)
Thanx much Coty Sutherland!

Thanks & Regards,
Himanshu Mathur


-Original Message-
From: Coty Sutherland [mailto:csuth...@redhat.com] 
Sent: Thursday, January 12, 2017 12:54 PM
To: Tomcat Users List
Subject: EXT: Re: Tomcat compatibility based on OS

> Can you also confirm that same logic applies to REDHAT provide Tomcat the 
> JBoss Enterprise Web Server?

The answer to that is a 'maybe' because of the Red Hat distribution's 
tomcat-native builds which are included in the zip distribution. To get a real 
(official) answer though you need to open a support case instead of mailing the 
community list.

> While downloading tomcat from RedHat portal , Web Server 2.1.0  show 
> the option to download tomcat 7 for "RHEL 5"
>
> But I need tomcat 8, so in Redhat portal it don't give any option to download 
> "tomcat 8 for RHEL 5" but it do show the option to download "tomcat 8 for 
> RHEL 6/7"  x86_64.

That's because Red Hat only build RPMs for rhel-6 and rhel-7 and the zip 
distribution includes tomcat-native built for the specific OS. If you download 
the zip and remove the tomcat-native then tomcat itself can run wherever though 
:) Whether or not that's a supported configuration is up to Red Hat, which is 
why I suggest a case to get an official answer.

> So you mean even if I download the Redhat provided Tomcat 8 for RHEL6/7, it 
> will work with RHEL5 as well?

Yep, as long as it's running on at least java 7.

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



Re: Tomcat compatibility based on OS

2017-01-12 Thread Coty Sutherland
> Can you also confirm that same logic applies to REDHAT provide Tomcat the 
> JBoss Enterprise Web Server?

The answer to that is a 'maybe' because of the Red Hat distribution's
tomcat-native builds which are included in the zip distribution. To
get a real (official) answer though you need to open a support case
instead of mailing the community list.

> While downloading tomcat from RedHat portal ,
> Web Server 2.1.0  show the option to download tomcat 7 for "RHEL 5"
>
> But I need tomcat 8, so in Redhat portal it don't give any option to download 
> "tomcat 8 for RHEL 5" but it do show the option to download "tomcat 8 for 
> RHEL 6/7"  x86_64.

That's because Red Hat only build RPMs for rhel-6 and rhel-7 and the
zip distribution includes tomcat-native built for the specific OS. If
you download the zip and remove the tomcat-native then tomcat itself
can run wherever though :) Whether or not that's a supported
configuration is up to Red Hat, which is why I suggest a case to get
an official answer.

> So you mean even if I download the Redhat provided Tomcat 8 for RHEL6/7, it 
> will work with RHEL5 as well?

Yep, as long as it's running on at least java 7.

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



Tomcat compatibility based on OS

2017-01-12 Thread Mathur, Himanshu (GE, Corporate, consultant)
Thanx much Chris for your fast response.

Can you also confirm that same logic applies to REDHAT provide Tomcat the JBoss 
Enterprise Web Server?

While downloading tomcat from RedHat portal , 
Web Server 2.1.0  show the option to download tomcat 7 for "RHEL 5"

But I need tomcat 8, so in Redhat portal it don't give any option to download 
"tomcat 8 for RHEL 5" but it do show the option to download "tomcat 8 for RHEL 
6/7"  x86_64.

So you mean even if I download the Redhat provided Tomcat 8 for RHEL6/7, it 
will work with RHEL5 as well?


Thanks & Regards,
Himanshu Mathur

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Thursday, January 12, 2017 11:56 AM
To: Tomcat Users List
Subject: EXT: Re: Tomcat compatibility based on OS

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Mathur,

On 1/12/17 11:30 AM, Mathur, Himanshu (GE, Corporate, consultant) wrote:
> I am looking to download open source Apache Tomcat 8.x version for 
> Oracle Linux Server release 5.11
> 
> But I am struggling to get a compatibility matrix of open source 
> Tomcat based on its supported OS.
> 
> Can you please help me here?!!?
> 
> Below is the Apache Tomcat Versions matrix showing JSP/Servlet specs.
> 
> Similarly can I get one for OS.

Tomcat is compatible with Java versions, not with specific operating systems. 
If you have a supported Java version for your OS, then Tomcat will run in it as 
well.

I'm confident, for example, that Tomcat 8.x will run on Oracle Linux 5.x as 
long as you have Java 7 or higher installed.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYd7UHAAoJEBzwKT+lPKRYdEIP/isx6toFxpdqmqWwq7MowLvf
GkuGPeASXqmR57mHaBLXer6jHRjraF3VxYg3cYaqZ/p/UiRXklqlnSiTO3wi0q9O
FoithAnT1zy2OGAj16S+ijhh5TRxyfgQIfKWoVpRcX2rEEpHeoEbkp+8s07wOFka
ESg8kh7cZ1v0PeqQYA9LGJ5PXYgwyyrwYxvPHpGstwsfPG9oTjsbRug4tTwl2WSz
wxQT7usXK0zDK/4dA69tuR+fHlk6DJ9dCMFbVVYOcO/MadTlEoWUPC8Qd8k6D5yb
/CkdLEXxL8kQIEFfaycCNiYb8RCESKA+gR4s5S7oQ7kQJeC1xI8PNMP3fv790IVC
wV6DCaa77WBFxoQNMluqkTMW0vIwDXepRxArrqu7D8sufufarZqpY4h8NTQiEL/S
g0bwUBRfKQMM2bU+A/GrELe/PtqH3tsZLnKLc3dmjDuzYmziwSx+BSN/RW4WyX2T
iZ+yoMrHQp4bh/3M6mThEbZky0oAkmkkmptpnq6khqdnZrglxCEoBYVaLB31dDig
AmcAbZE8Mn5qU2ypph5xT01EbLbbkcEYqAGqQ+C3r9Qc20E7TZWq1gqOR5tEpaW3
dghC/Pn59ioDdp52MhsLN8vkaQQiNRu2pfzNROEA4gTFEhrYR/egnNgIc2/zf3QP
EEqUaltSuzIR063rbBKv
=219s
-END PGP SIGNATURE-

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



Re: Upgrade fom Tomat 8.0.33 to 8.5.9 - stuck clients

2017-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Enrico,

On 1/12/17 8:53 AM, Enrico Olivelli wrote:
> I'm upgrading from Tomcat 8.0.33. I see that after a period of work
> requests remains "pending", for instance I get all clients
> remaining waiting for a response (parsing HTTP Response header) and
> no active thread on my Tomcat.
> 
> This happens in my QA environment where I start several
> WebDriver/Unit tests againts my web application. I have many cases,
> the most simple I this is the following:
> 
> on  the client side (a JAX-WS client):
> 
> "main" #1 prio=5 os_prio=0 tid=0x7f7cf0009000 nid=0x7ddc
> runnable [0x7f7cf6e3f000]
> 
> java.lang.Thread.State: RUNNABLE
> 
> at java.net.SocketInputStream.socketRead0(Native Method)
> 
> at
> java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
> 
> at java.net.SocketInputStream.read(SocketInputStream.java:170)
> 
> at java.net.SocketInputStream.read(SocketInputStream.java:141)
> 
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
> 
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
> 
> at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
> 
> - locked <0xfd159a18> (a java.io.BufferedInputStream)
> 
> at
> sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)

Okay, client is waiting.

> in the server side: Full thread dump Java HotSpot(TM) 64-Bit Server
> VM (25.92-b14 mixed mode):
> 
> 
> "anInnocuousThread" #861 daemon prio=5 os_prio=0
> tid=0x7ff23c0de800 nid=0xdb26 runnable [0x7ff1ad379000] 
> java.lang.Thread.State: RUNNABLE at
> sun.nio.ch.EPoll.epollWait(Native Method) at
> sun.nio.ch.EPollPort$EventHandlerTask.poll(EPollPort.java:194) at
> sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:268) at
> java.lang.Thread.run(Thread.java:745) at
> sun.misc.InnocuousThread.run(InnocuousThread.java:74)
> 
> (lots of this kind) (HTTPS Connector I think)

Without the rest of the stack trace, it's hard to tell if those are okay
.

> "https-jsse-nio2-10.168.10.55-8443-exec-130" #572 daemon prio=5
> os_prio=0 tid=0x7ff23c0a nid=0xd4a2 waiting on condition
> [0x7ff1b2bbf000] java.lang.Thread.State: WAITING (parking) at
> sun.misc.Unsafe.park(Native Method) - parking to wait for
> <0x80f1d420> (a 
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

These
> 
are request-processing threads, waiting for work. They are idle.

> (lots of this kind) (HTTP Connector I think)
> 
> "http-nio2-10.168.10.55-8080-exec-21" #281 daemon prio=5 os_prio=0 
> tid=0x7ff2340e7000 nid=0xd262 waiting on condition
> [0x7ff1af995000] java.lang.Thread.State: WAITING (parking) at
> sun.misc.Unsafe.park(Native Method) - parking to wait for
> <0x80f0cdb0> (a 
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

Same
> 
here.

The others look okay to me.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYd7cuAAoJEBzwKT+lPKRYjz4QAMdOEYMtJjMP3ZNmwNgUtFiv
EGjupmPN4xYrcqmLGC3uBQUTSPHpwCnSz7rdunqmMsludgKeNdFUrljcWtMjNqHG
Kacv+epNlT60L+Uqfeld4XDiADoXuVfxtX3KwGgNnSCsDNP/qgeSfP/61ucpmiqi
rq5UF36CdGfp351Tw+6UEJyD86VSgRq+0URgDojkCvT9wwSJhmKzsFFG96QCzF4t
dgbZEJTDPmg1y25dk4bi3GBmBbSMpM3o4s9/0HaZ8OUk/JrwCEFdvPbo8OWSZgmR
C7JlAu+l4yN3rcj6fa58IyfxcyK8q68FSlck0bMP3ZCbBKNikY0ENj6GDY3s33/N
ih1hWLyRtVnqrw2w2551Zi8gMj1dp7MOXogM4cp+hy+R13ihWKcwoshteGrX6mOb
4B1tLUtgweFeCiFLFC2Lno2M4OtiSSBbI6d5Dr4kIX7h9rCkDBxZHkTvZEGK82z3
+1S4w8QLceRiyoJplPhb+81S2PrLedG7fbSpcwRAv/lHZzxFFaRgrcyxNw8wn5/o
LDpV0+MRaf/VgZSiTB99Yn+bisXfKsaGLSbKytsM9Ts2LgvBP0C/W/0Ja86ghDUc
D+WygQyikdpKN6UX04ZKJ2FUQJ+7/W6gXupHlzvvUvxy71iHSLaArmv/3I2UNgcv
0A17RtwfpdoJAWH0mFH6
=NKZe
-END PGP SIGNATURE-

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



Re: Tomcat 8.5.5 and GZIP Post Request

2017-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Johan,

On 1/11/17 12:25 PM, Johan Basson wrote:
> I have a C++ client posting a json payload to Tomcat. The payload
> is GZIP encoded and the request is send in chunks. I have added a
> GZIP Filter to my application which wrappes the ServletInputStream
> into a GZIPInputStream.
> 
> The request spans multiple packets, so I'm getting only partial
> content. Do I need to buffer the request content until all the
> content has been received or does Tomcat do It for you?
> 
> The compressed payload is 42K spread over 3 requests.
> 
> Technical Details:
> 
> Tomcat: 8.5.5 Server OS: Linux
> 
> Client Request Headers:
> 
> Content-Type:application/json Transfer-Encoding: identity 
> Content-Encoding: gzip Content-Length: 41608 Accept:
> application/json Expect: 100-continue

Okay, so you are non-chunked-encoding (there is a Content-Length) with
a gzip Content-Encoding. You shouldn't have to unwrap this request at
all. If you do this:

byte[] buffer = new byte[4096];
InputStream in = request.getInputStream();
int count = in.read(buffer);

Then the bytes in the buffer should be your actual JSON. There
shouldn't be any reason to gunzip the data a second time.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYd7ZvAAoJEBzwKT+lPKRYhk8P+wSZN2C0IiY/j7abKRsM3ydi
ZgVBOCeGSK0gliAux2kxtmI7G0mcsS4yLjgQcAJszgNzBMDzBG9rlLLCMMeFx3J9
fb5Z3O5W0t1vBCE2Tax9y4vCvJhn3u9pcpvKdVGHHjqVWw+unK6UEDaJl1/JrERH
tsdAcoKqVSOiiVFiCqxv1Ok3KcMNe78G3jOGGzZSXFRSK7tYfy+qYfRfmWRgOuTJ
s1mTTw3XtLubQnP2kjl6/mA/5M+GxzKzgWL+RQVp0S95ptNbl0fukytAf5b6yaU7
VRMz6FBGuYZCelqhArpWCLpqgwveLk9cjdmwyYu+UtpKaWi4Y8qbUuZFXWCkdgnQ
Je70/NNjWDZuds/W6lN/cDKoSUQPXy+x1HQuqFnPwuEePltn3yMFK+/FifQx209L
Pc9AnhKX8L5n1pAV27TNXDB9LUBDV4eTdl3zEi795fAuUdBL4H7bqEoFvup64nkP
JnBUyFelJAbytzo41hiwEDsRvuJE0lE8AaCQ68bgrI6olYjxUY8nJToPGjzMzAsO
hylNZxX/sx/INPUWD0G7GafdLjOVLln5CkRP00lUB7qkp1p3p2DXPAOkuxfAtRBM
jJnQSpMpOkBmSR6X2LwapI/wdDSpVRu1lPct57PQc4OcX6gMhZKdFOl8/3TOSnsR
DATV35IuYhVDBZngoDyN
=lPh8
-END PGP SIGNATURE-

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



Re: Tomcat compatibility based on OS

2017-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Mathur,

On 1/12/17 11:30 AM, Mathur, Himanshu (GE, Corporate, consultant) wrote:
> I am looking to download open source Apache Tomcat 8.x version for 
> Oracle Linux Server release 5.11
> 
> But I am struggling to get a compatibility matrix of open source 
> Tomcat based on its supported OS.
> 
> Can you please help me here?!!?
> 
> Below is the Apache Tomcat Versions matrix showing JSP/Servlet 
> specs.
> 
> Similarly can I get one for OS.

Tomcat is compatible with Java versions, not with specific operating
systems. If you have a supported Java version for your OS, then Tomcat
will run in it as well.

I'm confident, for example, that Tomcat 8.x will run on Oracle Linux
5.x as long as you have Java 7 or higher installed.

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYd7UHAAoJEBzwKT+lPKRYdEIP/isx6toFxpdqmqWwq7MowLvf
GkuGPeASXqmR57mHaBLXer6jHRjraF3VxYg3cYaqZ/p/UiRXklqlnSiTO3wi0q9O
FoithAnT1zy2OGAj16S+ijhh5TRxyfgQIfKWoVpRcX2rEEpHeoEbkp+8s07wOFka
ESg8kh7cZ1v0PeqQYA9LGJ5PXYgwyyrwYxvPHpGstwsfPG9oTjsbRug4tTwl2WSz
wxQT7usXK0zDK/4dA69tuR+fHlk6DJ9dCMFbVVYOcO/MadTlEoWUPC8Qd8k6D5yb
/CkdLEXxL8kQIEFfaycCNiYb8RCESKA+gR4s5S7oQ7kQJeC1xI8PNMP3fv790IVC
wV6DCaa77WBFxoQNMluqkTMW0vIwDXepRxArrqu7D8sufufarZqpY4h8NTQiEL/S
g0bwUBRfKQMM2bU+A/GrELe/PtqH3tsZLnKLc3dmjDuzYmziwSx+BSN/RW4WyX2T
iZ+yoMrHQp4bh/3M6mThEbZky0oAkmkkmptpnq6khqdnZrglxCEoBYVaLB31dDig
AmcAbZE8Mn5qU2ypph5xT01EbLbbkcEYqAGqQ+C3r9Qc20E7TZWq1gqOR5tEpaW3
dghC/Pn59ioDdp52MhsLN8vkaQQiNRu2pfzNROEA4gTFEhrYR/egnNgIc2/zf3QP
EEqUaltSuzIR063rbBKv
=219s
-END PGP SIGNATURE-

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



Tomcat compatibility based on OS

2017-01-12 Thread Mathur, Himanshu (GE, Corporate, consultant)
Hi -
I am looking to download open source Apache Tomcat 8.x version for Oracle Linux 
Server release 5.11
But I am struggling to get a compatibility matrix of open source Tomcat based 
on its supported OS.
Can you please help me here?!!?
Below is the Apache Tomcat Versions matrix showing JSP/Servlet specs.
Similarly can I get one for OS.
Apache Tomcat Versions
Apache Tomcat(r) is an open source software implementation of the Java Servlet 
and JavaServer Pages technologies. Different versions of Apache Tomcat are 
available for different versions of the Servlet and JSP specifications. The 
mapping between the specifications and the respective Apache Tomcat versions is:
Servlet Spec

JSP Spec

EL Spec

WebSocket Spec

JASPIC Spec

Apache Tomcat Version

Latest Released Version

Supported Java Versions

4.0

TBD (2.4?)

TBD (3.1?)

TBD (1.2?)

1.1

9.0.x

9.0.0.M15 (alpha)

8 and later

3.1

2.3

3.0

1.1

1.1

8.5.x

8.5.9

7 and later

3.1

2.3

3.0

1.1

N/A

8.0.x (superseded)

8.0.39 (superseded)

7 and later

3.0

2.2

2.2

1.1

N/A

7.0.x

7.0.73

6 and later
(7 and later for WebSocket)

2.5

2.1

2.1

N/A

N/A

6.0.x

6.0.48

5 and later

2.4

2.0

N/A

N/A

N/A

5.5.x (archived)

5.5.36 (archived)

1.4 and later

2.3

1.2

N/A

N/A

N/A

4.1.x (archived)

4.1.40 (archived)

1.3 and later

2.2

1.1

N/A

N/A

N/A

3.3.x (archived)

3.3.2 (archived)

1.1 and later



Thanks & Regards,
Himanshu Mathur



Upgrade fom Tomat 8.0.33 to 8.5.9 - stuck clients

2017-01-12 Thread Enrico Olivelli
Hi,
I'm upgrading from Tomcat 8.0.33.
I see that after a period of work requests remains "pending", for instance
I get all clients remaining
waiting for a response (parsing HTTP Response header) and no active thread
on my Tomcat.

This happens in my QA environment where I start several WebDriver/Unit
tests againts my web application. I have many cases, the most simple I this
is the following:

on  the client side (a JAX-WS client):

"main" #1 prio=5 os_prio=0 tid=0x7f7cf0009000 nid=0x7ddc runnable
[0x7f7cf6e3f000]

   java.lang.Thread.State: RUNNABLE

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

at java.net.SocketInputStream.read(SocketInputStream.java:170)

at java.net.SocketInputStream.read(SocketInputStream.java:141)

at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

- locked <0xfd159a18> (a java.io.BufferedInputStream)

at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)

at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)

at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1536)

- locked <0xfcecee78> (a
sun.net.www.protocol.http.HttpURLConnection)

at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)

- locked <0xfcecee78> (a
sun.net.www.protocol.http.HttpURLConnection)

at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)

at
com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:209)

at
com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:162)

at
com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:94)

at
com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:116)

at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)

at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)

at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)

at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)

- locked <0xfcbb7720> (a com.sun.xml.ws.api.pipe.Fiber)

at
com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:112)

at com.sun.xml.xwss.XWSSClientPipe.process(XWSSClientPipe.java:160)

at
com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)

at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)

at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)

at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)

at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)

- locked <0xfcbb7720> (a com.sun.xml.ws.api.pipe.Fiber)

at com.sun.xml.ws.client.Stub.process(Stub.java:222)

at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)

at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)

at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)

at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)


in the server side:
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.92-b14 mixed mode):


"anInnocuousThread" #861 daemon prio=5 os_prio=0 tid=0x7ff23c0de800
nid=0xdb26 runnable [0x7ff1ad379000]
   java.lang.Thread.State: RUNNABLE
at sun.nio.ch.EPoll.epollWait(Native Method)
at sun.nio.ch.EPollPort$EventHandlerTask.poll(EPollPort.java:194)
at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:268)
at java.lang.Thread.run(Thread.java:745)
at sun.misc.InnocuousThread.run(InnocuousThread.java:74)

(lots of this kind) (HTTPS Connector I think)

"https-jsse-nio2-10.168.10.55-8443-exec-130" #572 daemon prio=5 os_prio=0
tid=0x7ff23c0a nid=0xd4a2 waiting on condition [0x7ff1b2bbf000]
   java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  <0x80f1d420> (a
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:103)
at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:31)
at

Re: TomcatCon @ ApacheCon

2017-01-12 Thread jean-frederic clere
On 01/10/2017 09:05 PM, Christopher Schultz wrote:
> Mark,
> 
> On 1/9/17 6:57 AM, Mark Thomas wrote:
>> There is the opportunity (if we can pull it together as a
>> community) to run a dedicated Tomcat conference alongside ApacheCon
>> NA 2017. The dates are May 16 to 18.
> 
> Interesting.
> 
>> The call for papers closes on Feb 11 so we have around a month to
>> get organised. We'll also need to convince the conference
>> organisers that a) there is a demand for this and b) we have a
>> plan.
> 
>> Getting the right content is going to be critical to success. I've
>> been thinking about this for a while and I think we can identify
>> the right content
> 
> I have a single presentation submitted already for consideration. The
> topic is "Let's Encrypt Apache Tomcat" ;)

OK I can do a H2 presentation / new SSL config in Tomcat before ;-)

> 
> I was also planning on reprising one of my previous presentations,
> either the "Monitoring" or "Load-balancing" one, or possibly the
> credential-handlers one. They have all been fairly well-attended in
> the past.
> 
> If you wanted to really get a LOT of sessions going, I'd be willing to
> do all of them, though it *is* a lot of talking.
> 
>> "What topic(s) need to be covered in a Tomcat conference to make it
>> as easy as possible to get your employer to pay for you to
>> attend?"
> 
>> We have up to three days and potentially multiple tracks so even if
>> you think you have a niche requirement, please speak up. We
>> typically have a number of Tomcat committers speaking at ApacheCon
>> so finding someone to cover a particular topic shouldn't be too
>> tricky. Equally, if you have a topic you could present on that you
>> think others would find useful, speak up.
> 
>> Do feel free to add your +1 if someone else mentions a topic your
>> are interested first. Having an idea of how popular the topics are
>> would also be helpful.
> 
>> Also, we don't have to stick to the standard "Sit and listen to
>> someone present for 40 mins" format. Discussions, workshops,
>> hackathons are all possible.
> 
>> Some topic ideas to get the ball rolling.
> 
>> Hands-on workshop: Configuring TLS with Apache Tomcat
> 
> +0
> 
>> Reverse Proxying to Apache Tomcat Load-balancing with Apache
>> Tomcat Clustering  with Apache Tomcat
> 
> +1 to all 3
> 
>> Tomcat Clinic (like the users list but with everyone in the same
>> room)
> 
> Evidently, Daniel Rugguri tried this a few years ago with a "Let's
> solve your mox_proxy problem" workshop, and literally nobody showed
> up. I'm skeptical about a workshop for a few reasons:
> 
> 1. Attendees might not have a "problem to solve" and therefore see a
> workshop as a waste of their time.
> 
> 2. Anyone with a problem to solve isn't going to wait-around for the
> conference to get it solved.
> 
> Maybe we could instead have more like a live-demo of setting things up
> from scratch. So it's not an AMA (AUA?) with a topic of e.g.
> "custering" but instead have a session titled something like
> "Clustering A - Z" where we build a live cluster while the audience
> watches and asks questions in real time.
> 
> Jean-Frederic and I were musing in Austin (?) about getting a small
> number of Raspberry Pi-type devices on the stage with activity/state
> lights on them, build a cluster, and then start unplugging things to
> show what actually happens when disaster strikes in your environment,
> and how the cluster reacts.

I already have 3 Raspberry ready for this kind of thing, probably needs
a few more to make a bigger cluster.

> 
> I'm not sure that could be done in 1 hour, especially with all of the
> questions we are likely to get or scenarios we might like to demonstrate
> .

Nope that is ~2 hours workshop

Cheers

Jean-Frederic

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


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



Re: Error 404 - The requested resource is not available

2017-01-12 Thread Greg Huber
Check in the apache-tomcat-x.x.x/logs for any
 errors in catalina.out or yourapp.log files.



On 12 January 2017 at 06:19, fonsin2008 .  wrote:

> Hi!
>
> The url is: http://somehost/evaluacion/login_formaLogin.action
>
> The problem is that it used to run without problems.
>
> 2017-01-11 19:50 GMT-06:00 Tim Watts :
> > On Wed, 2017-01-11 at 15:49 -0600, fonsin2008 . wrote:
> >> Hi all!
> >>
> >> First, I need to say that I'm new(ignorant) with Tomcat. One of our
> >> systems is written with tomcat, but today something went wrong and the
> >> following error appears on the webpage:
> >>
> >> --Estado HTTP 404 - /evaluacion/WEB-INF/pages/login/forma_login.jsp
> >> --__
> >> --type Informe de estado
> >> --mensaje /evaluacion/WEB-INF/pages/login/forma_login.jsp
> >> --descripción El recurso requerido no está disponible.
> >> --
> >> --Apache Tomcat/6.0.37
> >>
> >> The file exists on the virtualserver, at
> >>
> >> home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/
> evaluacion/WEB-INF/pages/login
> >>
> >> And:
> >> ls -l
> >> -rw-r--r-- 1  desarrollo 3744 feb 11  2015 forma_login.jsp
> >>
> >> the evaluacion.war file lives at
> >> /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo
> >>
> >> And in /WEB-INF/classes/struts.xm I found:
> >> ./WEB-INF/classes/struts.xml:   >> name="forma_login">/WEB-INF/pages/login/forma_login.jsp
> >>
> >> So, I can't figure out why this error appears. May be I'm missing
> >> something obvious. I also googled it, but I only found permission
> >> errors and wrong paths.
> >>
> >> If you need some additional information, feel free to ask.
> >>
> >
> > What URL was used to produce the error message?
> >
> > Since you're unfamiliar with Tomcat, and presumably Servlet based web
> > applications, you need to know that /WEB-INF and anything below it is
> > inaccessible outside the web app; it's only accessible from within the
> > web app.  So if you issued a URL like:
> >
> > http://some-host/evaluacion/WEB-INF/pages/login/forma_login.jsp
> >
> > You will unsurprisingly get the 404 error.
> >
> > If this is the case then your task is to learn more about the specifics
> > of your application and what the proper login URL is.  Looks like it's
> > built with Struts so you may need to learn about that -- starting with
> > what version was used.
> >
> > -- Tim.
> >
> >
> >> Thank you guys for your time!
> >>
> >> Jesus Mager
> >> [www.h1n1-al.blogspot.com]
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
>
>
>
> --
> Jesus Mager
> [www.h1n1-al.blogspot.com]
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>