Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[APPLET, RMI] HotSpot Proxy config ?

0 views
Skip to first unread message

Oliver Raupach

unread,
Feb 6, 2006, 8:36:58 AM2/6/06
to
Hallo,

Ich bekomme keinen Connect zum RMI-Registry Server durch die Firewall (obwohl HotSpot "scheinbar" den Proxy kennt):

ClassLoader-Cache löschen... abgeschlossen.
Speicherbereinigung ... abgeschlossen.
Speicher: 5.196K Frei: 2.365K (45%) ... abgeschlossen.
Trace-Stufe auf 5 (alle) setzen ... abgeschlossen.
basic: Applet wird angehalten...
basic: Fortschritts-Listener entfernt: sun.plugin.util.GrayBoxPainter@1a897a9
basic: Informationen werden gesucht...
basic: ClassLoader wird freigegeben: sun.plugin.ClassLoaderInfo@ccc588, refcount=0
basic: Fertig...
basic: Applet-Thread wird beigetreten...
basic: Applet wird zerstört...
basic: Applet wird verworfen...
basic: Applet wird beendet...
basic: Applet-Thread wurde beigetreten...
basic: Nicht registrierter Modality-Listener
basic: Registrierter Modality-Listener
liveconnect: JS-Methode wird gestartet: document
liveconnect: JS-Methode wird gestartet: URL
basic: ClassLoader wird referenziert: sun.plugin.ClassLoaderInfo@1a76eff, refcount=1
basic: Fortschritts-Listener hinzugefügt: sun.plugin.util.GrayBoxPainter@f38cf0
basic: Applet wird geladen...
basic: Applet wird initialisiert...
basic: Applet wird gestartet...
network: Verbindung von http://xx.gopy.de:8080/Project/frontend.jar mit Proxy=HTTP @ myproxy1/192.23.164.21:80 wird hergestellt

basic: http://xx.gopy.de:8080/Project/frontend.jar wird aus dem Cache geladen
basic: No certificate info, this is unsigned JAR file.

network: Verbindung von socket://xx.gopy.de:1099 mit Proxy=DIRECT wird hergestellt
Remote exception: Connection refused to host: xx.gopy.de; nested exception is:
java.net.ConnectException: Connection refused: connect
java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
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.checkExit(Unknown Source)
at java.lang.Runtime.exit(Unknown Source)
at java.lang.System.exit(Unknown Source)
at RMIChatApplet.getChatServer(RMIChatApplet.java:80)
at RMIChatApplet.init(RMIChatApplet.java:165)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Ausnahme: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)


Was soll das? Erst wird das Applet schön über den proxy geladen und dann plötzlich ".... Proxy=DIRECT ...."

--

Oliver Raupach

Michael Justin

unread,
Feb 8, 2006, 12:45:27 PM2/8/06
to
Oliver Raupach schrieb:

> Hallo,
>
> Ich bekomme keinen Connect zum RMI-Registry Server durch die Firewall (obwohl HotSpot "scheinbar" den Proxy kennt):
>
...

> network: Verbindung von http://xx.gopy.de:8080/Project/frontend.jar mit Proxy=HTTP @ myproxy1/192.23.164.21:80 wird hergestellt
>
> basic: http://xx.gopy.de:8080/Project/frontend.jar wird aus dem Cache geladen
> basic: No certificate info, this is unsigned JAR file.
>
> network: Verbindung von socket://xx.gopy.de:1099 mit Proxy=DIRECT wird hergestellt
> Remote exception: Connection refused to host: xx.gopy.de; nested exception is:
> java.net.ConnectException: Connection refused: connect
> java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
...

Wird eine Remote Exception nicht auf dem Server ausgelöst? Dort ist
vermutlich kein HTTP-Proxy konfiguriert.

Bei AccessControlException muss ich leider passen, aber exitVM sieht so
aus also ob das Applet irgendwo System.exit() aufrufen möchte.

Mike

Message has been deleted
0 new messages