我試圖在Windows上使用JDeveloper IDE運行Oracle ADF應用程序(例如「MyApp」)。Weblogic嘗試在運行現有應用程序時訪問不存在的應用程序
當我運行MyApp時,Weblogic Server拋出一個DeploymentException,它不會停止MyApp的執行過程。
錯誤日誌是:
Failed to initialize the application 'Demo' due to error \
weblogic.management.DeploymentException: [Deployer:149003]Unable to access \
application source information in \
'C:\Users\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Demo' \
for application 'Demo'. \
The specific error is: [Deployer:149158] No application files exist at \
'C:\Users\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Demo'... \
weblogic.management.DeploymentException: [Deployer:149003]Unable to access \
application source information in \
'C:\Users\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Demo' \
for application 'Demo'. \
The specific error is: [Deployer:149158] No application files exist at \
'C:\Users\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\o.j2ee\drs\Demo'..
at weblogic.deploy.internal.targetserver.BasicDeployment.verifyLocalApp(BasicDeployment.java:124)
at weblogic.deploy.internal.targetserver.BasicDeployment.createDeployment(BasicDeployment.java:146)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:114)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
演示應用程序已經被從DRS刪除(數據複製服務)文件夾,應用程序在JDeveloper關閉。
但它仍然試圖訪問演示應用程序文件,同時編譯MyApp.I搜索了這個錯誤,但找不到任何有用的東西。
我想知道爲什麼weblogic會檢查drs文件夾中是否存在drs文件夾中不存在的應用程序。
我該如何解決這個問題?
謝謝Shay解決了這個問題 – 2012-08-03 06:39:26