On 20/10/2013 21:45, Paolo Stopponi wrote:
Hi,
I have a problem with Syncope v.1.1.4, because it’s not compatible with
Jboss 7.1.1.
I use this configuration for environment:
Application-server: Jboss AS 7 (EAP 6.1)
JDK: v. 1.7
Oracle 11g
Syncope v. 1.1.4
OpenJPA v. 2.2.2
I tried also with https://github.com/Tirasa/syncopeOnJBoss, but it’s
not work.
What may be the problem?
Hi,
Syncope 1.1.X has proven to be fully compatible with JBoss AS 7.1.1 and
features a dedicated integration test profile for checking this specific
compatibility.
Moreover, my company currently hosts our public Syncope demo [1] at
OpenShift (via JBoss AS 7.1.1)
We have created the sample project, hosted at GitHub, reported above,
only to show a sample of how Syncope can be configured to run with JBoss
AS 7.1.1, as reported in [2].
Having said this, I am not sure at all that EAP 6.1 is fully equivalent
to JBoss AS 7.1.1 - the fix we use (e.g. JBossPersistenceMappingFactory)
for making OpenJPA able to run with JBoss is working AFAIK only with
JBoss AS > 7.1; the error message below:
Caused by: org.apache.openjpa.persistence.ArgumentException: An error
occurred while parsing the query filter "SELECT e FROM
ExternalResource e".
Error message: The name "ExternalResource" is not a recognized entity or
identifier. Perhaps you meant ExternalResource, which is a close match.
Known entity names: [AbstractSchema, ExternalResource, RAttrUniqueValue,
Abstract
only confirms my suspects: either JBossPersistenceMappingFactory is not
configured correctly or simply does not work with your JBoss version.
Regards.
[1] http://syncopedemo.tirasa.net/
[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/