Skip to content

tomcat server not starting in eclipse

my tomcat server not starting with timeout 45seconds… getting following message I need help. Please give me some solution this is an error.. hope u can view it Answer please, increase tomcat’s time-out seconds see below will help out how to increase it into eclipse, by-default tomcat’s time-…

How to extract a HashMap from a Java heap dump

I have a Java heap dump generated using jmap. This contains a HashMap which I need to extract into a text format (CSV would be fine). The HashMap is fairly large so I need a scripted solution. Using JVisualVM I can find the HashMap. However, there doesn’t seem to be a way to export its data. After some …

Why the if condition runs the other way

the value passed fromjsonObject.getString(“firstName”); to firstNameValidateUser is null as it doesn’t have any value, I need to run the following code which contain String firstName=jsonObject.getString(“firstName”);…. till returnedUser = new User(firstName, lastName, user…