XI3.1 Error - (FWM 01002)
We are getting the following error after applying the changes listed below to reduce the session timeout. I had opened an incident with SAP and instructed to make these changes. This error is also making scheduled Webi reports fail.
An error has occurred: Unable to reconnect to the CMS scfbi0p0boefrm1.scfbins1.com:6400. The session has been logged off or has expired. (FWM 01002)
Changes made to reduce the session timeout:
Changed the session-timeout to 5 (Default was 20) in the following web.xml files:
CmcApp, CmcAppActions, InfoviewApp and InfoviewAppActions
Changed the logontoken.enable to false in the following web.xml files:
CmcApp and InfoviewApp
Added " -failovertimeout 1" to the command line parameter of CMS server in the CMC.
Set the IdleSessionTimeout = Decimal 60000 (1 Min) located in the registry.
After the changes were made I restarted the CMS server and Tomcat.
I would appreciate any ideas on what might be causing this.
Mike
SAP released note 1422296 about this on 15.10.2010 15:24:14.
1422296 - Error:' Unable to reconnect to CMS <servername>:6400. The session has been logged off or has expired.(FWM 01002)' with BusinessObjects XI 3.1.
Symptom
Not able to schedule WebIntelligence reports.
Reports fail with error:'Unable to reconnect to CMS <servername>:6400. The session has been logged off or has expired.(FWM 01002)'
Environment
BusinessObjects XI 3.1.
Reproducing the Issue
Schedule a WebIntelligence report to run now.
Reports fails with error:u2018Unable to reconnect to CMS <servername>:6400. The session has been logged off or has expired.(FWM 01002)'
Resolution
1. From Central Configuration Manager, disable all the services and re-enable them.
2. Log into Central Management Console and go to the server area.
3. Go to the properties of Central Management Server, in command line parameters type -requesttimeout 3600000.
4. Save the changes and restart the server.
5. Follow the same steps for WebIntelligence Processing Server and Adapter Job Server.
6. Go to the connection server properties and increase "Ideal connection timeout" to 120, restart the server
Keywords
reconnect, FWM 01002, schedule, WebI.
Header Data
Released on 15.10.2010 15:24:14
Release status Released to Customer
Component BI-BIP-PUB Publishing and scheduling in InfoView/BI launch pad
Priority Normal
Category Problem
Similar Messages
-
Crystal Report Viewer Session Time out error ( FWM 01002)
Hi,
We are using java 1.4 and Teradata base with BO XI 3.0
I am getting the following error when click on icons (Export, Print, Paging) within Crystal Report Viewer.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unable to
reconnect to the CMS [servername]. The session has been logged off or has expired. (FWM 01002) [RASLIB9038]---- Error code:-2147215357
Error code name:internal at
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source) at
com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.getLastPageNumber(Unknown Source) at com.businessobjects.report.web.b.a.do(Unknown Source) at
com.businessobjects.report.web.event.q.a(Unknown Source) at com.businessobjects.report.web.event.q.a(Unknown Source) at com.businessobjects.report.web.event.k.a(Unknown Source) at com.businessobjects.report.web.event.bt.broadcast(Unknown Source) at com.businessobjects.report.web.event.ak.a(Unknown Source) at com.businessobjects.report.web.a.q.if(Unknown Source) at com.businessobjects.report.web.e.a(Unknown Source) at com.businessobjects.report.web.e.a(Unknown Source) at com.businessobjects.report.web.e.if(Unknown Source) at
com.crystaldecisions.report.web.viewer.CrystalReportViewerUpdater.a(Unknown Source) at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source) at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.if(Unknown Source) at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at
If I let the report sit for 30 minutes or so, the icons will work. The u201Csession
timeout error messageu201D is kind of misleading. I have updated the JDBC drivers to version 13.0 for Teradata (terajdbc4.jar and tdgssconfig.jar) and did not see improvement.
Can anyone please help?
Thanks!
Edited by: Yingchiu Ou on May 12, 2010 12:42 AMI see the viewer, but not the attendant EnterpriseSession nor what the ReportSource is connected to.
Since the error message explicitly states issues with EnterpriseSession lifetime, it'll be good to give the above info.
Sincerely,
Ted Ueda -
Error ORA-01002: fetch out of sequence
Hi all,
I created 3 cursors. The scenario is like following :
Begin Cur A
Begin FOR xx IN Cur B LOOP
Begin FOR xx IN Cur C LOOP
End LOOP Cur C;
commit;
End LOOP Cur B;
End Cur A;
When i run the program its display error ORA-01002: fetch out of sequence.
The objective of my program is to insert into table and commit every transaction.
Kindly share info with me why this error happened.
TQ.
timTim,
Refer to the following:
ORA-01002: fetch out of sequence
Cause: This error means that a fetch has been attempted from a cursor which is no longer valid.
Note that a PL/SQL cursor loop implicitly does fetches, and thus may also cause this error. There are a number of possible causes for this error, including:
1) Fetching from a cursor after the last row has been retrieved and the ORA-1403 error returned.
2) If the cursor has been opened with the FOR UPDATE clause, fetching after a COMMIT has been issued will return the error.
3) Rebinding any placeholders in the SQL statement, then issuing a fetch before reexecuting the statement.
Action:
1) Do not issue a fetch statement after the last row has been retrieved - there are no more rows to fetch.
2) Do not issue a COMMIT inside a fetch loop for a cursor that has been opened FOR UPDATE.
3) Reexecute the statement after rebinding, then attempt to fetch again.
HTH,
Thierry
Edited by: Thierry H. on May 4, 2011 12:30 PM Reformatting -
Error FWM 00001 DeskI and Designer
Hello,
I have a problem with BO XI3 Desktop Intelligence and Designer.
I can't log in, I have the following error :
[repo_proxy 13] SessionFacade::openSessionLogon with user info has failed(Transport error: Communication failure.(FWM 00001)
(hr=#0x80042a01)
Connection with J2EE Portal works
How can I fix it ?
Firewall is disabled.
thanksHi Vincent, ,
I have the same problem... I change my host file but nothing change...
Thanks
Cedric -
ERROR (ORA-01002) when Ioading a table by UPDATE/INSERT
I get the error message ORA-01002 ( Fetch out of sequence ) when I am loading a table by UPDATE/INSERT.
At de Runtime Audit Viewer the process of loading update a number of register, in that case 44.050 and to the left register I get the error message that I show above.Can you please give us some details about your source and targets. I have used UPDATE/INSERT but I did not get this kind of error.
rgds
-AP -
Autonomous Transactions & error ORA-01002
Either there's a bug w/ Autonomous Transactions or the documentation is incomplete because the AT is not working when
called from within Cursor Loop.
here's the outline:
CURSOR acct_cur IS ...FOR UPDATE OF a.account_nm...
FOR acct_rec IN acct_cur LOOP
fis_rte_util.print_msg (...) ---autonomous transaction writes to a logging table
---w/ commit
UPDATE ca_account_t
SET account_nm = acct_rec.account_nm....
this update statement causes a ORA-01002: fetch out of sequence exception. if
i comment out the print_msg line it works just fine. its as if the commit in the
AT is causing the problem. according to the documention, there should be no
interference between these 2 blocks.
thanks for any info or insight,
swg
nullTim,
Refer to the following:
ORA-01002: fetch out of sequence
Cause: This error means that a fetch has been attempted from a cursor which is no longer valid.
Note that a PL/SQL cursor loop implicitly does fetches, and thus may also cause this error. There are a number of possible causes for this error, including:
1) Fetching from a cursor after the last row has been retrieved and the ORA-1403 error returned.
2) If the cursor has been opened with the FOR UPDATE clause, fetching after a COMMIT has been issued will return the error.
3) Rebinding any placeholders in the SQL statement, then issuing a fetch before reexecuting the statement.
Action:
1) Do not issue a fetch statement after the last row has been retrieved - there are no more rows to fetch.
2) Do not issue a COMMIT inside a fetch loop for a cursor that has been opened FOR UPDATE.
3) Reexecute the statement after rebinding, then attempt to fetch again.
HTH,
Thierry
Edited by: Thierry H. on May 4, 2011 12:30 PM Reformatting -
ERROR ORA-01002 ??????
Hi! sorry by my English......
I have this Package:
CREATE OR REPLACE PACKAGE PCK_KK
AS
TYPE CURBATCH IS REF CURSOR;
PROCEDURE PROC_SUBKK
BATCH_SEG OUT CURBATCH,
BATCH_PES OUT CURBATCH,
NUMERROR$ OUT NUMBER,
MSJERROR$ OUT VARCHAR2
END PCK_KK;
CREATE OR REPLACE PACKAGE BODY PCK_KK
AS
PROCEDURE PROC_SUBKK
BATCH_SEG OUT CURBATCH,
BATCH_PES OUT CURBATCH,
NUMERROR$ OUT NUMBER,
MSJERROR$ OUT VARCHAR2
IS
BEGIN
BEGIN
OPEN BATCH_SEG FOR
SELECT
CODIGO_SEG,
NOMBRE_SEG
FROM
PESQUERIAS.SEGUIMIENTO@TI_PESQUERIA.US.ORACLE.COM
ORDER BY
NOMBRE_SEG;
OPEN BATCH_PES FOR
SELECT
SEGUIMIENTO.CODIGO_SEG,
PESQUERIA.COD_PESQUERIA,
PESQUERIA.NOMBRE_PESQUERIA
FROM
PESQUERIAS.PESQUERIA@TI_PESQUERIA.US.ORACLE.COM INNER JOIN
(PESQUERIAS.SEGUIMIENTO@TI_PESQUERIA.US.ORACLE.COM INNER JOIN
PESQUERIAS.SEGUIMIENTO_PESQUERIA@TI_PESQUERIA.US.ORACLE.COM
ON SEGUIMIENTO.CODIGO_SEG = SEGUIMIENTO_PESQUERIA.COD_SEG)
ON PESQUERIA.COD_PESQUERIA = SEGUIMIENTO_PESQUERIA.COD_PES
ORDER BY
SEGUIMIENTO.CODIGO_SEG,
PESQUERIA.COD_PESQUERIA;
NUMERROR$ := 0;
MSJERROR$ := '';
RETURN;
EXCEPTION
WHEN OTHERS THEN
NUMERROR$ := SQLCODE;
CASE NUMERROR$
WHEN 100 THEN MSJERROR$:='bla bla bla';
WHEN -1 THEN MSJERROR$:='other bal bla bla';
ELSE MSJERROR$:= 'ERROR [PCK_KK] '||to_char(SQLERRM);
END CASE;
END;
END PROC_SUBKK;
END PCK_KK;
Ok, I execute by SqlPlus and ok!!!!!
but, by PHP so:
Warning: ocifetchstatement(): OCIFetchStatement:
ORA-01002: recuperación fuera de secuencia
in /ifop/ti/P_center_ingresar.php on line 72
And my source php is:
$Coneccion = OCILogon($User, $Passwd, $HostOracle);
$Cursor = OCINewCursor($Coneccion);
$sTmpSql = OCIParse($Coneccion,"BEGIN PROC_SUBKK.PCK_KK(:rTmp1,:rTmp2,:lNumError,:sMsjError); END;");
OCIBindByName($sTmpSql,":rTmp1",&$Cursor,-1,OCI_B_CURSOR);
OCIBindByName($sTmpSql,":rTmp2",&$Cursor,-1,OCI_B_CURSOR);
OCIBindByName($sTmpSql,":lNumError",&$lNumError,32);
OCIBindByName($sTmpSql,":sMsjError",&$sMsjError,32);
ociexecute($sTmpSql);
ociexecute($Cursor);
if ($lNumError == 0)
$rTmp1_RecordCount = OCIfetchstatement($Cursor,&$rTmp1);
if ($rTmp1_RecordCount > 0)
for ($lTmp1 = 0; $lTmp1 < $rTmp1_RecordCount; $lTmp1++ )
$aTmp1[$lTmp1][1] = $rTmp1["CODIGO_SEG"][$lTmp1];
$aTmp1[$lTmp1][2] = $rTmp1["NOMBRE_SEG"][$lTmp1];
$rTmp2_RecordCount = OCIfetchstatement($Cursor,&$rTmp2); <--- ERROR!!!!!! ??????
if ($rTmp2_RecordCount > 0)
//Si viene registros, traspasa a arreglo
for ($lTmp1 = 0; $lTmp1 < $rTmp2_RecordCount; $lTmp1++ )
$aTmp2[$lTmp1][1] = $rTmp1["CODIGO_SEG"][$lTmp1];
$aTmp2[$lTmp1][2] = $rTmp1["COD_PESQUERIA"][$lTmp1];
$aTmp2[$lTmp1][3] = $rTmp1["NOMBRE_PESQUERIA"][$lTmp1];
OCIFreeStatement($sTmpSql);
OCIFreeCursor($Cursor);
OCILogoff($Coneccion);
else
OCIFreeStatement($sTmpSql);
OCIFreeCursor($Cursor);
OCILogoff($Coneccion);
HELPME PLEASE
THANKS !!!!
My configuration !!!!
Web Server//
RedHat Advanced Server 2.1
Oracle Application Server 10g
Php 5
DB Server//
RedHat Advanced Server 2.1
Oracle 9i
THANKS AGAIN !!!!Dear CJJ:
I proved subject "$cursor1 and $cursor2, for the two ref cursor parameters" and I work myself perfectly...thank you very much !!!!
$Cursor1 = OCINewCursor($Coneccion);
$Cursor2 = OCINewCursor($Coneccion);
$sTmpSql = OCIParse($Coneccion,"BEGIN TI_SEL001SEGUIMIENTOPESQUERIA.SEL001SEGUIMIENTOPESQUERIA(:rTmp1,:rTmp2,:lNumError,:sMsjError); END;");
OCIBindByName($sTmpSql,":rTmp1",&$Cursor1,-1,OCI_B_CURSOR);
OCIBindByName($sTmpSql,":rTmp2",&$Cursor2,-1,OCI_B_CURSOR);
OCIBindByName($sTmpSql,":lNumError",&$lNumError,32);
OCIBindByName($sTmpSql,":sMsjError",&$sMsjError,32);
ociexecute($sTmpSql);
ociexecute($Cursor1);
ociexecute($Cursor2);
I work without problems
THANKS !!!!!! -
I just installed Crystal Reports Server 2008 on a server and to make the installation easy I choose the install Tomcat & deploy to it and install MySQL options. The installation was done on Windows 2003 and I use SQL 2005 as the database for report data.
The installation completes without any error messages and most thing work after the installation. I can logon onto CMC, I can publish reports, I can logon to infoview. But when I try to view a report I get error messages. I also tried running the sample reports that came with the installation but got the same results. When I run a sample report from CMC I get the following error message:
*An unexpected error has occurred. The exception originally thrown was: Unable to find servers in CMS crdevserver.kilic.local:6400 and cluster @crdevserver.kilic.local:6400 with kind fileserver and service FileStoreV2. All such servers could be down or disabled by the administrator. (FWM 01014)
When I try to run the same sample report from infoview it gives the error:*
invalid report object.
When I try to run 1 of our own reports from infoview it gives the error:
The database logon information is incomplete or incorrect.
I am sure it is correct, I also tried having the user enter these values but got the same result.
I also tried reinstalling with diffrent configurations but got the same results, I have been searching the internet for a solution for the last week but I am pretty much stuck.
Any assistance would be much appreciated. thanks
Tuncer
Edited by: tuncer64 on Oct 22, 2010 9:04 AMWhen I reinstalled with he regional settings on the server set to US everything starting working fine.
-
Finding solutions for this error, i found that the cause "Unable to open a socket to talk to the CMS" and the suggested "Ensure that the CMS is running" .
I went to task manager to check on the processes CMS but not found so restart my SIA thus restart my CMS and 10 seconds later appeared in my task manager CMS.exe process but disappeared 10 seconds later.
Please help me to solve this problem.
psd: this is the last CMS.log
.\apsserver.cpp:1302: TraceLog message 1
2010/06/30 19:11:44.930|>>|A| | 3460|3384| |||||||||||||||assert failure: (.\apsserver.cpp:1302). (0 : An unexpected problem (exception) happened. Reason given: The port number specified for the server is already in use., The server has problems using TCP/IP. The port number you are using is probably already in use..Port is in use: 6400).Hi,
Tim is right - looks like something is using port 6400. Check also SAP Note - 1298586
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3132393835383626
Regards
-Seb. -
Hello,
I have problem when i try access to infoView says
"u2022Error: Server cundisrv119:6400 not found or server may be down (FWM 01003) null"
I have tried everything but i cant solve this problem when i enter the cmc my system name is
cundisrv119:6409 and i can join without any problem but i dont know how i can change the port for infoView
I guess this is the problem.
Thaks a lot
Att
Cesar Agudelo
Pd: I work in BOE XI 3.1Hi
You need to update default value of "CMS.default" in web.xml of InfoViewApp.
Solution
1. Update the default value of u201Ccms.defaultu201D in web.xml of InfoViewApp.war file & redeploy
<context-param>
<param-name>cms.default</param-name>
<param-value>cundisrv119:6409</param-value>
</context-param>
2. restart Application server
If you are using default Tomcat then, you can go for Temporary Solution (works till you re-deploy infoviewapp.war).
1. Go to C:\Program Files\Business Objects\Tomcat55\webapps\InfoViewApp\WEB-INF & Update the web.xml of InfoViewApp.war file & redeploy
If you are not using tomcat, Go for first solution.
Regards
Ashwini -
WLS 5.1 to 6.1 porting issue: RequiresNew & ORA-01002 error
Repost from the EJB group
Environment:
WLS 6.1.2 on WINNT w/SP6a
java: 1.3.1 that ships with WLS 6.1
DB: Oracle 8.1.6 (using TRANSACTION_READ_COMMITTED exclusively)
I'm currently upgrading our application from 5.1 (ejb 1.1) to
6.1 (ejb 2.0). I've also consolidated our 55 separate ejb jars
into a single jar (with all 55 ejbs). Because of 1.1 entity bean
issues, currently all our ejbs are SessionBeans. Everything works
under 5.1 with our test Oracle instance, the 6.1 test environment
is using the same database instance.
I'm seeing several problems.
Here's #1
With the same TCUSecurityDataAccessSessionBean::updateIfNeeded
source code and same database instance. 5.1 updates correctly,
6.1 throws this SQLException. So, I figure its got to be a WLS 6.1 issue or
my configuration. - I alway suspect me ;)
ERROR - ORA-01002: fetch out of sequence
(com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessSessionB
ean_ridhfi_Impl::updateIfNeeded)
java.sql.SQLException: ORA-01002: fetch out of sequence
This method should be configured with transaction context of: RequiresNew
Has the 6.1 handling of RequiresNew changed that radically?
I'm looking for suggestions on how to debug this further.
TIA
Gordon
------------- ejb-jar.xml (edited) ------------------------
<ejb-jar>
<small-icon>images/green-cube.gif</small-icon>
<enterprise-beans>
<!-- TCUSecurityDataAccessSession -->
<session>
<small-icon>images/orange-cube.gif</small-icon>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<home>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessSes
sionHome</home>
<remote>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessS
ession</remote>
<ejb-class>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAcce
ssSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<description></description>
<role-name>****</role-name> <!-- deleted for security -->
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
<!-- TCUSecurityDataAccessSession -->
<container-transaction>
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>updateIfNeeded</method-name>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>peek</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
------------- weblogic-ejb-jar.xml (uninteresting) ------------------------
------------- config.xml (edited) ------------------------
<JDBCConnectionPool CapacityIncrement="5"
DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="10" MaxCapacity="100" Name="d2Pool"
Password="*****
Properties="user=d2engine;STATEMENT_CACHE_SIZE=200"
Targets="myserver" URL="jdbc:oracle:thin:@*****"/>
<JDBCTxDataSource JNDIName="jdbc/d2Pool" Name="jdbc/d2Pool"
PoolName="d2Pool" Targets="myserver"/>
ORA-01002 fetch out of sequence
Cause: In a host language program, a FETCH call was issued out of sequence.
A successful parse-and-execute call must be issued before a fetch.
This can occur if an attempt was made to FETCH from an active set after
all records have been fetched.
This may be caused by fetching from a SELECT FOR UPDATE cursor after a
commit.
A PL/SQL cursor loop implicitly does fetches and may also cause this error.
Action: Parse and execute a SQL statement before attempting to fetch the
data.Solved.
The 8.1.6 driver wasn't the problem.
It turned out that our ConnectionPool utility class wasn't configured
properly
and when I thought that I was going TxDatasource, I was actually only
getting
a straight Connection. No Tx, so Oracle didn't have one open for the "FOR
UPDATE"
clause. Now if someone could help on my classloader question in the EJB
group ;)
- Gordon
"Slava Imeshev" <[email protected]> wrote in message
news:[email protected]...
Gordon,
Oracle 8.1.6 driver proved to be buggy and unstable.
Can you update your oracle thin driver to the newest
one? It's available from the otn.oracle.com.
Could you also post the questionable code here, especially
in the part related to obtaining connection, executing
stataments, fetching results and obtaining TXs, if any?
Regards,
Slava Imeshev
"Gordon Twaddell" <[email protected]> wrote in message
news:[email protected]...
Sree,
I didn't mention that I'm using the Oracle thin JDBC driver
(8.1.6.1)
and its in the CLASSPATH.
Slava,
I tried the stmt.setFetchSize(). I got the same result.
Gordon
"Sree Bodapati" <[email protected]> wrote in message
news:[email protected]...
Hi Gordon,
One possibility is the environment variable PATH might be pointing to
an
older version of the library files for the WebLogic jDriver forOracle.
Check if the PATH is set to point to the right weblogicoci37.dll (inthe
<WL_HOME for 6.1>\bin\oci817_8) and make sure your oracle_home is setto
point to the right folders as well.
hth
sree
"Gordon Twaddell" <[email protected]> wrote in message
news:[email protected]...
Repost from the EJB group
Environment:
WLS 6.1.2 on WINNT w/SP6a
java: 1.3.1 that ships with WLS 6.1
DB: Oracle 8.1.6 (using TRANSACTION_READ_COMMITTED exclusively)
I'm currently upgrading our application from 5.1 (ejb 1.1) to
6.1 (ejb 2.0). I've also consolidated our 55 separate ejb jars
into a single jar (with all 55 ejbs). Because of 1.1 entity bean
issues, currently all our ejbs are SessionBeans. Everything works
under 5.1 with our test Oracle instance, the 6.1 test environment
is using the same database instance.
I'm seeing several problems.
Here's #1
With the same TCUSecurityDataAccessSessionBean::updateIfNeeded
source code and same database instance. 5.1 updates correctly,
6.1 throws this SQLException. So, I figure its got to be a WLS 6.1
issue
or
my configuration. - I alway suspect me ;)
ERROR - ORA-01002: fetch out of sequence
(com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessSessionB
ean_ridhfi_Impl::updateIfNeeded)
java.sql.SQLException: ORA-01002: fetch out of sequence
This method should be configured with transaction context of:RequiresNew
Has the 6.1 handling of RequiresNew changed that radically?
I'm looking for suggestions on how to debug this further.
TIA
Gordon
------------- ejb-jar.xml (edited) ------------------------
<ejb-jar>
<small-icon>images/green-cube.gif</small-icon>
<enterprise-beans>
<!-- TCUSecurityDataAccessSession -->
<session>
<small-icon>images/orange-cube.gif</small-icon>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<home>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessSes
sionHome</home>
<remote>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessS
ession</remote>
<ejb-class>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAcce
ssSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<description></description>
<role-name>****</role-name> <!-- deleted for security -->
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
<!-- TCUSecurityDataAccessSession -->
<container-transaction>
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>updateIfNeeded</method-name>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>peek</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
------------- weblogic-ejb-jar.xml(uninteresting) ------------------------
------------- config.xml (edited) ------------------------
<JDBCConnectionPool CapacityIncrement="5"
DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="10" MaxCapacity="100" Name="d2Pool"
Password="*****
Properties="user=d2engine;STATEMENT_CACHE_SIZE=200"
Targets="myserver" URL="jdbc:oracle:thin:@*****"/>
<JDBCTxDataSource JNDIName="jdbc/d2Pool" Name="jdbc/d2Pool"
PoolName="d2Pool" Targets="myserver"/>
ORA-01002 fetch out of sequence
Cause: In a host language program, a FETCH call was issued out ofsequence.
A successful parse-and-execute call must be issued before a fetch.
This can occur if an attempt was made to FETCH from an active set
after
all records have been fetched.
This may be caused by fetching from a SELECT FOR UPDATE cursor
after
a
commit.
A PL/SQL cursor loop implicitly does fetches and may also cause
this
error.
Action: Parse and execute a SQL statement before attempting to fetch
the
data. -
Error on mapping: ORA-01002
Hi all,
When i try to insert data from an Informix database into Oracle the mapping crashes with the error ora-01002 after 50 rows (the number of rows has some relation to Bulk Size, because when it grows the error occurs in a later row).
I can insert the data into the table using the same connection that OWB using SQL*Plus.
what can be the problem?
I'm using OWB 9.2.
thanks,
VitorHi,
The error that i've got on Runtime Audit Browser is "ORA-01002: fetch out of sequence ORA-02063: preceding line HSODBC@CON_STAGING_TO_INFORMIX". (HSODBC@CON_STAGING_TO_INFORMIX is the DB Link Created by OWB)
Answering to Mahesh, no, i can't use the Loading Type "INSERT/UPDATE" on the same table, because the fields are not the same, the INSERT has more fields then UPDATE.
Thanks,
Vitor -
ORA-01002: fetch out of sequence error
Hello friends,
I m facing a prob using a cursor for update.
here is a piece of code:
DECLARE
CURSOR c_tot_inv_qty (p_prd_id tr_periods.period_id%TYPE) IS
SELECT total_inv_qty, item_id, period_id, dc_id
FROM inv_dc_tmp
WHERE period_id = p_prd_id + 1
FOR UPDATE OF total_inv_qty;
BEGIN
FOR pd IN ( SELECT period_id
FROM tr_periods
WHERE status_flag = 1
AND period_id >= 46
LOOP
FOR t_tot_inv_qty IN c_tot_inv_qty(pd.period_id) LOOP
BEGIN
SELECT inv_forecast_qty
INTO l_inv_fc_qty
FROM inv_dc_tmp
WHERE item_id = t_tot_inv_qty.item_id
AND period_id = pd.period_id
AND dc_id = t_tot_inv_qty.dc_id;
EXCEPTION
WHEN NO_DATA_FOUND THEN
l_inv_fc_qty := 0;
END;
UPDATE inv_dc_tmp
SET total_inv_qty = l_inv_fc_qty
WHERE CURRENT OF c_tot_inv_qty;
END LOOP;
END LOOP;
COMMIT;
END;
i have written commit after the loop..but still it raise an error ORA-01002: fetch out of sequence
i m unable to find out the soln
i need ur help.
Thanks
RSDI'm not sure what your code is trying to accomplish, but give this a whirl. It might be better than all that looping and cursors. I don't have any sample data/tables so I'm largely guessing here.
update inv_dc_tmp i
set i.total_inv_qty =
(select sum(t.inv_forecast_qty)
from inv_dc_tmp t
,tr_periods p
where t.period_id = p.period_id
and p.status_flag = 1
and p.period_id >= 46
and t.period_id = i.period_id - 1
and t.item_id = i.item_id
and t.dc_id = i.dc_id
where exists
(select 1
from tr_periods p
where p.period_id = i.period_id - 1
and p.status_flag = 1
and p.period_id >= 46
;Extremely UNtested. -
ORA-01002 run-time error for help
Hi, All:
I modified little in Sample10.pc of PRO*C sample code to fit both NT and
Linux using 8i version precompiler, with VC++ and GCC Compiler respectively.
All process were fine when they connected to a DB Server(8i version), but
when they connected to the other Server(8 version), the error : ORA-01002
(Fetch out of sequence) was always issued at run-time. I checked the error
message and found that the program was stuck on the "PREPARE" description. I
have spent much more time debugging, but it still didn't work. Could you
help me? I'm so preciated.
Best regards,
Yen-Gou Pan
nullHello,
This error comes when there is an OpenSQL statement that tries to insert a record into a database table that is already existing.
You need to implement SAP Note 196113 and 1041894 along with technical consultant to help and overcome the issue.
Br,
Tushar -
Hi all members,
I installed BO XI 3.1 on a machine SO WS2003 . After the installation everythings works perfectly.
After a few months I got an error while attempting to connect to the CMC (error FWM 01003 server not found or may be down).
When I remove BO and reinstalled it, it works fine, but again after a few days I got the same error message.
I checked that the CMS is started.
I can fix this problem change the port (6400) of my CMS to port 5230 so when i try connect to the CMC perfect but
when i try connect to the InfoView (Error: Server cundisrv119:6400 not found or server may be down (FWM 01003) null)
Anyone have a suggestion?
Regards,
Cesar Agudelo
Edited by: Agudelo Cesar Enrique on Aug 11, 2010 6:51 PMHello,
I have exactly the same problem.
I met this problem 3 times in 2 months. Every case, I reinstall Oracle Database and BO, but the problem came back.
At final I'd like to know if you know the cause of this problem ? And how have you resolve it ?
Thanks !
Maybe you are looking for
-
Formula is not avaliable in rsaformapp
Hi all, I have a strange problem.When I try to open 2LIS_12_VCITM datasource it throw me out with an error " formula is not avaliable in the table rsaformmapp " I do not have this error message in another infosources only 2LIS_12_VCITM infosource.
-
POSTING TO JSP FORMS GIVES NULL OBJECT RATHER THAN EMPTY STRING
This post is for Dan Norris of DOE. He brought this up in a submitted tar, but it is addressed by the PDK community here. We arehaving problems using the standard HTTPServletRequest getParameter methodinside of the portal. The standard for this metho
-
I am trying to download Firefox, but Windows/Internet Explorer 8 is blocking it...saying the file is not registered/certified etc. I tried to upload the certificate, but it still won't let me do it. Seems like another Microsoft attempt to stop people
-
No Image Library, Samples Keynote 1.1.1
I bought an iMac G4/800 running Tiger with Keynote 1.1.1 in the Apps folder. When I open the program, click on "File", both the Image Library + Samples selections are greyed out. I cannot seem to locate either of these folders on my computer. How can
-
Is It Possible To Downgrade iTunes 11.1.4.62?
I just upgraded my iTunes to 11.1.4.62 tonight and I am not happy with the cosmetic changes to iTunes that took place (Mainly in the TV shows and Podcasts Section). I do not hace an iOS 7 device so I am hoping that there is a way to possibly downgrad