spring boot - Zuul does not work on weblogic- 12.2.1.2.0 -
i have microservices backed behind zuul netflix run tomcat 8(with java -jar command).
context root of api-gateway application.yml /
, context root of microservice /app
.
the config of rout of api-gateway this:
zuul: host: connect-timeout-millis: 10000 socket-timeout-millis: 60000 routes: #micro1 micro1: path: /app/micro1/** sensitiveheaders: url: http://192.168.251.141:3080/app/micro1 . . .
everything right when run tomcat8 unfortunately not able run weblogic-12.1.3.
weblogic.xml under webapp/web_inf directory:
<?xml version="1.0" encoding="utf-8"?> <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.4/weblogic-web-app.xsd"> <wls:context-root>/</wls:context-root> <wls:charset-params> <wls:input-charset> <wls:resource-path>/*</wls:resource-path> <wls:java-charset-name>utf-8</wls:java-charset-name> </wls:input-charset> </wls:charset-params> <wls:jsp-descriptor> <wls:page-check-seconds>8</wls:page-check-seconds> </wls:jsp-descriptor> <wls:fast-swap> <wls:enabled>false</wls:enabled> <wls:refresh-interval>8</wls:refresh-interval> </wls:fast-swap> <wls:container-descriptor> <wls:prefer-application-packages> <wls:package-name>antlr.*</wls:package-name> <wls:package-name>org.slf4j.*</wls:package-name> <wls:package-name>javassist.*</wls:package-name> <wls:package-name>com.fasterxml.jackson.*</wls:package-name> </wls:prefer-application-packages> </wls:container-descriptor> </wls:weblogic-web-app>
i have searched on google have not found suitable result.
problem?
there specific configuration not config in weblogic-12.1.3.
answer.
part 2:
true api-gateway 1 microservice small application run great application server such weblogic?
Comments
Post a Comment