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:
Hi,
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).]
at weblogic.nodemanager.client.CommandInvoker.execute(CommandInvoker.java:233)
at weblogic.nodemanager.client.CommandInvoker.invoke(CommandInvoker.java:91)
at weblogic.nodemanager.client.NodeManagerClient.executeCommand(NodeManagerClient.java:161)
at weblogic.nodemanager.client.NodeManagerExecuteRequest.execute(NodeManagerRuntime.java:1641)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
No Exception Messages
Cud anyone please help me on that.
Gaurav
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 ?
Regards,
Alex
Originally posted by Simon O'Brien:
Great, that is what I was thinking, I just needed clarification! Thanks for all your help.
Simon
Originally posted by Raghven k b:
Hello Folks,
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.
Thanks Ragav.
Originally posted by Raghven k b:
Hello Folks,
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.
Thanks Ragav.
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?
class A
{
int i,j;
}
public class ArrayObjects
{
public static void main( String args[] )
{
A ob[]= new A[5];
for( int i=0; i<5; i++ )
{
ob[i].i=1; //NullPointerException
ob[i].j=2;
}
}
}