Max Connections

Oracle 10g:
Is there a defaul limit on how many user connections are allowed to connect to DB? Is there a way to set it or view the current limit.

Thanks. These are my values. Does sessions and processes values below represent number of max connections ? Is there a way to see currently open connections size?
SQL> show parameter sessions;
NAME TYPE VALUE
java_max_sessionspace_size integer 0
java_soft_sessionspace_limit integer 0
license_max_sessions integer 0
license_sessions_warning integer 0
logmnr_max_persistent_sessions integer 1
sessions integer 830
shared_server_sessions integer
SQL> show parameter connections
SQL> show parameter processes
NAME TYPE VALUE
aq_tm_processes integer 2
db_writer_processes integer 8
gcs_server_processes integer 0
job_queue_processes integer 15
log_archive_max_processes integer 10
processes integer 750

Similar Messages

  • JDBC Connection pools and clusters (is max connection for entire cluster?)

    Hi,
    Quick question.
    When using JDBC connection pools in WAS 6.40 (SP13) in a clustered environment. Are the max connections the number
    a)Each application server can use
    b)The entire cluster can use
    Would believe a), but I'd like it confirmed from someoneelse

    Hi Dagfinn,
    your assumption is correct. Therefore, in a cluster environment you'd need to make sure the DB can open <i>Number of nodes X max connections</i>.

  • How to catch exception when have max connection pool

    hi,
    i have define in oracle user that i could have max 10 sessions at the same time.
    I have jdbc datasource & connection pool defined at glassfish server(JSF application).
    now, if in application is too many queries to the database then i have error: nullpointer exception - becouse when i try to do:
    con = Database.createConnection(); - it generates nullpointer exception becouse there isn't free connection pool
    i try to catch exception like this:
    public List getrep_dws_wnioski_wstrzymane_graph() {     int i = 0;     try {     con = Database.createConnection();     ps =    (Statement) con.createStatement();     rs = ps.executeQuery("select data, klasa, ile_dni_wstrzymana, ile_wnioskow from stg1230.dwsww_wstrzymane_dws8 order by data, klasa, ile_dni_wstrzymana, ile_wnioskow");     while(rs.next()){       rep_dws_wnioski_wstrzymane_graph.add(i,new get_rep_dws_wnioski_wstrzymane_graph(rs.getString(1),rs.getString(2),rs.getString(3),rs.getString(4)));       i++;     }     } catch (NamingException e) {         e.printStackTrace();     } catch (SQLException e) {         e.printStackTrace();     } catch (NullPointerException e) {         e.printStackTrace();         throw new NoConnectionException();  // catch null 1     } finally {     try {         con.close();     } catch (SQLException e) {         e.printStackTrace();     } catch (NullPointerException e) {         e.printStackTrace();         throw new NoConnectionException();  // catch null 2     }     } return rep_dws_wnioski_wstrzymane_graph; }
    but at line:
    con.close();
    i have nullpointerexception
    and
    at line
    throw new NoConnectionException(); // catch null 2
    i have: caused by exception.NoConnectionException
    what's wrong with my exception class? how to resolve it?
    public class NoConnectionException extends RuntimeException{     public NoConnectionException(String msg, Throwable cause){       super(msg, cause);     }     public NoConnectionException(){       super();     } }
    at web.xml i have defined:
    <error-page>         <exception-type>exception.NoConnectionException</exception-type>         <location>/NoConnectionExceptionPage.jsp</location>     </error-page>

    thanks,
    i did it and i have error:
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
    at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115)
    at logic.Database.createConnection(Database.java:37): conn = ds.getConnection();
    public class Database {
         public static Connection createConnection() throws NamingException,
                    SQLException {
                Connection conn = null;
                try{
                    Context ctx = new InitialContext();
              if (ctx == null) {
                   throw new NamingException("No initial context");
              DataSource ds = (DataSource) ctx.lookup("jdbc/OracleReports");
              if (ds == null) {
                   throw new NamingException("No data source");
              conn = ds.getConnection();  // here's exception when max connections to database
              if (conn == null) {
                   throw new SQLException("No database connection");
                } catch (NamingException e) {
                    e.printStackTrace();
                    throw new NoConnectionException(); 
             } catch (SQLException e) {
                 e.printStackTrace();
                    throw new NoConnectionException(); 
                catch (NullPointerException e) {
                 e.printStackTrace();
                    throw new NoConnectionException();  // obsluga bledy na wypadek jesli braknie wolnych polaczen do bazy
            return conn;
    }and at my ealier code i have error:
    at logic.GetDataOracle.getrep_dws_wnioski_wstrzymane_graph(GetDataOracle.java:192)
    at line: con = Database.createConnection();
    in code:
    public List getrep_dws_wnioski_wstrzymane_graph() {
        int i = 0;
        try {
        con = Database.createConnection();
        ps =    (Statement) con.createStatement();
        rs = ps.executeQuery("select data, klasa, ile_dni_wstrzymana, ile_wnioskow from stg1230.dwsww_wstrzymane_dws8 order by data, klasa, ile_dni_wstrzymana, ile_wnioskow");
        while(rs.next()){
          rep_dws_wnioski_wstrzymane_graph.add(i,new get_rep_dws_wnioski_wstrzymane_graph(rs.getString(1),rs.getString(2),rs.getString(3),rs.getString(4)));
          i++;
        } catch (NamingException e) {
            e.printStackTrace();
        } catch (SQLException e) {
            e.printStackTrace();
        } catch (NullPointerException e) {
            e.printStackTrace();
            throw new NoConnectionException();
        } finally {
        try {
            if(con != null)
            con.close();
        } catch (SQLException e) {
            e.printStackTrace();
        } catch (NullPointerException e) {
            e.printStackTrace();
            throw new NoConnectionException(); 
    return rep_dws_wnioski_wstrzymane_graph;
    }so what's wrong?
    i have limit max sessions 10 at oracle so i set at my connection pool 5 connections as max. But when i get max 5 sesssins and try to execute next query then i can't catch exception..

  • REP-56055 Max Connect......URGENT!!!!!

    Hi,
    Am getting this max connect error quite regularly and having to restart the reports server. I have the max connect parameter set to 40 and there is only me running reports one at a time. Is there anything else that maybe tiying up connections? Any problems or specifics about the configuration i need to know.
    Database 9.0.2
    Reports 9.0.2.3
    Thanks

    How did you over come this error.. we are into the same situation now.

  • REP-56055: Exceed max connections allowed: 20

    I have a application server and a db server.I run several reports,then the error message comes up.So I reboot the app server but the problem isn't fixed.
    How to solve the problem?

    When you have a problem like this it is useful to search the forum for the error message.
    See: REP-56055: Exceed max connections allowed: 20
    A quick goggle search found:
    http://www.rittman.net/archives/000514.html

  • How to increase the max connections for business rules.

    How and where to increase the connection to EAS.currently we have max connection as 20.Also please let me know,what is the maximum connection we can increase.
    In our system totally,we have 350 users are present.
    when more that 20 users running the business rule,EAS is stopped.

    You can find this in the application property section in planning. Just navigate to Manage Properties and update the JDBC max connections and JDBC Olap connections to your desired number.

  • Max connections in Oracle 10g Express

    Hi,
    How much connections are possible in Oracle 10g Express ?

    I do the following test:
    I format the test PC, install the O.S. and install Oracle 10g Express and run the following code:
    package testedb;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.List;
    public class TesteDB {
         * @param args
         public static void main(String[] args) {
              List<Connection> connections = new ArrayList<Connection>();
              try
         Class.forName ("oracle.jdbc.driver.OracleDriver");
         while(true)
              connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:XE", "system", "xxx"));
              //connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:MYDB", "system", "xxx"));
              System.out.println("connections: "+connections.size());
         catch (ClassNotFoundException e)
         System.out.println ("Could not load the driver");
         e.printStackTrace ();
         } catch (SQLException e) {
              System.out.println("----------------------------------------------------------");
                   System.out.println("Qtd of connections: "+connections.size());
                   System.out.println("----------------------------------------------------------");
                   e.printStackTrace();
    After the first test I format again the PC, install the O.S. and install Oracle 10g Standard and run the same code, changing only the database name.
    Well, I get the following results:
    - Oracle 10g Express: I get 19 connections;
    - Oracle 10g Standard: I get 181 connection;
    Final report:
    With the same hardware (1GB RAM) and O.S. (Windows XP Professional) test, the Oracle 10g Express has any restrictions at the question max connections.
    Message was edited by: Hugo Haas
    Hugo Haas

  • How many max connections opened do you have?

    Hello!
    I've read so many answers to these questions that, i don't really know what is the correct one. So, i would like to know what do you have. Here they are:
    1- How many max connections per torrent do you have set up?
    2- How many max opened connections do you have in mldonkey (or similar)?
    Thanks!
    Last edited by dienadel (2007-03-08 08:25:36)

    AFAIK it's arround (total connections):
    - <5 for RTC
    - <100 for slow ADSL
    - <500 for medium ADSL
    - ~1000 for high-speed ADSL (and max on Windows lol) ; went up to over 1500, without positive change.
    I use rtorrent & have a limit of <100 connections per torrent (4 leechers max per torrent so they get something)

  • Log Format & Max connections

    HI,
    Can any one let me know, how to include the server
    response time in the web server access log
    Eg:
    for Apache we use to do that in httpd.conf with %T
    what is the equalent of max connection in Sun one web server?
    Thanks in advance...

    %duration%

  • How to set min & max connections for  MSSQLconnection pool

    Hi,
    I want to set minconnection, maxconnection, idletimeout initial limit for the pool
    I have got a MSSQL database connection using following java code.
    // MSSQL DbConnection Code
    import java.sql.*;
    public class MsSqlDataSource
    public static void main(String arr[])
    Connection con = null;
    ResultSet rs = null;
    try{
    com.microsoft.sqlserver.jdbc.SQLServerDataSource ds = new com.microsoft.sqlserver.jdbc.SQLServerDataSource();
    ds.setServerName("10.50.50.51");
    ds.setPortNumber(1711);
    ds.setDatabaseName("test");
    ds.setUser("starhome");
    ds.setPassword("starhome");
    con = ds.getConnection();
    }catch(Exception e){}
    }In oracle i have passed min and max number of connection properties through setConnectionCacheProperties method.
    //Connection Pooling using Oracle Data Source:
    m_connSource = new OracleDataSource();
    m_connSource.setDriverType("thin");
    m_connSource.setServerName(m_host);
    m_connSource.setNetworkProtocol("tcp");
    m_connSource.setDatabaseName(m_db);
    m_connSource.setPortNumber(m_port);
    m_connSource.setUser(m_user);
    m_connSource.setPassword(m_password);
    // Enable caching. m_connSource.setConnectionCachingEnabled(true);
    java.util.Properties prop = new java.util.Properties();
    prop.setProperty("MinLimit", m_minConnections);
    prop.setProperty("MaxLimit", m_maxConnections);
    prop.setProperty("InitialLimit", m_initialConnections);
    prop.setProperty("InactivityTimeout", m_inactivityTimeout);
    prop.setProperty("AbandonedConnectionTimeout", m_abandonedTimeout);
    prop.setProperty("ConnectionWaitTimeout", m_connWaitTimeout);
    m_connSource.setConnectionCacheProperties(prop);I dont know how to pass min and max number of connection properties for SQLServerDataSource. Is there any method available to pass min and max number of connection properties for SQLServerDataSource.
    Iam using Tomcat. I found one way to set min and max connections for pool by doing changes in context.xml and web.xml using below url http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    I dont want to touch tomcat configuration files. I need to set connection pooling properties which is independent of application server.
    Please anybody give solution for this?
    Thanks,
    Prisha

    Hi,
    you need to define your database under the DB Admin tab. In the Schema objects node you'll find Sequence Implementations, and there you can definde min max values as well as caching and increments.
    Gerald

  • WLAN: Max connections?

    Hi,
    I seem to be getting an error sometimes when trying to connect via WLAN: -
    Max connections exceeded...please try again. (something very similar)
    What's all this about? There's plenty of connections available on my WLAN router and I'm only using one browser connection on the phone, so why should this happen?
    Regards
    Jules.

    23-Jun-200608:36 AM
    jdub wrote:
    Hi,
    I seem to be getting an error sometimes when trying to connect via WLAN: -
    Max connections exceeded...please try again. (something very similar)
    What's all this about? There's plenty of connections available on my WLAN router and I'm only using one browser connection on the phone, so why should this happen?
    Regards
    Jules.
    I am experiencing the same problem on my N80 as described in the original post. I should also re-state that I only get the "Max. number of connections..." message when trying to connect to my wireless network. Other connection methods work just fine.
    I might add this problem only started after and upgrading my firmware to the internet edition. I had connected fine for more than one half a year previous. No ther changes have been made. Any input is welcome.
    Thanks!

  • Javax.resource.spi.ResourceAdapterInternalException: max connections reache

    Hello,
    I am writing an application to read messages from queues.
    Everything seems to be working fine, but after a number of un-deployments and deployments I start getting the following exception and have no choice but to restart the application server.
    Any hint on what the root cause might be?
    Exception stack trace:
    2008-02-15 14:47:19,095 WARN  [org.jboss.system.ServiceController:424] Problem starting service jboss.j2ee:ear=Application-1.0.ear,jar=Application-1.0.jar,name=MDB,service=EJB3
    org.jboss.deployment.DeploymentException: Endpoint activation failed ra=jboss.jca:service=RARDeployment,name='wmq.jmsra.rar' activationSpec=javax.jms.Queue:wsmq/Q@@localhost; - nested throwable: (javax.resource.spi.ResourceAdapterInternalException: max connections reached)
         at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
         at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.activate(JBossMessageEndpointFactory.java:310)
         at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:194)
         at org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:190)
         at org.jboss.ejb3.mdb.MessagingContainer.start(MessagingContainer.java:156)
         at org.jboss.ejb3.mdb.MDB.start(MDB.java:126)
         at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
         at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:417)
         at org.jboss.system.ServiceController.start(ServiceController.java:435)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy361.start(Unknown Source)
         at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
         at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:301)
         at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:362)
         at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
         at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:417)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy34.start(Unknown Source)
         at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
         at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
         at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy35.start(Unknown Source)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
         at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy10.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
    Caused by: javax.resource.spi.ResourceAdapterInternalException: max connections reached
         at com.ibm.mq.connector.ResourceAdapterConnectionPool.allocateConnection(ResourceAdapterConnectionPool.java:231)
         at com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:333)
         at org.jboss.resource.deployment.RARDeployment.endpointActivation(RARDeployment.java:271)
         at org.jboss.resource.deployment.RARDeployment.internalInvoke(RARDeployment.java:226)
         at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
         at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:44)
         at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.activate(JBossMessageEndpointFactory.java:305)
         ... 101 more
    ObjectName: jboss.j2ee:ear=Application-1.0.ear,jar=Application-1.0.jar,name=MDB,service=EJB3
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: Endpoint activation failed ra=jboss.jca:service=RARDeployment,name='wmq.jmsra.rar' activationSpec=javax.jms.Queue:wsmq/Q@@localhost; - nested throwable: (javax.resource.spi.ResourceAdapterInternalException: max connections reached)My current configuration is:
    - JBoss 4.2.2-GA (linux)
    - WS MQ 6.0.2.2 (linux)
    I have configured JBoss the following way:
    - added wmq.jmsra.rar to the $JBOSS_SERVER/deploy directory
    - added com.ibm.mqetclient.jar to the $JBOSS_SERVER/lib directory
    - created $JBOSS_SERVER/deploy/wmq.jmsra-ds.xml as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <connection-factories>
      <!-- mbeans defining JCA administered objects -->
      <mbean code="org.jboss.resource.deployment.AdminObject" name="jca.wmq:name=wsmqQ">
        <attribute name="JNDIName">wsmq/Q</attribute>
        <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='wmq.jmsra.rar'</depends>
        <attribute name="Type">javax.jms.Queue</attribute>
        <attribute name="Properties">
          baseQueueManagerName=QM1
          baseQueueName=Q
        </attribute>
      </mbean>
      <!-- JCA Connection factory definitions -->
      <tx-connection-factory>
        <jndi-name>MQCF</jndi-name>
        <xa-transaction />
        <rar-name>wmq.jmsra.rar</rar-name>
       <connection-definition>javax.jms.ConnectionFactory</connection-definition>
        <config-property name="channel" type="java.lang.String">SYSTEM.DEF.SVRCONN</config-property>
        <config-property name="hostName" type="java.lang.String">127.0.0.1</config-property>
        <config-property name="port" type="java.lang.String">1414</config-property>
        <config-property name="queueManager" type="java.lang.String">QM1</config-property>
        <config-property name="transportType" type="java.lang.String">CLIENT</config-property>
      </tx-connection-factory>My java MDB (EJB3) is:
    @MessageDriven(name = "MDB", activationConfig = {
            @ActivationConfigProperty(propertyName = "destination", propertyValue = "wsmq/Q"),
            @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
            @ActivationConfigProperty(propertyName = "transportType", propertyValue = "CLIENT"),
            @ActivationConfigProperty(propertyName = "useJNDI", propertyValue = "true"),
            @ActivationConfigProperty(propertyName = "maxPoolDepth", propertyValue = "1") }, messageListenerInterface = MessageListener.class)
    @ResourceAdapter("wmq.jmsra.rar")
    public class MDB implements MessageListener {
        public void onMessage(Message message) {
            return;
    }Thanks in advance for any information!
    cheers!

    hi
    this is known to IBM as APAR IC54346 - fixed in pack 6.0.2.3

  • How do i change http max connections, http persistent, pipling to true, and proxy pipling to true

    how do i change http max connections, http max persistent, pipling to true, proxy pipling to true.

    Simpler question: Can I change the max connections in Flex?
    Thank you.

  • Supply Engaged tone to calls over Max Connection, with out VoIP Gateway

    Hi
    I am tring to provide an engaged tone to calls that have exceeded the Max connections on a dial-peer statement, back to the PBX, without running VoIP Gateway.
    Any suggestions?
    Thanks.

    That should be the way it works:
    http://www.ciscotaccc.com/voice/showcase?case=K20699757
    If it's a PRI connection run debug isdn q931 to see what's being sent to the PBX. Not sure what you mean by 'without running voip gateway'

  • Restarting Apache on reaching Max Connections

    Hi All,
    We are using OAS 10.1.3.1 in Solaris environment. Presently we have set max connections to 350. Once connections reaches max, apache is getting hanged & it resumes once we restart services using opmnctl. Is there any way to make restart apache by itself, once it reaches max connections.
    thanx & regards

    hi...
    the best thing you can do is increase the max connection value... is it a prod insatance? since normally for prod instances its a higher value.
    Rgds...R

Maybe you are looking for

  • Blue Screen//Computer Crash when my ipod touch 2g 16gb connected to my comp

    I get a blue screen with a message, * STOP: 0x0000007E (0x0000005, 0x00000000, 0xF79417C4, 0xF79414C0) I plug in my ipod touch and I get the blue screen with my computer crashing following it, any help to fix this problem would be much appreciated be

  • Error when updating template

    Hi all, Does anyone know why I would be getting the error below: While executing receiveArguments in File_Save.htm, the following Javascript error(s) occured: At line 45 of the file "c:\program files\macromedia\dreamweaver mx\configeration\menus\mm\f

  • E-Mails in IPad and iPhone without content and sender "This E-Mail has no content"

    Often I get E-Mails listet without content and no sender "This E-Mail hasn't got any content" I can't get rid of the ghost, only by  total restarts. . Why does this happen and how can Iavoid this?  Klaus

  • Images Not Appearing Correctly On Some Websites

    Hello, I have a 13-inch MacBook Pro I purchased in December 2012 and, prior to very recently, never had any issues. I recently upgraded from OS X Mountain Lion to OS X Mavericks v. 10.9. Since then, I've had 2 issues I need help resolving: 1. Images

  • Group Currency Roll-Forward

    Hello, I seem to be having an issue rolling by 2006 balances forward. I have been using transaction F.16 to carry them forward and FS10 to verify. Everything looks fine in the local currency view in FS10 but when I look at the group currency balance