Darren Littlepage

Ranch Hand
+ Follow
since Dec 27, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Darren Littlepage

Why are you using Eclipse? Are you following some book that instructs you to do that?
I am not using any IDE and I am following the Head First book.
I'm using Tomcat 6 and I have to change the examples in the web.xml to look like this:



That helps it. I also had problems. I'm not sure what error you are getting but I had to set CATALINA_HOME environment variable on Windows 7.
I just started studying for the exam 310-083 with the 2nd Edition of HFJS. I see that I can schedule the test through Prometric still. Will the test still be available after the new version comes out (like the OCPJP SE 5 is still available)?
I would think most employers are still running J2EE 1.4 and the test would be relevent still.
I want to prepare as much as I can right now as I am waiting on a job and have lots of time to study.
Where is the information on the new version of the exam coming from? Is there somewhere I can read up on it?
I am hoping to be ready for the exam in a couple of months at the latest.
I have my problem solved. It looks like ports 8080, 8009, and 8005 were in use by something so I changed the ports in the server.xml file and it works now.
I made a little progress. I set the TOMCAT_HOME variable.
Now I am getting some feedback in the error log file.

The first error:
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Java\jdk1.6.0_21\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\EgisTec MyWinLocker\x86;C:\Program Files (x86)\EgisTec MyWinLocker\x64;C:\Program Files
(x86)\Universal Extractor;C:\Program Files (x86)\Universal Extractor\bin;C:\Program Files (x86)\Java\jdk1.6.0_21;C:\Program Files (x86)\Java\jdk1.6.0_21\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Ant\apache-ant-1.8.2\bin;C:\Apache Tomcat\apache-tomcat-6.0.30;C:\Apache Tomcat\apache-tomcat-6.0.30\bin;C:\Program Files (x86)\CVSNT\

Sorry for the PATH dump but I just wanted to give as much info as possible.

The second error I see is:
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind <null>:8080

This is followed by a few other errors with different ports 8008,8009.

Thanks William.

I ended up posting in the Tomcat forum here:
https://coderanch.com/t/525348/java-Web-Component-SCWCD/certification/Tomcat-Windows-problems

I did go with ver 6. I am having JAVA_HOME problems. It is telling me that my JAVA_HOME needs to point to a JDK and not a JRE. It does point to a JDK...without the bin folder.
My version has a startup.bat in the bin directory.
13 years ago
it was at first pointing to the bin directory now I changed it to C:Program Files (x86)\Java\jdk1.6.0_21;
That's also what it shows when I echo %JAVA_HOME%
When I type the cmd startup it give me the same issue that my JAVA_HOME should point to a JDK not a JRE.

What can I do?
I tried doing that too.

When I run the setclasspath.bat file I get a message that says JAVA_HOME should point to a JDK not a JRE.
My JAVA_HOME variable points to a JDK in Windows Environment Variables.
Is there somewhere else I need to set it?

Kirill, Thanks for the reply

I just downloaded and uncompressed the Tomcat 6.0.30 64 bit zip files. When I run the exe file a console pops up for a second then disappears. I check Task Manager and no Tomcat. I go to localhost:8080 and page not found.

What do I need to do to get it started in Windows 7?
I tried running the various .bat files in the bin directory and same thing happens.
Hello,

I'm having a problem getting Tomcat 5.5x to run on Windows 7. I installed it in C:Tomcat
It installs fine and all...but the service won't start. When I look at the log it says:
Failed creating java C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
I set the permissions for the folder and file so it could have full access.
When I change the Startup tab to use Java instead of jvm I get this error:
Unable to find Java Runtime Environment.

Is there a work around? Any help is appreciated.
I don't mind running it from a cmd prompt if I knew how. That info would be good too if it's possible.
The reason I'm going with ver 5.5x is because I am studying for the SCJWCD.

Thanks in advance.
13 years ago
Hello,

I just passed the OCPJP and want to start on the OCPJWCD.
I read the links page and faq page for SCWCD here and found the link for Tomcat 5.5x

I first installed it and it seemed to be running ok. Then I restarted. I couldn't get it to run since.

I uninstalled it and tried to install it in the Program Files (x86) directory instead of defualt this time
Now when installing I get the error message that I can't create the service.

Can this be done on Windows 7?
Is anyone successuflly running Tomcat 5.5x on Windows 7. If so how did you do it.
I searched the forum to see if anyone else had the problem and found one entry remotely related but not helpful.
I can't believe I'm the only person to come across this problem so far as Windows 7 is well established now.
Would it be bad to go with a newer version of Tomcat?...eventhough the servlet and jsp versions are higher?
I plan on buying the Head First book for SCWCD but want to get some JSPs and small apps going while I'm waiting for it.

Any help would be great. I apologize if this is not the right forum but this is what I'm trying to accomplish for the OCPJWCD.
My experience with the exam was familiar. I saw a lot of things coded in a way you would never see or think of in real life. Sometimes I just didn't know if what they coded would work or not. That's why I say to code a lot...especially after mock exams where you see things you didn't expect.

I felt like I was taking a Enthuware exam or the exam that came with the K&B book...confident on most questions...but unsure about some.

My advice is to go through the K&B book, code examples as you go through and after the tests at the end of the chapters. When you have been through the book a few times and coded, start taking mock exams. In my opinion Enthuware is great for the money and the questions were more like the test questions than some of the free ones.

I coded a lot. The only thing I would have done differently is to code more because I know my score would have been higher if I did. I got a 78%. I got 47 out of 60 correct. I didn't feel like I missed that many while taking the exam. I was only unsure of about five questions. Then again, I second guessed myself a lot and changed some answers that might have been right to begin with because the way they were coded or worded.
Paul, You are right...my higher test scores were with tests I repeated. The last day test I scored 71% on. So it was fairly accurate. I praise Enthuware software. You get a lot for the money and there is no better way to prepare for a test except to take practice tests. Thank you for great software.

I was scoring pretty high on other mock exams as well though. I know they weren't as tough but I was still scoring 85-95% on some of the free mock exams.

13 years ago
Congrats. I know anyone who puts in the time to pass the exam deserves it. Nice score.
13 years ago
Congrats. I know anyone who puts in the time to pass the exam deserves it.
13 years ago