-
1. Re: Wildfly 10: Cannot upload deployment, Required services that are not installed
mayerw01 Sep 26, 2016 12:24 PM (in response to errollsipagan)>>> DuplicateServiceException
You should either install the datasource via admin or -ds.xml, not both.
But -ds.xml file deployments are deprecated. Support may be removed in a future version.
-
2. Re: Wildfly 10: Cannot upload deployment, Required services that are not installed
errollsipagan Sep 26, 2016 9:03 PM (in response to mayerw01)Thank you Wolfgang Mayer, I've removed the -ds.xml and just left the persistence.xml :
<jta-data-source>java:jboss/datasources/PostgresDS</jta-data-source>
So I'm telling my war to use PostgresDS datasource installed in the admin right?
I'm not having PostgresDS is already registered error any more but having these one
Cannot upload deployment: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"member.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"member.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"member.war\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Unexpected EOF in prolog at [row,col {unknown-source}]: [52,0] Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [52,0]"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"member.war\".PARSE"],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}
I'm sorry, I'm just a beginner trying to learn...
-
3. Re: Wildfly 10: Cannot upload deployment, Required services that are not installed
errollsipagan Sep 26, 2016 10:32 PM (in response to mayerw01)Do not reply my last reply. I've already deployed my war and I can see the data on the postgresql db. Thank you for telling me that I should not configure twice the datasource, via -ds.xml or admin.