Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

Larry Olson

Ranch Hand
+ Follow
since Feb 03, 2009
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 Larry Olson

Hmm, I think I jumped to conclusion too quickly on that one. After another restart of jboss, I figured that the thrid port jboss/jms listens to (other than the two fixed ports which are 443 and 4457) changes everytime after a jboss restart and its value is unpredictable. For example once it listened on 54443. After restarting it listened to on 17926. After another restart it is listening on 14435. I am sure yet another restart means it would listen on yet another port. This means if the client is firewalled, its configuration needs to be changed (everytime after the jboss restart) to connect to a different thrid port everytime. This is a big pain.

Does anyone have any idea about why the jms/jboss process listens to a different (third) port everytime after the jboss restart and if there would be a way to configure/fix this? As I mentioned before the other two ports are fixed, namely 443 and 4457.

Thanks a lot.
10 years ago
Hmm, there hasn't been a response to this - but fortunately I have figured out the solution to this problem.

I had to openup the firewall for the client machine to be able to connect to port 54443 on the jms/jboss server. This I figured wen I saw the client hanging after a SYN_SENT trying to connect to port 54443 on the server (could also confirm that the jms server was listening on that port). Strangely enough this port 54443 requirement doesn't seem to have been documented anywhere (as far as I have Googled).

Hope this would be of help for someone who might be stuck with the same issue.
10 years ago

I am using a jms client on one machine A to connect to the jboss based jms server running on another machine (both linux boxes). But I am getting the following exception/error when trying to do this. Please note that I am able to verify that I could connect to the same jms server from a jms client on a different machine B. So I hope nothing is wrong on the server side.

I could also verify that I am able to telnet from client A to the jms server on ports 443, 1099, 4457, 8083 etc. So at least this doesn't seem to be a port related issue. Googling the exception/error hasn't given me much clues. I would appreciate if any fellow ranchers have any ideas about what might be the root cause of the following error and the possible resolution. Thanks much.

Below is the exception (I replaced the real ip address by

Also I am providing below some messages on the jboss server log. Not sure if these messages on the jboss server log and the above exception on the client side are directly related, but I am providing it just in case someone could make a connection:

Thanks a lot for your help.
10 years ago
Hi Rahul,

I took one month with ah hour of study during weekdays and few hours during weekends + Lots of coding using the tomcat I had installed on my computer. It was nothing like the intense preparation for SCJP, but much lighter. I felt SCWCD was much easier than the SCJP. At least the questions are less complicated.

11 years ago
Hi Keith,

I have posted my experience about preparing and writing the exam at this link. Please take a look.

Hi jishnu,

I used two main sources.

1) Slides from the website - here and here. I stumbled upon these while searching on the internet. I found these very succint, useful and easy for review with good examples and it is free too!
2) Of course I also used the Head first Servlets and JSP book - which is fun to read and learn.

Good luck
11 years ago
Hi all,

Happy to say that I passed the SCWCD with 86% yesterday. Not a great score in absolute terms, but much higher than I was anticipating. I had my SCWCD voucher expiring during 1st week of May 2011 and was forced to prepare and take the exam within the last one month , since I couldn't let the voucher expire!!!

As far as my preparation goes, I used the K & B java servlets and jsp book and would have read it a couple of times. I was very comfortable with the Servlet sections, but not so much with some of the JSP sections (and that is what brought my score down). Also I had taken the enthuware exams and scored on an average around 70% in it (Note: I took the enthuware exams in a casual manner - finished each exam in around 60 minutes or so). The K & B book mock exams were really difficult (due to choose all correct answers) and I scored only around 50% - so don't be disappointed by that if you take that exam. Unfortunately there were several mistakes in the K&B mock exam (in terms of correct answers) and I didn't have the patience to refer to the errata for everything. But enthuware brought my confidence level up, though I don't think I made the best use of it.

