java - JBoss with HotSwap agent -



java - JBoss with HotSwap agent -

has used jboss 7.1 dcevm , hotswap agent in production? tutorial anywhere? possible add together new packages/classes through hotswap agent, or replace existing ones?

i'm sorry question vague. i'm simply researching proposed technologies.

another point: have deploy exploded .war always, , replace/add .class files within it? or can deploy zipped .war , re-create additional zipped .jars alongside it?

my architecture have servlet , additional components need accessible it. these components want add/replace @ runtime.

in moment not possible, there open issue jboss back upwards #27:

jboss 7 utilize osgi classloading , hence agent core classes not available application classloader (this not case standard classloaders parent delegation).

the solution add together -djboss.modules.system.pkgs=org.hotswap.agent older agent versions (similar https://issues.jboss.org/browse/wfly-895).

however hotswap agent sets necessary properties jboss on startup.

and this:

currently, jboss 7 starts correctly, ignores configuration properties (extraclasspath, watchresources, webappdir). hotswap via debugging still available, unable utilize alternative source base.

osgi classloading must "hacked" allow properties. see jetty/tomcat plugin similar implementation.

java jboss jboss7.x hotswap

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -