?????? tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

2017-07-06 Thread ??????
Will try that. The RAM of machine is 8 GigaByte, 4-core CPU, even if silent 
exit is caused by Insufficient  memory, at least, tomcat would record error 
info to log file, right?


Thanks in advance!
--
??


 




--  --
??: "Guang Chao";;
: 2017??7??7??(??) 8:26
??: "Tomcat Users List"; 

: Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2



How much RAM your hardware have?  Have you tried installing Tomcat from
download and make it  a service through your own init scripts?  (E.g.
https://gist.github.com/miglen/5590986)

On Fri, Jul 7, 2017 at 12:40 AM, ?? <281170...@qq.com> wrote:

> Hi, guys
>
>
> I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
> without any error logs after keep running 2-3 days, that means catalina.out
> has no error info located in /opt/apache-tomcat-8.5.16/logs/.
> And application log file also has no error info.
> I do not know why? How should I to find out reason?
>
>
> Please help me!
> Thanks in advance!
>
>
>
>
> --
> ??




-- 
Guang 

Re: Errors establishing secure connections with tomcat 8.5.15

2017-07-06 Thread Guang Chao
Sorry, the Tomcat will connect to other web applications hosted somewhere
else in your network?  Is my understanding correct?

On Fri, Jul 7, 2017 at 12:38 AM, Kevin Mango  wrote:

> Hello,
>
> I have been working to setup Apache Tomcat 8.5.15 to establish a secure
> connection to web applications on our server. However I have been having
> difficulties setting up this functionality.
>
> The most meaningful error we have been getting is from Firefox,
> "Unsupported elliptic curve. Error code: 
> SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE".
> We have setup Tomcat to fully debug javax.net, and from these logs it
> appears that the handshake is failing at the server or client key
> exchanges. Below is the output after reaching the server key exchange:
>
> ECDH ServerKeyExchange
> Signature Algorithm SHA256withRSA
> Server key: 
> *** ServerHelloDone
> [write] MD5 and SHA1 hashes:  len = 5073
> 
> https-jsse-nio-8443-exec-3, WRITE: TLSv1.2 Handshake, length = 5073
> [Raw write]: length = 5078
> 
> https-jsse-nio-8443-exec-1, WRITE: TLSv1.2 Handshake, length = 5073
> [Raw write]: length = 5078
> 
> [Raw read]: length = 2
> 
> 
> https-jsse-nio-8443-exec-5, READ: TLSv1.2 Alert, length = 2
> https-jsse-nio-8443-exec-5, RECV TLSv1.2 ALERT:  fatal, illegal_parameter
> https-jsse-nio-8443-exec-5, fatal: engine already closed.  Rethrowing
> javax.net.ssl.SSLException: Received fatal alert: illegal_parameter
> https-jsse-nio-8443-exec-5, fatal: engine already closed.  Rethrowing
> javax.net.ssl.SSLException: Received fatal alert: illegal_parameter
> https-jsse-nio-8443-exec-5, called closeOutbound()
> https-jsse-nio-8443-exec-5, closeOutboundInternal()
> https-jsse-nio-8443-exec-5, SEND TLSv1.2 ALERT:  warning, description =
> close_notify
> https-jsse-nio-8443-exec-5, WRITE: TLSv1.2 Alert, length = 2
> 
> 
> 
> --
> There isn't any error output from stderr, only standard print statements.
> The ciphersuite that is chosen is TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256.
> Below are some details about the machine we are running tomcat on:
>
> Windows Server 2012 R2 64 bit
> 16gb ram
> 2.2ghz intel xeon cpu
> Java 1.8.131
>
> Here is the connector in our server.xml file:
>
> protocol="org.apache.coyote.http11.Http11NioProtocol"
>maxThreads="200"
>scheme="https" secure="true" SSLEnabled="true"
>defaultSSLHostConfigName=" "
>>
>hostname=" "
> protocols="TLSv1.2"
> sslProtocol="TLSv1.2">
>   certificateKeystorePassword=""
>  certificateKeystoreType="PKCS12"
>  type="RSA"/>
>   
>
> 
>
> Some additional notes:
>
>   1.  The server we are running this on is internal and therefore can't be
> accessed outside our network
>   2.  The web browser on the machine is unable to access the web
> application locally due to our network security
>   3.  I am able to connect via http to the web apps
>
> Any assistance that could be provided in this matter would be greatly
> appreciated.
>
> Thank you,
> Kevin
>
>
>
> 
> This e-mail transmission contains confidential information that is the
> property of the sender. If you are not the intended recipient, you are
> notified that any retention, disclosure, reproduction or distribution of
> the contents of this e-mail transmission, or the taking of any action in
> reliance thereon or pursuant thereto, is strictly prohibited. No warranty
> is given by NYSIF that this e-mail is free of viruses, interception or
> interference. NYSIF disclaims liability for any unauthorized opinion,
> representation, statement, offer or contract made by the sender on behalf
> of NYSIF. NYSIF's delegation of authorities, setting out who may make
> representations or contract on behalf of NYSIF, is available by contacting
> NYSIF at mail...@nysif.com. Jurisdiction for all actions arising out of
> dealings with NYSIF shall lie only in a court of competent jurisdiction of
> the State of New York
>



-- 
Guang



Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

2017-07-06 Thread Guang Chao
How much RAM your hardware have?  Have you tried installing Tomcat from
download and make it  a service through your own init scripts?  (E.g.
https://gist.github.com/miglen/5590986)

On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <281170...@qq.com> wrote:

> Hi, guys
>
>
> I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
> without any error logs after keep running 2-3 days, that means catalina.out
> has no error info located in /opt/apache-tomcat-8.5.16/logs/.
> And application log file also has no error info.
> I do not know why? How should I to find out reason?
>
>
> Please help me!
> Thanks in advance!
>
>
>
>
> --
> 做自己




-- 
Guang 


Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears

2017-07-06 Thread tomcat

On 06.07.2017 18:17, Fau Buitron wrote:


-Original Message-
From: André Warnier (tomcat) [mailto:a...@ice-sa.com]
Sent: Thursday, July 06, 2017 12:04 PM
To: users@tomcat.apache.org
Subject: Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service 
Username disappears

Hi.
On this list, it is preferred/recommended/strongly recommended to respond *below* the 
original message, and not to "top post".
It just makes it easier to follow the normal flow of a conversation.
See the rules : http://tomcat.apache.org/lists.html#tomcat-users  #6  >

-Original Message-
From: André Warnier (tomcat) [mailto:a...@ice-sa.com]
Sent: Thursday, July 06, 2017 11:35 AM
To: users@tomcat.apache.org
Subject: Re: TOMCAT 8.5.15 - on windows 7 server - Password for
Service Username disappears

On 06.07.2017 17:13, Fau Buitron wrote:

Hi All,

   I am running TOMCAT 8.5.15 on a Windows 7 server with SP1. Although it 
is not consistent, the password value for the specific username used to run the 
TOMCAT service disappears when the service is stop and started again. The 
starting of the service fails because the value of the password disappears.

   Once the password value is re-entered with the password value, the 
TOMCAT service starts without any issues, has anyone encountered this issue?

I look forward to your response.




Hi.
I have never seen the behaviour which you describe above, although I regularly 
run Tomcat as a Service on Windows systems, in multiple customer networks.
First, maybe something which you should read :
https://wiki.apache.org/tomcat/FAQ/Windows#Q11

In a way, this explains why the Tomcat code itself is very unlikely to contain anything 
which would modify this Windows user's password. (If anything, it would be the 
"wrapper"
program described in that article.)

My guess would be at this point : if the user-id in question is a Windows 
Domain user-id, then mybe some Windows network policy is the cause of this 
password reset.
Ask your Windows network sysadmins.

Hope this helps.


On 06.07.2017 17:48, Fau Buitron wrote:

Hi Andre,

   Thank you for your response and feedback. I had reached out to our windows 
support group only to be told that it must be caused by the third party product.
What's worse is that all installations of TOMCAT (Stage and Production) 
encounter the same behavior when the service itself it stopped.

   I was reaching out to the TOMCAT user community in the event that
there might be a permission that needs to be granted to a file in which the 
service account Username and password might need to be entered.

   So I am once again at square one, however, I will follow your suggestion and 
reach out to the networking group to see if they can shed light on this 
situation.

Thank you.

Fau



Another suggestion : if you have read the article to which I pointed you, you will see 
that the "wrapper" program which actually runs the JVM which runs Tomcat, 
actually stores its parameters in the Windows Registry.
It is the same for the userid/password which you enter in the service 
description.
So maybe it is not an issue linked to Tomcat per se, but instead due to the 
fact that by entering this password, you are modifying the Registry.
And perhaps there is some network script which regularly removes such changes, 
when made by a user who does not have the correct permissions to do so ?
It may thus be that it is not the Tomcat start/stop per se which resets this 
password, but that this happens asynchronously, and that you just notice it 
when you are trying to restart Tomcat.

You could try the following experiment :
- set the password for that user, start Tomcat as usual, and leave it running
- then, after a suitable pause, try to login to that same workstation, as this 
Tomcat user, using the same password which you set.
If it does not work, then you know that it has nothing to do with stopping 
Tomcat.

Hi Andre,

The experiment that you described is exactly what is occurring, except it 
is not a TOMCAT user, as it is the actual username and password which is used 
to run the TOMCAT service itself.


Yes, that is what I meant. I meant "use the user-id/password that you have configured for 
the Tomcat Service, to actually try to login (interactively) to Windows on that machine."



The TOMCAT service runs, but if the TOMCAT service is stopped (does not occur 
at all instances), the password field for the user is no longer present

and needs to be re-entered. I could do

a search within the registry, however the value for the password will more like 
be encrypted, as it appears within the password field of the service logon tab, 
so is the value of the password really present?


Indeed it may not be, if this is a domain user, as you seem to indicate below.
Which triggers another question : can you not define a local user on this machine, and use 
that one to run Tomcat ? Or, can you not use the default Services user, which is normally 

Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

2017-07-06 Thread Mark Thomas
On 6 July 2017 17:40:31 BST, "李员外" <281170...@qq.com> wrote:
>Hi, guys
>
>
>I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit
>without any error logs after keep running 2-3 days, that means
>catalina.out has no error info located in
>/opt/apache-tomcat-8.5.16/logs/.
>And application log file also has no error info. 
>I do not know why? How should I to find out reason? 

Google for Linux out of memory killer.

Mark

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



tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

2017-07-06 Thread ??????
Hi, guys


I use tomcat 8.5.16, and I found at least 5 times tomcat silent exit without 
any error logs after keep running 2-3 days, that means catalina.out has no 
error info located in /opt/apache-tomcat-8.5.16/logs/.
And application log file also has no error info. 
I do not know why? How should I to find out reason? 


Please help me!
Thanks in advance!




--
??

Errors establishing secure connections with tomcat 8.5.15

2017-07-06 Thread Kevin Mango
Hello,

I have been working to setup Apache Tomcat 8.5.15 to establish a secure 
connection to web applications on our server. However I have been having 
difficulties setting up this functionality.

The most meaningful error we have been getting is from Firefox, "Unsupported 
elliptic curve. Error code: SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE". We have 
setup Tomcat to fully debug javax.net, and from these logs it appears that the 
handshake is failing at the server or client key exchanges. Below is the output 
after reaching the server key exchange:

ECDH ServerKeyExchange
Signature Algorithm SHA256withRSA
Server key: 
*** ServerHelloDone
[write] MD5 and SHA1 hashes:  len = 5073

https-jsse-nio-8443-exec-3, WRITE: TLSv1.2 Handshake, length = 5073
[Raw write]: length = 5078

https-jsse-nio-8443-exec-1, WRITE: TLSv1.2 Handshake, length = 5073
[Raw write]: length = 5078

[Raw read]: length = 2


https-jsse-nio-8443-exec-5, READ: TLSv1.2 Alert, length = 2
https-jsse-nio-8443-exec-5, RECV TLSv1.2 ALERT:  fatal, illegal_parameter
https-jsse-nio-8443-exec-5, fatal: engine already closed.  Rethrowing 
javax.net.ssl.SSLException: Received fatal alert: illegal_parameter
https-jsse-nio-8443-exec-5, fatal: engine already closed.  Rethrowing 
javax.net.ssl.SSLException: Received fatal alert: illegal_parameter
https-jsse-nio-8443-exec-5, called closeOutbound()
https-jsse-nio-8443-exec-5, closeOutboundInternal()
https-jsse-nio-8443-exec-5, SEND TLSv1.2 ALERT:  warning, description = 
close_notify
https-jsse-nio-8443-exec-5, WRITE: TLSv1.2 Alert, length = 2
--
There isn't any error output from stderr, only standard print statements. The 
ciphersuite that is chosen is TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256. Below are 
some details about the machine we are running tomcat on:

Windows Server 2012 R2 64 bit
16gb ram
2.2ghz intel xeon cpu
Java 1.8.131

Here is the connector in our server.xml file:


  

  



Some additional notes:

  1.  The server we are running this on is internal and therefore can't be 
accessed outside our network
  2.  The web browser on the machine is unable to access the web application 
locally due to our network security
  3.  I am able to connect via http to the web apps

Any assistance that could be provided in this matter would be greatly 
appreciated.

Thank you,
Kevin




This e-mail transmission contains confidential information that is the property 
of the sender. If you are not the intended recipient, you are notified that any 
retention, disclosure, reproduction or distribution of the contents of this 
e-mail transmission, or the taking of any action in reliance thereon or 
pursuant thereto, is strictly prohibited. No warranty is given by NYSIF that 
this e-mail is free of viruses, interception or interference. NYSIF disclaims 
liability for any unauthorized opinion, representation, statement, offer or 
contract made by the sender on behalf of NYSIF. NYSIF's delegation of 
authorities, setting out who may make representations or contract on behalf of 
NYSIF, is available by contacting NYSIF at mail...@nysif.com. Jurisdiction for 
all actions arising out of dealings with NYSIF shall lie only in a court of 
competent jurisdiction of the State of New York


RE: TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears

2017-07-06 Thread Fau Buitron

-Original Message-
From: André Warnier (tomcat) [mailto:a...@ice-sa.com] 
Sent: Thursday, July 06, 2017 12:04 PM
To: users@tomcat.apache.org
Subject: Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service 
Username disappears

Hi.
On this list, it is preferred/recommended/strongly recommended to respond 
*below* the original message, and not to "top post".
It just makes it easier to follow the normal flow of a conversation.
See the rules : http://tomcat.apache.org/lists.html#tomcat-users  #6  >
> -Original Message-
> From: André Warnier (tomcat) [mailto:a...@ice-sa.com]
> Sent: Thursday, July 06, 2017 11:35 AM
> To: users@tomcat.apache.org
> Subject: Re: TOMCAT 8.5.15 - on windows 7 server - Password for 
> Service Username disappears
>
> On 06.07.2017 17:13, Fau Buitron wrote:
>> Hi All,
>>
>>   I am running TOMCAT 8.5.15 on a Windows 7 server with SP1. Although it 
>> is not consistent, the password value for the specific username used to run 
>> the TOMCAT service disappears when the service is stop and started again. 
>> The starting of the service fails because the value of the password 
>> disappears.
>>
>>   Once the password value is re-entered with the password value, the 
>> TOMCAT service starts without any issues, has anyone encountered this issue?
>>
>>I look forward to your response.
>>
>>
>
> Hi.
> I have never seen the behaviour which you describe above, although I 
> regularly run Tomcat as a Service on Windows systems, in multiple customer 
> networks.
> First, maybe something which you should read :
> https://wiki.apache.org/tomcat/FAQ/Windows#Q11
>
> In a way, this explains why the Tomcat code itself is very unlikely to 
> contain anything which would modify this Windows user's password. (If 
> anything, it would be the "wrapper"
> program described in that article.)
>
> My guess would be at this point : if the user-id in question is a Windows 
> Domain user-id, then mybe some Windows network policy is the cause of this 
> password reset.
> Ask your Windows network sysadmins.
>
> Hope this helps.
>
On 06.07.2017 17:48, Fau Buitron wrote:
> Hi Andre,
>
>   Thank you for your response and feedback. I had reached out to our windows 
> support group only to be told that it must be caused by the third party 
> product.
> What's worse is that all installations of TOMCAT (Stage and Production) 
> encounter the same behavior when the service itself it stopped.
>
>   I was reaching out to the TOMCAT user community in the event that 
> there might be a permission that needs to be granted to a file in which the 
> service account Username and password might need to be entered.
>
>   So I am once again at square one, however, I will follow your suggestion 
> and reach out to the networking group to see if they can shed light on this 
> situation.
>
> Thank you.
>
> Fau
>

