1 2 3 Previous Next 33 Replies Latest reply on Jul 14, 2011 8:04 AM by u j

    AS7 CR1

    Prasad Deshpande Expert

      Hi Guys,

       

      Just a quick question, Does AS7 supports EE5 applications? I know it says it supports EE6 applications but I have an application which is EE5 std. Do I have to migrate it to EE6 first or is it deployable as it is?

       

      Thanks,

      Prasad

        • 1. Re: AS7 CR1
          jaikiran pai Master

          EE5 should work fine too. What technologies of EE5 are you using in that application?

          1 of 1 people found this helpful
          • 2. Re: AS7 CR1
            Prasad Deshpande Expert

            Thanks for quick reply Jaikiran,

             

            I'm using EJB3, WS, web & JMS. I tried to deploy ear with just ejb.jar & I received following error. I must admit, I couldn't understand it at all. I'm wondering, since I'm using JNDI for ejb lookup (which is old style java:comp/env), could that be a problem? I have deployed datasource & jms destinations correctly.

             

             

            15:23:14,296 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Console.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.FormHandler.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.WorkListManager.START","jboss.naming.context.java.comp.efp.efprocess.APC.env/jms/ErrorTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.APC.36","jboss.naming.context.java.comp.efp.efprocess.DeadlineManager.env/jms/ErrorTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.DeadlineManager.15","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CaseWareList.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.BusinessFunction.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapSB.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.UserState.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Type.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.WorkListPersister.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EnumManager.START","jboss.naming.context.java.comp.efp.efprocess.BusVar.\"env/com.banctec.caseware.server.dbaccess.typecmp.BusVarBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.BusVar.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.StatefulArchiveManager.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.SystemSession.START","jboss.naming.context.java.comp.efp.efprocess.ActiveActivityHandler.env/jms/AuditTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActiveActivityHandler.16","jboss.naming.context.java.comp.efp.efprocess.CaseHandler.env/jms/ReportingTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CaseHandler.23","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ErrorLoggerHandler.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.SysLog.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.RuleSetSession.START","jboss.naming.context.java.comp.efp.efprocess.Split.\"env/com.banctec.caseware.server.fwmap.entity.SplitBeanFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Split.8","jboss.naming.context.java.comp.efp.efprocess.ActionPersister.\"env/com.banctec.caseware.server.actionpersister.ActionPersisterFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActionPersister.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.NestedRule.START","jboss.naming.context.java.comp.efp.efprocess.ChainedBF.\"env/com.banctec.caseware.server.businessfunction.ChainedBFFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ChainedBF.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Mapping.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ExternalSecurity.START","jboss.naming.context.java.comp.efp.efprocess.CaseHandler.env/jms/ActiveActivityQueue.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CaseHandler.24","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.FreeTextHandler.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EnumValuePersister.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.DBAccess.START","jboss.naming.context.java.comp.efp.efprocess.MapEntity.\"env/com.banctec.caseware.server.fwmap.entity.MapEntityBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapEntity.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EntityHandler.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapSession.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ChainedBF.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.APC.START","jboss.persistenceunit.\"efp.ear#efp\"","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapNames.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CPC.START","jboss.naming.context.java.comp.efp.efprocess.UserState.\"env/com.banctec.caseware.server.dbaccess.typecmp.UserStateBeanFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.UserState.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CaseHandler.START","jboss.naming.context.java.comp.efp.efprocess.EnumValuePersister.\"env/com.banctec.caseware.server.enumpersister.EnumValuePersisterBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EnumValuePersister.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.TodoType.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EventManager.START","jboss.naming.context.java.comp.efp.efprocess.DeadlineConf.\"env/com.banctec.caseware.server.deadline.DeadlineConfBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.DeadlineConf.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.TypeLink.START","jboss.naming.context.java.comp.efp.efprocess.SysVar.\"env/com.banctec.caseware.server.dbaccess.typecmp.SysVarBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.SysVar.8","jboss.naming.context.java.comp.efp.efprocess.NestedRule.\"env/com.banctec.caseware.server.businessfunction.NestedRuleFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.NestedRule.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActivityNames.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EventPersister.START","jboss.naming.context.java.comp.efp.efprocess.ActivityNames.\"env/com.banctec.caseware.server.fwmap.entity.ActivityNamesBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActivityNames.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.TypeHandler.START","jboss.naming.context.java.comp.efp.efprocess.CPC.env/jms/AuditTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CPC.34","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActDeadline.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapBlob.START","jboss.naming.context.java.comp.efp.efprocess.CPC.env/jms/ErrorTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CPC.36","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.BusVar.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.PermissionHandler.START","jboss.naming.context.java.comp.efp.efprocess.Route.\"env/com.banctec.caseware.server.fwmap.entity.RouteBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Route.8","jboss.naming.context.java.comp.efp.efprocess.APC.env/jms/ReportingTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.APC.35","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActReturnStates.START","jboss.naming.context.java.comp.efp.efprocess.MapNames.\"env/com.banctec.caseware.server.fwmap.entity.MapNamesBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapNames.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.HierarchicalValuePersister.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.I18nHandler.START","jboss.naming.context.java.comp.efp.efprocess.Form.\"env/com.banctec.caseware.server.form.FormBeanFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Form.8","jboss.naming.context.java.comp.efp.efprocess.RulePersister.\"env/com.banctec.caseware.server.rulepersister.RulePersisterBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.RulePersister.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapInstances.START","jboss.naming.context.java.comp.efp.efprocess.ActReturnStates.\"env/com.banctec.caseware.server.fwmap.entity.ActReturnStatesBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActReturnStates.8","jboss.naming.context.java.comp.efp.efprocess.OperationalContext.\"env/com.banctec.caseware.server.businessfunction.OperationalContextFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.OperationalContext.8","jboss.naming.context.java.comp.efp.efprocess.TodoType.\"env/com.banctec.caseware.server.dbaccess.typecmp.TodoTypeBeanFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.TodoType.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActivitySession.START","jboss.naming.context.java.comp.efp.efprocess.DeadlineManager.env/jms/AuditTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.DeadlineManager.16","jboss.naming.context.java.comp.efp.efprocess.Type.\"env/com.banctec.caseware.server.dbaccess.typecmp.TypeBeanFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Type.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.RulePersister.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.OperationalContext.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.UserProfileManager.START","jboss.naming.context.java.comp.efp.efprocess.GlobalVar.\"env/com.banctec.caseware.server.dbaccess.typecmp.GlobalVarBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.GlobalVar.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActionPersister.START","jboss.naming.context.java.comp.efp.efprocess.APC.env/jms/AdminTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.APC.33","jboss.naming.context.java.comp.efp.efprocess.SysLog.\"env/com.banctec.caseware.server.syslog.SysLogBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.SysLog.8","jboss.naming.context.java.comp.efp.efprocess.MapSB.env/jms/ReportingTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapSB.10","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.UserSession.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ResourceFactory.START","jboss.naming.context.java.comp.efp.efprocess.EnumPersister.\"env/com.banctec.caseware.server.enumpersister.EnumPersisterBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EnumPersister.8","jboss.naming.context.java.comp.efp.efprocess.WorkListPersister.\"env/com.banctec.caseware.server.worklistpersister.WorkListPersisterBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.WorkListPersister.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ArchiveManager.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EnumPersister.START","jboss.naming.context.java.comp.efp.efprocess.EventPersister.\"env/com.banctec.caseware.server.eventpersister.EventPersisterBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EventPersister.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".jndiDependencyService","jboss.naming.context.java.comp.efp.efprocess.InvocationContext.\"env/com.banctec.caseware.server.businessfunction.InvocationContextFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.InvocationContext.8","jboss.naming.context.java.comp.efp.efprocess.ActiveActivityHandler.env/jms/ReportingTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActiveActivityHandler.17","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.RuleManager.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.TodoHandler.START","jboss.naming.context.java.comp.efp.efprocess.BusinessFunction.\"env/com.banctec.caseware.server.businessfunction.BusinessFunctionFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.BusinessFunction.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.PropertyManager.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.SSBL.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.PolicyHandler.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActiveActivityHandler.START","jboss.naming.context.java.comp.efp.efprocess.MapInstances.\"env/com.banctec.caseware.server.fwmap.entity.MapInstancesBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapInstances.8","jboss.naming.context.java.comp.efp.efprocess.ErrorLoggerHandler.env/jms/ErrorTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ErrorLoggerHandler.9","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.FreeTextProxy.START","jboss.naming.context.java.comp.efp.efprocess.EJBCommandServer.env/jms/ErrorTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EJBCommandServer.11","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.DeadlineManager.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Node.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.GlobalVar.START","jboss.naming.context.java.comp.efp.efprocess.CaseHandler.env/jms/FreeTextTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CaseHandler.21","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.JndiCache.START","jboss.naming.context.java.comp.efp.efprocess.RuleManager.env/jms/AuditTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.RuleManager.14","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.SysVar.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.WorkspaceHandler.START","jboss.naming.context.java.comp.efp.efprocess.CPC.env/jms/ReportingTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CPC.35","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.MapEntity.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.BFLogManager.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.DeadlineConf.START","jboss.naming.context.java.comp.efp.efprocess.CaseHandler.env/jms/AuditTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CaseHandler.22","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.TypeVariable.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Split.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Security.START","jboss.naming.context.java.comp.efp.efprocess.APC.env/jms/AuditTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.APC.34","jboss.naming.context.java.comp.efp.efprocess.TypeVariable.\"env/com.banctec.caseware.server.freetext.TypeVariableBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.TypeVariable.8","jboss.naming.context.java.comp.efp.efprocess.DeadlineManager.env/jms/ReportingTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.DeadlineManager.17","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.InvocationContext.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ExternalSecurityActiveDirectory.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.FreeTextList.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Form.START","jboss.naming.context.java.comp.efp.efprocess.Mapping.\"env/com.banctec.caseware.server.system.MappingBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Mapping.8","jboss.naming.context.java.comp.efp.efprocess.TypeLink.\"env/com.banctec.caseware.server.dbaccess.typecmp.TypeLinkFacade/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.TypeLink.8","jboss.naming.context.java.comp.efp.efprocess.Node.\"env/com.banctec.caseware.server.fwmap.entity.NodeBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Node.8","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.GlobalVariablesHandler.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Route.START","jboss.naming.context.java.comp.efp.efprocess.ActDeadline.\"env/com.banctec.caseware.server.deadline.ActDeadlineBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActDeadline.8","jboss.naming.context.java.comp.efp.efprocess.CaseWareList.env/jms/ErrorTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.CaseWareList.10","jboss.naming.context.java.comp.efp.efprocess.ActiveActivityHandler.env/jms/ErrorTopic.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActiveActivityHandler.15","jboss.naming.context.java.comp.efp.efprocess.HierarchicalValuePersister.\"env/com.banctec.caseware.server.enumpersister.HierarchicalValuePersisterBean/em\".jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.HierarchicalValuePersister.8","jboss.naming.context.java.comp.efp.efprocess.ActiveActivityHandler.env/jms/ActiveActivityQueue.jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.ActiveActivityHandler.18","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.EJBCommandServer.START","jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".component.Component.START"]}}}

            If you could please throw some insight, that would be really helpful.

             

            Thanks,

            Prasad

            • 3. Re: AS7 CR1
              jaikiran pai Master

              Hmm, that's the first time I'm seeing such a long error message in the logs of AS7. How are you deploying the application?

               

              Can you attach the entire server.log (and maybe even boot.log) to this thread?

              • 4. Re: AS7 CR1
                Prasad Deshpande Expert

                Thanks Jaikiran, I've attached log files.

                 

                 

                I'm using directory based deployment. Structure is as follows

                 

                ear

                   --- lib

                     ---- (required jar files...)

                   --- ejb.jar

                   --- META-INF

                           ---- application.xml

                 

                 

                ear also contains web modules, but I've removed them for now just to see if it deploys ejbs completely.

                 

                Thanks,

                Prasad

                • 5. Re: AS7 CR1
                  jaikiran pai Master

                  I just had a look at that server.log file. However, it's really difficult to understand that very length log message (i'll see what we can do to improve that logging). It indicates that some dependency is missing but I'm not sure which one.

                   

                  My initial guess is that you haven't configured your JMS queues/topics that are required by the components. Can you post some relevant code and configurations. Or maybe try and trim down the application to reproduce this issue?

                  • 6. Re: AS7 CR1
                    Prasad Deshpande Expert

                    Even I had similar feeling, but  about naming, I've configured queues/topic, just that I'm using some other name to refer from application to them.

                     

                    15:23:03,203 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-8) trying to deploy queue jms.topic.FreeTextTopic

                    15:23:03,296 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-6) trying to deploy queue jms.topic.AdminTopic

                    15:23:03,312 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-7) trying to deploy queue jms.topic.AuditTopic

                    15:23:03,312 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.topic.testTopic

                    15:23:03,328 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) trying to deploy queue jms.queue.ActiveActivityQueue

                    15:23:03,359 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-5) trying to deploy queue jms.topic.ReportingTopic

                    15:23:03,375 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-6) trying to deploy queue jms.topic.ErrorTopic

                    These are the queue/topics deployed while startup.

                     

                    Example annotations in one of the bean is

                     

                    @Resources({@Resource(authenticationType = AuthenticationType.CONTAINER, type = TopicConnectionFactory.class, name = "jms/TopicFactory", mappedName = "java:/JmsXA"),

                            @Resource(name = "jms/AdminTopic", type = Topic.class, mappedName = "topic/efpAdminTopic"),

                            @Resource(name = "jms/AuditTopic", type = Topic.class, mappedName = "topic/efpAuditTopic")})

                     

                    Is there anyway to look at JNDI tree in AS7 ? I couldn't find anything in Administration console. All it was saying is topic/efpAdminTopic etc.. but whether it's bound to java:global/ or java:/ or java:comp/env/ namespace, I couldn't figure out.

                     

                    In the code I lookup as (though lookup comes when application is deployed):

                     

                    context.lookup("java:/comp/env/jms/AdminTopic");

                     

                    I'm in the process of narrowing down components to be deployed, meanwhile if you could please help me with how to view JNDI tree & exact error meaning of error message please?

                     

                    Thanks,

                    Prasad

                    • 7. Re: AS7 CR1
                      jaikiran pai Master

                      We don't have JNDI tree view yet in AS7.

                       

                      Can you please post the HornetQ queue/topic configurations that you have?

                      • 8. Re: AS7 CR1
                        Prasad Deshpande Expert

                        I've attached my standalone.xml:

                         

                        While looking into error more closely, I noticed following line.

                         

                        "jboss.naming.context.java.comp.efp.efprocess.EnumPersister."env/com.banctec.caseware.server.enumpersister.EnumPersisterBean/em".jboss.deployment.subunit."efp.ear"."efprocess.jar".component.EnumPersister.8",

                        in EnumPersisterBean, "em" is an EntityManager defined as @PersistenceContext private EntityManager em; but I couldn't understand "env/.....EnumPersisterBean/em" stuff.. also, nowhere in the log I saw entry for JPA being used/deployed (I use hibernate, but all my hibernate jars are bundled inside lib folder of ear. I'm using persistence.xml complies to JPA 1). Does that rings any bell?

                        • 9. Re: AS7 CR1
                          jaikiran pai Master

                          Prasad Deshpande wrote:

                           

                          While looking into error more closely, I noticed following line.

                           

                          "jboss.naming.context.java.comp.efp.efprocess.EnumPersister."env/com.banctec.caseware.server.enumpersister.EnumPersisterBean/em".jboss.deployment.subunit."efp.ear"."efprocess.jar".component.EnumPersister.8",

                          in EnumPersisterBean, "em" is an EntityManager defined as @PersistenceContext private EntityManager em; but I couldn't understand "env/.....EnumPersisterBean/em" stuff..

                          That should be fine. The default prefix for a @PersistenceContext without a "name" is java:comp/env/FullyQualifiedBeanClassName/fieldName.

                           

                           

                          Prasad Deshpande wrote:

                           

                          also, nowhere in the log I saw entry for JPA being used/deployed (I use hibernate, but all my hibernate jars are bundled inside lib folder of ear. I'm using persistence.xml complies to JPA 1). Does that rings any bell?

                          I do see this in the log:

                           

                          15:23:08,812 INFO  [org.jboss.jpa] (MSC service thread 1-6) read persistence.xml for efp

                          but nothing more than that. It's weird that the Hibernate initialization logs aren't seen. Where have you placed the persistence.xml? What does it look like?

                           

                          Also try enabling DEBUG level logging and see if you can get more info.

                          • 10. Re: AS7 CR1
                            Prasad Deshpande Expert

                            I've enabled logs to DEBUG level, & attached recent ones. Also, attached persistence.xml. I keep persistence.xml in one of the jar in lib directory of ear. I tried keeping it in ejb.jar as well nothing different.

                             

                            Any thoughts?

                            • 11. Re: AS7 CR1
                              Scott Marlow Master

                              Prasad,

                               

                              I see that we are reading the persistence.xml (server.log contains "read persistence.xml for efp").  Currently, non-JPA Hibernate applications can include their own Hibernate jars.  If your application uses JPA, then using the Hibernate that is included with AS7, should help you get further.  Please remove the Hibernate jars from your ear to test this.

                               

                              You should also remove the "hibernate.transaction.manager_lookup_class" property from your persistence.xml and the provider is not needed.

                               

                              Scott

                              • 12. Re: AS7 CR1
                                Prasad Deshpande Expert

                                I tried removing hibernate jars from my ear's lib directory. Doesn't make any difference. I've attached recent logs again. I'm really not sure what is application server complaining about, once I understand that thing, I'd try to correct it. But at the moment, I can't guess anything from error message apart from missng dependency.

                                • 13. Re: AS7 CR1
                                  Prasad Deshpande Expert

                                  Guys,

                                   

                                  A quick update, I was trying to deploy just entity beans & I came across following error:

                                   

                                  15:12:34,015 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"efp.ear\".\"efprocess.jar\".INSTALL: Failed to process phase INSTALL of subdeployment \"efprocess.jar\" of deployment \"efp.ear\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.efp.efprocess.Split.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.WorkListPersister.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.InvocationContext.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.HierarchicalValuePersister.Validator","jboss.naming.context.java.comp.efp.efprocess.BusinessFunction.Validator","jboss.naming.context.java.comp.efp.efprocess.EventPersister.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.MapEntity.ValidatorFactory","jboss.deployment.unit.\"efp.ear\".CLEANUP","jboss.naming.context.java.comp.efp.efprocess.EnumPersister.Validator","jboss.naming.context.java.comp.efp.efprocess.TypeVariable.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.DeadlineConf.Validator","jboss.naming.context.java.comp.efp.efprocess.MapEntity.Validator","jboss.naming.context.java.comp.efp.efprocess.MapInstances.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.EnumPersister.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.NestedRule.Validator","jboss.naming.context.java.comp.efp.efprocess.ActReturnStates.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.BusinessFunction.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.TypeLink.Validator","jboss.naming.context.java.comp.efp.efprocess.TodoType.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.ActivityNames.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.OperationalContext.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.SysLog.Validator","jboss.naming.context.java.comp.efp.efprocess.Split.Validator","jboss.naming.context.java.comp.efp.efprocess.HierarchicalValuePersister.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.UserState.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.TypeLink.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.Node.Validator","jboss.naming.context.java.comp.efp.efprocess.SysVar.Validator","jboss.naming.context.java.comp.efp.efprocess.EnumValuePersister.Validator","jboss.naming.context.java.comp.efp.efprocess.BusVar.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.EventPersister.Validator","jboss.naming.context.java.comp.efp.efprocess.BusVar.Validator","jboss.naming.context.java.comp.efp.efprocess.GlobalVar.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.ChainedBF.Validator","jboss.naming.context.java.comp.efp.efprocess.TypeVariable.Validator","jboss.naming.context.java.comp.efp.efprocess.Node.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.SysVar.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.Type.Validator","jboss.naming.context.java.comp.efp.efprocess.DeadlineConf.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.RulePersister.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.ActivityNames.Validator","jboss.naming.context.java.comp.efp.efprocess.Route.Validator","jboss.naming.context.java.comp.efp.efprocess.ChainedBF.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.EnumValuePersister.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.Route.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.InvocationContext.Validator","jboss.naming.context.java.comp.efp.efprocess.Type.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.ActionPersister.Validator","jboss.naming.context.java.comp.efp.efprocess.SysLog.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.ActReturnStates.Validator","jboss.naming.context.java.comp.efp.efprocess.ActDeadline.Validator","jboss.naming.context.java.comp.efp.efprocess.UserState.Validator","jboss.naming.context.java.comp.efp.efprocess.TodoType.Validator","jboss.naming.context.java.comp.efp.efprocess.MapInstances.Validator","jboss.naming.context.java.comp.efp.efprocess.GlobalVar.Validator","jboss.persistenceunit.\"efp.ear#efp\"","jboss.naming.context.java.comp.efp.efprocess.RulePersister.Validator","jboss.naming.context.java.comp.efp.efprocess.MapNames.Validator","jboss.naming.context.java.comp.efp.efprocess.WorkListPersister.Validator","jboss.naming.context.java.comp.efp.efprocess.NestedRule.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.MapNames.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.ActDeadline.ValidatorFactory","jboss.naming.context.java.comp.efp.efprocess.OperationalContext.Validator","jboss.naming.context.java.comp.efp.efprocess.ActionPersister.ValidatorFactory"]}}}

                                  Could you please hint me on what is it doing with Validator & ValidatorFactory? I feel if something is misconfigured here, could be a cause of problem?

                                  • 14. Re: AS7 CR1
                                    Scott Marlow Master

                                    I'm not sure, try TRACE logging next.

                                    1 2 3 Previous Next