Hi again,
about the wiki page, I've just fixed a stupid typo (WEB-INF instead of
WEBINF):
<entry key="openjpa.MetaDataFactory"
value="org.apache.syncope.core.persistence.openjpa.JBossPersistenceMappingFactory
(URLs=vfs:/content/${project.build.finalName}.war/WEBINF/classes/,
Resources=META-INF/orm.xml)"/>
should instead be
<entry key="openjpa.MetaDataFactory"
value="org.apache.syncope.core.persistence.openjpa.JBossPersistenceMappingFactory
(URLs=vfs:/content/${project.build.finalName}.war/WEB-INF/classes/,
Resources=META-INF/orm.xml)"/>
Besides this, everything was working fine.
Summarizing, here are the steps I've followed:
1. downloaded jboss-as-7.1.1.Final.zip and exploded in a directory (say
$JBOSS_HOME)
2. launched $JBOSS_HOME/bin/standalone.sh
3. executed $JBOSS_HOME/bin/add-user.sh (an admin user is needed to
access the web admin console)
4. generated a new Syncope project (following [1])
5. followed the updated [2] (for the sake of simplicity, I've configured
core/src/main/resources/persistence.properties for in-memory H2 and
removed <scope>test</scope> in core/pom.xml for the H2 dependency)
6. changed console/src/main/resources/configuration.properties from 9080
to 8080 (the default listening port for JBoss AS)
7. mvn clean package
8. $JBOSS_HOME/bin/jboss-cli.sh -c --command="deploy
core/target/syncope.war"
9. $JBOSS_HOME/bin/jboss-cli.sh -c --command="deploy
console/target/syncope-console.war"
HTH
Regards.
[1]
https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
[2]
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments#RunSyncopeinrealenvironments-JBossAS7.1
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/