Mirage Source

Free ORPG making software.
It is currently Fri Apr 26, 2024 6:58 pm

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 14 posts ] 
Author Message
PostPosted: Fri May 15, 2009 9:58 pm 
Offline
Pro
User avatar

Joined: Sun Aug 05, 2007 2:26 pm
Posts: 547
Ok, so I have tested my java app, and it works in the app viewer perfectly! But now I am trying to put it in a webpage and let some friends test, and I have run into trouble.

I made a simple chat program, and put it in a website, but this error appears in the error console.

Code:
java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.3:5136 connect,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.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at client.Client.init(Client.java:34)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Exception: java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.3:5136 connect,resolv


I am unsure how to fix this. I am new to java, but do I need like some certificate or something?

_________________
GIAKEN wrote:
I think what I see is this happening:

Labmonkey gets mod, everybody loves him, people find out his code sucks, he gets demoted, then banned, then he makes an engine called Chaos Engine.


Top
 Profile  
 
PostPosted: Sun May 17, 2009 7:54 pm 
Offline
Regular

Joined: Sun Apr 26, 2009 11:22 pm
Posts: 43
Location: Cincinnati, OH
Google Talk: rj.cox101@gmail.com
Did you sign the applet?

I'm pretty sure that applets which connect to a server not hosted on the web hosts computer MUST be signed. It's really easy to sign it just use a free application called jarsigner.


Top
 Profile  
 
PostPosted: Fri Oct 02, 2009 2:33 am 
Offline
Newbie

Joined: Fri Oct 02, 2009 2:22 am
Posts: 9
could be the signed shit, but to me... Read your error, the first line :)


Top
 Profile  
 
PostPosted: Fri Oct 02, 2009 6:49 pm 
Offline
Pro
User avatar

Joined: Sun Aug 05, 2007 2:26 pm
Posts: 547
Um, this was solved a long long time ago. Read post dates.

_________________
GIAKEN wrote:
I think what I see is this happening:

Labmonkey gets mod, everybody loves him, people find out his code sucks, he gets demoted, then banned, then he makes an engine called Chaos Engine.


Top
 Profile  
 
PostPosted: Fri Oct 02, 2009 7:41 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Aug 17, 2006 5:27 pm
Posts: 866
Location: United Kingdom
I don't see a solution posted though.


Top
 Profile  
 
PostPosted: Fri Oct 02, 2009 8:07 pm 
Offline
Pro
User avatar

Joined: Sun Aug 05, 2007 2:26 pm
Posts: 547
After 5 months, it is usually accepted on these forums if no solution is posted then the person already figured it out or gave up and is either way no-longer looking for help.

_________________
GIAKEN wrote:
I think what I see is this happening:

Labmonkey gets mod, everybody loves him, people find out his code sucks, he gets demoted, then banned, then he makes an engine called Chaos Engine.


Top
 Profile  
 
PostPosted: Fri Oct 02, 2009 8:17 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Aug 17, 2006 5:27 pm
Posts: 866
Location: United Kingdom
That's great.

What was the solution?


Top
 Profile  
 
PostPosted: Fri Oct 02, 2009 8:17 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Then you reply with the fix so people know what to do if it happens to them, jack ass.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Fri Oct 02, 2009 10:45 pm 
Offline
Pro
User avatar

Joined: Sun Aug 05, 2007 2:26 pm
Posts: 547
I am sorry

_________________
GIAKEN wrote:
I think what I see is this happening:

Labmonkey gets mod, everybody loves him, people find out his code sucks, he gets demoted, then banned, then he makes an engine called Chaos Engine.


Top
 Profile  
 
PostPosted: Sat Oct 03, 2009 4:29 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Somebody lock this topic before Labmonkey makes an even bigger douche of himself.

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
PostPosted: Sat Oct 03, 2009 5:41 pm 
Offline
Pro
User avatar

Joined: Sun Aug 05, 2007 2:26 pm
Posts: 547
I had to sign the applet. Sorry for not posting before. Why does everyone think my apologies are sarcastic?

_________________
GIAKEN wrote:
I think what I see is this happening:

Labmonkey gets mod, everybody loves him, people find out his code sucks, he gets demoted, then banned, then he makes an engine called Chaos Engine.


Top
 Profile  
 
PostPosted: Sat Oct 03, 2009 6:32 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Because you didn't post the fix when you apologized...so there was no point to apologizing if you didn't actually correct yourself.

Proper apologies comes with maturity.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Sat Oct 03, 2009 6:55 pm 
Offline
Newbie

Joined: Fri Oct 02, 2009 2:22 am
Posts: 9
Easy there guys, it's just Labmonkey. :lol:


Top
 Profile  
 
PostPosted: Sat Oct 03, 2009 7:21 pm 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
You people need to grow up. If nobody here helped him fix it, by posting in this thread, then he does not need to post the fix. It doesn't pertain to VB6 or Mirage Source in any way.

I'm going to start handing out warnings again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group