I have a applet that runs on ssl. When I run this applet on Safari every thing works fine.
I have installed the java embedding plugin, so that other browsers can use the latest JRE. My Mac OSX version is 10.3.9.
When I run the applet on firefox, netscape or camino the applet is creating new session and causing the loss of session data, the server throws exception because the session data does not exit.
Is this a problem in the plugin or browser ? I have seen same problem with versions v0.9.0, v0.9.1, v0.9.2.
<b>Firefox:</b> Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
<b>netscape:</b>Netscape 7.2
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2
<b>Camino:</b>2004082512 (v0.8.1)
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My hunch is that your problem is the same as the one discussed just
previously in this forum (the Java Embedding Plugin "Help" forum),
under "Cookie support":
> I have a applet that runs on ssl. When I run this applet on Safari
> every thing works fine.
Is this an applet that you've written yourself? If so, does it help
to re-write it as per the suggestions of the following article for
compatibility with earlier versions of Safari?
Does your applet also work in Firefox/Camino/Netscape/Mozilla on other
platforms (for example Linux or Windows)?
> I have posted this message in the bugs area by mistake, sorry for
> that.
You actually posted there twice. I'll close both of them and mark
them invalid.
I actually prefer that bugs get reported in the Bugs "tracker". But
if I'm right (if your problem is with the Java Embedding Plugin's lack
of support for cookies), what you're reporting may not be a bug. And
there may not be anything I can do about it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The applet I use is from a third party and I dont have the source.
The applet works fine on all the browsers on Windows platform, never tried on Linux. The applets works fine on Mac Safari. The problem is with all browsers on the Mac other than Safari.
I have read the other postings, I think my problem is what is described in thread "Cookie support"
apple says...
Note: This problem does not exist in Safari as of Java 1.4.1 Update 1 for Mac OS X 10.2, including all Java 1.4 releases on Mac OS X 10.3 and above. This Q&A is only applicable to developers wishing to support browsers other than Safari which continue to use Java 1.3. Developers requiring Java 1.4 on Mac OS X 10.2 can simply request that users download Java 1.4.1 Update 1 for free via Software Update
So this doesn't seems to be related to that because.. my Mac OS version is 10.3.9 and Java 1.4.2_05. I have seen 1.3.1 and 1.4.2 on Mac, how can I make sure the version used by JEP, does it always use the latest available ?
Thanks for the help
Rajesh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> I have read the other postings, I think my problem is what is
> described in thread "Cookie support"
> So this doesn't seems to be related to that because.. my Mac OS
> version is 10.3.9 and Java 1.4.2_05. I have seen 1.3.1 and 1.4.2 on
> Mac, how can I make sure the version used by JEP, does it always use
> the latest available?
Your problem is with the combination of the Java Embedding Plugin with
any of the Mozilla-family browsers, not Safari. I knew this, of
course. The reason I referred you to that article is that it suggests
a way around the problem. In other words, the applet should assume
that, on Mac OS X, only recent versions of Safari have built-in cookie
support (when using Java 1.4.X and 1.5.X). All other browsers should,
like older versions of Safari, be assumed not to have this support.
So the applet should behave as if it's running in an older version of
Safari.
I'm quite sure that only recent versions of Safari provide applets
with built-in cookie support. So if your applet works in the
Mozilla-family browsers on (say) Windows, that's because it (somehow)
detects which browser it's running in and changes its behavior
accordingly. In other words, on Windows it behaves in all browsers
like it does on OS X with older versions of Safari.
The authors of this applet need to fix it so that it knows how to
behave in a browser other than Safari when running in Java 1.4.X or
higher.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am a first time user of Mac.
I have a applet that runs on ssl. When I run this applet on Safari every thing works fine.
I have installed the java embedding plugin, so that other browsers can use the latest JRE. My Mac OSX version is 10.3.9.
When I run the applet on firefox, netscape or camino the applet is creating new session and causing the loss of session data, the server throws exception because the session data does not exit.
Is this a problem in the plugin or browser ? I have seen same problem with versions v0.9.0, v0.9.1, v0.9.2.
<b>Firefox:</b> Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
<b>netscape:</b>Netscape 7.2
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2
<b>Camino:</b>2004082512 (v0.8.1)
Thanks
I have posted this message in the bugs area by mistake, sorry for that.
My hunch is that your problem is the same as the one discussed just
previously in this forum (the Java Embedding Plugin "Help" forum),
under "Cookie support":
http://sourceforge.net/forum/forum.php?thread_id=1298604&forum_id=371125
Please read through that discussion.
> I have a applet that runs on ssl. When I run this applet on Safari
> every thing works fine.
Is this an applet that you've written yourself? If so, does it help
to re-write it as per the suggestions of the following article for
compatibility with earlier versions of Safari?
http://developer.apple.com/qa/qa2001/qa1265.html
> I am a first time user of Mac.
Does your applet also work in Firefox/Camino/Netscape/Mozilla on other
platforms (for example Linux or Windows)?
> I have posted this message in the bugs area by mistake, sorry for
> that.
You actually posted there twice. I'll close both of them and mark
them invalid.
I actually prefer that bugs get reported in the Bugs "tracker". But
if I'm right (if your problem is with the Java Embedding Plugin's lack
of support for cookies), what you're reporting may not be a bug. And
there may not be anything I can do about it.
The applet I use is from a third party and I dont have the source.
The applet works fine on all the browsers on Windows platform, never tried on Linux. The applets works fine on Mac Safari. The problem is with all browsers on the Mac other than Safari.
I have read the other postings, I think my problem is what is described in thread "Cookie support"
apple says...
Note: This problem does not exist in Safari as of Java 1.4.1 Update 1 for Mac OS X 10.2, including all Java 1.4 releases on Mac OS X 10.3 and above. This Q&A is only applicable to developers wishing to support browsers other than Safari which continue to use Java 1.3. Developers requiring Java 1.4 on Mac OS X 10.2 can simply request that users download Java 1.4.1 Update 1 for free via Software Update
So this doesn't seems to be related to that because.. my Mac OS version is 10.3.9 and Java 1.4.2_05. I have seen 1.3.1 and 1.4.2 on Mac, how can I make sure the version used by JEP, does it always use the latest available ?
Thanks for the help
Rajesh
> I have read the other postings, I think my problem is what is
> described in thread "Cookie support"
> So this doesn't seems to be related to that because.. my Mac OS
> version is 10.3.9 and Java 1.4.2_05. I have seen 1.3.1 and 1.4.2 on
> Mac, how can I make sure the version used by JEP, does it always use
> the latest available?
Your problem is with the combination of the Java Embedding Plugin with
any of the Mozilla-family browsers, not Safari. I knew this, of
course. The reason I referred you to that article is that it suggests
a way around the problem. In other words, the applet should assume
that, on Mac OS X, only recent versions of Safari have built-in cookie
support (when using Java 1.4.X and 1.5.X). All other browsers should,
like older versions of Safari, be assumed not to have this support.
So the applet should behave as if it's running in an older version of
Safari.
I'm quite sure that only recent versions of Safari provide applets
with built-in cookie support. So if your applet works in the
Mozilla-family browsers on (say) Windows, that's because it (somehow)
detects which browser it's running in and changes its behavior
accordingly. In other words, on Windows it behaves in all browsers
like it does on OS X with older versions of Safari.
The authors of this applet need to fix it so that it knows how to
behave in a browser other than Safari when running in Java 1.4.X or
higher.
I have reported the problem to the authors and they gave me a new applet that will take the cookie. Now it works fine. Thanks for your help.
Glad to hear it. Thanks for letting me know.