/build/static/layout/Breadcrumb_cap_w.png

Trouble with Java middleware

I have a Java app that launches with javaws.exe and needs Java 6u24. Using v4.6 SP1 I sequenced Java 6u24 as middleware then sequenced the Java app with a manditory dependency on the Java 6u24 sequence. It works as long as Java isn't installed on the local client. If Java is installed locally, it gets launched with the local javaws.exe in System32 and will fail if it isn't 6u24. What am I doing to cause it to launch local javaws.exe and not the sequenced middleware's javaws.exe?

The Implementation section of the java app's OSD is as follows. Could it be that the filename is %CSIDL_SYSTEM%\javaws.exe and that hits the local file system and not the dependency Java 6u24 sequence? If so, what should be there? Or does my Java sequence need a tweak?

[font="courier new"] <IMPLEMENTATION>
<CODEBASE HREF="RTSP://%SFT_SOFTGRIDSERVER%:554/FedTrade.Dealer_3.6_x86/FedTrade.Dealer_3.6_x86_4.sft" GUID="7563CD64-7C25-47F5-9BD7-F26291B6641F" PARAMETERS="-localfile &quot;%CSIDL_APPDATA%\Sun\Java\Deployment\cache\6.0\60\2272bdbc-2bb65425&quot;" FILENAME="%CSIDL_SYSTEM%\javaws.exe" SYSGUARDFILE="FedTrade.Dealer_3.6_x86\osguard.cp" SIZE="6859435"/>
<VIRTUALENV TERMINATECHILDREN="FALSE">
<DEPENDENCIES>
<CODEBASE HREF="RTSP://%SFT_SOFTGRIDSERVER%:554/JRE_6u24_x86/JRE_6u24_x86.sft" GUID="31F98E69-FA6C-4935-AB1B-C9A00A6C2028" PARAMETERS="" FILENAME="JRE_6u24_x86\bin\javaw.exe" SYSGUARDFILE="JRE_6u24_x86\osguard.cp" SIZE="111711543" MANDATORY="TRUE"/>
</DEPENDENCIES>
<POLICIES>
<LOCAL_INTERACTION_ALLOWED>FALSE</LOCAL_INTERACTION_ALLOWED>
</POLICIES>
<ENVLIST/>
</VIRTUALENV>
<OS VALUE="WinXP"/>
<WORKINGDIR/>
<VM VALUE="Win32">
<SUBSYSTEM VALUE="windows"/>
</VM>
</IMPLEMENTATION>

0 Comments   [ + ] Show comments

Answers (1)

Posted by: VikingLoki 12 years ago
Second Degree Brown Belt
0
FYI -
Resolved this by changing filename from [font="courier new"]FILENAME="%CSIDL_SYSTEM%\javaws.exe" [font="times new roman"]to [font="courier new"]FILENAME="[Java 6u24 Sequence Directory]\bin\javaw.exe"
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