Remove Application Server directory information from the <location\> property entries in the /tmp/productregistry file; for example, change:
<location\>/opt/SUNWappserver/jdk</location\>
to
<location\></location\>