Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What could be cause of application only working 10% of the times??

 
Bart Hofma
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working with a legacy application , it uses java with hibernate and a flex front end application. it recieves orders which should be put in the database.
I thought the application was completely broken, however when i arrived on work this monday i saw it processed 2 orders. Looking at the backup system, it turns out we had 20 orders.

Anyone have any suggestions how it could be possible for an app like this to only work 10% of the times?
I dont know enough about BlazeDS to fix it without any pointers, all ideas are appreciated.

Thanks for your time.
Bart

EDIT: I've ruled out errors in the flex application, as it sends the proper values to the java app. The logic of the java app seems okay too.
I'm getting the feeling that sessions may not be created / closed properly, i believe the application uses spring/hibernate which should manage that, i believe.

the app runs on tomcat server. The hibernate statements are not executed, but when i look in tomcat app manager i see the session is still open

When i use fiddler, i see 504 error on my "messagebroker" session


EDIT : pfff the flex application contained an unreachable if statement, it was making the connection, just not sending data. everything is working perfect now :P
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The issue that you mention is too specific to the application and there's no way we could help with this without knowing more about the technical details about the application. You'll have to first try and narrow down the issue to a specific area. Usually looking at the logs can give you a hint on what might be wrong.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic