Error java.sql.exception when setting up repository for OWB 11g
Hey all,
I am encountering the following error on the last step of Repository Assistant, that is, while trying to set up the design repository in OWB 11g:
"The Warehouse Builder workspace installation failed
java.sql.SQLException : ORA-00942 table or view does not exist"
Below is an excerpt from the the log file:
main.TaskScheduler timer[5]20080620@14:51:54.054: 00> oracle.wh.service.impl.assistant.ProcessEngine.processSQLUserToken(ProcessEngine.java:1106)+> at java.lang.Thread.run(Thread.java:595)
main.TaskScheduler timer[5]20080620@14:51:54.054: 00> oracle.wh.service.impl.assistant.ProcessEngine.display(ProcessEngine.java:1572): Exception = java.sql.SQLException: ORA-00942: table or view does not exist
main.TaskScheduler timer[5]20080620@14:51:54.054: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition.display(AssistantWizardDefinition.java:788): [executeOwbReposOrRuntime]: Error occurred during Workspace Installation. Exception =java.lang.Exception: java.sql.SQLException: ORA-00942: table or view does not exist
main.AWT-EventQueue-0[6]20080620@14:51:54.054: 00> oracle.wh.ui.jcommon.WhButton@a22671: WhButton setLabel rtsString = OK
main.AWT-EventQueue-0[6]20080620@14:58:17.017: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition.display(AssistantWizardDefinition.java:788): before open 'UnSuccessDialog'
main.AWT-EventQueue-0[6]20080620@14:58:17.017: 00> oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition.display(AssistantWizardDefinition.java:788): Open UnSuccessDialog ...
main.AWT-EventQueue-0[6]20080620@14:58:17.017: 00> oracle.wh.ui.jcommon.WhButton@a22671: WhButton setLabel rtsString = OK
I am new to OWB so please let me know if I've left out any information that would help in figuring out why the installation is not completing.
Thanks.
The only thing I can think of in OWB 11g is that the main schema that is used, which is OWBSYS, wasn't fully installed or it doesn't have all the tables or views it needs or they weren't created properly with the cat_owb.sal script.
Something must not have been created right. I would try to stop all OWB services with the appropriate scripts in:
<your_owb_home>owb\rtp\sql
try the stop_service.sql script.
Then try to drop the users owbsys and whatever you might have created (if it exists) for a workspace owner user. Then clean up with:
<your_owb_home>\owb\UnifiedRepos\clean_owbsys.sql
After that it is back to the drawing board from the beginning. DO these steps again that you likely did in the first place:
1. create owbsys with:
<your_owb_home>\owb\UnifiedRepos\cat_owb.sql <tablespace_name>
2. Set the control center home with:
<your_owb_home>\owb\UnifiedRepos\reset_owbcc_home.sql <your_owb_home>
*pay attention to the case of the the OWB HOME you give as a variable to the above script. It needs to match the case of your real path.
3. Finally unlock owbsys.
4. look at <your_owb_home>\owb\bin\admin\ if the rtrepos.properties file size is at '0'. If it is for some reason, rename it to something else right now.
5. Then try to run the repository assistant again.
-Greg
Similar Messages
-
Oracle error: java.sql.sqlrecoverableException: Closed Connection
need help on this closed connection
getting oracle error: java.sql.sqlrecoverableException: Closed Connection when running a java application using tomcat api to oracle 11g database EE 11.2.0.3.0 on windows 2008 R2
The process is reading data from an Oracle database using user_sdo_geom_metadata , memory allocated to DB is 5GB, java pool size 1G allocated , below is the code which gets data from Oracle
<NamedDataSourceDefinition:NamedDataSourceDefinition xmlns:NamedDataSourceDefinition="http://www.mapinfo.com/mxp" xmlns="http://www.mapinfo.com/mxp" xmlns:gml="http://www.opengis.net/gml"xmlns:ns2="http://www.mapinfo.com/midev/service/common/v1" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://www.mapinfo.com/midev/service/namedresource/v1"version="MXP_WorkSpace_1_5">
<ConnectionSet/>
<DataSourceDefinitionSet>
<DBDataSourceDefinition id="TXLANDMARKS">
<DataSourceName>txlandmarks</DataSourceName>
<ConnectionMember>
<InlineDBConnection dbType="oracle">
<JDBCDriverParameters>
<JDBCUrl>jdbc:oracle:thin:@NOIORAENT2K8-64:1521:FMETEST</JDBCUrl>
<DriverPropertySet>
<Property name="user" value="NOIDADATADEV"/>
<Property name="password" value="mndata"/>
</DriverPropertySet>
</JDBCDriverParameters>
</InlineDBConnection>
</ConnectionMember>
<DBTable owner="NOIDADATADEV" useQuotes="true">TXLANDMARKS</DBTable>
</DBDataSourceDefinition>
</DataSourceDefinitionSet>
<DataSourceRef ref="TXLANDMARKS"/>
</NamedDataSourceDefinition:NamedDataSourceDefinition>
Both the machines can ping to each other successfully, no firewall exists between them, these are connection setting been used in pooling-datasource-factory.properties
poolingDataSourceFactoryClass=com.mapinfo.midev.dbms.jdbc.TomcatDataSourceFactory
# what follows are properties specific to com.mapinfo.midev.dbms.jdbc.TomcatDataSourceFactory
# defaultAutoCommit - the default auto commit state of the connection. if
# not set the assumes the driver default
# defaultAutoCommit =
# (int) The maximum number of active connections that can be allocated from # this pool at the same time. The default value is 20
maxActive = 10
# (int) The maximum number of connections that should be kept in the pool at # all times. Default value is maxActive. Idle connections are checked # periodically (if enabled) and connections that been idle for longer than
# minEvictableIdleTimeMillis will be released.
maxIdle = 10
# (int) The minimum number of established connections that should be kept in the pool at all times. The connection pool can shrink below this number if # validation queries fail. Default value is 10
minIdle = 5
# (int)The initial number of connections that are created when the pool is # started. Default value is 10
initialSize = 5
# (int) The maximum number of milliseconds that the pool will wait (when # there are no available connections) for a connection to be returned before # throwing an exception. Default value is 30000 (30 seconds)
# maxWaitMillis = 30000
# (int) The number of milliseconds to sleep between runs of the idle # connection validation/cleaner thread. This value should not be set under 1
# second. It dictates how often we check for idle, abandoned connections,
# and how often we validate idle connections. The default value is 5000
# (5 seconds).
# timeBetweenEvictionRunsMillis = 5000
# (int) The minimum amount of time an object may sit idle in the pool before
# it is eligible for eviction. The default value is 60000 (60 seconds).
# minEvictableIdleTimeMillis = 60000
# (boolean) Flag to remove abandoned connections if they exceed the
# removeAbandonedTimout. If set to true a connection is considered abandoned
# and eligible for removal if it has been in use longer than the
# removeAbandonedTimeout Setting this to true can recover db connections
# from applications that fail to close a connection. See also
# logAbandoned The default value is false.
# removeAbandoned = false
# (int) Timeout in seconds before an abandoned(in use) connection can be
# removed. The default value is 60 (60 seconds). The value should be set to
# the longest running query your applications might have.
# removeAbandonedTimeout = 60
# (boolean) Flag to log stack traces for application code which abandoned a
# Connection. Logging of abandoned Connections adds overhead for every
# Connection borrow because a stack trace has to be generated. The default
# value is false.
# logAbandoned = false
# (long) Time in milliseconds to keep this connection. When a connection is
# returned to the pool, the pool will check to see if the now
# - time-when-connected > maxAge has been reached, and if so, it closes the
# connection rather than returning it to the pool. The default value is 0,
# which implies that connections will be left open and no age check will be
# done upon returning the connection to the pool.
# maxAgeMillis = 0Hi,
I understand that you have raised a SR for this issue which is being worked upon by our team.
Additionally, please note that the "Closed connection" error typically happens because a timeout parameter of some sort timed out the connection. This could be a parameter specified in your datasource, in your application code, or network (such as a firewall).
You may also want to -
1. check your database to be sure it is not timing out connections.
2. Make sure your network is running efficiently and that it can provide fast connections,
3. Check your Java Virtual Machine (JVM) Code Cache For Oracle Enterprise Data Quality for any memory related issues
Thanks,
Shwet -
I am having a problem inserting/updateing date field of MS Access database with JDBC. I have tried several solutions. Serveral Field formats in the db and several methods with java. I will post my most recent attempt. I can read from the database I just can't write the date to the db, though I can write to any other field with a different datatype.
Please don't bash me for using MS Access, it is my only option.
Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Error in row
if (rs != null){
while ( rs.next() ) {
Date tDate;
//Timestamp tDate;
//String tDate;
tDate = rs.getDate("Week");
//tDate = rs.getTimestamp("Week");
//tDate = rs.getString("Week");
java.sql.Date sqlDate = new java.sql.Date( Date.getTime() );
//java.sql.Timestamp sqlDate = new java.sql.Timestamp( tDate.getTime()
System.out.println("Date: " + tDate );
//System.out.println("Date: " + sqlDate );
//System.out.println("Date: " + rs.getDate ("Date") );
// 2004-03-24 00:00:00.0 this is Timestamp output
Cpu.moveToInsertRow();
Cpu.updateDate("Date_Col",sqlDate );
//Cpu.updateDate("Date_Col",tDate );
//Cpu.updateTimestamp("Date_Col", sqlDate);
Cpu.insertRow();
Error: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Error in row
Please help..........I can insert a new row and add all the fields (includeing date (as string)), but I have to use SQL statements. I cannot get the result set functions to work.
I can retieve a rs just fine and print all the contents of the rs.
My problem is with rs.updateRow();
my code is below,
public class Cpu_Load_Total_Cpu{
public static void main(String[] args){
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String filename = "C:/dev/SHC/Cpu_Java/CFS_Health.mdb";
String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
database+= filename.trim() + ";DriverID=22;READONLY=false}";
Connection con = DriverManager.getConnection( database ,"","");
Statement stmt = con.createStatement(
ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_UPDATABLE);
ResultSet Cpu = stmt.executeQuery("SELECT * FROM Cpu");
if (Cpu != null){
while ( Cpu.next() ) {
int tUsr, tSys, tWio, tIdle, tTotal_Cpu;
tUsr = Cpu.getInt("Usr");
tSys = Cpu.getInt("Sys");
tWio = Cpu.getInt("Wio");
tIdle = 100 - (tSys + tUsr + tWio);
tTotal_Cpu = tSys + tUsr + tWio;
Cpu.updateLong(8, tTotal_Cpu);
//or Cpu.updateLong("Total_Cpu", tTotal_Cpu);
// I get the same error as the post above
// when I include the Cpu.updateRow(); call
Cpu.updateRow();
// when excluded everything else runs fine, but
// the db is not updated
// as stated, everything prints to the screen or pipe when
// updateRow is excluded
System.out.println("Usr: " + tUsr );
System.out.println("Sys: " + tSys );
System.out.println("Wio: " + tWio);
System.out.println("Total_Cpu: " + tTotal_Cpu);
con.commit();
stmt.close();
con.close();
catch (Exception e) {
System.out.println("Error: " + e);
} -
Java.sql.SQLException: Result set already closed
Hi,
Our application is getting migrated to weblogic 10.3.5 and java 1.6.
We use Ibatis(2.3.0.677.jar) in our application, when i am running my application, I get below exception in weblogic 10.3.5 with TransactionManager as JNDI.
NOTE: This applicaiton runs very well in weblogic 9.2. And I have even tried locally using the JUnit with transactionManager as SIMPLE which works well too.
BFSCITWA170546|CSI_APP_ID_NA|ERROR |0|2011-09-06 18:02:16,464|[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'|AbstractMessageConsumerMdb.java|:- [System] Failed processing message - rolling back
com.citi.eztop.ezengine.refactoring.common.exception.MessageProcessingException: DAOException received
at com.citi.eztop.ezengine.refactoring.workpublishing.mdb.WorkPublisherQueueConsumerMDB.handleTextMessage(WorkPublisherQueueConsumerMDB.java:87)
at com.citi.eztop.ezengine.refactoring.common.mdb.AbstractMessageConsumerMdb.onMessage(AbstractMessageConsumerMdb.java:163)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:574)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
at weblogic.ejb.container.internal.NewJMSMessagePoller.processOneMessage(NewJMSMessagePoller.java:282)
at weblogic.ejb.container.internal.NewJMSMessagePoller.run(NewJMSMessagePoller.java:120)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: com.citi.eztop.ezengine.refactoring.common.exception.DAOException: Failed to queryForObject [WorkItem.getWorkItemById]
at com.citi.eztop.ezengine.refactoring.common.persistence.sqlmapdao.BaseSqlMapDao.queryForObject(BaseSqlMapDao.java:60)
at com.citi.eztop.ezengine.refactoring.common.persistence.sqlmapdao.WorkItemSqlMapDao.getWorkItemById(WorkItemSqlMapDao.java:15)
at com.citi.eztop.ezengine.refactoring.workpublishing.businesslayer.WorkPublisher.process(WorkPublisher.java:73)
at com.citi.eztop.ezengine.refactoring.workpublishing.mdb.WorkPublisherQueueConsumerMDB.handleTextMessage(WorkPublisherQueueConsumerMDB.java:83)
... 8 more
Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in com/citi/eztop/ezengine/refactoring/common/persistence/sqlmapdao/sql/WorkItem.xml.
--- The error occurred while applying a result map.
--- Check the WorkItem.workItemResultMap.
--- The error happened while setting a property on the result object.
--- Cause: java.sql.SQLException: Result set already closed
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:185)
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject(GeneralStatement.java:104)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:566)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:541)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:106)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:83)
at com.citi.eztop.ezengine.refactoring.common.persistence.sqlmapdao.BaseSqlMapDao.queryForObject(BaseSqlMapDao.java:56)
... 11 more
Caused by: java.sql.SQLException: Result set already closed
at weblogic.jdbc.wrapper.ResultSet.checkResultSet(ResultSet.java:144)
at weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:97)
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.next(Unknown Source)
at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.ibatis.common.jdbc.logging.ResultSetLogProxy.invoke(ResultSetLogProxy.java:47)
at $Proxy78.next(Unknown Source)
at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleResults(SqlExecutor.java:380)
at com.ibatis.sqlmap.engine.execution.SqlExecutor.handleMultipleResults(SqlExecutor.java:301)
at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:190)
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.sqlExecuteQuery(GeneralStatement.java:205)
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:173)
... 17 more
Please help me to resolve this issue, as I am stuck with this.Hi Joe,
Thanks alot for your reply, but the same code is working in weblogic 9.2 and it is in production as well.
I have even replicated the settings of 9.2 to 10.3, but still was not able to fnd out the issue.
Anyways will file an SR and provide it for you.
Thanks,
Addhankkiv -
Hi All,
I face the following error message in the web browser when I try to run a simple page from JDeveloper:
500 Internal Server Error java.io.IOException
The message is the same when I run the Hello World test from the Tutorials project.
Here is the error stack:
500 Internal Server Error
java.io.IOException
at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:559)
at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:334)
at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:237)
at _OAErrorPage._jspService(_OAErrorPage.java:337)
[/OAErrorPage.jsp]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:816)
at _OA._jspService(_OA.java:130)
[/OA.jsp]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:662)
This is JDeveloper 10.1.3.5.0 from patch p19170592_R12_GENERIC.zip
The OAF release is 12.2.4
JDEV_USER_HOME is set to C:\Olivier\R12\jdev1224\jdevhome\jdev
The .dbc file looks fine.
I connect successfully to database.
I tried to reinstall JDeveloper.
I performed many searches on MOS, OTN, Google, etc...
I tried to change the Startup Settings (Host Name, IP Address settings) of the Embedded OC4J Server Preferences.
I am stuck.
Any ideas?
Thanks,
OlivierHi Peddi,
Thanks for your reply.
I checked again the .dbc file.
I downloaded again the file from $INST_TOP/appl/fnd/12.0.0/secure to <JDEV_USER_HOME>\dbc_files\secure
This file worked fine for JDeveloper for 12.2.3.
I went again through "Oracle Application Framework Developer's Guide Release 12.2.4 July 2014" but could not find any part related to .dbc file having changed from previous release.
I tried to comment out the parameter APPS_JDBC_URL in .dbc as per MOS note "Troubleshooting JDeveloper setup for Oracle Applications (Doc ID 357218.1)"
But I still face the issue.
According to the note "Configuring JDeveloper For Use With Oracle Applications 11i and R12 (Doc ID 330236.1)", I have added the following debug parameters in the project properties:
-Djbo.debugoutput=console -Djbo.logging.trace.threshold=9 -Djbo.jdbc.driver.verbose=true -Djbo.jdbc.trace=true
It generated the following OC4J server detailed log showing more error messages (in red below):
[extract]
15/02/04 17:13:56 [553] Successfully logged in
15/02/04 17:13:56 [554] JDBCDriverVersion: 11.2.0.2.0
15/02/04 17:13:56 [555] DatabaseProductName: Oracle
15/02/04 17:13:56 [556] DatabaseProductVersion: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
15/02/04 17:13:56 [557] Root application module, oracle.apps.fnd.framework.toolbox.tutorial.server.HelloWorldAM, was created at 2015-02-04 17:13:56.283
15/02/04 17:13:56 [558] setConnectionReleaseLevel - Set connection release level to 0
15/02/04 17:13:56 [559]
<ICX_SessionValues_Diagnostics - ICX Cookie = 4tzlN3OR7BSoTLXf4grnQylQ4l>: WebRequestUtil.validateContext is called.
15/02/04 17:13:56 [560] SQLState(42000) vendor code(2248)
15/02/04 17:13:56 [561] java.sql.SQLSyntaxErrorException: ORA-02248: invalid option for ALTER SESSION
ORA-06512: at "SYS.DBMS_SESSION", line 164
ORA-06512: at line 6
15/02/04 17:13:56 [562] at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:94)
15/02/04 17:13:56 [563] at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:147)
15/02/04 17:13:56 [564] at oracle.jdbc.driver.DatabaseError.createSqlException(DatabaseError.java:206)
15/02/04 17:13:56 [565] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:456)
15/02/04 17:13:56 [566] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
15/02/04 17:13:56 [567] at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
15/02/04 17:13:56 [568] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
15/02/04 17:13:56 [569] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
15/02/04 17:13:56 [570] at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
15/02/04 17:13:56 [571] at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
15/02/04 17:13:56 [572] at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1075)
15/02/04 17:13:56 [573] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
15/02/04 17:13:56 [574] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
15/02/04 17:13:56 [575] at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
15/02/04 17:13:56 [576] at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:9259)
15/02/04 17:13:56 [577] at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
15/02/04 17:13:56 [578] at oracle.apps.fnd.sso.SessionMgr.loadInstalledLanguages(SessionMgr.java:4119)
15/02/04 17:13:56 [579] at oracle.apps.fnd.sso.SessionMgr.getInstalledLanguages(SessionMgr.java:3872)
15/02/04 17:13:56 [580] at oracle.apps.fnd.sso.Utils.getBaseInstalledLangCode(Utils.java:1491)
15/02/04 17:13:56 [581] at oracle.apps.fnd.sso.Authenticator.<clinit>(Authenticator.java:45)
15/02/04 17:13:56 [582] at oracle.apps.fnd.sso.Utils.<clinit>(Utils.java:675)
15/02/04 17:13:56 [583] at oracle.apps.fnd.sso.SSOManager.canUpgradeToUserSession(SSOManager.java:3000)
15/02/04 17:13:56 [584] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15/02/04 17:13:56 [585] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
15/02/04 17:13:56 [586] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
15/02/04 17:13:56 [587] at java.lang.reflect.Method.invoke(Method.java:597)
15/02/04 17:13:56 [588] at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:557)
15/02/04 17:13:56 [589] at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:369)
15/02/04 17:13:56 [590] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
15/02/04 17:13:56 [591] at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
15/02/04 17:13:56 [592] at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
15/02/04 17:13:56 [593] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
15/02/04 17:13:56 [594] at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
15/02/04 17:13:56 [595] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
15/02/04 17:13:56 [596] at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
15/02/04 17:13:56 [597] at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
15/02/04 17:13:56 [598] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
15/02/04 17:13:56 [599] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
15/02/04 17:13:56 [600] at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
15/02/04 17:13:56 [601] at _OA._jspService(_OA.java:72)
15/02/04 17:13:56 [602] at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
15/02/04 17:13:56 [603] at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
15/02/04 17:13:56 [604] at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
15/02/04 17:13:56 [605] at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
15/02/04 17:13:56 [606] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
15/02/04 17:13:56 [607] at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
15/02/04 17:13:56 [608] at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
15/02/04 17:13:56 [609] at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
15/02/04 17:13:56 [610] at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
15/02/04 17:13:56 [611] at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
15/02/04 17:13:56 [612] at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
15/02/04 17:13:56 [613] at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
15/02/04 17:13:56 [614] at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
15/02/04 17:13:56 [615] at _OA._jspService(_OA.java:81)
15/02/04 17:13:56 [616] at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
15/02/04 17:13:56 [617] at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
15/02/04 17:13:56 [618] at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
15/02/04 17:13:56 [619] at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
15/02/04 17:13:56 [620] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
15/02/04 17:13:56 [621] at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
15/02/04 17:13:56 [622] at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
15/02/04 17:13:56 [623] at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
15/02/04 17:13:56 [624] at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
15/02/04 17:13:56 [625] at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
15/02/04 17:13:56 [626] at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
15/02/04 17:13:56 [627] at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
15/02/04 17:13:56 [628] at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
15/02/04 17:13:56 [629] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
15/02/04 17:13:56 [630] at java.lang.Thread.run(Thread.java:662)
15/02/04 17:13:56 [631] Could not load application module 'oracle.apps.fnd.framework.toolbox.tutorial.server.HelloWorldAM'.
15/02/04 17:13:56 [632] oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.io.IOException;
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at _OA._jspService(_OA.java:72)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at _OA._jspService(_OA.java:81)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:662)
## Detail 0 ##
java.io.IOException
at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:559)
at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:369)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.validateIcxCookie(Unknown Source)
at oracle.apps.fnd.framework.OASessionCookieHelper.validateIcxSession(Unknown Source)
at oracle.apps.fnd.framework.OASessionCookieHelper.initializeApplicationModule(Unknown Source)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.initializeApplicationModule(Unknown Source)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(Unknown Source)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at _OA._jspService(_OA.java:72)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at _OA._jspService(_OA.java:81)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:662)
15/02/04 17:13:56 [633] In OADBTransactionImpl.rollback()
15/02/04 17:13:56 [634] conn.rollback(); // JBO-JDBC-INTERACT
15/02/04 17:13:56 [635] Resetting AM=HelloWorldAM
15/02/04 17:13:56 [636] OAApplicationPoolImpl.setConnectionReleaseLevel was called with isReleased = true, isReserved = false
15/02/04 17:13:56 [637] setConnectionReleaseLevel - Set connection release level to 2
Regards,
Olivier -
in a servlet, I have a class like:
class mydb
public static Connection conn;
public static void init() throws SQLException
// Load the Oracle JDBC driver
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
conn = DriverManager.getConnection ("jdbc:oracle:oci8:@baby", "scott", "tiger");
public static String getValue() throws SQLException
String curValue="";
// Create a Statement
Statement stmt = conn.createStatement ();
// Select the ENAME column from the EMP table
ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
// Iterate through the result and print the employee names
if (rset.next ())
curValue = rset.getString (1);
// Close the RseultSet
rset.close();
// Close the Statement
stmt.close();
return(curValue);
public static void destroy() throws SQLException
// Close the connection
conn.close();
but when it is called, errors "java.sql.SQLException; must be caught or declared to be thrown." encountered, how to solve this problem? please help.This is part of the Java language.
If a method throws an exception, then
it is telling you that the exception is
something that you should be aware of.
If you call a method which throws this exception, then the method must either catch this exception, or you may decide that this exception should be caught by the calling method.
So, your choices are:
1. Wrap the method call in a try{...} catch block
-or-
2. Change the (calling) method's signature to reflect the fact that this method can cause this exception to be thrown (add a 'throws SQLException' ) at end of signature.
-John
null -
ODI Agent error: java.sql.SQLException: Invalid column name
When running a scenairo on a standalone ODI agent, it hangs on "Wait" state. The ODI agent's log is logging the following errors over and over again.
We are in Fusion Application Development and are using Middleware D8B4A RC5.
[2011-01-07T14:35:16.381-08:00] [odi] [WARNING] [] [oracle.odi.agent] [tid: 4215] [ecid: 0000IpYbCrKE8TQRyaJ7D01D8^zE00009o,0] /oraclediagent/invoke.do[[
oracle.odi.core.security.SecurityManager.doODIInternalAuthentication(SecurityManager.java:356)
oracle.odi.core.security.SecurityManager.createAuthentication(SecurityManager.java:331)
oracle.odi.runtime.agent.servlet.AgentServlet.doPost(AgentServlet.java:418)
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:503)
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
org.mortbay.jetty.Server.handle(Server.java:326)
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:749)
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:219)
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
[2011-01-07T14:35:18.341-08:00] [] [ERROR] [ODI-1131] [] [tid: 4214] [ecid: 0000IpYaiZCE8TQRyaJ7D01D8^zE00009n,0] [arg: OracleDiAgent] [arg: java.sql.SQLException: Invalid column name] Agent OracleDiAgent encountered an error: java.sql.SQLException: Invalid column nameAre you sure the datasources point to the right master/work configuration, and that your repository is correctly up-to-date? This looks like the agent trying to connect a repository, but the repository is not updated correctly, or misses some columns. The whole stack (and the name of the missing column) would help of course.
-
OEM 10.2.0.3 Error" java.lang.Exception
Hello,
Does anyone have an idea of why I would receive error "java.lang.Exception: IOException in sending Request :: Connection refused" when I log into OEM Database Control???
Thanks,
DanielThank you Chris... What exactly am I looking for here... I am new to the database that I am supporting and after reviewing the log files, the error began back in 2007-11-30. "IOExecption in sending request :: Connection refused". Also, I see error "Click Patching Setup to set required parameters".
Thanks! -
Error java.lang.Exception: IOException in sending Request :: No rou
hi
Error
java.lang.Exception: IOException in sending Request :: No route to host: connect
this error occur when i open the EM every time,
all my dba_users accounts are unlocked
& when i tried to get the monitoring configuration the no item found dislplays
what i have to so now any point
thanksuser8664817 wrote:
10.2.0.3.0 on win2008(VMWARE) also i have number of invalid objects under different schemas on first installation
wndows firewall is off.Chances are the "invalid objects" are a diversion ... utlrp.sql and move along.
No route to host seems to point to network. Ping? TNSPing? DHCP? Route? -
Error "java.sql.SQLRecoverableException: No more data to read from socket"
Hi,
We are getting the error "java.sql.SQLRecoverableException: No more data to read from socket" while we do a check print for our Disaster Recovery (DR) server. It was working fine in the production. There is no issue with the connectivity or printer as we are able to print to the printer.
Any input on this would be highly appreciated.
Thanks in Advance.Please post the details of the application release, database version and OS.
We are getting the error "java.sql.SQLRecoverableException: No more data to read from socket" while we do a check print for our Disaster Recovery (DR) server. It was working fine in the production. There is no issue with the connectivity or printer as we are able to print to the printer.Please see these docs.
Oracle Applications 12.1.3 Upgrade Patch 9239090 Failed While Invoking Utility Wfxload - java.sql.SQLRecoverableException: No more data to read from socket [ID 1193744.1]
Error While Creating PO From Sourcing: Java.Sql.SQLRecoverableException: No More Data To Read From Socket [ID 1356792.1]
Adgendbc Fails With Database Connection Failure [ID 1302708.1]
Getting Exception Error While Approving Objectives From Manager Self Service [ID 1331535.1]
"No more data to read from socket" Exception when Running Create Settlement Batches [ID 1437170.1]
Thanks,
Hussein -
"java.sql.SQLException: Result set already closed" on weblogic 9.1
Hello together,
i'm using hibernate 3.2.5ga on weblogic 9.1 through a data source with JTA defined to access oracle 10 with the Oracle's Thin XA Driver. Sporadically i get this:
Caused by: java.sql.SQLException: Result set already closed
at weblogic.jdbc.wrapper.ResultSet.checkResultSet(ResultSet.java:102)
at weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:58)
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.getInt(Unknown Source)
at org.hibernate.type.IntegerType.get(IntegerType.java:28)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:163)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:154)
at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81)
at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2096)
at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1380)
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1308)
at org.hibernate.loader.Loader.getRow(Loader.java:1206)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580)
at org.hibernate.loader.Loader.doQuery(Loader.java:701)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
This exception is thrown when i try to execute a named query for retrieving some data.
Does anybody know what is wrong?
Edited by eazy_rida at 12/17/2007 8:32 AMHi Joe
Here is the full stack trace:
org.springframework.orm.hibernate3.HibernateSystemException: Exception occurred inside setter of uk.co.cpp.ptarmigan.domain.npp.NppCoveredParty.assets; nested exception is org.hibernate.PropertyAccessException: Exception occurred inside setter of uk.co.cpp.ptarmigan.domain.npp.NppCoveredParty.assets
at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:661)
at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:379)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:872)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:868)
at uk.co.cpp.ptarmigan.business.dao.hibernate.HibernateNppPolicyDAOImpl.findPolicyByPolicyNumber(HibernateNppPolicyDAOImpl.java:109)
at uk.co.cpp.testptarmigan.PartyServiceTest.testFetchPhoneAngelUser(PartyServiceTest.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:76)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Caused by: org.hibernate.PropertyAccessException: Exception occurred inside setter of uk.co.cpp.ptarmigan.domain.npp.NppCoveredParty.assets
at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:65)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:337)
at org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:200)
at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3571)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:133)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
at org.hibernate.loader.Loader.doQuery(Loader.java:729)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.loadCollection(Loader.java:1994)
at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36)
at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565)
at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:63)
at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716)
at org.hibernate.collection.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:454)
at org.hibernate.engine.StatefulPersistenceContext.initializeNonLazyCollections(StatefulPersistenceContext.java:844)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:241)
at org.hibernate.loader.Loader.doList(Loader.java:2213)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:912)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.springframework.orm.hibernate3.HibernateTemplate$30.doInHibernate(HibernateTemplate.java:881)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:374)
... 28 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:42)
... 52 more
Caused by: org.hibernate.exception.GenericJDBCException: could not initialize a collection: [uk.co.cpp.ptarmigan.domain.npp.NppCoveredParty.assets#component[partyId,policyId]{partyId=77951, policyId=78632}]
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.loadCollection(Loader.java:2001)
at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36)
at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565)
at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:63)
at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716)
at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344)
at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
at org.hibernate.collection.PersistentBag.toArray(PersistentBag.java:257)
at java.util.Collections.sort(Collections.java:158)
at uk.co.cpp.ptarmigan.domain.npp.NppCoveredParty.setAssets(NppCoveredParty.java:54)
... 57 more
Caused by: java.sql.SQLException: Result set already closed
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:137)
at weblogic.jdbc.rmi.internal.ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_oracle_jdbc_driver_OracleResultSetImpl_922_WLStub.next(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetStub_weblogic_jdbc_rmi_internal_ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_oracle_jdbc_driver_OracleResultSetImpl_922_WLStub.next(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetStraightReader.next(ResultSetStraightReader.java:27)
at weblogic.jdbc.rmi.SerialResultSet.next(SerialResultSet.java:84)
at org.hibernate.loader.Loader.doQuery(Loader.java:697)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.loadCollection(Loader.java:1994)
... 66 more
Caused by: java.sql.SQLException: Result set already closed
at weblogic.jdbc.wrapper.ResultSet.checkResultSet(ResultSet.java:102)
at weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:58)
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.next(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_oracle_jdbc_driver_OracleResultSetImpl.next(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_oracle_jdbc_driver_OracleResultSetImpl_WLSkel.internalInvoke1(Unknown Source)
at weblogic.jdbc.rmi.internal.ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_oracle_jdbc_driver_OracleResultSetImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:550)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:440)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:436)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:58)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:975)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
We are using using a connection within a client application (in our case we are executing this from a jUnit Integration test) so could this be caused by the handling of these remote connections? -
Keytool error: java.lang.Exception: Keystore file does not exist:
Hi All,
While listing the keystore using the command keytool -list, I got the error message that
keytool error: java.lang.Exception: Keystore file does not exist: C:\Documents and Settings\subramanian.arivalag\.keystore
I noticed there is no file .keystore in the above mentioned directory. What's this .keystore file? Will it be created automatically or should we create manually?
Already I created a keystore using -genkey command and received CA authority also.
Kindly provide me more details about .keystore file and how to handle this error.If you specified a keystore filename when you created the keystore
i.e. keytool -genkey -alias jboss-ssl -keyalg RSA -keystore my_name.keystore -validity 3650
then you need to specify the same keystore when you export the cert
i.e. keytool -export -alias jboss-ssl -keystore my_name.keystore file my_name.cer -
Exception :java.sql.SQLException: Duplicate entry '1-0' for key 1
Help me in fixing this error
Exception :java.sql.SQLException: Duplicate entry '1-0' for key 1
1>>User_ID is primary key and unique and
2>>User_ID is also auto Incremented
3>>User_ID is the First coloumn in the table
PreparedStatement ps=con.prepareStatement("insert into User(user_name,user_email,user_password) values (?,?,?)");
ps.setString(1,s11);
ps.setString(2,s22);
ps.setString(3,s33);
int i= ps.executeUpdate();A growing trend it appears. Must be some new high school and/or college curriculum regarding moral relativism.
-
500 Internal Server Error - java.sql.SQLException: Invalid column index
500 Internal Server Error
java.sql.SQLException: Invalid column index at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239) at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:851) at com.stardeveloper.servlets.db.InsertServlet.doPost(InsertServlet.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
This is the connection part of the java code
// connecting to database
Connection con = null;
Statement stmt = null;
ResultSet rs = null;
PreparedStatement ps = null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
con=DriverManager.getConnection("host:port:sid, userName, password");
String sql;
sql = "INSERT INTO USERSS(user_id, username) VALUES (?,?)";
ps = con.prepareStatement(sql);
stmt = con.createStatement();
// inserting records
if(proceed) {
ps.setString(1, user_id);
ps.setString(2, username);
ps.executeUpdate();
desc userss;
Name Null? Type
USER_ID NOT NULL NUMBER(5)
USERNAME VARCHAR2(15)
Index_Name table_name
USERSS_PK1 USERSS
when I try to insert values, it is inserting, but at the end I am getting the above error. I am using JDeveloper 10g and database [Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production]I suggest you should alter the JDBC Driver and select one for Oracle 9i.
Which version is your JDev10g? -
Error: java.sql.SQLException: No suitable driver
Hi,
Here is the source file in Java :
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
public class FruitTest3 extends HttpServlet {
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
String url = "jdbc:oracle:thin(or kprb ):sys/jameson@(DESCRIPTION=(ADDRESS_LIST =(ADDRESS =(COMMUNITY =
tcp.insee.fr)(PROTOCOL = TCP)(Host = 10.20.108.3)(Port = 1521)))(CONNECT_DATA = (SID = ORA817)))";
String table;
try {
String query =
"SELECT * " +
" FROM sys.sales";
Connection connection = DriverManager.getConnection(url);
DBResults results =
DatabaseUtilities.getQueryResults(connection,
query, false);
table = results.toHTMLTable("#FFAD00");
} catch(Exception e) {
table = "Error: " + e;
response.setContentType("text/html");
// Prevent the browser from caching the response. See
// Section 7.2 of Core Servlets and JSP for details.
response.setHeader("Pragma", "no-cache"); // HTTP 1.0
response.setHeader("Cache-Control", "no-cache"); // HTTP 1.1
PrintWriter out = response.getWriter();
String title = "Connection Pool Test";
out.println("<BODY BGCOLOR=\"#FDF5E6\">\n" +
"<CENTER>\n" +
table + "\n" +
"</CENTER>\n</BODY></HTML>");
Irceive the error message : Error: java.sql.SQLException: No suitable driver
Thanks in advance.hi nick..
im having thiis particular problem too. part of my codes look like this
try
Class.forName("org.gjt.mm.mysql.Driver");
connection = DriverManager.getConnection("jdbc:mysql//localhost/mmovies:/");
statement = connection.createStatement();
rs = statement.executeQuery("select * from timetable");
String result = "";
while(rs.next())
//String result = rs.getString(2);
String moviename = rs.getString(1);
result += moviename + ";";
System.out.println(result);
i have specified the 'driver'.
i have also places a 'gjt' folder in the same place as all my server codes. Please advice.
Thanks
-faridz
Maybe you are looking for
-
hi , when i creating auto PO(me59n), the following errors will come " purchase order will contains faulty items and requisitions could not be converted " note : i am maintaining QM system and created inforecord through Qm(QI01). thanks in advance, se
-
Getting "Unexpected end of formula" error in user-defined function
I created a user-defined function and registered it successfully in Discoverer Admin (10g), and it shows up in Discoverer Plus. However, when I call the function, I get this error: "Error in formula -- unexpected end of formula" If I hard-code in par
-
i have a iphone 5. i can only connect to the wifi when im in the same room as the router. once i leave my wifi does not connect. please help me fix this.
-
Depreciation planned but not posted.
Hi all, There is the following case. In asset explorer there is planned depreciation which is not posted for prior year. I want to erase this planned depreciation (is incorrect) in prior year without affecting G/L. Could you please advise? If this is
-
How to compile and run a .java file from another java program
hello, can any one tell me how to compile and run a *.java* file from another java program which is not in same directory?