Application deployed in Jboss not working












0















I have a spring boot application, when I execute it in eclipse, works fine, I converted it to Dynamic Web Module in order to export a WAR and finally deploy it in the server.



I've got the next log from the server:



2019-01-02 12:18:21,777 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "GeoUsig.war" (runtime-name: "GeoUsig.war")
2019-01-02 12:18:21,810 WARN [org.jboss.as.logging] (MSC service thread 1-6) WFLYLOG0015: The per-logging deployment property (org.jboss.as.logging.per-deployment) has been deprecated. Please use the use-deployment-logging-config attribute to enable/disable per-deployment logging.
2019-01-02 12:18:21,858 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 581) WFLYUT0021: Registered web context: /GeoUsig
2019-01-02 12:18:21,884 INFO [org.jboss.as.server] (ServerService Thread Pool -- 578) WFLYSRV0010: Deployed "GeoUsig.war" (runtime-name : "GeoUsig.war")
2019-01-02 12:32:26,847 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 609) WFLYUT0022: Unregistered web context: /GeoUsig
2019-01-02 12:32:26,928 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment GeoUsig.war (runtime-name: GeoUsig.war) in 81ms
2019-01-02 12:32:26,955 INFO [org.jboss.as.server] (ServerService Thread Pool -- 608) WFLYSRV0009: Undeployed "GeoUsig.war" (runtime-name: "GeoUsig.war")
2019-01-02 12:32:26,956 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 608) WFLYDR0002: Content removed from location /opt/jboss-eap/domain/servers/lktvap1002/data/content/30/e244c783110078bb513726d4dfa559d1982bc5/content
2019-01-02 12:32:44,722 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "GeoUsig.war" (runtime-name: "GeoUsig.war")
2019-01-02 12:32:44,746 WARN [org.jboss.as.logging] (MSC service thread 1-8) WFLYLOG0015: The per-logging deployment property (org.jboss.as.logging.per-deployment) has been deprecated. Please use the use-deployment-logging-config attribute to enable/disable per-deployment logging.
2019-01-02 12:32:44,781 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 612) WFLYUT0021: Registered web context: /GeoUsig
2019-01-02 12:32:44,812 INFO [org.jboss.as.server] (ServerService Thread Pool -- 608) WFLYSRV0010: Deployed "GeoUsig.war" (runtime-name : "GeoUsig.war")


It seems to be deployed but it doesn't execute mi app at all.



Here's some code of my app:



Main:



@SpringBootApplication
@EnableScheduling
public class GeolocalizacionApplication extends SpringBootServletInitializer {

@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(GeolocalizacionApplication.class);
}


public static void main(String args) {
SpringApplication.run(GeolocalizacionApplication.class, args);
}


}


Controller:



@Controller
@EnableScheduling
public class GeoController {



@Autowired
IUsigRequestService usigRequestService;


@Autowired
IUsigResponseService usigResponseService;


@Autowired
IUsigResponseSeqService usigResponseSeqService;

@Scheduled(cron = "0 * * ? * * ")
public void ejecutar() throws ParseException, IOException {


List<UsigRequest> usigReqList = (List<UsigRequest>) usigRequestService.findAll();

//More code

}

}


In the method execute I update some rows so I'm expecting it to happen but it doesn't.



This is the stack I get when I execute it in eclipse:



  .   ____          _            __ _ _
/\ / ___'_ __ _ _(_)_ __ __ _
( ( )___ | '_ | '_| | '_ / _` |
\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |___, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.8.RELEASE)

2019-01-02 13:13:23.724 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : Starting GeolocalizacionApplication on DAR-MXL246041T with PID 5636 (C:EclipseWorkspaceGeoUsigtargetclasses started by f8cygqn in C:EclipseWorkspaceGeoUsig)
2019-01-02 13:13:23.744 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : No active profile set, falling back to default profiles: default
2019-01-02 13:13:23.854 INFO 5636 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@27c6e487: startup date [Wed Jan 02 13:13:23 ART 2019]; root of context hierarchy
2019-01-02 13:13:26.372 INFO 5636 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2019-01-02 13:13:26.400 INFO 5636 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2019-01-02 13:13:26.401 INFO 5636 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23
2019-01-02 13:13:26.599 INFO 5636 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2019-01-02 13:13:26.599 INFO 5636 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2780 ms
2019-01-02 13:13:26.798 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2019-01-02 13:13:26.802 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2019-01-02 13:13:26.879 INFO 5636 --- [ main] o.s.j.d.DriverManagerDataSource : Loaded JDBC driver: com.teradata.jdbc.TeraDriver
2019-01-02 13:13:28.754 INFO 5636 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2019-01-02 13:13:28.782 INFO 5636 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2019-01-02 13:13:28.951 INFO 5636 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
2019-01-02 13:13:28.952 INFO 5636 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2019-01-02 13:13:28.954 INFO 5636 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
2019-01-02 13:13:29.037 INFO 5636 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2019-01-02 13:13:29.816 INFO 5636 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.TeradataDialect
2019-01-02 13:13:30.088 INFO 5636 --- [ main] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
2019-01-02 13:13:31.018 INFO 5636 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-01-02 13:13:31.969 INFO 5636 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.TeradataDialect
2019-01-02 13:13:32.034 INFO 5636 --- [ main] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
2019-01-02 13:13:32.870 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@27c6e487: startup date [Wed Jan 02 13:13:23 ART 2019]; root of context hierarchy
2019-01-02 13:13:32.964 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2019-01-02 13:13:32.965 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2019-01-02 13:13:33.010 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-01-02 13:13:33.010 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-01-02 13:13:33.497 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-01-02 13:13:33.864 INFO 5636 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2019-01-02 13:13:33.894 INFO 5636 --- [ main] s.a.ScheduledAnnotationBeanPostProcessor : No TaskScheduler/ScheduledExecutorService bean found for scheduled processing
2019-01-02 13:13:34.069 INFO 5636 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2019-01-02 13:13:34.080 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : Started GeolocalizacionApplication in 11.089 seconds (JVM running for 12.447)
2019-01-02 13:14:00.366 INFO 5636 --- [pool-1-thread-1] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory


Also I add here an image of the structure of my project:



Project structure



Am I doing something wrong?



Thanks!










