Java proxy gatewaying

From: <pbasso@dont-contact.us>
Date: Mon, 28 Feb 2000 20:12:11 GMT

        Hi all,
        We have an application written in Java. When a try to access this one
through my Web Browser using a proxy server,
 the application doesn't starts. The message bellow appear in the
"JavaConsole"

"Java(TM) Plug-in: Version 1.2.2_02 Oct-14-1999
Using JRE version 1.2.1
User home directory = /export/home/mlemes
Proxy Configuration: Manual Configuration
     Proxy: http=172.19.248.200:3128;ftp=172.19.248.200:3128
     Proxy Overrides:

JAR cache enabled.
Opening http://prod.cetelem.com.br/Client001/TesteTabbedPane2.class
proxy=172.19.248.200:3128
Opening http://prod.cetelem.com.br/Client001/TesteTabbedPane2.class
proxy=172.19.248.200:3128
java.security.AccessControlException: access denied
(java.net.SocketPermission prod.cetelem.com.br resolve)
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at java.lang.RuntimeException.<init>(RuntimeException.java:47)
        at
java.lang.SecurityException.<init>(SecurityException.java:39)
        at
java.security.AccessControlException.<init>(AccessControlException.ja
va:57)
        at java.security.AccessControlContext.checkPermission(Compiled
Code)
        at java.security.AccessController.checkPermission(Compiled
Code)
        at java.lang.SecurityManager.checkPermission(Compiled Code)
        at
java.lang.SecurityManager.checkConnect(SecurityManager.java:1004)
        at
sun.plugin.protocol.jdk12.http.HttpURLConnection.connect(HttpURLConne
ction.java:163)
        at
sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(HttpU
RLConnection.java:196)
        at sun.applet.AppletClassLoader.getBytes(Compiled Code)
        at
sun.applet.AppletClassLoader.access$1(AppletClassLoader.java:216)
        at
sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:139)
        at java.security.AccessController.doPrivileged(Native Method)
        at
sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:136)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:281)
        at
sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:110)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:238)
        at
sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:363)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:767)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
        at sun.applet.AppletPanel.run(Compiled Code)
        at
sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.ja
va:119)
        at
sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:1
15)
        at java.lang.Thread.run(Thread.java:485)"

I read a lot of articles from Squid archive, where users had the same
problem, but at that time ( 1996-1997)
there wasn't nothing to do. Is there any way to implement this
solution today?? When I run an applet the
browser needs a direct connection through the web server?? Is it
possible to use a proxy server between
the browser and web server ??

regards,

Paulo Basso
Received on Mon Feb 28 2000 - 12:27:32 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:42 MST