• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet + java.io.IOException: Connection failure with 407...HELP.....

sam patel
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have developed an applet-servlet application in Jbuilder9. When I run my applet from JBuilder it runs fine.
So, this is what i did...
I copied my package class file to

and my LoginScreen.html file in
codebase = "."
archive = "ScanStation.jar"
code = "scanstation.LoginScreen.class"
name = "ScanStation"
width = "350"
height = "200"
hspace = "0"
vspace = "0"
align = "middle"
When i run this from Internet Explorer as....
it displays the Login screen that i created....But when i hit my button to submit it's not displaying anything....
In my Java Console....I am getting the following error.
Java(TM) Plug-in: Version 1.3.1_05
Using JRE version 1.3.1_05 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\sam
User has overriden browser's proxy settings.
Proxy Configuration: Manual Configuration
Proxy: XXX.XXXXXX.com:80
Proxy Overrides:
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
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Getting input stream
java.io.IOException: Connection failure with 407
Exception occurred during event dispatching:
at scanstation.LoginScreen.displayLogInInformation(LoginScreen.java:220)
at scanstation.LoginScreen.jButton1_actionPerformed(LoginScreen.java:151)
at scanstation.LoginScreen$1.actionPerformed(LoginScreen.java:88)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Any help will be greatly appreciated.....
Joe Ess
Posts: 9372
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't suppose you are trying to open a socket connection or database connection to a server other than your webserver? Applets can only open connections to the server they were downloaded from. If that's not the problem you may have to show the relevant code.
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!