Configuring the Creo View Adapter for JT > Configuring the Creo View Adapter for JT > Using jt2pv_config on Windows
  
Using jt2pv_config on Windows
The configuration of the Creo View Adapter for JT is accomplished using the jt2pv_config tool.
1. Using Windows Explorer, browse to the <installation_directory>\bin directory in which you installed the Creo View Adapter for JT. Double-click jt2pv_config.
The Creo View JT Adapter Configuration dialog box opens.
2. If you have a prior configuration, you can use the Existing Configuration group to quickly and completely update that configuration to the latest version of the Creo View Adapter for JT. The Setup Directory field in this group allows you to specify the location of the previous configuration.
Once you browse to an existing setup directory, jt2pv_config automatically fills in all the required fields. Click Setup to automatically update your earlier version to the latest version.
* 
If you prefer to test the new configuration before overwriting your existing version, you can change the Setup Directory location in the Parameters group. This saves the new configuration in a different location, preserving the existing version instead of overwriting it. Then, if you choose not to use the new configuration, you can return to the Existing Configuration > Setup Directory, which acts as a backup. When you are satisfied that the new version is working in your location, you can overwrite the old version with the new one.
3. Use the Parameters group settings in the Creo View JT Adapter Configuration dialog box to specify configuration settings for the adapter. This allows you to specify the way your system locates and starts JT for publishing purposes. The Parameters group includes these fields:
a. Client/Server Version
In the Client/Server Version drop-down list, you specify the client/server version number. This version should match your Creo View client and/or Visualization server. Setting the version incorrectly can cause problems with your Creo View client and/or Visualization server.
b. Setup Directory
To specify the setup directory, you can use the folder icon to the right of the Setup Directory field. This displays the Select an Existing Setup Directory dialog box, shown below. Browse to a <setup_directory> location, or you can type the path in the Directory field.
Click OK after selecting the setup directory. You are returned to the Creo View JT Adapter Configuration dialog box to make further configuration selections.
4. Use the Components group settings in the Creo View JT Adapter Configuration dialog box to define the publishing components to configure and the way your system locates the Visualization server host and port. The Components group box includes these fields:
a. Create jtbatch
Enable this setting to run JT in batch mode from the command line to convert batch of files to Creo View viewables.
b. Create jtworker
Creates a startup script that is used by the Windchill Visualization Service to start the Adapter in worker mode to publish Creo View viewables as part of the Windchill publishing process. To do this, the Adapter need to know details of the Windchill server.
a. Server Host
Enter the host name of the Windchill server.
b. Server Port
Enter the port to be used to communicate with the Worker Agent on the Windchill server. The default port number is 5600.
c. Test Server
After you specify the server host and port, you can click the Test Server button to validate the machine name, port number, and worker availability, and verify that it can connect to the Worker Agent at that location. A Server Configuration Test window displays the following results:
Worker Type
Server
Port
Test Connection to Server—Opens the Server Configuration Test dialog box. If the test result shows Succeeded or Failed, and the resulting message commences with Set keepalive ok, then click Ok to continue the setup.
5. After all the settings have been properly entered, click Setup and the wizard configures your installation. The previous illustration provides an example of a dialog box populated with configuration data.
Once the setup runs, the Setup Complete prompt appears. Click OK to continue.
6. After you set up the configuration, you can click Recipe Editor to edit the recipe file for this configuration. See Introduction to Recipe Editing for Converting CAD Data for further information.
* 
Changes to the recipe file should only be performed by advanced users.
7. Click Exit. The Exit jt2pv_config dialog box opens.
8. Click Yes to exit.