Another suggestion : if you have read the article to which I pointed you, you 
will see that the "wrapper" program which actually runs the JVM which runs 
Tomcat, actually stores its parameters in the Windows Registry.
It is the same for the userid/password which you enter in the service 
description.
So maybe it is not an issue linked to Tomcat per se, but instead due to the 
fact that by entering this password, you are modifying the Registry.
And perhaps there is some network script which regularly removes such changes, 
when made by a user who does not have the correct permissions to do so ?
It may thus be that it is not the Tomcat start/stop per se which resets this 
password, but that this happens asynchronously, and that you just notice it 
when you are trying to restart Tomcat.

You could try the following experiment :
- set the password for that user, start Tomcat as usual, and leave it running
- then, after a suitable pause, try to login to that same workstation, as this 
Tomcat user, using the same password which you set.
If it does not work, then you know that it has nothing to do with stopping 
Tomcat.

Hi Andre,

   The experiment that you described is exactly what is occurring, except it is 
not a TOMCAT user, as it is the actual username and password which is used to 
run the TOMCAT service itself.
The TOMCAT service runs, but if the TOMCAT service is stopped (does not occur 
at all instances), the password field for the user is no longer present and 
needs to be re-entered. I could do 
a search within the registry, however the value for the password will more like 
be encrypted, as it appears within the password field of the service logon tab, 
so is the value of the password really present?
I am reaching out to the security group to determine if the AD username has 
similar properties as other service account username/passwords.
Thank you for your assistance and response.

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




Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears

