[ 
https://issues.apache.org/jira/browse/TOMEE-4589?focusedWorklogId=1027076&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1027076
 ]

ASF GitHub Bot logged work on TOMEE-4589:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Jun/26 12:43
            Start Date: 26/Jun/26 12:43
    Worklog Time Spent: 10m 
      Work Description: rzo1 merged PR #2795:
URL: https://github.com/apache/tomee/pull/2795




Issue Time Tracking
-------------------

    Worklog Id:     (was: 1027076)
    Time Spent: 0.5h  (was: 20m)

> openejb reports an error in web.xml which is wrong
> --------------------------------------------------
>
>                 Key: TOMEE-4589
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4589
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 10.1.4
>            Reporter: Martin
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> web.xml has a session-timeout attribute with whitespace which creates an 
> error.
> Format is however to namespace specs.
> Please see explanation on netbeans issues by  Matthias Bläsing 
> [link 
> https://github.com/apache/netbeans/issues/9243|https://github.com/apache/netbeans/issues/9243]
> the error reported by openejb is :
> {code:java}
> // code placeholder
> Caused by: org.apache.openejb.OpenEJBException: Encountered unknown error 
> parsing the web.xml file: 
> file:/home/martin/NetBeansProjects/mavenproject2/target/mavenproject2-master/WEB-INF/web.xml:
>  For input string: "
>             30
>         "
>         at 
> org.apache.openejb.config.ReadDescriptors.readWebApp(ReadDescriptors.java:848)
>         at 
> org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:956)
>         at 
> org.apache.openejb.config.DeploymentLoader.createWebModule(DeploymentLoader.java:818)
>         at 
> org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:230)
>         at 
> org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2381)
>         ... 51 more
>     Caused by: java.lang.NumberFormatException: For input string: "
>             30 {code}
>  
> web.xml  contains 
> {code:java}
> // code placeholder
> </servlet-mapping>
>     <session-config>
>         <session-timeout>
>             30
>         </session-timeout>
>     </session-config>
>     <welcome-file-list>
>         <welcome-file>index.xhtml</welcome-file> {code}
> kr martin
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to