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 best solutions below
Related Questions in WEB.XML
- Dispatcherservlet force loading spring context
- Facelets error page works during ajax request with FullAjaxExceptionHandler, but does not evaluate EL during synchronous request
- Fail to locate j_spring_security_check in Spring Security
- Exclude one role in web.xml
- Handle two URL pattern form one controller in Spring MVC
- Java EE using Datasource without lookup method
- How to configure Servlet on Tomcat Server and fix javax.naming.NameNotFoundException?
- HTTP Status 500 - java.lang.LinkageError - Servlets
- Enabling/disabling a web.xml filter using a Spring profile
- Invalid url-pattern in web.xml
- How to load config.properties file in a Seam Application using web.xml context-param
- Java web.xml <servlet-class> tag and web.xml Specification/Documentation
- How to trigger a doGet before displaying a jsp page
- Shorten website url in a web.xml file. Using Jetty
- filter mapping to last path segment
Related Questions in WEBSPHERE-LIBERTY
- Using JaCoCo with Liberty Profile 8.5.5.4 in Eclipse does not produce any code coverage
- unable to deploy restful application liberty profile 8.2
- Using Cobertura for Junit testing webapp deployed on WebSphere Liberty Profile
- WAS Liberty 8.5.5.4, JPA 2.0 - discovered implementations: NONE
- Specify user handlers for JAX-RS when using annotation scanning
- com.ibm.wsspi.http.channel.exception.WriteBeyondContentLengthException
- Install wasJmsClient-2.0 feature in Liberty Profile 8.5.5.2
- Shared Javascript library in Websphere Liberty
- Libs missing when pushing a java app from Eclipse to Bluemix
- WebSphere Liberty auto scaling CPU metric
- Why is MobileFirst Server Configuration Tool not letting me deploy with libertyAdminUser and libertyAdminPassword?
- How to determine ciphers to use (addressing logjam exploit)
- Applying Security Constraints Liberty for Java
- Dandelion datatables not working on Liberty profile
- Can't find WebSphere Integrated Solutions Console
Related Questions in NEGATIVE-INTEGER
- prefix to infix conversion using singly linked list handling double digit and negative digits in C
- 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
- I am new to C# and I am trying to study some sorting algorithm How do I make my selection sort accept negative numbers?
- The hash of -1 is equal to the hash of -2 in python
- Is there a succinct way to split this negative integer into a list of digits? (Python)
- turn positive values to negative in SQL Snowfalke
- How to distinguish negative numbers from input that is not a number
- Program output becomes unstable when all negative inputs are introduced?
- Convert byte to negative value and vice versa in VB
- Print only negative numbers and its sum aplaying loops and arrays
- How to make negative of a variable? C++
- How to generate Crc-64 table having all negative integer Constants and checksum?
- Why adding negative integers result in a positive integer on this C++ Program?
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)
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?
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.