• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAVA to JDBC to AS/400 Problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey, guys!
Im trying to write a simple web-application to log-in into a as400 system
using JDBC (jtopen 6 3).

Here's my code:



Everything works fine until i type in a wrong user or pw.
The browser tries to go on (loading-status) but nothing happens.
No exception, no error message, its just hanging and the brower stays at the current page instead of moving to the desired page.

It seems to be a connection problem, so i tried to add a timeout and a reconnect-parameter to the connection url, but with no effect at all.
Is there a workaroud for this problem (maybe with threads), so that the connection throws an exception or is terminated after a while (6 seconds f.e.)?

Excuse my english
[ November 20, 2008: Message edited by: alexander rommel ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic