On 15/05/2013 16:04, Savas Ziplies wrote:
Hi
Thanks for the quick reply.
How can I check that? If I do not use the "workaround" I result in
different errors, so I assumed it is actually taken into account.
Hi,
I have updated my sample "Syncope On JBoss" project [2] to Apache
Syncope 1.1.1 and just checked it works.
My guess is that something went wrong when replacing, in
core/src/MAIN/resources/persistenceContextEMFactory.xml
<entry key="openjpa.MetaDataFactory"
value="org.apache.syncope.core.persistence.openjpa.JBossPersistenceMappingFactory(URLs=vfs:${project.build.directory}/cargo/configurations/jboss71x/deployments/${project.build.finalName}.war/WEB-INF/classes/,
Resources=META-INF/orm.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)"/>
Anyway, you can take a look at [2] and understand where the issue is
actually.
HTH
Regards.
On Wed, May 15, 2013 at 3:17 PM, Francesco Chicchiriccò
<[email protected] <mailto:[email protected]>> wrote:
On 15/05/2013 14:38, Savas Ziplies wrote:
Hi
I am fiddling around for quite some time now and googled all
lists where possible but cannot find the solution, so wanna
kindly ask for help here.
I am following the
https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project
and
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments
documentation.
Nearly everything works fine. The project created, installed but
running leads to issues.
I have a fresh JBoss AS 7.1.1_final running with MySQL Module
5.1.25. Database is running (also gets populated after check).
After some back and forth and hints from mailing list and other
forums I got further down the line.
But at the moment I am stucked with Core not running with the
below error. This relates to what is stated in
https://issues.apache.org/jira/browse/OPENJPA-2229 and also in
the Syncope documentation. I followed the steps and changed the
configs back and forth but it will just not run. Any help or
small pointing in the right direction is highly appreciated.
Hi,
you should check whether [1] is effectively applied.
Once done, rebuild and redeploy.
HTH
Regards.
[1]
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments#RunSyncopeinrealenvironments-Use%7B%7BJBossPersistenceMappingFactory%7D%7D
[2] https://github.com/Tirasa/syncopeOnJBoss
--
Francesco Chicchiriccò
ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/