Also, your PATH definition may come from system-level and user-level, so
take a look at both side.

On Sat, Sep 27, 2014 at 2:40 PM, Daniel Baktiar <dbakt...@gmail.com> wrote:

> I would suggest to actually remove athe daemons and all installation
> JDK/JRE whenever possible, then clean up the JAVA_HOME, JRE_HOME,
> CLASSPATH, PATH variables from any related references.
> This may break other stuffs if your server have a lot of other things
> though.
> After that perform a clean installation, and take note whenever there's a
> request to elevate privilege (asking for Windows Admin password).
>
> On Sat, Sep 27, 2014 at 7:18 AM, Chad Maniccia <cmanic...@mbgaustin.com>
> wrote:
>
>> Hi Daniel,
>>
>> Thanks for responding! I'm not sure. I can tell you it happened with
>> Tomcat 7 and so I upgraded to Tomcat 8 and still same problem.  Should I
>> reinstall 8?
>>
>> Thanks,
>> Chad
>>
>>
>> Sent from my Verizon Wireless 4G LTE smartphone
>>
>>
>> -------- Original message --------
>> From: Daniel Baktiar
>> Date:09/26/2014 5:51 PM (GMT-06:00)
>> To: Tomcat Users List
>> Subject: Re: Tomcat JVM Crash
>>
>> Hi Chad,
>>
>> Could this be because during the installation of some of the components
>> (suspects: JDK/JRE, wrapper daemons), the installer registered the Windows
>> ACL wrongly, causing some of the process unable to access those required
>> DLLs.
>>
>> Daniel
>>
>> On Tue, Sep 23, 2014 at 5:28 PM, Chad Maniccia <cmanic...@mbgaustin.com>
>> wrote:
>>
>> > Hi Konstantin ,
>> >
>> > Thanks for taking the time to look over the log. I removed the path as
>> you
>> > advised. Unfortunately that's not the problem as it was crashing before
>> I
>> > upgraded Java in an attempt to fix the crashes.
>> >
>> > I've also found the 'PrivilegedActionException' as strange but haven't
>> > found a cause and Googling doesn't yield much. No crash in four days. I
>> > have a background process that automatically restarts Tomcat when it
>> > crashes so it's a manageable situation.
>> >
>> > Thanks,
>> > Chad
>> > ________________________________________
>> > From: Konstantin Kolinko <knst.koli...@gmail.com>
>> > Sent: Saturday, September 20, 2014 5:27 AM
>> > To: Tomcat Users List
>> > Subject: Re: Tomcat JVM Crash
>> >
>> > 2014-09-20 3:01 GMT+04:00 Chad Maniccia <cmanic...@mbgaustin.com>:
>> > > Enviroment
>> > >
>> > >
>> > > Windows 2008 R2
>> > >
>> > > Tomcat 8.0.11
>> > >
>> > > Java 1.8.0_20-b26
>> > >
>> > > Sysco HTTPS Firewall (They have to authenticate through it first)
>> > >
>> > > HTTPS only
>> > >
>> > > Memory Pool=3072MB
>> > >
>> > > Thread Stack Size=384
>> > >
>> > >
>> > >
>> > > Problem
>> > >
>> > >
>> > > We recently moved to a new Windows server, I installed the exact same
>> > software on the new server as the old. The problem is that on the new
>> > server Tomcat has a JVM crash two to four times a week almost at the
>> exact
>> > same time 11:30PM. This happens to be during the time we have our
>> greatest
>> > number of active sessions but not the heaviest use. I have looked into
>> > "localhost_access_log" but the last logged requests don't seem to be the
>> > problem. I fear it's not being logged.
>> > >
>> > >
>> > > I have nothing to go on other than the error log which doesn't appear
>> to
>> > show a cause other than the blocked threads. I have submitted the
>> report to
>> > Oracle but they have failed to comment. Today I increased Tomcat
>> logging to
>> > Fine and am monitoring the Threads using JConsole. Can anyone point out
>> a
>> > tip or clue I may be missing in this report?
>> > >
>> > >
>> >
>> >
>> > Just pointing at some oddities below
>> >
>> > > Internal exceptions (10 events):
>> > > Event: 46744.455 Thread 0x0000000024459000 Exception <a
>> > 'java/security/PrivilegedActionException'> (0x0000000783e5a790) thrown
>> at
>> >
>> [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u20\1074\hotspot\src\share\vm\prims\jvm.cpp,
>> > line 1275]
>> >
>> > I wonder why the last 10 exceptions are all "PrivilegedActionException".
>> >
>> > > Dynamic libraries:
>> > > 0x0000000140000000 - 0x000000014001e000 C:\Program Files\Apache
>> Software
>> > Foundation\Tomcat 8.0\bin\Tomcat8.exe
>> > > 0x0000000077c00000 - 0x0000000077da9000 C:\Windows\SYSTEM32\ntdll.dll
>> > > 0x00000000779e0000 - 0x0000000077aff000
>> C:\Windows\system32\kernel32.dll
>> > > 0x000007fefdc40000 - 0x000007fefdcab000
>> > C:\Windows\system32\KERNELBASE.dll
>> > > 0x000007feff890000 - 0x000007feff96b000
>> C:\Windows\system32\ADVAPI32.dll
>> > > 0x000007feff970000 - 0x000007feffa0f000 C:\Windows\system32\msvcrt.dll
>> > > 0x000007feffd50000 - 0x000007feffd6f000
>> C:\Windows\SYSTEM32\sechost.dll
>> > > 0x000007feffb20000 - 0x000007feffc4d000 C:\Windows\system32\RPCRT4.dll
>> > > 0x000007fefe0f0000 - 0x000007fefee78000
>> C:\Windows\system32\SHELL32.dll
>> > > 0x000007feff480000 - 0x000007feff4f1000
>> C:\Windows\system32\SHLWAPI.dll
>> > > 0x000007feff7c0000 - 0x000007feff827000 C:\Windows\system32\GDI32.dll
>> > > 0x0000000077b00000 - 0x0000000077bfa000 C:\Windows\system32\USER32.dll
>> > > 0x000007feff210000 - 0x000007feff21e000 C:\Windows\system32\LPK.dll
>> > > 0x000007feffd80000 - 0x000007feffe49000 C:\Windows\system32\USP10.dll
>> > > 0x000007feffc50000 - 0x000007feffc7e000 C:\Windows\system32\IMM32.DLL
>> > > 0x000007feffa10000 - 0x000007feffb19000 C:\Windows\system32\MSCTF.dll
>> > > 0x000000006eac0000 - 0x000000006f318000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\server\jvm.dll
>> > > 0x000007fefa490000 - 0x000007fefa499000
>> C:\Windows\system32\WSOCK32.dll
>> > > 0x000007feffd00000 - 0x000007feffd4d000 C:\Windows\system32\WS2_32.dll
>> > > 0x000007feffd70000 - 0x000007feffd78000 C:\Windows\system32\NSI.dll
>> > > 0x000007fef7ba0000 - 0x000007fef7bdb000 C:\Windows\system32\WINMM.dll
>> > > 0x0000000077dd0000 - 0x0000000077dd7000 C:\Windows\system32\PSAPI.DLL
>> > > 0x000000005d8f0000 - 0x000000005d9c2000 C:\Program
>> > Files\Java\jdk1.8.0_05\bin\MSVCR100.dll
>> >
>> > The above library is wrong. Why it comes from 8u05 when all the others
>> > come from 8u20?
>> >
>> > > 0x000000006c810000 - 0x000000006c81f000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\verify.dll
>> > > 0x0000000060740000 - 0x0000000060768000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\java.dll
>> > > 0x000000006c7f0000 - 0x000000006c806000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\zip.dll
>> > > 0x000007fefee80000 - 0x000007feff083000 C:\Windows\system32\ole32.dll
>> > > 0x000007fefdb50000 - 0x000007fefdb5f000
>> C:\Windows\system32\profapi.dll
>> > > 0x0000000066990000 - 0x000000006699d000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\management.dll
>> > > 0x000000006b440000 - 0x000000006b45a000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\net.dll
>> > > 0x000007fefd2f0000 - 0x000007fefd345000
>> C:\Windows\system32\mswsock.dll
>> > > 0x000007fefd4c0000 - 0x000007fefd4c7000 C:\Windows\System32\wship6.dll
>> > > 0x00000000667d0000 - 0x00000000667e1000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\nio.dll
>> > > 0x0000000180000000 - 0x000000018018c000 C:\Program Files\Apache
>> Software
>> > Foundation\Tomcat 8.0\bin\tcnative-1.dll
>> > > 0x000007fefd5c0000 - 0x000007fefd5d7000
>> C:\Windows\system32\CRYPTSP.dll
>> > > 0x000007fefd0b0000 - 0x000007fefd0f7000 C:\Windows\system32\rsaenh.dll
>> > > 0x000007fefda40000 - 0x000007fefda4f000
>> C:\Windows\system32\CRYPTBASE.dll
>> > > 0x000000005d820000 - 0x000000005d844000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\sunec.dll
>> > > 0x000000006e440000 - 0x000000006e44b000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\sunmscapi.dll
>> > > 0x000007fefdcb0000 - 0x000007fefde17000
>> C:\Windows\system32\CRYPT32.dll
>> > > 0x000007fefdbf0000 - 0x000007fefdbff000 C:\Windows\system32\MSASN1.dll
>> > > 0x000007fefcd20000 - 0x000007fefcd27000
>> C:\Windows\System32\wshtcpip.dll
>> > > 0x000007fefbfa0000 - 0x000007fefbfc7000
>> C:\Windows\system32\IPHLPAPI.DLL
>> > > 0x000007fefbf10000 - 0x000007fefbf1b000 C:\Windows\system32\WINNSI.DLL
>> > > 0x000007fefbc00000 - 0x000007fefbc11000
>> C:\Windows\system32\dhcpcsvc6.DLL
>> > > 0x000007fefbbe0000 - 0x000007fefbbf8000
>> C:\Windows\system32\dhcpcsvc.DLL
>> > > 0x000007fefc6b0000 - 0x000007fefc6c5000 C:\Windows\system32\NLAapi.dll
>> > > 0x000007fefb410000 - 0x000007fefb425000
>> C:\Windows\system32\napinsp.dll
>> > > 0x000007fefd180000 - 0x000007fefd1db000 C:\Windows\system32\DNSAPI.dll
>> > > 0x000007fefb440000 - 0x000007fefb44b000 C:\Windows\System32\winrnr.dll
>> > > 0x000007fefb530000 - 0x000007fefb538000
>> C:\Windows\system32\rasadhlp.dll
>> > > 0x000007fefbe00000 - 0x000007fefbe53000
>> C:\Windows\System32\fwpuclnt.dll
>> > > 0x000000005c590000 - 0x000000005c728000 C:\Program
>> > Files\Java\jre1.8.0_20\bin\awt.dll
>> > > 0x000007feff500000 - 0x000007feff5d7000
>> C:\Windows\system32\OLEAUT32.dll
>> > > 0x000007fefb2a0000 - 0x000007fefb3c5000
>> C:\Windows\system32\DBGHELP.DLL
>> > >
>> > > VM Arguments:
>> > > jvm_args: -Dcatalina.home=C:\Program Files\Apache Software
>> > Foundation\Tomcat 8.0 -Dcatalina.base=C:\Program Files\Apache Software
>> > Foundation\Tomcat 8.0 -Djava.endorsed.dirs=C:\Program Files\Apache
>> Software
>> > Foundation\Tomcat 8.0\endorsed -Djava.io.tmpdir=C:\Program Files\Apache
>> > Software Foundation\Tomcat 8.0\temp
>> > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
>> > -Djava.util.logging.config.file=C:\Program Files\Apache Software
>> > Foundation\Tomcat 8.0\conf\logging.properties -Duser.timezone=CST
>> > -XX:PermSize=512m -XX:MaxPermSize=512m exit -Xms3072m -Xmx3072m -Xss384k
>> >
>> >
>> > -XX:PermSize=512m -XX:MaxPermSize=512m
>> > options are invalid (ignored with a warning) for Java 8
>> >
>> >
>> http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366.html
>> >
>> > What is "exit" word doing on the above jvm_args line?
>> >
>> > > java_command: <unknown>
>> > > java_class_path (initial): C:\Program Files\Apache Software
>> > Foundation\Tomcat 8.0\bin\bootstrap.jar;C:\Program Files\Apache Software
>> > Foundation\Tomcat 8.0\bin\tomcat-juli.jar
>> > > Launcher Type: generic
>> > >
>> > > Environment Variables:
>> > > PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files
>> (x86)\Windows
>> > Resource
>> >
>> Kits\Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
>> > Files (x86)\MySQL\MySQL Utilities 1.3.6\;C:\Program Files\MySQL\MySQL
>> > Server 5.6\bin;c:\Program Files (x86)\Microsoft SQL
>> > Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files
>> (x86)\Microsoft
>> > SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
>> > Server\100\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL
>> > Server\100\DTS\Binn\;C:\Program Files\Java\jdk1.8.0_05\bin\;
>> >
>> > Remove Java 8u5 from PATH.
>> >
>> > > USERNAME=MTGWEB1$
>> > > OS=Windows_NT
>> > > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2,
>> GenuineIntel
>> >
>> > ---------------------------------------------------------------------
>> > 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
>> >
>> >
>>
>
>

Reply via email to