You are viewing an Archived item in your Knowledge Base, it is not publicly accessible.

New Admins: Register for our new Pure Lecture Series!
Pure's logos
Pure Help Center for Pure Administrators

If you are a researcher, or other non-admin at your institution, click here.

  • Home
  • Announcements
  • Release Notes
  • Technical user guides
  • Training
  • Events
  • Support
  • Contact Us
  • Home
  • Training
  • Technical user guides
  • Pure installation and upgrade guide (self-hosted customers only)

How Can We Help?

Search Results

Filter By Category

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Contact us

Installing Pure on WindowsInstalling Pure on Windows

This guide describes how to install Pure on Windows, and it assumes that you have a basic knowledge of Windows.

Prerequisites

If you are planning to use Internet Explorer on the server during the installation, you will need to disable Internet Explorer Enhanced Security Configuration.

You can also install Firefox or Chrome, or use a web browser on a client that can access Pure on the server.

Please notice that there are some requirements for Pure regarding Java, tomcat and databases. You will find information about these here: Pure requirements 

Paths

First create the paths needed for the Pure installation. The paths used here are the default paths used by Atira, but you can change them to match your system.

d:\pack\pure_data
d:\pack\scripts

d:\pack\pure_data: This is used by Pure to store the run-time data, the search index, and any files uploaded to Pure.

d:\pack\scripts: This is used for the Pure deploy script and Pure configuration files

The folder can be on any drive, but we recommend that it is not on the Windows drive (c:)

Java

Install a supported version of Java, either a OpenJDK version, we recommend AdoptJDK, or the version supported directly by Oracle. Please note that if you select OpenJDK we recommend that you configure Java to use the Microsoft Crypto API, see the guide in the Tomcat section below.

Install Java in the default folder.

For Java 8 Update 201 that would be C:\Program Files\Java\jdk1.8.0_201\ and C:\Program Files\Java\jre8\

Tomcat

Go to tomcat.apache.org and download the newest Tomcat 8.5 32-bit/64-bit Windows Service Installer.

Choose the Minimum type during installation, as the rest is not needed for Pure. Install it in the default location C:\Program Files\Apache Software Foundation\Tomcat 8.5.x and Configure the tomcat as below.

Point the Tomcat installation to the default Java path as above.

Using Microsoft Crypto API with OpenJDK

OpenJDK on Windows lacks a number of certificates which are available in Oracle's JRE. The Java VM that runs Tomcat must therefore be configured to use the Microsoft Crypto API, so the certificates of the operation system are used.

Add the following lines to <Tomcat installation directory>/conf/catalina.properties to do that:

javax.net.ssl.keyStoreProvider=SunMSCAPI
javax.net.ssl.keyStoreType=WINDOWS-MY
javax.net.ssl.trustStoreProvider=SunMSCAPI
javax.net.ssl.trustStoreType=WINDOWS-ROOT

Lastly, don't run the Apache Tomcat now.

Server Shutdown Port: 8005
HTTP/1.1 Connector Port: 80 (Note this is changed, if you plan to have a proxy in front of Pure this does not need to be changed)
AJP/1.3 Connector Port: 8009


 

Server.xml

Open the Tomcat server.xml file in an editor (notepad / notepad++ ).

If you installed Tomcat in the default location you might need Administrator privileges to edit the file

Location: C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\server.xml

Find the HTTP and AJP connectors

<Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
...
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

and configure them for UTF-8

<Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8"
               redirectPort="8443" />
...
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />

Apache Tomcat Properties

After installation of Tomcat we have to configure its properties, this is done by starting Tomcat8w.exe. It can be found in the Tomcat installation folder in the bin folder. The default installation folder is C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\.

Now click on the Java tab and configure the Initial memory pool and the Maximum memory pool.

We recommend setting both to at least 4096 MB.

Any extra options for Tomcat should be added to the Java Options field.

Please refer to the Tomcat command-line parameters page for details on the required, recommended and optional JVM parameters.

It is important that no white spaces are present after each line added in the Java Options field as this will cause Tomcat to fail during start up!

Database Connection Configuration

The database connection also needs to be configured in the Java Options field.

