3 Replies Latest reply on Mar 17, 2016 9:26 PM by Scott Marlow

    Wildfly 8.2.1 to Wildfly 10.0.0

    Jon Morgan Newbie

      Hi Folks,

       

      I've developed a system under Wildfly 8.2.1 and i'm trying to get it working under Wildfly 10.0.0.

       

      The system worked on Wildfly 8.2.1, EclipseLink 2.5.2, JTA and postgresql 9.4

       

      I've attempted to get it working under Wildfly 10.0.0, EclipseLink 2.6.2, JTA and postgresql 9.4

      The problem is it's not persisting under the later combination of components.


      I've followed the Wildfly 10 using Eclipselink documentation  at JPA Reference Guide - WildFly 10 - Project Documentation Editor

       

      I'm fairly new to the Java world, any pointers greatly appreciated.

       

      Jon

        • 1. Re: Wildfly 8.2.1 to Wildfly 10.0.0
          Scott Marlow Master

          I would enable com.arjuna TRACE logging that shows the JTA transaction starting/ending.  Also, I would enable org.jboss.as.jpa (JPA) logging that shows what is going on at the JPA container level.  To do this, follow the instructions here.  The output will be in the WildFly application server console and also in the server.log file as well.

          • 2. Re: Wildfly 8.2.1 to Wildfly 10.0.0
            Jon Morgan Newbie

            Hello Scott,

             

            Thank you for your response. Very helpful.

             

            I actually started with a new environment.

            I downloaded Eclipse Neon - Oracle Enterprise Pack for Eclipse (12.2.1.2.1)

            Then installed Jboss tools from the marketplace which included the Wildfly 10.0.0 experimental server.

            Then added a user library to include Eclipselink 2.6.2

            This has got my app working again, i.e. it has solved the issue of not persisting.

             

            I'm curious to know if all of the above is possible to use with the Jboss developer studio?

            I downloaded 9.1.0 beta 2 and attempted to use it... but its JPA configuration is completely locked out (greyed out).

             

            I would also be interested to know what development tools are preferred by developers working with Wildfly?

            My development involves Java, Servlets, JPA, postgresql, Javascript, HTML5.

             

            Many thanks

             

            Jon

            • 3. Re: Wildfly 8.2.1 to Wildfly 10.0.0
              Scott Marlow Master

              Hi Jon,

               

              I'm not really sure why the JPA configuration is greyed out for you in JBoss developer studio.  I don't have any answers about which development tools are preferred by developers.  I know that some like http://tools.jboss.org and some like intellij.  I believe that both environments should work for you.  There is a developer studio user forum linked from here, perhaps you could ask how to unlock the JPA configuration menu there.

               

              Scott