You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing this error periodically (about 50% of the time) when i try to restart my JBOSS server or redeploy my ear file.
My ear file consist of many .jar and .war files and for each one i can see that Hotswap Agent is trying to load the JBossModulesPlugin. It fails periodically and on random .jar/.war files each time.
After one or two redeploys, its all good. Then if i redeploy again it will fail again.
Here is the console log:
JBoss Bootstrap Environment
JBOSS_HOME: "C:\jbossLocal\jboss-6.4.11"
JAVA: "D:\Tools\jdk1.8.0_112\jre\bin\java"
JAVA_OPTS: "-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -XX:+UseCompressedOops -Dprogram.name=standalone.bat -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:56492,suspend=y,server=n -javaagent:C:\Users\Emk\.IntelliJIdea2017.3\system\captureAgent\debugger-agent.jar=C:\Users\Emk\AppData\Local\Temp\capture4643.props -XXaltjvm=dcevm -javaagent:D:\Tools\hotswap-agent\hotswap-agent-1.2.0.jar -Xms2G -Xmx4G -XX:MaxPermSize=256M -XX:MetaspaceSize=512M "
Connected to server
[2018-03-11 05:18:28,433] Artifact booking.ear: Artifact is being deployed, please wait...
17:18:37,421 WARN [org.jboss.as.ejb3] (MSC service thread 1-3) JBAS014219: [EJB3.1 spec, section 4.9.2] Session bean implementation class MUST be public, not abstract and not final - dk.capgemini.bookline.booking.restservices.PatientAftaleDataMapper won't be considered as a session bean, since it doesn't meet that requirement
17:18:37,422 WARN [org.jboss.as.ejb3] (MSC service thread 1-3) JBAS014219: [EJB3.1 spec, section 4.9.2] Session bean implementation class MUST be public, not abstract and not final - dk.capgemini.bookline.booking.restservices.BrevInfoDataMapper won't be considered as a session bean, since it doesn't meet that requirement
17:18:38,088 INFO [stdout] (MSC service thread 1-2) HOTSWAP AGENT: 17:18:38.087 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin' initialized in ClassLoader 'ModuleClassLoader for Module "deployment.booking.ear.bookline-web.jar:main" from Service Module Loader'.
17:18:38,165 INFO [stdout] (MSC service thread 1-5) HOTSWAP AGENT: 17:18:38.165 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin' initialized in ClassLoader 'ModuleClassLoader for Module "deployment.booking.ear.proevesvar-server.jar:main" from Service Module Loader'.
17:18:38,243 INFO [stdout] (MSC service thread 1-4) HOTSWAP AGENT: 17:18:38.243 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin' initialized in ClassLoader 'ModuleClassLoader for Module "deployment.booking.ear.hl7-fhir.jar:main" from Service Module Loader'.
17:18:38,326 INFO [stdout] (MSC service thread 1-6) HOTSWAP AGENT: 17:18:38.325 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin' initialized in ClassLoader 'ModuleClassLoader for Module "deployment.booking.ear.bi-standalone-server.jar:main" from Service Module Loader'.
17:18:38,398 INFO [stdout] (MSC service thread 1-8) HOTSWAP AGENT: 17:18:38.397 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin' initialized in ClassLoader 'ModuleClassLoader for Module "deployment.booking.ear:main" from Service Module Loader'.
17:18:38,470 INFO [stdout] (MSC service thread 1-7) HOTSWAP AGENT: 17:18:38.470 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin' initialized in ClassLoader 'ModuleClassLoader for Module "deployment.booking.ear.exchange-server.jar:main" from Service Module Loader'.
17:18:38,625 INFO [stdout] (MSC service thread 1-1) HOTSWAP AGENT: 17:18:38.624 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin' initialized in ClassLoader 'ModuleClassLoader for Module "deployment.booking.ear.moedesteder-server.jar:main" from Service Module Loader'.
17:18:38,683 INFO [stdout] (MSC service thread 1-3) HOTSWAP AGENT: 17:18:38.683 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin' initialized in ClassLoader 'ModuleClassLoader for Module "deployment.booking.ear.kaldetavle-server.jar:main" from Service Module Loader'.
17:18:38,752 INFO [stdout] (MSC service thread 1-4) HOTSWAP AGENT: 17:18:38.752 INFO (org.hotswap.agent.config.PluginRegistry) - Plugin 'org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin' initialized in ClassLoader 'ModuleClassLoader for Module "deployment.booking.ear.booking-standalone-web.war:main" from Service Module Loader'.
17:18:38,785 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.module.service."deployment.booking.ear.exchange-server.jar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.booking.ear.exchange-server.jar".main: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1936) [jboss-msc-1.1.6.Final-redhat-1.jar:1.1.6.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_112]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_112]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_112]
Caused by: java.lang.IllegalArgumentException: Plugin not found in the registry org.hotswap.agent.plugin.jbossmodules.JBossModulesPlugin@69b01e21
at org.hotswap.agent.config.PluginRegistry.getAppClassLoader(PluginRegistry.java:245) [hotswap-agent-1.2.0.jar:1.2.0]
at org.hotswap.agent.annotation.handler.InitHandler.initField(InitHandler.java:43) [hotswap-agent-1.2.0.jar:1.2.0]
at org.hotswap.agent.annotation.handler.AnnotationProcessor.processFieldAnnotations(AnnotationProcessor.java:118) [hotswap-agent-1.2.0.jar:1.2.0]
at org.hotswap.agent.annotation.handler.AnnotationProcessor.processAnnotations(AnnotationProcessor.java:95) [hotswap-agent-1.2.0.jar:1.2.0]
at org.hotswap.agent.config.PluginRegistry.initializePlugin(PluginRegistry.java:159) [hotswap-agent-1.2.0.jar:1.2.0]
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:243) [jboss-modules.jar:1.3.7.Final-redhat-1]
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:77) [jboss-as-server-7.5.11.Final-redhat-1.jar:7.5.11.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.6.Final-redhat-1.jar:1.1.6.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.6.Final-redhat-1.jar:1.1.6.Final-redhat-1]
... 3 more
The text was updated successfully, but these errors were encountered:
Emil Kaminski wrote:
I'm experiencing this error periodically (about 50% of the time) when i try to restart my JBOSS server or redeploy my ear file.
My ear file consist of many .jar and .war files and for each one i can see that Hotswap Agent is trying to load the JBossModulesPlugin. It fails periodically and on random .jar/.war files each time.
After one or two redeploys, its all good. Then if i redeploy again it will fail again.
Here is the console log:
The text was updated successfully, but these errors were encountered: