- 启动失败,jdk冲突
由于bea和jdk的冲突,导致weblogic启动失败,错误信息如下:
"ListenThread.Default" listening on port 7001, ip address *.*>
log4j:ERROR Parsing error on line 18 and column 16
log4j:ERROR The content of element type "appender" must match "(errorHandler?,pa
ram*,layout?,filter*,appender-ref*)".
已安排好任务计划
................... : _jndiName = jdbc/customdb , _url = t3://localhost/_prov
ider = weblogic.jndi.WLInitialContextFactory
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x80C
14B4
Function=JVM_RegisterPerfMethods+0x1297D
Library=d:/bea/JDK142~1/jre/bin/client/jvm.dll
Current Java thread:
at java.lang.Class.getName(Native Method)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.directwebremoting.util.CommonsLoggingOutput.<init>(CommonsLogging
Output.java:35)
at org.directwebremoting.util.Logger.<init>(Logger.java:62)
at org.directwebremoting.util.Logger.getLogger(Logger.java:33)
at org.directwebremoting.annotations.AnnotationsConfigurator.<clinit>(An
notationsConfigurator.java:329)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at org.directwebremoting.impl.ContainerUtil.configureFromAnnotations(Con
tainerUtil.java:309)
at org.directwebremoting.impl.ContainerUtil.configureContainerFully(Cont
ainerUtil.java:405)
at org.directwebremoting.servlet.DwrServlet.init(DwrServlet.java:77)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
etStubImpl.java:1018)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:894)
- locked <0x11cd5650> (a weblogic.servlet.internal.ServletStubImpl)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:873)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:812)
- locked <0x11cd5650> (a weblogic.servlet.internal.ServletStubImpl)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
ervletContext.java:3281)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:3226)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
pServletContext.java:3207)
- locked <0x11b4b8b8> (a weblogic.servlet.internal.WebAppServletContext)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServl
etContext.java:5737)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:874)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer
.java:2106)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
ner.java:2147)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
activateContainer(SlaveDeployer.java:2434)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(
SlaveDeployer.java:2352)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeplo
yer.java:2136)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(S
laveDeployer.java:2235)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDepl
oyer.java:2130)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2315)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Dynamic libraries:
0x00400000 - 0x00406000 d:/bea/JDK142~1/bin/java.exe
0x7C920000 - 0x7C9B4000 C:/WINDOWS/system32/ntdll.dll
0x7C800000 - 0x7C91D000 C:/WINDOWS/system32/kernel32.dll
0x77DA0000 - 0x77E49000 C:/WINDOWS/system32/ADVAPI32.dll
0x77E50000 - 0x77EE2000 C:/WINDOWS/system32/RPCRT4.dll
0x77FC0000 - 0x77FD1000 C:/WINDOWS/system32/Secur32.dll
0x77BE0000 - 0x77C38000 C:/WINDOWS/system32/MSVCRT.dll
0x08000000 - 0x08138000 d:/bea/JDK142~1/jre/bin/client/jvm.dll
0x77D10000 - 0x77D9F000 C:/WINDOWS/system32/USER32.dll
0x77EF0000 - 0x77F37000 C:/WINDOWS/system32/GDI32.dll
0x76B10000 - 0x76B3A000 C:/WINDOWS/system32/WINMM.dll
0x76300000 - 0x7631D000 C:/WINDOWS/system32/IMM32.DLL
0x62C20000 - 0x62C29000 C:/WINDOWS/system32/LPK.DLL
0x73FA0000 - 0x7400B000 C:/WINDOWS/system32/USP10.dll
0x10000000 - 0x10007000 d:/bea/JDK142~1/jre/bin/hpi.dll
0x003E0000 - 0x003EE000 d:/bea/JDK142~1/jre/bin/verify.dll
0x008A0000 - 0x008B9000 d:/bea/JDK142~1/jre/bin/java.dll
0x008C0000 - 0x008CD000 d:/bea/JDK142~1/jre/bin/zip.dll
0x02DC0000 - 0x02DCF000 D:/bea/jdk142_04/jre/bin/net.dll
0x71A20000 - 0x71A37000 C:/WINDOWS/system32/WS2_32.dll
0x71A10000 - 0x71A18000 C:/WINDOWS/system32/WS2HELP.dll
0x719C0000 - 0x719FE000 C:/WINDOWS/System32/mswsock.dll
0x76EF0000 - 0x76F17000 C:/WINDOWS/system32/DNSAPI.dll
0x76F80000 - 0x76F88000 C:/WINDOWS/System32/winrnr.dll
0x76F30000 - 0x76F5C000 C:/WINDOWS/system32/WLDAP32.dll
0x76F90000 - 0x76F96000 C:/WINDOWS/system32/rasadhlp.dll
0x02EE0000 - 0x02EE8000 D:/bea/jdk142_04/jre/bin/nio.dll
0x02EF0000 - 0x02EF6000 D:/bea/jdk142_04/jre/bin/ioser12.dll
0x60FD0000 - 0x61025000 C:/WINDOWS/system32/hnetcfg.dll
0x71A00000 - 0x71A08000 C:/WINDOWS/System32/wshtcpip.dll
0x03CE0000 - 0x03CE5000 D:/bea/weblogic81/server/bin/stackdump.dll
0x03CF0000 - 0x03CF5000 D:/bea/weblogic81/server/bin/wlntio.dll
0x76C60000 - 0x76C88000 C:/WINDOWS/system32/imagehlp.dll
0x68D60000 - 0x68E01000 C:/WINDOWS/system32/DBGHELP.dll
0x77BD0000 - 0x77BD8000 C:/WINDOWS/system32/VERSION.dll
0x76BC0000 - 0x76BCB000 C:/WINDOWS/system32/PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 3264K, used 2445K [0x10010000, 0x10390000, 0x10f7000
0)
eden space 2944K, 83% used [0x10010000, 0x102735a8, 0x102f0000)
from space 320K, 0% used [0x102f0000, 0x102f0000, 0x10340000)
to space 320K, 0% used [0x10340000, 0x10340000, 0x10390000)
tenured generation total 41492K, used 24894K [0x10f70000, 0x137f5000, 0x1c810
000)
the space 41492K, 59% used [0x10f70000, 0x127bf838, 0x127bfa00, 0x137f5000)
compacting perm gen total 28928K, used 28811K [0x1c810000, 0x1e450000, 0x24810
000)
the space 28928K, 99% used [0x1c810000, 0x1e432da0, 0x1e432e00, 0x1e450000)
Local Time = Tue Feb 26 19:45:47 2008
Elapsed Time = 301
#
# HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
#
# An error report file has been saved as hs_err_pid3800.log.
# Please refer to the file for further information.
#
由于weblogic带了两个虚拟机
一个是sun,一个bea的
建议使用bea的虚拟机,避免weblogic程序和虚拟机的冲突
解决办法,找到startWebLogic.cmd文件,找到如下两行:
set JAVA_VENDOR=Sun
set JAVA_HOME=d:/bea/jdk142_04
修改为
set JAVA_VENDOR=Bea
set JAVA_HOME=D:/bea/jrockit81sp3_142_04
解决问题,具体路径根据情况而定,上面是我的解决办法,各位根据自己的情况,设置相应的路径就行了.
weblogic积累
最新推荐文章于 2021-04-08 00:22:44 发布