Member-only story
Websphere Liberty for Springboot
When I started working with the IBMI/AS400, the entire architecture seemed alien; then they asked me to help with their Websphere Liberty server and I thought great, Tomcat is something I can do.
But its liking taking a step back into the 90's.
I struggled with the install guide for at least a day before I was able to figure out what we needed to do.
Surprisingly for once, the IBM documentation was helpful.
1. SERVER.XML config
The first thing you have to do is make sure your server is properly config’d.
The server.xml must have the following under ‘features’:
<!-- Enable features -->
<featureManager>
<feature>springBoot-2.0</feature>
<feature>servlet-4.0</feature>
</featureManager>2. Create Spring/Springboot Directory
Then you have to create a ‘spring’ directory under ‘dropins’ in your application directory (ie /dropins/spring must exist).
Then place your JAR (not a WAR) into that directory
3. Finished(?) or Not
Now the JAR should be seen by the ‘adminCenter’ and you should be able to start/stop the app.
HOWEVER, if it is NOT, use the following example in your ‘server.xml’ config to make sure it is seen:
<!-- 3. Define the Spring Boot Application -->…







