Skip to content

Software Configuration

prenaudy edited this page Feb 14, 2019 · 110 revisions

Introduction

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.

Build for DocDokuPLM 2.5.X version

To build the software you will need few more software.

  • Maven: Don't forget to set the MAVEN_HOME environment variable.

Note

  1. The ear generated ("eplmp-server-ear.ear") will be locate in eplmp/eplmp-server/eplmp-server-ear/target
  2. EPLMP must be built before docdokuplm

Build Process

First, execute those commands line in a shell

git clone https://github.com/polarsys/eplmp.git
cd eplmp
git checkout remotes/origin/develop
mvn install
cd ..

Then, from the docdokuplm root directory,which shall recovered from the dedicated git directory do the following commande line

git clone https://github.com/docdoku/docdoku-plm
cd docdoku-plm
git checkout remotes/origin/dev
mvn install 

Deployment for DocDokuPLM 2.5.X version

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.

Using the administrator console

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

Using the command line

{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};

Plugins

You can deploy some plugins in DocDokuPLM 2.5.X. 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.X.ear
  • docdoku-plm/converter-dae/converter-dae-ear/target/converter-dae-ear-2.5.X.ear
  • docdoku-plm/converter-ifc/converter-ifc-ear/target/converter-ifc-ear-2.5.X.ear
  • docdoku-plm/converter-obj/converter-obj-ear/target/converter-obj-ear-2.5.X.ear
  • docdoku-plm/converter-step/converter-step-ear/target/converter-step-ear-2.5.X.ear
  • docdoku-plm/importer-attributes/importer-attributes-ear/target/importer-attributes-ear-2.5.X.ear
Clone this wiki locally