Hi,
We have cloud config server (spring-cloud.version>Edgware.RELEASE) which is built on spring-boot-starter-parent(1.5.8.RELEASE) and deployed on WebSphere Application Server 8.5.5.15 server.
- Application is being deployed and configured with Class loader order (Classes loaded with local class loader first (parent last)) and WAR class loader policy (Single class loader for application)
- Having Shared lib (PFA spring-boot-app-shared-lib.zip) reference to the application and having class loading as (Use an isolated class loader for this shared library)
- For reference attached application main startup and web.xml file
- ConfigServerApplicationInitializer .java class (please find in ConfigServerApplicationInitializer.zip file), this is the start up class.
- web.xml (PFA) ; it doesn't have any application startup references;having just a place holder index.jsp page. (PFA)
Problem
Upon WAS server restart the spring boot config server is not initialized/started;but application status shows as green.
As a verification
1)When we browse the application URL (ex:-
http://<xxx-was-server>:9080/nysoh-config-server-web-auth2/ it shows the message on browser as 'NYSOH SPRING CLOUD CONFIG config server!!!' (content from index.jsp ) .
2) For intended application full url (
http://<xxx-was-server>:9080/nysoh-config-server-web-auth2//properties/dit4/cipher-text) it throws as
Error 404: java.io.FileNotFoundException: SRVE0190E: File not found: /properties/dit4/cipher-text Please note that if we manually start the config server application it is being successfully started and fully functional.
Please suggest, why application is not coming up automatically upon WAS server restart;
------------------------------
Subbareddy Bogathi
java/j2ee application developer
------------------------------