[JCA/JBoss] - Undeploy doesn't work when using datasource.
by clovistrf
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
18 years, 5 months
[JBoss jBPM] - Will high numbers of process instances work
by n.belford
Does anybody have any experience or knowledge of jBPM use in situations where high numbers of process instances are active simultaneously.
We are looking at a scenario tracking B2B transactions in Energy Reticulation Markets where about 5000 new process instances per hour would be generated (at a busy time) across about 10 different process definitions. Some of these instances would be quite long running with about 100,000 concurrent process instances. The process definitions would not be that complex.
I would greatly appreciate any feedback about this and I am specially interested in comments
1. about the outright feasibility of this idea
2. about how to scope hardware requirements
3. reference production systems that are of this magnitude or bigger.
Any help much appreciated
Neil Belford
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962439#3962439
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962439
18 years, 5 months