PDA

View Full Version : Java don't working


Feivel
07-11-2007, 12:23 PM
Hi guys,

I have a problem.
I have installed The Palace Server and InstantPalace.

All things work in the network.
But if someone else takes a look, java don't work.

Tell me how i can make it good.
PLEASE, SOON AS POSSIBLE.

maarten
07-11-2007, 07:12 PM
wow as soon as possible even because we usually take a holiday first just to make you wait??

Check: you probably have Java 1.5 installed, Instant Palace works with Java 1.5 but not with the new 1.6 like most people have on vista and with IE 7

Feivel
07-11-2007, 07:54 PM
wow as soon as possible even because we usually take a holiday first just to make you wait??

Check: you probably have Java 1.5 installed, Instant Palace works with Java 1.5 but not with the new 1.6 like most people have on vista and with IE 7
But in Network it works, if i'm going to visit it on another PC (External, so not in my network) it crashes..

WilŠ
07-12-2007, 12:48 AM
wow as soon as possible even because we usually take a holiday first just to make you wait??

Check: you probably have Java 1.5 installed, Instant Palace works with Java 1.5 but not with the new 1.6 that most people have on vista and with IE 7


just a note here, "most people" aren't using either vista or ie7. according to the statistics published by w3c ie7 rated third at 19.7%. ie6 is still top, at 37.3% followed closely by firefox at 34.0%.
the problem is likely ont inthe browser or the rte but in the configuration.

dmehus
07-12-2007, 12:57 AM
Most people don't have Internet Explorer 7. In fact, the most popular browser is still Internet Explorer 6 though its losing market share at a rapid clip now down to less than 75% (and that includes other versions of IE, including 7) with Firefox, Safari, and Opera gaining. I have Java 1.5 and IE 6 installed on my system but most people use probably either Firefox or IE 6 with Java 1.6 because they upgrade their Java when told to do so. I'm refusing the upgrade, thank you very much, Sun Microsystems. :)

The Campus' InstantPalace is working fine, we're using the latest build that Heini(tm) has produced wonderfully for us. You can test it out at:
http://www.thecampus.org/client/

If you're on Java 1.6, it'll work but some gif backgrounds won't load if you're on a PC. On Java 1.5 or a Mac, all backgrounds will load. It's the most bizarre thing and Heini is aware.

I've never heard of InstantPalace crashing though. Is it crashing the browser or is the server crashing? What do you mean? Please elaborate.

Cheers,
Doug

dmehus
07-12-2007, 01:00 AM
If you're behind a router, make sure the tunneling port (I set mine to 80) for InstantPalace, the Palace port (likely 9998), and the media server port (80 or 9990, most likely) are unblocked and routed correctly to your server hosting your PalaceServer or PersonalServer software. I'd also do the same with 9992 as there is some back-end connection to that port. :)

Hope that helps,
Doug

Feivel
07-12-2007, 10:47 AM
@dmehus: I have all the ports open, but it simply doesn't work.

maarten
07-12-2007, 03:27 PM
Please give us your exact setup and problem, to get instant Palace working you need:

- The Palace server and instant Palace hosted by the same computer
- Unless you want a headache this computer should be the first one connected to the internet.
- check the router / firewall in your ADSL / Cable modem and put this server in the DMZ (de-militarised Zone) so your modem firewall does not block it.


As for Staats, my server happens to have those for actual Palace users:

35% uses IE 7.0
37% uses IE 6.0
14% uses firefox:shade:


If there is a problem with Java there is a big chance your Instant Palace is not 1.6 compatible, unless someone uploads the latest heini build :P

Feivel
07-12-2007, 03:29 PM
wow as soon as possible even because we usually take a holiday first just to make you wait??

Check: you probably have Java 1.5 installed, Instant Palace works with Java 1.5 but not with the new 1.6 like most people have on vista and with IE 7
Even with 1.5 on IE 6 it don't works, definately not a browser problem ;-)

Feivel
07-12-2007, 03:48 PM
http://www.plaatjesupload.nl/output8/1184275524-43.jpg (http://www.plaatjesupload.nl/bekijk5/-89850.html)
In my Network
http://www.plaatjesupload.nl/output8/1184275684-13.jpg (http://www.plaatjesupload.nl/bekijk5/-89855.html)
In my Network #2

http://www.plaatjesupload.nl/output8/1184275723.jpg (http://www.plaatjesupload.nl/bekijk5/-89857.html)
Out of the Network

http://www.plaatjesupload.nl/output8/1184275774.jpg (http://www.plaatjesupload.nl/bekijk5/-89858.html)
Out of the Network #2

My problem, in images.
One image says more than thousands words..

maarten
07-12-2007, 04:02 PM
Please give us your exact setup and problem, these pictures do not say a thousand words. In fact they don't tell us anything at all about your network setup.

Do it in dutch if you have to.

Feivel
07-12-2007, 05:53 PM
Please give us your exact setup and problem, these pictures do not say a thousand words. In fact they don't tell us anything at all about your network setup.

Do it in dutch if you have to.
Oké..

Ik heb InstantPalace ACHTER een router draaien.
Binnen het netwerk laad InstantPalace prima..
Zodra iemand anders, van buiten het netwerk, mijn applet bezoekt, krijgt deze: "Applet instantpal notinited"
CODE APPLET: <APPLET code=instantpal.class ARCHIVE=pal_arch_sun.jar codebase='/binc' width=762 height=440>
<PARAM name=cabbase value=pal_arch.cab>
<PARAM name=Mode value=FULL>
<PARAM name=palaceport value=9998>
<PARAM name=tunnelport value=9994>
<PARAM name=picfolder value=/palace/media/>
<PARAM name=palacehost value=http://chatkabel.zapto.org>
<PARAM name=soundfolder value=/palace/media/>
<PARAM name=appletdata value=/palace/client/appletdata/>
<PARAM name=EventsPanelEnabled value=false>
<PARAM name=BalloonFontSize value=11>
<PARAM name=LogFontSize value=11>

<PARAM name=entryroom value=0>
<PARAM name=ChooseNameEnabled value=true>
<PARAM name=DefaultName value=Gast>
<PARAM name=LowResModeEnabled value=false>
Sorry, your browser must be Java-enabled to run InstantPalace.
</APPLET>

In de router staan de volgende poorten open:
9990
9994
9998

Als je nog meer moet weten, geef je maar een gil ;-)

maarten
07-12-2007, 09:44 PM
tja, zo blijven we bezig he als je telkens halve info geeft.

Maar goed mischien wat ik al zei: welke Java verssie heb jij en welke Java heeft die persoon?

Heb jij de instant Palace vesie die werkt met 1.6 Java? Als het goed is kan je zelf ook via het buiten adresss je server bekijken.

Elke browser heeft een Java console om fout meldingen te geven, check die effe.

Feivel
07-13-2007, 12:50 PM
tja, zo blijven we bezig he als je telkens halve info geeft.

Maar goed mischien wat ik al zei: welke Java verssie heb jij en welke Java heeft die persoon?

Heb jij de instant Palace vesie die werkt met 1.6 Java? Als het goed is kan je zelf ook via het buiten adresss je server bekijken.

Elke browser heeft een Java console om fout meldingen te geven, check die effe.
Het ligt niet aan de javaversie, volgens ozne console:
load: class instantpal.class not found.java.lang.ClassNotFoundException: instantpal.class at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)Caused by: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 10 more

maarten
07-13-2007, 09:33 PM
Tried my Instant Palace again, everything setup correctly, used to work with 1.5 Java. Does not work with 1.6.

Oh well...

maarten
07-14-2007, 12:42 AM
Ok check this: I see your using a URL redirect "zapto.org" try using the IP

Feivel
07-14-2007, 02:54 PM
Exception in thread "Thread-13" java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.123:9990 connect,resolve)
at java.security.AccessControlContext.checkPermission (Unknown Source)
at java.security.AccessController.checkPermission(Unk nown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at sun.plugin.viewer.context.DefaultPluginAppletConte xt.getImage(Unknown Source)
at java.applet.Applet.getImage(Unknown Source)
at ch.p(ch.java:361)
at ch.b(ch.java:317)
at ar.run([DashoPro-V1.0-0420])
at java.lang.Thread.run(Unknown Source)

java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.123:9990 connect,resolve) is de fout.

Hoe kan ik dit oplossen?

maarten
07-14-2007, 03:15 PM
192.168.1.123 is an internal IP not a internet IP, try http://www.whatismyip.com/ and use this IP.

Feivel
07-14-2007, 06:43 PM
192.168.1.123 is an internal IP not a internet IP, try http://www.whatismyip.com/ and use this IP.

Where can i change it?

dmehus
07-14-2007, 06:45 PM
You don't. Go to that website from the computer your server is running on (or another computer behind the same router) to determine your real, Internet-facing IP address. :)

Cheers,
Doug

Dennisweb
07-14-2007, 07:24 PM
You don't. Go to that website from the computer your server is running on (or another computer behind the same router) ---> Server name is 192.168.1.123 : what i have to type in the browser to determine your real, Internet-facing IP address. :)

Cheers,
Doug
Excuse me?
Explain it better please, so we can understand it.

Im co-owner of CyberCity (project of feivel) , so i can do it too.

rentahero
07-14-2007, 08:53 PM
Check: you probably have Java 1.5 installed, Instant Palace works with Java 1.5 but not with the new 1.6 like most people have on vista and with IE 7

Have you heard of problems with instantpalace and Java 1.6? On our site i didn't hear of any problems. If i look in my stats:

Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_01 with 303851 hits
this month

In my applet parameters i don't use this line:
<PARAM name=palacehost value=chatkabel.zapto.org>

If you delete that line Perhaps that solves the problem?

Dennisweb
07-14-2007, 09:26 PM
Have you heard of problems with instantpalace and Java 1.6? On our site i didn't hear of any problems. If i look in my stats:

Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_01 with 303851 hits
this month

In my applet parameters i don't use this line:
<PARAM name=palacehost value=chatkabel.zapto.org>

If you delete that line Perhaps that solves the problem?
We let it know you tomorrow , then we can let it check people out etc, i gonna sleep

rentahero
07-14-2007, 09:38 PM
Now i see there are 2 versions of java sun compatible InstantPalaces. The other one is donated by Heini. I didn't know that one exists ;-) .

I think if you use the one donated by Heini you have to use that palacehost parameter.

Dennisweb
07-15-2007, 10:26 AM
Now i see there are 2 versions of java sun compatible InstantPalaces. The other one is donated by Heini. I didn't know that one exists ;-) .

I think if you use the one donated by Heini you have to use that palacehost parameter.
We are using the Instantpalace of Eagles

Dennisweb
07-15-2007, 10:45 AM
I tried to remove the line

I will get this error now: INSTANTPAL NOTINITED
Error:
Java Plug-in 1.6.0_02
Using JRE version 1.6.0_02 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Dennis

----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
load: class instantpal.class not found.
java.lang.ClassNotFoundException: instantpal.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more

maarten
07-15-2007, 11:40 AM
Instant Palace of eagles? If you mean eagles nest: then your using the old instant Palace that should not work at all with any official Java release.

We are using the Instantpalace of Eagles

rentahero
07-15-2007, 11:56 AM
That's right, the eagles chatserve version is not java sun compatible.. but when i look at:
http://chatkabel.zapto.org/cybercity/AvaChat.htm
i see u are using our sun instantpalace.

The applet is starting now when i enter the chat there, so some problems are solved.

I don't think its the instantpalace version by the way. If i enter the chat with Microsoft VM i can't enter the chat either. Just a gray screen.
Do you know the backgrounds are not loading if i enter the chat with the client?

I think as mentioned before, the problems are caused by this error:

Exception in thread "Thread-13" java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.123:9990 connect,resolve)

Are you really sure the router is configured correctly, so the ports are correctly forwarded?

Dennisweb
07-15-2007, 12:30 PM
That's right, the eagles chatserve version is not java sun compatible.. but when i look at:
http://chatkabel.zapto.org/cybercity/AvaChat.htm
i see u are using our sun instantpalace.

The applet is starting now when i enter the chat there, so some problems are solved.

I don't think its the instantpalace version by the way. If i enter the chat with Microsoft VM i can't enter the chat either. Just a gray screen.
Do you know the backgrounds are not loading if i enter the chat with the client?

I think as mentioned before, the problems are caused by this error:

Exception in thread "Thread-13" java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.123:9990 connect,resolve)

Are you really sure the router is configured correctly, so the ports are correctly forwarded?192.168.1.123 is our LAN-IP
But how we can set it up to our external IP?

rentahero
07-15-2007, 03:35 PM
To be honest, i don't know. It is really weird that you haven no problems from your LAN. Perhaps someting wrong in your pserver.prefs file?
Do you have these lines in them:

HTTP_URL "http://chatkabel.zapto.org:9990/palace/media/"
AVATAR_URL "http://chatkabel.zapto.org:9990/palace/avatars/"

I was wondering this because your backgrounds are not loading in the client.

Dennisweb
07-15-2007, 04:58 PM
To be honest, i don't know. It is really weird that you haven no problems from your LAN. Perhaps someting wrong in your pserver.prefs file?
Do you have these lines in them:

HTTP_URL "http://chatkabel.zapto.org:9990/palace/media/"
AVATAR_URL "http://chatkabel.zapto.org:9990/palace/avatars/"

I was wondering this because your backgrounds are not loading in the client.
No, [currentipadres]:9990/palace/etc..

rentahero
07-15-2007, 06:36 PM
If i remembered correctly, that currentipadres doesn't work behind a router, because it returns the local ip. Try to replace them with chatkabel.zapto.org or your ip.. i think 217.122.113.37

Feivel
07-23-2007, 11:01 AM
Maar als ik kijk naar Meidenchat.nl, zie ik dat deze ook rentahero's versie gebruiken.
Maar ik heb de nieuwste versie van Java, en ik kan hun InstantPalace wel laden?