This week's book giveaway is in the NodeJS forum.
We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line!
See this thread for details.
Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!

Joe Ess

+ Follow
since Oct 29, 2001
Joe likes ...
Linux Mac OS X Windows
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joe Ess

Then when you go to apply...
2 weeks ago

Adrian Grabowski wrote:"Halt and Catch Fire" was quite good as well

I never thought I'd see the day where a dramatic series had a pivotal plot moment like a new web browser being released.  
2 weeks ago
Didn't you already ask this question?  If the answers in that topic were not sufficient, what more information do you need?
3 weeks ago
What features do you think an Integrated Development Environment should have?  Does the combination of Anakonda and Notebook fit that description?
3 weeks ago
Given that this topic is over a decade old, I don't think anyone else will be contributing to it.  You may want to create a new topic describing your particular situation so we can better address your issues.
If you are using Tomcat, you may want to look at the ProxyName and ProxyPort parameters of your Connector configuration see here
1 month ago
Think Python is a good introduction to Python as well as basic programming skills.
1 month ago
Have you checked the server logs?  Tail the logs when you deploy the application.  Some issues will occur during deployment leaving the application unavailable.
What application server are you using?  I've been having an issue deploying a Struts 2.5 app on Weblogic, but I haven't had time to determine if the issue is something I've done or related to the Struts upgrade.
2 months ago
And what happens to that variable in the loop?
4 months ago
Where do you read in the guess?
4 months ago
Awesome in-depth look at the design and restoration of an original Apollo Guidance Computer.  

Puts my tinkering with a Raspberry Pi to shame!
4 months ago
A class on Logic.  I was never good at math and had little interest in computers (There was no JavaRanch in 1990 to help us noobs!).  I was taking a lot of electives in anthropology and philosophy, so I signed up for a course in Logic thinking it would be about Rhetoric.  That's where it started, but it quickly moved on to Mathematical logic like Boolean logic and formal proofs.  For some reason, probably because it wasn't presented as boring old numerical "math", everything clicked into place and it opened up a whole new path for me.  I finished my Bachelor's degree in Literature and wound up getting a second Bachelor's degree in Computer Science thanks to that class.  
4 months ago
The Struts team has announced the End of Life for Struts 2.3.  For the next six months, they will remediate security issues as practical.  After six months, approximately May 2019, Struts 2.3 will no longer be updated.
See the announcement here
Update your applications to Struts 2.5 as soon as possible.  There is an upgrade guide in the Struts documentation (note that this article is part of the deprecated Struts documentation Wiki.  Please post if you find a more up-to-date source).
5 months ago
Are your application and web service deployed in the same container?  Perhaps it is time to reconsider your deployment strategy.  A web service should "always" be available (at least in the eyes of its dependencies).
I don't think Struts has any features that one could use to implement the desired function. However, Struts is built on top of the Java Servlet Specification, so one could use the functionality found in that API.  It provides classes to listen for servlet lifecycle events, but unfortunately, the ServletContextListener will only get called when a servlet context initialization begins.  There is no way that I can see to be informed when the initialization process is complete.
One could use a ServletContextListener to create an executor to schedule a task to read from the web service.  This is not an ideal solution because you would need to figure out a reasonable delay for the web service to come up, but your delay cannot be so long that a user would be able to access the application before it is initialized.
Another way one could use servlet lifecycle events is to create a HttpSessionListener which would be activated when someone logs in.  Of course, you'd only want to know about the first login to initialize the application.
Another option would be to use lazy initialization.  The first time someone accesses a feature in your application that requires the data from the web service, it would be fetched from the web service and cached.
5 months ago