Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate Broken <pre-compile-jsps value="true"/> Behaivor #30572

Open
volosied opened this issue Jan 16, 2025 · 0 comments
Open

Investigate Broken <pre-compile-jsps value="true"/> Behaivor #30572

volosied opened this issue Jan 16, 2025 · 0 comments
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty team:Sirius

Comments

@volosied
Copy link
Member

Describe the bug
<pre-compile-jsps value="true"/> when set via the WEB-INF/ibm-web-ext.xml file, does not precompile the JSPs.

Steps to Reproduce
See description above. An example file:

<?xml version="1.0" encoding="UTF-8"?>
<web-ext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://websphere.ibm.com/xml/ns/javaee"
    xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-web-ext_1_0.xsd" version="1.0">
   <jsp-attribute name="keepgenerated" value="true"/>
   <pre-compile-jsps value="true"/>
</web-ext>

Expected behavior
The JSPs should be precompiled.

Diagnostic information:

  • OpenLiberty Version: ALL
  • Affected feature(s) jsp-2.3, pages-3.0, pages-3.1, pages-4.0
  • Java Version: N/A
  • server.xml configuration (WITHOUT sensitive information like passwords)
  • If it would be useful, upload the messages.log file found in $WLP_OUTPUT_DIR/messages.log

Additional context
As a workaround - Use prepareJSPs=0: https://openliberty.io/docs/latest/reference/config/jspEngine.html

@volosied volosied added the release bug This bug is present in a released version of Open Liberty label Jan 16, 2025
@github-project-automation github-project-automation bot moved this to General Issues in Web Tier Team Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty team:Sirius
Projects
Status: General Issues
Development

No branches or pull requests

1 participant