This link will apply for 2.0.0 also? Thanks, Raj On Dec 7, 2016 5:33 PM, "Francesco Chicchiriccò" <[email protected]> wrote:
> On 07/12/2016 12:56, PSYND wrote: > >> Hello, >> >> we are trying to deploy the following stack using the MVN procedure: >> - JDK-8.111 >> - MVN-3.10 >> - MariaDB >> - Wildfly10 / Tomcat8 >> - Syncope2.0.1 >> >> we followed the two documentations presented here: >> - http://syncope.apache.org/docs/getting-started.html#maven-project >> - http://syncope.apache.org/docs/reference-guide.html#mariadb >> - http://syncope.apache.org/docs/reference-guide.html#apache- >> tomcat-8-and-8-5 >> - http://syncope.apache.org/docs/reference-guide.html#wildfly-9-and-10 >> >> and we tried to configure two different archetypes, one for Tomcat and >> the other for Wildfly. >> >> Using Wildfly we deploy the JDBC driver of MariaDB, we test the >> connectivity and it's working. >> >> We deploy the syncope.war but it fails. >> We deploy syncope-console.war and syncope-enduser.war and they can be >> deployed. >> We deploy one more time the syncope.war and we get this error again: >> >> Cannot upload deployment: {"WFLYCTL0080: Failed services" => >> {"jboss.deployment.unit.\"syncope.war\".WeldStartService" => >> "org.jboss.msc.service.StartException in service >> jboss.deployment.unit.\"syncope.war\".WeldStartService: Failed to start >> service Caused by: org.jboss.weld.exceptions.DeploymentException: >> WELD-001409: Ambiguous dependencies for type Validator with qualifiers >> @Default at injection point [UnbackedAnnotatedField] @Inject private >> org.apache.bval.cdi.BValInterceptor.validator at >> org.apache.bval.cdi.BValInterceptor.validator(BValInterceptor.java:0) >> Possible dependencies: - ValidatorBean [id=org.hibernate.validator.in >> ternal.cdi.ValidatorBean_default], - org.apache.bval.cdi.ValidatorB >> ean@10e0f68c "},"WFLYCTL0412: Required services that are not installed:" >> => ["jboss.deployment.unit.\"syncope.war\".WeldStartService"],"WFLYCTL0180: >> Services with missing/unavailable dependencies" => undefined} >> >> Is there any step missing? >> > > Hi, > the documentation was updated since last release (2.0.1), specifically for > better handling of Maven build and Wildfly; please take a look at > > https://ci.apache.org/projects/syncope/reference-guide.html# > wildfly-9-and-10 > > and > > https://ci.apache.org/projects/syncope/reference-guide.html#customization > > towards the end, when the detailed build procedure > > $ mvn clean verify \ > -Dconf.directory=/opt/syncope/conf \ > -Dbundles.directory=/opt/syncope/bundles \ > -Dlog.directory=/opt/syncope/log > $ cp core/target/classes/*properties /opt/syncope/conf > $ cp console/target/classes/*properties /opt/syncope/conf > $ cp enduser/target/classes/*properties /opt/syncope/conf > > is reported. > > As you can see, the URL refers to the SNAPSHOT version of the guide, which > will reach the canonical URL > > http://syncope.apache.org/docs/reference-guide.html > > once next release (2.0.2) will be out. > > Sorry for the inconvenience. > Regards. > > -- > Francesco Chicchiriccò > > Tirasa - Open Source Excellence > http://www.tirasa.net/ > > Member at The Apache Software Foundation > Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail > http://home.apache.org/~ilgrosso/ > >