share|improve this question



























    0















    I have a spring boot application, when I execute it in eclipse, works fine, I converted it to Dynamic Web Module in order to export a WAR and finally deploy it in the server.



    I've got the next log from the server:



    2019-01-02 12:18:21,777 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "GeoUsig.war" (runtime-name: "GeoUsig.war")
    2019-01-02 12:18:21,810 WARN [org.jboss.as.logging] (MSC service thread 1-6) WFLYLOG0015: The per-logging deployment property (org.jboss.as.logging.per-deployment) has been deprecated. Please use the use-deployment-logging-config attribute to enable/disable per-deployment logging.
    2019-01-02 12:18:21,858 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 581) WFLYUT0021: Registered web context: /GeoUsig
    2019-01-02 12:18:21,884 INFO [org.jboss.as.server] (ServerService Thread Pool -- 578) WFLYSRV0010: Deployed "GeoUsig.war" (runtime-name : "GeoUsig.war")
    2019-01-02 12:32:26,847 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 609) WFLYUT0022: Unregistered web context: /GeoUsig
    2019-01-02 12:32:26,928 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment GeoUsig.war (runtime-name: GeoUsig.war) in 81ms
    2019-01-02 12:32:26,955 INFO [org.jboss.as.server] (ServerService Thread Pool -- 608) WFLYSRV0009: Undeployed "GeoUsig.war" (runtime-name: "GeoUsig.war")
    2019-01-02 12:32:26,956 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 608) WFLYDR0002: Content removed from location /opt/jboss-eap/domain/servers/lktvap1002/data/content/30/e244c783110078bb513726d4dfa559d1982bc5/content
    2019-01-02 12:32:44,722 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "GeoUsig.war" (runtime-name: "GeoUsig.war")
    2019-01-02 12:32:44,746 WARN [org.jboss.as.logging] (MSC service thread 1-8) WFLYLOG0015: The per-logging deployment property (org.jboss.as.logging.per-deployment) has been deprecated. Please use the use-deployment-logging-config attribute to enable/disable per-deployment logging.
    2019-01-02 12:32:44,781 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 612) WFLYUT0021: Registered web context: /GeoUsig
    2019-01-02 12:32:44,812 INFO [org.jboss.as.server] (ServerService Thread Pool -- 608) WFLYSRV0010: Deployed "GeoUsig.war" (runtime-name : "GeoUsig.war")


    It seems to be deployed but it doesn't execute mi app at all.



    Here's some code of my app:



    Main:



    @SpringBootApplication
    @EnableScheduling
    public class GeolocalizacionApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
    return application.sources(GeolocalizacionApplication.class);
    }


    public static void main(String args) {
    SpringApplication.run(GeolocalizacionApplication.class, args);
    }


    }


    Controller:



    @Controller
    @EnableScheduling
    public class GeoController {



    @Autowired
    IUsigRequestService usigRequestService;


    @Autowired
    IUsigResponseService usigResponseService;


    @Autowired
    IUsigResponseSeqService usigResponseSeqService;

    @Scheduled(cron = "0 * * ? * * ")
    public void ejecutar() throws ParseException, IOException {


    List<UsigRequest> usigReqList = (List<UsigRequest>) usigRequestService.findAll();

    //More code

    }

    }


    In the method execute I update some rows so I'm expecting it to happen but it doesn't.



    This is the stack I get when I execute it in eclipse:



      .   ____          _            __ _ _
    /\ / ___'_ __ _ _(_)_ __ __ _
    ( ( )___ | '_ | '_| | '_ / _` |
    \/ ___)| |_)| | | | | || (_| | ) ) ) )
    ' |____| .__|_| |_|_| |___, | / / / /
    =========|_|==============|___/=/_/_/_/
    :: Spring Boot :: (v1.5.8.RELEASE)

    2019-01-02 13:13:23.724 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : Starting GeolocalizacionApplication on DAR-MXL246041T with PID 5636 (C:EclipseWorkspaceGeoUsigtargetclasses started by f8cygqn in C:EclipseWorkspaceGeoUsig)
    2019-01-02 13:13:23.744 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : No active profile set, falling back to default profiles: default
    2019-01-02 13:13:23.854 INFO 5636 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@27c6e487: startup date [Wed Jan 02 13:13:23 ART 2019]; root of context hierarchy
    2019-01-02 13:13:26.372 INFO 5636 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
    2019-01-02 13:13:26.400 INFO 5636 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
    2019-01-02 13:13:26.401 INFO 5636 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23
    2019-01-02 13:13:26.599 INFO 5636 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
    2019-01-02 13:13:26.599 INFO 5636 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2780 ms
    2019-01-02 13:13:26.798 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
    2019-01-02 13:13:26.802 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
    2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
    2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
    2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
    2019-01-02 13:13:26.879 INFO 5636 --- [ main] o.s.j.d.DriverManagerDataSource : Loaded JDBC driver: com.teradata.jdbc.TeraDriver
    2019-01-02 13:13:28.754 INFO 5636 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
    2019-01-02 13:13:28.782 INFO 5636 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
    name: default
    ...]
    2019-01-02 13:13:28.951 INFO 5636 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
    2019-01-02 13:13:28.952 INFO 5636 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
    2019-01-02 13:13:28.954 INFO 5636 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
    2019-01-02 13:13:29.037 INFO 5636 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
    2019-01-02 13:13:29.816 INFO 5636 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.TeradataDialect
    2019-01-02 13:13:30.088 INFO 5636 --- [ main] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
    2019-01-02 13:13:31.018 INFO 5636 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
    2019-01-02 13:13:31.969 INFO 5636 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.TeradataDialect
    2019-01-02 13:13:32.034 INFO 5636 --- [ main] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
    2019-01-02 13:13:32.870 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@27c6e487: startup date [Wed Jan 02 13:13:23 ART 2019]; root of context hierarchy
    2019-01-02 13:13:32.964 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
    2019-01-02 13:13:32.965 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
    2019-01-02 13:13:33.010 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
    2019-01-02 13:13:33.010 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
    2019-01-02 13:13:33.497 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
    2019-01-02 13:13:33.864 INFO 5636 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
    2019-01-02 13:13:33.894 INFO 5636 --- [ main] s.a.ScheduledAnnotationBeanPostProcessor : No TaskScheduler/ScheduledExecutorService bean found for scheduled processing
    2019-01-02 13:13:34.069 INFO 5636 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
    2019-01-02 13:13:34.080 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : Started GeolocalizacionApplication in 11.089 seconds (JVM running for 12.447)
    2019-01-02 13:14:00.366 INFO 5636 --- [pool-1-thread-1] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory


    Also I add here an image of the structure of my project:



    Project structure



    Am I doing something wrong?



    Thanks!










    share|improve this question

























      0












      0








      0








      I have a spring boot application, when I execute it in eclipse, works fine, I converted it to Dynamic Web Module in order to export a WAR and finally deploy it in the server.



      I've got the next log from the server:



      2019-01-02 12:18:21,777 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "GeoUsig.war" (runtime-name: "GeoUsig.war")
      2019-01-02 12:18:21,810 WARN [org.jboss.as.logging] (MSC service thread 1-6) WFLYLOG0015: The per-logging deployment property (org.jboss.as.logging.per-deployment) has been deprecated. Please use the use-deployment-logging-config attribute to enable/disable per-deployment logging.
      2019-01-02 12:18:21,858 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 581) WFLYUT0021: Registered web context: /GeoUsig
      2019-01-02 12:18:21,884 INFO [org.jboss.as.server] (ServerService Thread Pool -- 578) WFLYSRV0010: Deployed "GeoUsig.war" (runtime-name : "GeoUsig.war")
      2019-01-02 12:32:26,847 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 609) WFLYUT0022: Unregistered web context: /GeoUsig
      2019-01-02 12:32:26,928 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment GeoUsig.war (runtime-name: GeoUsig.war) in 81ms
      2019-01-02 12:32:26,955 INFO [org.jboss.as.server] (ServerService Thread Pool -- 608) WFLYSRV0009: Undeployed "GeoUsig.war" (runtime-name: "GeoUsig.war")
      2019-01-02 12:32:26,956 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 608) WFLYDR0002: Content removed from location /opt/jboss-eap/domain/servers/lktvap1002/data/content/30/e244c783110078bb513726d4dfa559d1982bc5/content
      2019-01-02 12:32:44,722 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "GeoUsig.war" (runtime-name: "GeoUsig.war")
      2019-01-02 12:32:44,746 WARN [org.jboss.as.logging] (MSC service thread 1-8) WFLYLOG0015: The per-logging deployment property (org.jboss.as.logging.per-deployment) has been deprecated. Please use the use-deployment-logging-config attribute to enable/disable per-deployment logging.
      2019-01-02 12:32:44,781 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 612) WFLYUT0021: Registered web context: /GeoUsig
      2019-01-02 12:32:44,812 INFO [org.jboss.as.server] (ServerService Thread Pool -- 608) WFLYSRV0010: Deployed "GeoUsig.war" (runtime-name : "GeoUsig.war")


      It seems to be deployed but it doesn't execute mi app at all.



      Here's some code of my app:



      Main:



      @SpringBootApplication
      @EnableScheduling
      public class GeolocalizacionApplication extends SpringBootServletInitializer {

      @Override
      protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
      return application.sources(GeolocalizacionApplication.class);
      }


      public static void main(String args) {
      SpringApplication.run(GeolocalizacionApplication.class, args);
      }


      }


      Controller:



      @Controller
      @EnableScheduling
      public class GeoController {



      @Autowired
      IUsigRequestService usigRequestService;


      @Autowired
      IUsigResponseService usigResponseService;


      @Autowired
      IUsigResponseSeqService usigResponseSeqService;

      @Scheduled(cron = "0 * * ? * * ")
      public void ejecutar() throws ParseException, IOException {


      List<UsigRequest> usigReqList = (List<UsigRequest>) usigRequestService.findAll();

      //More code

      }

      }


      In the method execute I update some rows so I'm expecting it to happen but it doesn't.



      This is the stack I get when I execute it in eclipse:



        .   ____          _            __ _ _
      /\ / ___'_ __ _ _(_)_ __ __ _
      ( ( )___ | '_ | '_| | '_ / _` |
      \/ ___)| |_)| | | | | || (_| | ) ) ) )
      ' |____| .__|_| |_|_| |___, | / / / /
      =========|_|==============|___/=/_/_/_/
      :: Spring Boot :: (v1.5.8.RELEASE)

      2019-01-02 13:13:23.724 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : Starting GeolocalizacionApplication on DAR-MXL246041T with PID 5636 (C:EclipseWorkspaceGeoUsigtargetclasses started by f8cygqn in C:EclipseWorkspaceGeoUsig)
      2019-01-02 13:13:23.744 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : No active profile set, falling back to default profiles: default
      2019-01-02 13:13:23.854 INFO 5636 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@27c6e487: startup date [Wed Jan 02 13:13:23 ART 2019]; root of context hierarchy
      2019-01-02 13:13:26.372 INFO 5636 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
      2019-01-02 13:13:26.400 INFO 5636 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
      2019-01-02 13:13:26.401 INFO 5636 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23
      2019-01-02 13:13:26.599 INFO 5636 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
      2019-01-02 13:13:26.599 INFO 5636 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2780 ms
      2019-01-02 13:13:26.798 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
      2019-01-02 13:13:26.802 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
      2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
      2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
      2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
      2019-01-02 13:13:26.879 INFO 5636 --- [ main] o.s.j.d.DriverManagerDataSource : Loaded JDBC driver: com.teradata.jdbc.TeraDriver
      2019-01-02 13:13:28.754 INFO 5636 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
      2019-01-02 13:13:28.782 INFO 5636 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
      name: default
      ...]
      2019-01-02 13:13:28.951 INFO 5636 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
      2019-01-02 13:13:28.952 INFO 5636 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
      2019-01-02 13:13:28.954 INFO 5636 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
      2019-01-02 13:13:29.037 INFO 5636 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
      2019-01-02 13:13:29.816 INFO 5636 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.TeradataDialect
      2019-01-02 13:13:30.088 INFO 5636 --- [ main] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
      2019-01-02 13:13:31.018 INFO 5636 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
      2019-01-02 13:13:31.969 INFO 5636 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.TeradataDialect
      2019-01-02 13:13:32.034 INFO 5636 --- [ main] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
      2019-01-02 13:13:32.870 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@27c6e487: startup date [Wed Jan 02 13:13:23 ART 2019]; root of context hierarchy
      2019-01-02 13:13:32.964 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
      2019-01-02 13:13:32.965 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
      2019-01-02 13:13:33.010 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      2019-01-02 13:13:33.010 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      2019-01-02 13:13:33.497 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      2019-01-02 13:13:33.864 INFO 5636 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
      2019-01-02 13:13:33.894 INFO 5636 --- [ main] s.a.ScheduledAnnotationBeanPostProcessor : No TaskScheduler/ScheduledExecutorService bean found for scheduled processing
      2019-01-02 13:13:34.069 INFO 5636 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
      2019-01-02 13:13:34.080 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : Started GeolocalizacionApplication in 11.089 seconds (JVM running for 12.447)
      2019-01-02 13:14:00.366 INFO 5636 --- [pool-1-thread-1] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory


      Also I add here an image of the structure of my project:



      Project structure



      Am I doing something wrong?



      Thanks!










      share|improve this question














      I have a spring boot application, when I execute it in eclipse, works fine, I converted it to Dynamic Web Module in order to export a WAR and finally deploy it in the server.



      I've got the next log from the server:



      2019-01-02 12:18:21,777 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "GeoUsig.war" (runtime-name: "GeoUsig.war")
      2019-01-02 12:18:21,810 WARN [org.jboss.as.logging] (MSC service thread 1-6) WFLYLOG0015: The per-logging deployment property (org.jboss.as.logging.per-deployment) has been deprecated. Please use the use-deployment-logging-config attribute to enable/disable per-deployment logging.
      2019-01-02 12:18:21,858 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 581) WFLYUT0021: Registered web context: /GeoUsig
      2019-01-02 12:18:21,884 INFO [org.jboss.as.server] (ServerService Thread Pool -- 578) WFLYSRV0010: Deployed "GeoUsig.war" (runtime-name : "GeoUsig.war")
      2019-01-02 12:32:26,847 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 609) WFLYUT0022: Unregistered web context: /GeoUsig
      2019-01-02 12:32:26,928 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment GeoUsig.war (runtime-name: GeoUsig.war) in 81ms
      2019-01-02 12:32:26,955 INFO [org.jboss.as.server] (ServerService Thread Pool -- 608) WFLYSRV0009: Undeployed "GeoUsig.war" (runtime-name: "GeoUsig.war")
      2019-01-02 12:32:26,956 INFO [org.jboss.as.repository] (ServerService Thread Pool -- 608) WFLYDR0002: Content removed from location /opt/jboss-eap/domain/servers/lktvap1002/data/content/30/e244c783110078bb513726d4dfa559d1982bc5/content
      2019-01-02 12:32:44,722 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "GeoUsig.war" (runtime-name: "GeoUsig.war")
      2019-01-02 12:32:44,746 WARN [org.jboss.as.logging] (MSC service thread 1-8) WFLYLOG0015: The per-logging deployment property (org.jboss.as.logging.per-deployment) has been deprecated. Please use the use-deployment-logging-config attribute to enable/disable per-deployment logging.
      2019-01-02 12:32:44,781 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 612) WFLYUT0021: Registered web context: /GeoUsig
      2019-01-02 12:32:44,812 INFO [org.jboss.as.server] (ServerService Thread Pool -- 608) WFLYSRV0010: Deployed "GeoUsig.war" (runtime-name : "GeoUsig.war")


      It seems to be deployed but it doesn't execute mi app at all.



      Here's some code of my app:



      Main:



      @SpringBootApplication
      @EnableScheduling
      public class GeolocalizacionApplication extends SpringBootServletInitializer {

      @Override
      protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
      return application.sources(GeolocalizacionApplication.class);
      }


      public static void main(String args) {
      SpringApplication.run(GeolocalizacionApplication.class, args);
      }


      }


      Controller:



      @Controller
      @EnableScheduling
      public class GeoController {



      @Autowired
      IUsigRequestService usigRequestService;


      @Autowired
      IUsigResponseService usigResponseService;


      @Autowired
      IUsigResponseSeqService usigResponseSeqService;

      @Scheduled(cron = "0 * * ? * * ")
      public void ejecutar() throws ParseException, IOException {


      List<UsigRequest> usigReqList = (List<UsigRequest>) usigRequestService.findAll();

      //More code

      }

      }


      In the method execute I update some rows so I'm expecting it to happen but it doesn't.



      This is the stack I get when I execute it in eclipse:



        .   ____          _            __ _ _
      /\ / ___'_ __ _ _(_)_ __ __ _
      ( ( )___ | '_ | '_| | '_ / _` |
      \/ ___)| |_)| | | | | || (_| | ) ) ) )
      ' |____| .__|_| |_|_| |___, | / / / /
      =========|_|==============|___/=/_/_/_/
      :: Spring Boot :: (v1.5.8.RELEASE)

      2019-01-02 13:13:23.724 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : Starting GeolocalizacionApplication on DAR-MXL246041T with PID 5636 (C:EclipseWorkspaceGeoUsigtargetclasses started by f8cygqn in C:EclipseWorkspaceGeoUsig)
      2019-01-02 13:13:23.744 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : No active profile set, falling back to default profiles: default
      2019-01-02 13:13:23.854 INFO 5636 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@27c6e487: startup date [Wed Jan 02 13:13:23 ART 2019]; root of context hierarchy
      2019-01-02 13:13:26.372 INFO 5636 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
      2019-01-02 13:13:26.400 INFO 5636 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
      2019-01-02 13:13:26.401 INFO 5636 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23
      2019-01-02 13:13:26.599 INFO 5636 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
      2019-01-02 13:13:26.599 INFO 5636 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2780 ms
      2019-01-02 13:13:26.798 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
      2019-01-02 13:13:26.802 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
      2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
      2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
      2019-01-02 13:13:26.803 INFO 5636 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
      2019-01-02 13:13:26.879 INFO 5636 --- [ main] o.s.j.d.DriverManagerDataSource : Loaded JDBC driver: com.teradata.jdbc.TeraDriver
      2019-01-02 13:13:28.754 INFO 5636 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
      2019-01-02 13:13:28.782 INFO 5636 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
      name: default
      ...]
      2019-01-02 13:13:28.951 INFO 5636 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
      2019-01-02 13:13:28.952 INFO 5636 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
      2019-01-02 13:13:28.954 INFO 5636 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
      2019-01-02 13:13:29.037 INFO 5636 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
      2019-01-02 13:13:29.816 INFO 5636 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.TeradataDialect
      2019-01-02 13:13:30.088 INFO 5636 --- [ main] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
      2019-01-02 13:13:31.018 INFO 5636 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
      2019-01-02 13:13:31.969 INFO 5636 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.TeradataDialect
      2019-01-02 13:13:32.034 INFO 5636 --- [ main] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
      2019-01-02 13:13:32.870 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@27c6e487: startup date [Wed Jan 02 13:13:23 ART 2019]; root of context hierarchy
      2019-01-02 13:13:32.964 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
      2019-01-02 13:13:32.965 INFO 5636 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
      2019-01-02 13:13:33.010 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      2019-01-02 13:13:33.010 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      2019-01-02 13:13:33.497 INFO 5636 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
      2019-01-02 13:13:33.864 INFO 5636 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
      2019-01-02 13:13:33.894 INFO 5636 --- [ main] s.a.ScheduledAnnotationBeanPostProcessor : No TaskScheduler/ScheduledExecutorService bean found for scheduled processing
      2019-01-02 13:13:34.069 INFO 5636 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
      2019-01-02 13:13:34.080 INFO 5636 --- [ main] c.F.Geo.GeolocalizacionApplication : Started GeolocalizacionApplication in 11.089 seconds (JVM running for 12.447)
      2019-01-02 13:14:00.366 INFO 5636 --- [pool-1-thread-1] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory


      Also I add here an image of the structure of my project:



      Project structure



      Am I doing something wrong?



      Thanks!







      java spring-boot jboss






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 2 at 16:18









      Carolina PonceCarolina Ponce

      34




      34
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54009678%2fapplication-deployed-in-jboss-not-working%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54009678%2fapplication-deployed-in-jboss-not-working%23new-answer', 'question_page');
          }
          );

          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







          Popular posts from this blog

          Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

          Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

          A Topological Invariant for $pi_3(U(n))$