JasperReport Sever deployment failed on Wildfly 10.1.0

I have downloaded Jasper Report Server 6.4.3 & followed the instructions in Jasperreports® Server Community Project Installation Guide, to deploy on Wildfly 10.1.0 & MySQL.

I executed the js-install-ce.bat & the build was successful, but when i started my WildFly Server, the deployment failed with the error mentioned below. Please let me know how this can be resolved.

 

13:44:58,998 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.jasperserver.war" is using a private module ("org.jboss.as.jmx:main") which may be changed or removed in future versions without notice.
13:44:59,013 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."jasperserver.war".FIRST_MODULE_USE: org.jboss.msc.service.StartExcept
ion in service jboss.deployment.unit."jasperserver.war".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "jasperserver.war"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJCA0064: Exception deploying datasource java:/jdbc/jasperserver
        at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentInstallProcessor.deploy(DsXmlDeploymentInstallProcessor.java:149)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
        ... 5 more
Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source."jboss.naming.context.java.jdbc.jasperserver" is already registered
        at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158)
        at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:235)
        at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:768)
        at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223)
        at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401)
        at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223)
        at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401)
        at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:317)
        at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentInstallProcessor.startDataSource(DsXmlDeploymentInstallProcessor.java:372)
        at org.jboss.as.connector.deployers.ds.processors.DsXmlDeploymentInstallProcessor.deploy(DsXmlDeploymentInstallProcessor.java:146)
        ... 6 more

13:44:59,029 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jasperserver.war")]) - failure description: {
    "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jasperserver.war\".FIRST_MODULE_USE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jasperserver.war\".FIRS
T_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment \"jasperserver.war\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYJCA0064: Exception deploying datasource java:/jdbc/jasperserver
    Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source.\"jboss.naming.context.java.jdbc.jasperserver\" is already registered"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"jasperserver.war\".FIRST_MODULE_USE"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
13:44:59,060 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 33) WFLYSRV0010: Deployed "jasperserver.war" (runtime-name : "jasperserver.war")
13:44:59,060 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."jasperserver.war".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jasperserv
er.war".FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment "jasperserver.war"

13:44:59,247 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://0.0.0.0:9990/management
13:44:59,247 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://0.0.0.0:9990
13:44:59,247 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 27768ms - Started 363 of 608 services (1 services
failed or missing dependencies, 396 services are lazy, passive or on-demand)
13:44:59,793 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment jasperserver.war (runtime-name: jasperserver.war) in 511ms
13:44:59,918 WARN  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []
13:44:59,918 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "jasperserver.war" (runtime-name: "jasperserver.war")
13:44:59,918 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."jasperserver.war".FIRST_MODULE_USE

13:45:04,130 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found jasperserver.war in deployment directory. To trigger deployment create a file called jasperserver.war.dodeploy

 

 

navin_162_1's picture
Joined: Mar 6 2018 - 2:21am
Last seen: 2 years 3 months ago

1 Answer:

It looks like your JNDI data source is already registered. Have you already insatlled JasperServer to that Wildfly? Could be a left-over from previous configuration/deployment.

Friendly User's picture
Joined: Oct 8 2009 - 5:59am
Last seen: 1 month 2 days ago
Feedback
randomness