• Post Reply Bookmark Topic Watch Topic
  • New Topic

DB IO Exception  RSS feed

 
Selvam Sankaralingam
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Im working with a swing applet application which was developed by someone in our company. In that few screens are not getting launched. Instead im getting error messages like 'DB IO Exception 326: null'. No one has any idea like what could be the problem.

The application is developed on Swing applet and deployed in an Unix environment. This is working fine in only one machine not on others.

Can anyone help on this.

Thanks
Selvam
 
Campbell Ritchie
Sheriff
Posts: 55351
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Are you sure that is a Java exception in the first place? It doesn't look like it. I don't know what 326 means, myself, but there are some things you might try.

Does your app run at all? Apart from the usual use of a debugger, what I would do is to put print statements into the methods, particularly where you think things are going wrong. You may have to put such statements into every method in the app, but try a few at a time, otherwise your printout will run to thousands of lines



This allows you to follow the flow of control through the app. Find out where things begin to go wrong. Print out some sort of details for all the parameters and local variables there, similarly to the above.

The fact that your app works on one machine makes me think the error is not in the Java at all, but is something else on those machines. Are you using some sort of non-Java programming as well? Do you have the same databases on both machines? What other differences are there? Do you have different firewall or security settings?

Try that lots, tell us all what happens. Maybe somebody else will have a better idea?

CR
 
Selvam Sankaralingam
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi CR,

Thanks a lot for your reply.

All of our machines have JRE ver 1.4.2_10.

Before trying your method I tried installing the next version of JRE. JRE ver 1.4.2_11. and it worked this time. We have the application and the database installed in a different machine. we are accessing the application through browser. The one machine in which it was working from the beginining having ibm java too. I suspect that could be an issue.

Regards
Selvam S
 
Campbell Ritchie
Sheriff
Posts: 55351
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only too pleased to help . . . .

I am not sure what else to suggest myself, but it sounds promising that an update has helped.

Anybody else got any ideas???

CR
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!