I am working with jboss 4.2 and hibernate as a JPA provider.
I have 1 persistence unit im my ear that sacn for entites in 4 jars. its take a long time to start the server because hibernate , can you please advice?
Attach snapshot from the log where you can see intervals between each phase:
22:12:18,559 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=server-ear-1
22:12:23,340 INFO [Ejb3Configuration] found EJB3 Entity bean: com
22:13:14,557 INFO [AnnotationBinder] Binding entity from annotated class
22:13:30,604 INFO [SessionFactoryImpl] building session factory
22:13:57,259 INFO [SessionFactoryObjectFactory] Factory name: persistence.units
look on this: 22:14:03,290 INFO [DatabaseMetadata] table not found: ws_access (this is the last table that it shows and than after 1 minute the next even ) 22:14:57,039 INFO [SchemaUpdate] schema update complete
10x [ December 17, 2007: Message edited by: Mark Spritzler ]