I'm using Hibernate 3.1 with Oracle 9i running on JBoss 4.0.3 SP1.
When I create a SessionFactory with datasource the undeploy doesn't work fine. 
The PermGen space is not released. Any idea? (Sorry about the English)


  | <?xml version='1.0' encoding='utf-8'?>
  | <!DOCTYPE hibernate-configuration PUBLIC
  |     "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  |     "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | 
  | <hibernate-configuration>
  |     <session-factory>
  |     
  |             <!-- Database connection settings -->
  |             <property 
name="hibernate.connection.datasource">java:AplicacoesApoioDS</property>
  |             
  |             <!-- JDBC connection pool (use the built-in) -->
  |             <property name="connection.pool_size">1</property>
  |     
  |             <!-- SQL dialect -->
  |             <property 
name="dialect">org.hibernate.dialect.OracleDialect</property>
  |             <property 
name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
  |             <property name="show_sql">true</property>
  | 
  |             <mapping 
resource="/br/gov/trf1/aplicacoesapoio/calendario/model/Feriado.hbm.xml"/>
  |             <mapping 
resource="/br/gov/trf1/aplicacoesapoio/calendario/model/HistoricoFeriado.hbm.xml"/>
  | 
  |     </session-factory>
  | </hibernate-configuration>
  | 



  | <datasources>
  |   <local-tx-datasource>
  |     <jndi-name>AplicacoesApoioDS</jndi-name>
  |       <connection-url>jdbc:oracle:oci:@xxx</connection-url>
  |       <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
  |       <user-name>xxx</user-name>
  |       <password>xxx</password>
  |       
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name>
  |       
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
  |       <idle-timeout-minutes>1</idle-timeout-minutes>
  |   </local-tx-datasource>
  | 
  | </datasources>
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962442
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to