Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Tim Lauster

Greenhorn
+ Follow
since Jul 09, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Tim Lauster

This forum is the best source of information on the SCJD certification. Just uses the search functionality to find what you need.
I am not aware of any mock projects or exams. From everything that I have heard, the exam is very easy. As long as you do your own work, you will not have to worry about it.
Good luck.
Hi,
I found this workplan somewhere on this site. It provides you with basic steps for completing the project.
Workplan
1. read all the requirements very carefully
2. write them down in a list
3. do a few proof of concepts to experiment with whatever you might try
4. read a lot of the messages here in Javaranch
5. work on Data deprecated methods
6. work on criteriaFind
7. work on lock/unlock
8. work on data client
9. work on gui
10. do testing, and cleanup & comment code
11. do user document
12. do javadoc
13. do design choices doc
14. do readme.txt
15. package it
Hope this helps.
Rose,
The assignement does not have a time limit. You can take as long as you need to complete the project. It will not affect your score.
Good Luck,
Tim
[This message has been edited by Tim Lauster (edited August 23, 2001).]
Hi Everyone,
First off, I would like to thank everyone that has responded to my posts. Your insights and suggestions were truly appreciated.
As you might have expected, the error turned out to be pretty silly. I did not have the current working directory in my classpath. I made the assignment, and now everything is working great.
Thanks again,
Tim

[This message has been edited by Tim Lauster (edited August 23, 2001).]
[This message has been edited by Tim Lauster (edited August 23, 2001).]
Hi Andras,
Thanks for the reply.
During my debugging efforts I have made a few changes. Here is the latest setup that I am using:
test.policy:
grant {
// Allow everything for now
permission java.security.AllPermission;
};
server command line:
java -Djava.rmi.server.codebase="http://myhttpserver/server.jar"; -Djava.rmi.server.logCalls=true -Djava.security.policy=c:\java2\jdev\test.policy suncertify.server.RMIServerDBAdapter db.db
I have verified the codebase entry by downloading the server.jar through IE on both the server and the client PCs.
client command line:
java -Djava.security.policy=c:\Data\Starting\test.policy ClientTest
I have tried a number of different combinations of the above, but I still recieve the same exception. The only success I have had is when I place a copy of the STUB on the client PC.
My next plan of attack is to download the code from the Sun RMI tutorial and see if I can get that to run. I'll let you know how that turns out.
Thanks again for the continued suggestions.
Gregory,
Your application is required to have the functionality to modify the db.db file.
When the instructions say 'You may not modify this file', I believe they are referring to the format of the file. At least, that is how I interpreted it.
Tim
Hi Michael,
Thanks for the reply. I am not framiliar with the web server's 'service interface'? I am running Win2000 with IIS 5.0. What should I be looking for?
For anyone else that is having similar RMI issues, check these links out: http://java.sun.com/products/jdk/1.2/docs/guide/rmi/faq.html http://java.sun.com/products/jdk/1.2/docs/guide/rmi/codebase.html
Any other suggestions???
Thanks.
[This message has been edited by Tim Lauster (edited August 22, 2001).]
Andras,
Thanks for the reply.
I changed my codebase to reflect your suggestions:
java -Djava.rmi.server.codebase=file:/e:\DATA\Projects\JavaDevCert\scjd\starting/ -Djava.security.policy=c:\java2\jdev\test.policy suncertify.server.RMIServerDBAdapter db.db
I am still receiving the following exception:
Exception: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: suncertify.server.RMIServerDBAdapter_Stub
Do you have any other suggestions? Are there any logs created to verify that the RMI is at least attempting to connect?
Thanks in advance,
Tim
Doug,
Thanks for the rely. Here is the command line I have been using for starting the server:
java -Djava.rmi.server.codebase=file:///e:\DATA\Projects\JavaDevCert\scjd\starting\ -Djava.security.policy=c:\java2\jdev\test.policy suncertify.server.RMIServerDBAdapter db.db
I copied and pasted the codebase assignment into Internet Explorer, and it went to the proper directory. Is this a good test?
Do you have any other ideas???
Thanks,
Tim
Hi,
I have been stuck on this exception for a long time.
I receive the following exception when I run the client application on a separate PC:
"UnmarshalException - error unmarshiling return Java.Lang.ClassNotFoundException BAdapter_STUB not found"
If I start the client application on the same PC as the server, I do not recieve the exception.
I have verified that the command line 'codebase' variable is accurate. I have verified that the CLASSPATH environment variable is set to null when I start the rmiregistry.
I am developing on Win2000.
Any help would be greatly appreciated.
Thanks,
Tim
Do you have the names of some commercial JAVA PDF packages?
Have you used any of them? Is there one that you recommend?
Thanks.
18 years ago
What type of database are you trying to connect to?
Does the database support ODBC?
I would recommend downloading the project right away. The project does not have a time limit, so you can work on it for as long as you like.
Once you have the code, look over the specs and figure out what areas you will need to study/research.
This forum is the best source of information that I have found.
It is highly recommended that you test on both Unix and NT environments. You wouldn't want a little bug to trip you up after all the time and money you have invested.