1
我們在JBoss AS 6個爲單服務實現的一些服務,我們希望遷移到JBoss AS 7如何將JBoss Singleton服務從JBoss AS 6遷移到JBoss AS 7?
這些服務對的jboss-service.xml文件至極聲明是在EJB包有點像下面的代碼:
<mbean name="some.cool.package:service=SomeService-controller" code="org.jboss.ha.singleton.HASingletonController">
<attribute name="HAPartition"><inject bean="HAPartition" /></attribute>
<attribute name="TargetName">scod:service=SomeService</attribute>
<attribute name="TargetStartMethod">startWatcher</attribute>
<attribute name="TargetStopMethod">stopWatcher</attribute>
</mbean>
好了,當我們試圖將它部署在JBoss 7中,我們看到了巨大的ClassNotFoundException
告訴我們,類org.jboss.ha.singleton.HASingletonController
不存在。它真的不在JBoss AS 7上。
所以,這裏是我的問題:我們如何將它遷移到更新的版本?哪一個班是這個班的?
我用這個例子,它工作正常。儘管我的口味有點過分,但它確實應該更容易配置。 – Magnilex 2013-06-20 13:44:58
@Magnilex是的,jboss-7在配置和管理方面確實很粗糙。什麼使它成爲可能,它變得更加「企業」 - 已經反過來。 – Tair 2013-06-23 16:19:27