Não estou conseguindo postar o persistence.xml. Parece que está truncando.
Pelos logs do JBoss, a PU está subindo corretamente, inclusive criando a tabela no banco.
4:56:56,003 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 50) HHH000204: Processing PersistenceUnitInfo [
name: financas
...]
4:56:57,425 INFO [stdout] (ServerService Thread Pool -- 50) Hibernate:
14:56:57,425 INFO [stdout] (ServerService Thread Pool -- 50) drop table if exists CONTA cascade
14:56:57,452 INFO [stdout] (ServerService Thread Pool -- 50) Hibernate:
14:56:57,452 INFO [stdout] (ServerService Thread Pool -- 50) drop sequence hibernate_sequence
14:56:57,455 INFO [stdout] (ServerService Thread Pool -- 50) Hibernate:
14:56:57,455 INFO [stdout] (ServerService Thread Pool -- 50) create table CONTA (
14:56:57,455 INFO [stdout] (ServerService Thread Pool -- 50) id int4 not null,
14:56:57,455 INFO [stdout] (ServerService Thread Pool -- 50) agencia varchar(255),
14:56:57,455 INFO [stdout] (ServerService Thread Pool -- 50) banco varchar(255),
14:56:57,455 INFO [stdout] (ServerService Thread Pool -- 50) numero varchar(255),
14:56:57,456 INFO [stdout] (ServerService Thread Pool -- 50) titular varchar(255),
14:56:57,456 INFO [stdout] (ServerService Thread Pool -- 50) primary key (id)
14:56:57,456 INFO [stdout] (ServerService Thread Pool -- 50) )
14:56:57,569 INFO [stdout] (ServerService Thread Pool -- 50) Hibernate:
14:56:57,570 INFO [stdout] (ServerService Thread Pool -- 50) create sequence hibernate_sequence start 1 increment 1
14:56:57,572 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 50) HHH000230: Schema export complete
14:56:57,597 INFO [org.jboss.web] (ServerService Thread Pool -- 128) JBAS018210: Registra o contexto da web: /financas