Tomcat Class Loader Delegation
up vote
2
down vote
favorite
In tomcat loader, i just want to make changes that classloader loading priority is: patch lib folder, web-app lib folder, common lib loader, system lib loader, bootstrap lib loader (so we'll effectively have the patch lib loader with a higher priority than the web app lib folder). The patch lib is where i place my patches with classes which needs to override the classes in the WAR at run time.
This should work for any Tomcat web application (war file/folder), regardless of how it's created or stored (expanded war file, folder, etc).
the class loader should search for the patch jar files hosted in the J2EE property patch.shared.loader residing in the files patch.properties, available in the J2EE server path ($ {catalina.base}.
How can this be achieved without using a Java Typical Class loaders?
Thanks in advance.
java tomcat tomee delegation catalina
add a comment |
up vote
2
down vote
favorite
In tomcat loader, i just want to make changes that classloader loading priority is: patch lib folder, web-app lib folder, common lib loader, system lib loader, bootstrap lib loader (so we'll effectively have the patch lib loader with a higher priority than the web app lib folder). The patch lib is where i place my patches with classes which needs to override the classes in the WAR at run time.
This should work for any Tomcat web application (war file/folder), regardless of how it's created or stored (expanded war file, folder, etc).
the class loader should search for the patch jar files hosted in the J2EE property patch.shared.loader residing in the files patch.properties, available in the J2EE server path ($ {catalina.base}.
How can this be achieved without using a Java Typical Class loaders?
Thanks in advance.
java tomcat tomee delegation catalina
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
In tomcat loader, i just want to make changes that classloader loading priority is: patch lib folder, web-app lib folder, common lib loader, system lib loader, bootstrap lib loader (so we'll effectively have the patch lib loader with a higher priority than the web app lib folder). The patch lib is where i place my patches with classes which needs to override the classes in the WAR at run time.
This should work for any Tomcat web application (war file/folder), regardless of how it's created or stored (expanded war file, folder, etc).
the class loader should search for the patch jar files hosted in the J2EE property patch.shared.loader residing in the files patch.properties, available in the J2EE server path ($ {catalina.base}.
How can this be achieved without using a Java Typical Class loaders?
Thanks in advance.
java tomcat tomee delegation catalina
In tomcat loader, i just want to make changes that classloader loading priority is: patch lib folder, web-app lib folder, common lib loader, system lib loader, bootstrap lib loader (so we'll effectively have the patch lib loader with a higher priority than the web app lib folder). The patch lib is where i place my patches with classes which needs to override the classes in the WAR at run time.
This should work for any Tomcat web application (war file/folder), regardless of how it's created or stored (expanded war file, folder, etc).
the class loader should search for the patch jar files hosted in the J2EE property patch.shared.loader residing in the files patch.properties, available in the J2EE server path ($ {catalina.base}.
How can this be achieved without using a Java Typical Class loaders?
Thanks in advance.
java tomcat tomee delegation catalina
java tomcat tomee delegation catalina
asked 20 hours ago
Preetham
244
244
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53407750%2ftomcat-class-loader-delegation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown