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

♀尐吖头ヾ 提交于 2019-11-28 07:28:16

问题


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 target 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:


(source: imagefruity.com)

Do you know a way out of my trouble?


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/3005919/hot-deploy-not-longer-working-on-jboss-scheme-change-not-implemented

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!