any one make hot swap working in IntelliJ 4.0?

gurus,
I tried to integrated intelliJ 4.0 with weblogic and it miserably failed due to our customized config.xml without domain tag. When I run weblogic as standard application rather than integration inside intelliJ, I tried to recompile one file and hot swap weblogic without restarting, it throw out "operation is not supported in VM" error. My VM is 1.3 and I don't know if you guys have successfully make hot swap working in intelliJ. Even better if you have done so with weblogic 7. Thanks

1 comment
Comment actions Permalink

Hot swap does not work with 1.3. So don't enable it.

However, Weblogic 7 will reload a WebApp if the class files change.

So all you have to do is set your IDEA modules output directory to the
domains WEB-INF/classes directory. If you don't want to do that, you can
manually copy the class files to the domains WEB-INF/classes directory.

When your web app tries to invoke a class after the class files are updated,
WebLogic will throw an exception, something about serialization, then reload
the classes and continue.

"ying" <yxd0018@yahoo.com> wrote in message
news:27324997.1080318968215.JavaMail.itn@is.intellij.net...

gurus,
I tried to integrated intelliJ 4.0 with weblogic and it miserably failed

due to our customized config.xml without domain tag. When I run weblogic as
standard application rather than integration inside intelliJ, I tried to
recompile one file and hot swap weblogic without restarting, it throw out
"operation is not supported in VM" error. My VM is 1.3 and I don't know if
you guys have successfully make hot swap working in intelliJ. Even better if
you have done so with weblogic 7. Thanks
>


0

Please sign in to leave a comment.