
If you use the ‘.PersistenceProvider’ in the persistence.xml it is important to add the afterwards with the following command form the WildFly bin/ folder when WildFly is running.
GLASSFISH WEB XML UPDATE
Both implementation shuld do the same thing but it is a good idea to stay with EclipseLink, if you started with it. You can add EclipseLink very easy by adding eclipselink.jar (eclipselink-2.5.1.jar) into the folder modules/system/layers/base/org/eclipse/persistence/mainĪnd update the configuration in modules/system/layers/base/org/eclipse/persistence/main/module.xmlĪdd the tag into the section ‘resources as described here.įor wildfly 9 you need to change the resource-root like this:

JBoss and Wildfly use in default Hibernate. Now you can open the administration consol: JPA – EclipseLinkĪs I have developed JEE on GlassFish I use EclipseLink as the JPA implementation. Run the following script form the bin folder and enter the requested information. Before you can open the Admin Console you need to add a ‘Management user’. WildFly comes with a Admin Console like GlassFish. This will start the web container at: Alternatively you can change the socket-binding in standalone.xml file to define a general port offset: Ī non conflicting value beside a GlassFish installation is a port-offset of 1 Admin Console

To start WildFly with different port base you can use the run option “-offset”. WildFly uses the same http port number (8080) as GlassFish. Now you can open WildFly from your browser: Configure Port-Offset To start WildFly 8 using the default web profile configuration in “ standalone” mode, change directory to /bin/ and run.
GLASSFISH WEB XML ARCHIVE
Just unpack the WildFly archive (wildfly-8.0.0.) into your target folder (e.g. Installation of WildFly is as easy as it was for GlassFish. The examples show the configuration for the Imixs Office Workflow Suite. I am working on Linux Debian 7 and using Open JDK 1.7.0_55. So it’s not the easy hello-world example. This EAR contains EJBs, Web, and REST modules and includes TimerServices, Security Issues and custom servlets. In this blog I just want to post some of my thoughts about migrating from GlassFish to WildFly. The main issue here for me is to deploy an existing EAR currently running on GlassFish 3.
