LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index » Site Feedback
Author Message
IAmMarauder
Tail-Wagger
Tail-Wagger


Joined: 01 May 2001
Age: 32
Posts: 2925
Location: Australia

Post Posted: Fri Feb 02, 2007 1:27 am   Post subject: Bug in Java 1.6.0 and the Java Chat client Reply with quote Back to top  

There is a bug with the 1.6.0 version of Java that renders the Java Chat client inoperative. You will be able to connect, but it will get to the "Trying to connect to server, please wait..." part and stop.

An inspection of the Java Console shows the following:
Quote:
JPilot jIRC applet version 2.8.4, Reg v3
http://www.jpilot.com
Detected docbase=www.littlewhitedog.com
Licensehost=littlewhitedog.com
Failed to start Ident daemon or it has already running.
Exception in thread "IRC Protocal Engine Thread" java.security.AccessControlException: access denied (java.net.SocketPermission irc.wasteland.org resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at java.net.InetSocketAddress.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at f.<init>(Unknown Source)
at x.j(Unknown Source)
at x.run(Unknown Source)


This is the result of a known bug with Java 1.6.0. From the Sun Bug Database:
Quote:

A DESCRIPTION OF THE PROBLEM :
The 1.6 plugin seems to ignore signed JAR files that don't contain ".jar" in their file name during the verification process of the JAR file certificates while the classloader manages to load any class from these archives. This behaviour is very confusing because both the 1.6 JDK tools and the previous plugin versions accept such files while there is no restriction made in the documentation/release notes of the 1.6 plugin.

This was working in both the 1.4 and 1.5 plugins.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
(1) Create a (J)Applet class that needs a signed context (e.g. by calling
'System.getProperty("user.home")' from inside the "init()" method)
(2) Compile it, put the class file(s) into a jar file and sign this jar file
(3) Create a HTML file containing an "applet" tag with this jar file in the "archive" path
(4) Open this file in the plugin/browser


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
- a security warning dialog pops up and asks for permisson
- the applet succeeds to perform a restricted action after granting this permisson
ACTUAL -
- no security dialog shows up
- the applet fails to do its task

ERROR MESSAGES/STACK TRACES THAT OCCUR :
Exception reported: "AccessControlException: Permission denied: ..." due to a missing signed applet context.

REPRODUCIBILITY :
This bug can be reproduced always.

_________________
What this world needs is a good $5 Plasma Weapon...


My piccies are here...
View user's profile Send private message MSN Messenger ICQ Number
fathertyme
Site Admin
Site Admin


Joined: 30 Jun 2001
Posts: 6207
Location: The American Colonies

Post Posted: Fri Feb 02, 2007 2:50 am   Post subject: Reply with quote Back to top  

This can be fixed (currently) by backing your jre down to 1.5.0

I don't remember how to do that, but.. Smile

_________________
LWD web-cams: http://lwdcam.codecoma.com/?lwdcam
----

---
[9:08pm][09/16/2005]«+ flip » college...what is that
[9:08pm][09/16/2005]«+ Aff » apparently a place where you find rum
---
I used to live in my own little world, but they didn't like me there either.

You see dead people? I'm a software engineer, I don't see anybody!
---
My Amazon Wishlist
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
T
Curmudgeon


Joined: 17 May 2001
Posts: 16188
Location: Airstrip One

Post Posted: Fri Feb 02, 2007 7:22 am   Post subject: Reply with quote Back to top  

fathertyme wrote:
This can be fixed (currently) by backing your jre down to 1.5.0

I don't remember how to do that, but.. Smile

rd /q /s "c:\program files\java"

Install desired Java version.

_________________
Got questions? Click here.
Still got questions? Click here, too.

affabletoaster, Akely, anglachel, blahpony, CMTG, EdisonRex, Elk, Equin, evilness, Fido, fathertyme, Goddess, Jaymac, je, jodygirl, KingKobra, Lycander, mally, Max, OhioArt2, perrito_blanco, Rover, Spot, sully_51, Superdwarf, the taz man, thriftyjack, twiztid, wrathiron, yiayia49

Would you like
good music at a price that is right? CD Baby, baby.

You look like you need a monkey.
View user's profile Send private message
fathertyme
Site Admin
Site Admin


Joined: 30 Jun 2001
Posts: 6207
Location: The American Colonies

Post Posted: Sun Feb 11, 2007 11:30 pm   Post subject: Reply with quote Back to top  

could someone try this with Java 1.6.0 again?

I've recv'd word from the author of Jpilot that even though its a JRE error, he did get a fix in place. I've uploaded the new version (no real changes, just a minor change to get around the 1.6.0 bug.)

let me know if its fixed Smile

-Tyme

_________________
LWD web-cams: http://lwdcam.codecoma.com/?lwdcam
----

---
[9:08pm][09/16/2005]«+ flip » college...what is that
[9:08pm][09/16/2005]«+ Aff » apparently a place where you find rum
---
I used to live in my own little world, but they didn't like me there either.

You see dead people? I'm a software engineer, I don't see anybody!
---
My Amazon Wishlist
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
IAmMarauder
Tail-Wagger
Tail-Wagger


Joined: 01 May 2001
Age: 32
Posts: 2925
Location: Australia

Post Posted: Mon Feb 12, 2007 5:45 am   Post subject: Reply with quote Back to top  

fathertyme wrote:
could someone try this with Java 1.6.0 again?

I've recv'd word from the author of Jpilot that even though its a JRE error, he did get a fix in place. I've uploaded the new version (no real changes, just a minor change to get around the 1.6.0 bug.)

let me know if its fixed Smile

-Tyme


I just tried it, and it still does the same. I even went into IE and cleared all the objects (except the JRE objects), and also cleared temp net files, cookies, etc and tried again... When I reboot I will try it again, as Explorer crashed during the process (and is too late for me, I needs my beauty sleep).

_________________
What this world needs is a good $5 Plasma Weapon...


My piccies are here...
View user's profile Send private message MSN Messenger ICQ Number
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!