You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2017/02/12 07:35:42 UTC

[jira] [Closed] (SYNCOPE-1011) Deploying Apache Syncope 1.2.10 Intermezzo in Wildfly 10.x

     [ https://issues.apache.org/jira/browse/SYNCOPE-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Chicchiriccò closed SYNCOPE-1011.
-------------------------------------------
    Resolution: Not A Problem

Syncope 1.2 does not support Wildfly 10, only 8.1

You must follow this guide:

https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments#RunSyncopeinrealenvironments-Wildfly8.1

> Deploying Apache Syncope 1.2.10 Intermezzo in Wildfly 10.x
> ----------------------------------------------------------
>
>                 Key: SYNCOPE-1011
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1011
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.2.10
>         Environment: Windows - wildfly-10.1.0.Final
>            Reporter: Ravi Singareddy
>
> Downloaded Apache Syncope 1.2.10 Intermezzo
> 1)	Created  Following datasource in wildfly\standalone\configuration\standalone.xml
> <datasource jndi-name="java:/jdbc/syncopeDataSource" pool-name="syncopeDataSource" enabled="true" use-java-context="true">
>                     <connection-url>jdbc:postgresql://localhost:5432/syncope</connection-url>
>                     <driver>postgresql</driver>
>                     <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
>                     <pool>
>                         <min-pool-size>10</min-pool-size>
>                         <max-pool-size>50</max-pool-size>
>                     </pool>
>                     <security>
>                         <user-name>postgres</user-name>
>                         <password>*******</password>
>                     </security>
>                 </datasource>
>                 <drivers>
>                     <driver name="postgresql" module="org.postgresql">
>                         <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
>                     </driver>
>                     <driver name="h2" module="com.h2database.h2">
>                         <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
>                     </driver>
>                 </drivers>
>             </datasources>
> 2)	Unchecked following in core\src\main\webapp\WEB-INF\web.xml
> <resource-ref>
>     <res-ref-name>jdbc/syncopeDataSource</res-ref-name>
>     <res-type>javax.sql.DataSource</res-type>
>     <res-auth>Container</res-auth>
>   </resource-ref>
> 3)	compiled source code using following command.
> $$ mvn clean install -DskipTests
> 4)	Deployed syncope.war file in deployments.
> 5)	Syncope war did not startup because of following error.
>    Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.syncope.core.rest.data.DoubleValueAttributableTransformer] for bean with name '${attributableTransformer}#0' defined in VFS resource [\"/D:/code/framework/wildfly-10.1.0.Final/bin/content/syncope.war/WEB-INF/classes/restContext.xml\"]; nested exception is java.lang.ClassNotFoundException: org.apache.syncope.core.rest.data.DoubleValueAttributableTransformer from [Module \"deployment.syncope.war:main\" from Service Module Loader]
>     Caused by: java.lang.ClassNotFoundException: org.apache.syncope.core.rest.data.DoubleValueAttributableTransformer from [Module \"deployment.syncope.war:main\" from Service Module Loader]"},
>     "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./syncope"],
>     "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
> 6)	org.apache.syncope.core.rest.data.DoubleValueAttributableTransformer is defined under test package and it is not included in the syncope.war



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)