2015-03-13 291 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表。