Hi.

I'm probably missing something very basic regarding the instructions for

JBoss AS 7.1,
./core/src/main/resources/persistenceContextEMFactory.xml
and the instructions for:

<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)"/>


In localhost.2013-02-24.log:

Feb 24, 2013 10:24:40 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException:

Error creating bean with name 'wfAdapter':
Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:

Could not autowire field: private org.activiti.engine.RuntimeService
org.apache.syncope.core.workflow.ActivitiUserWorkflowAdapter.runtimeService; nested exception is org.springframework.beans.factory.BeanCreationException:

Error creating bean with name 'processEngine':
FactoryBean threw exception on object creation;
nested exception is org.springframework.transaction.CannotCreateTransactionException:
Could not open JPA EntityManager for transaction;
nested exception is <openjpa-2.2.1-r422266:1396819 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException:
org.apache.syncope.core.persistence.openjpa.jbosspersistencemappingfact...@46ea96db.urls = vfs:/content/syncope.war/WEBINF/classes/

...

Caused by: <openjpa-2.2.1-r422266:1396819 nonfatal user error>
org.apache.openjpa.util.UserException: unknown protocol: vfs
at org.apache.openjpa.meta.AbstractCFMetaDataFactory.setURLs(AbstractCFMetaDataFactory.java:135)
        ... 86 more
Caused by: java.net.MalformedURLException: unknown protocol: vfs


The environment is
ubuntu server 12.04

java version "1.7.0_15"
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

jboss-as-7.1.1.Final.tar.gz
ogs-3.1.2.2-unix.sh

apache-maven-3.0.5-bin.tar.gz
apache-tomcat-7.0.37.tar.gz

Apache Syncope 1.0.5

Any and all clues are welcome.

Thanks,

Edward Siewick


Reply via email to