[Javassist] New message: "HotSwap fails on IBM jre/jdk?!"
by Edwin Guenthner
User development,
A new message was posted in the thread "HotSwap fails on IBM jre/jdk?!":
http://community.jboss.org/message/529647#529647
Author : Edwin Guenthner
Profile : http://community.jboss.org/people/karma
Message:
--------------------------------------------------------------
Hello there,
I am investigating if javassist hotswap might be used for some debugging work in my project.
As IBMer I have to avoid the SUN stuff; so its IBM jre/jdk only for me.
It took me a while to realize that I have all the things I need - I had to tell eclipse to use
/usr/lib/j2sdk1.6-ibm/lib/tools.jar ... otherwise the the com.sun stuff was missing.
OK, so I got that all together and tried to run the HotSwapper hello world example ...
and ...it doesnt work.
The little example ... is invoking HelloWorld print() ... then it tells me
** reload a logging version
and sits there and nothing happens.
Any idea?
Anyone tried this with IBM jre before?
And a basic question: in the HelloWorld example ... the HotSwapper object
is created in the same JVM run that "executes" the class that is going to be exchanged.
What I am looking for is this:
a) invoke some JVM in debug mode (this thing comes up and is running and doing a ton of things)
b) startup a second JVM ... and use HotSwap to exchange classes in the "a) JVM"
That is possible, right? Its just that the HelloWorld example is simplyfying things?
regards,
eg
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529647#529647
16 years, 1 month
[Performance Tuning] New message: "java.lang.OutOfMemoryError: PermGen space"
by Rasa Here
User development,
A new message was posted in the thread "java.lang.OutOfMemoryError: PermGen space":
http://community.jboss.org/message/529629#529629
Author : Rasa Here
Profile : http://community.jboss.org/people/rasa
Message:
--------------------------------------------------------------
Hi,
In my production env i am getting following error when one of my program is being executed. The user didn't feel any issue but in the log file i got follwoing error.
> java.lang.OutOfMemoryError: PermGen space
The mvc framework when tries to inialize the field variables i am getting this error. But this has executed many time but still it is not reproduced. Aftr this error system hanged and it forced us to restart jboss. My jboss version is jboss 3.2.5 and jdk is 1.5. How i can trace out such issue?
in my run.sh i am setting verbosegc
> -verbosegc -XX:ThreadStackSize=256 -XX:MaxPermSize=128m
But nothing has shown in the log file, my log file is configured through log4j.
Thanks and Regards
Rasa
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529629#529629
16 years, 1 month