Hey,

Thank you very much. This fixed the error in an instant!

With best thanks

Tobias Poswistak

Am 16.12.2015 um 14:56 schrieb Martin Grigorov:
Hi,

The error says that WildFly tries to do CDI work.
Jetty is just a web server and doesn't support Java EE stuff like CDI.
Try to disable CDI support for this application (I have no idea how
exactly).

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Dec 16, 2015 at 1:49 PM, Tobias Poswistak <[email protected]> wrote:

I also asked this question on Stack Overflow [1]

I'm trying to deploy an Apache Isis project on a WildFly server.

The project is just the/simpleapp-archetype-1.10.0/and it starts and works
well with*mvn antrun:run -P self-host*and*mvn jetty:run-war*.

For the jetty part, I added configuration to the org.eclipse.jetty plugin
of the parent pom.xml

|<plugin> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.2.v20150730</version> <configuration>
<war>${project.basedir}/webapp/target/simpleapp.war</war> </configuration>
</plugin> |

Now I wanted to deploy this on a WildFly server, but I get the following
error:

    Cannot upload deployment: {"WFLYCTL0080: Failed services" =>
    {"jboss.deployment.unit.\"simpleapp.war\".WeldStartService" =>
    "org.jboss.msc.service.StartException in service
    jboss.deployment.unit.\"simpleapp.war\".WeldStartService: Failed to
    start service Caused by:
    org.jboss.weld.exceptions.DeploymentException: WELD-001408:
    Unsatisfied dependencies for type IsisJdoSupport with qualifiers
    @Default at injection point [BackedAnnotatedField] @Inject

  
org.apache.isis.objectstore.jdo.datanucleus.service.support.TimestampService.isisJdoSupport
    at

  
org.apache.isis.objectstore.jdo.datanucleus.service.support.TimestampService.isisJdoSupport(TimestampService.java:0)
    "}}

How can I fix this error, and why does jetty bypass this error ?

Regards

------------------------------------------------------------------------
[1]
http://stackoverflow.com/questions/34311775/deploying-apache-isis-on-wildfly




Reply via email to