Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
694 views
in Technique[技术] by (71.8m points)

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

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:

Hot code replace failed - Scheme change not implemented
(source: imagefruity.com)

Do you know a way out of my trouble?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...