Skip to content

An example of a spring boot application that can be deployed to a legacy weblogic server which uses servlet 2.5 api

Notifications You must be signed in to change notification settings

bamiidowu/spring-boot-legacy-weblogic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot support for legacy WebLogic

An example of a spring boot application that can be deployed to a legacy WebLogic server (11g and below) which uses servlet 2.5 api

Dependencies

  • spring-boot-starter-parent: Using version 1.1.12 for Java SE 6 compatibility 1.1.12.RELEASE
  • servlet-api: Using version 2.5 supported by legacy WebLogic servers 11g and below
  • spring-boot-legacy: Using version 1.0.4 support for legacy (Servlet 2.5) apps in Spring Boot [https://github.com/dsyer/spring-boot-legacy]

Running the Application

You do not run this application by executing the main method in SpringBootWebLogicLegacyApplication.java. Please read these instructions to launch this application

To run the application:

Execute the following commands

cd ~/spring-boot-legacy-weblogic

mvn spring-boot:run

Building the WAR

Use the standard Maven Lifecycle "package" goal to create the WAR.

Note the following commands will fail due to the spring-boot-starter-tomcat dependency being given the scope of provided.

mvn spring-boot:repackage

Accessing the Service

Running locally

http://localhost:8080/spring-boot-legacy-app

Running from WebLogic

http://{webLogicServerAddress}:{port}/spring-boot-legacy-app

If you see "Hello World!" then everything is working correctly

About

An example of a spring boot application that can be deployed to a legacy weblogic server which uses servlet 2.5 api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published