weblogic启动报weblogic.application.ModuleException

从别人的拿了一个EJB的demo,一个基础java工程作为工具jar包,三个ejb项目作为ejb基础库,一个web应用作为前端,另外加一个Enterprise Application Project作为统一的EAR项目。

三个ejb基础库安装完成,准备安装ear的时候,一直报下面这个错误:

<2015-4-15 上午09时14分44秒 CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "empweb".
weblogic.application.ModuleException: com.tangosol.net.RequestPolicyException: No storage-enabled nodes exist for service oracle.coherence.web:DistributedSessions
    at weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:123)
    at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)
    at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:195)
    at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:190)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
    Truncated. see log file for complete stacktrace
Caused By: com.tangosol.net.RequestPolicyException: No storage-enabled nodes exist for service oracle.coherence.web:DistributedSessions
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.onMissingStorage(PartitionedCache.CDB:27)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.sendStorageRequest(PartitionedCache.CDB:13)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.addIndex(PartitionedCache.CDB:9)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.addIndex(PartitionedCache.CDB:1)
    at com.tangosol.coherence.component.util.SafeNamedCache.addIndex(SafeNamedCache.CDB:1)
    Truncated. see log file for complete stacktrace
> 

查了半天,才发现,weblogic中coherence会话的本地存储开关默认是关闭的,需要明确指定为true

在当前环境的domain域中,修改startWebLogic.cmd文件(Linux对应修改startWebLogic.sh文件),在call "%DOMAIN_HOME%\bin\startWebLogic.cmd" %*前面添加如下命令:

set JAVA_OPTIONS=-Dtangosol.coherence.session.localstorage=true

重新启动,不再报错,启动成功。

时间: 2024-11-08 11:42:36

weblogic启动报weblogic.application.ModuleException的相关文章

AIX weblogic 启动报There is not enough buffer space

AIX weblogic 启动报There is not enough buffer space for the requested socket operation 错误 <Sep 19, 2014 10:27:09 AM GMT+08:00> <Error> <Coherence> <BEA-000000> <Oracle Coherence 3.6.0.4 (member=n/a): Error while starting cluster: (

Weblogic 启动报错:java.lang.NoClassDefFoundError

Weblogic 启动报错:java.lang.NoClassDefFoundError  ####<2015-6-17 下午03时30分47秒 CST> <Error> <HTTP> <HDQSDOCMTAPP4> <zonyappserver> <[ACTIVE] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS

weblogic启动报错

重启了一次linux服务器后,weblogic启动莫名报错,查看日志发现说部署的项目有个bean类无法加载, 1.然后手动删除 已经部署的项目,先在 domais/servers/AdminServer/upload 删除上传的项目:启动报错 <Jul 13, 2016 10:01:47 AM CST> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDe

weblogic启动报错之Unrecognized option: -jrockit

报错如下: $ ./startWebLogic.sh . . JAVA Memory arguments: -Xms512m -Xmx512m . WLS Start Mode=Production . CLASSPATH=/app/weblogic/Oracle/patch_wls1033/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/app/weblogic/Oracle/patch_ocp353/profiles/d

weblogic启动报错之建域时未指定AdminServer的监听IP的引起的子节点启动故障

各子节点不能启动,查看日志,报错如下: Unable to establish JMX Connectivity with the Adminstration Server AdminServer at service:jmx:t3://192.168.122.1:7001/jndi/weblogic.management.mbeanservers.domainruntime ..... Caused By: javax.naming.CommunicationException [Root e

weblogic启动报错之WLS_DIAGNOSTICS000000.DAT

查看控制台日志报错信息如下: <2014-10-30 下午04时46分42秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file /app/weblogic103/bea/domains/fxgservice/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will

weblogic启动报错之未修改hosts产生错误

报错如下: Enter username to boot WebLogic server:weblogic Enter password to boot WebLogic server: <Jul 1, 2015 9:41:36 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> <Jul 1, 2015 9:41:36 AM C

Linux修改用户名密码后,Weblogic启动报用户名密码错误

weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identi

weblogic服务器启动报错

问题描述: 报错内容:weblogic unable to get file lock 解决办法: 原因:由于先前服务器直接down掉了,所有进程都非正常的进行关闭了,也就导致了下次启动weblogic的时候报错,或是别的进程已经启动了weblogic服务 删除domain下面的所有*.lok文件,以及WLS_DIAGNOSTICS000000.DAT _WLS_ADMINSERVER000000.DAT这两个格式的文件(搜索*.dat然后删掉这两个) 注意:删除时可能会出现文件占用的情况,启动