Hi Bill, TIA  for any input, ok, this is what I did, 
- new jboss instance
- added the following to persistence.xml

  | <property name="jboss.no.implicit.datasource.dependency" value="true/>
  | 

Step 1:
Touched the iplaycms-ds.xml

  | <?xml version="1.0" encoding="UTF-8"?>
  | <datasources>
  |     <local-tx-datasource>
  |         <jndi-name>iplaycmsDatasource</jndi-name>
  |         
<connection-url>jdbc:hsqldb:hsql://localhost:9999/iplaycms</connection-url>
  |         <driver-class>org.hsqldb.jdbcDriver</driver-class>
  |         <user-name>sa</user-name>
  |         <password></password>
  |     </local-tx-datasource>
  | </datasources>      
  | 

Jboss Log showing undeploy/deploy of datasource

  | 08:50:51,385 INFO  [ConnectionFactoryBindingService] Unbound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=iplaycmsDatasourc
  | e' from JNDI name 'java:iplaycmsDatasource'
  | 08:50:51,755 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=iplaycmsDatasource'
  |  to JNDI name 'java:iplaycmsDatasource'
  | 

Redeploy the cms.ear

  | 08:51:10,583 INFO  [EARDeployer] Init J2EE application: 
file:/F:/projects/iplay/prod/jboss/server/iplayserver/deploy/cms.ear
  | 08:51:17,974 INFO  [Ejb3AnnotationHandler] found EJB3: 
ejbName=ChangePasswordAction, class=com.iplay.cms.manager.ChangePasswordAction, 
typ
  | e=STATEFUL
  | 08:51:18,064 INFO  [Ejb3AnnotationHandler] found EJB3: ejbName=LoginAction, 
class=com.iplay.cms.manager.LoginAction, type=STATELESS
  | 08:51:18,074 INFO  [Ejb3AnnotationHandler] found EJB3: 
ejbName=LogoutAction, class=com.iplay.cms.manager.LogoutAction, type=STATELESS
  | 08:51:18,084 INFO  [Ejb3AnnotationHandler] found EJB3: 
ejbName=RegisterAction, class=com.iplay.cms.manager.RegisterAction, 
type=STATEFUL
  | 08:51:18,104 FATAL [PersistenceXmlLoader] iplaycmsEntityManager JTA
  | 08:51:18,104 INFO  [Ejb3Deployment] EJB3 deployment time took: 341
  | 08:51:18,114 INFO  [JmxKernelAbstraction] installing MBean: 
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityM
  | anager with dependencies:
  | 08:51:18,134 WARN  [ServiceController] Problem starting service 
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEnt
  | ityManager
  | java.lang.reflect.InvocationTargetException
  |         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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:97)
  |         at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  |         at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  |         at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  |         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
  |         at $Proxy0.start(Unknown Source)
  |         at 
org.jboss.system.ServiceController.start(ServiceController.java:417)
  |         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  |         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
  |         at $Proxy82.start(Unknown Source)
  |         at 
org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:76)
  |         at 
org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:599)
  |         at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:452)
  |         at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139)
  |         at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  |         at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  |         at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  |         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
  |         at $Proxy0.start(Unknown Source)
  |         at 
org.jboss.system.ServiceController.start(ServiceController.java:417)
  |         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  |         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
  |         at $Proxy25.start(Unknown Source)
  |         at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:365)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  |         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  |         at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
  |         at $Proxy6.deploy(Unknown Source)
  |         at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:334)
  |         at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:522)
  |         at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:207)
  |         at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:218)
  |         at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:197)
  | Caused by: javax.naming.NameNotFoundException: iplaycmsDatasource not bound
  |         at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  |         at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  |         at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  |         at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  |         at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |         at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:236)
  |         ... 78 more
  | 08:51:18,184 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:service=EJB3,ear=cms.ear,jar=cms-ejb.jar,name=ChangePasswordAction wi
  | th dependencies:
  | 08:51:18,184 INFO  [JmxKernelAbstraction]       
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
  | 08:51:18,194 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:service=EJB3,ear=cms.ear,jar=cms-ejb.jar,name=LoginAction with depend
  | encies:
  | 08:51:18,194 INFO  [JmxKernelAbstraction]       
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
  | 08:51:18,194 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:service=EJB3,ear=cms.ear,jar=cms-ejb.jar,name=LogoutAction with depen
  | dencies:
  | 08:51:18,424 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:service=EJB3,ear=cms.ear,jar=cms-ejb.jar,name=RegisterAction with dep
  | endencies:
  | 08:51:18,424 INFO  [JmxKernelAbstraction]       
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
  | 08:51:18,434 INFO  [EJB3Deployer] Deployed: 
file:/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp23004cms.ear-contents/cms-ej
  | b.jar
  | 08:51:18,434 INFO  [TomcatDeployer] deploy, ctxPath=/, 
warUrl=.../tmp/deploy/tmp23004cms.ear-contents/cms-exp.war/
  | 08:51:20,217 INFO  [ServletContextListener] Welcome to Seam 1.0 beta 2
  | 08:51:20,237 INFO  [Initialization] reading properties from: 
/seam.properties
  | 08:51:20,237 INFO  [Initialization] initializing Seam
  | 08:51:20,277 INFO  [Component] Component: org.jboss.seam.core.init, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
  | 08:51:20,317 INFO  [Component] Component: org.jboss.seam.core.pages, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
  | 08:51:20,327 INFO  [Component] Component: org.jboss.seam.core.manager, 
scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
  | 08:51:20,357 INFO  [Component] Component: switcher, scope: PAGE, type: 
JAVA_BEAN, class: org.jboss.seam.core.Switcher
  | 08:51:20,367 INFO  [Component] Component: conversation, scope: 
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
  | 08:51:20,367 INFO  [Component] Component: conversationList, scope: PAGE, 
type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
  | 08:51:20,377 INFO  [Component] Component: conversationStack, scope: PAGE, 
type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
  | 08:51:20,377 INFO  [Component] Component: facesContext, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
  | 08:51:20,377 INFO  [Component] Component: eventContext, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
  | 08:51:20,387 INFO  [Component] Component: sessionContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
  | 08:51:20,387 INFO  [Component] Component: statelessContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
  | 
  | 08:51:20,397 INFO  [Component] Component: applicationContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationCon
  | text
  | 08:51:20,397 INFO  [Component] Component: conversationContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationC
  | ontext
  | 08:51:20,407 INFO  [Component] Component: businessProcessContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessPr
  | ocessContext
  | 08:51:20,407 INFO  [Component] Component: resourceBundle, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
  | 08:51:20,417 INFO  [Component] Component: 
org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: 
org.jboss.seam.debug.Intr
  | ospector
  | 08:51:20,457 INFO  [ResourceBundle] resource bundle missing: messages
  | 08:51:20,467 INFO  [Component] Component: org.jboss.seam.debug.contexts, 
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Co
  | ntexts
  | 08:51:20,487 INFO  [Scanner] scanning: 
/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp23004cms.ear-contents/cms-ejb.jar
  | 08:51:20,507 INFO  [Component] Component: login, scope: STATELESS, type: 
STATELESS_SESSION_BEAN, class: com.iplay.cms.manager.LoginAction,
  |  JNDI: cms/LoginAction/local
  | 08:51:20,517 INFO  [Component] Component: changePassword, scope: EVENT, 
type: STATEFUL_SESSION_BEAN, class: com.iplay.cms.manager.ChangePa
  | sswordAction, JNDI: cms/ChangePasswordAction/local
  | 08:51:20,537 INFO  [Component] Component: register, scope: EVENT, type: 
STATEFUL_SESSION_BEAN, class: com.iplay.cms.manager.RegisterAction
  | , JNDI: cms/RegisterAction/local
  | 08:51:20,537 INFO  [Component] Component: logout, scope: STATELESS, type: 
STATELESS_SESSION_BEAN, class: com.iplay.cms.manager.LogoutActio
  | n, JNDI: cms/LogoutAction/local
  | 08:51:20,547 INFO  [Component] Component: user, scope: SESSION, type: 
ENTITY_BEAN, class: com.iplay.cms.model.user.User
  | 08:51:20,557 INFO  [Initialization] done initializing Seam
  | 08:51:20,557 INFO  [FacesConfigurator] Reading standard config 
org/apache/myfaces/resource/standard-faces-config.xml
  | 08:51:20,678 INFO  [FacesConfigurator] Reading config 
jar:file:/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp23004cms.ear-c
  | ontents/cms-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
  | 08:51:20,718 INFO  [FacesConfigurator] Reading config 
/WEB-INF/faces-config.xml
  | 08:51:20,748 ERROR [LocaleUtils] Locale name null or empty, ignoring
  | 08:51:21,018 INFO  [StartupServletContextListener] ServletContext 
'F:\projects\iplay\prod\jboss\server\iplayserver\.\tmp\deploy\tmp23004cms.
  | ear-contents\cms-exp.war\' initialized.
  | 08:51:21,078 INFO  [EARDeployer] Started J2EE application: 
file:/F:/projects/iplay/prod/jboss/server/iplayserver/deploy/cms.ear
  | 

MBeans with iplaycmsDatasource as part of their name

  | jboss.jca
  |     * name='jboss-local-jdbc.rar',service=RARDeployment
  |     * name='jms-ra.rar',service=RARDeployment
  |     * name=DefaultDS,service=DataSourceBinding
  |     * name=DefaultDS,service=LocalTxCM
  |     * name=DefaultDS,service=ManagedConnectionFactory
  |     * name=DefaultDS,service=ManagedConnectionPool
  |     * name=JmsXA,service=ConnectionFactoryBinding
  |     * name=JmsXA,service=ManagedConnectionFactory
  |     * name=JmsXA,service=ManagedConnectionPool
  |     * name=JmsXA,service=TxCM
  |     * name=iplaycmsDatasource,service=DataSourceBinding
  |     * name=iplaycmsDatasource,service=LocalTxCM
  |     * name=iplaycmsDatasource,service=ManagedConnectionFactory
  |     * name=iplaycmsDatasource,service=ManagedConnectionPool
  |     * service=CachedConnectionManager
  |     * service=ConnectionFactoryDeployer
  |     * service=RARDeployer
  |     * service=WorkManager
  |     * service=WorkManagerThreadPool
  | 
  | persistence.units
  |     * ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
  | 


It still fails when i try to register with an exception indicating
a seam component not being bound


  | Caused by: javax.naming.NameNotFoundException: RegisterAction not bound
  |         at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  |         at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | 

I'll look over this again.




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928687#3928687

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928687


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to