简体   繁体   English

jboss7迁移错误

[英]Error with jboss7 migration

I am struggling with one problem while we are trying to deploy some ears into the different server versions as per clients interest, so that now i am trying to deploy our multiple ears into the jboss7. 当我们尝试根据客户的兴趣将耳朵安装到不同的服务器版本中时,我正在努力解决一个问题,因此现在我正在尝试将多个耳朵安装到jboss7中。 The current problem is that datasources are bounded successfully as shown in below log 当前的问题是数据源已成功绑定,如下面的日志所示

16:18:47,246 INFO  [org.jboss.as.jacorb] (MSC service thread 1-2) JBAS016330: CORBA ORB Service started
16:18:47,267 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/OfflineDS]
16:18:47,268 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/jdbc/JISPDS]
16:18:47,269 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/IntegrationViewDS]
16:18:47,270 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/IntegrationDS]
16:18:47,271 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/jdbc/RATINGDS]
16:18:47,271 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/ChargingDS]
16:18:47,272 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/AccountDS]
16:18:47,273 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/RATINGDS]
16:18:47,274 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/OfflineInsertionDS]
16:18:47,356 INFO  [org.jboss.as.jacorb] (MSC service thread 1-3) JBAS016328: CORBA Naming Service started

but it is giving some error some thing related to ds binding as shown in below log, if any of you please help me, atleast i am not able to analyse why this error is coming. 但是它给某些错误一些与ds绑定有关的东西,如下面的日志所示,如果你们中的任何一个请帮助我,至少我无法分析为什么会出现此错误。 Thanx in advance. 提前感谢。

16:19:10,022 ERROR [org.jboss.as] (MSC service thread 1-1) JBAS015875: JBoss AS 7.1.0.Final "Thunder" started (with errors) in 25893ms - Started 11864 of 12364 services (327 services failed or missing dependencies, 155 services are passive or on-demand) 16:19:10,235 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "system.ear" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.system.system-new-ejb.SearchHolidaySessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing[jboss.naming.context.java.comp.system.system-new-ejb.SearchHolidaySessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]","jboss.naming.context.java.comp.system.ledger-new-ejb.SearchChargeHeadSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing[jboss.naming.context.java.comp.system.ledger-new-ejb.SearchChar 16:19:10,022 [org.jboss.as](MSC服务线程1-1)错误JBAS015875:JBoss AS 7.1.0。最终“雷声”在25893毫秒内启动(有错误)-12364个服务中的11864个启动(327个服务失败)或缺少依赖项,有155个服务是被动的或按需的)16:19:10,235信息[org.jboss.as.server](DeploymentScanner-threads-2)JBAS015870:部署“ system.ear”的部署因失败而回滚消息{“ JBAS014771:依赖项缺失/不可用的服务” => [“ jboss.naming.context.java.comp.system.system-new-ejb.SearchHolidaySessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss。 resources.jdbc.JISPDSMissing [jboss.naming.context.java.comp.system.system-new-ejb.SearchHolidaySessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]“,” jboss .naming.context.java.comp.system.ledger-new-ejb.SearchChargeHeadSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing [jboss.naming.context.java.comp.system .ledger-new-ejb.SearchChar geHeadSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]","jboss.naming.context.java.comp.system.system-new-ejb.DisplayConfigUtilSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing[jboss.naming.context.java.comp.system.system-new-ejb.DisplayConfigUtilSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]","jboss.naming.context.java.comp.system.system-new-ejb.ConnectionFatorySession.env.jms.BillPreviewAgentResponseQueuejboss.naming.context.java.jboss.resources.jms.BillPreviewAgentResponseQueueMissing[jboss.naming.context.java.comp.system.system-new-ejb.ConnectionFatorySession.env.jms.BillPreviewAgentResponseQueuejboss.naming.context.java.jboss.resources.jms.BillPreviewAgentResponseQueue]","jboss.naming.context.java.comp.system.system-new-ejb.CountrySearchSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing[jboss.naming.context.java.comp.system.system-new-ejb.C geHeadSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]“,” jboss.naming.context.java.comp.system.system-new-ejb.DisplayConfigUtilSessionBean.env.jdbc.JISPDSjboss .naming.context.java.jboss.resources.jdbc.JISPDSMissing [jboss.naming.context.java.comp.system.system-new-ejb.DisplayConfigUtilSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources .jdbc.JISPDS]“,” jboss.naming.context.java.comp.system.system-new-ejb.ConnectionFatorySession.env.jms.BillPreviewAgentResponseQueuejboss.naming.context.java.jboss.resources.jms.BillPreviewAgentResponseQueueMiss naming.context.java.comp.system.system-new-ejb.ConnectionFatorySession.env.jms.BillPreviewAgentResponseQueuejboss.naming.context.java.jboss.resources.jms.BillPreviewAgentResponseQueue]“,” jboss.naming.context.java.comp .system.system-new-ejb.CountrySearchSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing [jboss.naming.context.java.comp.system.system-new-ejb.C ountrySearchSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]","jboss.naming.context.java.comp.system.system-new-ejb.TemplateSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing[jboss.naming.context.java.comp.system.system-new-ejb.TemplateSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]","jboss.naming.context.java.comp.system.flexfield-new-ejb.FlexFieldConfSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing[jboss.naming.context.java.comp.system.flexfield-new-ejb.FlexFieldConfSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]","jboss.naming.context.java.comp.system.system-new-ejb.StateSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing[jboss.naming.context.java.comp.system.system-new-ejb.StateSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]","jboss.naming ountrySearchSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]“,” jboss.naming.context.java.comp.system.system-new-ejb.TemplateSessionBean.env.jdbc.JISPDSjboss .naming.context.java.jboss.resources.jdbc.JISPDSMissing [jboss.naming.context.java.comp.system.system-new-ejb.TemplateSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources .jdbc.JISPDS]“,” jboss.naming.context.java.comp.system.flexfield-new-ejb.FlexFieldConfSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing [jboss。 naming.context.java.comp.system.flexfield-new-ejb.FlexFieldConfSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]“,” jboss.naming.context.java.comp .system.system-new-ejb.StateSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing [jboss.naming.context.java.comp.system.system-new-ejb.StateSessionBean .env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]“,” jboss.naming .context.java.comp.system.system-new-ejb.SystemCommonSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing[jboss.naming.context.java.comp.system.system-new-ejb.SystemCommonSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]", .context.java.comp.system.system-new-ejb.SystemCommonSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDSMissing [jboss.naming.context.java.comp.system.system -new-ejb.SystemCommonSessionBean.env.jdbc.JISPDSjboss.naming.context.java.jboss.resources.jdbc.JISPDS]“,

Finally solved this, we know how much big problem it may be with single change it can be resolved, the same thing has been repeated here. 终于解决了这个问题,我们知道一次更改就能解决多少大问题,在这里重复了同样的事情。

The thing is, in jboss7 while configuring ds we need to add java:\\ or java:\\jboss\\ as prefix right!!! 关键是,在jboss7中,在配置ds时,我们需要添加java:\\或java:\\ jboss \\作为前缀! the same change we need to give at ejb-jar.xml while giving res-ref-name. 我们需要在给出res-ref-name的同时在ejb-jar.xml中进行相同的更改。 or else you need to face these problems while you migrating from older jboss 否则在从较旧的jboss迁移时需要面对这些问题

I hope this may useful for My friends thank u. 我希望这可能对我的朋友有用。谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM