<commit_before><?xml version="1.0" encoding="UTF-8"?>

<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

    <!-- general settings -->

    <session-config>
      <session-timeout>${tomcat.session.timeout}</session-timeout>
      <tracking-mode>COOKIE</tracking-mode>
    </session-config>
    <mime-mapping>
        <extension>wsdl</extension>
        <mime-type>text/xml</mime-type>
    </mime-mapping>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <display-name>Cancer Genomics Portal</display-name>

    <!-- context configuration -->
    <!-- jndi profile is defined here to prevent exceptions during war deployment -->
    <context-param>
        <param-name>spring.profiles.active</param-name>
        <param-value>${dbconnector:jndi},${authenticate}</param-value>
    </context-param>
    <context-param>  
        <param-name>spring.liveBeansView.mbeanDomain</param-name>  
        <param-value>${dbconnector:jndi},${authenticate}</param-value>
    </context-param> 

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath:applicationContext-security.xml classpath:applicationContext-business.xml classpath:applicationContext-core.xml classpath:applicationContext-logging.xml</param-value>
    </context-param>

    <context-param>
        <param-name>webAppRootKey</param-name>
        <param-value>${app.name}.${timestamp}</param-value>
    </context-param>

    <context-param>
      <param-name>log4jConfigLocation</param-name>
      <param-value>classpath:log4j.properties</param-value>
    </context-param> 

    <!-- listeners -->
    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <!-- Required by the Apache FileUpload tool. -->
    <listener>
        <listener-class>
            org.apache.commons.fileupload.servlet.FileCleanerCleanup
        </listener-class>
    </listener>
    <!-- custom location for log4j config -->
    <listener>
      <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class><commit_msg>Load applicationContext-business.xml first (#6012)<commit_after><?xml version="1.0" encoding="UTF-8"?>

<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

    <!-- general settings -->

    <session-config>
      <session-timeout>${tomcat.session.timeout}</session-timeout>
      <tracking-mode>COOKIE</tracking-mode>
    </session-config>
    <mime-mapping>
        <extension>wsdl</extension>
        <mime-type>text/xml</mime-type>
    </mime-mapping>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <display-name>Cancer Genomics Portal</display-name>

    <!-- context configuration -->
    <!-- jndi profile is defined here to prevent exceptions during war deployment -->
    <context-param>
        <param-name>spring.profiles.active</param-name>
        <param-value>${dbconnector:jndi},${authenticate}</param-value>
    </context-param>
    <context-param>  
        <param-name>spring.liveBeansView.mbeanDomain</param-name>  
        <param-value>${dbconnector:jndi},${authenticate}</param-value>
    </context-param> 

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath:applicationContext-business.xml classpath:applicationContext-security.xml classpath:applicationContext-core.xml classpath:applicationContext-logging.xml</param-value>
    </context-param>

    <context-param>
        <param-name>webAppRootKey</param-name>
        <param-value>${app.name}.${timestamp}</param-value>
    </context-param>

    <context-param>
      <param-name>log4jConfigLocation</param-name>
      <param-value>classpath:log4j.properties</param-value>
    </context-param> 

    <!-- listeners -->
    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <!-- Required by the Apache FileUpload tool. -->
    <listener>
        <listener-class>
            org.apache.commons.fileupload.servlet.FileCleanerCleanup
        </listener-class>
    </listener>
    <!-- custom location for log4j config -->
    <listener>
      <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
{'fraction_non_alphanumeric': 0.16058861164427382, 'fraction_numerical': 0.007677543186180422, 'mean_word_length': 3.1875, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 2, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 23}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1772416', 'n_tokens_mistral': 1498, 'n_tokens_neox': 1445, 'n_words': 168}