[JCA/JBoss] - Idle timeout connection not working? database connection is
by vlnmca
Hello,
My app running under JBoss 4.0.4 uses Oracle DB configured with the following DS file:
|
|
| <local-tx-datasource>
| <jndi-name>jdbc/mydb</jndi-name>
| <connection-url>jdbc:oracle:thin:@111.222.333.444:1521:oradb</connection-url>
| <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
| <user-name>user</user-name>
| pass
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
|
| <type-mapping>Oracle9i</type-mapping>
|
| <min-pool-size>3</min-pool-size>
| <max-pool-size>10</max-pool-size>
| <idle-timeout-minutes>1</idle-timeout-minutes>
| </local-tx-datasource>
|
|
I was expecting every minute( or whatever interval is given in idle-timeout-minutes) a process that removes the idle connections to be run.
This doesn't happen. I run a test that reached the maximum number of connections. I then started monitoring the connections, but none of the idle connections were removed.
I checked my code and every connection was closed after an operation.
Is there anything wrong with my configuration? What could be keeping these connections open?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160193#4160193
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160193
17 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Idle timeout connection not working? database connection is
by vlnmca
Hello,
My app running under JBoss 4.0.4 uses Oracle DB configured with the following DS file:
|
|
| <local-tx-datasource>
| <jndi-name>jdbc/mydb</jndi-name>
| <connection-url>jdbc:oracle:thin:@111.222.333.444:1521:oradb</connection-url>
| <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
| <user-name>user</user-name>
| pass
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
|
| <type-mapping>Oracle9i</type-mapping>
|
| <min-pool-size>3</min-pool-size>
| <max-pool-size>10</max-pool-size>
| <idle-timeout-minutes>1</idle-timeout-minutes>
| </local-tx-datasource>
|
|
I was expecting every minute( or whatever interval is given in idle-timeout-minutes) a process that removes the idle connections to be run.
This doesn't happen. I run a test that reached the maximum number of connections. I then started monitoring the connections, but none of the idle connections were removed.
I checked my code and every connection was closed after an operation.
Is there anything wrong with my configuration? What could be keeping these connections open?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160192#4160192
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160192
17 years, 10 months
[JBoss Portal] - Re: JSF Portlet tutorial out of date?
by subhajitpwc
Hi I am a beginner in Jboss and Seam.
I am using JBOSS JBPM (jbpm-starters-kit-3.1.2). and I have a JBPM Process which I have implemented using Eclipse and I am calling that process from a JSP using Seam annotations.I am deploying the EAR file to the JBOSS JBPM server.I have included the jBoss-seam.jar with the server\lib directory and also copied the required jsf files to the proper directories.
But I am getting this error when starting the JBPM homepage and pressing on Log in button:
java.lang.IllegalArgumentException: Class org.jboss.seam.jsf.SeamApplicationFactory is no javax.faces.application.ApplicationFactory
javax.faces.FactoryFinder.newFactoryInstance(FactoryFinder.java:126)
javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101)
org.apache.myfaces.context.servlet.ServletFacesContextImpl.(ServletFacesContextImpl.java:88)
org.apache.myfaces.context.servlet.ServletFacesContextImpl.(ServletFacesContextImpl.java:81)
org.apache.myfaces.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:60)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:87)
org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160184#4160184
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160184
17 years, 10 months