[jboss-user] [EJB 3.0] - Re: Session bean lookup fails JBoss 5, worked in 4.0.5
lpmon
do-not-reply at jboss.com
Tue Jul 22 10:32:34 EDT 2008
jaikiran, Thanks for your help on this. I was also convinced it is an ordering issue. The key point here is that @Startup and a servlet configured with load-on-startup appears to load the class and execute the startup method before the jndi binding has completed.
To clarify: when using @Startup with an @PostConstruct method the Seam component startup method failed which caused the module deployment to fail. When I moved the startup code to a startup servlet the lookup failure did not cause the module deployment to fail. FYI: I was not catching this exception.
The exception is the same in either scenario (NameNotFoundException).
IMO startup code should not be executed until EJBs are loaded/bound. Otherwise we cannot use EJBs in startup code. Any session beans anotated with @Startup it should be loaded after those that are not @Startup.
Log:
2008-07-21 15:53:11,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Created KernelDeployment for: ec20.jar
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: persistence.units:ear=ec20.ear,jar=ec20.jar,unitName=ec20
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies:
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands:
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.jca:name=ec20Datasource,service=DataSourceBinding
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies:
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) persistence.units:unitName=ec20
2008-07-21 15:53:11,736 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(persistence.units:ear=ec20.ear,jar=ec20.jar,unitName=ec20) to KernelDeployment of: ec20.jar
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:ear=ec20.ear,jar=ec20.jar,name=DBUtilBean,service=EJB3
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies:
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands:
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) persistence.units:ear=ec20.ear,jar=ec20.jar,unitName=ec20
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.ejb:service=EJBTimerService
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies:
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/DBUtilBean/local-com.pearson.ejb3.session.DBUtil
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/DBUtilBean/local
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Class:com.pearson.ejb3.session.DBUtil
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:DBUtilBean
2008-07-21 15:53:12,908 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:ear=ec20.ear,jar=ec20.jar,name=DBUtilBean,service=EJB3) to KernelDeployment of: ec20.jar
.. other beans ommited to reduce file size
2008-07-21 15:53:13,174 INFO [STDOUT] (main) ======> Creating interceptor metadata bridge
2008-07-21 15:53:13,424 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor at 9bbe3e
2008-07-21 15:53:13,471 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor at 9bbe3e
2008-07-21 15:53:13,517 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor at 9bbe3e
2008-07-21 15:53:13,517 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (main) WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor at 9bbe3e
2008-07-21 15:53:13,767 INFO [STDOUT] (main) ======> Creating interceptor metadata bridge
2008-07-21 15:53:14,642 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Created KernelDeployment for: jboss-seam.jar
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:ear=ec20.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies:
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands:
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.ejb:service=EJBTimerService
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies:
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:TimerServiceDispatcher
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/TimerServiceDispatcher/local
2008-07-21 15:53:14,658 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Class:org.jboss.seam.async.LocalTimerServiceDispatcher
2008-07-21 15:53:14,674 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher
2008-07-21 15:53:14,674 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:ear=ec20.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3) to KernelDeployment of: jboss-seam.jar
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:ear=ec20.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) with dependencies:
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and demands:
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jboss.ejb:service=EJBTimerService
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) and supplies:
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/EjbSynchronizations/local
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Class:org.jboss.seam.transaction.LocalEjbSynchronizations
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:ec20/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) jndi:EjbSynchronizations
2008-07-21 15:53:14,689 INFO [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:ear=ec20.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3) to KernelDeployment of: jboss-seam.jar
2008-07-21 15:53:16,189 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) JBoss Web Services - Stack Native Core
2008-07-21 15:53:16,189 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) 3.0.2.GA
2008-07-21 15:53:25,314 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
2008-07-21 15:53:26,596 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/pearson, vfsUrl=ec20.ear/ec20.war
2008-07-21 15:53:33,486 INFO [javax.servlet.ServletContextListener] (main) Welcome to Seam 2.0.3.CR1
2008-07-21 15:54:06,033 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, prefix: org.jboss.seam.ioc.spring
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix:
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
2008-07-21 15:54:06,111 INFO [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
2008-07-21 15:54:06,127 INFO [org.jboss.seam.init.Initialization] (main) reading /WEB-INF/components.xml
2008-07-21 15:54:06,236 INFO [org.jboss.seam.init.Initialization] (main) reading vfszip:/C:/app/jboss-5.0.0.CR1/server/default/deploy/ec20.ear/ec20.war/WEB-INF/lib/jboss-seam-remoting.jar/META-INF/components.xml
2008-07-21 15:54:06,252 INFO [org.jboss.seam.init.Initialization] (main) reading vfszip:/C:/app/jboss-5.0.0.CR1/server/default/deploy/ec20.ear/ec20.war/WEB-INF/lib/jboss-seam-ui.jar/META-INF/components.xml
2008-07-21 15:54:06,252 INFO [org.jboss.seam.init.Initialization] (main) reading vfszip:/C:/app/jboss-5.0.0.CR1/server/default/deploy/ec20.ear/jboss-seam.jar/META-INF/components.xml
2008-07-21 15:54:06,267 INFO [org.jboss.seam.init.Initialization] (main) reading vfszip:/C:/app/jboss-5.0.0.CR1/server/default/deploy/ec20.ear/ec20.war/WEB-INF/lib/jboss-seam-ioc.jar/META-INF/components.xml
2008-07-21 15:54:06,267 INFO [org.jboss.seam.init.Initialization] (main) reading properties from: /seam.properties
2008-07-21 15:54:06,283 INFO [org.jboss.seam.init.Initialization] (main) reading properties from: /jndi.properties
2008-07-21 15:54:06,299 INFO [org.jboss.seam.init.Initialization] (main) initializing Seam
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.transaction.synchronizations
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.locale
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.expressions
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.web.parameters
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.persistence.persistenceProvider
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.security.entityPermissionChecker
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.web.userPrincipal
2008-07-21 15:54:06,314 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.bpm.businessProcess
2008-07-21 15:54:06,330 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.security.identity
2008-07-21 15:54:06,330 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.locale
2008-07-21 15:54:06,330 INFO [org.jboss.seam.init.Initialization] (main) two components with same name, higher precedence wins: org.jboss.seam.core.manager
2008-07-21 15:54:06,549 INFO [org.jboss.seam.Component] (main) Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
2008-07-21 15:54:06,564 INFO [org.jboss.seam.init.Initialization] (main) Installing components...
2008-07-21 15:54:06,627 INFO [org.jboss.seam.Component] (main) Component: DebugSupport, scope: SESSION, type: JAVA_BEAN, class: com.pearson.util.DebugSupport
2008-07-21 15:54:06,674 INFO [org.jboss.seam.Component] (main) Component: IButtonMgr, scope: CONVERSATION, type: STATELESS_SESSION_BEAN, class: com.pearson.ejb3.session.IButtonMgrBean, JNDI: ec20/IButtonMgrBean/local
2008-07-21 15:54:06,674 INFO [org.jboss.seam.Component] (main) Component: NetworkInfo, scope: EVENT, type: JAVA_BEAN, class: com.pearson.util.NetworkInfo
2008-07-21 15:54:06,689 INFO [org.jboss.seam.Component] (main) Component: OTASender, scope: CONVERSATION, type: STATELESS_SESSION_BEAN, class: com.pearson.ejb3.session.ota.OTASenderBean, JNDI: ec20/OTASenderBean/local
2008-07-21 15:54:06,705 INFO [org.jboss.seam.Component] (main) Component: Processor, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: com.pearson.ejb3.session.util.ProcessorBean, JNDI: ec20/ProcessorBean/local
....
....
2008-07-21 15:54:08,736 INFO [org.jboss.seam.contexts.Contexts] (main) starting up: org.jboss.seam.navigation.pages
2008-07-21 15:54:08,752 INFO [org.jboss.seam.contexts.Contexts] (main) starting up: org.jboss.seam.security.facesSecurityEvents
2008-07-21 15:54:08,752 INFO [org.jboss.seam.contexts.Contexts] (main) starting up: swStartup
2008-07-21 15:54:08,877 ERROR [STDERR] (main) Error loading properties from-C:\app\jboss-5.0.0.CR1\server\default\properties\\pearson.properties C:\app\jboss-5.0.0.CR1\server\default\properties\pearson.properties (The system cannot find the path specified)
2008-07-21 15:54:08,877 INFO [STDOUT] (main) Using default property URL: pearson.properties
2008-07-21 15:54:08,924 ERROR [STDERR] (main) Error loading properties from - pearson.properties null
2008-07-21 15:54:08,924 INFO [STDOUT] (main) Could not load properties
2008-07-21 15:54:08,924 WARN [com.pearson] (main) sw.Server.Version = 2.0.1
2008-07-21 15:54:08,924 WARN [com.pearson] (main) sw.property.dir = C:\app\jboss-5.0.0.CR1\server\default\properties\
2008-07-21 15:54:08,939 INFO [org.jboss.seam.init.Initialization] (main) done initializing Seam
2008-07-21 15:54:08,939 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.loggingFilter
2008-07-21 15:54:08,939 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.ajax4jsfFilter
2008-07-21 15:54:09,033 INFO [org.ajax4jsf.cache.CacheManager] (main) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
2008-07-21 15:54:09,033 INFO [org.ajax4jsf.cache.LRUMapCacheFactory] (main) Creating LRUMap cache instance using parameters: {com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, org.richfaces.SKIN=DEFAULT, javax.faces.DEFAULT_SUFFIX=.xhtml}
2008-07-21 15:54:09,033 INFO [org.ajax4jsf.cache.LRUMapCacheFactory] (main) Creating LRUMap cache instance of default capacity
2008-07-21 15:54:09,111 INFO [org.ajax4jsf.cache.CacheManager] (main) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
2008-07-21 15:54:09,111 INFO [org.ajax4jsf.cache.LRUMapCacheFactory] (main) Creating LRUMap cache instance using parameters: {com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, facelets.DEVELOPMENT=true, org.richfaces.SKIN=DEFAULT, javax.faces.DEFAULT_SUFFIX=.xhtml}
2008-07-21 15:54:09,127 INFO [org.ajax4jsf.cache.LRUMapCacheFactory] (main) Creating LRUMap cache instance of default capacity
2008-07-21 15:54:09,127 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.redirectFilter
2008-07-21 15:54:09,142 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.exceptionFilter
2008-07-21 15:54:09,142 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.web.multipartFilter
2008-07-21 15:54:09,142 INFO [org.jboss.seam.servlet.SeamFilter] (main) Initializing filter: org.jboss.seam.debug.hotDeployFilter
2008-07-21 15:54:09,142 FATAL [com.pearson.util.LookupUtil] (main) for Interface: DBUtilBean context is null: false
javax.naming.NameNotFoundException: ec20 not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.pearson.util.LookupUtil.lookupEJB(LookupUtil.java:61)
at com.pearson.servlet.StartupServlet.init(StartupServlet.java:51)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4074)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4384)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:139)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:431)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:112)
at org.jboss.web.deployers.WebModule.start(WebModule.java:90)
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)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy35.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:271)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:624)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:595)
.....
.....
2008-07-21 15:54:09,205 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/, vfsUrl=ROOT.war
2008-07-21 15:54:09,299 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
2008-07-21 15:54:09,533 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
2008-07-21 15:54:09,674 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
2008-07-21 15:54:11,221 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ec20Datasource' to JNDI name 'java:ec20Datasource'
2008-07-21 15:54:11,252 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
......
2008-07-21 15:54:15,377 INFO [org.jboss.jms.server.ServerPeer] (main) JBoss Messaging 1.4.1.CR1 server [0] started
2008-07-21 15:54:15,455 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
2008-07-21 15:54:17,377 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
2008-07-21 15:54:17,705 INFO [org.jboss.ejb3.entity.PersistenceUnitDeployment] (main) Starting persistence unit persistence.units:ear=ec20.ear,jar=ec20.jar,unitName=ec20
2008-07-21 15:54:18,111 INFO [org.hibernate.cfg.annotations.Version] (main) Hibernate Annotations 3.4.0.CR1
2008-07-21 15:54:18,267 INFO [org.hibernate.cfg.Environment] (main) Hibernate 3.3.0.CR1
2008-07-21 15:54:18,314 INFO [org.hibernate.cfg.Environment] (main) hibernate.properties not found
2008-07-21 15:54:18,346 INFO [org.hibernate.cfg.Environment] (main) Bytecode provider name : javassist
2008-07-21 15:54:18,408 INFO [org.hibernate.cfg.Environment] (main) using JDK 1.4 java.sql.Timestamp handling
2008-07-21 15:54:19,096 INFO [org.hibernate.annotations.common.Version] (main) Hibernate Commons Annotations 3.1.0.CR1
2008-07-21 15:54:19,142 INFO [org.hibernate.ejb.Version] (main) Hibernate EntityManager 3.4.0.CR1
2008-07-21 15:54:22,564 WARN [org.hibernate.ejb.Ejb3Configuration] (main) Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
2008-07-21 15:54:23,158 INFO [org.hibernate.cfg.AnnotationBinder] (main) Binding entity from annotated class: com.pearson.ejb3.entity.Eventfactory
2008-07-21 15:54:23,252 INFO [org.hibernate.cfg.annotations.QueryBinder] (main) Binding Named query: evt_factory_srcEvtCode_asc => select ef from Eventfactory ef order by ef.eventtypes.ik asc
2008-07-21 15:54:23,705 INFO [org.hibernate.cfg.annotations.EntityBinder] (main) Bind entity com.pearson.ejb3.entity.Eventfactory on table eventfactory
2008-07-21 15:54:24,299 INFO [org.hibernate.cfg.AnnotationBinder] (main) Binding entity from annotated class: com.pearson.ejb3.entity.Eventtypes
2008-07-21 15:54:24,299 INFO [org.hibernate.cfg.annotations.QueryBinder] (main) Binding Named query: eventtypes_all => select et from Eventtypes et
2008-07-21 15:54:24,299 INFO [org.hibernate.cfg.annotations.EntityBinder] (main) Bind entity com.pearson.ejb3.entity.Eventtypes on table eventtypes
2008-07-21 15:54:24,580 INFO [org.hibernate.cfg.AnnotationBinder] (main) Binding entity from annotated class: com.pearson.ejb3.entity.Units
2008-07-21 15:54:24,580 INFO [org.hibernate.cfg.annotations.QueryBinder] (main) Binding Named query: unit_all_sorted_name => select u from Units u order by unitName
......
2008-07-21 15:54:24,580 INFO [org.hibernate.cfg.annotations.EntityBinder] (main) Bind entity com.pearson.ejb3.entity.Units on table units
......
2008-07-21 15:54:25,736 INFO [org.hibernate.cfg.annotations.QueryBinder] (main) Binding Named query: find_by_key_serial => select a from Assignedkeys a where a.keySerial = :keySerial
.....
2008-07-21 15:54:26,939 INFO [org.hibernate.validator.Version] (main) Hibernate Validator 3.1.0.CR1
2008-07-21 15:54:29,549 INFO [org.hibernate.connection.ConnectionProviderFactory] (main) Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
......
2008-07-21 15:55:30,017 INFO [org.hibernate.util.NamingHelper] (main) JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2008-07-21 15:55:37,283 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.ProcessorBean ejbName: ProcessorBean
2008-07-21 15:55:37,330 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
2008-07-21 15:55:41,549 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.DBUtilBean ejbName: DBUtilBean
2008-07-21 15:55:41,611 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.FeatureMgrBean ejbName: FeatureMgrBean
2008-07-21 15:55:41,658 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.AuthenticatorBean ejbName: AuthenticatorBean
2008-07-21 15:55:41,689 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.CertUtilBean ejbName: CertUtilBean
2008-07-21 15:55:41,736 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.rfserver.UnitRunnerBean ejbName: UnitRunnerBean
2008-07-21 15:55:41,783 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.PersonnelAssignBean ejbName: PersonnelAssignBean
2008-07-21 15:55:41,814 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.SessionUtilBean ejbName: SessionUtilBean
2008-07-21 15:55:41,846 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.UnitStatusDataBean ejbName: UnitStatusDataBean
2008-07-21 15:55:42,580 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.ota.UnitLocatorBean ejbName: UnitLocatorBean
2008-07-21 15:55:43,205 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.EventUtilBean ejbName: EventUtilBean
2008-07-21 15:55:44,002 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.UnitUtilBean ejbName: UnitUtilBean
2008-07-21 15:55:46,205 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.PacketProcessorBean ejbName: PacketProcessorBean
2008-07-21 15:55:46,252 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.IButtonMgrBean ejbName: IButtonMgrBean
2008-07-21 15:55:46,299 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.ota.OTASenderBean ejbName: OTASenderBean
2008-07-21 15:55:46,361 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.util.UnitStatusMgrBean ejbName: UnitStatusMgrBean
2008-07-21 15:55:47,002 INFO [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: com.pearson.ejb3.session.EventPostProcessorBean ejbName: EventPostProcessorBean
2008-07-21 15:55:47,955 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.connectionfactory:service=ConnectionFactory
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.destination:name=DLQ,service=Queue
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.destination:name=ExpiryQueue,service=Queue
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging:service=PostOffice
-> jboss.jgroups:service=ChannelFactory{Create:** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory **}
*** CONTEXTS IN ERROR: Name -> Error
jboss.jgroups:service=ChannelFactory -> ** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory **
2008-07-21 15:55:48,033 INFO [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
2008-07-21 15:55:48,252 INFO [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
2008-07-21 15:55:48,283 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 8m:43s:516ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165901#4165901
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165901
More information about the jboss-user
mailing list