On 27/06/2013 07:30, Gurpreet Bagga wrote:
Hello All,
I am referring to following link to setup Syncope in real environment:
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments
In the end, when I build and deploy syncope.war to JBoss AS 7.1.1, I
am getting openjpa errors. Although, I have updated
persistenceContextEMFactory.xml with /<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)"/>/
Please find attached log file for details.
Any idea what can be the problem? I am using MySQL 5.6 as my database
server.
Hi,
by taking a look at the log files, it seems that the change reported in
the wiki page mentioned above was not made effective, e.g. that the
persistenceContextEMFactory.xml currently deployed on JBoss is not
working as expected.
I'd suggest to take a look at [1], a reference Syncope JBoss project
which has proven to work: you might want to upgrade it to Syncope 1.1.2 [2].
HTH
Regards.
[1] https://github.com/Tirasa/syncopeOnJBoss/
[2]
https://cwiki.apache.org/confluence/display/SYNCOPE/Upgrade+from+1.1.1+to+1.1.2
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/