2017-07-06 Thread tomcat

Hi.
On this list, it is preferred/recommended/strongly recommended to respond *below* the 
original message, and not to "top post".

It just makes it easier to follow the normal flow of a conversation.
See the rules : http://tomcat.apache.org/lists.html#tomcat-users  #6
>

-Original Message-
From: André Warnier (tomcat) [mailto:a...@ice-sa.com]
Sent: Thursday, July 06, 2017 11:35 AM
To: users@tomcat.apache.org
Subject: Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service 
Username disappears

On 06.07.2017 17:13, Fau Buitron wrote:

Hi All,

  I am running TOMCAT 8.5.15 on a Windows 7 server with SP1. Although it is 
not consistent, the password value for the specific username used to run the 
TOMCAT service disappears when the service is stop and started again. The 
starting of the service fails because the value of the password disappears.

  Once the password value is re-entered with the password value, the TOMCAT 
service starts without any issues, has anyone encountered this issue?

   I look forward to your response.




Hi.
I have never seen the behaviour which you describe above, although I regularly 
run Tomcat as a Service on Windows systems, in multiple customer networks.
First, maybe something which you should read :
https://wiki.apache.org/tomcat/FAQ/Windows#Q11

In a way, this explains why the Tomcat code itself is very unlikely to contain anything 
which would modify this Windows user's password. (If anything, it would be the 
"wrapper"
program described in that article.)

