j74
asked on
Java Plugin download issue
We have put the jinstall-1_4-windows-i586. cab at our server and referenced that in the html to get downloaded from our site instead of SUN site.
It looks like the reference is still made to sun site in the cab file. In case SUN does not have that plug-in (by which it is referenced in cab file); customer is bound to get the plug-in installation error.
This looks like show stopper for us because we have kept plug-in 1.4_04 in production but SUN does not have that plug-in any more so we have to move to 1.4_05 version. This forces us to highly depend on SUN to keep up-to-date with their plug-in.
We are looking for solution as follows:
1) HTML will have reference of the cab file /any suitable file (which we have kept it after downloading from SUN site) which is available at our site.
2) The plug-in gets installed without any reference of SUN site so that installation would be smooth without error.
It looks like the reference is still made to sun site in the cab file. In case SUN does not have that plug-in (by which it is referenced in cab file); customer is bound to get the plug-in installation error.
This looks like show stopper for us because we have kept plug-in 1.4_04 in production but SUN does not have that plug-in any more so we have to move to 1.4_05 version. This forces us to highly depend on SUN to keep up-to-date with their plug-in.
We are looking for solution as follows:
1) HTML will have reference of the cab file /any suitable file (which we have kept it after downloading from SUN site) which is available at our site.
2) The plug-in gets installed without any reference of SUN site so that installation would be smooth without error.
ASKER
<OBJECT
classid = "clsid:CAFEEFAC-0014-0002- 0004-ABCDE FFEDCBA"
codebase = "/appcontent/apollo/sparx/ jinstall-1 _4_2_04-wi ndows-i586 .cab#Versi on=1,4,2,4 0"
WIDTH = 870 HEIGHT = 590 ARCHIVE = "" ID = "ICT" NAME = "ICT">
<PARAM NAME = CODE VALUE = "com.cisco.sparx.SPARXAppl et">
<PARAM NAME = cache_archive_ex VALUE = "$IEjarPaths">
<PARAM NAME = "type" VALUE = "application/x-java-applet ;jpi-versi on=1.4.2_0 4">
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME = "accessKey" VALUE = "$$appletParams{'accessKey '}">
<PARAM NAME = "csid" VALUE = "$$appletParams{'csid'}">
<PARAM NAME = "punchoutsession" VALUE = "$$appletParams{'punchouts ession'}">
<PARAM NAME = "environment" VALUE = "$environment">
<PARAM NAME = "ccouserid" VALUE = "$userId">
<PARAM NAME = "UIVersion" VALUE = "$decSparxVersion">
<COMMENT>
<EMBED
type = "application/x-java-applet ;jpi-versi on=1.4.2_0 4" \
CODE = "com.cisco.sparx.SPARXAppl et" \
WIDTH = 870 HEIGHT = 590 ARCHIVE = "" ID = "ICT" NAME = "ICT" \
cache_archive = "$NSjarPaths" \
cache_version = "$NSjarPathVersions" \
scriptable = false \
pluginspage = "/appcontent/apollo/sparx/ JavaPlugin Index.html #download" \
accessKey = "$$appletParams{'accessKey '}" \
csid = "$$appletParams{'csid'}" \
punchoutsession = "$$appletParams{'punchouts ession'}" \
environment = "$environment" \
ccouserid = "$userId" \
UIVersion = "$decSparxVersion" >
<NOEMBED></NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>
......
We aee using cgi to populate the above mentioned variables in the object tag.
classid = "clsid:CAFEEFAC-0014-0002-
codebase = "/appcontent/apollo/sparx/
WIDTH = 870 HEIGHT = 590 ARCHIVE = "" ID = "ICT" NAME = "ICT">
<PARAM NAME = CODE VALUE = "com.cisco.sparx.SPARXAppl
<PARAM NAME = cache_archive_ex VALUE = "$IEjarPaths">
<PARAM NAME = "type" VALUE = "application/x-java-applet
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME = "accessKey" VALUE = "$$appletParams{'accessKey
<PARAM NAME = "csid" VALUE = "$$appletParams{'csid'}">
<PARAM NAME = "punchoutsession" VALUE = "$$appletParams{'punchouts
<PARAM NAME = "environment" VALUE = "$environment">
<PARAM NAME = "ccouserid" VALUE = "$userId">
<PARAM NAME = "UIVersion" VALUE = "$decSparxVersion">
<COMMENT>
<EMBED
type = "application/x-java-applet
CODE = "com.cisco.sparx.SPARXAppl
WIDTH = 870 HEIGHT = 590 ARCHIVE = "" ID = "ICT" NAME = "ICT" \
cache_archive = "$NSjarPaths" \
cache_version = "$NSjarPathVersions" \
scriptable = false \
pluginspage = "/appcontent/apollo/sparx/
accessKey = "$$appletParams{'accessKey
csid = "$$appletParams{'csid'}" \
punchoutsession = "$$appletParams{'punchouts
environment = "$environment" \
ccouserid = "$userId" \
UIVersion = "$decSparxVersion" >
<NOEMBED></NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>
......
We aee using cgi to populate the above mentioned variables in the object tag.
try using the exe install instead of the cab.
I see here:
http://wp.netscape.com/assist/net_sites/embed_tag.html
and find that some values of embed tag must be separated by comma.
But, the error appears even for Netscape and IExplorer?
http://wp.netscape.com/assist/net_sites/embed_tag.html
and find that some values of embed tag must be separated by comma.
But, the error appears even for Netscape and IExplorer?
ASKER
any suggestion about how the object tag will look like if I go for exe reference in that?
ASKER
With exe how do I know which version of the plugin is there with JRE?
Mayeb you can use the EMBED tag: http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html
ASKER
Are you suggesting to provide the install page instead of going for auto download?
I was looking for auto download for JRE (exe) instead of cab file because I was thinking to store the JRE exe file at our site instead of depending on SUN site.
I was looking for auto download for JRE (exe) instead of cab file because I was thinking to store the JRE exe file at our site instead of depending on SUN site.
What exactly is your motivation for hosting it locally?
> Are you suggesting to provide the install page instead of going for auto download?
NO, but you will redirect the user to your page in order to download it, not at Sun's web site.
NO, but you will redirect the user to your page in order to download it, not at Sun's web site.
ASKER
My motivation is avoid chasing SUN's update on JRE. Once the application is tested for particular JRE version it will stay for longer time with particular version of JRE. Otherwise we need to keep our JRE update to SUN's recent JRE.
Pluginj instalation refres SUN' site for particular version. It may be possible that particular version may be available.
We are using static versioning to keep our application tied to particular version and never get interferred with other's JRE.
Pluginj instalation refres SUN' site for particular version. It may be possible that particular version may be available.
We are using static versioning to keep our application tied to particular version and never get interferred with other's JRE.
So why don't you just specify the specific version you want in your html and load it from Sun?
ASKER
We did it for JRE 1.4.2_04 which is current in production. But SUN does not support that JRE version anymore so big problem for new customer becuase they get installation error while using our application.
Why don't you think sun supports it anymore?
ASKER
SUN has upgraded JRE 1.4.2_04 to 1.4.2_05. If refer JRE 1.4.2_04 version, you can't install plugin anymore. You get installation error.That is what our support team found.
Therfore we have planned that grab a plugin and put it on our site and don't depend on SUN for plugin installation for customer. And becuase of this thought I posted the question to this group.
Therfore we have planned that grab a plugin and put it on our site and don't depend on SUN for plugin installation for customer. And becuase of this thought I posted the question to this group.
I've never experienced that problem, I've had sites still installing 1.3.
What codebase url were you using from the Sun site that was giving you an error?
What codebase url were you using from the Sun site that was giving you an error?
ASKER
http://java.sun.com/update/1.4.2/jinstall-1_4_2_04-windows-i586.cab#Version=1,4,2,40
In our html we are using as:
"/appcontent/apollo/sparx/ jinstall-1 _4_2_04-wi ndows-i586 .cab#Versi on=1,4,2,4 0
becuase we are providing this cab file from our site.
In our html we are using as:
"/appcontent/apollo/sparx/
becuase we are providing this cab file from our site.
> http://java.sun.com/update/1.4.2/jinstall-1_4_2_04-windows-i586.cab#Version=1,4,2,40
and what error do you get with that?
and what error do you get with that?
ASKER
We never did go for above mentioned URL becuase we have https page which is supposed to refer the code base. if we go for the above link , there would be another pop up for showing "you are suing insecure web link" something like that ( don't remeber the exact message now) becuase the above code uses http url .
This other pop up is annoying for the user.
So this was also one of the reason to grab the cab file and serve from our site
This other pop up is annoying for the user.
So this was also one of the reason to grab the cab file and serve from our site
> "you are suing insecure web link"
I looked at that a while back but can't remember off hand what the result was, did u try:
https://java.sun.com/update/1.4.2/jinstall-1_4_2_04-windows-i586.cab#Version=1,4,2,40
> So this was also one of the reason to grab the cab file and serve from our site
you need to server an exe, the cab is simply a poiter to the install exe (on sun site).
I looked at that a while back but can't remember off hand what the result was, did u try:
https://java.sun.com/update/1.4.2/jinstall-1_4_2_04-windows-i586.cab#Version=1,4,2,40
> So this was also one of the reason to grab the cab file and serve from our site
you need to server an exe, the cab is simply a poiter to the install exe (on sun site).
ASKER
That is correct. Cab file is just pointer to install exe.
So this time we are looking for giving the link of the exe in the code base with version( if possible) and proving this exe from our site. I don't know whether this is possible otr not.
What do you think?
So this time we are looking for giving the link of the exe in the code base with version( if possible) and proving this exe from our site. I don't know whether this is possible otr not.
What do you think?
the exe is just the standard jre download
ASKER
That is true. Can that be referenced in the codebase?
Will it be launched for installation when the user doesn't have the particular plugin installed at the machine?
Will it be launched for installation when the user doesn't have the particular plugin installed at the machine?
ASKER
"Error 1305. Error reading from file http://java.sun.com/webapps/download/GetFile/1.4.2_04-b05/windows-i586/Java 2 Runtime Environment,SE v1.4.2_04.msi.Verify that file exists and that you can access it".
New customers are getting this message while plugin installation.
I missed to specify the above error in the start of posting.
New customers are getting this message while plugin installation.
I missed to specify the above error in the start of posting.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I see this in the button linked on www.java.com. So try this URL.
http://java.sun.com/webapps/getjava/BrowserRedirect?locale=en&host=www.java.com:80
http://java.sun.com/webapps/getjava/BrowserRedirect?locale=en&host=www.java.com:80
old versions were still available last time I looked.
what does your <object> tag currently look like?