0 Replies Latest reply on May 26, 2017 6:13 AM by Michal Wietecha

    JBoss - redeploying server on exception

    Michal Wietecha Newbie

      Hello everyone!

       

      When I deploy my web aplication on JBoss following exception occurs:

       

      (...)

      [amg.exion.ib.modules.web.login.BaseLoginServlet] - Application context : WebApplicationContext for namespace 'ib-servlet': startup date [Fri May 26 11:57:25 CEST 2017]; parent: Root WebApplicationContext

      [amg.exion.ib.modules.web.login.BaseLoginServlet] - Initalized

      [org.wildfly.extension.undertow] - WFLYUT0021: Registered web context: /

      [org.jboss.as.server] - WFLYSRV0010: Deployed "ib-web-1-SNAPSHOT.war" (runtime-name : "ib-web-1-SNAPSHOT.war")

      [org.jboss.as] - WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management

      [org.jboss.as] - WFLYSRV0051: Admin console listening on http://127.0.0.1:9990

      [org.jboss.as] - WFLYSRV0025: JBoss EAP 7.0.0.GA (WildFly Core 2.1.2.Final-redhat-1) started in 459674ms - Started 1712 of 2006 services (387 services are lazy, passive or on-demand)

      Connected to server

      Artifact ib-web:war: Artifact is being deployed, please wait...

      [org.jboss.as.connector.deployers.jdbc] - WFLYJCA0019: Stopped Driver service with driver-name = ib-web-1-SNAPSHOT.war_org.hsqldb.jdbc.JDBCDriver_2_2

      [org.wildfly.extension.undertow] - WFLYUT0022: Unregistered web context: /

      [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Root WebApplicationContext: startup date [Fri May 26 11:55:57 CEST 2017]; parent: Root WebApplicationContext

      (...)

       

      But after that it starts redeploying which ends with success:

       

      (...)

      [amg.exion.ib.framework.event.ApplicationEventDispatcher] - Removing listener 'applicationCache'

      [amg.exion.ib.framework.cache.ApplicationCacheImpl] - about to destroy ApplicationCache... Good Luck.

      [amg.exion.ib.framework.cache.ApplicationCacheImpl] - Destroyed jgroups thread group

      [amg.exion.ib.framework.cache.ApplicationCacheImpl] - ApplicationCache destroyed.OK.

      [amg.exion.ib.modules.scheduler.ExionSchedulerFactoryBean] - Shutting down Quartz Scheduler

      [org.springframework.beans.factory.support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with name 'exionSchedulerFactoryBean': java.lang.NullPointerException

      [org.jboss.as.server.deployment] - WFLYSRV0028: Stopped deployment ib-web-1-SNAPSHOT.war (runtime-name: ib-web-1-SNAPSHOT.war) in 10624ms

      [org.jboss.as.server] - WFLYSRV0009: Undeployed "ib-web-1-SNAPSHOT.war" (runtime-name: "ib-web-1-SNAPSHOT.war")

      [org.jboss.as.server.deployment] - WFLYSRV0027: Starting deployment of "ib-web-1-SNAPSHOT.war" (runtime-name: "ib-web-1-SNAPSHOT.war")

      [org.jboss.as.server.deployment] - WFLYSRV0059: Class Path entry htmllexer.jar in /C:/Soft/JBOSS/EAP-7.0.0/standalone/tmp/content/ib-web-1-SNAPSHOT.war/WEB-INF/lib/htmlparser-2.0.jar  does not point to a valid jar for a Class-Path reference.

      (...)

       

      Here is my standalone.xml file: https://pastebin.com/QJkqUr1W

       

      What could cause such strange problem?

       

      Thanks for help