Commit issue in xi
Hi,
While executing a particular namespace in sproxy transaction I am getting a message as 'successfull with empty result,commit may be required'.
But,in the code it says 'in asynchronous mode:no commit in proxy class,but from xi runtime'.
The data is processed successfully but is not getting posted.
Please help.
Thanks in advance!
Regards,
Surekha.
Actually,in the standard program the functions 'BAPI_TRANSACTION_COMMIT' and 'DB_COMMIT' have been commented during upgradation and there is a comment saying 'no commit in proxy class but from XI runtime (precondition: no errors)'.
what is the procedure for giving commit in XI runtime in asynchronou mode for a proxy interface?
Similar Messages
-
JMS - UserTransaction - Commit issue
Introduction
I am moving from WebSphere to Weblogic and have counterd an UserTransaction commit issue.
The code have not been modified, however the logic in Weblogic and Websphere behaves different.
The messagingsystem is Websphere MQ, in Weblogic I have QCF, destinations, host and port etc. in a .bindings file, and I have configured JMS server and JMS modules with corresponding jndi names.
I have verified that this configuration is correct throug a custom develop testtool deployed in WL, message is sent successfully to MQ.
The problem - description
However in my application i'm using UserTransaction and this is not working as expected.
I have two classes that communicate with MQ (AbcDAO.java and QueueBroker.java) AbcDAO.java creates a UserTransaction and communicates with Queuebroker throug a method called "SendToAutoS" this method retrives the corrilationId (for the message sendt to MQ) from Queuebroker.
The SendMessage method creates qcf, queueconnection, queue etc and sends the message to MQ. When i debug this steps (line:queueSender.send(theMessage) I can verify in MQ that a message count is registerted in mq on the correct queue, but it's not shown (since its not commited). However when performing finalize in Queuebroker, which close both session and connection, the messagecount is gone in MQ, and when returing to AbcDAO.java to perform ut.commit(); there is not any message on Queue.
For me it looks like the message is rolledback when session and connection closes.
Actions tried
If I change this line QueueBroker , transacted to false witch i understand sends message without the need to commit:
boolean transacted = false;
queueSession = queueConnection.createQueueSession(transacted, QueueSession.AUTO_ACKNOWLEDGE);
the message is sendt successfully to MQ. However now either commit or rollback on the UserTransaction is working with transacted=false.
I need the commit and rollback to be done on the UserTransaction for my application.
Anyone have an idea why this is not working?
The files - content
AbcDAO.java - that creates a usertransaction
ut = ServiceLocator.getInstance().getUserTransaction();
ut.begin();
msgCorId = sendToAutoS(userVO, messageSend, transactionQeueSend, transactionQeueFactory);
ut.commit();
//SendToAutoS - that calls the Queuebroker method - sendMessage
private String sendToAutoS(UserVO userVO, String message, String transactionQueue, String transactionQueueFactory) throws DaoException {
try {
log.debug("..");
return QueueBroker.getInstance().sendMessage(message, transactionQueue, transactionQueueFactory);
} catch (BrokerException be) {
log.error("BrokerException", be);
QueueBroker.java - that sends the message to MQ
public String sendMessage(String message, String transactionQueue, String transactionQueueFactory) throws BrokerException {
try {
// Get service locator
ServiceLocator sl = ServiceLocator.getInstance();
// Create QueueConnectionFactory with help form service locator
queueConnectionFactory = (QueueConnectionFactory) sl.getQueueConnectionFactory(transactionQueueFactory);
// Create QueueConnection
queueConnection = queueConnectionFactory.createQueueConnection();
// Create QueueSession, transacted - client has to commit !
boolean transacted = true;
queueSession = queueConnection.createQueueSession(transacted, QueueSession.AUTO_ACKNOWLEDGE);
// Create queue with help from service locator
queue = (Queue) sl.getQueue(transactionQueue);
// Create QueueSender
queueSender = queueSession.createSender(queue);
// Create message and sent it
Message theMessage = null;
theMessage = queueSession.createTextMessage(message);
// Log time
long time = System.currentTimeMillis();
// Set log time on message
theMessage.setJMSTimestamp(time);
// Send
queueSender.send(theMessage);
queueSender.close();
// Return unique messageID for message just been sent
return theMessage.getJMSMessageID();
} catch (JMSException je) {
BrokerException ex = new BrokerException();
ex.setMessageKey("requisition.jms.broker.queue");
Object[] o = {"SEND", "String to Autosys = " + message};
ex.setMessageArgs(o);
ex.setRootCause(je);
throw ex;
} catch (ServiceLocatorException e) {
BrokerException ex = new BrokerException();
ex.setMessageKey(e.getMessageKey());
ex.setMessageArgs(e.getMessageArgs());
ex.setRootCause(e.getRootCause());
throw ex;
} finally {
// Clean up - close connection and session if exist
if (queueConnection != null) {
finalize();
* Finalize queue handling
* @throws BrokerException e
protected void finalize() throws BrokerException {
try {
// Close connections
queueSession.close();
queueConnection.close();
} catch (JMSException je) {
BrokerException ex = new BrokerException();
ex.setMessageKey("requisition.jms.broker.queue");
Object[] o = {"FINALIZE", "Close connections" };
ex.setMessageArgs(o);
ex.setRootCause(je);
throw ex;
Edited by: reZer on 14.sep.2011 13:05
Edited by: reZer on 14.sep.2011 13:06I know you are trying to send a JMS message, but just because this is true the generic JMS forum is not automatically the place you should ask questions like this. Your real beef is with the container you are using (Weblogic), UserTransaction and persistent JMS messages in combination with the specific JMS provider you are using.
You will have far more chance to get help with this problem if you ask it in the Weblogic forum which you can also find on this very website. If you make a new post, be sure to create a link to it here so people can follow it.
https://forums.oracle.com/forums/category.jspa?categoryID=193
And perhaps more specific:
WebLogic Server - JMS -
SAP FS-CD - VPVA Partial commit issue
When we are running VPVA with start current run, dunning will be escalated and the same will be viewed in VYM10 transaction for the dunning history. Also we can view the current dunning level in FPL9 transaction by choosing the below menu
FPL9->SETTING->ADDITIONAL FIELD->SHOW->OK.
Here the issue is, after running VPVA with start current run we are able to view only in VYM10 but its not getting reflected in FPL9 addtional items. Still the dunning level shows as 00.
How to avoid this partial commit issue. FS-CD Experts please advise on this.If FSCD items contain multiple business areas, then there is a possibility that the business area in FI might get populated with a blank space.
If this issue is occurring with all the posting to FI where the BSEG table ( where as in case of new GL, RBUSA in table FAGLFLEXT for total and FAGLFLEXA for item) is not getting populated with business area then there might be some reconciliation issues depending upon the GL (new or old) used. If you are using new GL, you might have to check if document splitting functionality is activated in new GL (mySAPERP which is ECC 6.00 and pack SAPKH6001 and above) and will have to maintain the Business Area as a splitting rule. Additionally refer to note 990612 & check FM FI_DOCUMENT_POST. -
Application hanging after commit issued, how to tell why?
Hi All,
We're using adf bc, jsp's and jdev 10.1.2.
The scenario is this.. I have 2 views based on the same entity(called Milk). One view is the control view Milk i.e. straightforward select, no where clause. The other one is based on a join with another entity (Area), which uses where clause parameters to output a row of Milk for every entry on the Area entity. So basically for every area there is, a milk row will be output even if that row does not exist on the milk table.
So my problem was when the user edited and saved a row which didn't actually exist on the database, the program would hang. Editing of rows that do exist pose no problem at all. So then I thought maybe I should create these rows first so that they would physically exist on the database before the edit. Still to no avail..
If it's just one row created or many rows, once the commit is issued, the application hangs. I've debugged it and nothing happens once it executes the commit line, there are no error messages, it just never progresses past this line.
I've tested with the App Module tester and I can create rows here fine. Obvisouly something is wrong or it wouldn't be happening. How can I tell why it's hanging? Or can anyone suggest what I can do. It is extremely crucial that I fix this soon so I would really appreciate any help that anyone can give me.
Thanks in advance,
Liz.Maybe you should look into
/var/log/messages.log
/var/log/daemon.log
/var/log/kernel.log
/var/log/Xorg.0.log will be overridden, afaik.
Last edited by MadTux (2009-11-19 18:50:04) -
Error while passing date parameters in procedure and commit issue
Hi
1) I am doing a archiveing records and pls find my code below and i have couple of issue,pls find my code and want to ensure the commit is happening every 100000 rows inserted but i am archeiving a huge table but when i checks the table frequently it shows 0 records and after it shows count the actual rows around 20 million records.How can i ensure it commiting on every 100000 records. pls find my code my db version is 10g on windows
CREATE OR REPLACE PROCEDURE doins as
cnt number:=0;
FOR x IN (select * from Call_log
where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY'))
LOOP
INSERT INTO call_arch
select * from Call_log
where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY');
cnt := cnt + 1;
IF( cnt = 10000 )
THEN
cnt := 0;
commit;
END IF;
commit;
END LOOP;
2) Error while passing date as parameter i am getting following errors while passing date parameter pls find my code and errors
CREATE OR REPLACE PROCEDURE doins(p_date date) as
cnt number:=0;
begin
FOR x IN (select * from Call_log
where trunc(c_date) = to_char(p_date,'DD-MON-YYYY'))
LOOP
INSERT INTO call_arch
select * from Call_log
where trunc(c_date) = to_char(p_date,'DD-MON-YYYY');
cnt := cnt + 1;
IF( cnt = 10000 )
THEN
cnt := 0;
commit;
END IF;
commit;
END LOOP;
end;
exec doins(11-Aug-2008) then gives
SQL> exec doins(11-Aug-2008);
BEGIN doins(11-Aug-2008); END;
ERROR at line 1:
ORA-06550: line 1, column 16:
PLS-00201: identifier 'AUG' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
if i gave exec doins(11-08-2008) it gaves
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'DOINS'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
rgds
roshCREATE OR REPLACE PROCEDURE doins(p_date varchar2) as
cnt number:=0;
begin
FOR x IN (select A.rowid,A.* from Call_log A
where trunc(c_date) = to_date(p_date,'DD-MON-YYYY'))
--hope that's c_date columne is DATE datatype
LOOP
INSERT INTO call_arch
select * from Call_log
where rowid=x.rowid;
cnt := cnt + 1;
IF( cnt = 10000 )
THEN
cnt := 0;
commit;
END IF;
commit;
END LOOP;
end;
thats your correct procedure - but NOT CORRECT ISSUE.
You should use bulk collect with limit clause and forall clause to do it faster!!! Or Merge clause. -
JDev 9.0.3.3 Commit issue when using Transaction DataSource
Hi,
Env: JDev 9.0.3.3/WL 6.0 sp1/Oracle 8i
We have successfully deployed our application in 3-tier(remote mode) in JDev 9.0.3.2. using JClient, EO/VO, EJB Session Facade (BMT).
Now we are planning to use JDev 9.0.3.3
In JDev 9033 with the same code base we have issues after Commit.
We are using ejb.txn.type=global (default) and Weblogic Transactional DataSource. It gives following error after Committing and when we navigate to some other row:
=====================================================
[690] BaseSQLBuilder Executing DML ... (Update)
[691] Executing DML...
[692] UPDATE CISDBA.DCX_X_SAVED_SEARCH SavedSearch SET DCX_MODEL_YEAR=?,DCX_USAGE_VEHICLE_FAMILY=?,DCX_END_ITEMS=?,DCX_RECORD_STATUS=? WHERE DCX_ID=?
[693] cStmt = conn.prepareCall(" UPDATE CISDBA.DCX_X_SAVED_SEARCH SavedSearch SET DCX_MODEL_YEAR=?,DCX_USAGE_VEHICLE_FAMILY=?,DCX_END_ITEMS=?,DCX_RECORD_STATUS=? WHERE DCX_ID=?"); // JBO-JDBC-INTERACT
[694] cStmt.setObject(1, "2004"); /*DcxModelYear*/ // JBO-JDBC-INTERACT
[695] cStmt.setObject(2, "LX"); /*DcxUsageVehicleFamily*/ // JBO-JDBC-INTERACT
[696] cStmt.setObject(3, "All"); /*DcxEndItems*/ // JBO-JDBC-INTERACT
[697] cStmt.setObject(4, "All"); /*DcxRecordStatus*/ // JBO-JDBC-INTERACT
[698] // ERROR: Unknown data type java.lang.Long // JBO-JDBC-INTERACT
[699] cStmt.setObject(5, "206"); /*DcxId*/ // JBO-JDBC-INTERACT
[700] cStmt.execute(); // JBO-JDBC-INTERACT
[701] cStmt.close(); // JBO-JDBC-INTERACT
BaseCostInvestCost VO before postChanges...
this.getWhereClause(): null
isDirty() before executeQuery...
this.getWhereClause(): null
isDirty() after executeQuery...
BaseCostInvestCost VO before postChanges...
this.getWhereClause(): null
isDirty() before executeQuery...
this.getWhereClause(): null
isDirty() after executeQuery...
[702] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
[703] BaseSQLBuilder: setSavepoint 'BO_SP' ignored
BaseCostInvestCost VO before postChanges...
this.getWhereClause(): null
isDirty() before executeQuery...
this.getWhereClause(): null
isDirty() after executeQuery...
BaseCostInvestCost VO before postChanges...
this.getWhereClause(): null
isDirty() before executeQuery...
this.getWhereClause(): null
isDirty() after executeQuery...
[704] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
[705] EJBTxnHandler: Commited txn
[706] BaseCostInvestCostView2 notify COMMIT ...
[707] BaseCostInvestCostView1 notify COMMIT ...
[708] StdCostView1 notify COMMIT ...
[709] AltCostView1 notify COMMIT ...
[710] PaperCarView1 notify COMMIT ...
[711] InvestCostItemView1 notify COMMIT ...
[712] SavedSearchView1 notify COMMIT ...
[713] AltCostView1_BaseInvestToAltViewLink_AltCostView notify COMMIT ...
[714] InvestCostItemView1_BaseInvestToInvestItemViewLink_InvestCostItemView notify COMMIT ...
[715] PaperCarView_BaseCostTrackedVehicleViewLink_PaperCarView notify COMMIT ...
[716] VehicleProgramLOV1 notify COMMIT ...
[717] SubDeptLOV1 notify COMMIT ...
[718] Transaction timeout set to 28800 secs
[719] Column count: 14
[720] ViewObject : Reusing defined prepared Statement
[721] QueryCollection.executeQuery failed...
[722] java.sql.SQLException: The transaction is no longer active (status = Committed). No further JDBC access is allowed within this transaction.
void weblogic.jdbcbase.jts.Connection.checkIfRolledBack()
Connection.java:468
void weblogic.jdbcbase.jts.Statement.setMaxRows(int)
Statement.java:179
void weblogic.jdbc.rmi.internal.StatementImpl.setMaxRows(int)
StatementImpl.java:82
void weblogic.jdbc.rmi.SerialStatement.setMaxRows(int)
SerialStatement.java:132
void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
QueryCollection.java:534
void
===================================================Hi Carsten,
I tried to reproduce your problem, but couldn't. Let me explain what steps I executed and perhaps you can advise where I've not matched your steps.
--Using build jdeveloper 9.0.3.3.1203, I built a new bc4j project containing a dept-emp default bc4j project (deptEntity, empEntity, deptView, empView, deptempFKAssoc, deptempFKViewLink, ApplicationModule).
--In dos shell, I went to the directory \jdevdir\jdev\bin and ran setvars -go to set the correct jdk version
--In the dos shell, in the directory \jdevdir\j2ee\home I executed the following command to install oc4j:
java -jar oc4j.jar (defaults pswd to welcome for admin)
--I remoted the appmodule to EJB Session Bean (BMT) and created a new deployment profile using the 9ias configuration for the application module.
--I deployed the bc4j objects to oc4j
--I created a new project
--In this project I created a new jclient master-detail form using the above project's application module for the data model
--I saved all and compiled the jclient project
--I ran the jclient form and inserted a master record
--I committed the transaction successfully
--I browsed records, then edited a record
--I committed the transaction successfully, then browsed.
Is there something I've missed? Did you migrate your project and not start by creating a new project? Is there something special about the database schema you are using?
Thanks,
Amy -
Stateless Release mode and the Commit issue
What are the implications of setting all the application modules to Stateless Release mode rather than Stateful?
I’ve read the documentation about this, but I need hands on expert’s opinions
Specially for a Web Application that a lot of public users will use?
We have an issue of the way commit work, if we edit a page and then navigate without saving to another page and then save at this second page, the commit will save all changes that have been done in both pages, even of the two pages are bound to two different VOs and two different Application modules, it is really strange, it seems that I need to know that the user is leaving the page so I can rollback, I do not understand this default behavior of ADF/BC ..
Any work around? Any opinions?Hi,
the behavior is correct as it commits all pending changes. The release mode tells ADF BC how the application module is released to the pool if no longer needed by the user session. If release mode is stateful then the state of the current AM is passivated so it can be recovered. This has nothing to do with the page to page navigation.
If you want to undo changes performed on a page when navigation off the page, you call refresh(Row.DB_ROW...) on the current row
Frank -
IChat for inter office comm. issues with seeing any other buddies on the sa
Hello Apple Forums!
I have a question regarding my ichat service running on a 10.6.2 machine (x-serve)
I had 1 user today that I set up on our ichat, and when I added her, logged in to the server, however no buddy list. My experience with all other users is when they are added, they immediately see all the other users who are logged in. Im not sure how to resolve this. I know have to add buddies to all the internal employees in order for them to see her. Can someone please tell me what I am doing wrong?
Please let me know what other information you need.
Thanks,
Originally posted in wrong 10.5 forum, reposting responses here:
tibor.moldovan
If the service is running OK for the other users, it is possible that that user's iChat program needs to have its preferences cleared.
username/Library/Preferences/com.apple.iChat...
and then set up that iChat account again.
If you try to set up a test account does the same thing happen?
Tim Harris
Hello,
This is the iChat 10.5 server forum. There is a 10.6 forum which is perhaps a better place to post your question.
I know have to add buddies to all the internal employees in order for them to see her. Can someone please tell me what I am doing wrong?
Are you saying you HAVE added them, and none show?
And finally my response to the above 2 Q's:
cpguru21
tibor.moldovan:
I have researched this issue for a while now. I have cleared all the local preferences on the end users machine. I have not set up a test user, however I will. All other clients I have added recently, the entire "workgroup" (everyone part of the same workgroup) show up. Come to think of it, this particular user is in more than one workgroup. Hmmm. Maybe this is related to what is going on? If the "workgroup" group is not primary, then she wouldn't necessarily see everyone else?
Tim:
Adding (or sending buddy requests) to the other users in the ichat server (this is a local ichat for interoffice comm only) when accepted, those "added" buddies show up fine and can communicate.Thanks for reply Tim.
The "issue" may not be an issue. the issue may be my understanding of workgroups and how they come into play for iChat.
My initial problem/issue:
when I added a particular user to ichat, from our internal jabber (ichat) server, the account added fine, however there were no other users in the list.
all other users that I added:
when adding to our internal ichat server, all of the other users showed up.
The difference between the users that had everyone show up and the one that had no other users show up:
all users are part of workgroup "workgroup". The user I added that had no "buddies" in her ichat list, was also part of a 2 other groups "workgroup", "fin", and "acctpay".
So i guess my question is, how can I make the user with no buddies, show all the other users on the ichat server?
thanks! -
I am following the Creating UIX Browse and Insert Forms tutorial ( in the JDeveloper 10g Help), and when I finish it, my commit buttons do not seem to work. If I go to my browse page after doing a commit, the item is there, but if the browser session is ended, the item is gone. I essentially have everything set up like the tutorial says, but it doesnt work correctly.
So, the commit is not actually happening. Any ideas what the issue is?I followed the Tutorial as listed above, and went through it exactly, IE:
I created
(DataPage) /browserPage
(DataPage) /createEmpPage
(DataAction) /cancelAction
(DataAction) /createEmpAction
Page Links go from /createEmpPage to /cancelAction, from /browserPage to /createEmpAction and from /createEmpPage to /browserPage. Page forwards go from /cancelAction to /browserPage(success) and /createEmpAction to /createEmpPage(success) and /createEmpPage to /browserPage (empPage)
/createEmpAction has a create action attached to it for the table in question.
there have been rollback and commit actions dragged as buttons onto createEmpPage, but the commit does not work. Rollback does. The commit button simply adds it to what appears to be the current transaction, but the current transaction doesnt get commited. -
Hi,
I want to send data using an ABAP proxy from SAP ECC to PI.
The location where I call the method is in MV50AFZ1 Form uxerexit_delete_document
In my opinion it is not wise to execute a commit work statement in this location. The proxy however needs a commit work to send the data.
I also tried using a CALL FUNCTION ... IN UPDATE TASK. This also doesn't trigger the proxy to send the data.
(and it is not allowed te execute a commit in update task .. .because it's already a "commit".
Is there a way to get this thing working in this way? Or do you always have to program a separate program for sending the data with a proxy??
Thanks
RonHi Ron,
Try submitting a report as a background job from the user exit...and inside this report you can write the code to call the proxy + commit.
*Submit report as job(i.e. in background)
data: jobname like tbtcjob-jobname value
' TRANSFER TRANSLATION'.
data: jobcount like tbtcjob-jobcount,
host like msxxlist-host.
data: begin of starttime.
include structure tbtcstrt.
data: end of starttime.
data: starttimeimmediate like btch0000-char1.
Job open
call function 'JOB_OPEN'
exporting
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
importing
jobcount = jobcount
exceptions
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
if sy-subrc ne 0.
"error processing
endif.
Insert process into job
SUBMIT zreport and return
with p_param1 = 'value'
with p_param2 = 'value'
user sy-uname
via job jobname
number jobcount.
if sy-subrc > 0.
"error processing
endif.
Close job
starttime-sdlstrtdt = sy-datum + 1.
starttime-sdlstrttm = '220000'.
call function 'JOB_CLOSE'
exporting
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
exceptions
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
others = 99.
if sy-subrc eq 0.
"error processing
endif. -
Distributed Document Capture and UCM commit issue: 302 Moved Temporarily
I am installing and configuring Oracle Document Capture and Oracle Distributed Document Capture to commit documents to Oracle UCM.
I am unable to commit documents to UCM because of the following error: "302 Moved Temporarily". What can be wrong with my configuration?
Error log from the ODDC:
Wed Dec 15 10:20:14 CET 2010 INFO Document file name is D:\oracle\Document Capture\Batches\001\00000001\00000001_1.
Wed Dec 15 10:20:14 CET 2010 INFO Begin Check In Process.
Wed Dec 15 10:20:14 CET 2010 INFO Idc service = CHECKIN_UNIVERSAL.
Wed Dec 15 10:20:14 CET 2010 INFO Parsing xml to obtain fields data.
Wed Dec 15 10:20:14 CET 2010 INFO dDocTitle: oddc.
Wed Dec 15 10:20:14 CET 2010 INFO dDocType: Application.
Wed Dec 15 10:20:14 CET 2010 INFO Field DocAuthor: weblogic.
Wed Dec 15 10:20:14 CET 2010 INFO dSecurityGroup: Public.
Wed Dec 15 10:20:14 CET 2010 INFO dDocAuthor: weblogic.
Wed Dec 15 10:20:14 CET 2010 INFO dDocAccount: .
Wed Dec 15 10:20:14 CET 2010 INFO primaryFile: D:\oracle\Document Capture\Batches\001\00000001\00000001.1.
Wed Dec 15 10:20:15 CET 2010 SEVERE Failed to check in document. Exception: {0}. Error is: oracle.stellent.ridc.protocol.http.HttpProtocolException: HTTP/1.1 302 Moved Temporarily
at oracle.stellent.ridc.protocol.http.IdcHttpProtocol.writeRequest(IdcHttpProtocol.java:171)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:140)
at com.oracle.capture.UCM11g.Driver.checkIn(Driver.java:192)
at com.oracle.capture.UCM11g.ComDriver.checkIn(ComDriver.java:42)
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 com.jniwrapper.win32.com.server.IDispatchServer.invoke(SourceFile:209)
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 com.jniwrapper.win32.com.server.CoInterfaceVTBL$VirtualMethodCallback.b(SourceFile:232)
at com.jniwrapper.win32.com.server.CoInterfaceVTBL$VirtualMethodCallback.callback(SourceFile:135)
at com.jniwrapper.Callback.enterPoint(SourceFile:222)
at com.jniwrapper.Function.invokeCFunc(Native Method)
at com.jniwrapper.FunctionCall.a(SourceFile:126)
at com.jniwrapper.FunctionCall.call(SourceFile:34)
at com.jniwrapper.Function.invoke(SourceFile:188)
at com.jniwrapper.Function.invoke(SourceFile:212)
at com.jniwrapper.win32.MessageLoopThread$LoopThread.run(MessageLoopThread.java:489)
Error log from the WLS - UCM_server1:
####<2010-12-15 10:23:52 CET> <Info> <ServletContext-> <???> <UCM_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <8857620d73b0a621:-7e6d4fca:12ce951b643:-7ffd-0000000000000045> <1292405032703> <BEA-000000> <Failed access to redirected secure URL>
I am using Oracle Distributed Document Capture Release 10gR3 and Content Server 11g Release 1.
I configured the Oracle UCM 11g Commit Driver:
user: my_user, password: my_password, Server URL: http://localhost:16200/cs
When I am trying to commit a batch I am getting the following response:
HTTP/1.1 200 OK
Cache-Control: no-cache
Date: Wed, 15 Dec 2010 09:33:06 GMT
Content-Length: 664
Content-Type: text/plain; charset=utf-8
Set-Cookie: IDCCS_SESSIONID=yycVNLLSL1hJ3P2mQkQrjss7XLZY23r8vFbt2n4wTj7VJ2c9xQ01!-1355344816; path=/; HttpOnly
X-ORACLE-DMS-ECID: 0000IndO3b39_aW5Pzw0yd1D28UE00000t
X-Powered-By: Servlet/2.5 JSP/2.1
<?hda version="11gR1-11.1.1.3.0-idcprod1-100505T121221" jcharset=UTF8 encoding=utf-8?>
@Properties LocalData
IdcService=PING_SERVER
ClientEncoding=UTF8
UserTimeZone=UTC
UserDateFormat=iso8601
addAlert=1
ActAsAnonymous=1
dUser=anonymous
blDateFormat=yyyy-MM-dd HH:mm:ssZ!tUTC!mAM,PM
refreshSubjects=
refreshMonikers=
changedSubjects=
refreshSubMonikers=
blFieldTypes=StatusMessage message
RedirectUrl=/cs/
changedMonikers=
idcToken=
IsJava=1
@end
@ResultSet USER_ALERTS
3
alertId
alertMsg
alertUrl
csWeblayout8dot3Error
<$lcMessage('!csWeblayout8dot3Error')$>
@end
@ResultSet UserAttribInfo
2
dUserName
AttributeInfo
anonymous
account,#none,15,role,guest,15
@end
HTTP/1.1 302 Moved Temporarily
Date: Wed, 15 Dec 2010 09:33:06 GMT
Transfer-Encoding: chunked
Location: http://localhost:16200/cs/login/login.htm
X-ORACLE-DMS-ECID: 0000IndO3c19_aW5Pzw0yd1D28UE00000u
X-Powered-By: Servlet/2.5 JSP/2.1
0113
<html><head><title>302 Moved Temporarily</title></head>
<body bgcolor="#FFFFFF">
<p>This document you requested has moved temporarily.</p>
<p>It's now at http://localhost:16200/cs/login/login.htm.</p>
</body></html>
0000
The Request:
POST /cs HTTP/1.1
User-Agent: Java; Stellent CIS 11g
IdcVersion: 11.1.1
Host: 127.0.0.1:16200
Content-Length: 124
Content-Type: text/hda; charset=UTF-8
IsJava=1
<?hda jcharset=UTF-8?>
@Properties LocalData
IdcService=PING_SERVER
UserTimeZone=UTC
UserDateFormat=iso8601
@end
POST /cs HTTP/1.1
User-Agent: Java; Stellent CIS 11g
IdcVersion: 11.1.1
Authorization: Basic d2VibG9naWM6d2VibG9naWMx
Host: localhost:16200
Cookie: $Version=0; IDCCS_SESSIONID=Z2ZpNLQbKchmg2tVB5fpQLL2pPphT4BFX18GJPbkqkxMxLVMhbLZ!-1355344816; $Path=/
Content-Length: 28963
Content-Type: multipart/form-data; boundary=67xMPN-krvICaGSzKNTkd02u8MLyarA
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="IsJava"
Content-Type: text/plain; charset=US-ASCII
1
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="ClientEncoding"
Content-Type: text/plain; charset=US-ASCII
UTF-8
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="IdcService"
Content-Type: text/plain; charset=UTF-8
CHECKIN_UNIVERSAL
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="UserTimeZone"
Content-Type: text/plain; charset=UTF-8
UTC
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="UserDateFormat"
Content-Type: text/plain; charset=UTF-8
iso8601
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dSecurityGroup"
Content-Type: text/plain; charset=UTF-8
Public
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dDocAccount"
Content-Type: text/plain; charset=UTF-8
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dDocAuthor"
Content-Type: text/plain; charset=UTF-8
weblogic
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dDocType"
Content-Type: text/plain; charset=UTF-8
Application
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="dDocTitle"
Content-Type: text/plain; charset=UTF-8
oddc
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="DocAuthor"
Content-Type: text/plain; charset=UTF-8
weblogic
--67xMPN-krvICaGSzKNTkd02u8MLyarA
Content-Disposition: form-data; name="primaryFile"; filename="00000002.1"
Content-Type: application/octet-stream; charset=ISO-8859-1
˙Ř˙ŕ<file content....>"302 Moved Temporarily" is a web server error (I googled it - see e.g. http://www.checkupdown.com/status/E302.html)
Two recommendations that you can try:
- do not use 'localhost' - use computer assigned name, or at worst IP address
- in my system, Server URL is set to http://ecm-base:16200/cs/idcplg (from ODC). Try to modify yours accordingly. -
Hi,
Version 10204.
Please consider the following case.
The application is inserting 58K rows into a table and commit and the end pf the process.
In another session after insert complete i am running "select count(*) ... " against the populated table.
Each time i am running the select count(*) i am getting increasing number of rows until i see all the 58K rows.
Could one suggest a reason for such a case ?
ThanksHi,
Please find that the commit parameters are the same in both instances:
First DB:
SQL> show parameter db_name
NAME TYPE VALUE
db_name string qcrm
SQL> show parameter commit
NAME TYPE VALUE
commit_point_strength integer 1
commit_write string
max_commit_propagation_delay integer 0Second DB:
SQL> show parameter db_name
NAME_COL_PLUS_SHOW_PARAM TYPE VALUE_COL_PLUS_SHOW_PARAM
db_name string lcrm
SQL> show parameter commit
NAME_COL_PLUS_SHOW_PARAM TYPE VALUE_COL_PLUS_SHOW_PARAM
commit_point_strength integer 1
commit_write string
max_commit_propagation_delay integer 0Thanks -
ADF Service Interface: two-phase commit issue for multiple data sources
In FusionApps, For a service interface we had to use two DataSource resources (in the ejb-jar.xml),
one is ApplicationServiceDBDS for SI and the other one is ApplicationDBDS(I don’t know the exact reason why this is needed, but when running the webservice, Framework was throwing an error asking for this) After adding these two, now(while running the webservice) we’re caught up with an error saying that unable to participate in two phase commit. I think this is because we added two dataSources, if we just use one dataSource everything is working fine.
Error message from app server:
"JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source=ApplicationDB"
we have made the changes to ApplicationDB as said in the error message, but then the server is failing to start because of this.Hi,
this is what the doc says - though not about two phase commit but transaction sharing:
"At runtime, the calling client and the ADF service may or may not participate in the same transaction, depending on the protocol used to invoke the service (either SOAP or RMI). Only the RMI protocol and a Java Transaction API (JTA) managed transaction support the option to call the service in the same transaction as the calling client."
When your application accesses a remote ADF Business Components service, each remote call is stateless, and the remote service will not participate in the same transaction as the business component that uses a service-enabled application module's service interface.
In the majority of the cases, calls to remote services will be informational in nature and will not make changes to remote objects. However, if you must use a remote service to make changes, then keep these points in mind:
An exception thrown by the remote service will cause the local transaction to fail.
If you successfully call a remote service that results in modifying data, and then subsequently your local transaction fails for any reason, then it is the responsibility of your error handling code to perform a compensating transaction against the remote service to "undo" the previous change made."
http://docs.oracle.com/cd/E23943_01/web.1111/b31974/bcextservices.htm
Frank -
Hi All ,
I am try to insert a record for my table , i am using
factory = ConnectionHandler.getEntityMgrFactory();
em = factory.createEntityManager();
em.getTransaction().begin();
em.persist(grplevel);
em.getTransaction().commit();
(grplevel is an object) when it runs em.getTransaction().commit() method (last line) it gives this error :
org.apache.openjpa.persistence.InvalidStateException: Detected reentrant flush. Make sure your flush-time instance callback methods or event listeners do not invoke any operations that require the in-progress flush to complete.
can any one help me
ThanksHello,
The exception seems to indicate that application event might be being executed that causes a flush, and OpenJPA doesnt allow a flush to occur during a flush.
Since you are using OpenJPA, you might want to post on the Apache forum, but you might also check to see if you have any events registered that would get executed during the commit/flush that could in turn cause a flush to occur - for instance querying with FlushModeType.auto would cause a flush to occur. If that is the case, you might want to switch to using FlushModeType.Manual on the query.
Best regards,
Chris -
Cffridcolumn numberformat comma issue
Hi,
I'm using cfgrid cfgridcolumn to display data on a page. Somehow the following code does not show the comma. Cfgrid is in html format.
<cfgridcolumn name="InletFlueGasFlow_acfm" numberformat="9,999,999" header="Inlet Flue Gas Flow ACFM">
tried also with type
<cfgridcolumn name="InletFlueGasFlow_acfm" type="numeric" numberformat="9,999,999" header="Inlet Flue Gas Flow ACFM">
What is a valid numberformat? The Adobe documentation for cfgridcolumn says numberformat="format"
9 Optional digit placeholder. Same as _ but shows decimal places more clearly.
, Separates thousands with commas.
Any idea why my comma not showing?
Thanks.Is the data coming from a query? Is the query field numeric or a string of some kind? For example, although its number it could be stored in a varchar datatype which cfgrid might not see as numeric and not apply the format to.
Maybe you are looking for
-
im trying to downlaod itunes to my computer i have windows 7 home preimum 32bit so i meet what u need to downlaod it but i will hit run or save either or it will start downloading then it will run the security check and then say that the program can
-
For some reason, Apple only synced a couple of my videos and not all of them. They are all .movs and play perfectly fine in iTunes. Now some won't get synced up and I have no clue to why. Any thoughts?
-
I've been searching for a few days, but can't find an answer to this.....Can the default MM/DD/YYYY group be changed? I've be trying to change to DD/MM/YY or something similar with no luck.
-
Sick of my tweens not being smooth. What is the secret?
I am not understanding why a simple alpha tween is staggering my processor every time and just making the tween seem slow and not smooth. I basically have a black movie clip that covers my screen, and i want it to fade up. I've tried using mctween fo
-
Hello all, I've set up the Apache and PHP server, downloaded Wordpress, which worked on my local computer with the IP address of 192.168.1.100. Then, I made the mistake of downloading MAMP, which must have messed up my IP address. I uninstalled MAMP,