/ Forside / Teknologi / Udvikling / Java / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Java
#NavnPoint
molokyle 3688
Klaudi 855
strarup 740
Forvirret 660
gøgeungen 500
Teil 373
Stouenberg 360
vnc 360
pmbruun 341
10  mccracken 320
Running second web application fails - jav~
Fra : pshamir


Dato : 02-10-03 12:07

Dear Java guru's.
I am using a web client with JRE version 1.4.0_03.
While testing I encountered a problem with connecting to a different
web server from the same PC - I got the following errors:

Java(TM) Plug-in: Version 1.4.0_03
Using JRE version 1.4.0_03 Java HotSpot(TM) Client VM
User home directory = C:\WINNT\Profiles\gbgihk

Proxy Configuration: Automatic Proxy Configuration
URL: http://proxy.uk.eu.pshamir.com/proxy.pac
----------------------------------------------------
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 properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
java.net.BindException: Address already in use: connect

   at java.net.PlainSocketImpl.socketConnect(Native Method)

   at java.net.PlainSocketImpl.doConnect(Unknown Source)

   at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

   at java.net.PlainSocketImpl.connect(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 sun.net.www.protocol.https.HttpsClient$2.run(DashoA6275)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA6275)

   at sun.net.www.http.HttpClient.openServer(Unknown Source)

   at sun.net.www.http.HttpClient.openServer(Unknown Source)

   at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)

   at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

   at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown
Source)

   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(DashoA6275)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown
Source)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.access$000(Unknown
Source)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection$1.run(Unknown
Source)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown
Source)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown
Source)

   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA6275)

   at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown
Source)

   at sun.plugin.cache.CachedJarLoader.download(Unknown Source)

   at sun.plugin.cache.CachedJarLoader.load(Unknown Source)

   at sun.plugin.cache.JarCache.get(Unknown Source)

   at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown
Source)

   at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown
Source)

   at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)

   at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)

   at sun.misc.URLClassPath$2.run(Unknown Source)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.misc.URLClassPath.getLoader(Unknown Source)

   at sun.misc.URLClassPath.getLoader(Unknown Source)

   at sun.misc.URLClassPath.getResource(Unknown Source)

   at java.net.URLClassLoader$1.run(Unknown Source)

   at java.security.AccessController.doPrivileged(Native Method)

   at java.net.URLClassLoader.findClass(Unknown Source)

   at sun.applet.AppletClassLoader.findClass(Unknown Source)

   at sun.plugin.security.PluginClassLoader.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)

java.net.BindException: Address already in use: connect

   at java.net.PlainSocketImpl.socketConnect(Native Method)

   at java.net.PlainSocketImpl.doConnect(Unknown Source)

   at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

   at java.net.PlainSocketImpl.connect(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 sun.net.www.protocol.https.HttpsClient$2.run(DashoA6275)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.net.www.protocol.https.HttpsClient.doConnect(DashoA6275)

   at sun.net.www.http.HttpClient.openServer(Unknown Source)

   at sun.net.www.http.HttpClient.openServer(Unknown Source)

   at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

   at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown
Source)

   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(DashoA6275)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown
Source)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.access$000(Unknown
Source)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection$1.run(Unknown
Source)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown
Source)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown
Source)

   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(DashoA6275)

   at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown
Source)

   at sun.plugin.cache.CachedJarLoader.download(Unknown Source)

   at sun.plugin.cache.CachedJarLoader.load(Unknown Source)

   at sun.plugin.cache.JarCache.get(Unknown Source)

   at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown
Source)

   at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown
Source)

   at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)

   at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)

   at sun.misc.URLClassPath$2.run(Unknown Source)

   at java.security.AccessController.doPrivileged(Native Method)

   at sun.misc.URLClassPath.getLoader(Unknown Source)

   at sun.misc.URLClassPath.getLoader(Unknown Source)

   at sun.misc.URLClassPath.getResource(Unknown Source)

   at java.net.URLClassLoader$1.run(Unknown Source)

   at java.security.AccessController.doPrivileged(Native Method)

   at java.net.URLClassLoader.findClass(Unknown Source)

   at sun.applet.AppletClassLoader.findClass(Unknown Source)

   at sun.plugin.security.PluginClassLoader.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)

java.security.AccessControlException: access denied
(java.net.SocketPermission proxy.uk.eu.pshamir.com:80 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.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(DashoA6275)

   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(DashoA6275)

   at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Unknown
Source)

   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)

   at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown
Source)

   at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown
Source)

   at java.net.HttpURLConnection.getResponseCode(Unknown Source)

   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(DashoA6275)

   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)

   at sun.applet.AppletClassLoader.findClass(Unknown Source)

   at sun.plugin.security.PluginClassLoader.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)




Any ideas???
Thanks!

 
 
Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408924
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste