简体   繁体   中英

Weblogic 12c deploying an exploded War file

I have created a mini app that has a dependency on Wiremock for mocking out restful services.

The problem that I am experiencing is when I try and use the application, via Weblogic 12c the context path that Wiremock is expecting is not the correct path. This I have proven by attaching a debugger. It changes the path and adds in another folder.

Is there a way during the deployment of the application into Weblogic 12c that when the war is deployed to install at that location and keep the physical or actual path?

将添加到weblogic.xml中的show-archived-real-path-enabled设置为true部署展开的war文件,并创建一个简单的Servlet,调用getRealPath()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM