I am trying to install Oracle ATS 12.5.0.3. on Windows 2008 R2 server. At the end of the installation I get a warrning, that some actions failed. After looking into a log, I found:
我正在嘗試安裝Oracle ATS 12.5.0.3。在Windows 2008 R2服務器上。在安裝結束時,我得到一個warrning,一些操作失敗了。查看日志后,我發現:
Configuring data sources... D:\OracleATS\bin..\jdk\jre\bin\java.exe -Djava.library.path=D:\OracleATS\bin..\install\lib -jar dbsetup.jar -setdefaultds Exception in thread "main" java.lang.RuntimeException: Could not find the OffLine WLST class at weblogic.management.scripting.utils.WLSTUtil.getOfflineWLSTScriptPathInternal(WLSTUtil.java:128) at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:321) at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:298) at weblogic.management.scripting.utils.WLSTUtilWrapper.setupOffline(WLSTUtilWrapper.java:29) at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:212) at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:121) at oracle.oats.tools.databaseconfig.utils.DataSourceInitializer.(DataSourceInitializer.java:49) at oracle.oats.tools.databaseconfig.ui.dbSetup.main(dbSetup.java:83) Caused by: java.lang.ClassNotFoundException: com.oracle.cie.domain.script.jython.WLST_offline at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:274) at weblogic.management.scripting.utils.WLSTUtil.getOfflineWLSTScriptPathInternal(WLSTUtil.java:121) ... 7 more ERROR: Unknown error (code: 1)
配置數據源... D:\ OracleATS \ bin .. \ jdk \ jre \ bin \ java.exe -Djava.library.path = D:\ OracleATS \ bin .. \ install \ lib -jar dbsetup.jar -setdefaultds線程“main”中的異常java.lang.RuntimeException:無法在weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal的weblogic.management.scripting.utils.WLSTUtil.getOfflineWLSTScriptPathInternal(WLSTUtil.java:128)中找到OffLine WLST類(WLSTUtil.java:321)at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:298)at weblogic.management.scripting.utils.WLSTUtilWrapper.setupOffline(WLSTUtilWrapper.java:29)at weblogic.management。 scripting.utils.WLSTInterpreter。(WLSTInterpreter.java:212)at weblogic.management.scripting.utils.WLSTInterpreter。(WLSTInterpreter.java:121)at oracle.oats.tools.databaseconfig.utils.DataSourceInitializer。(DataSourceInitializer.java:49 )at oracle.oats.tools.databaseconfig.ui.dbSetup.main(dbSetup.java:83)引起:java.lang.ClassNotFoundException:com.oracle.cie.domain。腳本.jython.WLST_offline在java.net.URLClassLoader $ 1.run(URLClassLoader.java:366)java.net.URLClassLoader $ 1.run(URLClassLoader.java:355)at java.security.AccessController.doPrivileged(Native Method)at at java.net.URLClassLoader.findClass(URLClassLoader.java:354)java.lang.ClassLoader.loadClass(ClassLoader.java:425)java.lang.ClassLoader.loadClass(ClassLoader.java:358)java.lang.Class位於java.lang.Class.forName(Class.java:274)的.forName0(Native Method),位於weblogic.management.scripting.utils.WLSTUtil.getOfflineWLSTScriptPathInternal(WLSTUtil.java:121)... 7更多錯誤:未知錯誤(代碼:1)
After some research, I tried to set CLASSPATH system variable to "." (it was not set at all previously). But it made no difference...
經過一番研究,我試圖將CLASSPATH系統變量設置為“。”。 (之前沒有設定)。但它沒有任何區別......
I am out of ideas how to fix this. Can somebody please help me?
我沒有想法如何解決這個問題。有人能幫幫我嗎?
Thanks in advance.
提前致謝。
2 个解决方案
#1
2
I faced the same issue today, installing OATS 13.1.0.1. Basically, it fails at the step of installing FMW (fusion middleware). It seems to fail because its installation step checks a lock file which was already created by the setup.bat.
我今天遇到了同樣的問題,安裝了OATS 13.1.0.1。基本上,它在安裝FMW(融合中間件)的步驟中失敗了。它似乎失敗了,因為它的安裝步驟檢查了一個已由setup.bat創建的鎖定文件。
Steps to correct this issue:
解決此問題的步驟:
Uninstall clean. If uninstall/bin/uninstall.bat did not work, stop Oracle ATS services and delete them using regedit
卸載干凈。如果uninstall / bin / uninstall.bat不起作用,請停止Oracle ATS服務並使用regedit刪除它們
Install FMW first. You can find fmw jar file from fmw folder in your unpacked OATS installation package directory (your fmw jar file name may vary). This step requires cmd run as administrator and the java should be from your jdk location java -jar fmw_12.1.3.0.0_infrastructure.jar To make this jive with the next step, you can choose C:\OracleATS\wls (or [the directory of your choice for OATS installation]\wls) for Oracle Home.
首先安裝FMW。您可以在解壓縮的OATS安裝包目錄中找到fmw文件夾中的fmw jar文件(您的fmw jar文件名可能有所不同)。這一步需要以管理員身份運行cmd,java應該來自你的jdk位置java -jar fmw_12.1.3.0.0_infrastructure.jar為了使這個jive進行下一步,你可以選擇C:\ OracleATS \ wls(或[目錄]您選擇的OATS安裝] \ wls)for Oracle Home。
If you have failed the installation step before, it might have created the OLT schema in your local database. To avoid this issue, use your favorite SQL client to run these commands drop user oats cascade; drop user olt cascade; drop user otm cascade;
如果之前的安裝步驟失敗,則可能已在本地數據庫中創建了OLT架構。要避免此問題,請使用您喜歡的SQL客戶端運行這些命令drop user oats cascade; drop user olt cascade; drop user otm cascade;
Now run setup.bat to install OATS, use custom, unselect fusion middleware before continuing on installation
現在運行setup.bat來安裝OATS,在繼續安裝之前使用自定義的,取消選擇的融合中間件
Once installation is finished, you can check it by visiting http://localhost:8088/admin/LoginSubmit.do and login using administrator:[password you set during installation]
安裝完成后,您可以訪問http:// localhost:8088 / admin / LoginSubmit.do進行檢查,並使用管理員登錄:[安裝時設置的密碼]
#2
0
i am not able to find the class, com.oracle.cie.domain.script....
我無法找到這個類,com.oracle.cie.domain.script ....
so i have done the following,
所以我做了以下,
I have used all jars in wlserver\server\lib in classpath now the issue is resolved.
我已經在classpath中的wlserver \ server \ lib中使用了所有jar,現在問題已解決。
and added -Dweblogic.home= -Dbea.home=
並添加-Dweblogic.home = -Dbea.home =
now i have resolved the issue.
現在我已經解決了這個問題。