Hi to all.
I have an EAR with a lot of modules and library in it.
I use
wildfly 8.1.0 and eclipselink 2.5.2 as persistence provider.
Suppose i have wildfly started, then i open the console and deploy the EAR: ok!
I can access web pages, do login with JAAS , read data from DB with EJB+JPA.
Shutdown wildfly and restart it...
2015-09-16 12:40:22,913 INFO [org.jboss.as] (MSC service thread 1-5) JBAS015899: WildFly 8.1.0.Final "Kenny" starting
The server start to autodeploy my EAR
2015-09-16 12:40:25,134 INFO [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015876: Starting deployment of "BssWebCore_ear-1.0-SNAPSHOT.ear" (runtime-name: "BssWebCore_ear-1.0-SNAPSHOT.ear")
then it deploies persistence
unit,
EJB and a
soap web service... all ok
After that, it starts javax.ws.rs.core.Application for REST web service and I get the following error:
In my javax.ws.rs.core.Application i read the jndi to start as REST resource from a DB using an EJB.
If i disabled the EAR and re-enable it, all work fine!
Tested also on wildfly 8.2.0.Final with same results
What can be the problem?