2 Replies Latest reply on Jul 4, 2006 11:58 AM by urswag

    Cannot configure datasource

    urswag

      I try to make my own seam ear file. Now I have this problem. Can someone tell me what the configuration problem is?


      22:41:49,000 INFO [EARDeployer] Init J2EE application: file:/C:/Programme/JBoss/server/default/deploy/ramschladen.ear
      22:41:49,859 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=LoginAction, class=org.ramschladen.web.LoginAction, type=STATELESS
      22:41:49,890 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=LogoutAction, class=org.ramschladen.web.LogoutAction, type=STATELESS
      22:41:49,906 FATAL [PersistenceXmlLoader] ramschladenDatabase JTA
      22:41:49,906 INFO [Ejb3Deployment] EJB3 deployment time took: 110
      22:41:49,921 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=ramschladen.ear.ear,jar=ramschladen.jar.jar,unitName=ramschladenDatabase with dependencies:
      22:41:49,921 INFO [JmxKernelAbstraction] jboss.jca:name=ramschladen,service=ManagedConnectionFactory
      22:41:49,953 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=ramschladen.ear,jar=ramschladen.jar,name=LoginAction with dependencies:
      22:41:49,953 INFO [JmxKernelAbstraction] persistence.units:ear=ramschladen.ear.ear,jar=ramschladen.jar.jar,unitName=ramschladenDatabase
      22:41:49,953 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,ear=ramschladen.ear,jar=ramschladen.jar,name=LogoutAction with dependencies:
      22:41:50,078 INFO [EJB3Deployer] Deployed: file:/C:/Programme/JBoss/server/default/tmp/deploy/tmp35916ramschladen.ear-contents/ramschladen.jar
      22:41:50,078 INFO [TomcatDeployer] deploy, ctxPath=/ramschladen, warUrl=.../tmp/deploy/tmp35916ramschladen.ear-contents/ramschladen-exp.war/
      22:41:50,218 INFO [ServletContextListener] Welcome to Seam 1.0 beta 2
      22:41:50,234 INFO [Initialization] reading properties from: /seam.properties
      22:41:50,234 INFO [Initialization] initializing Seam
      22:41:50,343 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
      22:41:50,375 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
      22:41:50,421 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
      22:41:50,453 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
      22:41:50,468 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
      22:41:50,484 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
      22:41:50,515 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
      22:41:50,546 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
      22:41:50,562 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
      22:41:50,578 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
      22:41:50,593 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
      22:41:50,593 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
      22:41:50,609 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
      22:41:50,625 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
      22:41:50,625 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
      22:41:50,640 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
      22:41:50,656 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
      22:41:50,671 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
      22:41:50,671 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
      22:41:50,718 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
      22:41:50,734 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
      22:41:50,750 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
      22:41:50,765 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
      22:41:50,781 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
      22:41:50,859 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
      22:41:50,875 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
      22:41:50,890 INFO [Scanner] scanning: /C:/Programme/JBoss/server/default/tmp/deploy/tmp35916ramschladen.ear-contents/ramschladen.jar
      22:41:50,921 INFO [Component] Component: logout, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.ramschladen.web.LogoutAction, JNDI: booking/LogoutAction/local
      22:41:50,937 INFO [Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.ramschladen.ejb.User
      22:41:50,937 INFO [Component] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.ramschladen.web.LoginAction, JNDI: booking/LoginAction/local
      22:41:50,937 INFO [Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.ramschladen.person.ejb.User
      22:41:50,937 INFO [Component] Component: login, scope: SESSION, type: ENTITY_BEAN, class: org.ramschladen.person.ejb.Login
      22:41:50,953 INFO [Initialization] done initializing Seam
      22:41:50,953 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
      22:41:51,062 INFO [FacesConfigurator] Reading config jar:file:/C:/Programme/JBoss/server/default/tmp/deploy/tmp35916ramschladen.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml
      22:41:51,109 INFO [FacesConfigurator] Reading config jar:file:/C:/Programme/JBoss/server/default/tmp/deploy/tmp35916ramschladen.ear-contents/ramschladen-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml
      22:41:51,109 INFO [FacesConfigurator] Reading config jar:file:/C:/Programme/JBoss/server/default/tmp/deploy/tmp35916ramschladen.ear-contents/ramschladen-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
      22:41:51,125 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
      22:41:51,171 ERROR [LocaleUtils] Locale name null or empty, ignoring
      22:41:51,406 INFO [StartupServletContextListener] ServletContext 'C:\Programme\JBoss\server\default\.\tmp\deploy\tmp35916ramschladen.ear-contents\ramschladen-exp.war\' initialized.
      22:41:51,484 INFO [EARDeployer] Started J2EE application: file:/C:/Programme/JBoss/server/default/deploy/ramschladen.ear
      22:41:51,484 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: persistence.units:ear=ramschladen.ear.ear,jar=ramschladen.jar.jar,unitName=ramschladenDatabase
      State: NOTYETINSTALLED
      I Depend On:
      jboss.jca:name=ramschladen,service=ManagedConnectionFactory
      Depends On Me:
      jboss.j2ee:service=EJB3,ear=ramschladen.ear,jar=ramschladen.jar,name=LoginAction

      ObjectName: jboss.j2ee:service=EJB3,ear=ramschladen.ear,jar=ramschladen.jar,name=LoginAction
      State: NOTYETINSTALLED
      I Depend On:
      persistence.units:ear=ramschladen.ear.ear,jar=ramschladen.jar.jar,unitName=ramschladenDatabase

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jca:name=ramschladen,service=ManagedConnectionFactory
      State: NOTYETINSTALLED
      Depends On Me:
      persistence.units:ear=ramschladen.ear.ear,jar=ramschladen.jar.jar,unitName=ramschladenDatabase