我試圖將部署從4.0.3sp1遷移到5.1。我只是將/opt/jboss/server
下的文件複製到jboss 5.1目錄下。 首先,它提示無法訪問服務器/ conf目錄/ bootstrap.xml,等等,我複製他們/opt/jboss/server/default/conf/*.xml
,然後得出錯誤:部署後jboss 5.1無法啓動從4.0.3sp1遷移
14:27:19,785 ERROR [ScopedProfileServiceController] Error installing to Create: [email protected][domain=default, server=default, name=bindings] state=Configured mode=On Demand requiredState=Installed
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
Caused by: java.io.IOException: Child not found bindingservice.beans/ for [email protected][path= context=file:/opt/jboss-5.1.0.GA/server/...
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:
*** PROFILES IN ERROR: Name -> Error
Profile: [email protected][domain=default, server=default, name=bindings] in error due to java.lang.reflect.InvocationTargetException
是那裏4.0.3sp1之間的配置文件有什麼區別和5.1?我需要在jboss 5.1服務器中添加任何內容// conf?
感謝您的回覆。我沒有從4.0.3sp1複製配置文件,我的意思是我將bootstrap.xml,profile.xml從5.1 default/conf複製到myserver/conf,因爲我遇到了錯誤,說jboss找不到這些配置文件,因爲你知道,在jboss 4.0.3sp1中,甚至沒有這些配置文件,所以我在4.0.3sp1部署中沒有這些配置文件。 – 2010-10-20 01:32:48
你的配置文件是「用於設置端口綁定的新方法」嗎?並且可以幫助給我一個jboss 5.1的例子嗎? 非常感謝! – 2010-10-20 02:18:34