Fuseki - java.sql.SQLRecoverableException

Hello

We launched an instance of the adapter of Fuseki against Oracle 11 g.

After leaving the Forum inactive for a week or two, we met java.sql.SQLRecoverableException.

Full error message - java.sql.SQLRecoverableException: i/o error: connection reset by peer: socket write error

I tried to provide the dumped configuration containing a JNDI resource with commons-dbcp datasource so that I can provide a validationQuery to maintain active connections. But Fuseki can't seem to find this resource when you provide a configuration with the command line data source.

Fuseki in WebLogic deployment could facilitate the creation of JNDI but would require a war file. I created the Fuseki - war packaging discussion for the same thing.

Any suggestions to solve the SQLRecoverableException will be useful.

Thank you

Akhilesh

Thank you.

Can you please take a look at the following document and set SQLNET. EXPIRE_TIME, SQLNET. INBOUND_CONNECT_TIMEOUT, SQLNET. OUTBOUND_CONNECT_TIMEOUT?

https://docs.Oracle.com/CD/E11882_01/network.112/e10835/SQLNET.htm

Thank you

Zhe Wu

Tags: Database

Similar Questions

  • Caused by: java.sql.SQLRecoverableException: IO error: NL Exception has been generated

    Hello gurus

    We face below question in oracle11g r2 11.2.0.3.0 platform

    11 April 2014 14:40:45, 078 [TRACE] SVR-SCH0 [TRAN-FACTORY] ST KEY: [11] com.elitecore.core.commons.util.db.DatabaseInitializationException: java.sql.SQLRecoverableException: IO error: NL Exception has been generated

    at com.elitecore.core.commons.util.db.datasource.OracleConnectionDataSource.init(OracleConnectionDataSource.java:103)

    at com.elitecore.core.commons.util.db.DBConnectionManager.init(DBConnectionManager.java:264)

    at com.elitecore.core.commons.util.db.DBConnectionManager.init(DBConnectionManager.java:203)

    at com.elitecore.core.commons.util.db.DBConnectionManager.reInit(DBConnectionManager.java:173)

    at com.elitecore.core.commons.utilx.db.TransactionFactory.scan(TransactionFactory.java:93)

    to com.elitecore.core.commons.utilx.db.TransactionFactory$ 2.execute(TransactionFactory.java:165)

    to com.elitecore.core.serverx.BaseEliteServer$ BaseServerContext$ 2.run(BaseEliteServer.java:378)

    to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)

    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    at java.util.concurrent.FutureTask.run(FutureTask.java:138)

    to java.util.concurrent.ScheduledThreadPoolExecutor$ ScheduledFutureTask.access$ 301 (ScheduledThreadPoolExecutor.java:98)

    to java.util.concurrent.ScheduledThreadPoolExecutor$ ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:207)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:619)

    Caused by: java.sql.SQLRecoverableException: IO error: NL Exception has been generated

    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)

    to oracle.jdbc.driver.PhysicalConnection. (PhysicalConnection.java:536)

    to oracle.jdbc.driver.T4CConnection. (T4CConnection.java:228)

    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)

    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)

    at java.sql.DriverManager.getConnection(DriverManager.java:582)

    at java.sql.DriverManager.getConnection(DriverManager.java:185)

    at com.elitecore.core.commons.util.db.datasource.OracleConnectionDataSource.init(OracleConnectionDataSource.java:98)

    ... 14 more

    Caused by: oracle.net.ns.NetException: NL Exception has been generated

    at oracle.net.resolver.AddrResolution.resolveAddrTree(AddrResolution.java:614)

    at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:411)

    at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:678)

    at oracle.net.ns.NSProtocol.connect(NSProtocol.java:238)

    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1054)

    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)

    ... 21 more

    Please help us

    We use this Oracle RAC - URL JDBC

    JDBC: thin: @(DESCRIPTION = (ENABLE = BROKEN)

    (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(Host = x.x.x.1)

    (Port = 1521)) (ADDRESS = (PROTOCOL = TCP) (Host = x.x.x.2) (Port = 1521)))

    (FAILOVER = ON) (LOAD_BALANCE = on) (CONNECT_DATA = (SERVICE_NAME = orcl)

    (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC)))

    Share your suggestions

    Thank you

    hitgon

    As suggested by link below, we added (SERVER = DEDICATED) already in place the URL and it works

    http://www.DBA-Oracle.com/bk_nl_exception_connecting_10g_rac_jdbc.htm

    JDBC: thin: @(DESCRIPTION = (ENABLE = BROKEN)

    (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = dbnode1-vip)

    (Port = 1521)) ((ADDRESS = (PROTOCOL = TCP) (Host = dbnode2-vip)(Port = 1521)))

    (FAILOVER = ON) (LOAD_BALANCE = on) (CONNECT_DATA = (SERVICE_NAME = orcl)(SERVER = DEDICATED)

    (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC)))

    anyone please share the same experience or suggestions.

  • Error on Printmaster Platinum 2012 caused by java.sql.SQLException...

    My Printmaster Platinum 2012 software which I've used for may 2012 suddenly would not work and gives the following message: java.sql.SQLException: not found "PRINTMASTER 2012 PLATINUM" database.

    Hi Elizabeth,.

    You can try to reinstall the program. If the problem still persists, then contact their support , help.

    I hope this helps.

  • What is the reason for the error. weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired

    Mr President

    Make me a mistake for an adf application.

    Running application ElizaSoft on IntegratedWebLogicServer...] 
    [06:38:05 PM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr
    [06:38:07 PM] ----  Deployment started.  ----
    [06:38:07 PM] Target platform is  (Weblogic 12.x).
    [06:38:10 PM] Retrieving existing application information
    [06:38:11 PM] Running dependency analysis...
    [06:38:11 PM] Deploying 2 profiles...
    [06:38:20 PM] Wrote Web Application Module to C:\Users\TANVIR\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\ElizaSoft\ViewControllerWebApp.war
    [06:38:22 PM] Wrote Enterprise Application Module to C:\Users\TANVIR\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\ElizaSoft
    [06:38:23 PM] Deploying 3 data source(s) to the server...
    [06:38:24 PM] Deploying Application...
    <Jan 3, 2016 6:38:35 PM PKT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "2192494870412" for task "0" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired
    "
    weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired
    
    
      at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:402)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:196)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:191)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      Truncated. see log file for complete stacktrace
    Caused By: java.sql.SQLException: ORA-28001: the password has expired
    
    
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391)
      at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126)
      at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:507)
      Truncated. see log file for complete stacktrace
    > 
    <Jan 3, 2016 6:38:36 PM PKT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "ElizaSoft".> 
    <Jan 3, 2016 6:38:36 PM PKT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired
    
    
      at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:402)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:196)
      at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:191)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      Truncated. see log file for complete stacktrace
    Caused By: java.sql.SQLException: ORA-28001: the password has expired
    
    
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391)
      at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126)
      at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:507)
      Truncated. see log file for complete stacktrace
    > 
    [06:38:36 PM] Deployment cancelled.
    [06:38:37 PM] ----  Deployment incomplete  ----.
    [06:38:37 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application ElizaSoft due to error deploying to IntegratedWebLogicServer.
    [06:38:37 PM] Cancel requested
    [Application ElizaSoft stopped and undeployed from IntegratedWebLogicServer]
    
    

    But I got back to the top of the same request for the same user and password but it works and do not give the error.

    Help, please.

    Concerning

    Mr President

    I just want to remove the old conn ide and create a new ide conn and add to the application and it works

    Concerning

  • java.sql.SQLException: SQLite.Exception: error in step

    Hello

    Anyone how can I find more information about the sql exception mentioned in the topic of this thread? Battery full below. Here is the code I have in the LifeCycleListenerImpl (application lifecycleListener) that leads to this error:

    =======================================================================================

    115 public void activate()

    {116

    try {117}

    118

    119 string appDir = AdfmfJavaUtilities.getDirectoryPathRoot (AdfmfJavaUtilities.ApplicationDirectory);

    120 files dbFile = new file (appDir + leader. Separator "TEST - DATA.db");

    121 string connStr = "jdbc:sqlite:" + dbFile.getAbsolutePath ();

    122

    123 connection connection = new SQLite.JDBCDataSource (connStr) .getConnection ();

    124 theConnection.setAutoCommit (false);

    125 PreparedStatement stmt = theConnection.prepareStatement ("PRAGMA journal_mode = WAL ;");

    126 stmt.execute ();

    127 stmt = theConnection.prepareStatement ("PRAGMA temp_store = MEMORY ;");

    128 stmt.execute ();

    129

    130 / / theConnection.commit ();

    131

    132.}

    133 catch (Exception e) {}

    134 System.out.println ("* enable Exception *");

    135 e.printStackTrace ();

    136 System.out.println ("* enable Exception *");

    137}

    138}

    =======================================================================================

    java.sql.SQLException: SQLite.Exception: error in step

    at SQLite.JDBC2z1.JDBCStatement.executeQuery (unknown Source)

    at SQLite.JDBC2z1.JDBCPreparedStatement.execute (unknown Source)

    on-demand. LifeCycleListenerImpl.activate (LifeCycleListenerImpl.java:125)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at oracle.adfmf.util.BasicStateModel.executeLifecycleListeners (unknown Source)

    at oracle.adfmf.util.BasicStateModel.transition (unknown Source)

    at oracle.adfmf.util.BasicStateModel.transition (unknown Source)

    at oracle.adfmf.framework.FeatureContextManager.activate (unknown Source)

    at oracle.adfmf.framework.JavaFramework.main (unknown Source)

    Caused by: SQLite.Exception: error in step

    at SQLite.Vm.step (Native Method)

    at SQLite.Database.get_table (unknown Source)

    ... 12 more

    =======================================================================================

    Kind regards

    Majdi Jaqaman

    Hello

    OK, it's ridiculous, but just after I posted the message, I looked at the code for a few seconds and then I thought let me comment the 'theConnection.setAutoCommit (false); line and it seems that this was the cause of the error.

    So I know that the solution to the problem, but someone who is a guru of sqlite and know how to investigate problems of sqlite like this is allowed to share his ideas basically, I would like to know if there is a systematic approach for debugging of problems where the sql exception does not provide much information.

    Kind regards

    Majdi Jaqaman

  • DBUM target Recon - java.sql.SQLSyntaxErrorException error: ORA-00942: table or view does not exist

    Hello

    When I run DBUM Targer user reconciliation (recon Filtered) I get the error in the log below.

    We have created an account with privileges below target. y at - it all permisssions more necessary for execution of the reconciliation of the target.

    [2015-10 - 09T 10: 47:45.717 - 07:00] [oimext_server1] [NOTIFICATION] [] [oracle.iam.scheduler.vo] [tid: OIMQuartzScheduler_Worker-4] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18393] [APP: IOM #11.1.2.0.0] details executeJob DBUM Oracle user target reconciliation method

    [2015-10 - 09T 10: 47:45.842 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000 - 1:18558 0000000000000004,] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: parseConnectionProperties: no connection properties

    [2015-10 - 09T 10: 47:45.878 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: dropUnusedSearchAttributes: fall tmpQuota

    [2015-10 - 09T 10: 47:45.879 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: dropUnusedSearchAttributes: fall tmpQuota

    [2015-10 - 09T 10: 47:45.881 - 07:00] [oimext_server1] [ERROR] [] [ORG. IDENTITYCONNECTORS. DBUM. SQLEXECUTIONHANDLER] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.SQLExecutionHandler: executeAccountSearch: error when searching for user records [[ ]]

    java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)

    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)

    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)

    at org.identityconnectors.dbum.SQLExecutionHandler.searchAccounts(SQLExecutionHandler.java:287)

    at org.identityconnectors.dbum.SQLExecutionHandler.executeAccountSearch(SQLExecutionHandler.java:95)

    at org.identityconnectors.dbum.DBUMConnector.executeQuery(DBUMConnector.java:199)

    at org.identityconnectors.dbum.DBUMConnector.executeQuery(DBUMConnector.java:74)

    at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:118)

    at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:82)

    at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)

    to com.sun.proxy. $Proxy575.search (unknown Source)

    at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)

    to com.sun.proxy. $Proxy575.search (unknown Source)

    at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to org.identityconnectors.framework.impl.api.BufferedResultsProxy$ BufferedResultsHandler.run (BufferedResultsProxy.java:162)

    ]]

    [2015-10 - 09T 10: 47:45.892 - 07:00] [oimext_server1] [NOTIFICATION] [] [oracle.iam.scheduler.impl.quartz] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18393] [APP: #11.1.2.0.0 IOM] Job listener, Job was performed QuartzJobListener.jobWasExecuted Description DEFAULT null FullName. DBUM Oracle DBUM Oracle target reconciliation user name reconciliation target user

    [2015-10 - 09T 10: 47:46.116 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '6' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206 :-8000-0000000000010 c 79, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.

    [2015-10 - 09T 10: 47:46.517 - 07:00] [oimext_server1] [ERROR] [] [] [tid: Watcher] [username: < anonymous >] [ecid: 0000L19f77uEoIs6wjyWMG1M5jJP000000, 1:18404] error receive challenge server hacked

    [2015-10 - 09T 10: 47:49.271 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '12' to the queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206:-8000-0000000000010c7c, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.

    [2015-10 - 09T 10: 47:49.718 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '21' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206:-8000-0000000000010c7e, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.

    Thank you

    After changing the logging level for 32 track, filled with the SQL log file.

    The application consisted of a JOIN with two or three tables table (dba_users and dba_quota_tablespaces).

    After providing privileges select on the quota table, I was able to learn from the user.

    Thank you

  • Caused by: java.sql.SQLException: setMaxRows() out of reach. 2147483647 &gt; 50000000

    I use Oracle jDeveloper 12 c. When I try to export the table to Excel, I'm the exception. It was working fine before.

    Here is the stack trace.


    oracle.jbo.SQLStmtException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-27122. Error message parameters are {0=select * from wd.portfolio_master}
      at oracle
    .jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1432)
      at oracle
    .jbo.server.QueryCollection.executeQuery(QueryCollection.java:976)
      at oracle
    .jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7849)
      at oracle
    .jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1398)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1665)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1549)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1529)
      at oracle
    .jbo.server.ViewObjectImpl.getFinderRS(ViewObjectImpl.java:18591)
      at oracle
    .jbo.server.ViewObjectImpl.getAllRowsIterator(ViewObjectImpl.java:18025)
      at oracle
    .jbo.uicli.binding.JUCtrlHierNodeBinding.getAllChildrenNodesIterator(JUCtrlHierNodeBinding.java:937)
      at oracle
    .jbo.uicli.binding.JUCtrlHierNodeBinding$IterateOnlyArrayList.iterator(JUCtrlHierNodeBinding.java:815)
      at oracle
    .adfinternal.view.faces.model.binding.OptimizedRowDataManager.setRowIndex(OptimizedRowDataManager.java:58)
      at oracle
    .adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowIndex(FacesCtrlHierBinding.java:921)
      at org
    .apache.myfaces.trinidad.component.UIXCollection.setRowIndex(UIXCollection.java:572)
      at org
    .apache.myfaces.trinidad.component.UIXTable.setRowIndex(UIXTable.java:782)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderAllDataRows(CollectionExportDirector.java:512)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderDataRows(CollectionExportDirector.java:447)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderContent(CollectionExportDirector.java:127)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector.export(CollectionExportDirector.java:109)
      at oracle
    .adfinternal.view.faces.export.ExportCollectionActionListener.processAction(ExportCollectionActionListener.java:199)
      at javax
    .faces.event.ActionEvent.processListener(ActionEvent.java:88)
      at org
    .apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:1113)
      at org
    .apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
      at oracle
    .adf.view.rich.component.rich.nav.RichCommandMenuItem.broadcast(RichCommandMenuItem.java:105)
      at org
    .apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      at oracle
    .adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      at oracle
    .adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
      at org
    .apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      at oracle
    .adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      at oracle
    .adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
      at javax
    .faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
      at javax
    .faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax
    .faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic
    .servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic
    .servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic
    .servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic
    .servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      at weblogic
    .servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at oracle
    .adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
      at org
    .apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at org
    .apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
      at org
    .apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
      at org
    .apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
      at org
    .apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      at org
    .apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
      at org
    .apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      at org
    .apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      at org
    .apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
      at org
    .apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java
    .security.AccessController.doPrivileged(Native Method)
      at oracle
    .security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle
    .security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle
    .security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle
    .security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle
    .security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic
    .servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic
    .servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      at weblogic
    .servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic
    .security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic
    .security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic
    .servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic
    .servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic
    .servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic
    .servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic
    .servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic
    .servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic
    .work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic
    .work.ExecuteThread.run(ExecuteThread.java:263)
    **Caused By: java.sql.SQLException: setMaxRows() out of range. 2147483647 > 50000000.**
      at com
    .mysql.jdbc.SQLError.createSQLException(SQLError.java:1058)
      at com
    .mysql.jdbc.SQLError.createSQLException(SQLError.java:972)
      at com
    .mysql.jdbc.SQLError.createSQLException(SQLError.java:958)
      at com
    .mysql.jdbc.SQLError.createSQLException(SQLError.java:903)
      at com
    .mysql.jdbc.StatementImpl.setMaxRows(StatementImpl.java:2758)
      at weblogic
    .jdbc.wrapper.PreparedStatement_com_mysql_jdbc_JDBC4PreparedStatement.setMaxRows(Unknown Source)
      at oracle
    .jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1346)
      at oracle
    .jbo.server.QueryCollection.executeQuery(QueryCollection.java:976)
      at oracle
    .jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7849)
      at oracle
    .jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1398)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1665)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1549)
      at oracle
    .jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1529)
      at oracle
    .jbo.server.ViewObjectImpl.getFinderRS(ViewObjectImpl.java:18591)
      at oracle
    .jbo.server.ViewObjectImpl.getAllRowsIterator(ViewObjectImpl.java:18025)
      at oracle
    .jbo.uicli.binding.JUCtrlHierNodeBinding.getAllChildrenNodesIterator(JUCtrlHierNodeBinding.java:937)
      at oracle
    .jbo.uicli.binding.JUCtrlHierNodeBinding$IterateOnlyArrayList.iterator(JUCtrlHierNodeBinding.java:815)
      at oracle
    .adfinternal.view.faces.model.binding.OptimizedRowDataManager.setRowIndex(OptimizedRowDataManager.java:58)
      at oracle
    .adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowIndex(FacesCtrlHierBinding.java:921)
      at org
    .apache.myfaces.trinidad.component.UIXCollection.setRowIndex(UIXCollection.java:572)
      at org
    .apache.myfaces.trinidad.component.UIXTable.setRowIndex(UIXTable.java:782)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderAllDataRows(CollectionExportDirector.java:512)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderDataRows(CollectionExportDirector.java:447)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector._renderContent(CollectionExportDirector.java:127)
      at oracle
    .adfinternal.view.faces.export.CollectionExportDirector.export(CollectionExportDirector.java:109)
      at oracle
    .adfinternal.view.faces.export.ExportCollectionActionListener.processAction(ExportCollectionActionListener.java:199)
      at javax
    .faces.event.ActionEvent.processListener(ActionEvent.java:88)
      at org
    .apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:1113)
      at org
    .apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
      at oracle
    .adf.view.rich.component.rich.nav.RichCommandMenuItem.broadcast(RichCommandMenuItem.java:105)
      at org
    .apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      at oracle
    .adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      at oracle
    .adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
      at org
    .apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
      at oracle
    .adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
      at oracle
    .adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
      at javax
    .faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
      at javax
    .faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
      at oracle
    .adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax
    .faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic
    .servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic
    .servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic
    .servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic
    .servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      at weblogic
    .servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at oracle
    .adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:502)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
      at org
    .apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
      at org
    .apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at org
    .apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
      at org
    .apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
      at org
    .apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
      at org
    .apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      at org
    .apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
      at org
    .apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      at org
    .apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      at org
    .apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
      at org
    .apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
      at org
    .apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java
    .security.AccessController.doPrivileged(Native Method)
      at oracle
    .security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle
    .security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle
    .security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle
    .security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle
    .security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle
    .dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic
    .servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic
    .servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic
    .servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      at weblogic
    .servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic
    .security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic
    .security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic
    .servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic
    .servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic
    .servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic
    .servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic
    .servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic
    .servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic
    .work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic
    .work.ExecuteThread.run(ExecuteThread.java:263)

    Hello.. I found the Solution. In the ViewPageDef.xml file, there is a RangeSize which was set to 25 by default.

    i.e.

    RangeSize = "25" DataControl = "PortfoliosAppModuleDataControl."

    ID = "PortfolioStakeHoldersVO1Iterator" / >

    I changed it to

    RangeSize = "200" DataControl = "PortfoliosAppModuleDataControl."

    ID = "PortfolioStakeHoldersVO1Iterator" / >

    Its working fine.

    Thank you very much for your support.

  • Question of the ODI - java.sql.SQLException: unexpected token :) in select [...]

    Hello

    I use ODI 10.1.3.6.10 and get the error message below when a package is run. This package is used to load it please could you help me solve this problem.

    org.apache.bsf.BSFException: exception of Jython:

    Traceback (innermost last):

    "< String >" file, line 24, in there?

    java.sql.SQLException: unexpected token :) in the statement [select...]

    Also, I am getting below the exception in other packaging even though it is running without failure.

    org.apache.bsf.BSFException: exception of Jython:

    Traceback (innermost last):

    "< String >" file, line 2, in there?

    Essbase extract summary data:

    Number of rows processed successfully: 1344

    Number of lines rejected: 0

    Thank you

    Michel K

    Select * from RATES where (1 = 1) and (ACCOUNT = 'RATE')

    (PERIOD and)<=>

    And (YEAR =)

    According to the statement select in the error message above it seems that the filter for the PERIOD and YEAR settings are not correctly and this causes the SQL statement syntax error.

    How is the critria to filter for these fields is the value? that is pre-programmed, through variables etc.

  • java.sql.SQLException: ORA-01653: unable to extend table IAMEXT_OIM. RECON_EVENTS by 1024 in the IAMEXT_OIM tablespace

    Hello


    When I try to run the Active Directory Trusted user he ran for some users and in the log file I found this erro. After that when I ran recon target, it does not all recon events.


    In DEV, it worked perfectly



    java.sql.SQLException: ORA-01653: unable to extend table IAMEXT_OIM. RECON_EVENTS by 1024 in the IAMEXT_OIM tablespace


    What does that mean?

    Should I increase any space of the table?


    Thank you

    You must work with your DBA team to extend the table space.

  • Houston-25009: failed to create an object of type: java.sql.Timestamp type: java.lang.String

    System.out.println ("New Record");

    BindingContext exDup13 = BindingContext.getCurrent ();

    System.out.println ("kjjk45345323245");

    DCBindingContainer dbDup13 = (DCBindingContainer) exDup13.getCurrentBindingsEntry ();

    System.out.println ("kjjk45345345");

    DCIteratorBinding iterDup13 = dbDup13.findIteratorBinding("XYZIterator");

    System.out.println ("kjjk45345345");

    ViewObject voDup13 = iterDup13.getViewObject ();

    System.out.println("bipin:"+voDup13);

    voDup13.setWhereClause ("ID_NO ='" + idNoBnd.getValue () m:System.NET.SocketAddress.ToString () + "'");

    System.out.println("bipin1:");

    voDup13.executeQuery ();

    System.out.println ("bipin2:");

    voDup13.next ();

    System.out.println("kjjre:"+voDup13.GetRowCount());)

    When I am trying to run this code, I get error at last line.

    Error is:

    Houston-25009: failed to create an object of type: java.sql.Timestamp type: java.lang.String with value: 890089

    You can try using getEstimatedRowCount() instead of getRowCount() as:

    System.out.println ("16:"+voDup13.getEstimatedRowCount());

    If you still get error try to getEstimatedRowCount() before defining where clause and see if the error will come up again or not

  • Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    Mr President.

    jasper test.gif

    Me trying to run a report of jasper in my adf application but to get the message

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    net.sf.jasperreports.engine.JRException: the SQL statement execution error for: empReport

    at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:240)

    at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:1114)

    at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:691)

    at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1314)

    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:931)

    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:873)

    at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:87)

    at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:457)

    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:864)

    to the view. JasperBean.runReport (JasperBean.java:90)

    to the view. JasperBean.runReportAction (JasperBean.java:39)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at com.sun.el.parser.AstValue.invoke(AstValue.java:254)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:407)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1113)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:603)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:234)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:55)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:829)

    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1049)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1270)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:5010)

    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:5070)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1677)

    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:141)

    at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:233)

    ... more than 66

    < 14 March 2015 13:13:20 PKT > < error > < javax.enterprise.resource.webcontainer.jsf.application > < BEA-000000 > < error rendered view [/Welcome]

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    Truncated. check the log file full stacktrace

    >

    < oracle.adf.controller > < AdfcExceptionHandler > < handleException > < NO_EXCEPTION_HANDLER >

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.createResponseWriter(FaceletViewHandlingStrategy.java:938)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:377)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.renderView (ViewDeclarationLanguageFactoryImpl.java:338)

    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)

    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)

    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1095)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:389)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:255)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    < oracle.adf.view > < RichExceptionHandler > < _logUnhandledException > < ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase RENDER_RESPONSE 6 >

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.createResponseWriter(FaceletViewHandlingStrategy.java:938)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:377)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.renderView (ViewDeclarationLanguageFactoryImpl.java:338)

    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)

    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)

    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1095)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:389)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:255)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    [< 14 March 2015 13:13:20 PKT > < error > < HTTP > < BEA-101020 > < [ServletContext@285463113[app:JasperTest module: JasperTest-ViewController-context-spec: null, path root-version: 3.0]] Servlet failed with an Exception

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    Truncated. check the log file full stacktrace

    >

    < 14 March 2015 13:13:20 PKT > < opinion > < Diagnostics > < BEA-320068 > < Watch "UncheckedException" in the module "Module-FMWDFW" with severity "Notice" on the server "DefaultServer" released March 14, 2015 13:13:20 PKT details. Notification:

    WatchRuleType: Journal

    WatchRule: (SEVERITY = "Error") AND ((MSGID = ' WL-101020') OR (MSGID = "WL-101017'") OR (MSGID = "WL-000802'") OR (MSGID = "BEA-101020'") OR (MSGID = "BEA-101017'") OR (MSGID = "BEA-000802'"))

    [WatchData: DATE = March 14, 2015 13:13:20 PKT SERVER = DefaultServer MESSAGE = [ServletContext@285463113[app:JasperTest module: JasperTest-ViewController-context-spec: null, path root-version: 3.0]] Servlet failed with an Exception

    java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()

    at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:334)

    at javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:148)

    at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:723)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at javax.faces.context.ExternalContextWrapper.getResponseOutputWriter(ExternalContextWrapper.java:669)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.createResponseWriter(FaceletViewHandlingStrategy.java:938)

    at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:377)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.renderView(ViewDeclarationLanguageWrapper.java:101)

    to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.renderView (ViewDeclarationLanguageFactoryImpl.java:338)

    at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)

    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:170)

    at oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView(ResponseRenderManager.java:52)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1095)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:389)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:255)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Subsystem = HTTP USERID < WLS Kernel > = SEVERITY = error THREAD = ExecuteThread [ASSET]: '6' for queue: MSGID "(self-adjusting) weblogic.kernel.Default" = BEA - 101020 MACHINE = TANVIR-PC TXID = the CONTEXTID = 9e95b0a0-9417-4bdd-a665-16c85bcbc70c-00000094 TIMESTAMP = 1426320800208

    WatchAlarmType: AutomaticReset

    WatchAlarmResetPeriod: 30000

    >

    < oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl > < DiagnosticsDataExtractorImpl > < createADRIncident > < incident created 56 to key problem "DFW-99998 [java.lang.IllegalStateException] [oracle.adfinternal.view.faces.lifecycle.ResponseRenderManager.runRenderView] [JasperTest]" >

    My code is

    JSP page

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html>
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="Welcome.jsf" id="d1">
            <af:messages id="m1"/>
            <af:form id="f1">
                <af:button text="Run Report" id="b1" partialSubmit="false" action="#{Jasper.runReportAction}"/>
                <af:table value="#{bindings.EmpView1.collectionModel}" var="row" rows="#{bindings.EmpView1.rangeSize}"
                          emptyText="#{bindings.EmpView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          rowBandingInterval="0" selectedRowKeys="#{bindings.EmpView1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.EmpView1.collectionModel.makeCurrent}" rowSelection="single"
                          fetchSize="#{bindings.EmpView1.rangeSize}" id="t1">
                    <af:column headerText="#{bindings.EmpView1.hints.EmpId.label}" id="c1">
                        <af:outputText value="#{row.EmpId}" shortDesc="#{bindings.EmpView1.hints.EmpId.tooltip}" id="ot1"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.PhoneNo.label}" id="c2">
                        <af:outputText value="#{row.PhoneNo}" shortDesc="#{bindings.EmpView1.hints.PhoneNo.tooltip}"
                                       id="ot2"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.Desig.label}" id="c3">
                        <af:outputText value="#{row.Desig}" shortDesc="#{bindings.EmpView1.hints.Desig.tooltip}" id="ot3"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.LName.label}" id="c4">
                        <af:outputText value="#{row.LName}" shortDesc="#{bindings.EmpView1.hints.LName.tooltip}" id="ot4"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.MName.label}" id="c5">
                        <af:outputText value="#{row.MName}" shortDesc="#{bindings.EmpView1.hints.MName.tooltip}" id="ot5"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.FName.label}" id="c6">
                        <af:outputText value="#{row.FName}" shortDesc="#{bindings.EmpView1.hints.FName.tooltip}" id="ot6"/>
                    </af:column>
                    <af:column headerText="#{bindings.EmpView1.hints.BankAc.label}" id="c7">
                        <af:outputText value="#{row.BankAc}" shortDesc="#{bindings.EmpView1.hints.BankAc.tooltip}"
                                       id="ot7"/>
                    </af:column>
                </af:table>
            </af:form>
        </af:document>
        <!--oracle-jdev-comment:preferred-managed-bean-name:Jasper-->
    </f:view>
    

    report code

    <?xml version="1.0" encoding="UTF-8"?>
    <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="empReport" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b049c1d2-c175-4a8b-b9af-65bcdc99a573">
      <property name="ireport.zoom" value="1.0"/>
      <property name="ireport.x" value="0"/>
      <property name="ireport.y" value="0"/>
      <queryString>
      <![CDATA[SELECT
         *
    FROM
         "SCHOOL"."EMP" EMP]]>
      </queryString>
      <field name="EMP_ID" class="java.lang.String"/>
      <field name="PHONE_NO" class="java.lang.String"/>
      <field name="DESIG" class="java.lang.String"/>
      <field name="L_NAME" class="java.lang.String"/>
      <field name="M_NAME" class="java.lang.String"/>
      <field name="F_NAME" class="java.lang.String"/>
      <field name="BANK_AC" class="java.lang.String"/>
      <background>
      <band splitType="Stretch"/>
      </background>
      <title>
      <band height="79" splitType="Stretch"/>
      </title>
      <pageHeader>
      <band height="35" splitType="Stretch"/>
      </pageHeader>
      <columnHeader>
      <band height="61" splitType="Stretch">
      <staticText>
      <reportElement x="218" y="2" width="100" height="20" uuid="da36d8a4-5af2-40f1-9c0e-06970db5131d"/>
      <text><![CDATA[EMP_ID]]></text>
      </staticText>
      </band>
      </columnHeader>
      <detail>
      <band height="125" splitType="Stretch">
      <textField>
      <reportElement x="218" y="36" width="100" height="20" uuid="0c47bb5c-e96f-4544-8686-8e19f677cee6"/>
      <textFieldExpression><![CDATA[$F{EMP_ID}]]></textFieldExpression>
      </textField>
      </band>
      </detail>
      <columnFooter>
      <band height="45" splitType="Stretch"/>
      </columnFooter>
      <pageFooter>
      <band height="54" splitType="Stretch"/>
      </pageFooter>
      <summary>
      <band height="42" splitType="Stretch"/>
      </summary>
    </jasperReport>
    

    bean code is

    package view;
    
    
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import java.sql.Connection;
    import java.util.HashMap;
    import java.util.Map;
    import javax.faces.context.FacesContext;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import javax.sql.DataSource;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.type.WhenNoDataTypeEnum;
    import net.sf.jasperreports.engine.util.JRLoader;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    
    
    import oracle.binding.BindingContainer;
    
    
    
    
    public class JasperBean {
        public JasperBean() {
        }
    
    
        public String runReportAction() {
            // Add event code here...
            DCIteratorBinding empIter = (DCIteratorBinding) getBindings().get("EmpView1Iterator");
                        String empId = empIter.getCurrentRow().getAttribute("EmpId").toString();
                        Map m = new HashMap();
                        m.put("employeeId", empId);
                        try
                        {
                          runReport("empReport.jasper", null);
                        }
                        catch (Exception e)
                        {
                        }
            return null;
        }
        public BindingContainer getBindings()
             {
               return BindingContext.getCurrent().getCurrentBindingsEntry();
             }
             
             public Connection getDataSourceConnection(String dataSourceName)
                 throws Exception
               {
                 Context ctx = new InitialContext();
                 DataSource ds = (DataSource)ctx.lookup(dataSourceName);
                 return ds.getConnection();
               }
             
             private Connection getConnection() throws Exception
             {
               return getDataSourceConnection("hrDS");
             }
             
             public  ServletContext getContext()
               {
                 return (ServletContext)getFacesContext().getExternalContext().getContext();
               }
             public  HttpServletResponse getResponse()
               {
                 return (HttpServletResponse)getFacesContext().getExternalContext().getResponse();
               }
             public static FacesContext getFacesContext()
               {
                 return FacesContext.getCurrentInstance();
               }
             public void runReport(String repPath, java.util.Map param) throws Exception
             {
               Connection conn = null;
               try
               {
                 HttpServletResponse response = getResponse();
                 ServletOutputStream out = response.getOutputStream();
                 response.setHeader("Cache-Control", "max-age=0");
                 response.setContentType("application/pdf");
                 ServletContext context = getContext();
                 InputStream fs = context.getResourceAsStream("/reports/" + repPath);
                 JasperReport template = (JasperReport) JRLoader.loadObject(fs);
                 template.setWhenNoDataType(WhenNoDataTypeEnum.ALL_SECTIONS_NO_DETAIL);
                 conn = getConnection();
                 JasperPrint print = JasperFillManager.fillReport(template, param, conn);
                 ByteArrayOutputStream baos = new ByteArrayOutputStream();
                 JasperExportManager.exportReportToPdfStream(print, baos);
                 out.write(baos.toByteArray());
                 out.flush();
                 out.close();
                 FacesContext.getCurrentInstance().responseComplete();
               }
               catch (Exception jex)
               {
                 jex.printStackTrace();
               }
               finally
               {    
                 close(conn);
               }
             }
             
             public void close(Connection con)
              {
                if (con != null)
                {
                  try
                  {
                    con.close();
                  }
                  catch (Exception e)
                  {
                  }
                }
              }
    }
    

    Concerning

    Mr President.

    I recreate my diagram by connecting as sysdba and opens the my database

    then I do not get this message.

    I think that was the problem with my database it has been locked or is created in use of the system.

  • avctl start_collector - java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused

    Hi all

    I was hoping you could help me.  After a server restart scheduled that I tried to start my fundraiser, when I did, I got the following error:

    09/29/14 10:19:36       Error executing command start_collector
    Internal Error
            at oracle.av.common.AuditException.toAuditException(AuditException.java:253)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    Nested Exception:
    java.sql.SQLException: ORA-28001: the password has expired
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
            at oracle.av.common.AuditException.toAuditException(AuditException.java:250)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    
    

    So I checked the database of Audit Vault and of course, uses that have expired there, Audit Vault users expire after 180 days.

    SELECT username, account_status, expiry_date
      FROM dba_users
    WHERE account_status = 'EXPIRED';
    
    

    I had a user "AGENT_BW3", which has expired. I also had the SYSAV & AVREPORTUSER that have expired.  So I changed my profile and then reset the password for these uses to the same than what have been before

    Now when I try to restart the collector, I get the following:

    09/29/14 10:36:02       Error executing command start_collector
    Internal Error
            at oracle.av.common.AuditException.toAuditException(AuditException.java:253)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    Nested Exception:
    java.sql.SQLException: ORA-01017: invalid username/password; logon denied
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
            at oracle.av.common.AuditException.toAuditException(AuditException.java:250)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259)
            at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291)
            at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696)
            at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707)
            at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82)
            at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104)
            at oracle.av.avca.Avctl.startCTL(Avctl.java:180)
            at oracle.av.avca.Avctl.main(Avctl.java:213)
    
    

    Now of course I went on this issue the wrong way, is - that someone has encountered this problem before?

    Just to add, I tried to connect with the same passwords for all users of Audit Vault in sqlplus and all work fine, its only the "start_collector" that has the problem.

    Kind regards.

    I fixed it by following these steps.

    When the audit Vault database is created all users will see the profile by DEFAULT, it is a grace expires 180 days.  I needed to reset user passwords that I did.  The part that missed me, was that even if I put the passwords for what they had been before the expiry I still need to change the portfolio.

    sqlplus SYSAVDVA/xx

    -User AV_ADMIN

    ALTER USER SYSAV IDENTIFIED BY xx;

    -Server wallet

    CD $ORACLE_HOME/network/admin/avwallet

    AVCA create_credential - wrl. dbalias - av - usr SYSAV/xx

    sqlplus SYSAVDVA/xx

    -User AV_AGENT

    ALTER USER IDENTIFIED BY AGENT_BW3 xx.

    -Portfolio Officer

    CD $ORACLE_HOME/network/admin/avwallet

    AVCA create_credential - wrl. dbalias - av - usr AGENT_BW3/xx

    This fixed the problem.

  • java.sql.SQLException to oracle.xdb.XMLType.getStringVal(XMLType.java:1322)

    We get this exception. Any suggestions are welcome.


    java.sql.SQLException to oracle.xdb.XMLType.getStringVal(XMLType.java:1322)
    at oracle.tip.adapter.aq.v2.database.MessageConverter.getXMLTypePayload(MessageConverter.java:344)
    at oracle.tip.adapter.aq.v2.database.MessageConverter.getPayload(MessageConverter.java:150)
    at oracle.tip.adapter.aq.v2.database.XMLRecordMessageConverter.getRecord(XMLRecordMessageConverter.java:89)
    at oracle.tip.adapter.aq.v2.database.AbstractDequeueAgent.getInputRecord(AbstractDequeueAgent.java:311)
    at oracle.tip.adapter.aq.v2.database.AbstractDequeueAgent.run(AbstractDequeueAgent.java:119)
    at weblogic.work.ContextWrap.run(ContextWrap.java:41)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)



    -gillette

    We tried to replace the jar. (ojdbc6.jar, xdb6.jar, and xmlparserv2.jar) files in the following path

    Server put potted path: / opt/infra/cesb/apps/domains/dev/custcare-asdc-dev-domain/lib (project specific).

    However, this does not work.

    Then we tried comparing the driver JDBC-OCI of both environments, i.e. the sandbox and the scene. Both have proved to be different.

    The final changes that gives no error in the processing of the application are;

    1. now, we use the JDBC-OCI instantclient-basic - linux.x 64 - driver 11.2.0.3.0

    2. our environment:

    -WebLogic Server Version: 10.3.6.0

    -Oracle Service Bus Version: 11.1.1.6

    -gillette

  • java.sql.SQLSyntaxErrorException: ORA-00904: invalid identifier

    Hi all

    IM using JDeveloper 11.1.1.6.0.

    Here, I said method in the main class, which returns an object of type of connection reference.

    When I run the app I type 'ksh' in the fields and click on submit.

    It shows the following error, java.sql.SQLException: ORA-00904: "KSH": invalid identifier

    {code}

    public static list < privileges > getUserPrivileges (DBTransaction dbt, object userId)

    {

    String sql = "SELECT m.menu_code" +.

    "OF sec_menus m p sec_menu_privileges JOIN +.

    "WE (m.menu_code = p.menu_code '+)"

    "(ET m.app_id = p.app_id)" + "

    "JOIN sec_user_app_groups g +.

    "WE (g.GROUP_ID = p.GROUP_ID '+)"

    "AND p.app_id = g.app_id" +.

    "AND user_id =" + userId + "."

    "             )";

    PreparedStatement stat = null;

    ResultSet rs = null;

    List of privileges <>privilegesList = new ArrayList < privileges > ();

    MenuCode string = "";

    Try

    {

    = stat dbt.createPreparedStatement (sql, 1);

    RS = stat.executeQuery ();

    While (RS. Next())

    {

    menuCode = rs.getString (1);

    }

    }

    catch (System.Exception e)

    {

    e.printStackTrace ();

    }

    Finally

    {

    closeStatement (stat);

    closeResultSet (SR);

    }

    Return privilegesList;

    }

    Public Shared Sub closeStatement (stat of statement)

    {

    Try

    {

    STAT. Close();

    }

    catch (SQLException e)

    {

    }

    }

    public static void closeResultSet (ResultSet rs)

    {

    Try

    {

    RS. Close();

    }

    catch (SQLException e)

    {

    }

    }

    ------------

    CREATE TABLE SEC_USERS

    (

    USER_ID VARCHAR2 (10),

    USER_NAME VARCHAR2 (50).

    PASSWORD VARCHAR2 (300)

    )

    Insert into SEC_USERS

    (USER_ID, USER_NAME, USER_FIRST_NAME, USER_LAST_NAME, PASSWORD)

    Values

    ('ksh', 'ksh', 'test');

    COMMIT;

    -----------------------

    Error:

    java.sql.SQLSyntaxErrorException: ORA-00904: "KSH": invalid identifier

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)

    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)

    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)

    dry. ControllerUtil.getUserPrivileges (ControllerUtil.java:90)

    dry. ControllerUtil.login (ControllerUtil.java:59)

    at sec.model.AppModuleImpl.login(AppModuleImpl.java:77)

    at sec.control.bean.LoginPage.loginAction(LoginPage.java:92)

    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:597)

    at com.sun.el.parser.AstValue.invoke (unknown Source)

    at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    < ActionListenerImpl > < processAction > java.lang.NullPointerException

    javax.faces.el.EvaluationException: java.lang.NullPointerException

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Caused by: java.lang.NullPointerException

    dry. ControllerUtil.closeResultSet (ControllerUtil.java:136)

    dry. ControllerUtil.getUserPrivileges (ControllerUtil.java:118)

    dry. ControllerUtil.login (ControllerUtil.java:59)

    at sec.model.AppModuleImpl.login(AppModuleImpl.java:77)

    at sec.control.bean.LoginPage.loginAction(LoginPage.java:92)

    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:597)

    at com.sun.el.parser.AstValue.invoke (unknown Source)

    at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

    ... more than 54

    {\code}

    Thanks in advance

    The particular error that causes the ORA-00904 exception, it's that you concatenate a string literal in the SQL statement without enclosing the literal with quotes. Replace the line

    "AND user_id =" + userId + "."

    with

    "AND user_id = '" + Userid + "'" +.

    Although it will work in this way, the concatenation of literal values variable to a SQL statement is a very wrong approach. The right approach is to use a placeholder variable (for example?) in the SQL statement and to link it with the necessary value after analysis of the declaration and before running. In this way, you will be able to analyze the statement once and execute it several times with different values without new analysis view the statement. Also, the SQL engine will be able to use its SQL cache if you try to analyze the statement even once again, which will significantly improve performance. However, if you concatenate variable literal value to education, engine SQL won't recognize the statement as one already analyzed, it will not use its cache and it will analyze the statement again from scratch. From a point of view shortly, the best approach is as follows:

    "" AND user_id =? ".

    and then

    = stat dbt.createPreparedStatement (sql, 1);

    stat.setString (1, userId); Don't forget to change the username to a string type in the method declaration

    RS = stat.executeQuery ();

    There are other problems in your code. First of all, the invocation closeResultSet (rs) after closeStatement (stat) is erroneous and obsolete, because when you close a SQLStatement instance it automatically closes all its result sets. Secondly, in the finally block you call closeStatement (stat), but there is no guarantee that stat variable is not null. For example, the variable stat can be null if the SQLStatement instance has not been established successfully in the try section above.

    Dimitar

  • Does not not for java.sql.Date sort field

    Hi Experts ADF,

    JDev version 11.1.1.7.0

    I use a POJO based datacontrol, who is dragged like a table on page JSFF. One of the field is a java.sql.Date data type in POJO.

    So for example in the table 4 values are there to this date field as

    2.2.2014

    3.2.2014

    31.1.2014

    to 31.12.2013

    So while sorting in ascending order, it should come as below

    to 31.12.2013

    31.1.2014

    2.2.2014

    3.2.2014

    And vice-versa.

    But if I click on sort it sorts by the first 2 digits only, and I'm under results for sorting (ascending)

    2.2.2014

    3.2.2014

    31.1.2014

    to 31.12.2013

    Please suggest on this. Thanks in advance.

    Thank you

    Animesh

    Hi This sorting has been solved by changing of java.util.Date.

    Yes his watch to the client as an outputText inside the table. Sorting option is there for af:column.

    Thank you

    Roy

Maybe you are looking for

  • Portege Z30 - A - 1E5 IPS Panel only?

    Hi all I wanted to ask if the TOSHIBA Portege Z30 A 1E5 is the only Z30 - A with a slab of IPS?Also, is it possible to upgrade a GPS module in a Z30? Thank you very muchMIRU

  • Wireless on Satellite Pro L10 constantly connect & disconnect

    The wireless connection on my computer worked for two years and this morning he started connect and disconnect every 5 minutes or more. The computer will work with the LAN cable but continues to connect disconnect and reconnect to the wireless networ

  • How to set up a PPPoE connection?

    I want to know if anyone knows how to set up a PPPoE with Windows Vista Home Premium.  I have Comcast as a provider of services and I am already able to go online with the wireless router, but I put it in place as a dynamic connection instead of a PP

  • For driver Brother HL-1230 pour windows 7-64 k

    I have a printer brother HL-1230 with USB cable. No driver for Windows 7. How can I use qd this printer? Thank you

  • OptiPlex 990 not PXE boot after update Bios A18

    After the update to A18 on multiple machines, I noticed that they all hang after address DHCP is affected and what would normally be the menu timer (if it was not all work in progress) or launch from the boot of automation. I also noticed when you up