File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss, connection problem" Watch "Jboss, connection problem" New topic
Author

Jboss, connection problem

Sujith manikkothu
Greenhorn

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: java.io.IOException, 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>-->

regards
Narendran


Narendran J S<br />SCJP 1.4<br /><a href="http://narendranj.blogspot.com" target="_blank" rel="nofollow">http://narendranj.blogspot.com</a><br /><a href="http://narendranj.blogspot.com" target="_blank" rel="nofollow">http://techboom.blogspot.com</a><br /><a href="http://bookmarks-share.blogspot.com" target="_blank" rel="nofollow">http://bookmarks-share.blogspot.com</a>
 
Don't get me started about those stupid light bulbs.
 
subject: Jboss, connection problem