You can set the parameters directly, or you can put them in a properties files, and then reference than instead.

Setting the parameters directly

If you want to set the parameters directly, add the following to the Java Options field

-Ddb.user=user
-Ddb.password=password
-Ddb.url=database_url

For examples of database URLs see Pure database URL 

Setting the parameters using a properties file

To configure the database connection using a properties file, add the following to the Java Options field

-DpropFile=c:\pack\scripts\startup.properties

Create the properties file in d:\pack\scripts\ and edit it with an editor like Notepad or Notepad++

And add the following:

db.user=user
db.password=password
db.url=database_url

For examples of database URLs see Pure database URL 

Deploy script

Download one of the following deploy script and copy it to d:\pack\scripts\ : deploy.cmd, deploy.ps1

Now we have to configure the script to match our settings, open the script in an editor (notepad / notepad++), and edit the following lines such that it matches your setup:

set DIST="d:\pack\scripts"
set JAVA="C:\Program Files\Java\jdk1.8.0_45"
set DEP="C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps"


 

For information about how to deploy Pure manually see Manual Pure Deployment on Windows

Deploy Pure

Before first deployment: It is a good practices to clean the "webapps" directory in Tomcat before the first deployment, as you will most likely not use the default installed webapps.

Download the Pure distribution file and run the deploy script with this file by opening a command prompt as Administrator and navigate to the deploy script:

cd d:\pack\scripts\
deploy.cmd c:\Downloads\cust-dk-abc-5.2.0-distribution.zip

Create the database

If you have not already created the database and user for Pure, it should be created now.

Make sure that you have set up the requirements for the selected database: Pure requirements 

Especially check the SQLserver specific configuration: PureRequirements-SpecificSQLServerNotes

Start Pure

You can now start Pure, this is done by locating the Apache Tomcat service in the windows services.msc

Run: services.msc

Check the Tomcat log file to make sure that it starts correctly by opening the following file in an text editor (Notepad/Notepad++).

The default location is C:\Program Files\Apache Software Foundation\Tomcat 8.0\logs\ and the log file to check is tomcat8-stdout.YYYY-MM-DD.log

Look for something similar to the following:

[INFO  20131007095644 ootManager: WebBootSequenceInteractionManager] ------------------------------------------------------------------------------
[INFO  20131007095644 ootManager: WebBootSequenceInteractionManager] | Entering maintenance mode!                                                 |
[INFO  20131007095644 ootManager: WebBootSequenceInteractionManager] | Go to http://<your server>/admin/prestartup/maintenance.xhtml              |
[INFO  20131007095644 ootManager: WebBootSequenceInteractionManager] | Password: 123ab45c-67de-8910-f2g3-h9900i80j509                             |
[INFO  20131007095644 ootManager: WebBootSequenceInteractionManager] ------------------------------------------------------------------------------

When it appears, go to the next step: Pure maintenance mode (installation)

Published at May 14, 2024

Download
Table of Contents
  1. Prerequisites
  2. Paths
  3. Java
  4. Tomcat
  5. Apache Tomcat Properties
  6. Database Connection Configuration
  7. Setting the parameters directly
  8. Setting the parameters using a properties file
  9. Deploy script
  10. Deploy Pure
  11. Create the database
  12. Start Pure
Related Articles
  • MODS Publication field mapping
  • Installing Pure on Linux
  • Pure requirements
  • End of support announcements for Pure
Keywords
  • pure install
  • windows setup

Was this article helpful?

Yes
No
Give feedback about this article

    About Pure

  • Announcements

    Additional Support

  • Events
  • Client Community
  • Training

    Need Help?

  • Contact Us
  • Submit a Support Case
  • My Cases
  • Linkedin
  • Twitter
  • Facebook
  • Youtube
Elsevier logo Relx logo

Copyright © 2025 Elsevier, except certain content provided by third parties.

  • Terms & Conditions Terms & Conditions
  • Privacy policyPrivacy policy
  • AccesibilityAccesibility
  • Cookie SettingsCookie Settings
  • Log in to Pure Help CenterLog in to Helpjuice Center

Knowledge Base Software powered by Helpjuice

Expand