开发者

Hot deploy not longer working on JBoss ("Scheme change not implemented")

开发者 https://www.devze.com 2023-01-03 01:15 出处:网络
I\'ve got a pretty annoying problem with my JBoss AS 4.2.3 GA. Until recently everything was running fine, but now the hot deploy feature is now longer working. And -- as always -- I don\'t know what

I've got a pretty annoying problem with my JBoss AS 4.2.3 GA.

Until recently everything was running fine, but now the hot deploy feature is now longer working. And -- as always -- I don't know what I did to cause this behaviour.

My projects are built with Maven. I've cleaned every tar开发者_如何学Goget directory, installed the projects and then deployed them to the server. So the sources in Eclipse and the deployed projects on the server should be identical. Inside a method I've added a simple System.out.println("test"); statement and -- BANG! -- I get the following error:

Hot deploy not longer working on JBoss ("Scheme change not implemented")

(source: imagefruity.com)

Do you know a way out of my trouble?


Ok, I did the following things now:

  1. Uninstall all JDKs
  2. Install only one JDK, namely JDK5 (cause that's the one we use in production)
  3. Clean, install and deploy every project anew

And now it seems to work (I'm keeping my fingers crossed).

I've used JDK 6 Update 20 for building in Eclipse and JDK 6 Update 7 in Maven. Maybe that has caused the problem.


In my case "Hot code replace failed - Scheme change not implemented" was caused by IDE using another compiler than compiler used to build files deployed on J2EE server. You can binary compare class files in your J2EE archive with class files compiled by IDE in your workspace - they should be identical.

For details please check here.

0

精彩评论

暂无评论...
验证码 换一张
取 消