Originally posted by Jakub Drzazga:
Alecsandru Cocarla have already passed SCJD? If yes, what do they said about runtime exceptions?
If somebody else knows what examinators think about runtime exceptions please write.
Originally posted by Paul Clapham:
In XML file 1, your Book and Title elements are in the default namespace. But your XPath expression is looking for Book and Title elements that are not in a namespace. This is a defect in XPath. The workaround I usually use is something like this:
Originally posted by Freddy Wong:
As far as I know java version "1.6.0_03" is a production version of Sun JVM. The letter b there stands for build. But I'm not sure about which version that SCJD requires.
Originally posted by gaurav kumar:
I m getting the following error while starting my server on Weblogic.
weblogic.nodemanager.NodeManagerException: [The request to start the server EBTApps1 of domain ebtdomain failed because the node manager did not hear from the managed server in the configured timeout period. Despite this, if the managed server has not failed, it will come up and the node manager will start monitoring it. To adjust this timeout so that the task does not fail prematurely, please refer to the node manager property ScavangerDelaySeconds (Default value : 180 seconds. Current value : 180 seconds).]
No Exception Messages
Cud anyone please help me on that.
Originally posted by Alex Belisle Turcot:
I agree with you Mark, which is why I choose to throw RecordNotFound from my find method...
Do you throw "DuplicateKeyException" in your create method ? (its a dilemma if you use recNo as your key which easily leads to the impossibility of having a duplicate key.. (ex: key = maxRecNo + 1).
I don't know if I should still add the code to throw DuplicateKeyException and insert a comment stating that "it is currently not possible to meet this condition, but it is kept in order to support future modifications..."
Do you understand my point ? What's your opinion on that ?
Originally posted by Simon O'Brien:
Great, that is what I was thinking, I just needed clarification! Thanks for all your help.
Originally posted by Raghven k b:
My App server contains more than 50 web modules and 10 ejb modules,
I am getting java.lang.OutOfMemory error often.
Later i heard that it might be because of memory leaks (Example : an application running an infinite loop which eats up the memory).
But my idea is to identify where and why this is happening ?
It is very difficult for me to debug by looking to each and every module.
So is there any tool that resolves my problem, probably a monitoring tool that should tell how much memory each module is occupying at a given time.
JDK Version : 1.4
Max JVM Heap Size specified : 256
Correct me if my approach is wrong.
Originally posted by Raghven k b:
The below one is a JVM log, it looks like it is logged during garbage collection, Just curious to know what individual paramters are ?
[GC 123175K->94091K(159472K) eden 30464K->0K survivor 714K->1152K tenured 91996K->92939K, 0.0289656 secs]
Any idea ?
or any literature that speaks about GC logs.
Originally posted by Ajay Divakaran:
There are no compilation errors, but when i run the program I get an NullPointerException in the indicated line below. How do I rectify this?
public class ArrayObjects
public static void main( String args )
A ob= new A;
for( int i=0; i<5; i++ )