This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Ranch Office and the fly likes Can't play Rules Roundup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Can Watch "Can New topic
Author

Can't play Rules Roundup

Gerardo Pose
Greenhorn

Joined: Nov 07, 2007
Posts: 6
Hi! I have this problem trying to play the rule roundup game.
Tha page loads but then the game doesn't start and the message "Gettin' yer horse ready..." doesn't go away.
I've updated my JRE to 1.6.0 build 1.6.0_03-b05.
I'm running win xp essential edition and mozilla firefox 2.0.0.9
Thanks a lot!
[ November 07, 2007: Message edited by: Gerardo Pose ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
Welcome to JavaRanch.

Are there any (error) messages either in the browser status bar or the Java Console?


Ping & DNS - my free Android networking tools app
Gerardo Pose
Greenhorn

Joined: Nov 07, 2007
Posts: 6
Yes! I didn't notice the messages before. This is what the java console says:

HTTP:
java.security.AccessControlException: access denied (java.net.SocketPermission 64.78.181.41 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 sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at com.javaranch.common.HTTP.sendObject(HTTP.java:82)
at com.javaranch.common.HTTP.sendE(HTTP.java:118)
at com.javaranch.common.HTTP.send(HTTP.java:136)
at com.javaranch.roundup.applets.QuizApplet.createPanels(QuizApplet.java:120)
at com.javaranch.roundup.applets.QuizApplet.access$000(QuizApplet.java:24)
at com.javaranch.roundup.applets.QuizApplet$MakePanels.run(QuizApplet.java:38)
Exception in thread "Thread-9" java.lang.RuntimeException: could not load StartData
at com.javaranch.roundup.applets.QuizApplet.createPanels(QuizApplet.java:123)
at com.javaranch.roundup.applets.QuizApplet.access$000(QuizApplet.java:24)
at com.javaranch.roundup.applets.QuizApplet$MakePanels.run(QuizApplet.java:38)

Thanks a lot.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Well, applets are supposed to be allowed to contact the server they are downloaded from, which is what this applet is doing (64.78.181.41 is our server) and being blocked. Did you download the applet and try to run it locally, or did you find it somewhere else besides on the JavaRanch site? Have you made some change to your machine's configuration to prohibit all network connections by applets?


[Jess in Action][AskingGoodQuestions]
Gerardo Pose
Greenhorn

Joined: Nov 07, 2007
Posts: 6
Hmmmm not that I remember. Java is running with it's default configuration and I didn't change anything in firefox. Before I updated my JRE I was able to play the game. I don't know if that's causing the problem .
Gerardo Pose
Greenhorn

Joined: Nov 07, 2007
Posts: 6
Hi! I downloaded the script but, excuse my ignorance but I don't know how to run it . Please help me! I NEED to exercise much more before I take the exam!
Thanks a lot.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
Originally posted by Gerardo Pose:
Hi! I downloaded the script but, excuse my ignorance but I don't know how to run it

What do you mean by "downloaded the script"? What is "the script"?
Gerardo Pose
Greenhorn

Joined: Nov 07, 2007
Posts: 6
I meant that I downloaded the game2.jsp applet.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
The applet contacts a servlet on the www.javaranch.com server which loads the questions and answers.

I find I have the same problem using mozilla firefox 2.0.0.9 and JRE 1.6.0_03-b05.

However, the game still loads and works in IE6 and IE7 -- any way you can use one of those browsers while we investigate this?

<pre>Exception in thread "Thread-9" java.lang.RuntimeException: could not load StartData</pre>


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Gerardo Pose
Greenhorn

Joined: Nov 07, 2007
Posts: 6
You are right, it works on IE7.
Well i think i'll have to use IE until you guys solve this problem.
Thanks a lot!!!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
It sounds like this could be a Windows problem or a Java 1.6 problem, but just for the record, I have no problems with Firefox 2.0.0.9 on Mac OS X using Java 1.5.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't play Rules Roundup