My guess would be at this point : if the user-id in question is a Windows 
Domain user-id, then mybe some Windows network policy is the cause of this 
password reset.
Ask your Windows network sysadmins.

Hope this helps.


On 06.07.2017 17:48, Fau Buitron wrote:

Hi Andre,

  Thank you for your response and feedback. I had reached out to our windows 
support group only to be told that it must be caused by the third party product.
What's worse is that all installations of TOMCAT (Stage and Production) 
encounter the same behavior when the service itself it stopped.

  I was reaching out to the TOMCAT user community in the event that there might 
be a permission that needs to be granted to a file in which the service account
Username and password might need to be entered.

  So I am once again at square one, however, I will follow your suggestion and 
reach out to the networking group to see if they can shed light on this 
situation.

Thank you.

Fau



Another suggestion : if you have read the article to which I pointed you, you will see 
that the "wrapper" program which actually runs the JVM which runs Tomcat, actually stores 
its parameters in the Windows Registry.

It is the same for the userid/password which you enter in the service 
description.
So maybe it is not an issue linked to Tomcat per se, but instead due to the fact that by 
entering this password, you are modifying the Registry.
And perhaps there is some network script which regularly removes such changes, when made 
by a user who does not have the correct permissions to do so ?
It may thus be that it is not the Tomcat start/stop per se which resets this password, but 
that this happens asynchronously, and that you just notice it when you are trying to 
restart Tomcat.


