Andre Enimot

Ranch Hand
+ Follow
since Jul 29, 2009
Merit badge: grant badges
For More
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 Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Andre Enimot

Thank you for the hint, the config parameters were as you described, names were matching. But the culprit turned out to be very simple -- the ServerName I was using was too long (because I mistakenly thought it must be same as domain name) -- 31 chars total. After I shortened the server/host names things work fine.
11 years ago
Hi Guys,

I am trying to setup a home website (say "") with Apache2-->mod_jk/ajp13-->Tomcat6. When I go to the site from outside network by typing my home IP, it works ok. But when I go to, it does not work. I examined a debug-level logging from mod_jk, and see that request comes in, mod_jk finds a wildcard match, connects to Tomcat6 socket, sends request via AJP13, but in response gets 302 "Moved Temporarily", and eventually apache2 returns index.html. In case when I type IP address instead of domain name, everything is the same except response from Tomcat is not 302 but correctly rendered page.

So it looks like Tomcat refuses to serve requests that comes with domain name. I have VirtualHost *:80 in apache2 named "", and also in Tomcat's Engine defaultHost="" and a Host with name="". I am running standalone Tomcat6 from inside Eclipse, but have the above settings in server.xml in Tomcats conf folder and also in Eclipse's Server deployment folder. What I am doing wrong, please help?

Thanks in advance!
11 years ago
Thanks Luke, then I should have a chance to make it.

Luke Kolin wrote:
Not at all.

Again, not a problem. You really do have a PhD!


13 years ago
Thanks Henry and Jeanne for the advice. I am surely trying this approach, but still not quite satisfied with the results.. First, research fields are very specific/narrow, and unfortunately the research I've done is not useful for most companies. Second, such research places are scaterred across the country, so you have to be open to moving where the new job takes you. Third, there are way too many postdocs out there. [E.g. ~100-200 applications for 1 junior faculty position somewhere in ND or WY ]

I just need to get a normal software development job and to acquire skills/experience that MOST companies will need and value (Java developer, DBA, etc...), so I could get a reasonably paying job in the specific area where we want to live.

Let me ask this question: would having PhD be a real legal obstacle for a company to hire me for an entry-level programming position? Would I be considered "overqualified" and not legally employable on such jobs? Or the company legally would have to pay extra $$ which is not desirable of course? Would appreciate an answer to this.

Edited: typo.
13 years ago
Thanks Jeanne, that is a good point. But usually to get into place like Google one has to be at least a genius.

Jeanne Boyarsky wrote:Andrew,
A PHD could be helpful at someplace like Google or a place that does a lot of research.

13 years ago
Thanks Mike. Your example and advice are encouraging, I'll try to apply for positions regardless of the required experience. Regarding a gem... if I were a single bachelor guy, I'd likely stay in academia and be happy because I do like science & research. But once you get family, things and priorities are different. I have been for 5 years on postdoctoral 1-2 year contract-type positions with really low salary, poor benefits, no prospects of getting a faculty job in the area my family wants to live in, unable to purchase a home.. Yes, it is low stress and creative, but it is the time to move on and finally be able to adequately support my family.

Mike Isano wrote:You may have a gem and not realize it. Are you close to home? Low stress? Tenured? Make a decent living? If I could answer yes to those questions I would stay in academia. Even if there were big flashy contracts and salaries in the commercial world.

But if you want to go commercial.... List your PhD. Just don't let your degree and experience price you out of a job. It's not the degree that might turn people off, it's the $$$ and the risk of paying too much $$$ for someone who may not be able to produce right off the bat.

Apply for the jobs even if they want experience. My first job was for a senior level position. I applied anyway, and was hired as a junior. Got my foot in the door. I worked internships before that.

Mail companies your resume. Then call them on the phone and ask for an interview. Grow thick skin.

13 years ago
Hi mates,

I'm in need of advice. I have PhD & 10+ years of scientific programming in academia (mostly C/Fortran, Perl), and made a decision to move to commercial software development (because of no future prospects in academia). A year ago started learning Java, completely moved to it in my scientific programming job, passed SCJP6 a month ago.

How do I go about getting my first commercial software development job? I suspect I'd probably be qualified only for entry-level, is that right? If so, is listing my PhD on the resume going to hurt my chance of getting an entry level job? (should I not list it?) Also, I know nothing in J2EE yet, do you think starting learning/using it would help? I see many Sr.-level J2EE jobs in my area (US west coast), but almost no entry-level or core-java jobs. Also there are many C# .NET jobs, but even if I lerned that, I'd still qualify for entry level only.. I know some MySQL, HTML, etc. I am thinking of freelancer projects, but hesitating to bid on a project because of lack of experience.

I'd very much appreciate your advice on how to get the foot in the door. Thanks a lot.
13 years ago
There is no typo, the order in the book is correct. Remember that in every constructor, if the very first statement is not this(), then compiler implicitly inserts a call to super() as a very first statement. Upon instantiation, after the call to super() completes, instance initializer blocks run, and then the remaining statements in the constructor run.

Could you please elaborate what do you mean by stating you couldn't find any benefit of the certificate. It didn't help to get more interest from recruiters, or more interviews, or to go through interviews, or it didn't help in the workplace.

I'd love to know of examples when having the certificate actually helped to differentiate yourself and get career benefits.


Hi Ranchers,

Big joy in my heart today. After 11 month of preparation, many breaks due to work, postponing, etc finally I passed SCJP6 today with 85%

Many thanks to all the ranchers who replied to questions, Bert & Kathy for their wonderful book, and Devaka Cooray for the ExamLab (which stylewise is the closest-to-real-exam simulator I ever saw).

Preparation: K&B book+tests - 3 times overall; Mughal & Rasmussen book - selected reading; mocks; ExamLab 6. The exam was overall easier then the ExamLab, here are my ExamLab results so you can judge the difference in difficulty:
Diag - 70% pass
Exam1 - 48% fail
Exam2 - 66% pass
Exam3 - 65% pass
Final exam - 56% fail
Today's real exam - 85% pass
BUT, still on the real exam there were tricky questions I had to guess the answer to.

Best wishes to everyone!
13 years ago
In your original line 13, wait() is called on "this", which is totally fine. But it didn't work as you expected because t in line 17 refers not to instance of Trd referenced by that "this", but to instance of Thread. If you introduce reference Trd t0=new Trd() and use t0 in line 22 & 24 instead of t, it will work.
Seems like an incorrect answer in JavaChamp question:

The website indicates compilation fails at lines 2 and 5, while the correct answer should be it fails at 2 and 4.
K&B 6 book ch 7:

p. 562: "...LinkedList may iterate more slowly then an ArrayList"
p. 564: " can expect faster iteration with a LinkedHashMap" (compared to HashMap)

So do LinkedXXX provide slower or faster iteration compared to XXX? I'd expect the trend be the same for Lists and Maps?

Look at this example:

Hey, isn't array referenced by b1 in line 15 is created BEFORE Integer b3 in line 18?