2014-12-02 78 views
0

當我使用startWeblogic.cmd啓動Weblogic服務器時,在命令提示符下打印下面的消息時沒有任何錯誤消息,它將退出。如何推斷出現問題並糾正。未啓用運行狀態的Weblogic服務器

<Dec 2, 2014 1:05:29 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebL 
ogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsyste 
ms Inc.> 
<Dec 2, 2014 1:05:29 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic 
Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 > 
<Dec 2, 2014 1:05:31 PM IST> <Warning> <Management> <BEA-141230> <Could Not loca 
te descriptor file for System Resource : WseeJmsModule.> 
<Dec 2, 2014 1:05:31 PM IST> <Warning> <Management> <BEA-141230> <Could Not loca 
te descriptor file for System Resource : cgDataSource.> 
<Dec 2, 2014 1:05:31 PM IST> <Warning> <Management> <BEA-141230> <Could Not loca 
te descriptor file for System Resource : cgDataSource-nonXA.> 
<Dec 2, 2014 1:05:32 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server stat 
e changed to STARTING> 
<Dec 2, 2014 1:05:32 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing sel 
f-tuning thread pool> 

C:\bea\user_projects\domains\DomainName\bin>cd 

而且我看到在服務器的日誌文件,下面我試着開始

####<Dec 2, 2014 1:05:35 PM IST> <Critical> <WebLogicServer> <BE-SYS-617> <AdminServer> <main> <<WLS Kernel>> <> <> <1417505735150> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationTargetException 
java.lang.AssertionError: java.lang.reflect.InvocationTargetException 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:175) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114) 
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:990) 
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:704) 
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88) 
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67) 
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at weblogic.security.service.SecurityServiceManager.createServerID(Unknown Source) 
    at weblogic.security.service.SecurityServiceManager.getServerID(Unknown Source) 
    at weblogic.security.service.SecurityServiceManager.sendASToWire(Unknown Source) 
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:273) 
    at weblogic.server.channels.ChannelService.start(ChannelService.java:244) 
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) 
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) 
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) 
java.lang.reflect.InvocationTargetException 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    at java.lang.reflect.Method.invoke(Method.java:597) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114) 
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:990) 
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:704) 
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88) 
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67) 
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at weblogic.security.service.SecurityServiceManager.createServerID(Unknown Source) 
    at weblogic.security.service.SecurityServiceManager.getServerID(Unknown Source) 
    at weblogic.security.service.SecurityServiceManager.sendASToWire(Unknown Source) 
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:273) 
    at weblogic.server.channels.ChannelService.start(ChannelService.java:244) 
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) 
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) 
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) 
weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte. 
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:78) 
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:94) 
    at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:87) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    at java.lang.reflect.Method.invoke(Method.java:597) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114) 
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:990) 
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:704) 
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88) 
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67) 
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at weblogic.security.service.SecurityServiceManager.createServerID(Unknown Source) 
    at weblogic.security.service.SecurityServiceManager.getServerID(Unknown Source) 
    at weblogic.security.service.SecurityServiceManager.sendASToWire(Unknown Source) 
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:273) 
    at weblogic.server.channels.ChannelService.start(ChannelService.java:244) 
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) 
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) 
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) 
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte. 
    at com.rsa.jsafe.JA_PKCS5Padding.a(Unknown Source) 
    at com.rsa.jsafe.JG_BlockCipher.decryptFinal(Unknown Source) 
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:68) 
    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:94) 
    at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:87) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
    at java.lang.reflect.Method.invoke(Method.java:597) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192) 
    at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114) 
    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:990) 
    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:704) 
    at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88) 
    at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67) 
    at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at weblogic.security.service.SecurityServiceManager.createServerID(Unknown Source) 
    at weblogic.security.service.SecurityServiceManager.getServerID(Unknown Source) 
    at weblogic.security.service.SecurityServiceManager.sendASToWire(Unknown Source) 
    at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:273) 
    at weblogic.server.channels.ChannelService.start(ChannelService.java:244) 
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) 
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) 
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) 
> 
####<Dec 2, 2014 1:05:35 PM IST> <Notice> <WebLogicServer> <BE-SYS-617> <AdminServer> <main> <<WLS Kernel>> <> <> <1417505735259> <BEA-000365> <Server state changed to FAILED> 
####<Dec 2, 2014 1:05:35 PM IST> <Error> <WebLogicServer> <BE-SYS-617> <AdminServer> <main> <<WLS Kernel>> <> <> <1417505735259> <BEA-000383> <A critical service failed. The server will shut itself down> 
####<Dec 2, 2014 1:05:35 PM IST> <Notice> <WebLogicServer> <BE-SYS-617> <AdminServer> <main> <<WLS Kernel>> <> <> <1417505735259> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> 
####<Dec 2, 2014 1:05:35 PM IST> <Info> <WebLogicServer> <BE-SYS-617> <AdminServer> <main> <<WLS Kernel>> <> <> <1417505735259> <BEA-000236> <Stopping execute threads.> 

回答

1

一般來說,這是兩個問題之一:

  • 你在生產環境中運行還是開發模式?如果在開發模式下,可能在配置文件中有一個你不想要的加密密碼。您可以輸入明文密碼來解決問題。

  • 另一個(也是更困難的問題)可能是您的java安裝中的加密jar文件與weblogic期望的不匹配。

    • 它可能與java jre/lib/ext dir中的jar有關。如果它具有不同的版本,則可能需要將weblogic /server/lib/cryptojFIPS.jar添加到JDK/jre/lib/ext目錄。