Error in connecting the database with context.xml resource
Dear everyone,
i am trying to connect the application with database...
i have a table with employee id, name...
i have given context xml and established connection..
but i am getting error as
* " Element type "Resource" must be followed by either attribute specifications, ">" or "/>"."
* "The context.xml file seems to be broken. Check whether it is well-formed and valid."
anyone please give ur suggestions....
the error that i received now was...
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 34 in the jsp file: /index.jsp
Context cannot be resolved to a type
31: int i=0;
32:
33:
34: Context ctx = new InitialContext();
35: DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/employee");
36:
37: try
An error occurred at line: 34 in the jsp file: /index.jsp
InitialContext cannot be resolved to a type
31: int i=0;
32:
33:
34: Context ctx = new InitialContext();
35: DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/employee");
36:
37: try
An error occurred at line: 35 in the jsp file: /index.jsp
DataSource cannot be resolved to a type
32:
33:
34: Context ctx = new InitialContext();
35: DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/employee");
36:
37: try
38: {
An error occurred at line: 35 in the jsp file: /index.jsp
DataSource cannot be resolved to a type
32:
33:
34: Context ctx = new InitialContext();
35: DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/employee");
36:
37: try
38: {
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
Similar Messages
-
Error while Registering the Database with Catalog..
I m creating recovery catalog in same database, and getting the errors.
1. I have created TOOLS tablespace
2.CREATE USER RMAN2
SQL> CREATE USER rman IDENTIFIED BY cat
2 TEMPORARY TABLESPACE temp
3 DEFAULT TABLESPACE tools
4 QUOTA UNLIMITED ON tools;
CREATE USER rman IDENTIFIED BY cat
ERROR at line 1:
ORA-01920: user name 'RMAN' conflicts with another user or role name
SQL> ed
Wrote file afiedt.buf
1 CREATE USER rman2 IDENTIFIED BY cat
2 TEMPORARY TABLESPACE temp
3 DEFAULT TABLESPACE tools
4* QUOTA UNLIMITED ON tools
SQL> /
User created.
3. GRANT RECOVERY_CATALOG_OWNER
SQL> GRANT RECOVERY_CATALOG_OWNER TO rman2;
Grant succeeded.
4. To create the recovery catalog:
1. Connect to the database that will contain the catalog as the catalog owner.
H:\>rman catalog rman2/cat@rock
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 10:45:52 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to recovery catalog database
2. Run the CREATE CATALOG command to create the catalog.
RMAN> CREATE CATALOG;
recovery catalog created
3. Optionally, start SQL*Plus and query the recovery catalog to see which tables were created:
H:\>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 5 11:53:36 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: rman2/cat
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select count(*) from cat;
COUNT(*)
91
SQL> ed
Wrote file afiedt.buf
1 select owner, table_name, tablespace_name
2 from dba_tables
3* where table_name='DB'
SQL> /
OWNER TABLE_NAME
TABLESPACE_NAME
RMAN2 DB
TOOLS
RMAN DB
ABAMCO_TEST
Next step is to registering the Database in the Recovery Catalog.
Registering a Database in the Recovery Catalog
H:\>rman TARGET / CATALOG rman2/cat@rock
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 11:56:09 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
I m getting above error while registering the Database with Catalog,
Can anybody help me how can I register the Database with Catalog.????
Waiting for Reply!!!!!!!Dear Manoj I can log in at TARGET Database.
H:\>rman
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 12:41:59 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target sys/rock
connected to target database: ROCK (DBID=3255117147)
RMAN>
============================================================
USING CONNECT STRING as you said.
H:\>rman target "sys/rock@rock as sysdba" catalog rman2/cat@rock
Argument Value Description
target quoted-string connect-string for target database
catalog quoted-string connect-string for recovery catalog
nocatalog none if specified, then no recovery catalog
cmdfile quoted-string name of input command file
log quoted-string name of output message log file
trace quoted-string name of output debugging message log file
append none if specified, log is opened in append mode
debug optional-args activate debugging
msgno none show RMAN-nnnn prefix for all messages
send quoted-string send a command to the media manager
pipe string building block for pipe names
timeout integer number of seconds to wait for pipe input
checksyntax none check the command file for syntax errors
Both single and double quotes (' or ") are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00552: syntax error in command line arguments
RMAN-01009: syntax error: found "as": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"
RMAN-01007: at line 0 column 16 file: command line arguments
H:\>rman
It didnt work either.
I have only one database rock, and created recovery catalog in it. I want to register rock database with recovery catalog. -
Error when opening the database with resetlogs
ORA-00603: ORACLE SERVER SESSION TERMINATED BY FATAL ERROR
WHEN I open the database with RESETLOGSWell you definitely need to post more information here.
Looking at what you have posted, all that I can reply is
ORA-00603: ORACLE server session terminated by fatal error
Cause: An ORACLE server session is in an unrecoverable state.
Action: Login to ORACLE again so a new server session will be created -
INS0009: Unable to connect to the database with user SYS
Hi all,
I'm trying to create an OWB repository with OWB repository assistant (10.2.0.2.) on a 10.2.0.1. database (windows XP platform). I get the following error every time I fill in the connect info for the SYS user:
INS0009: Unable to connect to the database with user SYS. java.sql.SQLException: ORA-01017: invalid username/password; logon denied
I can connect to the database (sqlplus sys/<password>@orcl as sysdba) and the OS user is in the ora_dba group. Also checked the database parameters remote_login_passwordfile (= EXCLUSIVE) and O7_DICTIONARY_ACCESSIBILITY=TRUE.
Does anyone know what the problem is? Any help is appreciated.
Regards,
QuintenOk I found the problem myself, I used the wrong sys password :-(. I thought the password I used to logon in sqlplus was right (sqlplus sys/<password>@orcl as sysdba) but the password doesn't matter when you logon as sysdba! So I altered the password for the user sys and now I can continue the steps of the repository assistant.
Quinten -
When connect the Database from Toad , Sqlplus giving the error
when connect the Database from Toad , Sqlplus giving the error
recent changes 12.1.1 installatiojn
Oracle SQL plus encountered a problem and needs to close we are sorry for convenienvce
Oracle Forms Designner has encountered a probloem and needs to close we are sorry for the convenience
Thanks & Regards,
sreewhen connect the Database from Toad , Sqlplus giving the error recent changes 12.1.1 installatiojnHave you tried using the same user via simple sqlplus on the database server or apps tier server itself? Please try the same database user/login on the database server using the sqlplus available on the server itself. See what message do you get. If the the login happens, then try with the tns entry e.g. sqlplus username/password@prod and see if that works on the db server. If both of these conditions work the check where is Toad picking up the tns entry from on the client pc/laptop. If first test fails, then check if the account is locked.
Hope this helps. -
hello all .. i have a big problem in my ipad version 5.1.1 that is when i connect the ipad with my computer the i tunes give me this message ( itunes couldnt connect to this ipad .an unknown error occurred (0xE8000012).) how i can solve this problem please
and this is an pic for the problemThere is some troubleshooting for 0xE8 error codes on this page : http://support.apple.com/kb/TS3221 - you could see if anything on that page fixes it
-
When I try to connect the Air with my iPhone to create an Hotspot, it drops the connection and gives an error message in the iPhone saying that the device (MacBook Air) is not supported. What can i do about it?
The problem has been fixed with the most recent OS X software update.
-
downloaded Reader XI and started to recieve error 40000015, found the fourm with the patch to the registery fix, now it tells me unable to connect to the server. To many bugs with the reader, how do reinstall an older version?
I click on the launcher and nothing happens, 15 min later it will tell cant connect to the server.
My computer is a windows 8.1; 64 bit operating system. I am stationed in South Korea, but that should not affect the program. Help please.
JohnHi johnd83157268,
Sorry for the inconvenience that has caused to you.
Could you please let me know what changes have you made in the registry.
You might need to uninstall Adobe Reader from Control Panel and try install it again from the following link:
Adobe Reader Install for all versions
Please ensure that you are logged in as administrator and anti-virus is disabled as that might interrupt installation.
Try again and then let me know.
Regards,
Anubha -
Is it possible to connect the java with XL database
Hi friends,
Is it possible to connect the java with XL database.
if it is possible can u send the detail for that .
Thnax in Advance..............What the heck is a XL database?
-
How to i get the connect to database with OLAP API 9.2.0.0
hi all,
when i use the OLAP API (9.2.0..0) to connect the database,i gained the message of the following:
java.lang.NoClassDefFoundError: com/sun/java/util/collections/HashMap
void oracle.express.olapi.transaction.ExpressTransactionProvider.<init>() ExpressTransactionProvider.java:40
void mypackage3.APPEX.init()
APPEX.java:51
void sun.applet.AppletPanel.run()
AppletPanel.java:344
void java.lang.Thread.run()
Thread.java:484
JDev=9.0.3
OLAP API=9.2.0.0
Oracle 9i 9.2.0.1
and how can i get the OLAP API 9.2.0.4.1?
anyone can help me !
thanks!!!Hi, yes, there are at least two known ways:
1. if you happen to have a UCCX premium, you can create an HTTP application that serves up the prompt file,
2. you can try to access the prompt file like this: http://<uccxip>:9080/prompts/dirname/promptfilename.wav
G. -
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 -
Cannot connect to database with servlet thru apache http server / vhosts
Hello,
I have an application that works perfectly when Tomcat 5.5 is running stand-alone, but when I run Tomcat and Apache HTTP Server together, I get an error when trying to connect to the database. Servlets are working fine otherwise. Connection pooling is setup and working fine for Tomcat stand-alone. With the Apache server, I'm running Virtual Hosts.
My guess is that I need something in the host block of server.xml about the context.xml where the db resource pool is defined. This is what I have so far in server.xml:
<Host name="www.mydomain.com" debug="0" appBase="d:/WebApps/mydomain"
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="" debug="0"/>
</Host>
Or the problem may be caused by something else entirely. Does anybody have any suggestions? Your help is greatly appreciated.
Thank you,
LoganA little help? Anybody?
I can connect to the database with Tomcat stand-alone, but not with Tomcat integrated with Apache. I have seen this problem described elsewhere, but no solution has been found. -
Error while connecting MYSQL Database
Hi,
I use a 30 days trial of Crystal Reports 2008. When i try to connect with the database i always get the next error: [http://www.visiscan.nl/error.jpg]
The database is 4.1GB large and there is 10GB free space on the database.
Anybody can tell me what to do?Hi Tom,
As I understand the error while connecting to database is
u201CFailed to retrieve data from databaseu201D
There could be some could be multiple reasons for this.
If you are using an ODBC connection then try to check the DSN. Recreate the same and then try.
If the database is oracle check if native client is installed and try to ping from the native client to check if it responds.
When connecting to Oracle, ensure that the Service name is identical to that used in the <ORA_HOME>/network/admin/tnsnames.ora file on the BusinessObjects XI Release 2 server.
For ODBC databases, ensure that the ODBC DSN is exactly the same in the ODBC Manager as on the BusinessObjects XI Release 2 server.
Please let us know if this helps
Regards,
Aditya Joshi -
Can I use the database with as the ses as a regular database?
I write a application base on SES recently, and I need to store some data in the database. Can I use the the database with ses?
I can login using sqlplus login the database using the same pc as the ses installed, but I cannot login using sqldeveloper on other pc.
I set ORACLE_HOME equals SES_HOME
ORACLE_SID as sesI have similar requirement to connect to the database.
I have removed those two lines from sqlnet.ora.
However, when I using tnsping, I got below error
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=SES.us.oracle.com))(ADDRESS=(PROTOCOL=TCP)(HOST=144.25.165.5)(PORT=1521)))
TNS-12541: TNS:no listener
anythings else that I need to do -
To connect oracle database with ms access database
i want to connect oracle database with ms access database
i have follow the following steps
1. create ms access database.
2. create system dsn.
3. make change in listener.ora.
4. make change in hs folder.
5.change the tnsname.ora.
6. lsnrctl stop and lsnrct start.
7. create database link in oracle sql*plus.
8.select the table of ms access
but i have return the foloowing error.
ORA-12154: TNS:could not resolve the connect identifier specified
using window 2000, oracle 10gHave a look on ths thread, may it helps ...
Re: copy access data into oracle with form builder 9i
Maybe you are looking for
-
SAPOSCOL not running in MS Cluster
Hi, gurus: We have a problem with SAPOSCOL in a SAP ECC 6.0 system (SAP ECC 6.0 + NetWeaver 7.00 + Oracle 10.2 + Windows Server 2003 R2 Enterprise x64 Edition) running over a MS cluster: Transactions OS06/ST06 shows no data, and they show an info mes
-
I'm trying to download an epsiode of Dr. Who, but the download is saying it will take 24 hours, and then it stops and says "there was a problem downloading; an unknown error occured (50). How can I fix this? I don't think it's my internet, it's rea
-
How do I install Quicken Delixe 2011 from a CD onto my HP Omni 10?
I just purchased an HP Omni 10 with Windows 8.1 and I want to install my Quicken 2011 Deluxe onto the HP tablet. I have the Quicken Deluxe CD which I have copied onto a thumb drive. Is Quicken 2011 Deluxe (which is installed on my Windows 7 comput
-
Why wont my 5th generation charge?
I have tried different outlets and the laptop. But the ipod just has a empty battery and says to plug in charger. Does anyone know if there is a defect with the ipod or is it the charging cord? Help please
-
How to implement text selection tool
Hello, I need to develop one plug-in. On click of menu, the cursor should change to text selection tool. On selection of text, I need to get coordinates of text. How to do this. Please help me to solve this issue. Thanks, Shilp