[jboss-user] [JBoss Tools (users)] - how to deploy a datasource

atao do-not-reply at jboss.com
Mon Feb 11 09:04:19 EST 2008


I just created my first seam project with the Seam Web Project wizard.

It's an EAR project with a data source. It uses JBoss 4.2 as server.

When I use Run On Server, I get this error:

  | --- MBeans waiting for other MBeans ---
  | ObjectName: persistence.units:ear=test-swp-ear.ear,unitName=test-swp
  |   State: NOTYETINSTALLED
  |   I Depend On:
  |     jboss.jca:name=test-swpDatasource,service=DataSourceBinding
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.jca:name=test-swpDatasource,service=DataSourceBinding
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  |     persistence.units:ear=test-swp-ear.ear,unitName=test-swp
  | 
  | 

The file test-swp-ds.xml exists in the directory test-swp-ear/resources but is not copied in jboss-4.2.2.GA/server/default/deploy.

Is there a way to copy this file during deploying the application?




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

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



More information about the jboss-user mailing list