I am trying to deploy my struts based web application on Wildfly 9.0.1.Final.
I am deploying as an .ear file that contains .war/.jar(EJB) files.
But it gives me
You have to make sure your datasource is defined. In your standalone-full.xml you need to include the definition, something like:
jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
h2
sa
sa
"java:datasources/WEBFDMS" might have to be "java:jboss/datasources/WEBFDMS"
Of course, this datasource definition will simply create an in-memory datasource. In order to connect to a running database (mysql, oracle, etc) you will have to configure it differently.