java - Need to restart JBoss after each test -



java - Need to restart JBoss after each test -

i have complex testcase breaks downwards entitymgr.persist(rra);. first time start testcase after jboss eap 6.2.4 has been started, succeed expected. sec time start testcase, fail next exception:

javax.ejb.ejbexception: javax.persistence.persistenceexception: org.hibernate.propertyaccessexception: illegalargumentexception occurred calling getter of de.nvg.aelkf.ruleengine.dto.relregelarbeitsschluesselid.gueltigabtimestamp caused by: javax.persistence.persistenceexception: org.hibernate.propertyaccessexception: illegalargumentexception occurred calling getter of de.nvg.aelkf.ruleengine.dto.relregelarbeitsschluesselid.gueltigabtimestamp ... 130 more caused by: org.jboss.arquillian.test.spi.arquillianproxyexception: org.hibernate.propertyaccessexception : illegalargumentexception occurred calling getter of de.nvg.aelkf.ruleengine.dto.relregelarbeitsschluesselid.gueltigabtimestamp [proxied because : original exception caused: class java.lang.classnotfoundexception: org.hibernate.propertyaccessexception] ... 172 more caused by: java.lang.illegalargumentexception: object not instance of declaring class ... 217 more

the persist works when utilize application. when starting testcase n+1th time error. before figuring out have restart server every time (btw. using arquillian 1.1.5) got outofmemory exception of kind (something permgen...). thought jboss has memory leak.

is bug? can't understand exception

really strange. suggest seek test remote jboss 7.1.1 or wildfly 8.1. , post here results.

java hibernate jboss jboss-arquillian

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -