0 Replies Latest reply on Jun 1, 2014 5:51 PM by david limkys

    EJB Invocation failed on component,  Failed to construct component instance.

    david limkys Newbie

      Hello I'm having a problom migrating a system to WildFly from jboss as 7. (app is fully running on jboss as 7)

       

      When starting the system EJB's are called and its all fine and dandy but for some reason when i call a local EJB from a remote EJB i get the

      JBAS014134: EJB Invocation faild on component someEJB for method public abstract returnValue someEJB.method() : EJBTransactionRolledbackException: JBAS011048:Failed to construct component instance.

       

      Then i get the

       

      IllegalAccessError class EJBLocator can not access a member of class $Proxy56 with modifiers "public"

       

      Unfortunetly My code and work are on a secured closed network so i can not copy paste the full stacktrace, but thrust me those are the only exceptions.

       

      right beafore the exceptions are fired i get 2 debug messages

      - from jboss.as.jpa - closing entity managerseesion

      - from hibernate.engine.jdbc.internal - Aggressively releasing JDBC connections.

       

      I'm truly at a loss here, I have been working on this for a couple of days now and have no clue what can be done to fix this.

      Any idea will help.

       

      Thanks in advance.