[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problems deploying app in a 64-bit environment
jimmycallaghan
do-not-reply at jboss.com
Tue Jul 15 08:11:52 EDT 2008
Here is the server log as my application deploys (sorry for the formatting!!). The first part in bold shows that the EJB is being deployed and the second shows that it has clearly not been bound into the expected location within JNDI.
2008-07-15 11:20:36,577 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=ProcessedMessageHandlerMDB,service=EJB3 with dependencies:
| 2008-07-15 11:20:36,577 INFO [org.jboss.ejb3.MCKernelAbstraction] and demands:
| 2008-07-15 11:20:36,577 INFO [org.jboss.ejb3.MCKernelAbstraction] jboss.ejb:service=EJBTimerService
| 2008-07-15 11:20:36,577 INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| 2008-07-15 11:20:36,577 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:javax.jms.MessageListener
| 2008-07-15 11:20:36,579 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=ProcessedMessageHandlerMDB,service=EJB3
| 2008-07-15 11:20:36,579 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SendSmsMessageMDB,service=EJB3 with dependencies:
| 2008-07-15 11:20:36,579 INFO [org.jboss.ejb3.MCKernelAbstraction] and demands:
| 2008-07-15 11:20:36,579 INFO [org.jboss.ejb3.MCKernelAbstraction] jboss.ejb:service=EJBTimerService
| 2008-07-15 11:20:36,579 INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| 2008-07-15 11:20:36,579 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:javax.jms.MessageListener
| 2008-07-15 11:20:36,582 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SendSmsMessageMDB,service=EJB3
| 2008-07-15 11:20:36,582 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=ServiceManagerBeanImpl,service=EJB3 with dependencies:
| 2008-07-15 11:20:36,582 INFO [org.jboss.ejb3.MCKernelAbstraction] and demands:
| 2008-07-15 11:20:36,582 INFO [org.jboss.ejb3.MCKernelAbstraction] jboss.ejb:service=EJBTimerService
| 2008-07-15 11:20:36,582 INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| 2008-07-15 11:20:36,582 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:com.telrock.mpee.business.ServiceManagerBean$IRemote
| 2008-07-15 11:20:36,582 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:com.telrock.mpee.business.ServiceManagerBean$ILocal
| 2008-07-15 11:20:36,584 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=ServiceManagerBeanImpl,service=EJB3
| 2008-07-15 11:20:36,584 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SmsMessageNotificationMDB,service=EJB3 with dependencies:
| 2008-07-15 11:20:36,584 INFO [org.jboss.ejb3.MCKernelAbstraction] and demands:
| 2008-07-15 11:20:36,584 INFO [org.jboss.ejb3.MCKernelAbstraction] jboss.ejb:service=EJBTimerService
| 2008-07-15 11:20:36,584 INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| 2008-07-15 11:20:36,584 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:javax.jms.MessageListener
| 2008-07-15 11:20:36,587 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SmsMessageNotificationMDB,service=EJB3
| 2008-07-15 11:20:36,587 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=FailedClientNotificationDAOBeanImpl,service=EJB3 with dependencies:
| 2008-07-15 11:20:36,587 INFO [org.jboss.ejb3.MCKernelAbstraction] and demands:
| 2008-07-15 11:20:36,587 INFO [org.jboss.ejb3.MCKernelAbstraction] jboss.ejb:service=EJBTimerService
| 2008-07-15 11:20:36,587 INFO [org.jboss.ejb3.MCKernelAbstraction] persistence.units:unitName=mpee
| 2008-07-15 11:20:36,587 INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| 2008-07-15 11:20:36,587 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:com.telrock.mpee.dao.FailedClientNotificationDAOBean$ILocal
| 2008-07-15 11:20:36,590 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=FailedClientNotificationDAOBeanImpl,service=EJB3
| 2008-07-15 11:20:36,590 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SmsMoDAOBeanImpl,service=EJB3 with dependencies:
| 2008-07-15 11:20:36,590 INFO [org.jboss.ejb3.MCKernelAbstraction] and demands:
| 2008-07-15 11:20:36,590 INFO [org.jboss.ejb3.MCKernelAbstraction] jboss.ejb:service=EJBTimerService
| 2008-07-15 11:20:36,590 INFO [org.jboss.ejb3.MCKernelAbstraction] persistence.units:unitName=mpee
| 2008-07-15 11:20:36,590 INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| 2008-07-15 11:20:36,590 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:com.telrock.mpee.dao.SmsMoDAOBean$ILocal
| 2008-07-15 11:20:36,592 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SmsMoDAOBeanImpl,service=EJB3
| 2008-07-15 11:20:36,592 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SmsMtDAOBeanImpl,service=EJB3 with dependencies:
| 2008-07-15 11:20:36,592 INFO [org.jboss.ejb3.MCKernelAbstraction] and demands:
| 2008-07-15 11:20:36,592 INFO [org.jboss.ejb3.MCKernelAbstraction] jboss.ejb:service=EJBTimerService
| 2008-07-15 11:20:36,592 INFO [org.jboss.ejb3.MCKernelAbstraction] persistence.units:unitName=mpee
| 2008-07-15 11:20:36,592 INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| 2008-07-15 11:20:36,592 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:com.telrock.mpee.dao.SmsMtDAOBean$ILocal
| 2008-07-15 11:20:36,595 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SmsMtDAOBeanImpl,service=EJB3
| 2008-07-15 11:20:36,595 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SmsMtNotificationDAOBeanImpl,service=EJB3 with dependencies:
| 2008-07-15 11:20:36,595 INFO [org.jboss.ejb3.MCKernelAbstraction] and demands:
| 2008-07-15 11:20:36,626 INFO [org.jboss.ejb3.MCKernelAbstraction] jboss.ejb:service=EJBTimerService
| 2008-07-15 11:20:36,626 INFO [org.jboss.ejb3.MCKernelAbstraction] persistence.units:unitName=mpee
| 2008-07-15 11:20:36,626 INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| 2008-07-15 11:20:36,626 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:com.telrock.mpee.dao.SmsMtNotificationDAOBean$ILocal
| 2008-07-15 11:20:36,628 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=SmsMtNotificationDAOBeanImpl,service=EJB3
| 2008-07-15 11:20:36,628 INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=ServiceProviderMBeanImpl,service=EJB3 with dependencies:
| 2008-07-15 11:20:36,629 INFO [org.jboss.ejb3.MCKernelAbstraction] and demands:
| 2008-07-15 11:20:36,629 INFO [org.jboss.ejb3.MCKernelAbstraction] jboss.ejb:service=EJBTimerService
| 2008-07-15 11:20:36,629 INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
| 2008-07-15 11:20:36,629 INFO [org.jboss.ejb3.MCKernelAbstraction] Class:com.telrock.mpee.jmx.ServiceProviderMBean
| 2008-07-15 11:20:36,633 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:ear=10.mpee.local.20080714.1755.ear,jar=mpee.jar,name=ServiceProviderMBeanImpl,service=EJB3
| 2008-07-15 11:20:36,633 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] Begin deploy, org.jboss.metadata.web.jboss.JBossWebMetaData at 1f
| 2008-07-15 11:20:36,634 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] Unpacking war to: /home/jboss/jboss5.0.0.Beta4-instance1/server/custom1/tmp/deploy/mpee64485-exp.war
| 2008-07-15 11:20:36,699 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployer] deployWebModule: vfsfile:/home/jboss/jboss5.0.0.Beta4-instance1/server/custom1/deploy/deploy.last/10.mpee.local.20080714.1755.ear/mpee.war
| 2008-07-15 11:20:36,699 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] Added component jboss:id=deploy.last,service=jacc to vfsfile:/home/jboss/jboss5.0.0.Beta4-instance1/server/custom1/deploy/deploy.last/
| 2008-07-15 11:20:36,699 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] Added component jboss.web.deployment:war=/mpee to vfsfile:/home/jboss/jboss5.0.0.Beta4-instance1/server/custom1/deploy/deploy.last/10.mpee.local.20080714.1755.ear/mpee.war
| 2008-07-15 11:20:36,700 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss:service=jacc,id=deploy.last with code: org.jboss.deployment.security.JaccPolicy
| 2008-07-15 11:20:36,700 DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss:service=jacc,id=deploy.last
| 2008-07-15 11:20:36,701 DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=jacc,id=deploy.last
| 2008-07-15 11:20:36,701 DEBUG [org.jboss.system.ServiceController] starting service jboss:service=jacc,id=deploy.last
| 2008-07-15 11:20:36,702 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.web.deployment:war=/mpee with code: org.jboss.web.deployers.WebModule
| 2008-07-15 11:20:36,704 DEBUG [org.jboss.system.ServiceCreator] Created mbean: jboss.web.deployment:war=/mpee
| 2008-07-15 11:20:36,704 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=/mpee
| 2008-07-15 11:20:36,705 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=/mpee
| 2008-07-15 11:20:36,705 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] webContext: /mpee
| 2008-07-15 11:20:36,705 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] warURL: file:/home/jboss/jboss5.0.0.Beta4-instance1/server/custom1/tmp/deploy/mpee64485-exp.war/
| 2008-07-15 11:20:36,705 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/mpee, vfsUrl=deploy.last/10.mpee.local.20080714.1755.ear/mpee.war
| 2008-07-15 11:20:36,706 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] Using session cookies default setting
| 2008-07-15 11:20:36,708 DEBUG [org.jboss.web.tomcat.service.WebCtxLoader] injectionContainer enabled and processing beginning with JBoss WebCtxLoader
| 2008-07-15 11:20:36,829 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] Creating ENC using ClassLoader: BaseClassLoader at 5462bb{vfsfile:/home/jboss/jboss5.0.0.Beta4-instance1/server/custom1/deploy/deploy.last/10.mpee.local.20080714.1755.ear/mpee.war}
| 2008-07-15 11:20:36,832 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] Bound java:comp/ORB
| 2008-07-15 11:20:36,832 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] Linked java:comp/TransactionSynchronizationRegistry to JNDI name: java:TransactionSynchronizationRegistry
| 2008-07-15 11:20:36,832 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] Linked java:comp/UserTransaction to JNDI name: UserTransaction
| 2008-07-15 11:20:36,833 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] linkSecurityDomain
| 2008-07-15 11:20:36,833 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] No security-domain given, using default: java:/jaas/jboss-web-policy
| 2008-07-15 11:20:36,833 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] Linking security/securityMgr to JNDI name: java:/jaas/jboss-web-policy
| 2008-07-15 11:20:36,833 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] injectionContainer enabled and processing beginning
| 2008-07-15 11:20:36,839 INFO [com.telrock.platform.context.listener.ServiceManager] Telling ServiceManagerBean to request updates from service providers.
| 2008-07-15 11:20:36,853 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/mpee]] Exception sending context initialized event to listener instance of class com.telrock.mpee.business.context.listener.ContextListener
| java.lang.IllegalStateException: Unable to load local bean ejb/mpee/local/ServiceManagerBean/local
| at com.telrock.util.EJBUtil.lookupLocal(EJBUtil.java:77)
| at com.telrock.mpee.business.context.listener.ContextListener.contextInitialized(ContextListener.java:31)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3860)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
| 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.apache.catalina.core.StandardContext.init(StandardContext.java:5357)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
| at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
| at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:347)
| at org.jboss.web.deployers.WebModule.startModule(WebModule.java:89)
| at org.jboss.web.deployers.WebModule.start(WebModule.java:67)
| 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)
| Caused by: javax.naming.NameNotFoundException: ejb not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
Basically, what we have is a ContextListener in the war that calls the ServiceManager EJB as the application is deployed. Since the EJB is not where the ContextListener expects it to be we get the exception.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164476#4164476
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164476
More information about the jboss-user
mailing list