tiyan 发表于 2017-2-18 11:34:56

Unable to set the activation state to true for the application ' ' ,weblogic.com

  solution:
  Whaaaaat? I don't have an 'application' Foo I only have a Datasource with this name... nice error message
I double checked that there is no double JNDI Name definition, checked the config files. Everything fine.
It took me quite a while to find the problem:
The JNDI Name field for the Datasource contained two linebreaks. Removed them and hoooray. Everything is back to green.
  此报错原因 :
  在对应的 *-jdbc.xml文件中



<jdbc-data-source-params>
    <jndi-name>jdbc/eshop_ops_eshopDS</jndi-name>
    <jndi-name></jndi-name>
    <jndi-name></jndi-name>
    <global-transactions-protocol>TwoPhaseCommit</global-transactions-protocol>
</jdbc-data-source-params>
  
多了两行空的 <jndi-name></jndi-name>,删除即可
页: [1]
查看完整版本: Unable to set the activation state to true for the application ' ' ,weblogic.com