You could try the following experiment :
- set the password for that user, start Tomcat as usual, and leave it running
- then, after a suitable pause, try to login to that same workstation, as this Tomcat 
user, using the same password which you set.

If it does not work, then you know that it has nothing to do with stopping 
Tomcat.


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



RE: TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears

2017-07-06 Thread Fau Buitron
Hi Andre,

 Thank you for your response and feedback. I had reached out to our windows 
support group only to be told that it must be caused by the third party product.
What's worse is that all installations of TOMCAT (Stage and Production) 
encounter the same behavior when the service itself it stopped.

 I was reaching out to the TOMCAT user community in the event that there might 
be a permission that needs to be granted to a file in which the service account
Username and password might need to be entered.

 So I am once again at square one, however, I will follow your suggestion and 
reach out to the networking group to see if they can shed light on this 
situation.

Thank you.

Fau 


-Original Message-
From: André Warnier (tomcat) [mailto:a...@ice-sa.com] 
Sent: Thursday, July 06, 2017 11:35 AM
To: users@tomcat.apache.org
Subject: Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service 
Username disappears

On 06.07.2017 17:13, Fau Buitron wrote:
> Hi All,
>
>  I am running TOMCAT 8.5.15 on a Windows 7 server with SP1. Although it 
> is not consistent, the password value for the specific username used to run 
> the TOMCAT service disappears when the service is stop and started again. The 
> starting of the service fails because the value of the password disappears.
>
>  Once the password value is re-entered with the password value, the 
> TOMCAT service starts without any issues, has anyone encountered this issue?
>
>   I look forward to your response.
>
>

