I changed from jboss-2.4.3 to jboss-2.4.10.
In the DataSource configuration to a Sybase ASA DB we used the default value
for MaxSize (0 = unlimited).
But in jboss-2.4.10 in this case a java.lang.RuntimeException: No
ManagedConnections Available! occurs.
If I set MaxSize to a value > 0 it works well.

How can I set the MaxSize to unlimited ?

[15:11:04,062,HOTi33] Starting
[15:11:04,171,HOTi33] setGCInterval(900000)
[15:11:04,171,HOTi33] setGCMinIdleTime(600000)
[15:11:04,171,HOTi33] setIdleTimeout(900000)
[15:11:04,171,HOTi33] setTimestampUsed(false)
[15:11:04,171,XAConnectionFactory] Starting
[15:11:04,171,ObjectPool] Adding pool: HOTi33, GC enabled: true
[15:11:04,171,HOTi33] XA Connection pool HOTi33 bound to java:/HOTi33
[15:11:04,171,XAPoolDataSource] Closing DataSource
[15:11:04,171,XAPoolDataSource] Binding to JNDI name null
[15:11:04,171,ObjectPool] Removing pool: HOTi33
[15:11:04,187,HOTi33] Stopped
java.lang.RuntimeException: No ManagedConnections Available!
        at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:696)
        at
org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:
252)
        at
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:455)
        at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
        at java.lang.reflect.Method.invoke(Native Method)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configurati
onService.java:967)
        at $Proxy0.start(Unknown Source)
        at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
        at java.lang.reflect.Method.invoke(Native Method)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at org.jboss.Main.<init>(Main.java:209)
        at org.jboss.Main$1.run(Main.java:110)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:106)


Annegret



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to