由于类路径问题,标准 Oracle Fusion Middleware 安装在 SOA ManagedServer 启动时失败

由于类路径问题,标准 Oracle Fusion Middleware 安装在 SOA ManagedServer 启动时失败

尝试在 Windows 上安装 Oracle Fusion Middleware 11gR2(Linux 上也发生过同样的事情)。我已遵循http://download.oracle.com/docs/cd/E12839_01/install.1111/e14318/toc.htm

  1. 安装 weblogic(11g)
  2. Oracle11g数据库安装
  3. 运行 RCU 实用程序来创建架构
  4. 安装并复制 Java Bridge 的相关文件
  5. 配置融合中间件

但我发现 SOA 服务器在企业管理器中没有启动,显示为已关闭。当我检查日志时,我收到以下错误:

oracle.jrf.wls.JRFStartup java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup  
at java.lang.Class.forName0(Native Method)  
at java.lang.Class.forName(Class.java:247)  
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)  
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)  
at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)  
Truncated. see log file for complete stacktrace  

<Jul 7, 2009 4:18:48 PM CEST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "SOAStartupClass", java.lang.ClassNotFoundException: oracle.bpel.services.common.util.GenerateBPMCryptoKey  
java.lang.ClassNotFoundException: oracle.bpel.services.common.util.GenerateBPMCryptoKey  
at java.lang.Class.forName0(Native Method)  
at java.lang.Class.forName(Class.java:247)  
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)  
at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)  
at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)  
Truncated. see log file for complete stacktrace  

<Jul 7, 2009 4:19:27 PM CEST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'SocketAdapter' due to error weblogic.application.ModuleException: The ra.xml <connectionfactory-impl-class> class 'oracle.tip.adapter.socket.SocketConnectionFactory' could not be loaded from the resource adapter archive/application because of the following error:  
java.lang.NoClassDefFoundError: oracle/tip/adapter/api/OracleConnectionFactory.weblogic.application.ModuleException: The ra.xml <connectionfactory-impl-class>  
class 'oracle.tip.adapter.socket.SocketConnectionFactory' could not be loaded from the resource adapter archive/application because of the following error: java.lang.NoClassDefFoundError: oracle/tip/adapter/api/OracleConnectionFactory
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:228)  
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)  
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)  
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)  
Truncated. see log file for complete stacktrace
<Jul 7, 2009 4:19:27 PM CEST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'MQSeriesAdapter' due to error weblogic.application.ModuleException: The ra.xml <connectionfactory-impl-class> class 'oracle.tip.adapter.mq.ConnectionFactoryImpl' could not be loaded from the resource adapter archive/application because of the following error:  
java.lang.NoClassDefFoundError: oracle/tip/adapter/api/OracleConnectionFactory.weblogic.application.ModuleException: The ra.xml <connectionfactory-impl-class> class 'oracle.tip.adapter.mq.ConnectionFactoryImpl' could not be loaded from the resource adapter archive/application because of the following error:  
java.lang.NoClassDefFoundError: oracle/tip/adapter/api/OracleConnectionFactory  
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:228)  
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)  
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)  
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)  
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)  
Truncated. see log file for complete stacktrace
<Jul 7, 2009 4:19:27 PM CEST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'OracleAppsAdapter' due to error  
weblogic.application.ModuleException: java.lang.NoClassDefFoundError: oracle/tip/adapter/api/exception/PCResourceException.weblogic.application.ModuleException:  
java.lang.NoClassDefFoundError: oracle/tip/adapter/api/exception/PCResourceException
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:238)  
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)  
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)  
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)  
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)  
Truncated. see log file for complete stacktrace  
java.lang.NoClassDefFoundError: oracle/tip/adapter/api/exception/PCResourceException  
at java.lang.Class.getDeclaredMethods0(Native Method)  
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)  
at java.lang.Class.privateGetPublicMethods(Class.java:2547)  
at java.lang.Class.getMethods(Class.java:1410)  
at weblogic.connector.external.impl.RAComplianceChecker.checkOverrides(RAComplianceChecker.java:972)  
Truncated. see log file for complete stacktrace  

如果我遗漏了任何步骤,有人可以告诉我吗?

答案1

解决方案是在 $WL_HOME/common/nodemanager/nodemanager.properties 中设置 StartScriptEnabled=true,并重新启动 NodeManager。

相关内容