Re: tomcat with laptop + windows sleep

2018-06-28 Thread Alex O'Ree
I also see a lot of jdbc/my name is not bound in this context. Unable to find jdbc On Thu, May 24, 2018, 5:30 PM Alex O'Ree wrote: > Yes it is a tomcat managed data source with postgres. The cpu usage is my > app trying to get a managed data source. Perhaps the jdbc driver is the > issue. .. >

Re: tomcat with laptop + windows sleep

2018-06-28 Thread Alex O'Ree
Looking at my stack traces it seems pretty clear. Tomcat can't lookup/establish a connection to the database because the postgres jdbc driver failed because of a socket exception, "the network is unreachable". I'm not sure why this behavior is different from tomcat 7 to 8.5 but it's becoming a bit

Re: Tomcat stop and start using bash script

2018-06-28 Thread tomcat
Hi. I have not followe3d this thread since the beginning, but The standard tomcat distribution comes with a series of shell scripts in the "bin" directory, which do just that : start or stop tomcat. They are conveniently called "startup.sh" and "shutdown.sh". You could get inspiration from

Re: Tomcat stop and start using bash script

2018-06-28 Thread Luis Rodríguez Fernández
Hello Danesh Perhaps you could look for any of your tomcat connector ports, ask for the process that is listening and kill it: $ ppid=`lsof -i:8080 -Fp | grep p` $ pid=`echo ${ppid#p*}` $ kill $pid Probably you can find something more elegant but the idea could be this one... Hope it helps,

Tomcat8 hardening issues

2018-06-28 Thread Naga Ramesh
Guys, I have done the hardening on Tomcat 8 version (PF below mentioned configuration changes), but in application level some of the functionalities are not working properly and observed some errors in the backend (PF below mentioned errors), please re-check and provide me the proper solution

Updating tomcat Windows 2012r2

2018-06-28 Thread Jim Weill
I'm on 8.5.6, and just downloaded 8.5.32 yesterday.  On my test machine I stopped the service, copied in the core files, copied over my server.xml, web.xml, and the hosted application and it seems to work just fine, and thinks it's running 8.5.32 when I look at the logs.  Is this correct for

Re: JASPIC question on AuthConfigFactory#registerConfigProvider() and appContext parameter

2018-06-28 Thread Mark Thomas
On 28 June 2018 16:21:32 BST, Michael Remijan wrote: >I'm using Tomcat 8.5.4.  I've got a JASPIC question >When I call AuthConfigFactory#registerConfigProvider() if I pass null >for the 3rd parameter (the appContext) there is no registration.  The >registrationID returned by calling

JASPIC question on AuthConfigFactory#registerConfigProvider() and appContext parameter

2018-06-28 Thread Michael Remijan
I'm using Tomcat 8.5.4.  I've got a JASPIC question When I call AuthConfigFactory#registerConfigProvider() if I pass null for the 3rd parameter (the appContext) there is no registration.  The registrationID returned by calling registerConfigProvider() is null.  And in testing I can verify the

RE: problem in starting tomcat

2018-06-28 Thread Jäkel , Guido
>> When I am trying to start my server I got following error as: >> A fatal error has been detected by the Java Runtime Environment: >> # >> #  SIGSEGV (0xb) at pc=0x7fd4f206e28a, pid=2412, tid=2412 >> # >> # JRE version:  (11.0+18) (build ) >> # Java VM: Java HotSpot(TM) 64-Bit Server VM

Re: problem in starting tomcat

2018-06-28 Thread Shawn Heisey
On 6/25/2018 9:20 PM, Prateek wrote: > My configuration: > OS:REDHAT 7.5 (64 bit) > Tomcat: 8.5.31 > Jdk- jdk-11(Early-Access) +1 to everything else you've been told on this thread. More stuff inline below. > When I am trying to start my server I got following error as: > A fatal error has been

Re: Apache http via tomcat WAR or Directory URL syntax (tomcat server.xml) for WAR application not working

2018-06-28 Thread tomcat
Hi. On 28.06.2018 11:55, Sandels Mark (RTH) OUH wrote: [.. snip ..] I am using the Apache http service as a proxy. I have configured the Apache httpd.conf file to listen to client requests on port 8000. Well no, according to the confiuration below, you are not at all using Apache httpd as

RE: Apache http via tomcat WAR or Directory URL syntax (tomcat server.xml) for WAR application not working

2018-06-28 Thread Sandels Mark (RTH) OUH
Hi Tom In answer to your questions ... <> The web-page that I was expecting appears - that is the WAR application web-page for OracleStatus. <> I am using the Apache http service as a proxy. I have configured the Apache httpd.conf file to listen to client requests on port 8000. How do I

Re: Apache http via tomcat WAR or Directory URL syntax (tomcat server.xml) for WAR application not working

2018-06-28 Thread Mark Thomas
On 28/06/18 09:58, Sandels Mark (RTH) OUH wrote: > Hi Mark > > > > Following your instructions, I get the following web-page in my browser. It > is not running the WAR application. > > > Index of /oraclestatus > > * Parent Directory > *

RE: Apache http via tomcat WAR or Directory URL syntax (tomcat server.xml) for WAR application not working

2018-06-28 Thread Sandels Mark (RTH) OUH
Hi Mark Following your instructions, I get the following web-page in my browser. It is not running the WAR application. Index of /oraclestatus * Parent Directory * META-INF/ *

FW: Apache http via tomcat WAR or Directory URL syntax (tomcat server.xml) for WAR application not working

2018-06-28 Thread Sandels Mark (RTH) OUH
Hi Mark Following your instructions, I get the following in my browser. It is not running the WAR application. Kind regards Mark [cid:image001.png@01D40EB5.F2046230] Mark Sandels |Senior Systems Analyst/Programmer|IM & T Services – Integration Services Team |Manor House Annexe