hi everyone!!
i was playing around a little bit with jboss and the following problem
occured:
i have a stateless session bean which reads data from a database. i now
wanted to produce an OutOfMemoryError, so i ran a loop which copies a
very big Object[][] multiple time and saves the produced Object[][]
into an Object[][][].
without putting that code into a try-catch block jBoss simply was
killed, which i expected it to do. this is the last thing jBoss writes
into my console:
./run.sh: line 92: 10132 Killed $JAVACMD $JBOSS_OPTS
-classpath $CLASSPATH org.jboss.Main "tomcat"
so i did the following:
try {
... // copy array
}catch (OutOfMemoryError oome) {
}
but even then jBoss is getting killed!! did i miss something?? how can i
protect jBoss from OutOfMemoryErrors? isn't that possible?
thank's for your help,
patrick
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]