Could not deploy Beans

If you cannot deploy or install your beans take a look at this

Error description: nullpointer exception databasepersistence policy in jboss

Solution: edit the file server/default/deploy/ejb-deployer.xml and remove all the block J2EE timer service

 

//--need to erase all this!



name="jboss.ejb:service=EJBTimerService">
jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay
jboss.ejb:service=EJBTimerService,persistencePolicy=database
org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator
org.jboss.ejb.txtimer.TimedObjectInvokerImpl

jboss:service=TransactionManager



100




jboss.jca:service=DataSourceBinding,name=DefaultDS

org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin

TIMERS