This week's book giveaway is in the Go forum.
We're giving away four copies of Head First Go and have Jay McGavren on-line!
See this thread for details.
Win a copy of Head First Go this week in the Go forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Not working JAVA application after 1 hour and 20 minutes  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

in our company, we have applicattion names EGJE. The apllication working on JAVA 8 (JRE_1.8.1) in Citrix.
Application server working on (JDK_1.8.45). On application server is all gut and the application working fine.

In Citrix this application not working after 1 hour and 20 minutes in inactivity.

In the past the application working too in Citrix, but we had here Windows server 2008R2. Now we aktulisiert to Windows server 2012R2. (ON the application server is Windows server 2008R2).

After this update of Citrix, the application still freezing. I dont have any idea, how to repair it.

Thank you for answers.

J.
 
Saloon Keeper
Posts: 20514
115
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Jan!

I'm afraid that there is simply not enough information for us to tell anything. We don't even know if this is a stand-alone application or a web application. You haven't provided basic diagnostic information that could help us.

If you can supply more details we might be able to suggest something.
 
Jan Trava
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Tim,

the batch file:

rem set javapath = C:\Program Files (x86)\java\jre1.8.0_172\bin\
rem mode con cols=180
rem @set javapath =%PATH%;N:\EGJE\EGJE\jre1.8.0_172\bin\
@set Path=N:\EGJE\EGJE\jre1.8.0_172\bin\;%PATH%
rem @start javaw -Xmx512m -Djava.library.path=./egjelib -cp egjelib/eman.jar;egjelib/egjelib.jar; cz.elanor.eman.sgui.navig.RunGui -Cconfig_jar=egjelib/config_egje_cl.jar
@start N:\EGJE\EGJE\jre1.8.0_172\bin\javaw.exe -Xmx512m -Djava.library.path=./egjelib -Djava.rmi.dgc.leaseValue=60000 -cp egjelib/eman.jar;egjelib/egjelib.jar; cz.elanor.eman.sgui.navig.RunGui -Cconfig_jar=egjelib/config_egje_cl.jar
exit

Is it an stand-alone application using separate application server and database server. If you need more information, i can send it.
 
Tim Holloway
Saloon Keeper
Posts: 20514
115
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to run the Elanor Global Java Edition software?

And, if so, have you asked Elanor what they think?
 
Jan Trava
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, im trying to run Elanor software by own solution.

Yes, im trying to contact them, but is a 8 months and the problem is still not solved. On the Elanor Helpdesk in Czech Republic, they dont have any idea, what is wrong.
 
Ranch Hand
Posts: 277
2
Fedora Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So your app working fine for 1 hr and 20 mins exactly everytime or what?   If its working at some point and then it stops it seems like a problem with the app.  Is there any kind of error message ?
 
Jan Trava
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly working fine between 1-2 hours, but status "freezing" is when is app inactive for 5 or 10 minutes. I dont have any error messages, but sometimes  showing ONE message, sounds: "You dont have permission to this tab", if them restart the app, the permission is okay again and they can work in this tab.
 
Ranch Hand
Posts: 136
5
MS IE Notepad Suse
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well, this sounds like a timeout issue
at some point in time when workload is done a timeout is reset with every action - when work is paused this timeout ... well, times out and some state is either closed or thrown away - in generell terms: the resource becomes unavailable
my 2ct are on some database or socket timeout releasing the resource from its side and the app doesn't know how to handle it
showing the app "freeze" tells me the developer of the gui hasn't decoupled the edt correctly but is waiting for loading data while in the rendering time - hence your gui shows typical "i refuse to respond to user input"
the timeout issue is most likely on your setup as you stated it started after upgrading - so there might be some default value not checked after new system gone live
 
Greenhorn
Posts: 26
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"(ON the application server is Windows server 2008R2). After this update of Citrix, the application still freezing. I dont have any idea, how to repair it."

It could be for 100 different reasons. Windows servers are crap and slow , why not suggesting to your organisation to switch to a Linux server?  They are faster , reliable , and much safer ....
 
Jan Trava
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

@ Matt Wong i replied your comment to our Administrators.

@ Fred Masen - Today we reinstall EGJE to the same servers. We cannot change structure of hunders servers. I can not do that with this anything.
 
Tim Holloway
Saloon Keeper
Posts: 20514
115
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When people say "Cannot change" and the issue is a major outage, then I'm afraid my first order of advice is non-technical: Update your CV now.

The whole environment setup puzzles me. As I recall, the primary purpose of Citrix was to allow Windows to pretend to be a multi-user system instead of using a true multi-user OS like Linux or Unix or something mainframe-based. And, having worked with Citrix long ago, it was definitely more "pretend" than actually to be.

There is a time and a place for "multi-user Windows", but if the system is itself a server - which means almost by definition a multi-user app, even on Windows (or even DOS, for that matter) - then putting it under a second multi-user environment (Citrix) would seem like needless overhead. And if you're just looking for extra isolation, I'd think Azure would be more to the point.

Then again, I prefer not to use Windows to host servers anyway, excepting SQL Server. Especially on anything linked to the Internet. Windows is a lot more secure and reliable than it used to be, but it still not really designed for Internet hosting - its fundamental shape was determined by the original target audience, which was individual users. Unix, on the other hand, was designed from day one where multiple users were contending for resources and too often trying to hack each other's accounts. I'm not alone, which is why these days most Internet server products have better support for Linux than for Windows.

Having said all that, problems like yours are precisely what I'm especially good at solving, having done so for decades on everything from dedicated hardware controllers to IBM's OS/MVS systems apps to the current generation of PC OS's. But since we're now in an era where the standard solution to a defective system is to turn it off and back on again and the thought of actually paying people for advanced technical ability gives management the shudders, I'm rather soured on ever doing so again.

So about the best I can do is wish you luck. And do keep your CV up to date.
 
Catch Ernie! Catch the egg! And catch this tiny ad too:
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!