Jump to content
Changes to the Jaspersoft community edition download ×

Jasperserver 6.0 with JBoss 8 (Wildfly)


philip.mcdonald

Recommended Posts

I was having problems installing jasper server onto jboss 4.2.3 - which is what our product currently runs on. I couldn't find any way around this but our product has (in dev) recently moved to JBoss 8. Unfortunately I can't get jasper to deploy on jboss 8 from the war file install (I did set appServerType = jboss-as-7). 

Has anyone had any success with installing jasperserver on jboss 8 (or jboss 4.2.3)?

I've never had any issues with the war file install against Jboss 4.2.3 for jasper server 4.5->5.2

Error I get is:

2015-01-07 13:55:26,511 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."jasperserver-pro.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jasperserver-pro.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "jasperserver-pro.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
Caused by: javax.validation.ValidationException: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.
at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:271)
at org.hibernate.validator.internal.cdi.ValidationExtension.<init>(ValidationExtension.java:120)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_09]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_09]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_09]
at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_09]
at java.lang.Class.newInstance0(Class.java:372) [rt.jar:1.7.0_09]
at java.lang.Class.newInstance(Class.java:325) [rt.jar:1.7.0_09]
at org.jboss.as.weld.deployment.WeldPortableExtensions.tryRegisterExtension(WeldPortableExtensions.java:54)
at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:121)
at org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:81)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.1.0.Final.jar:8.1.0.Final]
... 5 more
 
2015-01-07 13:55:26,534 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "jasperserver-pro.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit."jasperserver-pro.war".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit."jasperserver-pro.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "jasperserver-pro.war"
    Caused by: javax.validation.ValidationException: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath."}}
2015-01-07 13:55:26,562 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 31) JBAS018559: Deployed "ojdbc6-1.0.jar" (runtime-name : "ojdbc6-1.0.jar")
2015-01-07 13:55:26,563 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 31) JBAS018559: Deployed "jasperserver-pro.war" (runtime-name : "jasperserver-pro.war")
2015-01-07 13:55:26,564 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."jasperserver-pro.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jasperserver-pro.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "jasperserver-pro.war"
 
2015-01-07 13:55:26,799 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010409: Unbound data source [java:/jdbc/jasperserver]
2015-01-07 13:55:26,800 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-10) JBAS010409: Unbound data source [java:/jdbc/sugarcrm]
2015-01-07 13:55:26,800 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-15) JBAS010409: Unbound data source [java:/jdbc/foodmart]

 

Link to comment
Share on other sites

  • 1 month later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

i've got the same error under wildfly. Then i tryed to add hibernate-validator.jar to /web-inf/lib.

Then got the next error:

{"JBAS014671: Failed services" => {"jboss.deployment.unit."jasperserver.war".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit."jasperserver.war".WeldStartService: Failed to start service
    Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Set<Service> with qualifiers @Default
  at injection point [backedAnnotatedParameter] Parameter 1 of [backedAnnotatedConstructor] @Inject com.google.common.util.concurrent.ServiceManager(Set<Service>)
  at com.google.common.util.concurrent.ServiceManager.<init>(ServiceManager.java:0)
 
Have you solved all errors and deployed jasper to wildfly?
 
Link to comment
Share on other sites

i' ve found workaround.

Diasble weld subsystem.

add to jboss-deployment-structure.xml

 

 

Not tested all features yet, but in first look it seems to be working.

My configuration:

Jasperserver-CE

Wildfly 8.1

Oracle 12c (for repository)

 

Link to comment
Share on other sites

  • 1 year later...

You can install JasperReport and jboss on the same server?

both they use port 8080.

I've seen at other facilities running jboss 4.2 and JasperReport on the same server using port 8080. I have searched but can not find how to do it.

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...