One thing to note (as someone already pointed out) is that the questions in the real exam was much more descriptive i.e. each question came with kind of a story/situation about something and then followed by a question. So you definitely need to have good reading comprehension to tackle them. Otherwise you might be wasting too much of time reading through a question again and again and fall into the time pressure trap.

One tip I would like to share (as you might already know) is the power of elimination - helped me to answer many questions correctly. It is a big winner in multiple choice questions. Some of the answer choices have silly/obvious mistakes that you could eliminate them. The rest of the choices are easy to eliminate once you read through them carefully. So use the elimination strategy. Of course that doesn't mean you could pass the exam (or get high scores) without knowing the fundamentals.

I was surprised to see many questions (many more than I had expected) about Design patterns. That was another area that brought my score down. Lot of questions about <jsp:useBean...> combined with <jsp:setProperty...> etc. May be 4 drag and drop questions. Be thorough with the EL implicit parameters. Many questions based on that. Also questions from Simple tag library and the Classic tag library (should know the return values etc.). Other mix of questions as expected.

Will add if I could think of anything else.

Good luck to all the aspirants for a successful SCWCD or whatever they are aiming for.

Last but not the least, a big thanks to the javaranch forum members for always being there to help. This is a priceless support.
11 years ago
Yes, I passed with a score of 86% in the real exam today . Not the best, but much better than I had expected!!! Thanks for the support from the javaranch forum - I know I could come here anytime to clarify my questions and doubts. That is a great help.
Hi everyone,

Here are my scores in enthuware SCWCD5 mock tests so far:

Test # % score
1. 72
2. 69
3. 80
4. 72

Based on this information would it be safe to say that I can pass the real SCWCD5 test ? Oh, another thing I wanted to mention is that on an average I finished each enthuware test in around 60 minutes time (don't have more patience than that!)

But I am sure I would take the real exam at a slower pace

All I am aiming for right now is to pass the real exam and not for high scores and I am taking the real test tomorrow.


Are EL functions included in SCWCD5 objectives? At least from looking at the objecvites page at SCWCD objectives, that doesn't seem to be the case. All I see related to EL in the objectives is the following:

Section 7: Building JSP Pages Using the Expression Language (EL)
Given a scenario, write EL code that accesses the following implicit variables including pageScope, requestScope, sessionScope, and applicationScope, param and paramValues, header and headerValues, cookie, initParam and pageContext.
Given a scenario, write EL code that uses the following operators: property access (the . operator), collection access (the [] operator).

As you could see this doesn't mention anything about EL functions. But the HF book covers EL functions. Does someone (particularly those who took the SCWCD5 exam recently) confirm if EL functions are included or not?


Are the <ejb-ref> and <ejb-local-ref> tags covered in the exam?
The HF book suggests that one memorize these tags for that reason. Does anyone know for sure that they are covered in the current exam objectives?
These are really boring/hard to memorize , without a good understanding.


I don't understand what you mean by the title is totally wrong. If I click on the above link ( or here is the link again) I have given, I do see the title as
"Java Enterprise Edition 5 Web Component Developer Certified Professional Exam", which is the most appropriate title for the SCWCD exam.

So I don't know what you mean by "Java Standard Edition 6 Developer Certified Master Downloadable Project for Resubmission" or where you got this from. I am totally confused.
OK, got around this by clicking on the "URL" and using scripting...thanks.
11 years ago

Could someone look at the page below and confirm if this page is the most current/official/authoritative objective page for SCWCD/OCWCD 5?

SCWCD objectives

Thanks a lot

Thanks. But that doesn't work. Here is the URL I am posting by replacing the letters in "p l s" by the corresponding HTML entity equivalent. But the problem is when I surround it by URL tags and when the final link gets posted and you click on it, it literally translates into those entity characters and doesn't translate back to "p l s", without spaces.

i.e. when you click on it, you will land into

and not l s/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_858

Do you see the problem here?
11 years ago