• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic