Moving Glassfish ressource configuration to a different installation

For a project I configured in the Web-Console ( http://:4848 ) of Glassfish
the JMS and JDBC-Resources necessary for an EJB application.

On a new installation I had to move the Resources.

I installed Glassfish as described on the download site.
Copied the domain.xml in the domain1/config/ directory to the new site.

Here you may have to delete the applications MEjbApp, __ejb_contianer_timer_app and __JWSappclients and the application reference further down in the file.
Just lookup the entries in domain.xml and delete them. These applications
are created dynamically.

You have also to change the the JMS host in the XML-Tag jms-host

After this the new Glassfish has the necessary resources.