如下错误: 我又新建了一个项目一切都OK,不知道这个错在那里,求各位大侠指点。 |
|
<2012-5-14 下午03时54分22秒 CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<2012-5-14 下午03时54分22秒 CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true> <2012-5-14 下午03时54分22秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..> <2012-5-14 下午03时54分23秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 > <2012-5-14 下午03时54分24秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.> <2012-5-14 下午03时54分24秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.> <2012-5-14 下午03时54分24秒 CST> <Notice> <LoggingService> <BEA-320400> <The log file D:\bea\user_projects\domains\domain_2\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.> <2012-5-14 下午03时54分24秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\bea\user_projects\domains\domain_2\servers\AdminServer\logs\AdminServer.log00013. Log messages will continue to be logged in D:\bea\user_projects\domains\domain_2\servers\AdminServer\logs\AdminServer.log.> <2012-5-14 下午03时54分24秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file D:\bea\user_projects\domains\domain_2\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.> <2012-5-14 下午03时54分26秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> <2012-5-14 下午03时54分29秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.> <2012-5-14 下午03时54分29秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.> <2012-5-14 下午03时54分31秒 CST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application “Hzyldb2” due to error java.lang.ArrayIndexOutOfBoundsException: 26 java.lang.ArrayIndexOutOfBoundsException: 26 at com.bea.objectweb.asm.ClassReader.readClass(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:45) at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:145) Truncated. see log file for complete stacktrace Caused By: java.lang.ArrayIndexOutOfBoundsException: 26 at com.bea.objectweb.asm.ClassReader.readClass(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:45) at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:145) Truncated. see log file for complete stacktrace > <2012-5-14 下午03时54分31秒 CST> <Notice> <LoggingService> <BEA-320400> <The log file D:\bea\user_projects\domains\domain_2\servers\AdminServer\logs\domain_2.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.> <2012-5-14 下午03时54分31秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\bea\user_projects\domains\domain_2\servers\AdminServer\logs\domain_2.log00013. Log messages will continue to be logged in D:\bea\user_projects\domains\domain_2\servers\AdminServer\logs\domain_2.log.> <2012-5-14 下午03时54分31秒 CST> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.> <2012-5-14 下午03时54分31秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.> <2012-5-14 下午03时54分31秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.> <2012-5-14 下午03时54分31秒 CST> <Notice> <Server> <BEA-002613> <Channel “Default” is now listening on 192.168.50.244:7001 for protocols iiop, t3, ldap, snmp, http.> <2012-5-14 下午03时54分31秒 CST> <Notice> <Server> <BEA-002613> <Channel “Default[1]” is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> <2012-5-14 下午03时54分31秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started the WebLogic Server Administration Server “AdminServer” for domain “domain_2” running in development mode.> <2012-5-14 下午03时54分31秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.> <2012-5-14 下午03时54分31秒 CST> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.> |
|
20分 |
Failed to initialize the application “Hzyldb2” due to error java.lang.ArrayIndexOutOfBoundsException: 26
java.lang.ArrayIndexOutOfBoundsException: 26 ArrayIndexOutOfBoundsException |
不太明白,希望能多指点下 |
|
自己项下 等待高手
|
|
java.lang.ArrayIndexOutOfBoundsException: 26
at com.bea.objectweb.asm.ClassReader.readClass(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:45) at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:145) at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:137) at weblogic.application.utils.annotation.ClassfinderClassInfos.<init>(ClassfinderClassInfos.java:28) at weblogic.servlet.internal.War.initializeClassInfosIfNecessary(War.java:443) at weblogic.servlet.internal.War.getAnnotatedClasses(War.java:373) at weblogic.servlet.internal.WebBaseModuleExtensionContext.getAnnotatedClasses(WebBaseModuleExtensionContext.java:62) at weblogic.j2ee.managedbean.ManagedBeanModuleExtensionFactory.create(ManagedBeanModuleExtensionFactory.java:42) at weblogic.servlet.internal.WebAppModule.initModuleExtensions(WebAppModule.java:562) at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:271) at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:636) at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162) at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:74) at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84) at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:312) at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:325) at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:378) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused By: java.lang.ArrayIndexOutOfBoundsException: 26 at com.bea.objectweb.asm.ClassReader.readClass(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:45) at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:145) at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:137) at weblogic.application.utils.annotation.ClassfinderClassInfos.<init>(ClassfinderClassInfos.java:28) at weblogic.servlet.internal.War.initializeClassInfosIfNecessary(War.java:443) at weblogic.servlet.internal.War.getAnnotatedClasses(War.java:373) at weblogic.servlet.internal.WebBaseModuleExtensionContext.getAnnotatedClasses(WebBaseModuleExtensionContext.java:62) at weblogic.j2ee.managedbean.ManagedBeanModuleExtensionFactory.create(ManagedBeanModuleExtensionFactory.java:42) at weblogic.servlet.internal.WebAppModule.initModuleExtensions(WebAppModule.java:562) at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:271) at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:636) at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162) at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:74) at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84) at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:312) at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:325) at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:378) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) > ####<2012-5-16 下午03时31分54秒 CST> <Notice> <Server> <china-d71e145e4> <AdminServer> <[ACTIVE] ExecuteThread: “”2″” for queue: “”weblogic.kernel.Default (self-tuning)””> <<WLS Kernel>> <> <> <1337153514437> <BEA-002613> <Channel “Default” is now listening on 192.168.50.244:7001 for protocols iiop, t3, ldap, snmp, http.> ####<2012-5-16 下午03时31分54秒 CST> <Notice> <Server> <china-d71e145e4> <AdminServer> <[ACTIVE] ExecuteThread: “”2″” for queue: “”weblogic.kernel.Default (self-tuning)””> <<WLS Kernel>> <> <> <1337153514453> <BEA-002613> <Channel “Default[1]” is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> ####<2012-5-16 下午03时31分54秒 CST> <Notice> <WebLogicServer> <china-d71e145e4> <AdminServer> <[ACTIVE] ExecuteThread: “”2″” for queue: “”weblogic.kernel.Default (self-tuning)””> <<WLS Kernel>> <> <> <1337153514453> <BEA-000331> <Started the WebLogic Server Administration Server “AdminServer” for domain “domain_2” running in development mode.> ####<2012-5-16 下午03时31分54秒 CST> <Notice> <WebLogicServer> <china-d71e145e4> <AdminServer> <main> <<WLS Kernel>> <> <> <1337153514468> <BEA-000365> <Server state changed to RUNNING.> ####<2012-5-16 下午03时31分54秒 CST> <Notice> <WebLogicServer> <china-d71e145e4> <AdminServer> <main> <<WLS Kernel>> <> <> <1337153514468> <BEA-000360> <The server started in RUNNING mode.> |
|
高手在哪里,我的问题和这个一模一样。求答案啊
|
|
我也遇到这个问题,怎么都没人解决一下吗?
|
|
我也遇到了这个问题 ,怎么没高手来啊
|
|
发生这种问题,首先保证自己的程序没问题。造成这种问题很可能是由于没有让部属的项目停止就关闭了weblogic服务。解决办法:在控制台删除所有部属的项目,重启weblogic服务,重新部属即可。以后记的在关闭或重启weblogic服务时停止已部属的所有项目就好了。
|
|
LZ怎么解决这个问题的啊?在tomcat上面是可以运行的,部署到wl上就跟LZ的情况一样了,找了一天,网上都是没有个明确的回答
|
|
解决方法是:
WEB-INF下新建weblogic.xml文件,内容如下: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd"> <weblogic-web-app> <!-- <session-descriptor> <session-param> <param-name>TimeoutSecs</param-name> <param-value>1800</param-value> </session-param> </session-descriptor> --> <jsp-descriptor> <jsp-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </jsp-param> </jsp-descriptor> <container-descriptor> <index-directory-enabled>true</index-directory-enabled> <prefer-web-inf-classes>true</prefer-web-inf-classes> </container-descriptor> <context-root>/</context-root> </weblogic-web-app> 主要是weblogic和status的一个兼容问题,这个weblogic.xml是设置下加载的顺序。 |
|
大家都把问题解决了没? 遇到同样的问题现在还在纠结中呢@xf_luyao 您这种方法我试过了还是不行啊! 求解答啊
|
|
您解决了没? |
|
一般在 XML文件 有错误 仔细排查 一下
|