EAR deployment
zeddmaxim Jul 26, 2006 1:00 AMI am at my wits' end. Hopefully somone can shed some light on this. I am putting together a Seam app very similar to the messages example. Does anyone have the slightest clue what might cause Seam to not find any of my Stateful, Stateless, or Entity beans within the deployed ear when it scans the ejb jar? An excerpt from the deployment output is below (everything but the persistence unit init). Please let me know if posting any other files would help.
Thanks,
Steve
23:52:32,484 INFO [EARDeployer] Init J2EE application: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/MyProject2.ear 23:52:41,109 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.pid.ejb.session.DropDownLookupBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@12656d3 23:52:41,109 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.pid.ejb.session.User org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@196fffc 23:52:41,156 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.session.ModelBuilderBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1405b61 23:52:41,156 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.session.ModelSetupSessionBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1c3d993 23:52:41,156 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.session.util.DropDownBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@582e17 23:52:41,171 INFO [Ejb3Deployment] EJB3 deployment time took: 156 ... 23:52:42,140 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 23:52:42,234 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=DropDownLookupBean,service=EJB3 with dependencies: 23:52:42,234 INFO [JmxKernelAbstraction] persistence.units:ear=MyProject2.ear,jar=MyProject-ejb2.jar,unitName=MyProjectPersist 23:52:42,250 INFO [EJBContainer] STARTED EJB: com.something.pid.ejb.session.DropDownLookupBean ejbName: DropDownLookupBean 23:52:42,265 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=User,service=EJB3 with dependencies: 23:52:42,281 INFO [EJBContainer] STARTED EJB: com.something.pid.ejb.session.User ejbName: User 23:52:42,281 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=ModelBuilderBean,service=EJB3 with dependencies: 23:52:42,281 INFO [JmxKernelAbstraction] persistence.units:ear=MyProject2.ear,jar=MyProject-ejb2.jar,unitName=MyProjectPersist 23:52:42,406 INFO [EJBContainer] STARTED EJB: com.something.session.ModelBuilderBean ejbName: ModelBuilderBean 23:52:42,437 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=ModelSetupSessionBean,service=EJB3 with dependencies: 23:52:42,437 INFO [EJBContainer] STARTED EJB: com.something.session.ModelSetupSessionBean ejbName: ModelSetupSessionBean 23:52:42,437 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=DropDownBean,service=EJB3 with dependencies: 23:52:42,437 INFO [JmxKernelAbstraction] persistence.units:ear=MyProject2.ear,jar=MyProject-ejb2.jar,unitName=MyProjectPersist 23:52:42,453 INFO [EJBContainer] STARTED EJB: com.something.session.util.DropDownBean ejbName: DropDownBean 23:52:42,468 INFO [EJB3Deployer] Deployed: file:/C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-ejb2.jar 23:52:42,468 INFO [TomcatDeployer] deploy, ctxPath=/MyProject, warUrl=.../tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/ 23:52:42,828 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml 23:52:42,859 INFO [FacesConfigurator] Reading config jar:file:/C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml 23:52:42,875 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml 23:52:42,875 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml 23:52:42,875 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jboss-seam.jar!/META-INF/faces-config.xml 23:52:42,890 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml 23:52:42,890 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml 23:52:43,203 INFO [StartupServletContextListener] ServletContext 'C:\Program Files\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp14235MyProject2.ear-contents\MyProject-web2-exp.war\' initialized. 23:52:43,203 INFO [ServletContextListener] Welcome to Seam 1.0.1.GA 23:52:43,203 INFO [Initialization] reading components.xml 23:52:43,218 INFO [Initialization] reading properties from: /seam.properties 23:52:43,218 INFO [Initialization] reading properties from: /jndi.properties 23:52:43,218 INFO [Initialization] initializing Seam 23:52:43,281 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init 23:52:43,312 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages 23:52:43,312 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events 23:52:43,312 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager 23:52:43,328 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher 23:52:43,343 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect 23:52:43,343 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError 23:52:43,343 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal 23:52:43,343 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole 23:52:43,359 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation 23:52:43,359 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList 23:52:43,375 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack 23:52:43,375 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext 23:52:43,375 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext 23:52:43,375 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext 23:52:43,390 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext 23:52:43,390 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext 23:52:43,390 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext 23:52:43,390 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext 23:52:43,390 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext 23:52:43,390 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale 23:52:43,406 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages 23:52:43,406 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator 23:52:43,421 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages 23:52:43,421 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle 23:52:43,421 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector 23:52:43,437 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent 23:52:43,437 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry 23:52:43,453 INFO [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache 23:52:43,453 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector 23:52:43,500 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts 23:52:43,500 INFO [Scanner] scanning: /C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-ejb2.jar 23:52:43,609 INFO [Initialization] done initializing Seam