- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我正在运行一个 java 应用程序,它是我从数据库中带回的大量记录,我在浏览器中得到了一个 java.lang.OutOfMemoryError: PermGen space
。现在 Tomcat 7.0 无法启动。 Tomcat 日志显示了这一点:
错误日志
[2013-04-29 16:23:05] [info] Commons Daemon procrun (1.0.10.0 64-bit) started
[2013-04-29 16:23:05] [info] Running 'Tomcat7' Service...
[2013-04-29 16:23:05] [info] Starting service...
[2013-04-29 16:23:05] [error] %1 is not a valid Win32 application.
[2013-04-29 16:23:05] [error] Failed creating java C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
[2013-04-29 16:23:05] [error] %1 is not a valid Win32 application.
[2013-04-29 16:23:05] [error] ServiceStart returned 1
[2013-04-29 16:23:05] [error] %1 is not a valid Win32 application.
[2013-04-29 16:23:05] [info] Run service finished.
[2013-04-29 16:23:05] [info] Commons Daemon procrun finished
谁能告诉我每次我在 tomcat 上单击启动时如何解决这个问题,它试图启动然后失败。
hs_err_pid4284.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006818b51a, pid=4284, tid=4760
#
# JRE version: 7.0_10-b18
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.6-b04 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0x1ab51a]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00000000056c1800): VMThread [stack: 0x00000000061b0000,0x00000000062b0000] [id=4760]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000012cee80
Registers:
RAX=0x00000000012ceeb8, RBX=0x00000000062af320, RCX=0x00000000010f8420, RDX=0x00000000015e237c
RSP=0x00000000062af2a0, RBP=0x00000000010f3330, RSI=0x00000000010f0df0, RDI=0x00000000010f3500
R8 =0x00000000015d0000, R9 =0x0000000000000006, R10=0x00000000062af350, R11=0x00000000015e237c
R12=0x00000000010f3ea0, R13=0x000000000000000a, R14=0x00000000056590d0, R15=0x0000000000000000
RIP=0x000000006818b51a, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x00000000062af2a0)
0x00000000062af2a0: 00000000015d5510 0000000000000000
0x00000000062af2b0: 00000000012ceeb8 00000000012cee40
Instructions: (pc=0x000000006818b51a)
0x000000006818b4fa: cc cc cc cc cc cc 40 53 48 83 ec 20 48 8b d9 e8
0x000000006818b50a: 32 bf 0b 00 84 c0 0f 84 b7 00 00 00 48 8b 43 20
0x000000006818b51a: 48 8b 48 c8 48 81 f9 ff ff 00 00 77 0e 8b d1 48
0x000000006818b52a: 8b 48 e8 e8 ce af f3 ff 48 8b c8 80 3d 65 3c 4b
Register to memory mapping:
RAX=0x00000000012ceeb8 is pointing into the stack for thread: 0x000000000095d000
RBX=0x00000000062af320 is an unknown value
RCX=0x00000000010f8420 is an unknown value
RDX=0x00000000015e237c is an Interpreter codelet
method entry point (kind = native) [0x00000000015e2100, 0x00000000015e2980] 2176 bytes
RSP=0x00000000062af2a0 is an unknown value
RBP=0x00000000010f3330 is an unknown value
RSI=0x00000000010f0df0 is an unknown value
RDI=0x00000000010f3500 is an unknown value
R8 =0x00000000015d0000 is an unknown value
R9 =0x0000000000000006 is an unknown value
R10=0x00000000062af350 is an unknown value
R11=0x00000000015e237c is an Interpreter codelet
method entry point (kind = native) [0x00000000015e2100, 0x00000000015e2980] 2176 bytes
R12=0x00000000010f3ea0 is an unknown value
R13=0x000000000000000a is an unknown value
R14=0x00000000056590d0 is an unknown value
R15=0x0000000000000000 is an unknown value
Stack: [0x00000000061b0000,0x00000000062b0000], sp=0x00000000062af2a0, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x1ab51a]
VM_Operation (0x000000000924f3c0): ParallelGCFailedPermanentAllocation, mode: safepoint, requested by thread 0x0000000007ae0800
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x000000000708a000 JavaThread "http-bio-8084-exec-104" daemon [_thread_blocked, id=3296, stack(0x000000000d930000,0x000000000da30000)]
0x000000000f286000 JavaThread "http-bio-8084-exec-103" daemon [_thread_blocked,
Other Threads:
=>0x00000000056c1800 VMThread [stack: 0x00000000061b0000,0x00000000062b0000] [id=4760]
0x0000000005784800 WatcherThread [stack: 0x00000000069b0000,0x0000000006ab0000] [id=1760]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x000000000095a890] Threads_lock - owner thread: 0x00000000056c1800
[0x000000000095ad90] Heap_lock - owner thread: 0x0000000007ae0800
[0x000000000095b310] MethodData_lock - owner thread: 0x0000000007ae0800
Heap
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
to space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
Card table byte_map: [0x00000000045d0000,0x0000000004680000] byte_map_base: 0x0000000003e79000
Polling page: 0x00000000001f0000
Code Cache [0x00000000015d0000, 0x0000000001f00000, 0x00000000045d0000)
total_blobs=1903 nmethods=1504 adapters=348 free_code_cache=40047Kb largest_free_block=40703552
Compilation events (10 events):
Event: 3663.180 Thread 0x0000000005757800 nmethod 1674 0x0000000001d07210 code [0x0000000001d07780, 0x0000000001d0a698]
Event: 3663.322 Thread 0x0000000005757800 1675 java.lang.Class::arrayContentsEq (70 bytes)
Event: 3663.323 Thread 0x0000000005757800 nmethod 1675 0x0000000001def050 code [0x0000000001def180, 0x0000000001def258]
Event: 3663.347 Thread 0x000000000576e000 nmethod 1661 0x0000000001eda810 code [0x0000000001edba60, 0x0000000001eeb478]
Event: 3663.413 Thread 0x0000000005757800 1676 org.apache.log4j.helpers.PatternConverter::format (127 bytes)
Event: 3663.435 Thread 0x0000000005757800 nmethod 1676 0x0000000001d05510 code [0x0000000001d05780, 0x0000000001d063d8]
Event: 3663.442 Thread 0x000000000576e000 1677 org.apache.log4j.helpers.PatternParser$LiteralPatternConverter::format (10 bytes)
Event: 3663.443 Thread 0x000000000576e000 nmethod 1677 0x0000000001d05290 code [0x0000000001d053e0, 0x0000000001d05468]
Event: 3663.464 Thread 0x0000000005757800 1678 ! org.springframework.beans.factory.support.DefaultListableBeanFactory::getBeanNamesForType (509 bytes)
Event: 3664.753 Thread 0x0000000005757800 nmethod 1678 0x0000000001e2eed0 code [0x0000000001e2f380, 0x0000000001e32718]
GC Heap History (10 events):
Event: 4039.689 GC heap after
Heap after GC invocations=1795 (full 850):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
to space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
}
Event: 4039.689 GC heap before
{Heap before GC invocations=1796 (full 851):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
to space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
Event: 4039.933 GC heap after
Heap after GC invocations=1796 (full 851):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
to space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
}
Event: 4039.933 GC heap before
{Heap before GC invocations=1797 (full 851):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
to space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
Event: 4039.935 GC heap after
Heap after GC invocations=1797 (full 851):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
to space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
}
Event: 4039.935 GC heap before
{Heap before GC invocations=1798 (full 852):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
to space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
Event: 4040.227 GC heap after
Heap after GC invocations=1798 (full 852):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
to space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
}
Event: 4040.229 GC heap before
{Heap before GC invocations=1799 (full 852):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
to space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
Event: 4040.232 GC heap after
Heap after GC invocations=1799 (full 852):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
to space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
}
Event: 4040.232 GC heap before
{Heap before GC invocations=1800 (full 853):
PSYoungGen total 87296K, used 0K [0x00000000faab0000, 0x0000000100000000, 0x0000000100000000)
eden space 87232K, 0% used [0x00000000faab0000,0x00000000faab0000,0x00000000fffe0000)
from space 64K, 0% used [0x00000000fffe0000,0x00000000fffe0000,0x00000000ffff0000)
to space 64K, 0% used [0x00000000ffff0000,0x00000000ffff0000,0x0000000100000000)
ParOldGen total 174784K, used 56171K [0x00000000f0000000, 0x00000000faab0000, 0x00000000faab0000)
object space 174784K, 32% used [0x00000000f0000000,0x00000000f36dac38,0x00000000faab0000)
PSPermGen total 83968K, used 83966K [0x00000000eae00000, 0x00000000f0000000, 0x00000000f0000000)
object space 83968K, 99% used [0x00000000eae00000,0x00000000effffb40,0x00000000f0000000)
Deoptimization events (10 events):
Event: 3250.026 Thread 0x000000000707f800 Uncommon trap -58 fr.pc 0x00000000019ffd28
Internal exceptions (10 events):
Event: 4035.499 Thread 0x0000000007ae0800 Threw 0x00000000eaea6150 at C:\jdk7u2_64p\jdk7u10\hotspot\src\share\vm\gc_interface/collectedHeap.inline.hpp:226
Events (10 events):
Event: 4038.120 Executing VM operation: ParallelGCFailedPermanentAllocation done
Event: 4038.120 Executing VM operation: ParallelGCFailedPermanentAllocation
Event: 4038.635 Executing VM operation: ParallelGCFailedPermanentAllocation done
Event: 4038.635 Executing VM operation: ParallelGCFailedPermanentAllocation
Event: 4039.179 Executing VM operation: ParallelGCFailedPermanentAllocation done
Event: 4039.179 Executing VM operation: ParallelGCFailedPermanentAllocation
Event: 4039.686 Executing VM operation: ParallelGCFailedPermanentAllocation done
Event: 4039.687 Executing VM operation: ParallelGCFailedPermanentAllocation
Event: 4040.228 Executing VM operation: ParallelGCFailedPermanentAllocation done
Event: 4040.228 Executing VM operation: ParallelGCFailedPermanentAllocation
Dynamic libraries:
0x0000000140000000 - 0x000000014001e000 C:\Users\Darin\apache-tomcat\bin\Tomcat7.exe
0x0000000077020000 - 0x00000000771cb000 C:\Windows\SYSTEM32\ntdll.dll
VM Arguments:
jvm_args: -Dcatalina.home=C:\Users\Darin\apache-tomcat -Dcatalina.base=C:\Users\Darin\apache-tomcat -Djava.endorsed.dirs=C:\Users\Darin\apache-tomcat\endorsed -Djava.io.tmpdir=C:\Users\Darin\apache-tomcat\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Users\Darin\apache-tomcat\conf\logging.properties -Xmx256m
java_command: <unknown>
Launcher Type: generic
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_10
PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ant\bin;C:\Program Files\Java\jdk1.7.0_10\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
USERNAME=DARIN-PC$
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 6, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7600
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, tsc
Memory: 4k page, physical 4192320k(1608396k free), swap 8382744k(5403772k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (23.6-b04) for windows-amd64 JRE (1.7.0_10-b18), built on Nov 28 2012 05:00:40 by "java_re" with unknown MS VC++:1600
time: Thu Jan 17 17:09:11 2013
elapsed time: 4040 seconds
最佳答案
原因:
从客户端目录更改为服务器目录对我来说不起作用。我的问题是 Tomcat 安装在 C:\Program Files\Apache Software Foundation\Tomcat 7.0
下和 jvm.dll
JDK 的文件指向 C:\Program Files(x86)\Java\jdk1.7.xx\jre\bin\server\jvm.dll
.
Notice the C:\Program Files and the C:\Program Files(x86) in the above paths.
如错误信息所述%1 is not a valid Win32 application.
, 这意味着你的 jvm.dll
的当前版本tomcat 使用的和安装的 tomcat 版本不同(32 位和 64 位的混合)版本。即 Tomcat 是 32 位的,而您的 JDK 是 64 位的,反之亦然。
所以 JDK 和 Tomcat 使用相同的版本。 (即)两者都应该是 32 位或 64 位二进制文件。在这种情况下,如果您有 64 位操作系统,您会发现 64 位应用程序安装在 C:\Program Files\
下。和 32 位应用程序安装在 C:\Program Files(x86)
下相应的目录。
解决方案:
bin
目录。 Tomcat7w.exe
作为管理员。Java
选项卡并指向您的 Java Virtual Machine
适合您的 JDK 版本的路径。C:\Program Files\Java\jdk1.7.xx\jre\bin\server\jvm.dll
C:\Program Files\Apache Software Foundation\Tomcat 7.0
保持一致正如您所注意到的,tomcat 和 JDK 的路径在 C:\Program Files
下。 ,我在启动服务器时没有问题。希望这能解决您的问题。
关于Tomcat 7 无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16287659/
我希望在某些环境中使用用户名和密码保护某个角色,但在其他环境中甚至不需要提示。如果我在 tomcat web.xml 中有一个 auth-constraint,我可以创建一个具有“匿名”访问权限的角色
我正在使用 Tomcat jmxproxy 和状态来监视 Web 应用程序,但是 jmxproxy 页面中有很多无用的信息,并且其中没有任何信息,例如事件连接数。有谁知道如何过滤 jmxproxy 页
是否可以通过执行 JSP 来重启 Tomcat6? 这是因为我想通过使用网络服务器远程部署应用程序的更改。 部署脚本是用 bash 编写的,它从 svn 中 check out 最新版本,然后将其打包
我有一个包含 2 个子项目(后端和 ui)的 gradle 项目。 Ui由gradle tomcatRunWar完美启动.后端有我们在生产地点的配置描述符/conf/Catalina/localhos
发现 XAMPP 控件认为 tomcat 正在运行但无法停止它的问题。 在catalina下的tomcat logs目录下可以找到如下错误 “严重:无法联系 localhost:8005。Tomcat
PuppetLabs 在 PuppetForge 上有一个模块,用于部署 Tomcat 及其配置。 https://forge.puppet.com/puppetlabs/tomcat Tomcat
我有一个部署到 Tomcat 实例中的 Web 应用程序。我希望能够将 tomcat 配置为在 Tomcat 本身启动时不自动启动该应用程序。但是,我确实希望启动 Tomcat 管理器,以便我可以根据
操作系统:windows XP。 我已经安装了 Tomcat 7.0.25,文件夹“manager”位于 webapps 文件夹中。 我已阅读此处的文档:http://tomcat.apache.or
我们在 server.xml 文件中启用了以下访问日志模式 pattern="%h %H %l %u %t "%r" %s %b location: %{location}o"。 有人可以帮助理解模式
我最近开始使用 tomcat,我有一个关于 Tomcat 请求路由/映射的查询。 假设我在 tomcat 服务器中部署了四个应用程序 A、B、C 和 D,当有请求到来时,tomcat 如何知道要调用哪
我在我的计算机上使用 Tomcat,它可以通过端口 8080 访问。我想要的是我应该能够使用我的计算机的 IP 地址访问我的 Tomcat 服务器页面。我以前读过很多主题,但找不到一个可以帮助我的主题
我有一个 tomcat 7 服务器和一个 postgreSQL 9.0 数据库。我用它来为地理网络元数据编辑器设置开发环境。一切都是根据 geonetwork 网站教程设置的。我在将服务器与数据库连接
我的服务器有 物理 ip 和 虚拟 ip 由网络管理员设置。在我安装的服务器内部 Apache tomcat 7.0.29并创建一个网络应用程序。当我运行 wget http://:8080/xxx或
我有多个应用程序在不同的端口上运行(tomcat 实例) 都有相同的CATALINA_HOME 目前我必须在所有实例中部署和安装psi 探针,并在不同的窗口中分别监控每个端口。 我如何在一个单一的探测
based on this question 我尝试将 Tomcat 控制台输出重定向到一个文本文件,它对我的 Web 应用程序工作正常,但问题是,每次 Tomcat 启动时它都会被覆盖。我需要创
我需要阐明我的问题。问题是:有什么方法可以影响 Tomcat 为特定部署的应用程序分配多少堆内存?更多详细信息 - 我如何为已部署的应用程序设置特定的 Java 选项(考虑我想为每个应用程序设置特殊的
应用服务器内部的类加载机制是开发人员常见的困惑来源;这就是为什么我想问一个关于 tomcat 7 服务器中这个机制的问题:我有一个网络应用程序 sample.war,它依赖于 jgroups 库, 放
尝试将嵌入式 Tomcat 5 迁移到嵌入式 Tomcat 7。在启动过程中获取 NPE。 我扩展了 Embedded 类并按照正确的顺序执行所有建议的初始化。 NPE 发生在这里: Caused b
我可以使用随附的 start.sh 文件启动 tomcat,但是是否有任何参数可以用来执行以下操作: 在指定的根目录启动 Tomcat 服务 强制 Tomcat 在浏览器中拉出指定的主页 谢谢 最佳答
我在两台 diff 机器 tomcat 服务器上做一个简单的集群配置。每次我启动 tomcat 时,我都会收到一个错误,就像集群组中没有事件成员一样。我正在附加集群配置
我是一名优秀的程序员,十分优秀!