Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAVA to JDBC to AS/400 Problem

 
alexander rommel
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic