This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Jboss, connection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss, connection problem" Watch "Jboss, connection problem" New topic

Jboss, connection problem

Sujith manikkothu

Joined: Oct 16, 2004
Posts: 12
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:, underlying cause: Unexpected end of input stream
Narendran Nair
Ranch Hand

Joined: Sep 25, 2003
Posts: 35
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>-->


Narendran J S<br />SCJP 1.4<br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Jboss, connection problem
It's not a secret anymore!