2015-03-13 115 views
0

有谁知道在WLS 12c中更改域名的正确方法是什么?Weblogic 12c更改域名

更改的域名后,我有这样的错误:

<2015-03-03 15:51:55 CET> <Critical> <JTA> <BEA-110482> <A logging last resource (LLR) failed during initialization. The server cannot boot unless all configured LLRs initialize. Failing reason:

javax.transaction.SystemException: Failed to call > registerLoggingResourceTransactions() weblogic.transaction.loggingresource.LoggingResourceException: weblogic.transaction.loggingresource.LoggingResourceException: java.sql.SQLException: JDBC LLR, table verify failed for table >'CS_CMS.WL_LLR_MYSERVER', row 'JDBC LLR Domain//Server' record had unexpected value 'aaa//myserver' expected 'bbb//myserver'* ONLY the original domain and server that creates an LLR table may access it *

谁能告诉我该怎么解决这个问题?

回答

1

重命名WebLogic域并不像重命名的文件夹一样简单,检查以下内容:您的域文件夹中的文件

  • 吨要引用的域名,做一个grep -r your_domain *,你会看到它被引用。您可以排除TMP,缓存等类似--exclude-dir={tmp,logs,cache}
  • 看着上面后,您可以在包含旧名称
  • 最后的所有文件这样做xargs sed –I ‘s/your_domain/new_domain/g’,在问候错误你看到时,WebLogic保留包含域的路径的单行的LLR表。更新与新的/路径表(见下面的链接甲骨文)

看到这个Oracle doc至于该表

看到这个example上更改域名。注意这个例子不包括修改LLR表。