1 |
package dk.daoas.adressevedligehold; |
package dk.daoas.adressevedligehold; |
2 |
|
|
3 |
|
/* |
4 |
|
* Denne Serivce bruger log4j og det kræver at tomcat leder efter log4j |
5 |
|
* Tomcat 7 <7.0.43 ignores all JAR files named log4j*.jar, which prevents this feature from working. |
6 |
|
* This has been fixed in Tomcat 7.0.43, Tomcat 8, and later. |
7 |
|
* In Tomcat 7 <7.0.43 you will need to change catalina.properties and remove "log4j*.jar" from the jarsToSkip property. |
8 |
|
* You may need to do something similar on other containers if they skip scanning Log4j JAR files. |
9 |
|
* |
10 |
|
*/ |
11 |
|
|
12 |
import java.io.FileInputStream; |
import java.io.FileInputStream; |
13 |
import java.io.IOException; |
import java.io.IOException; |
36 |
|
|
37 |
|
|
38 |
|
|
|
|
|
|
public ContextListener() { |
|
|
// TODO Auto-generated constructor stub |
|
|
} |
|
|
|
|
39 |
public void contextDestroyed(ServletContextEvent ctxtEvt) { |
public void contextDestroyed(ServletContextEvent ctxtEvt) { |
|
// TODO Auto-generated method stub |
|
40 |
} |
} |
41 |
|
|
42 |
@Override |
@Override |