Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



1. Change Diary Matrix in Maintenance

  • Open Patricia Maintenance
  • Navigate to Country/Law | Diary Matrix | Diary Matrix
  • Open up the Diary Matrix for "Patent - Top Matrix"

  • Add the new Field (which has been created in the script you ran above)

  • Do the same for all Casetypes you want to use with Pavis.


2. Install the Interface Software on your Patricia Application Server

  • Check if Java is already installed
  • open up a command line and enter

    Code Block
    languagepowershell
    themeEmacs
    Java -version

    if that Returns a value you already have Java installed.

  • In the  unlikely event that you do not already have Java installed, please install a Java Version of your choice.
    For reference please check here https://stackoverflow.com/questions/52511778/how-to-install-openjdk-11-on-windows or here https://www.java.com
  • open up the Server´s Firewall to grant Access from other Computers to port 8081
  • open up your Network´s Firewall for the Interface Software from your Patricia Application Server to connect to Pavis under the hostname https://www.pavis-online.com
  • download the most current version of the Interface Software pavis-rest.0.0.2022.jar
  • copy the file  to a new Folder called "C:\Pavis" (currently in Development, new Version will be here shortly, please contact us)

3. Edit the Database Connection inside the .jar File

  • a .jar File is a "renamed" .zip File
  • You can open it with any .zip unpacker/packer that you like, we recommend 7zip

  • Inside the .jar Archive, navigate to the file BOOT-INF\classes\application.properties


  • edit the database connection to your needs:

    Code Block
    languagejs
    titleapplication.properties
    spring.datasource.url=jdbc:sqlserver://localhost;databaseName=Patricia_Database
    spring.datasource.username=sa
    spring.datasource.password=Mysupersecretpassword.
    spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
    spring.jpa.show-sql=true
    spring.jpa.hibernate.dialect=org.hibernate.dialect.SQLServer2012Dialect
    spring.jpa.hibernate.ddl-auto=none
    spring.main.allow-bean-definition-overriding=true
    server.port=8081
  • copy the file "application.properties" outside of the .jar into the very same folder:
  • additionally, back inside the jar navigate to BOOT-INF\classes\static\static\media\ and open the cfg file:
  • copy the server name from the application.properties into the cfg file:


  • finally, save the document back into the .jar file

  • open up a command line and enter

  • Code Block
    languagepowershell
    themeEmacs
    java -jar C:\Pavis\pavis-rest-0.0.22.jar
  • please note: when you close the command line window, the application will stop. see further below for installing a permanent instance.


pavis-rest.0.0.22.jar

Panel

Auf dieser Seite:

Table of Contents

5. Validate the Installation

  • Open Up Patricia
  • On the "Web" Tab you should see an entry named "PAVIS"
  • Click this and you should see something like this:
  • If this fails, it is very likely that your Internet Explorer does not allow Javascript .


6. Make the application start after a reboot

Se
  • Create a new Task in Windows Task Scheduler
  • Set the parameters according to your local environment

replace the path to java.exe with your own version

also make sure that the arguments is replaced with your local path and file equivalent:

"-jar C:\PAVIS\pavis-rest-0.0.20.jar"

and that the "Start in" does the same


7. troubleshooting Java processes


in case the interface jar is already running as a background process and you do not know which of the java processes it is

but you have to shut it down here is a way:

go to CMD

Code Block
languagebash
themeEmacs
netstat -on

in order to find the process id that answers on port 8081

then

Code Block
languagebash
themeEmacs
taskkill \PID <processid>

where processid is the number you found in the first step.

Zugehörige Seiten

Content by Label
showLabelsfalse
spacesST
showSpacefalse
sorttitle
typepage
cqllabel = "documentation-space-sample" and type = "page" and space = "ST"
labelsdocumentation-space-sample