Hi.
I have never seen the behaviour which you describe above, although I regularly 
run Tomcat as a Service on Windows systems, in multiple customer networks.
First, maybe something which you should read :
https://wiki.apache.org/tomcat/FAQ/Windows#Q11

In a way, this explains why the Tomcat code itself is very unlikely to contain 
anything which would modify this Windows user's password. (If anything, it 
would be the "wrapper" 
program described in that article.)

My guess would be at this point : if the user-id in question is a Windows 
Domain user-id, then mybe some Windows network policy is the cause of this 
password reset.
Ask your Windows network sysadmins.

Hope this helps.



-
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: TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears

2017-07-06 Thread tomcat

On 06.07.2017 17:13, Fau Buitron wrote:

Hi All,

 I am running TOMCAT 8.5.15 on a Windows 7 server with SP1. Although it is 
not consistent, the password value for the specific username used to run the 
TOMCAT service disappears when the service is stop and started again. The 
starting of the service fails because the value of the password disappears.

 Once the password value is re-entered with the password value, the TOMCAT 
service starts without any issues, has anyone encountered this issue?

  I look forward to your response.




Hi.
I have never seen the behaviour which you describe above, although I regularly run Tomcat 
as a Service on Windows systems, in multiple customer networks.

First, maybe something which you should read :
https://wiki.apache.org/tomcat/FAQ/Windows#Q11

