Maximum no of connections to database
Hi,
I got one interview question...he asked....
How many maximum no of database connections can be connected to the database at a time???? is there any parameter to set that???
PROCESSES SESSIONS
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,
JelbinStop 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 -
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
Regardshttp://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 -
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 AMI 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 -
Ora-00020 maximum no .of connections exceeded
Hi All,
I tried to connect the production Db is says Maximum number of connections exceeded.
How to overcome this situation.
I stoppped and bounced the Db.
The process paramter in pfile is 50
Is there any to overcome thisc:\sql>oerr ora 00020
00020, 00000, "maximum number of processes (%s) exceeded"
*Cause: All process state objects are in use.
*Action: Increase the value of the PROCESSES initialization parameter.
Increasing the PROCESSES parameter as suggested by the error information would remove the issue.
If the database has been working fine for an extending period of time without this error you should consider finding out what caused the increase so you can set parameter appropriately. Could be an increase in use or an application leaking connections. -
Ora-12154 when trying to connect to database from fortran application
I am trying to connect to database and run an simple select query to a table(without any where clause) using pro*fortran code.
the connect strng is like
exec sql connect :uidpwd
where uidpwd = username/password@SID
SID and tnsnames connect string are the same.
The fortran (profortran) code is placed in the database server and there are no errors when make is run.
Tnsping is working fine, also i am able to conect using sql*plus and run the same query.
Please help
Thanks and Regards
NitinHi Nitin
Thanks for the helpful! With your point I'm now Pro! Great thanks.
By the way have your seen that?
Files such as LISTENER.ORA, TNSNAMES.ORA, SQLNET.ORA, if configured manually, or copied and edited from earlier releases of Oracle Database may have record attributes that are incompatible with Oracle Database 10g release 2. The software cannot read such files. The required record format is stream_lf and the record attributes are carriage_control and carriage_return.
This may result in:
Inability to start the listener
Services not registered with the listener
Inability to connect to other databases
ORA-12154: TNS:could not resolve service name
Run the following command on each file affected:
$ DIR/FULL filename
An output similar to the following may be displayed:
Record format: Variable length, maximum 255 bytes
Record attributes: Carriage return carriage control
If the output includes the preceding entries, then run the following command:
$ CONVERT/FDL=SYS$INPUT filename filename
RECORD
CARRIAGE_CONTROL CARRIAGE_RETURN
FORMAT STREAM_LF
^Z
Otherwise herewith an interesting metalink note. Doc ID: Note:437597.1
Subject: Ora-12154 When Executing Pro*Fortran Code Compiled With Oracle 10g.
Hope this will also help you...
Cheers
Hubert -
Code to connect to database in Webdynpro-- iviews
Hi All-
Could you let me know the code to connect to database
in WebDynPro-->iviews.
Regards,
CrisHi,
Here are the two ways of connecting to a database through coding:
////1////
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
java.sql.Connection conn= java.sql.DriverManager.getConnection("jdbc:microsoft:sqlserver://<IP>:<port>;user=<abc>;password=<xyz>;database=<DB name>");
////2////
InitialContext initialContext = new InitialContext();
DataSource dataSource = (DataSource)initialContext.lookup("jdbc/SRI");
java.sql.Connection conn = dataSource.getConnection();
Regards
Srinivasan T -
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 -
I am not able to connect to database in sql developer.how to do?
I downloaded sqldeveloper 1.5.4.59.40. iam not able to establish connection to database. Can anyone tell me ?
Have you created a database (or have one you connect to)?
Have you created the Net Service connections for SQL Developer to use?
Does SQL Developer have access to this Net Serviice name?
Have you created the connections from SQL Developer?
Can you post an error message?
See
<br>
Oracle Database FAQs
</br> -
Managed Server can not connect to Database
I have a WebLogic cluster with three managed Server on 3 different machines.
ManagedServer_1, ManagedServer_2, ManagedServer_3 (on Machine 3)
Firstly, everything is ok. But when we changed some configuration on Firewall and make the WebLogic cluster could not connect to database. 3 servers change status from Running to Warning. Then, we undo all the changes to the Firewall configuration. 3 Servers could connect to Database again but still in warning state.
It is strange that when I tried to restart ManagedServer_3. That server could not be up normally. It went to Admin state and all the datasources and connection pool could not be created. I tried to restart the machine 3 and start the server but it still failed to make server running normally.
( I made the test connecting to Database from Machine 3, everything is okie, I can got data from database, port 1521 opened )
Has anyone got the same problem and how to fix it? Is that the problem with the admin server?JDBC DataSources/Connection pools are all at Domain Level. All we do is just target the datasources to AdminServer and Entire cluster (this will take care of all managed servers in the cluster). From Weblogic Console, TEST the data sources for any firewall issues. If this works from console, check from where you are accessing the Console like within the Firewall, that can access the database server. Even though the actual application is deployed only on cluster, still I would recommend targetting the datasources to both AdminServer and Cluster.
Ravi Jegga -
Taking too much time (1min) to connect to database
Hi,
I have oracle 10.2 and 10g application server.
Its taking too much time to connect to database through application (on browser). The connection through sqlplus is fine.
Please share your experience.
Regards,
NaseerDear AnaTech,
i am going to ask not related this question which already you answered i am going to ask you about that how to connect forms6i and Developer 10g with OracleAS.
i have installed and working Developer Suite 10g Ver. 10.1.2 and also Form Builder 6i. On my other machine i installed and working Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 and also on the database machine i installed Oracle Enterprise Manager 10g Application Server Control 10.1.2.0.2.
my database conectivity with Developer suite Forms and Reports and also Form6i and Reports6i are working fine. no problem.
now the 1 question of mine is that when i try to run form6i through run from web i got this error. FRM-99999: error 18121 occured see the release not.
this and the main question of mine is this that how can i control my OracleAS 10g with forms because basically the functionality of OracleAS is Mid-Tier but i am not utilizing the Mid-tier i am using here Two-tier Envrionment even i installed 3-Tier Environment so tell me how i utilize it with 3-Tier..
I hope you don't mind that i ask this question here and also if you give me you email then we can discuss this in detail and i can be helpful of your great expertise. i also know and utilize my 3-tier real envrionment.
Waiting for your great response.
Regards,
K.J.J.C -
MySQL Database Connection (two databases at the same time)
I have never had to open more than one MySQL database from within the same website before, but I do now. The website I have is designed where all the content comes from within the main database. I am building an Inventory system that I want within it's own database, in the event I would ever need to move the application to another server or something, I don't want this data residing in the main database.
Currently, I open the database connection from within a file called "common.php" that resides in a directory called "lib" that can be accessed from the root directory. Below is the proposed code that would be placed within the "common.php" file:
// Define Database Variables
$dbserver = "127.0.0.1";
$dbuser = array('clevelan_user1', 'clevelan_user2');
$dbpass = array('P@ssw0rd', 'P@ssw0rd2');
$dbname = array('clevelan_database1', 'clevelan_database2');
// Start Session
session_start();
// Connect to Databases
connectdb($dbserver, $dbuser[0], $dbpass[0], $dbname[0]);
connectdb2($dbserver, $dbuser[1], $dbpass[1], $dbname[1]);
// Database 1 Connection
function connectdb($dbserver, $dbuser, $dbpass, $dbname) {
// connects to db
global $connection;
$connection = @mysql_connect($dbserver, $dbuser, $dbpass) or die ("could not connect to server");
$db = @mysql_select_db($dbname, $connection) or die ("could not select databsase");
return $connection;
// Database 2 Connection
function connectdb2($dbserver, $dbuser, $dbpass, $dbname) {
// connects to db
global $connection2;
$connection2 = @mysql_connect($dbserver, $dbuser, $dbpass) or die ("could not connect to server");
$db2 = @mysql_select_db($dbname, $connection2) or die ("could not select databsase");
return $connection2;
//End of Code Within the "common.php"
From within any page of the website, I want to access both connections by placing an include at the top of each page:
include_once("lib/common.php");
Currently, when I run the code above, any page within the website (the home page) provides error messages with regards to database connectivity (the pages are looking for there content from within the second database. It's as if the second database is the only database seen by the website.
I need help figuring out how I can have two MySQL databases open at the same time (the second database will only be open for short periods of time and then closed). But the main database is always open.Create one project using one copy of the exact tables.
create 2 different sessions.xml files each pointing to the same project. Set the login information in the sessions.xml files.
That should work fine.
Peter -
Enterprise manager is not able to connect to database instance
Hi
I am having a problem with Oracle EM. I would appreciate very much if anyone can help me.
I installed Oracle on XP which runs on virtual pc on XP as well. Everything is fine, I can connect to database with sqlplus, and there were no errors during installation.
But the problem is that, when I try to connect to database with EM, it says:
Enterprise manager is not able to connect to database instance . The state of the components are listed below.
Can anoyone help me?user10637311 wrote:
When you want OEM DB , your existing DB should be created by DBCA or if suppose manually creaed DB then you have to configure that DB to EM by
"emca -config dbcontrol db -repos create". for these two cases istener should be running.
emctl start dbconsole -> to start dbconsole service
emctl status dbconsole-> status of servicesI am sorry, I was looking at $ORACLE_HOME\admin . And in the proper path, both listener.ora and tnsnames.ora do exist.
emca -config dbcontrol db -repos create :
<last part>:
INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\orcl\emca_2010-02-18_02-01-40-AM.log.
Feb 18, 2010 2:02:46 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\or
cl\emca_repos_create_<date>.log for more details.
Feb 18, 2010 2:03:19 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
a_2010-02-18_02-01-40-AM.log for more details.
Could not complete the configuration. Refer to the log file at C:\oracle\product
\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-02-18_02-01-40-AM.log for more deta
ils.
C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\or
cl\emca_repos_create_<date>.log:
Check if repos user already exists.
old 6: WHERE username=UPPER('&EM_REPOS_USER');
new 6: WHERE username=UPPER('SYSMAN');
old 8: IF ( '&EM_CHECK_TYPE' = 'EXISTS') THEN
new 8: IF ( 'NOT_EXISTS' = 'EXISTS') THEN
old 11: raise_application_error(-20000, '&EM_REPOS_USER does not exists..');
new 11: raise_application_error(-20000, 'SYSMAN does not exists..');
old 14: ELSIF ( '&EM_CHECK_TYPE' = 'NOT_EXISTS' ) THEN
new 14: ELSIF ( 'NOT_EXISTS' = 'NOT_EXISTS' ) THEN
old 17: raise_application_error(-20001, '&EM_REPOS_USER already exists..');
new 17: raise_application_error(-20001, 'SYSMAN already exists..');
old 21: raise_application_error(-20002, 'Invalid Check type &EM_CHECK_TYPE');
new 21: raise_application_error(-20002, 'Invalid Check type NOT_EXISTS');
DECLARE
ERROR at line 1:
ORA-20001: SYSMAN already exists..
ORA-06512: at line 17 -
Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
Checks performed:
RMS Application code location and directory contents:
[oracle@test-rms-app application]$ pwd
/binary_files/STAGING_DIR/rms/application
[oracle@test-rms-app application]$ ls -ltr
total 144
-rw-r--r-- 1 oracle oinstall 272 Dec 7 2010 version.properties
-rw-r--r-- 1 oracle oinstall 405 Jan 16 2011 expected-object-counts.properties
-rw-r--r-- 1 oracle oinstall 892 May 13 2011 ant.install.properties.sample
-rw-r--r-- 1 oracle oinstall 64004 Jun 6 2011 build.xml
drwxr-xr-x 9 oracle oinstall 4096 Jun 16 2011 rms13
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 installer-resources
drwxr-xr-x 3 oracle oinstall 4096 Jun 16 2011 antinstall
drwxr-xr-x 2 oracle oinstall 4096 Jun 16 2011 ant-ext
drwxr-xr-x 5 oracle oinstall 4096 Jun 16 2011 ant
-rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
-rwxr-xr-x 1 oracle oinstall 4249 Dec 18 10:01 install.sh
drwxr-xr-x 4 oracle oinstall 4096 Dec 18 10:06 common
-rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
-rw-r--r-- 1 oracle oinstall 689 Dec 19 10:37 ant.install.log
[oracle@test-rms-app application]$
Application installation:
[oracle@test-rms-app application]$ ./install.sh
THIS IS the driver directory
Verified $ORACLE_SID.
Verified SQL*Plus exists.
Verified write permissions.
Verified formsweb.cfg read permissions.
Verified Registry.dat read permissions.
Verified Java version 1.4.2.x or greater. Java version - 1.6.0
Verified Tk2Motif.rgb settings.
Verified frmcmp_batch.sh status.
WARNING: Oracle Enterprise Linux not detected. Some components may not install properly.
Verified $DISPLAY - 172.16.129.82:0.0.
This installer will ask for your "My Oracle Support" credentials.
Preparing installer. This may take a few moments.
Your internet connection type is: NONE
Integrating My Oracle Support into the product installer workflow...
[move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
Installer preparation complete.
MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
WLS_INSTANCE=WLS_FORMS
ORACLE_SID=rmsdbtst
JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
Launching installer...
To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
[oracle@test-rms-app application]$ tnsping rmsdbtst
TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
Copyright (c) 1997, 2008, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
OK (0 msec)
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ ping test-rms-db
PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
--- test-rms-db.vonmaur.vmc ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ uname -a
Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@test-rms-app application]$
[oracle@test-rms-app application]$ cat /etc/*-release
Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle@test-rms-app application]$
The database is created and all the batch file scripts have been successfully deployed. Now working on the application server. The Weblogic server is installed and 11g forms and reports are installed successfully.
Any help would be helpful.
Thanks,
Ram.Please check MOS Notes:
FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1)
Maybe you are looking for
-
I got the student and teacher edition 12 month subscription, paying the subscription monthly in November 2014. I downloaded the CC app, then photoshop and then lightroom. It worked really well for a couple of months. I last used it in January. Then t
-
Uploaded three cds. None of the songs will synch to my iPhone 5.
Titles are grayed out. Ready to chuck the whole thing out the window.
-
User experience improve for MS word/ppt file
Hi, When I open MS word or ppt file, the applet looks refresh the content page by page, the user experience is not so fluent, is there any method to change this mode?
-
Why does the program keep signing me out
The program does not let me sign in. It will work for a second, freeze, then displays "You've been signed out". Please help as I would like to use this program.
-
I would like to update the version of my ipad from ios 4.3.3 to a 5.0 or higher, but under my ger nerel settings it does not say update software. So I would like to know how else I can do this.