启动测试环境: docker-compose up -d 等待一段时间,访问`http://your-ip:7001/`即可看到一个404页面,说明weblogic已成功启动。
1 2 3 4 5 6
Error 404--Not Found From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: xxxxxx Not Found The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
访问http://your-ip:7001/ws_utc/config.do,设置Work Home Dir为/u01/oracle/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_internal/com.oracle.webservices.wls.ws-testclient-app-wls/4mcj4y/war/css。我将目录设置为ws_utc应用的静态文件css目录,访问这个目录是无需权限的,这一点很重要。