有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java JBoss自动取消部署EJB

我们办公室有情况。JBoss自动卸载所有部署的EJB,而我们不知道为什么

这是我们得到的日志:

2009-11-09 15:59:51,375 INFO  [org.jboss.system.server.Server] JBoss (MX MicroKernel)      [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 14s:704ms

2009-11-09 15:59:51,390 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic     recovery - first pass 
2009-11-09 15:59:51,406 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule:     first pass 
2009-11-09 15:59:51,406 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N]     [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
2009-11-09 15:59:51,406 DEBUG [com.arjuna.ats.jta.logging.loggerI18N]     [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
2009-11-09 16:00:01,406 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic     recovery - second pass 
2009-11-09 16:00:01,406 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger]     AtomicActionRecoveryModule: Second pass 
2009-11-09 16:00:01,406 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N]     [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
2009-11-09 16:00:01,406 DEBUG [com.arjuna.ats.jta.logging.loggerI18N]     [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass


2009-11-09 16:00:42,796 DEBUG [org.jboss.system.ServiceController] destroying service:     persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh
2009-11-09 16:00:42,796 DEBUG [org.jboss.system.ServiceController] Destroy requested     before stop, calling stop now for service:     persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh
2009-11-09 16:00:42,796 DEBUG [org.jboss.system.ServiceController] stopping service:     persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh
2009-11-09 16:00:42,796 DEBUG [org.jboss.system.ServiceController] stopping dependent         services for:     persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh dependent     services are: [ObjectName:     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestEvaluation,service=EJB3
      State: RUNNING
      I Depend On:
        persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh
    , ObjectName:     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestionUtilisateur,service=E    JB3
       State: RUNNING
      I Depend On:
        persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh
    ]
2009-11-09 16:00:42,796 DEBUG [org.jboss.system.ServiceController] stopping service:     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestEvaluation,service=EJB3
2009-11-09 16:00:42,796 DEBUG [org.jboss.system.ServiceController] stopping dependent     services for:     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestEvaluation,service=EJB3     dependent services are: []
2009-11-09 16:00:42,796 DEBUG [org.jboss.ejb3.stateless.StatelessDelegateWrapper]     Stopping     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestEvaluation,service=EJB3
2009-11-09 16:00:42,796 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl]     removeTimerService: org.jboss.ejb.txtimer.TimerServiceImpl@134329b
2009-11-09 16:00:42,812 INFO  [org.jboss.ejb3.EJBContainer] STOPPED EJB:      com.afrikbrain.grh.ejb.session.GestEvaluation ejbName: GestEvaluation
2009-11-09 16:00:42,812 DEBUG [org.jboss.ejb3.stateless.StatelessDelegateWrapper]     Stopped     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestEvaluation,service=EJB3
2009-11-09 16:00:42,812 DEBUG [org.jboss.system.ServiceController] stopping service:     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestionUtilisateur,service=E    JB3
2009-11-09 16:00:42,812 DEBUG [org.jboss.system.ServiceController] stopping dependent     services for:     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestionUtilisateur,service=E    JB3 dependent services are: []
2009-11-09 16:00:42,812 DEBUG [org.jboss.ejb3.stateless.StatelessDelegateWrapper]     Stopping     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestionUtilisateur,service=E     JB3
2009-11-09 16:00:42,812 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl]     removeTimerService: org.jboss.ejb.txtimer.TimerServiceImpl@1da817b
2009-11-09 16:00:42,812 INFO  [org.jboss.ejb3.EJBContainer] STOPPED EJB:     com.afrikbrain.grh.ejb.session.GestionUtilisateur ejbName: GestionUtilisateur
2009-11-09 16:00:42,812 DEBUG [org.jboss.ejb3.stateless.StatelessDelegateWrapper]     Stopped     jboss.j2ee:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,name=GestionUtilisateur,service=E    JB3
2009-11-09 16:00:42,812 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Stopping     persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh
2009-11-09 16:00:42,812 INFO  [org.jboss.ejb3.entity.PersistenceUnitDeployment]     Stopping persistence unit     persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh
2009-11-09 16:00:42,812 INFO  [org.hibernate.impl.SessionFactoryImpl] closing
2009-11-09 16:00:42,812 INFO  [org.hibernate.impl.SessionFactoryObjectFactory]     Unbinding factory from JNDI name:     persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh
2009-11-09 16:00:42,812 INFO  [org.hibernate.util.NamingHelper] JNDI InitialContext     properties:  {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,   java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2009-11-09 16:00:42,812 INFO  [org.hibernate.impl.SessionFactoryObjectFactory] Unbound     factory from JNDI name:     persistence.units:ear=prjGRHProcess.ear,jar=prjGRHProcessEJB.jar,unitName=grh
2009-11-09 16:00:42,812 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] Running  hbm2ddl schema export
2009-11-09 16:00:42,812 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] import file   not found: /import.sql
2009-11-09 16:00:42,812 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] exporting     generated schema to database
2009-11-09 16:00:42,812 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] drop table      TBA_ACT_TRANSMISSION cascade constraints
2009-11-09 16:00:42,828 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] drop table     TBA_DEST_TRANSMISSION cascade constraints
2009-11-09 16:00:42,843 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] drop table     TBA_DOMAINE_PROFIL cascade constraints
2009-11-09 16:00:42,859 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] drop table     TBA_EMPLOYE_UM cascade constraints
2009-11-09 16:00:42,875 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] drop table TBA_MANAGERS_UM cascade constraints
2009-11-09 16:00:42,890 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] drop table TB_ACTION cascade constraints
2009-11-09 16:00:42,906 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] drop table TB_DMDDEROGATION cascade constraints 

共 (1) 个答案

  1. # 1 楼答案

    将日志记录级别设置为TRACE可能会有所帮助

    顺便说一句,我发现用jdk1编译的EJB也存在类似的问题。4,部署在jdk1中运行的jboss中。5.请检查jdk版本