I have deployed two applications on a SAP NetWeaver system, one is a UI Application and one is an OSGi-based Web application exposing OData services.
The UI application is working fine and accessible but the Web application is not accessible.
I have verified that the application was deployed successfully and showing 'started' in the console, I also cross-checked through the internal telnet
console of the application that all services are running, but while accessing the service in the browser or console, it's showing:
503 Service unavailable” for the Web application.
I tried to hit the URL through curl
on that machine also but I'm getting the same result.
Is there any configuration required to make all the services accessible which are exposed by the application?
web.xml
of application:
<?xml version="1.0" encoding="UTF-8"?>
<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"
version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee">
<listener>
<listener-class>org.apache.felix.http.proxy.ProxyListener</listener-class>
</listener>
<servlet>
<servlet-name>proxy</servlet-name>
<servlet-class>org.apache.felix.http.proxy.ProxyServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>proxy</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
question from:
https://stackoverflow.com/questions/66057423/503-service-unavailable-error-while-accessing-application-service 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…