[
https://issues.jboss.org/browse/ARQ-1914?page=com.atlassian.jira.plugin.s...
]
Constantin Weißer commented on ARQ-1914:
----------------------------------------
Hi Aslak,
thanks for your quick response.
I changed this setting to 4.1. This does resolve the prior mentioned error but results in
this:
SEVERE: Exception while loading the app : WELD-001202 Error parsing
jar:file:/tmp/gfembed4868208385859575508tmp/applications/test/WEB-INF/lib/test.jar!/META-INF/beans.xml
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 8; XML document structures
must start and end within the same entity.
The respective file in the archive is:
https://gist.github.com/anonymous/703394b1d59dde7431a5
I ran a XML validator on it and it does not report any errors.
Arquillian embedded tests do not support @Convert/@Converter (JPA
2.1)
----------------------------------------------------------------------
Key: ARQ-1914
URL:
https://issues.jboss.org/browse/ARQ-1914
Project: Arquillian
Issue Type: Bug
Components: GlassFish Containers
Affects Versions: 1.1.6.Final
Reporter: Constantin Weißer
The arquillian glassfish embedded container (in the newest version 1.0.0.CR4) does simply
ignore @Convert annotations (JPA 2.1) which leads to errors when running tests that use
the persistence layer.
The error output contains
Internal Exception: Exception [EclipseLink-7155] (Eclipse Persistence Services -
2.2.0.v20110202-r8913)
which would explain, why it does not work. JPA 2.1 features are not implemented in
EclipseLink 2.2.0. Why does arquillian-glassfish-embedded use such an outdated version of
the persistence service?
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)