• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss, connection problem

 
Sujith manikkothu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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
 
Narendran Nair
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic