Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Jboss, connection problem

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hiii ,
I am using jboss-3.2.3.How can i set the maximum No. of concurrent connections here?Right now i am getting an error upon testing my application with load runner .Out of 10 users 6 get failed.
The exception in the server is :

org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Communication link failure: java.io.IOException, underlying cause: Unexpected end of input stream
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Sujith

the maximun number of connection can be set in the connection pool

i am using oracle-ds.xml in that
<!-- Example i found from the JBoss Site-->
<!-- <datasources>-->
<!-- <local-tx-datasource>-->
<!-- <jndi-name>DefaultDS</jndi-name> -->
<!-- <connection-url>jdbc racle:thin:@dev-db:1000:abc</connection-url>-->
<!-- <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>-->
<!-- <blocking-timeout-millis>5000</blocking-timeout-millis>-->
<!-- <idle-timeout-minutes>15</idle-timeout-minutes>-->
<!-- <max-pool-size>20</max-pool-size> -->
<!-- <min-pool-size>10</min-pool-size>-->
<!-- Use the security domain defined in conf/login-config.xml-->
<!-- <security-domain>EncryptDBPassword</security-domain>-->
<!-- </local-tx-datasource>-->
<!-- </datasources>-->

regards
Narendran
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic