1、背景敘說
在linux環境下使用weblogic中間啓動應用後,後臺登陸後加載需要啓動的應用程序,中途修改,重新加載後。其中某一個應用不在後臺加載列表中,但是通過地址訪問同樣可以正常訪問。後臺刪除應用後,再次加載仍然看不到,但是可以訪問。
2、原因:
原因是在建立的域下面,在config目錄文件下有一個config.xml控制了。即在第一次加載應用成功後,該config.xml文檔一直存在,並且始終被調用
路徑:/oracle/middleware/user_projects/domains/base_domain/config
3、解決
將
<app-deployment>
<name>應用包名稱</name>
<target>AdminServer</target>
<module-type>war</module-type>
<source-path>應用路徑</source-path>
<security-dd-model>DDOnly</security-dd-model>
</app-deployment>
去除後重啓即可。