首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图

jboss7配置ejb3启动超时解决方法

2014-04-25 来源:读书人网 【读书人网(Reader8.cn):综合教育门户网站】
jboss7配置ejb3启动超时12:55:40,552 INFO[org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDepl

jboss7配置ejb3启动超时
12:55:40,552 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named OrganizationBean in deployment unit deployment "082IntelinkEJB.jar" are as follows:

java:global/082IntelinkEJB/OrganizationBean!com.intelink.back.organization.ejb.OrganizationService
java:app/082IntelinkEJB/OrganizationBean!com.intelink.back.organization.ejb.OrganizationService
java:module/OrganizationBean!com.intelink.back.organization.ejb.OrganizationService
java:jboss/exported/082IntelinkEJB/OrganizationBean!com.intelink.back.organization.ejb.OrganizationService
java:global/082IntelinkEJB/OrganizationBean
java:app/082IntelinkEJB/OrganizationBean
java:module/OrganizationBean

12:55:40,751 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011402: Starting Persistence Unit Service '082IntelinkEJB.jar#baseds'
12:55:41,253 INFO  [org.hibernate.annotations.common.Version] (MSC service thread 1-1) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
12:55:41,270 INFO  [org.hibernate.Version] (MSC service thread 1-1) HHH000412: Hibernate Core {4.0.1.Final}
12:55:41,274 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-1) HHH000206: hibernate.properties not found
12:55:41,277 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-1) HHH000021: Bytecode provider name : javassist
12:55:41,306 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-1) HHH000204: Processing PersistenceUnitInfo [
name: baseds
...]
12:55:41,496 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-1) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
12:55:42,040 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-1) HHH000400: Using dialect: org.hibernate.dialect.SQLServer2005Dialect
12:55:42,060 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-1) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
12:55:42,068 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-1) HHH000397: Using ASTQueryTranslatorFactory
12:56:39,513 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "082IntelinkEJB.jar" was rolled back with failure message Operation cancelled
12:56:39,526 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.
启动日志是这样的,启动到EJB注入数据源,采用CMTTransactionFactory工厂后就卡住,开始超时了,具体要在jboss-deployment-structure.xml特别配置什么 才能启动数据源 读取数据库元数据?
[解决办法]
楼主大公司吧 羡慕嫉妒恨