Weblogic. application. ModuleException and applicationexception are reported when weblogic is started.

Source: Internet
Author: User
Tags truncated

Weblogic. application. ModuleException and applicationexception are reported when weblogic is started.

Take an EJB demo from someone else, a basic java project as the tool jar package, three ejb projects as the ejb base library, and one web application as the front-end, add an Enterprise Application Project as the unified EAR Project.

After installing the three basic ejb libraries, the following error is reported:

<09:14:44 A.M. 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 stacktraceCaused 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>

After checking for half a day, we found that the local storage switch of the coherence session in weblogic is disabled by default and must be explicitly specifiedtrue.

In the domain of the current environment, modify the startWebLogic. cmd file (for Linux, modify the startWebLogic. sh file). Incall "%DOMAIN_HOME%\bin\startWebLogic.cmd" %*Add the following command:

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

Restart. No error is reported. The startup is successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.