On 27/06/2013 12:09, Gurpreet Bagga wrote:
Hi Francesco,
I ran 'mvn clean package' on syncopeOnJBoss-master and then deployed
syncope.war; but still getting similar error messages. Please find
attached the log file. I believe, I should now try with a different
version of Jboss... i.e. JBoss AS 7.0
Logs keep saying the same thing. Only JBoss AS 7.1.1 is supported.
I have just run again the github project and this is working: please be
sure to have a clean JBoss instance.
Regards.
*From:*Francesco Chicchiriccò [mailto:[email protected]]
*Sent:* Thursday, June 27, 2013 2:04 AM
*To:* [email protected]
*Subject:* Re: openjpa errors while setting up syncope in real environment
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/