-
Notifications
You must be signed in to change notification settings - Fork 107
Software Configuration
Once the prerequisite software have been installed, it's time to deploy the application itself. This part is explained in this page.
You can either build the EAR from source or you can download it from DocDokuPLM website and jump to the configuration part.
To build the software you will need few more software.
- Maven: Don't forget to set the MAVEN_HOME environment variable.
- The ear generated will be locate in eplmp-server/eplmp-server-ear/target/
- EPLMP must be built before docdokuplm
First, execute those commands line in a shell
git clone https://github.com/polarsys/eplmp.git
cd eplmp
mvn clean install
Then, from the docdokuplm root directory,which shall recovered from the dedicated git directory do the following commande line
mvn install
First if you don't have payara server, download it from the following URL (fish.payara.distributions:payara:4.1.2.181). Unzip it and create a domain as describe here.
To deploy the modified eplmp-server-ear.ear, we have to start the payara server and log into the admin console (http://localhost:4848/). Then click on "Applications> Enterprise Applications> Deploy", browse your local drive to select the "eplmp-server-ear.ear" file and upload it to the server. By default, the port is 8080, but you can change it from there: Configurations > server-config > Network Config > Network Listeners > http-listener-1
{payara install dir}/bin/asadmin stop-domain {domainName};// If not already stopped
cp {ear dir}/eplmp-server-ear.ear {payara install dir}/glassfish/domains/{domainName}/autodeploy/;
{payara install dir}/bin/asadmin set server.http-service.http-listener.http-listener-1.port={port};
{payara install dir}/bin/asadmin start-domain {domainName};
First you must clone eplmp repository and compile the new created directory with the good version (2.5.0)
git clone https://github.com/polarsys/eplmp.git
cd eplmp
git checkout 2.5.0
mvn clean install
cd ..
Then you must clone docdoku-plm repository and compile the new created directory with the same version as eplmp
git clone https://github.com/docdoku/docdoku-plm
cd docdoku-plm
git checkout 2.5.0
mvn clean install
You can deploy some plugins in DocDokuPLM 2.5.0. Copy them to the autodeploy folder ({payara install dir}/glassfish/domains/<domain_name>/autodeploy), or with asadmin command.
Plugins available:
- docdoku-plm/converter-all/converter-all-ear/target/converter-all-ear-2.5.0.ear
- docdoku-plm/converter-dae/converter-dae-ear/target/converter-dae-ear-2.5.0.ear
- docdoku-plm/converter-ifc/converter-ifc-ear/target/converter-ifc-ear-2.5.0.ear
- docdoku-plm/converter-obj/converter-obj-ear/target/converter-obj-ear-2.5.0.ear
- docdoku-plm/converter-step/converter-step-ear/target/converter-step-ear-2.5.0.ear
- docdoku-plm/importer-attributes/importer-attributes-ear/target/importer-attributes-ear-2.5.0.ear