It look like the defined extraClasspath
has here an impact.
I need to understand this first - yes.
https://github.com/wildfly/wildfly/blob/eacb144910142d456946ea2c429f63abf0cf8b93/weld/subsystem/src/main/java/org/jboss/as/weld/deployment/processors/ExternalBeanArchiveProcessor.java#L309
Only to be sure - it is right, to place the hotswap-agent.properties
file in resources
folder of subprojects?
MyFaces plugin does not do a lot for XHTML reloading, look at:
there is .properties
reloading and managed bean reloading.
I set up Hotswap Agent to work with wildfly. I am able to connect to the instance with wildfly, and recompile classfiles.
However one of my projects contains JSP files and serves them through REST endpoints, and when I compile those classes, I get the following error:Could not reload rest class Hotswap agent
org.jboss.resteasy.spi.LoggableFailure: RESTEASY003880: Unable to find contextual data of type: javax.servlet.ServletContext
Hi, when I re-compile some java source files, hotswap agent outputs log as "reloading classes...",but no hotswap results, such as success or failure. So I can't be sure if it works unless I trigger a network request to verify. Sometimes even though there is no error log, the change still does not take effect.
Is there any easy way to tell me clearly if the hotswap was successful? thanks!