Our application runs on WLP 16.0.0.2. Off late, we have seen that the application restarts as soon as a code, which uses Apache FOP 2.1, finishes execution. The code is expected to generate a PDF which is successful. We do not see any Memory Dump or any other kind of errors, exceptions in the logs. The same piece of code used to work fine when the application used to run on Tomcat 8. Trying out regular Heap Size and PermGen tunings didn't help.
Application restarts mysteriously on Websphere Liberty Profile
1.2k Views Asked by Pankaj Dwivedi At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
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 APACHE-FOP
- How do you specify a fop config file for fop.bat in ant script
- How to generate PDF on the browser using JSF(Java) and Apache FOP
- FOP table with cell having two blocks top and bottom aligned
- add fo:marker marker-class-name="section.head.marker" to specific sections
- DocBook5 <step> not allowed in <sidebar>? (can't render PDF with xsltproc+fop)
- MathML to Image (like JEuclid) that works on GAE
- SVG To Multipage PDF
- XML-FO : how to re-use graphics?
- Application restarts mysteriously on Websphere Liberty Profile
- FOP giving NoSuchMethodError when font auto-detect enable
- Why does external-graphic scale-down-to-fit not work when height specified by percentage?
- No imagePreloader found - XML to PDF using FOP
- ApacheFOP Tomcat/OSGI error: java.lang.IllegalArgumentException: Unknown function: gatherContextInfo - when creating PDF with image
- FOP first page without page number
- export to PDF table columns not wrapped
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?
Application restarts can be triggered by 2 things in Liberty:
<applicationMonitor/>element finds an application change when it polls for an update or when the application monitor MBean receives an update request.What's probably happening in your case is scenario #2. There is probably something in your application that is writing output to the expanded application directory, and the default application monitor setting (poll for updates every 500ms) is picking up this output as an application change and thus triggers a restart.
So you have two options to fix this:
<applicationMonitor updateTrigger="mbean"/>NOTE: Setting application monitoring to
mbeanwill cause droping applications to not start, unless you are running in WDT.