Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VRaptor as WildFly module #1130

Open
IvoSestren opened this issue Jul 5, 2018 · 0 comments
Open

VRaptor as WildFly module #1130

IvoSestren opened this issue Jul 5, 2018 · 0 comments

Comments

@IvoSestren
Copy link
Contributor

When using vraptor or iogi as the wildfly module, several errors occur in the CDI.
All other VRaptor dependencies work perfectly as a WildFly module.
It would be possible to make the necessary changes in iogi and VRaptor so that it is possible to use it like this, so you do not have to always send it together within the generated .WAR of the projects.

Error:

java.lang.Exception: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"api.war\".WeldStartService" => "Failed to start service
    Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Logger with qualifiers @Default
  at injection point [BackedAnnotatedParameter] Parameter 2 of [BackedAnnotatedConstructor] @Inject public br.com.strn.ec.core.api.controller.IndexController(Result, Logger)
  at br.com.strn.ec.core.api.controller.IndexController.<init>(IndexController.java:0)
"},"WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {"Services that were unable to start:" => ["jboss.deployment.unit.\"api.war\".CdiValidatorFactoryService","jboss.deployment.unit.\"api.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".WeldInstantiator","jboss.deployment.unit.\"api.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".WeldInstantiator","jboss.deployment.unit.\"api.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".WeldInstantiator","jboss.deployment.unit.\"api.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".WeldInstantiator","jboss.deployment.unit.\"api.war\".weld.weldClassIntrospector"],"Services that may be the cause:" => ["jboss.clustering.web.route.default-server","jboss.deployment.unit.\"api.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".START","jboss.deployment.unit.\"api.war\".component.\"javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV\".WeldInstantiator","jboss.deployment.unit.\"api.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".START","jboss.deployment.unit.\"api.war\".component.\"javax.servlet.jsp.jstl.tlv.ScriptFreeTLV\".WeldInstantiator","jboss.deployment.unit.\"api.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".START","jboss.deployment.unit.\"api.war\".component.\"org.jboss.weld.module.web.servlet.WeldInitialListener\".WeldInstantiator","jboss.deployment.unit.\"api.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".START","jboss.deployment.unit.\"api.war\".component.\"org.jboss.weld.module.web.servlet.WeldTerminalListener\".WeldInstantiator","jboss.deployment.unit.\"api.war\".ee.ComponentRegistry","jboss.deployment.unit.\"api.war\".weld.weldClassIntrospector","jboss.iiop-openjdk.poa-service.rootpoa","jboss.txn.service.remote","jboss.undertow.deployment.default-server.default-host./api","jboss.undertow.deployment.default-server.default-host./api.UndertowDeploymentInfoService","jboss.xts.handlers","org.wildfly.clustering.cache.default-service-provider-registry.ejb","org.wildfly.clustering.cache.default-service-provider-registry.web","org.wildfly.clustering.cache.group.ejb.passivation","org.wildfly.clustering.cache.group.hibernate.entity","org.wildfly.clustering.cache.group.hibernate.local-query","org.wildfly.clustering.cache.group.hibernate.timestamps","org.wildfly.clustering.cache.group.server.client-mappings","org.wildfly.clustering.cache.group.server.default","org.wildfly.clustering.cache.group.web.client-mappings","org.wildfly.clustering.cache.group.web.default-server","org.wildfly.clustering.cache.group.web.passivation","org.wildfly.clustering.cache.registry.ejb.passivation","org.wildfly.clustering.cache.registry.server.default","org.wildfly.clustering.cache.registry.web.passivation","org.wildfly.clustering.cache.registry-entry.ejb.passivation","org.wildfly.clustering.cache.registry-entry.hibernate.entity","org.wildfly.clustering.cache.registry-entry.hibernate.local-query","org.wildfly.clustering.cache.registry-entry.hibernate.timestamps","org.wildfly.clustering.cache.registry-entry.server.client-mappings","org.wildfly.clustering.cache.registry-entry.server.default","org.wildfly.clustering.cache.registry-entry.web.client-mappings","org.wildfly.clustering.cache.registry-entry.web.default-server","org.wildfly.clustering.cache.registry-entry.web.passivation","org.wildfly.clustering.cache.registry-factory.ejb.passivation","org.wildfly.clustering.cache.registry-factory.hibernate.entity","org.wildfly.clustering.cache.registry-factory.hibernate.local-query","org.wildfly.clustering.cache.registry-factory.hibernate.timestamps","org.wildfly.clustering.cache.registry-factory.server.client-mappings","org.wildfly.clustering.cache.registry-factory.server.default","org.wildfly.clustering.cache.registry-factory.web.client-mappings","org.wildfly.clustering.cache.registry-factory.web.default-server","org.wildfly.clustering.cache.registry-factory.web.passivation","org.wildfly.clustering.cache.service-provider-registry.ejb.client-mappings","org.wildfly.clustering.cache.service-provider-registry.ejb.passivation","org.wildfly.clustering.cache.service-provider-registry.hibernate.entity","org.wildfly.clustering.cache.service-provider-registry.hibernate.local-query","org.wildfly.clustering.cache.service-provider-registry.hibernate.timestamps","org.wildfly.clustering.cache.service-provider-registry.server.client-mappings","org.wildfly.clustering.cache.service-provider-registry.server.default","org.wildfly.clustering.cache.service-provider-registry.web.client-mappings","org.wildfly.clustering.cache.service-provider-registry.web.default-server","org.wildfly.clustering.cache.service-provider-registry.web.passivation","org.wildfly.clustering.command-dispatcher-factory.ejb","org.wildfly.clustering.command-dispatcher-factory.hibernate","org.wildfly.clustering.command-dispatcher-factory.local","org.wildfly.clustering.command-dispatcher-factory.server","org.wildfly.clustering.command-dispatcher-factory.web","org.wildfly.clustering.default-command-dispatcher-factory","org.wildfly.clustering.group.hibernate","org.wildfly.clustering.group.server","org.wildfly.clustering.group.web","org.wildfly.clustering.infinispan.cache.ejb.passivation","org.wildfly.clustering.infinispan.cache.hibernate.entity","org.wildfly.clustering.infinispan.cache.hibernate.local-query","org.wildfly.clustering.infinispan.cache.hibernate.timestamps","org.wildfly.clustering.infinispan.cache.server.client-mappings","org.wildfly.clustering.infinispan.cache.server.default","org.wildfly.clustering.infinispan.cache.store.hibernate.entity","org.wildfly.clustering.infinispan.cache.store.hibernate.local-query","org.wildfly.clustering.infinispan.cache.store.hibernate.timestamps","org.wildfly.clustering.infinispan.cache.store.server.default","org.wildfly.clustering.infinispan.cache.store.web.passivation","org.wildfly.clustering.infinispan.cache.web.client-mappings","org.wildfly.clustering.infinispan.cache.web.default-server","org.wildfly.clustering.infinispan.cache.web.passivation","org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity","org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity.expiration","org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity.locking","org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity.memory","org.wildfly.clustering.infinispan.cache-configuration.hibernate.entity.transaction","org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query","org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query.expiration","org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query.locking","org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query.memory","org.wildfly.clustering.infinispan.cache-configuration.hibernate.local-query.transaction","org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps","org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps.expiration","org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps.locking","org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps.memory","org.wildfly.clustering.infinispan.cache-configuration.hibernate.timestamps.transaction","org.wildfly.clustering.infinispan.cache-configuration.server.client-mappings","org.wildfly.clustering.infinispan.cache-configuration.server.default","org.wildfly.clustering.infinispan.cache-configuration.server.default.expiration","org.wildfly.clustering.infinispan.cache-configuration.server.default.locking","org.wildfly.clustering.infinispan.cache-configuration.server.default.memory","org.wildfly.clustering.infinispan.cache-configuration.server.default.transaction","org.wildfly.clustering.infinispan.cache-configuration.web.client-mappings","org.wildfly.clustering.infinispan.cache-configuration.web.default-server","org.wildfly.clustering.infinispan.cache-configuration.web.passivation","org.wildfly.clustering.infinispan.cache-configuration.web.passivation.expiration","org.wildfly.clustering.infinispan.cache-configuration.web.passivation.locking","org.wildfly.clustering.infinispan.cache-configuration.web.passivation.memory","org.wildfly.clustering.infinispan.cache-configuration.web.passivation.transaction","org.wildfly.clustering.infinispan.cache-configuration.web.passivation.write","org.wildfly.clustering.infinispan.cache-container.hibernate","org.wildfly.clustering.infinispan.cache-container.server","org.wildfly.clustering.infinispan.cache-container.web","org.wildfly.clustering.infinispan.cache-container-configuration.hibernate","org.wildfly.clustering.infinispan.cache-container-configuration.hibernate.transport","org.wildfly.clustering.infinispan.cache-container-configuration.server","org.wildfly.clustering.infinispan.cache-container-configuration.server.transport","org.wildfly.clustering.infinispan.cache-container-configuration.web","org.wildfly.clustering.infinispan.cache-container-configuration.web.transport","org.wildfly.clustering.infinispan.default-cache.ejb","org.wildfly.clustering.infinispan.default-cache.web","org.wildfly.clustering.infinispan.default-cache-configuration.server","org.wildfly.clustering.infinispan.default-cache-configuration.web"]}}

Project for test in https://github.com/IvoSestren/vraptor-wildfly-module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant