Number of connections to database?

Hello all
We have an application developed using Forms 10G and deployed on the web. We are specifying the database userid/passwd in the formsweb.cfg file. We have many users who use the application concurrently.
My query is, lets say if 100 users are accessing the application, are 100 connections created to the database. I read that for every user one run time process is created. Can you give me some reference where I can find related information?
Thanks and Best wishes
Kranthi

Hello,
Pls check this link
http://www.oracle.com/technology/products/forms/techlisting10g.html
you will find all the information relevant to 10G.
Regards
Mohan

Similar Messages

  • Problem with reached maximum number of connections to database

    Dear Experts,
    Our Production system was not responding properly last week.
    The below was the reply from the Basis team.
    "It seems that we have again problem with reached maximum number of connections to database. We have extended this number to 100 this year and now it seems that it’s not enough again. It seems that something is running on Production, which takes over too many connections."
    They have increased the number to 200 as a work around.
    Do we have any means to find out, which component or application is causing the issue.
    Please advise me if any better way is available to correct the issue.
    Please see the below trace.
    From default trace:
    ======
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException occurred in method ConnectionFactoryImpl.getConnection(): javax.resource.R
    esourceException: (Failed in component: dbpool, BC-JAS-TRH) Cannot create connection. Possible reasons: 1)Maximum allowed connections to DB or EIS is reached. You
    can apply CSN Note 719778 in order to check and resolve connection leaks. 2) Configuration to DB/EIS is wrong or DB/EIS is temporary unreachable. 3) Connections ar
    e not enough for current load.
            at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:60)
            at com.sap.security.core.persistence.datasource.imp.J2EEConnectionPool.getConnection(J2EEConnectionPool.java:205)
            ... 61 more
    Caused by: javax.resource.ResourceException: (Failed in component: dbpool, BC-JAS-TRH) Cannot create connection. Possible reasons: 1)Maximum allowed connections to
    DB or EIS is reached. You can apply CSN Note 719778 in order to check and resolve connection leaks. 2) Configuration to DB/EIS is wrong or DB/EIS is temporary unr
    eachable. 3) Connections are not enough for current load.
            at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:230)
            at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:343)
            at com.sap.engine.services.connector.jca.ShareableConnectionManager.allocateConnection(ShareableConnectionManager.java:54)
            at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:52)
            ... 62 more
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException is thrown by the pooled connection: com.sap.sql.log.OpenSQLException: No c
    onnection to data source SAPEPPDB available. All 100 pooled connections are in use and 70 connection requests are currently waiting. The connection pool size might
    need to be adjusted.
            at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:192)
            at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:221)
            ... 65 more
    Caused by: com.sap.sql.log.OpenSQLException: No connection to data source SAPEPPDB available. All 100 pooled connections are in use and 70 connection requests are
    currently waiting. The connection pool size might need to be adjusted.
    ======
    Thanks and Kind Regards,
    Jelbin

    Stop all instances(including DB) and start again, Hope it should work.
    It may happened that jar has not been synchronized with the database and may be version mismatch with the java.
    719778 - Data Source fails to return connection
    1650472 - Transactions are interrupted due to database connection periodically failing to establish
    1138877 - How to Deploy External Drivers JDBC/JMS Adapters
    Change the connection pool so that it can connect to DB as per the note 719778
    Regards
    Vijay Kalluri

  • How to find out number of connections to database?

    Hi,
    How can I find number of connections connected to the database 4 hours ago. For examply, if current time is 5PM and I want to see total number of connections connected to database (and from what user?) in between 1 and 2 PM, is there a way to find that out?
    I see v$session has a column MACHINE from which I can use count function to check the # of concurrent connections but I am not sure how to check the # of connections that happend few hours ago. Any suggestions?
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    you should have audit on .. and create logon trigger and make entry in the tabe ..that would give you .
    --Girish                                                                                                                                                                                                                                       

  • Maximum number of connections that database can make

    Dear All,
    I have a problem regarding maximum number of database connections that can be handled .
    Theoretically i am aware that the number of sessions we set in init ora settings tells me the maximum
    connections that can be opened.but this number will be also be dependent on the capability of the OS to handle the sessions.
    is there any way i can analyse the number of possible connections possible if I have the OS memory and CPU parameters with me
    Regards

    http://books.google.com/books?id=TmPoYfpeJAUC&pg=PA129&lpg=PA129&dq=.5mb+for+each+db+session+oracle&source=web&ots=RzRe2s2AYy&sig=zmO-RBoCEuWQzaZhOIN122Serzk&hl=en&sa=X&oi=book_result&resnum=5&ct=result#PPA122,M1.
    This is from expert oracle database architecture by tom kytes and I personally ran some queries to confirm that.
    Edited by: OrionNet on Nov 30, 2008 11:51 PM

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • Number of connections made to database at a given time

    Hello,
    I would like to know the number the history and current number of connections made to the database via oracle application server at a given time. I see Active Connection when I click on HTTP Server, but I am not sure what that means. Does that mean the number of users on the site or does it mean the number of connections made to the database?
    Also is there a way to find out the history of connections? Also is there a log file that all this information is recorded into?
    Thanks for your help in advance.

    Hi
    Active Connections in HTTP Server -> Number of users connected to your site (active + inactive)
    You can get information about database connections in v$session, or , in Enterprise manager -> OC4J container -> Home
    If you are using datasources at application level you can get information about pooling in
    Entreprise Manager -> 0C4J Container -> Application (select application ) -> DataSources
    If you have datasources at OC4J container level you can get info in Entreprise Manager -> OC4J container -> Administration -> datasources
    Best Regards
    Rui Madaleno

  • Not able to connect to Database

    My SQL.NET entry is
    # Copyright (c) 1996, 2003, Oracle Corporation.  All rights reserved. 
    # NAME
    #   sqlnet.ora
    # FUNCTION
    #   Oracle Network Client startup parameter file example
    # NOTES
    #   This file contains examples and instructions for defining all
    # - ONames Client ----------------------------------------------------
    #names.default_domain = world
    #Syntax:  domain-name
    #Default: NULL
    # Indicates the domain from which the client most often requests names. When
    # this parameter is set the default domain name (for example, US.ACME), the
    # domain name will be automatically appended to any unqualified name in an
    # ONAmes request (query, register, deregister, etc). Any name which contains
    # an unescaped dot ('.') will not have the default domain appended. Simple
    # names may be qualified with a trailing dot (for example 'rootserver.').
    #names.initial_retry_timeout = 30
    #Syntax:  1-600 seconds
    #Default: 15 (OSD)
    # Determines how long a client will wait for a response from a Names Server
    # before reiterating the request to the next server in the preferred_servers
    # list.
    #names.message_pool_start_size = 10
    #Syntax:  3-256
    #Default: 10
    # Determines the initial number of messages allocated in the client's message
    # pool. This pool provides the client with pre-allocated messages to be used
    # for requests to ONames servers. Messages which are in the pool and unused
    # may be reused. If a message is needed and no free messages are available in
    # the pool more will be allocated.
    #names.preferred_servers = (address_list =
    #  (address=(protocol=ipc)(key=n23))
    #  (address=(protocol=tcp)(host=nineva)(port=1383))
    #  (address=(protocol=tcp)(host=cicada)(port=1575))
    #Syntax:  ADDR_LIST
    #Default: Well-Known (OSD)
    # Specifies a list of ONames servers in the client's region; requests will be
    # sent to each ADDRESS in the list until a response is recieved, or the list
    # (and number of retries) is exhausted.
    # Addresses of the following form specify that messages to the ONames server
    # should use Oracle Remote Operations (RPC):
    #     (description =
    #       (address=(protocol=tcp)(host=nineva)(port=1383))
    #       (connect_data=(rpc=on))
    #names.request_retries = 2
    #Syntax:  1-5
    #Default: 1
    # Specifies the number of times the client should try each server in the list
    # of preferred_servers before allowing the operation to fail.
    #names.directory_path
    #Syntax:  <adapter-name>
    #Default: TNSNAMES,ONAMES,HOSTNAME
    # Sets the (ordered) list of naming adaptors to use in resolving a name.
    # The default is as shown for 3.0.2 of sqlnet onwards. The default was
    # (TNSNAMES, ONAMES) before that. The value can be presented without
    # parentheses if only a single entry is being specified. The parameter is
    # recognized from version 2.3.2 of sqlnet onward. Acceptable values include:
    #  TNSNAMES -- tnsnames.ora lookup
    #  ONAMES   -- Oracle Names
    #  HOSTNAME -- use the hostname (or an alias of the hostname)
    #  NIS      -- NIS (also known as "yp")
    #  CDS      -- OSF DCE's Cell Directory Service
    #  NDS      -- Novell's Netware Directory Service
    # - Client Cache (ONRSD) ---------------------------------------------
    #names.addresses = (ADDRESS=(PROTOCOL=IPC)(KEY=ONAMES))
    #Syntax:  ADDR
    #Default: (ADDRESS=(PROTOCOL=IPC)(KEY=ONAMES))
    # Address on which the client cache listens (is available to clients).
    # Any valid TNS address is allowed. The default should be used if at
    # all possible; clients have this entry hardwired as the first line
    # of their server-list file (sdns.ora). If the address is set to a
    # non-default value the client's preferred_servers parameter should
    # be set to include the client-cache address first.
    #names.authority_required = False
    #Syntax:  T/F
    #Default: False
    # Determines whether system querys (for the root etc) require Authoritative
    # answers.
    #names.auto_refresh_expire = 259200
    #Syntax:  Number of seconds, 60-1209600
    #Default: 259200
    # This is the amount of time (in seconds) the server will cache the addresses
    # of servers listed in server-list file (sdns.ora). When this time expires the
    # server will issue another query to the servers in those regions to refresh
    # the data.
    #names.auto_refresh_retry = 180
    #Syntax:  Number of seconds, 60-3600
    #Default: sec.     180
    # This set how often the server will retry when the auto_refresh query fails.
    #names.cache_checkpoint_file = cache.ckp
    #Syntax:  filename
    #Default: $ORACLE_HOME/network/names/ckpcch.ora
    # Specifies the name of the operating system file to which the Names Server
    # writes its foreign data cache.
    #names.cache_checkpoint_interval = 7200
    #Syntax:  Number of seconds, 10-259200
    #Default: 0 (off)
    # Indicates the interval at which a Names Server writes a checkpoint of its
    # data cache to the checkpoint file.
    #names.default_forwarders=
    # (FORWARDER_LIST=
    #    (FORWARDER=
    #       (NAME= rootserv1.world)
    #       (ADDRESS=(PROTOCOL=tcp)(PORT=42100)(HOST=roothost))))
    #Syntax:  Name-Value/address_list
    #Default: NULL
    # A list (in NV form) of the addresses of other servers which should be used to
    # forward querys while in default_forwarder (slave) mode. NAME is the global
    # names for the server to which forwards whould be directed, and ADDRESS is its
    # address.
    #names.default_forwarders_only = True
    #Syntax:  T/F
    #Default: False
    # When set to true this server will use the servers listed in default_forwarders
    # to forward all operations which involve data in foreign regions. Otherwise it
    # will use the servers defined in the server-list file (sdns.ora) in addition
    # to any defined in the default_forwarders parameter.
    #names.log_directory = /oracle/network/log
    #Syntax:  directory
    #Default: $ORACLE_HOME/network/log
    # Indicates the name of the directory where the log file for Names Server
    # operational events are written.
    #names.log_file = names.log
    #Syntax:  filename
    #Default: names.log
    # The name of the output file to which Names Server operational events are
    # written.
    #names.log_stats_interval = 3600
    #Syntax:  Number of seconds, 10-ub4max
    #Default: sec.     0 (off)
    #Specifies the number of seconds between statistical entries in log file.
    #names.log_unique = False
    #Syntax:  T/F
    #Default: False
    # If set to true the server will guarantee that the log file will have a unique
    # name which will not overwrite any existing files (note that log files are
    # appended to, so log information will not be lost if log_unique is not true).
    #names.max_open_connections = 10
    #Syntax:  3-64
    #Default: 10
    # Specifies the number of connections that the Names Server can have open at any
    # given time. The value is generated as the value 10 or the sum of one
    # connection for listening, five for clients, plus one for each foreign domain
    # defined in the local administrative region, whichever is greater. Any
    # operation which requires the server to open a network connection will use
    # an already open connection if it is available, or will open a connection
    # if not. Higher settings will save time and cost network resources; lower
    # settings save network resources, cost time.
    #names.max_reforwards = 2
    #Syntax:  1-15
    #Default: 2
    # The maximum number of times the server will attempt to forward a certain
    # operation.
    #names.message_pool_start_size = 24
    #Syntax:  3-256
    #Default: 10
    # Determines the initial number of messages allocated in the server's message
    # pool. This pool provides the server with pre-allocated messages to be used
    # for incoming or outgoing messages (forwards). Messages which are in the pool
    #names.trace_file = names.trc
    #Syntax:  filename
    #Default: names.trc
    # Indicates the name of the output file from a Names Server trace session.
    #names.trace_func # NA
    #Syntax:  T/F
    #Default: False
    # Internal mechanism to control tracing by function name.
    #names.trace_level = ADMIN
    #Syntax:  T/F
    #Default: False
    #Syntax:  {OFF,USER,ADMIN,0-16}
    #Default: OFF (0)
    # Indicates the level at which the Names Server is to be traced.
    # Available Values:
    #     0 or OFF - No trace output
    #     4 or USER - User trace information
    #     10 or ADMIN - Administration trace information
    #     16 or SUPPORT - WorldWide Customer Support trace information
    #names.trace_mask = (200,201,202,203,205,206,207)
    #namesctl.trace_unique = True
    #Syntax:  T/F
    #Default: False
    # Indicates whether each trace file has a unique name, allowing multiple trace
    # files to coexist. If the value is set to ON, a process identifier is appended
    # to the name of each trace file generated.
    #namesctl.no_initial_server = False
    #Syntax:  T/F
    #Default: False
    # If set to TRUE namesctl will suppress any error messages when namesctl is
    # unable to connect to a default names server.
    #namesctl.internal_use = True
    #Syntax:  T/F
    #Default: False
    # If set to true namesctl will enable a set of internal undocumented commands.
    # All internal commands are preceded by an underscore ('_') in order to
    # distinguish them as internal. Without going into details, the commands
    # enabled are:
    #     _max_reforwards                 _modify_ops_enabled            
    #     _next_cache_checkpoint          _next_cache_flush              
    #     _next_stat_log                  _next_stat_reset               
    #     _reload                         _request_delay                 
    #     _restart                        _shutdown                      
    #namesctl.noconfirm = True
    #Syntax:  T/F
    #Default: False
    # When set to TRUE namesctl will suppress the confirmation prompt when
    # sensitive operations (stop, restart, reload) are requested. This is
    # quite helpful when using namesctl scripts.
    #namesctl.server_password = mangler
    #Syntax:  string
    #Default: NULL
    # Automatically sets the password for the names server in order to perform
    #Default: /.:/subsys/oracle/names
    #Specifies the DCE cell (prefix) to use for name lookup.
    #names.nds.name_context = personnel.acme
    #Syntax:  NDS name
    #Default: (OSD?)
    # Specifies the default NDS name context in which to look for the name to
    # be resolved.
    #names.nis.meta_map # NA
    # Syntax:  filename
    # The acceptable difference in the number of seconds between when a
    # credential was sent and when it was received.
    #sqlnet.kerberos5_clockskew=600
    #sqlnet.kerberos5_conf
    # Syntax: Any valid pathname.
    # Default: /krb5/krb.conf
    # The Kerberos configuration pathname.
    #sqlnet.kerberos5_conf=/tmp/mykrb.conf
    #sqlnet.kerberos5_realms
    # Syntax: Any valid pathname
    # Default: /krb5/krb.realms
    # The Kerberos host name to realm translation file.
    #sqlnet.kerberos5_realms=/tmp/mykrb.realms
    #sqlnet.kerberos5_keytab
    # Syntax: Any valid pathname.
    # Default: /etc/v5srvtab
    # The Kerberos secret key file.
    ## Parameters used with Radius adapter
    # Need to specify the location of the Radius server
    #sqlnet.radius_authentication = localhost
    # Need to specify the port address of the Radius server
    #sqlnet.radius_authentication_port = 1654
    # If your radius server support accounting, you can enable it
    #sqlnet.radius_accounting = off
    # Turn on/off challenge response
    #sqlnet.radius_challenge_response = off
    # Keyword to request a challenge from Radius server. 
    # If you use activcard, enter activcard
    # If you use something else, enter challenge
    #sqlnet.radius_challenge_keyword = challenge
    # Enter the name of the client interface you want to use for challenge response
    #sqlnet.radius_authentication_interface = DefaultRadiusInterface
    # Where is the secret file locate
    #sqlnet.radius_secret = $ORACLE_HOME/security/radius.key
    # ACCEPTED     The service will be active if the other side of the
    #          connection specifies "REQUESTED" or REQUIRED" and
    #          there is a compatible algorithm available on the other
    #          side; it will be inactive otherwise.
    # REJECTED     The service must not be active, and the connection
    #          will fail if the other side specifies "REQUIRED".
    # REQUESTED     The service will be active if the other side specifies
    #          "ACCEPTED", "REQUESTED", or "REQUIRED" and there is a
    #          compatible algorithm available on the other side; it
    #          will be inactive otherwise.
    # REQUIRED     The service must be active, and the connection will
    #          fail if the other side specifies "REJECTED" or if there
    #          is no compatible algorithm on the other side.
    #sqlnet.crypto_checksum_types_client
    #sqlnet.crypto_checksum_types_server
    #sqlnet.encryption_types_client
    #sqlnet.encryption_types_server
    # These parameters control which algorithms will be made available for
    #ssl_server_dn_match
    # Systax: ON/OFF
    # Default: OFF
    # The ssl_server_dn_match parameter determines SSL behavior when the
    # server's distinguished name does not match the service name. When
    # set to ON, the names must match for a connection to be established.
    # Leaving the parameter on OFF allows connection to servers where
    # the names do not match. However, this may potentially allow servers
    # to fake their identity.
    #ssl_client_authentication
    # Syntax: TRUE/FALSE
    # Default: TRUE
    # The ssl_client_authentication parameter controls whether the client
    # is authenticated using SSL. This parameter should be set to FALSE if
    # using a cipher suite that contains Diffie-Hellman anonymous
    # authentication (DH_anon) or if using other non-SSL authentication
    # methods.
    #ssl_cipher_suites
    # Syntax: (SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_RC4_128_SHA,
    #          SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_DES_CBC_SHA,
    #          SSL_DH_anon_WITH_3DES_EDE_CBC_SHA, SSL_DH_anon_WITH_RC4_128_MD5,
    #          SSL_DH_anon_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5,
    #          SSL_RSA_EXPORT_WITH_DES40_CBC_SHA,
    #          SSL_DH_anon_EXPORT_WITH_RC4_40_MD5,
    #          SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA)
    # Default: All cipher suites enabled
    # ssl_cipher_suites defines a list of cipher suites used to negotiate
    # an SSL connection in order of priority. The cipher suites selected for
    # a server must be compatible with those required by the client.
    #ssl_version
    # Syntax: 0/2.0/3.0
    # Default: 0 (impiles 3.0)
    # The ssl_version parameter defines the version of SSL that must
    # run on the systems with which the client communicates.
    # - SSL ---------------------------------------------------------------------
    #my_wallet
    # Syntax: A properly formatted NLNV list.
    # Default: Platform specific.  Unix: $HOME/oracle/oss
    # The method for retrieving and storing my identity. 
    #my_wallet
    #   =(source
    #       =(method=file)
    #        (method_data=/dve/asriniva/oss/wallet)
    # - Sqlnet(v2.x) and Net3.0 Client ------------------------------------------
    # In the following descriptions, the term "client program" could mean
    # either sqlplus, svrmgrl or any other OCI programs written by users
    #trace_level_client = ADMIN
    #Possible values: {OFF,USER,ADMIN,0-16}
    #Default:         OFF (0)
    #Purpose: Indicates the level at which the client program
    #         is to be traced.
    # Available Values:
    #       0 or OFF - No Trace output
    #     4 or USER - User trace information
    #      10 or ADMIN - Administration trace information
    #     16 or SUPPORT - Worldwide Customer Support trace information
    #Supported since:  v2.0
    #trace_directory_client = /oracle/network/trace
    #Possible values: Any valid directory path with write permission
    #Default: $ORACLE_HOME/network/trace  ($ORACLE_HOME=/oracle at customer
    #         site)
    #Purpose: Indicates the name of the directory to which trace files from
    #         the client execution are written.
    #Supported since: v2.0
    #trace_file_client =  /oracle/network/trace/cli.trc
    #Possible values: Any valid file name
    #Default:       $ORACLE_HOME/network/trace/cli.trc ($ORACLE_HOME =
    #            /oracle at customer site)
    #Purpose: Indicates the name of the file to which the execution trace
    #         of the client is written to.
    #Supported since: v2.0
    #trace_unique_client = ON
    #Possible values: {ON, OFF}
    #Default: OFF
    #Purpose: Used to make each client trace file have a unique name to
    #       prevent each trace file from being overwritten by successive
    #       runs of the client program
    #Supported since: v2.0
    #log_directory_client = /oracle/network/log
    #Possible values: Any valid directory pathname
    #Default: $ORACLE_HOME/network/log  ($ORACLE_HOME = /oracle at customer
    #       site)
    #Purpose: Indicates the name of the directory to which the client log file
    #       is written to.
    #Supported since: v2.0
    #log_file_client = /oracle/network/log/sqlnet.log
    #Possible values: This is a default value, u cannot change this
    #Default: $ORACLE_HOME/network/log/sqlnet.log  ($ORACLE_HOME=/oracle in
    #         customer site)
    #Purpose: Indicates the name of the log file from a client program
    #Supported since: v2.0
    #log_directory_server = /oracle/network/trace
    #Possible values: Any valid diretcory path with write permission
    #Default: $ORACLE_HOME/network/trace ( $ORACLE_HOME=/oracle at customer
    #       site)
    #Purpose: Indicates the name of the directory to which log files from the
    #        server are written
    #Supported since:  v2.0
    #trace_directory_server = /oracle/network/trace
    #Possible values: Any valid directory path with write permission
    #Default: $ORACLE_HOME/network_trace ( $ORACLE_HOME=/oracle at customer
    #       site)
    #Purpose: Indicates the name of the directory to which trace files from
    #         the server are written
    #Supported since:  v2.0
    #trace_file_server = /orace/network/trace/svr_<pid>.trc
    #Possible values: Any valid filename
    #Default: $ORACLE_HOME/network/trace/svr_<pid>.trc where <pid? stands for
    #         the process id of the server on UNIX systems
    #Purpose: Indicates the name of the file to which the execution trace of
    #         the server program is written to.
    #Supported since: v2.0
    #trace_level_server = ADMIN
    #Possible values: {OFF,USER,ADMIN,0-16}
    #Default:         OFF (0)
    #Purpose: Indicates the level at which the server program
    #         is to be traced.
    # Available Values:
    #       0 or OFF - No Trace output
    #       4 or USER - User trace information
    #       10 or ADMIN - Administration trace information
    #       16 or SUPPORT - Worldwide Customer Support trace information
    #Supported since: v2.0
    #use_dedicated_server = ON
    #Possible values: {OFF,ON}
    #Default:        OFF
    #Purpose: Forces the listener to spawn a dedicated server process for
    #       sessions from this client program.
    #Supported since: v2.0
    #use_cman = TRUE
    #Possible values: {TRUE, FALSE}
    #Default:       FALSE
    #Purpose:
    #Supported since: v3.0
    #tnsping.trace_directory = /oracle/network/trace
    #Possible values: Any valid directory pathname
    #Default: $ORACLE_HOME/network/trace ($ORACLE_HOME=/oracle at customer
    #       site)
    #Purpose: Indicates the directory to which the execution trace from
    #       the tnsping program is to be written to.
    #Supported since: v2.0
    #tnsping.trace_level = ADMIN   
    #Possible values: {OFF,USER,ADMIN,0-16}
    #Default:         OFF (0)
    #Purpose: Indicates the level at which the server program
    #         is to be traced.
    # Available Values:
    #       0 or OFF - No Trace output
    #       4 or USER - User trace information
    #       10 or ADMIN - Administration trace information
    #       16 or SUPPORT - Worldwide Customer Support trace information
    #Supported since: v2.0
    #sqlnet.expire_time = 10
    #Possible values: 0-any valid positive integer! (in minutes)
    #Default: 0 minutes
    #Recommended value: 10 minutes
    #Purpose: Indicates the time interval to send a probe to verify the
    #       client session is alive (this is used to reclaim watseful
    #       resources on a dead client)
    #Supported since: v2.1
    #sqlnet.client_registration = <unique_id>
    #Possible values:
    #Default:     OFF
    #Purpose: Sets a unique identifier for the client machine. This
    #       identifier is then passed to the listener with any connection
    #       request and will be included in the Audit Trail. The identifier
    #       can be any alphanumeric string up to 128 characters long.
    #Supported since: v2.3.2
    #bequeath_detach = YES
    #Possible values: {YES,NO}
    #Default:         NO
    #Purpose: Turns off signal handling on UNIX systems. If signal handling
    #       were not turned off and if client programs written by users make
    #       use of signal handling they could interfere with Sqlnet/Net3.
    #Supported since: v2.3.3
    #automatic_ipc = OFF
    #Possible values: {ON,OFF}
    #Default: OFF
    #Purpose: Force a session to use or not to use IPC addresses on the
    #       client's node.
    #Supported since: v2.0
    #disable_oob = ON
    #Possible values: {ON,OFF}
    #Default: OFF
    #Purpose: If the underlying transport protocol (TCP, DECnet,...) does
    #         not support Out-of-band breaks, then disable out-of-band
    #       breaks
    #Supported since: v2.0
    #sqlnet.inbound_connect_timeout = 3
    #Possible values: 0-any valid positive integer (in seconds)
    #Default: 0
    #Recommended value: 3 seconds (note: this is highly application dependent)
    #Purpose: Indicates the time interval within which database authentication
    #         for a client must be completed. If the client fails to complete
    #         authentication within the given time period, then the database
    #         server will drop the client connection. This can be used to
    #         counter Denial of Service attacks in which malicious clients may
    #         cause numerous servers to be spawn without fully establishing DB
    #         sessions.
    #         A value of 0 turns off the timeout feature. If a spurious
    #         timeout error occurs (e.g. due to a slow network/system),
    #         reconfigure this parameter to a larger value.
    #Supported since: v9.2
    {code}
    and my tns file entry is
    {code}
    # This file contains the syntax information for
    # the entries to be put in any tnsnames.ora file
    # The entries in this file are need based.
    # There are no defaults for entries in this file
    # that Sqlnet/Net3 use that need to be overridden
    # Typically you could have two tnsnames.ora files
    # in the system, one that is set for the entire system
    # and is called the system tnsnames.ora file, and a
    # second file that is used by each user locally so that
    # he can override the definitions dictated by the system
    # tnsnames.ora file.
    # The entries in tnsnames.ora are an alternative to using
    # the names server with the onames adapter.
    # They are a collection of aliases for the addresses that
    # the listener(s) is(are) listening for a database or
    # several databases.
    # The following is the general syntax for any entry in
    # a tnsnames.ora file. There could be several such entries
    # tailored to the user's needs.
    <alias>= [ (DESCRIPTION_LIST =  # Optional depending on whether u have
                        # one or more descriptions
                        # If there is just one description, unnecessary ]
           (DESCRIPTION=
             [ (SDU=2048) ]     # Optional, defaults to 2048
                        # Can take values between 512 and 32K
             [ (ADDRESS_LIST=    # Optional depending on whether u have
                        # one or more addresses
                        # If there is just one address, unnecessary ]
               (ADDRESS=
              [ (COMMUNITY=<community_name>) ]
              (PROTOCOL=tcp)
              (HOST=<hostname>)
              (PORT=<portnumber (1521 is a standard port used)>)
               [ (ADDRESS=
                (PROTOCOL=ipc)
                (KEY=<ipckey (PNPKEY is a standard key used)>)     
               [ (ADDRESS=
                [ (COMMUNITY=<community_name>) ]
                (PROTOCOL=decnet)
                (NODE=<nodename>)
                (OBJECT=<objectname>)
                  ... # More addresses
             [ ) ] # Optional depending on whether ADDRESS_LIST is used or not
             [ (CONNECT_DATA=
              (SID=<oracle_sid>)
              [ (GLOBAL_NAME=<global_database_name>) ]
             [ (SOURCE_ROUTE=yes) ] 
           (DESCRIPTION=    
             [ (SDU=2048) ]     # Optional, defaults to 2048
                        # Can take values between 512 and 32K
             [ (ADDRESS_LIST= ]     # Optional depending on whether u have more
                        # than one address or not
                        # If there is just one address, unnecessary
               (ADDRESS
              [ (COMMUNITY=<community_name>) ]
              (PROTOCOL=tcp)
              (HOST=<hostname>)
              (PORT=<portnumber (1521 is a standard port used)>)
               [ (ADDRESS=
                (PROTOCOL=ipc)
                (KEY=<ipckey (PNPKEY is a standard key used)>)
               ...           # More addresses
             [ ) ]           # Optional depending on whether ADDRESS_LIST 
                        # is being used
             [ (CONNECT_DATA=
              (SID=<oracle_sid>)
              [ (GLOBAL_NAME=<global_database_name>) ]
             [ (SOURCE_ROUTE=yes) ]
           [ (CONNECT_DATA=
               (SID=<oracle_sid>)
               [ (GLOBAL_NAME=<global_database_name>) ]
           ...   # More descriptions
         [ ) ]     # Optional depending on whether DESCRIPTION_LIST is used or not
    {code}
    DATABASE-10G CLIENT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

    Hi Rahul,
    this question does not seem to be related to SQL and PL/SQL forum.
    I guess you could use {forum:id=64} or {forum:id=61} forums.
    Regards.
    Al

  • (Cisco Historical Reporting / HRC ) All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054

    Hi All,
    I am getting an error message "All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054"  when trying to log into HRC (This user has the reporting capabilities) . I checked the log files this is what i found out 
    The log file stated that there were ongoing connections of HRC with the CCX  (I am sure there isn't any active login to HRC)
    || When you tried to login the following error was being displayed because the maximum number of connections were reached for the server .  We can see that a total number of 5 connections have been configured . ||
    1: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Current number of connections (5) from historical Clients/Scheduler to 'CRA_DATABASE' database exceeded the maximum number of possible connections (5).Check with your administrator about changing this limit on server (wfengine.properties), however this might impact server performance.
    || Below we can see all 5 connections being used up . ||
    2: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:[DB Connections From Clients (count=5)]|[(#1) 'username'='uccxhrc','hostname'='3SK5FS1.ucsfmedicalcenter.org']|[(#2) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#3) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#4) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#5) 'username'='uccxhrc','hostname'='47BMMM1.ucsfmedicalcenter.org']
    || Once the maximum number of connection was reached it threw an error . ||
    3: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Number of max connection to 'CRA_DATABASE' database was reached! Connection could not be established.
    4: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Database connection to 'CRA_DATABASE' failed due to (All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054.)
    Current exact UCCX Version 9.0.2.11001-24
    Current CUCM Version 8.6.2.23900-10
    Business impact  Not Critical
    Exact error message  All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054
    What is the OS version of the PC you are running  and is it physical machine or virtual machine that is running the HRC client ..
    OS Version Windows 7 Home Premium  64 bit and it’s a physical machine.
    . The Max DB Connections for Report Client Sessions is set to 5 for each servers (There are two servers). The no of HR Sessions is set to 10.
    I wanted to know if there is a way to find the HRC sessions active now and terminate the one or more or all of that sessions from the server end ? 

    We have had this "PRX5" problem with Exchange 2013 since the RTM version.  We recently applied CU3, and it did not correct the problem.  We have seen this problem on every Exchange 2013 we manage.  They are all installations where all roles
    are installed on the same Windows server, and in our case, they are all Windows virtual machines using Windows 2012 Hyper-V.
    We have tried all the "this fixed it for me" solutions regarding DNS, network cards, host file entries and so forth.  None of those "solutions" made any difference whatsoever.  The occurrence of the temporary error PRX5 seems totally random. 
    About 2 out of 20 incoming mail test by Microsoft Connectivity Analyzer fail with this PRX5 error.
    Most people don't ever notice the issue because remote mail servers retry the connection later.  However, telephone voice mail systems that forward voice message files to email, or other such applications such as your scanner, often don't retry and
    simply fail.  Our phone system actually disables all further attempts to send voice mail to a particular user if the PRX5 error is returned when the email is sent by the phone system.
    Is Microsoft totally oblivious to this problem?
    PRX5 is a serious issue that needs an Exchange team resolution, or at least an acknowledgement that the problem actually does exist and has negative consequences for proper mail flow.
    JSB

  • CC&B not able to connect the database

    I have Welogic with Oracle CC&B 2.3.1 Installed on my local laptop.
    I have local database also in my laptop (oracle 11g). While doing spl start I am able to access CC&B with weblogic using local database.
    But when in configureEnv.cmd I changed database configuration to other database which is located on Unix box
    My Laptop have 32-bit window 7.
    In ConfigureEnv i gave all credentials of other database to which I am trying to connect. But I am facing below issue.
    E:\BEA\jdk150_15
    JAVA Memory arguments: -Xms1024m -Xmx1024m -XX:PermSize=300m
    WLS Start Mode=Development
    CLASSPATH=E:\BEA\wlserver_10.0\samples\server\examples\build\serverclasses;E:\BEA\patch_wss110\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\BEA\patch_wlw1021\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\BEA\patch_wls1002\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\BEA\patch_cie640\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\BEA\jdk150_15\lib\tools.jar;E:\BEA\wlserver_10.0\server\lib\weblogic_sp.jar;E:\BEA\wlserver_10.0\server\lib\weblogic.jar;E:\BEA\modules\features\weblogic.server.modules_10.0.2.0.jar;E:\BEA\modules\features\com.bea.cie.common-plugin.launch_2.1.2.0.jar;E:\BEA\wlserver_10.0\server\lib\webservices.jar;E:\BEA\modules\org.apache.ant_1.6.5/lib/ant-all.jar;E:\BEA\modules\net.sf.antcontrib_1.0b2.0/lib/ant-contrib.jar;;E:\BEA\wlserver_10.0\common\eval\pointbase\lib\pbembedded51.jar;E:\BEA\wlserver_10.0\common\eval\pointbase\lib\pbupgrade51.jar;E:\BEA\wlserver_10.0\common\eval\pointbase\lib\pbclient51.jar;E
    :\BEA\wlserver_10.0\server\lib\xqrl.jar;;;E:\SPL\CCBDEV\splapp\standalone\lib\xalan-2.7.0.jar;E:\SPL\CCBDEV\splapp\standalone\lib\serializer-2.7.0.jar;E:\SPL\CCBDEV\splapp\standalone\lib\antlr-2.7.6.jar
    PATH=E:\BEA\patch_wss110\profiles\default\native;E:\BEA\patch_wlw1021\profiles\default\native;E:\BEA\patch_wls1002\profiles\default\native;E:\BEA\patch_cie640\profiles\default\native;E:\BEA\wlserver_10.0\server\native\win\32;E:\BEA\wlserver_10.0\server\bin;E:\BEA\modules\org.apache.ant_1.6.5\bin;E:\BEA\jdk150_15\jre\bin;E:\BEA\jdk150_15\bin;E:\SPL\MicroFocus\Server5.1\Bin;E:\SPL\CCBDEV\runtime;E:\SPL\CCBDEV\runtime;E:\SPL\CCBDEV\bin;E:\SPL\CCBDEV\product\apache-ant-1.7.0\bin;E:\BEA\jdk150_15\bin;E:\OracleDB11201\Administrator\product\11.2.0\dbhome_1\bin;E:\app\prashant\product\11.2.0\dbhome_1\bin;E:\SPL\javaHome\Java\jdk150_15;E:\BEA\jdk150_15\bin;E:\SPL\MicroFocusServer5.1\Bin;E:\SPL\NIEESDEVL\product\apache-ant-1.7.0\bin;C:\csvn\bin\;C:\csvn\Python25\;C:\product\11.1.0\client_1;c:\perl\site\bin;c:\perl\bin;C:\Program Files\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Reallu
    sion\CamSuite;C:\Program Files\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files\TortoiseSVN\bin;E:\app\prashant\client_1;E:\app\prashant\client_1\bin;;C:\PROGRA~1\QAS\QuickAddress Pro Web;E:\BEA;E:\BEA\wlserver_10.0;E:\SPL\hibernate-3.2;E:\SPL\NIEESDEV\bin;E:\BEA\wlserver_10.0\server\bin;E:\BEA\jrockit_150_15\bin;E:\BEA\wlserver_10.0\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.5.0_15"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
    Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode)
    "Starting Weblogic with the following arguments"
    E:\BEA\jdk150_15\bin\java -hotspot -Xms1024m -Xmx1024m -XX:PermSize=300m -da -Dplatform.home=E:\BEA\wlserver_10.0 -Dwls.home=E:\BEA\wlserver_10.0\myserver -Dwli.home=E:\BEA\wlserver_10.0\integration -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=E:\BEA\patch_wss110\profiles\default\sysext_manifest_classpath;E:\BEA\patch_wlw1021\profiles\default\sysext_manifest_classpath;E:\BEA\patch_wls1002\profiles\default\sysext_manifest_classpath;E:\BEA\patch_cie640\profiles\default\sysext_manifest_classpath -Dweblogic.management.username=system -Dweblogic.Name=myserver -Djava.security.policy=E:\BEA\wlserver_10.0\server\lib\weblogic.policy weblogic.Server
    <Oct 12, 2011 10:23:51 AM BST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    E:\BEA\wlserver_10.0\platform\lib\p13n\p13n-schemas.jar;E:\BEA\wlserver_10.0\platform\lib\p13n\p13n_common.jar;E:\BEA\wlserver_10.0\platform\lib\p13n\p13n_system.jar;E:\BEA\wlserver_10.0\platform\lib\p13n\wlp_services.jar;E:\BEA\wlserver_10.0\platform\lib\wlp\netuix_common.jar;E:\BEA\wlserver_10.0\platform\lib\wlp\netuix_schemas.jar;E:\BEA\wlserver_10.0\platform\lib\wlp\netuix_system.jar;E:\BEA\wlserver_10.0\platform\lib\wlp\wsrp-client.jar;E:\BEA\wlserver_10.0\platform\lib\wlp\wsrp-common.jar>
    <Oct 12, 2011 10:23:54 AM BST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_15-b04 from Sun Microsystems Inc.>
    <Oct 12, 2011 10:23:57 AM BST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.0 MP2 Sat Apr 25 01:45:38 EDT 2009 1213942 >
    <Oct 12, 2011 10:24:03 AM BST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : E:\BEA\license.bea>
    <Oct 12, 2011 10:24:03 AM BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 12, 2011 10:24:04 AM BST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Oct 12, 2011 10:24:05 AM BST> <Notice> <Log Management> <BEA-170019> <The server log file E:\SPL\CCBDEV\logs\system\myserver.log is opened. All server side log events will be written to this file.>
    <Oct 12, 2011 10:24:15 AM BST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Oct 12, 2011 10:24:30 AM BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Oct 12, 2011 10:24:30 AM BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 12, 2011 10:26:42 AM BST> <Warning> <HTTP> <BEA-101304> <Webapp: weblogic.servlet.internal.WebAppServletContext@d90727 - appName: 'SPLWeb', name: '/spl', context-path: '/spl', the role: cisusers defined in web.xml has not been mapped to principals in security-role-assignment in weblogic.xml. Will use the rolename itself as the principal-name.>
    <Oct 12, 2011 10:27:11 AM BST> <Warning> <HTTP> <BEA-101304> <Webapp: weblogic.servlet.internal.WebAppServletContext@10a59d2 - appName: 'SPLWeb', name: '/spl/XAIApp', context-path: '/spl/XAIApp', the role: cisusers defined in web.xml has not been mapped to principals in security-role-assignment in weblogic.xml. Will use the rolename itself as the principal-name.>
    Failed to load servlet Class: org.openspml.v2.transport.RPCRouterServletIgnoring: unable to load class:java.lang.ClassNotFoundException: org.openspml.v2.transport.RPCRouterServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)Failed to load servlet Class: org.openspml.v2.transport.RPCRouterServletIgnoring: unable to load class:java.lang.ClassNotFoundException: org.openspml.v2.transport.RPCRouterServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)INFO: Loaded log4j.properties from external file E:\SPL\CCBDEV\etc\conf\root\WEB-INF\classes\log4j.properties
    INFO: Loaded spl.properties from external file E:\SPL\CCBDEV\etc\conf\root\WEB-INF\classes\spl.properties: {spl.ejbContainer.url=t3://L-156018395:6500, spl.runtime.options.isDevelopmentMode=false, spl.ejbContainer.password=spladmin, spl.runtime.service.extraInstallationServices=CILTINCP, spl.tools.loaded.applications=base,ccb,cm, spl.runtime.socket.file.dir=E:/SPL/CCBDEV/runtime, spl.runtime.cobol.sql.fetchSize=150, spl.runtime.cobol.cobrcall=false, spl.serviceBean.jndi.name=spl/servicebean, spl.ejbContainer.contextFactory=weblogic.jndi.WLInitialContextFactory, spl.runtime.cobol.encoding=UTF8, spl.runtime.cobol.sql.disableQueryCache=false, spl.ejbContainer.user=system, spl.runtime.utf8Database=true, spl.runtime.fusionlook=true, spl.runtime.environ.init.dir=E:/SPL/CCBDEV/etc, spl.runtime.cobol.sql.cache.maxTotalEntries=1000, spl.runtime.oracle.statementCacheSize=300, spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.runtime.cobol.remote.jvm=false, spl.runtime.sql.highValue=?}
    - 2011-10-12 10:27:16,367 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (shared.context.ApplicationMode) Application set to production mode
    - 2011-10-12 10:27:16,422 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (web.startup.SPLWebStartup) Initializing SPL web application
    - 2011-10-12 10:27:16,694 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (web.dynamicui.TransformServletHelper) Disable UIPage Compression set to false
    - 2011-10-12 10:27:16,908 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.ContextFactory) Creating lightweight context. This context cannot access Java business objects.
    - 2011-10-12 10:27:16,964 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.ApplicationContext) Building hibernate configuration
    - 2011-10-12 10:27:17,802 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.ApplicationContext) Loaded hibernate.properties from external file E:\SPL\CCBDEV\etc\conf\root\WEB-INF\classes\hibernate.properties
    - 2011-10-12 10:27:17,847 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.ApplicationContext) Adding 0 hibernate mappings
    - 2011-10-12 10:27:18,404 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.ApplicationContext) Done building hibernate configuration, time 1,440.181 ms
    - 2011-10-12 10:27:18,405 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.ApplicationContext) Building hibernate session factory
    - 2011-10-12 10:27:18,409 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (hibernate.connection.ConnectionProviderFactory) Initializing connection provider: org.hibernate.connection.C3P0ConnectionProvider
    - 2011-10-12 10:27:18,418 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (hibernate.connection.C3P0ConnectionProvider) C3P0 using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@172.19.84.33:1521:niesdev
    - 2011-10-12 10:27:18,418 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (hibernate.connection.C3P0ConnectionProvider) Connection properties: {user=cisadm, password=****}
    - 2011-10-12 10:27:18,418 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (hibernate.connection.C3P0ConnectionProvider) autocommit mode: false
    - 2011-10-12 10:27:20,856 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (v2.log.MLog) MLog clients using log4j logging.
    - 2011-10-12 10:27:21,437 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (v2.c3p0.C3P0Registry) Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    - 2011-10-12 10:27:21,567 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (c3p0.impl.AbstractPoolBackedDataSource) Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@2217200b [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@d691d4fd [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1br00b48i1wns8gho21ebz|1c95553, idleConnectionTestPeriod -> 0, initialPoolSize -> 1, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 300, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 150, maxStatement
    s -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@d869ae3f [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 1br00b48i1wns8gho21ebz|1b5d53a, jdbcUrl -> jdbc:oracle:thin:@172.19.84.33:1521:niesdev, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> 1br00b48i1wns8gho21ebz|1715c20, numHelperThreads -> 3 ]
    - 2011-10-12 10:37:26,348 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] WARN (v2.resourcepool.BasicResourcePool) com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1b1dd12 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
    java.sql.SQLException: Io exception: Software caused connection abort: recv failed
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:566)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:418)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
    at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
    at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
    at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
    at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
    at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
    at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
    Caused by: java.net.SocketException: Software caused connection abort: recv failed
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at oracle.net.ns.Packet.receive(Packet.java:240)
    at oracle.net.ns.DataPacket.receive(DataPacket.java:92)
    at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:77)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1034)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1010)
    at oracle.jdbc.driver.T4C8TTIdty.receive(T4C8TTIdty.java:516)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:332)
    ... 12 more
    - 2011-10-12 10:37:26,348 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] WARN (v2.resourcepool.BasicResourcePool) com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6dbcef -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
    java.sql.SQLException: Io exception: Software caused connection abort: recv failed
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:566)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:418)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)
    at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
    at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
    at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
    at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
    at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
    at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
    Caused by: java.net.SocketException: Software caused connection abort: recv failed
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at oracle.net.ns.Packet.receive(Packet.java:240)
    at oracle.net.ns.DataPacket.receive(DataPacket.java:92)
    at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:77)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1034)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1010)
    at oracle.jdbc.driver.T4C8TTIdty.receive(T4C8TTIdty.java:516)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:332)
    ... 12 more
    - 2011-10-12 10:37:26,425 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN (hibernate.cfg.SettingsFactory) Could not obtain connection metadata
    java.sql.SQLException: Connections could not be acquired from the underlying database!
    at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
    at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
    at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:56)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
    at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2090)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2086)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1311)
    at com.splwg.base.support.context.ApplicationContext.buildSessionFactory(ApplicationContext.java:188)
    at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:113)
    at com.splwg.base.support.context.ContextFactory.createLightweightContext(ContextFactory.java:749)
    at com.splwg.base.web.startup.SPLWebStartup.initializeApplicationContext(SPLWebStartup.java:180)
    at com.splwg.base.web.startup.SPLWebStartup.contextInitialized(SPLWebStartup.java:63)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:458)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:168)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1744)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2918)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:182)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:359)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
    at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
    at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
    at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
    ... 46 more
    - 2011-10-12 10:37:26,548 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (hibernate.dialect.Dialect) Using dialect: org.hibernate.dialect.Oracle10gDialect
    - 2011-10-12 10:37:26,736 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (hibernate.transaction.TransactionFactoryFactory) Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
    - 2011-10-12 10:37:26,751 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (hibernate.transaction.TransactionManagerLookupFactory) No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    - 2011-10-12 10:37:27,067 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (hibernate.impl.SessionFactoryImpl) building session factory
    - 2011-10-12 10:37:27,129 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (hibernate.impl.SessionFactoryObjectFactory) Not binding factory to JNDI, no JNDI name configured
    - 2011-10-12 10:37:27,193 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.ApplicationContext) Done building hibernate session factory, time 608,776.565 ms(10 min 8.777 sec)
    Please help me out here.
    Any advice please.
    Regards,
    Techie
    Edited by: 815302 on Oct 12, 2011 2:54 AM

    I tried same with tomcat...
    CC&B 2.3.1 with apache tomcat trying to connect with other database.... getting below error
    java.sql.SQLException: Io exception: Software caused connection abort: recv failed
    Oct 17, 2011 4:44:05 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\SPL\javaHome\Java\jdk1.5.0_21\bin;.;C:\Windows\system32;C:\Windows;E:\SPL\MicroFocus\Server5.1\Bin;E:\SPL\NIEESDEVL\runtime;E:\SPL\javaHome\Java\jdk1.5.0_21\bin;E:\SPL\NIEESDEVL\runtime;E:\SPL\NIEESDEVL\bin;E:\SPL\NIEESDEVL\product\apache-ant-1.7.0\bin;E:\SPL\javaHome\Java\jdk1.5.0_21\bin;E:\DEMODB\product\11.2.0\dbhome_1\bin;E:\SPL\MicroFocusServer5.1\Bin;E:\SPL\NIEESDEVL\product\apache-ant-1.7.0\bin;C:\csvn\bin\;C:\csvn\Python25\;c:\perl\site\bin;c:\perl\bin;C:\Program Files\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Reallusion\CamSuite;C:\Program Files\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files\TortoiseSVN\bin;E:\app\prashant\client_1\bin;;C:\PROGRA~1\QAS\QuickAddress Pro Web;E:\BEA;E:\BEA\wlserver_10.0;E:\SPL\hibernate-3.2;E:\SPL\NIEESDEV\bin;E:\BEA\wlserver_10.0\server\bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\
    Oct 17, 2011 4:44:05 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-6500
    Oct 17, 2011 4:44:05 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2005 ms
    Oct 17, 2011 4:44:06 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Oct 17, 2011 4:44:06 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
    INFO: Loaded log4j.properties from external file E:\SPL\NIEESDEVL\etc\conf\XAIApp\WEB-INF\classes\log4j.properties
    INFO: Loaded spl.properties from external file E:\SPL\NIEESDEVL\etc\conf\XAIApp\WEB-INF\classes\spl.properties: {spl.runtime.options.isDevelopmentMode=true, spl.runtime.service.extraInstallationServices=CILTINCP, spl.runtime.cobol.remote.jvmcommand=E:/SPL/javaHome/Java/jdk1.5.0_21/bin/java.exe, spl.tools.loaded.applications=base,ccb,cm, spl.runtime.cobol.remote.jvmcount=2, spl.runtime.socket.file.dir=E:/SPL/NIEESDEVL/runtime, spl.runtime.cobol.sql.fetchSize=150, spl.runtime.cobol.cobrcall=false, spl.runtime.initialize.waittime=90, spl.runtime.cobol.encoding=UTF8, spl.runtime.cobol.sql.disableQueryCache=false, spl.runtime.utf8Database=true, spl.runtime.fusionlook=true, spl.runtime.cobol.remote.jvmoptions=-Xmx1024m -server -Dfile.encoding=ISO8859_1 -cp E:/SPL/NIEESDEVL/splapp/standalone/config;E:/SPL/NIEESDEVL/splapp/standalone/lib/activation_api-1.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/cm.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/coherence-3.5.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/coherence-work-3.5.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commonj-3.5.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-beanutils-core-1.7.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-cli-1.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-codec-1.3.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-collections-2.1.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-fileupload-1.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-httpclient-2.0.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-io-1.3.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-lang-2.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-logging-1.0.4.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/concurrent-1.3.4.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/dom4j-1.6.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/e2Vault.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/hibernate-3.2.7.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/icu4j-3.6.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jaxen-1.1.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jcip-annotations.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jstl-api-1.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jta.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jtds-1.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/log4j-1.2.15.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/mail_api-1.4.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/mfcobol.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/ojdbc5-11.1.0.7.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/orai18n-collation.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/orai18n-mapping.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/orai18n-utility.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/orai18n.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/serializer-2.7.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-base-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-ccb-2.3.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-servicebeaninterface-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-shared-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-spml-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-web-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-xai-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/stax-api-1.0.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/stax2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/staxmate-0.9.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/wstx-asl-3.2.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/xalan-2.7.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/xmlparserv2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/xquery.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/xstream-1.2.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/yjp-controller-api-redist.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/geronimo-spec-j2ee-1.4-rc4.jar, spl.runtime.environ.init.dir=E:/SPL/NIEESDEVL/etc, spl.runtime.cobol.sql.cache.maxTotalEntries=1000, spl.runtime.oracle.statementCacheSize=300, spl.runtime.cobol.remote.rmiStartPort=6503, spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.runtime.cobol.remote.jvm=true, spl.runtime.cobol.remote.lib.prefix=xaiapp, spl.runtime.sql.highValue=?}
    - 2011-10-17 16:44:12,312 [main] INFO (shared.context.ApplicationMode) Application set to development mode
    - 2011-10-17 16:44:12,325 [main] INFO (web.dynamicui.TransformServletHelper) Disable UIPage Compression set to false
    - 2011-10-17 16:44:12,349 [main] WARN (web.common.ServletHelper) Web app env variable maxAge not defined; defaulting to 1 sec
    - 2011-10-17 16:44:12,356 [main] INFO (web.startup.DeferredXAIStartup) Starting thread for deferred XAI application context initialization
    - 2011-10-17 16:44:12,371 [Thread-1] INFO (web.startup.DeferredXAIStartup) Waiting 90 seconds before starting XAI application context initialization
    INFO: Loaded log4j.properties from external file E:\SPL\NIEESDEVL\etc\conf\root\WEB-INF\classes\log4j.properties
    INFO: Loaded spl.properties from external file E:\SPL\NIEESDEVL\etc\conf\root\WEB-INF\classes\spl.properties: {spl.runtime.options.isDevelopmentMode=true, spl.runtime.service.extraInstallationServices=CILTINCP, spl.runtime.cobol.remote.jvmcommand=E:/SPL/javaHome/Java/jdk1.5.0_21/bin/java.exe, spl.tools.loaded.applications=base,ccb,cm, spl.runtime.cobol.remote.jvmcount=2, spl.runtime.socket.file.dir=E:/SPL/NIEESDEVL/runtime, spl.runtime.cobol.sql.fetchSize=150, spl.runtime.cobol.cobrcall=false, spl.runtime.cobol.encoding=UTF8, spl.runtime.cobol.sql.disableQueryCache=false, com.splwg.grid.online.enabled=false, spl.runtime.utf8Database=true, spl.runtime.fusionlook=true, spl.runtime.cobol.remote.jvmoptions=-Xmx1024m -server -Dfile.encoding=ISO8859_1 -cp E:/SPL/NIEESDEVL/splapp/standalone/config;E:/SPL/NIEESDEVL/splapp/standalone/lib/activation_api-1.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/cm.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/coherence-3.5.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/coherence-work-3.5.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commonj-3.5.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-beanutils-core-1.7.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-cli-1.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-codec-1.3.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-collections-2.1.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-fileupload-1.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-httpclient-2.0.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-io-1.3.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-lang-2.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/commons-logging-1.0.4.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/concurrent-1.3.4.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/dom4j-1.6.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/e2Vault.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/hibernate-3.2.7.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/icu4j-3.6.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jaxen-1.1.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jcip-annotations.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jstl-api-1.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jta.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/jtds-1.2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/log4j-1.2.15.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/mail_api-1.4.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/mfcobol.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/ojdbc5-11.1.0.7.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/orai18n-collation.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/orai18n-mapping.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/orai18n-utility.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/orai18n.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/serializer-2.7.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-base-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-ccb-2.3.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-servicebeaninterface-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-shared-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-spml-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-web-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/spl-xai-2.2.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/stax-api-1.0.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/stax2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/staxmate-0.9.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/wstx-asl-3.2.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/xalan-2.7.0.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/xmlparserv2.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/xquery.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/xstream-1.2.1.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/yjp-controller-api-redist.jar;E:/SPL/NIEESDEVL/splapp/standalone/lib/geronimo-spec-j2ee-1.4-rc4.jar, spl.runtime.environ.init.dir=E:/SPL/NIEESDEVL/etc, com.splwg.grid.distThreadPool.threads.DEFAULT=5, spl.runtime.cobol.sql.cache.maxTotalEntries=1000, spl.runtime.oracle.statementCacheSize=300, spl.runtime.cobol.remote.rmiStartPort=6503, spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.runtime.cobol.remote.jvm=true, com.splwg.batch.scheduler.daemon=false, spl.runtime.sql.highValue=?}
    - 2011-10-17 16:44:18,459 [main] INFO (shared.context.ApplicationMode) Application set to development mode
    - 2011-10-17 16:44:18,473 [main] INFO (web.startup.SPLWebStartup) Initializing SPL web application
    - 2011-10-17 16:44:18,477 [main] INFO (web.dynamicui.TransformServletHelper) Disable UIPage Compression set to false
    - 2011-10-17 16:44:18,522 [main] INFO (support.context.ContextFactory) Creating default context
    - 2011-10-17 16:44:39,053 [main] ERROR (support.context.ContextFactory) Error getting connection to database jdbc:oracle:thin:@172.19.84.33:1521:niesdev, with user cisadm and driver oracle.jdbc.driver.OracleDriver
    java.sql.SQLException: Io exception: Software caused connection abort: recv failed
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:566)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:418)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at com.splwg.base.support.context.ContextFactory.getConnection(ContextFactory.java:134)
    at com.splwg.base.support.context.ContextFactory.getBaseLookupInterfaceNames(ContextFactory.java:143)
    at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:102)
    at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:90)
    at com.splwg.base.support.context.ContextFactory.createDefaultContext(ContextFactory.java:498)
    at com.splwg.base.web.startup.SPLWebStartup.initializeApplicationContext(SPLWebStartup.java:178)
    at com.splwg.base.web.startup.SPLWebStartup.contextInitialized(SPLWebStartup.java:63)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
    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:592)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: java.net.SocketException: Software caused connection abort: recv failed
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at oracle.net.ns.Packet.receive(Packet.java:240)
    at oracle.net.ns.DataPacket.receive(DataPacket.java:92)
    at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:77)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1034)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1010)
    at oracle.jdbc.driver.T4C8TTIdty.receive(T4C8TTIdty.java:516)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:332)
    ... 28 more
    Oct 17, 2011 4:44:39 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Oct 17, 2011 4:44:39 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [] startup failed due to previous errors
    - 2011-10-17 16:44:39,143 [main] INFO (web.startup.SPLWebStartup) Shutting Down the JMX Connectors...
    - 2011-10-17 16:44:39,161 [main] INFO (web.startup.SPLWebStartup) JMX Connectors shutdown successfully
    - 2011-10-17 16:44:39,162 [main] INFO (web.startup.SPLWebStartup) Shutting Down the Application Context...
    - 2011-10-17 16:44:39,183 [main] INFO (web.startup.SPLWebStartup) Application Context shutdown successfully
    Oct 17, 2011 4:44:39 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-6500
    Oct 17, 2011 4:44:39 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Oct 17, 2011 4:44:39 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/29 config=null
    Oct 17, 2011 4:44:39 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 34150 ms

  • Retrieve list of values w/o connecting to database

    How can I meet this requirements: Users don't have connection to database(no network connection). But, he needs to have the have the values retrived from the list of values in a dialog which are actually database values. I can imagine gaving a text file and retrive from there, but, I have no idea what to do if the list is huge. Text files wouldn't suffice. Any ideas on this.
    TIA.

    It's not so much lines as characters.
    I have used some fairly long XML files and still had descent performance. (It's been awhile, I can't remember the number of lines) The problem comes in when you have lots of levels
    ie
    <productList>
    <product>
    <sub1>
    <suba></suba>
    </sub1>
    </product>
    </productList>
    or there is a lot of text within the tags. I really haven't done any benchmarking, so I'm not sure what that many lines would do.
    Another possibility might be to use something like an MS Access db. That way the file could be local. You lose some code portability, if that's an issue. You also have to pay for MS Office licenses, if you don't have them. You'll get better speed performance from this option. However, I'm not sure that Access will handle that many rows.
    How's that for a bunch of options, but no clear cut answers?
    -Mike

  • How to connect multiple databases

    Hi all,
    This is my situation , i need to set the max number of connections to one database , if the connection exceeds then i need to connect to another database , is there any way to solve it? please help me

    Sounds like you want to write your own load balancer. Sweet!!
    As was already stated, this would be best handled by clustering your database servers.
    If it's not done at that level, what's the next best option? How are your users currently connecting to the database? Is it through a web server or from stand-alone clients? If it's a web server, the server should have some facility for creating datasources and pooling connections. If you are dead set on switching to a different database when the number of connections in the pool has been maxed out, then you might have to write your own singleton class to manage the connection pool(s).
    If your users are connecting through stand-alone clients, you have to force the client applications to connect through a single server that controls the connections.
    There's one major problem with switching databases...if a user saves some data there is no guarantee that they will connect to the same database when they want to read the data at some later point. Maybe if there is replication between the two databases in the cluster, they might be able to do that.
    Edited by: user9221846 on Feb 11, 2011 8:04 AM
    Edited by: user9221846 on Feb 11, 2011 8:05 AM

  • How to read the RD Connect Broker DataBase!!!!

    The msdn say there is a RD Connect Broker Data Base , it store the session information,but i dont know where is it and how to read it !
    Thank you !!!!

    Hi,
    You can use the vbs script below to dump the contents of the RD Connection Broker database.
    With credits to the authors of the Windows Server 2008 R2 RDS Resource Kit for putting it in there!
    ' Copyright (c) 2004-2005 Microsoft Corporation
    ' WMI Script - SDDatabaseDump.vbs
    ' Author     - GopiV
    ' This script dumps the contents (clusters and associated sessions)
    ' of the Session Directory database
    ' USAGE: Cscript.exe SDDatabaseDump.vbs <SBservername> <Administrator> <Password>
    const TAB = "    "
    const LINESEPARATOR = "------------------------------------------------"
    ON ERROR RESUME NEXT
    '* Function blnConnect()
    '* Purpose: Connects to machine strServer.
    '* Input:   strServer       a machine name
    '*          strNameSpace    a namespace
    '*          strUserName     name of the current user
    '*          strPassword     password of the current user
    '* Output:  objService is returned  as a service object.
    Function blnConnect(objService, strServer, strNameSpace, strUserName, strPassword)
        ON ERROR RESUME NEXT
        Dim objLocator
        blnConnect = True     'There is no error.
        ' Create Locator object to connect to remote CIM object manager
        Set objLocator = CreateObject("WbemScripting.SWbemLocator")
        if Err.Number then
            Wscript.Echo "Error 0x" & CStr(Hex(Err.Number)) & " occurred in creating a locator object."
            if Err.Description <> "" then
                Wscript.Echo "Error description: " & Err.Description & "."
            end if
            Err.Clear
            blnConnect = False     'An error occurred
            Exit Function
        end if
        ' Connect to the namespace which is either local or remote
        Set objService = objLocator.ConnectServer (strServer, strNameSpace, strUserName, strPassword)
     if Err.Number then
            Wscript.Echo "Error 0x" & CStr(Hex(Err.Number)) & " occurred in connecting to server " _
                & strServer & "."
            if Err.Description <> "" then
                Wscript.Echo "Error description: " & Err.Description & "."
            end if
            Err.Clear
            blnConnect = False     'An error occurred
        end if
        objService.Security_.impersonationlevel = 3
        if Err.Number then
            Wscript.Echo "Error 0x" & CStr(Hex(Err.Number)) & " occurred in setting impersonation level " _
                & strServer & "."
            if Err.Description <> "" then
                Wscript.Echo "Error description: " & Err.Description & "."
            end if
            Err.Clear
            blnConnect = False     'An error occurred
        end if
    end Function 
    ' Start of script
    if Wscript.arguments.count<3 then
       Wscript.echo "Script can't run without 3 arguments: ServerName Domain\UserName Password "
       Wscript.quit
    end if
    Dim strServer, strUserName, strPassword
    Dim objService, blnResult
    ' Extract the command line arguments
    strServer=Wscript.arguments.Item(0)
    strUserName=Wscript.arguments.Item(1)
    strPassword=Wscript.arguments.Item(2)
    ' Connect to the WMI service on the SD Server machine
    blnResult = blnConnect( objService, strServer, "root/cimv2", strUserName, strPassword )
    if not blnResult then
       Wscript.echo "Can not connect to the server " & strServer & " with the given credentials."
       WScript.Quit
    end if
    Set clusterEnumerator = objService.InstancesOf ("Win32_SessionDirectoryCluster")
    if Err.Number then
        Wscript.Echo "Error 0x" & CStr(Hex(Err.Number)) & " occurred"
    end if
    if clusterEnumerator.Count = 0 then
        Wscript.Echo "No clusters found in Session Directory database on " & strServer & "."
        Wscript.Echo
        Wscript.Quit
    end if
    for each clusterObj in clusterEnumerator
        WScript.Echo LINESEPARATOR
        WScript.Echo "ClusterName = " & clusterObj.ClusterName
        WScript.Echo "NumberOfServers = " & clusterObj.NumberOfServers 
        WScript.Echo "SingleSessionMode = " & clusterObj.SingleSessionMode
        Wscript.Echo
        set serverEnumerator = objService.ExecQuery("Select * from Win32_SessionDirectoryServer where ClusterName = '" & clusterObj.ClusterName & "'")
        if Err.Number then
           Wscript.Echo "Error 0x" & CStr(Hex(Err.Number)) & " occurred"
        end if
        if serverEnumerator.Count = 0 then
             Wscript.Echo "Error : No servers in cluster " & clusterObj.ClusterName
             Wscript.Echo
        else
             ' Enumerate the servers in this cluster
             for each serverObj in serverEnumerator
                WScript.Echo TAB & "SERVER :"
                WScript.Echo TAB & "ServerName = " & serverObj.ServerName & " ServerSingleSessionMode = " & serverObj.SingleSessionMode & " LoadIndicator = " & serverObj.LoadIndicator
    '            WScript.Echo TAB & "ServerIP = " & serverObj.ServerIPAddress
      '  WScript.Echo TAB & "ServerWeight = " & serverObj.ServerWeight
                set sessionEnumerator = objService.ExecQuery("Select * from Win32_SessionDirectorySession where ServerName = '" & serverObj.ServerName  & "'")
                if Err.Number then
                   Wscript.Echo "Error 0x" & CStr(Hex(Err.Number)) & " occurred"
                end if  
                if sessionEnumerator.Count = 0 then
                   WScript.Echo
                   WScript.Echo TAB & "No sessions on server " & serverObj.ServerName
                   WScript.Echo
                else
                   WScript.Echo TAB & "NumberOfSessions = " & sessionEnumerator.Count
                   Wscript.Echo
                   ' Enumerate the sessions on this server
                   for each sessionObj in sessionEnumerator
                      WScript.Echo TAB & TAB & "SESSION :"
                      WScript.Echo TAB & TAB & "UserName= " & sessionObj.DomainName & "\" & sessionObj.UserName & TAB & "ApplicationType= " & sessionObj.ApplicationType
    & TAB & "SessionState= " & sessionObj.SessionState
                      WScript.Echo TAB & TAB & "CreateTime= " & sessionObj.CreateTime & TAB & "DisconnectTime= " & sessionObj.DisconnectTime
    '                  WScript.Echo TAB & TAB & "ServerName= " & sessionObj.ServerName
    '                  WScript.Echo TAB & TAB & "SessionID= " & sessionObj.SessionID
    '                  WScript.Echo TAB & TAB & "ServerIP= " & sessionObj.ServerIPAddress
    '                  WScript.Echo TAB & TAB & "TSProtocol= " & sessionObj.TSProtocol 
     '                 WScript.Echo TAB & TAB & "ResolutionWidth= " & sessionObj.ResolutionWidth
      '               WScript.Echo TAB & TAB & "ResolutionHeight= " & sessionObj.ResolutionHeight
       '             WScript.Echo TAB & TAB & "ColorDepth= " & sessionObj.ColorDepth
        '              WScript.Echo
                      WScript.Echo
                   next
                end if   ' End of sessions on this server
             next
        end if  ' End of servers on this cluster
    next
    Wscript.Echo
    Wscript.Echo
    Wscript.Echo "Dump of SD database on " & strServer & " complete."
    Kind regards,
    Freek Berson
    http://www.microsoftplatform.blogspot.com
    Wortell company website

  • Inactive connections in database

    Hi,
    I'm using Oracle 10 with my Weblogic 8.1. I'm having cluster environment with 3 managed servers. Each is having initial capacity of 30 connections in connection pool. Now when I see my oracle database, its showing 90 INACTIVE connections. What does that mean? Is it related to Weblogic? If yes, how?

    Hello.
    Well, connection pool are well describe at some good places, I will try. The WLS admin setup a connection pool which consist in a number of connection on a database with the same loginname/password.
    Those connections are opened on WLS startup and are ready for application use. When an application needs a connection, it asks for one, and WLS gives a already opened one. Doing so, you don't have to connect to the database each time, as the connection already exists.
    When the application is done with the connection, it releases it and this connections returns in pool.
    Rgds.

  • Query: The number of connections possible on APEX

    Hi all,
    Hope you all are doing good.
    there is one query,
    Does the number of connections to apex depends on database memory ???
    Is there any limitation on number of connections at the same time ?
    i have one application,
    APEX 4.1
    DB 11.2.0.2
    when it was launched.., people tried to login and as soon as they logged in the poratl/application went down. had to bounce the DB to get it back.
    was clueless on what would be the reason for this behavior.
    how do i make sure this would not occur again..,
    thanks and regards,
    Littlefoot

    Hi Dietmar,
    i have the same assumption, but the problem here the user is facing is, they have used some java scripts to upload the excel sheet and when uploading it the apex portal goes down.
    they are still testing it, expected user to login is around 600 at the same time.
    From the db side :
    SQL> sho parameters sga
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 3808M
    sga_target                           big integer 0
    SQL> sho parameters job_queu
    NAME                                 TYPE        VALUE
    job_queue_processes                  integer     1000
    SQL> sho parameters large
    NAME                                 TYPE        VALUE
    large_pool_size                      big integer 0
    use_large_pages                      string      TRUE
    SQL> sho parameters java
    NAME                                 TYPE        VALUE
    java_jit_enabled                     boolean     TRUE
    java_max_sessionspace_size           integer     536870912
    java_pool_size                       big integer 1424M
    java_soft_sessionspace_limit         integer     536870912they are getting the error : ORA-04031: unable to allocate 91992 bytes of shared memory
    how do we remove the error..,
    any help on this.
    additional details : server has 12GB ram.
    thanks and regards,
    littlefoot

  • Connecting to database help

    First let me say sorry as i have already started this post in another thread, but know one seems to be replying to it any more. the other thread can be found out: http://forum.java.sun.com/thread.jspa?messageID=9413573
    package coreservlets;
    public class Catalog {
    private static CatalogItem[] items =
        {new CatalogItem
            ("hall002",
             "<I>Core Web Programming, 2nd Edition</I> " +
               "by Marty Hall and Larry Brown",
             "One stop shopping for the Web programmer. " +
               "Topics include \n" +
               "<UL><LI>Thorough coverage of Java 2; " +
               "including Threads, Networking, Swing, \n" +
               "Java 2D, RMI, JDBC, and Collections\n" +
               "<LI>A fast introduction to HTML 4.01, " +
               "including frames, style sheets, and layers.\n" +
               "<LI>A fast introduction to HTTP 1.1, " +
               "servlets, and JavaServer Pages.\n" +
               "<LI>A quick overview of JavaScript 1.2\n" +
               "</UL>",
             49.99),
          new CatalogItem
            ("lewis001",
             "<I>The Chronicles of Narnia</I> by C.S. Lewis",
               "The classic children's adventure pitting " +
               "Aslan the Great Lion and his followers\n" +
               "against the White Witch and the forces " +
               "of evil. Dragons, magicians, quests, \n" +
               "and talking animals wound around a deep " +
               "spiritual allegory. Series includes\n" +
               "<I>The Magician's Nephew</I>,\n" +
               "<I>The Lion, the Witch and the Wardrobe</I>,\n" +
               "<I>The Horse and His Boy</I>,\n" +
               "<I>Prince Caspian</I>,\n" +
               "<I>The Voyage of the Dawn Treader</I>,\n" +
               "<I>The Silver Chair</I>, and \n" +
               "<I>The Last Battle</I>.",
             19.95),
          new CatalogItem
            ("alexander001",
             "<I>The Prydain Series</I> by Lloyd Alexander",
               "Humble pig-keeper Taran joins mighty " +
               "Lord Gwydion in his battle against\n" +
               "Arawn the Lord of Annuvin. Joined by " +
               "his loyal friends the beautiful princess\n" +
               "Eilonwy, wannabe bard Fflewddur Fflam," +
               "and furry half-man Gurgi, Taran discovers " +
               "courage, nobility, and other values along\n" +
               "the way. Series includes\n" +
               "<I>The Book of Three</I>,\n" +
               "<I>The Black Cauldron</I>,\n" +
               "<I>The Castle of Llyr</I>,\n" +
               "<I>Taran Wanderer</I>, and\n" +
               "<I>The High King</I>.",
             19.95),
          new CatalogItem
            ("rowling001",
             "<I>The Harry Potter Series</I> by J.K. Rowling",
             "The first five of the popular stories " +
               "about wizard-in-training Harry Potter\n" +
               "topped both the adult and children's " +
               "best-seller lists. Series includes\n" +
               "<I>Harry Potter and the Sorcerer's Stone</I>,\n" +
               "<I>Harry Potter and the Chamber of Secrets</I>,\n" +
               "<I>Harry Potter and the " +
               "Prisoner of Azkaban</I>,\n" +
               "<I>Harry Potter and the Goblet of Fire</I>, and\n" +
               "<I>Harry Potter and the "+
               "Order of the Phoenix</I>.\n",
             59.95)
      public static CatalogItem getItem(String itemID) {
        CatalogItem item;
        if (itemID == null) {
          return(null);
        for(int i=0; i<items.length; i++) {
          item = items;
    if (itemID.equals(item.getItemID())) {
    return(item);
    return(null);
    Using the above servlet and this one:
    package coreservlets
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class browser extends HttpServlet {
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
          throws ServletException, IOException {
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
         Connection conn = null;
         try{
             Class.forName("com.mysql.jdbc.Driver").newInstance();
         } catch(Exception e) {
             System.out.println(e);
         // connecting to database
         try{
             conn = DriverManager.getConnection
            ("jdbc:mysql://MY WEB ADDRESS FOR THE SQL TABLES GOES HERE");
              // System.out.println("Connection to database successful.");
           catch(SQLException se) {
             System.out.println(se);
         try{
              // Get the category from the input form
              String categoryString = request.getParameter("category");
              // check if no category
              if (categoryString == "") categoryString = "Action & Adventure";
             String selectSQL = "select title, director, rating, year_released, price, stock_count, image_name "+
                                "from video_recordings "+
                                "where category = '" + categoryString + "'";
             Statement stmt = conn.createStatement();
             ResultSet rs1 = stmt.executeQuery(selectSQL);
          // output html headers
          String title = "Films in the " + categoryString + " genre" ;
           out.println(ServletUtilities.headWithTitle(title) +
                    "><BODY BGCOLOR=\"#a00e0e\">\n" +
                  "<center><img src=\"http://localhost:8080/examples/pic.jpg\" width=350 height=200/></center>\n" +
                    "<H1 ALIGN=\"CENTER\">" + title + "</H1>\n");
           out.println("<TABLE BORDER=1 ALIGN=\"CENTER\">\n" +
                    "<TR BGCOLOR=\"#FFAD00\">\n" +
                    "  <TH>Title\n" +
                    "  <TH>Director\n" +
                  "  <TH>Rating\n" +
                  "  <TH>Year Released\n" +
                  "  <TH>Price\n" +
                  "  <TH>Number in stock\n" +
                    "  <TH>image name"
    // Retrieve the results
             while(rs1.next()){
                  out.println("<TR>" +
                              "<TD>" + rs1.getString("title") + "</TD>" +
                              "<TD>" + rs1.getString("director") + "</TD>" +
                            "<TD>" + rs1.getString("rating") + "</TD>" +
                            "<TD>" + rs1.getDouble("year_released") + "</TD>" +
                            "<TD>" + rs1.getString("price") + "</TD>" +
                               "<TD>" + rs1.getString("stock_count") + "</TD>" +
                              "<TD>" + rs1.getString("image_name")  +"</TD>\n");
                             "<TD> <IMG SRC=\"../images/music/" + image_name +"\">"
        // close the html
        out.println("</TABLE></BODY></HTML>");
    // Close the stament and database connection
             stmt.close();
             conn.close();
         } catch(SQLException se) {
             System.out.println(se);
      }How do i merge these two together so that a catalogItem is created by connecting to the database and uses the select statement?? If any one can help me here i would be really grateful as i am having real trouble with this.

    Below is what i have come up with (I cut out the code that just gets in the way for this post, eg the connect to database and import statements) My problem is this would only work once has i need to add the item to the array addedItem in the first for loop, can anybody help me with this has i have tried a number of ways but can't get it to compile.
    private static CatalogItem[] addedItem
    private static CatalogItem[] ItemsInCat;
    CatalogItem item;
    CatalogItem details;
            int recordingidDB;
         String directorDB;
         String titleDB;
         String categoryDB;
         String imageDB;
         int durationDB;
         String ratingDB;
         String yearDB;
         float priceDB;
         int StockDB;
    // Create select statement and execute it
         try{
             String selectSQL = "select title, director, rating, year_released, price, stock_count, image_name "+
                                "from video_recordings " + "'";
             Statement stmt = conn.createStatement();
             ResultSet rs1 = stmt.executeQuery(selectSQL);
             while(rs1.next()){
              recordingidDB = rs1.getInt("recording_id");
              directorDB = rs1.getString("director");
              titleDB = rs1.getString("title");
              categoryDB = rs1.getString("category");
              imageDB = rs1.getString("image_name");
              durationDB = rs1.getInt("duration");
              ratingDB = rs1.getString("rating");
              yearDB = rs1.getString("year_released");
              priceDB = rs1.getFloat("price");
              stockDB = rs1.getInt("stock_count");
               item =
               new CatalogItem
                  (recordingidDB, directorDB,titleDB, categoryDB, imageDB, durationDB, ratingDB, yearDB, priceDB, stockDB);
         String title = "Catalog Items";
    out.println(ServletUtilities.headWithTitle(title) +
                    "<BODY BGCOLOR=\"#a00e0e\">\n" +
                  "<center><img src=\"http://localhost:8080/examples/img.jpg\" width=350 height=200/></center>\n" +
                    "<H1 ALIGN=\"CENTER\">" + title + "</H1>\n");
         // loop to go over each item in the array of catalogItem
             for  (int i=0; i < ItemsInCat.length; i++) {
               out.println("__________________________");
               details = item;
         if (details == null) {
    out.println("SORRY THERE HAS BEEN AN ERROR ");
         } else {       
    addedItem[] // needd to store item in array here
         out.println(titleDB + "\n" + priceDB + "\n");
         out.println("</BODY></HTML>");
         public static CatalogItem getItem(int recordingidDB) {
         CatalogItem item;
    for(int i=0; i<itemsInCat.length; i++) {
    item = itemsInCat[i];
    if (recordingidDB.equals(item.getItemID())) {
    return(item);
    return(null);
    // Close the stament and database connection

Maybe you are looking for

  • How do I convert TC sparse bundle to disk image?

    Ok, this question could be cross-listed under a number of threads, so I had to just pick one... A few months ago, the HD in my MB was clearly dying, so I replaced it with a larger, faster drive. All good, until I realized I had been close to maxing o

  • How do you change the name of the Home Folder?

    I would like to change the name of the Home Folder. How do you do this?

  • Fill W_WRKFC_EVT_F

    Hi, I want to fill fact table W_WRKFC_EVT_F. All the dimension tables related to this table and fact staging table W_WRKFC_EVT_FS are filled. When I run the job, i've the following error message in the log file: Error loading row to target table [W_W

  • Error when installing Vodafone mobile Internet

    I have purchase a Toshiba laptop around 2002, Windows XP Home Edition, version 2002, Service Pack 1. I have only used it 3 times during this time. I want t to install Vodafone Mobile internet. However I am having problems. The install Shield Wixzard

  • How do you set up captivate 7 as a default program in windows 7

    having trouble opening .cptx files with Captivate 7. Need to know how to get Captivate to be reconized as the default programs for .cptx files.