In a way, this explains why the Tomcat code itself is very unlikely to contain anything 
which would modify this Windows user's password. (If anything, it would be the "wrapper" 
program described in that article.)


My guess would be at this point : if the user-id in question is a Windows Domain user-id, 
then mybe some Windows network policy is the cause of this password reset.

Ask your Windows network sysadmins.

Hope this helps.



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



TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears

2017-07-06 Thread Fau Buitron
Hi All,

I am running TOMCAT 8.5.15 on a Windows 7 server with SP1. Although it is 
not consistent, the password value for the specific username used to run the 
TOMCAT service disappears when the service is stop and started again. The 
starting of the service fails because the value of the password disappears.

Once the password value is re-entered with the password value, the TOMCAT 
service starts without any issues, has anyone encountered this issue?

 I look forward to your response.


Thank you

Regards,

Fau Buitron
Production Operations Analyst
Cotiviti -Wilton- Production Operations RCA
Office: 203-642-5179
Mobile: 475-229-7913
fau.buit...@cotiviti.com




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



IIS 10 Logging Issue

2017-07-06 Thread Thomas, Michael
All,

I am having an issue with IIS Logs on Windows 2016.  Specifically, the 
cs-uri-stem and cs-uri-query columns are not recording requests properly.  For 
EVERY request that is handled by the connector, the cs-uri-stem records an 
entry as "/jakarta/isapi_redirect.dll" and the cs-uri-query is always empty.

Environment:

* IIS 10 (Windows 2016)

* Tomcat 8.5.11.0

* Java 1.8.0_131

* ISAPI Connector 1.2.41

* ColdFusion 2016


For comparison, we have a similar setup on another box (IIS 8.5 Windows Server 
2012 R2) and the logs are recording properly.

Any assistance would be great!

Thanks.

-Mike




The preceding message (including attachments) is covered by the Electronic 
Communication Privacy Act, 18 U.S.C. sections 2510-2512, is intended only for 
the person or entity to which it is addressed, and may contain information that 
is confidential, protected by attorney-client or other privilege, or otherwise 
protected from disclosure by law. If you are not the intended recipient, you 
are hereby notified that any retention, dissemination, distribution, or copying 
of this communication is strictly prohibited. Please reply to the sender that 
you have received the message in error and destroy the original message and all 
copies.


Re: Fwd: Bug 56684 - java7: java.net.SocketTimeoutException: Accept timed out

2017-07-06 Thread Mark Thomas
On 06/07/17 13:22, Gagandeep Singh wrote:
> Hi All,
> 
> This is regarding the tomcat bug mentioned in subject. I have few questions
> as below regarding the same. Could anyone please help me understand.
> 
> - Would this issue only occur when the server has not been accessed for 50
> days, as I think it should reset the accept timer once it gets any request
> because a new accept() would be called then.

Yes.

> - Is there a way this issue can be reproduced quickly so that we don't have
> to wait for 50 days to see the issue ?

None I am aware of.

> - And would there be a way to check if the issue has been fixed after
> tomcat upgrade, other than waiting again for 50 days ?

None I am aware of.

Mark

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



Fwd: Bug 56684 - java7: java.net.SocketTimeoutException: Accept timed out

2017-07-06 Thread Gagandeep Singh
Hi All,

This is regarding the tomcat bug mentioned in subject. I have few questions
as below regarding the same. Could anyone please help me understand.

- Would this issue only occur when the server has not been accessed for 50
days, as I think it should reset the accept timer once it gets any request
because a new accept() would be called then.

- Is there a way this issue can be reproduced quickly so that we don't have
to wait for 50 days to see the issue ?

- And would there be a way to check if the issue has been fixed after
tomcat upgrade, other than waiting again for 50 days ?


Kind Regards,
Gagandeep Singh