04.12.2012 Views

Windchill System Administrator's Guide

Windchill System Administrator's Guide

Windchill System Administrator's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Relative and Absolute URLs<br />

When using the /bin/windchill java class execution wrapper, you<br />

can add the java arguments that it will use in the wt.java.args property in<br />

wt.properties. To enable HTTPS using this method, set the following in<br />

wt.properties using the xconfmanager utility:<br />

wt.java.args=-Djava.protocol.handler.pkgs=HTTPClient<br />

For further information, see http://java.sun.com/products/JSSE and the<br />

INSTALL.txt file located in the JSSE download.<br />

Prior to Java 1.4, the Java plug-in provides support for HTTPS through the<br />

browser. One shortcoming of this approach is that the JAR files cached for applet<br />

execution require a version number to indicate when updates are available.<br />

<strong>Windchill</strong> applets include this JAR cache version when wt.properties contains the<br />

following property:<br />

wt.taglib.util.plugin.useCacheVersion=true<br />

The JAR versions are stored in a jar.properties file residing in the same directory<br />

as the requested JAR file. To ensure that the JAR versions are compatible with<br />

<strong>Windchill</strong>, the following variable in the wt.properties file must be set:<br />

wt.tools.boot.updateVersion=1.3<br />

To rebuild client JAR files and increment the JAR versions, complete the<br />

following steps:<br />

1. Ensure that the wt.taglib.util.plugin.useCacheVersion and<br />

wt.tools.boot.updateVersion properties are set as described earlier in this<br />

section. You can use the xconfmanager utility to display current values and<br />

set values for these properties.<br />

2. Enter the following command from a windchill shell:<br />

ant -f MakeJar.xml<br />

Tip: You can also use this ant command to force a version update so that<br />

clients download all JAR files.<br />

You must restart the servlet engine and method server for the applet tag<br />

generation utilities to pick up the updated version information.<br />

The notion of relative hyperlinks (HREFs) exists only within the context of<br />

HTML pages. In <strong>Windchill</strong>, relative HREFs are used within static HTML pages<br />

and the static portions of HTML template files. Absolute HREFs are used for all<br />

dynamically generated HREFs.<br />

A typical dynamically generated <strong>Windchill</strong> HTML page includes the following:<br />

• A tag, specifying an absolute URL to the static <strong>Windchill</strong> codebase<br />

as configured by the wt.server.codebase property.<br />

B-6 <strong>Windchill</strong> <strong>System</strong> Administrator’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!