I am currently migrating my application from WAS 8 to WAS Liberty, and I am stuck with the below problem. In one of my module web.xml file, the servlet load on startup value is -1. And the particular servlet is not getting invoked while running in Liberty. Can anyone help me with this? Please find the below code snippets from my web.xml,<servlet>
<servlet-name>SchedulerServlet</servlet-name>
<display-name>SchedulerServlet</display-name>
<servlet-class>com.metlife.bob.reassignment.scheduler.servlet.SchedulerServlet</servlet-class>
<load-on-startup>-1</load-on-startup>
</servlet>
load on startup negative value in liberty
370 views Asked by Venkatesh At
1
There are 1 answers
Related Questions in WEB.XML
- In Web.xml Getting error <?xml version="1.0" encoding="UTF-8"?>
- In a web.xml, can the url-pattern of servlet-mapping containing more than one path component? (e.g. /path/to/*))
- Richfaces 3.x - Spring Boot - Migrate web.xml
- Jersey Web.xml Configuration
- Problem with deploying a spring 6 + spring-security 6 + jsf 3.0 application to the payara 6 server
- Add a new JAX-RS resource to web.xml servlet mapping
- Is there a way to define required parameter in web.xml in java servlet
- Deny access to specfic route in web.xml - Java
- Spring Security - avoiding in-web-container role binding removes flexibility
- HSTS header missing error even its show in application with preload (and http port also disable)
- Eclipse web.xml "Referenced file contains errors"
- Eclipse web.xml "The error was detected when validating the file jakartaee_10.xsd"
- Swagger and Spring MVC (non-spring-boot)
- IntelliJ all of Controllers could not autowired all of Services after context seperation
- JasperReport PDF displayed unrecognized binary after hardening Tomcat 7 web.xml
Related Questions in WEBSPHERE-LIBERTY
- Where can I download ECI resource adapter (cicseci.rar). Unable to find out it in IBM portal
- IBM Liberty 23.x version is not taking hibernate jar from deployed application
- Liberty doesn't compile JSP
- Put JMS message properties in IBM MQ queue and access from other JMS client which run on Websphere liberty
- WebSphere Liberty integration with Redis for HTTP Session Persistence
- A strange behavior is observed when using CDI beans with session scope in conjunction with the session-cache feature of OpenLiberty
- WebSphere Liberty BASE Remote EJB call failed in JDK 17
- Docx4J not working on Websphere Liberty Server 24.0.0.2
- Error in java api service: Could not find deployment
- Error on starting spring boot 3 EAR on Websphere Liberty
- Does Infinispan TransactionManagerLookup support WebSphere Liberty?
- WebSphere Liberty BASE transaction failure
- StackOverflowError during class transformation on startup of Liberty Server
- java.lang.NoClassDefFoundError: com/sun/jndi/toolkit/chars/CharacterEncoder
- IBM Liberty's viewSettings command keeps saying "The password for this proxy is not encoded"
Related Questions in NEGATIVE-INTEGER
- How does addition of negative integers work in C?
- negative numbers in python
- The hash of -1 is equal to the hash of -2 in python
- How to distinguish negative numbers from input that is not a number
- LUA, divide negative value
- Python adding Counter objects with negative numbers fails
- turn positive values to negative in SQL Snowfalke
- Our professor asked us to make a C program that will display the cube of a number using a while loop
- I am new to C# and I am trying to study some sorting algorithm How do I make my selection sort accept negative numbers?
- Unsigned user-defined integer literal
- How do I assign -0x80000000 to long long variable in VS2019?
- Writing a javascript function for codecademy
- speed up sqlalchemy orm dynamic relationship slicing with negative indicies
- in Python, I get a wrong total, i only get the total of the positive numbers that are located before the negative ones
- Is there a succinct way to split this negative integer into a list of digits? (Python)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Any negative value for load-on-startup means to defer loading the servlet until the first request is received, so unless something is invoking the servlet, it's not going to start on its own. You can override this behavior in Liberty with the deferServletLoad attribute in server.xml as described in this IBM KnowledgeCenter topic https://www.ibm.com/support/knowledgecenter/en/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/twlp_servlet_load.html As an aside, I noticed the name of your servlet includes "Scheduler" and you're migrating from traditional WebSphere to Liberty, I'm assuming you are aware that Liberty does not have a direct equivalent for traditional WebSphere scheduler service.