Begin and Commit Transactions
I would like to use the begin and commit transaction in stored procedures in T-SQL. I wanted to know if I can put it around a few statements at once and so if there is an error in one of them none of the above statements will save and the procedure will
terminate. Will this work with just a begin transaction before all the statements and a commit transaction at the end of all the statements and if there is an error nothing will save, or is there more to it?
thank you
Debra has a question
Add also SET XACT_ABORT ON statement in your procedure.
I suggest you to read this very interesting article Structured
Error Handling Mechanism in SQL Server 2012, it should tell you everything you need to know.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles
Similar Messages
-
I have an package with source , data flow and destination to execute on begin and commit.
in the below i have just used for questioning purpose with diagram removing my Data Flow task explaining my problem
on execution, i get error as
[Execute SQL Task] Error: Executing the query "COMMIT TRAN DimCompanyCode" failed with the following error: "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.". Possible failure reasons: Problems with the query, "ResultSet"
property not set correctly, parameters not set correctly, or connection not established correctly.
as mentioned , i have checked the ResultSet, parameters , connection establish.. all are fine.
Kindly advice on what has to be done.
ShanmugaRajTo avoid this error, the RetainSameConnection property should set to 'True' for the Connection Manager - Application_DB.
Narsimha -
How to Commit transaction even the trigger fails?
Hi Everyone,
I got a situation here, i have two tables and a trigger. A main table and a log table. Whenever a change happens in the main transaction , a log details will be inserted into the log table.
Am using sql server 2000 and "For insert,update,delete" in one trigger.
I am in need of commiting the original transaction even if the trigger fails. I mean the main table is so important for me, so all the transaction should commit in the main table no matter if some transactions details missed in the log table.
I tried with
begin try
-- statement
end try
begin catch
commit transaction
end catch.
But it doesnt works. My insert fails whenever the trigger fails. i want the transaction should continue even if the trigger fails...
Pls suggest me how to do it.. Thanx for your helpIf the trigger action is optional, it should not be in a trigger. The idea of a trigger is that it is part of the statement, so if the trigger fails, the statement fails.
As for what your alternatives are, it depends on which version on SQL Server you are using. You first say SQL 2000, but then you discuss TRY CATCH which was added in SQL 2005.
What always works is to have a separate process that scans the main table for changes and the update the log. It can be difficult to identify the changes, though. It helps if you are on SQL 2008 where you can use Change Tracking.
Another solution is to put a message on a Service Broker queue in the trigger, and then you have an activation procedure where you perform the operation with the log table. Of course, the SEND operation may fail, and you are back on square one. But it may
be less likely that this fails than producing the log operation if this is complex and fragile.
Also, a possibility is to add this statement to the trigger:
SET XACT_ABORT OFF
In this case, some errors in the trigger will not cause the statement to fail. More precisely, not errors that under normal circumstances terminates only the current statement, for instance PK violations, NOT NULL errors. There are still
plenty of errors that always aborts the batch and rolls back the open transaction. For instance, conversion errors often rolls back the transaction. Note that SET XACT_ABORT only has effect in SQL 2005 or later.
Erland Sommarskog, SQL Server MVP, [email protected] -
Perform transaction in creator [SetAutocommit(false) and commit()]
Hi,
I've finished one application with the Sun Java Studio Creator 2 but I've 2 technicals problems. One problem is about manage transactions.
In a validate button, I've to perform update with 2 tables for example (orders and orders_details).
My code:
ordersDataProvider.getCachedRowSet().acceptChanges();
orders_detailsDataProvider.getCachedRowSet().acceptChanges();
It works but when I've an error in the 'orders_detailsDataProvider.getCachedRowSet().acceptChanges();', the orders's changes into the database are not rollback.
I try the following:
try{
Context ctx=new InitialContext();
DataSource ds=(DataSource)ctx.lookup("java:comp/env/jdbc/moduleachat");
//Get a connection
conn=ds.getConnection();
/* Begin the transaction */
conn.setAutoCommit(false);
//update orders
ordersDataProvider.getCachedRowSet().acceptChanges();
//update order details
orders_detailsDataProvider.getCachedRowSet().acceptChanges();
/* Commit transaction */
conn.commit();
return "confirmPage";
}catch(Exception ex){
log(ex.getMessage(), ex);
//Rollback transaction
try{
conn.rollback();
}catch(SQLException esql){
log(esql.getMessage(), esql);
return null;
it doesn't work. When errors occurs in the orders_details's update, the orders's update is not still rollback. it seems like the connection I get is not in the same context of orders and orders details rowset context.
Can anyboby gives me a solution. It very important for a professional applicationI don't understand why nobody has solutions about my problems.
To creator team:
Tell us if it's a bug or not. I've try with 'acceptchanges(Connection conn)' but it doesn't work.
Yesterday i've searched for many hours solutions on internet and I've found that others guys have the same problem and in the CachedRowSet implementation there is a property called 'COMMIT_ON_ACCEPT_CHANGE'. This property is final and set to true. i don't see where we can set it to false. So every time we call acceptchanges(connection), even if connection is in setAutoCommit ( false ), the acceptchanges commit all changes directly. Is it a bug or not? I hope no because manage transactions must be one feature of Java Studio Creator's CachedRowSet.
Thanks -
Can we use Begin Tran and commit Tran
Hi,
Can we use Begin Tran and commit Tran in sql user defined fuctions?
Thanks,That's also documented:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5009.htm#SQLRF01208
"Restrictions on User-Defined Functions User-defined functions are subject to the following restrictions:
* User-defined functions cannot be used in situations that require an unchanging definition. Thus, you cannot use user-defined functions:
o In a CHECK constraint clause of a CREATE TABLE or ALTER TABLE statement
o In a DEFAULT clause of a CREATE TABLE or ALTER TABLE statement
*In addition, when a function is called from within a query or DML statement, the function cannot*:
o Have OUT or IN OUT parameters
o *Commit or roll back the current transaction, create a savepoint or roll back to a savepoint, or alter the session or the system. DDL statements implicitly commit the current transaction, so a user-defined function cannot execute any DDL statements.*
o Write to the database, if the function is being called from a SELECT statement. However, a function called from a subquery in a DML statement can write to the database.
o Write to the same table that is being modified by the statement from which the function is called, if the function is called from a DML statement.
" -
[SOLVDED]makepkg not wokking and [error: failed to commit transaction]
I had some problems with the liblzma.so.5, so I update the xz library, and it worked -the problem was with R, the statistic program-
pacman -S xz
After that, I tried to install some AUR programs, and got this error with the libzma.so.0. I read this thread and did:
sudo mv /usr/lib/liblzma.so /usr/lib/liblzma.so.0
AND
sudo ln -s /usr/lib/liblzma.so /usr/lib/liblzma.so.0
With this, the problem with that library did not appear, but when doing the makepkg with every package I tried, I got:
error: 'xbindkeys_config-0.1.3-2-x86_64.pkg.tar.xz': cannot open package file
After that, I did a total update of the system, but got this errors:
checking package integrity...
error: failed to commit transaction (invalid or corrupted package)
tzdata-2010n-1-x86_64.pkg.tar.xz is invalid or corrupted
glibc-2.12.1-3-x86_64.pkg.tar.xz is invalid or corrupted
alsa-lib-1.0.23-2-x86_64.pkg.tar.xz is invalid or corrupted
libxml2-2.7.7-2-x86_64.pkg.tar.xz is invalid or corrupted
glib2-2.26.0-2-x86_64.pkg.tar.xz is invalid or corrupted
shared-mime-info-0.80-1-x86_64.pkg.tar.xz is invalid or corrupted
exiv2-0.20-1-x86_64.pkg.tar.xz is invalid or corrupted
strigi-0.7.2-3-x86_64.pkg.tar.xz is invalid or corrupted
libxext-1.2.0-1-x86_64.pkg.tar.xz is invalid or corrupted
recordproto-1.14.1-1-any.pkg.tar.xz is invalid or corrupted
libxtst-1.2.0-1-x86_64.pkg.tar.xz is invalid or corrupted
scrnsaverproto-1.2.1-1-any.pkg.tar.xz is invalid or corrupted
libxss-1.2.1-1-x86_64.pkg.tar.xz is invalid or corrupted
libxcursor-1.1.11-1-x86_64.pkg.tar.xz is invalid or corrupted
kdelibs-4.5.3-1-x86_64.pkg.tar.xz is invalid or corrupted
oxygen-icons-4.5.3-1-any.pkg.tar.xz is invalid or corrupted
kdebase-runtime-4.5.3-1-x86_64.pkg.tar.xz is invalid or corrupted
amarok-2.3.2-3-x86_64.pkg.tar.xz is invalid or corrupted
audacious-plugins-2.4.0-3-x86_64.pkg.tar.xz is invalid or corrupted
avahi-0.6.27-7-x86_64.pkg.tar.xz is invalid or corrupted
bash-4.1.009-1-x86_64.pkg.tar.xz is invalid or corrupted
bluez-4.77-1-x86_64.pkg.tar.xz is invalid or corrupted
libevent-1.4.14b-2-x86_64.pkg.tar.xz is invalid or corrupted
chromium-7.0.517.44-1-x86_64.pkg.tar.xz is invalid or corrupted
fixesproto-4.1.2-1-any.pkg.tar.xz is invalid or corrupted
compositeproto-0.4.2-1-any.pkg.tar.xz is invalid or corrupted
db-5.1.19-2-x86_64.pkg.tar.xz is invalid or corrupted
pam-1.1.1-2-x86_64.pkg.tar.xz is invalid or corrupted
coreutils-8.6-1-x86_64.pkg.tar.xz is invalid or corrupted
curl-7.21.2-2-x86_64.pkg.tar.xz is invalid or corrupted
damageproto-1.2.1-1-any.pkg.tar.xz is invalid or corrupted
python2-2.7-3-x86_64.pkg.tar.xz is invalid or corrupted
dbus-python-0.83.1-2-x86_64.pkg.tar.xz is invalid or corrupted
udev-163-1-x86_64.pkg.tar.xz is invalid or corrupted
device-mapper-2.02.75-1-x86_64.pkg.tar.xz is invalid or corrupted
dhcpcd-5.2.8-1-x86_64.pkg.tar.xz is invalid or corrupted
dialog-1.1_20100428-2-x86_64.pkg.tar.xz is invalid or corrupted
elfutils-0.149-2-x86_64.pkg.tar.xz is invalid or corrupted
heimdal-1.3.3-2-x86_64.pkg.tar.xz is invalid or corrupted
evolution-data-server-2.32.0-2-x86_64.pkg.tar.xz is invalid or corrupted
libxinerama-1.1.1-1-x86_64.pkg.tar.xz is invalid or corrupted
randrproto-1.3.2-1-any.pkg.tar.xz is invalid or corrupted
libxrandr-1.3.1-1-x86_64.pkg.tar.xz is invalid or corrupted
libxcomposite-0.4.3-1-x86_64.pkg.tar.xz is invalid or corrupted
gdk-pixbuf2-2.22.1-1-x86_64.pkg.tar.xz is invalid or corrupted
gtk2-2.22.0-5-x86_64.pkg.tar.xz is invalid or corrupted
exo-0.3.107-2-x86_64.pkg.tar.xz is invalid or corrupted
pycairo-1.8.10-2-x86_64.pkg.tar.xz is invalid or corrupted
gobject-introspection-0.9.12-1-x86_64.pkg.tar.xz is invalid or corrupted
pygobject-2.26.0-2-x86_64.pkg.tar.xz is invalid or corrupted
gstreamer0.10-python-0.10.18-3-x86_64.pkg.tar.xz is invalid or corrupted
farsight2-0.0.22-1-x86_64.pkg.tar.xz is invalid or corrupted
x264-20101013-1-x86_64.pkg.tar.xz is invalid or corrupted
libvpx-0.9.5-1-x86_64.pkg.tar.xz is invalid or corrupted
libva-1.0.5-2-x86_64.pkg.tar.xz is invalid or corrupted
ffmpeg-25679-1-x86_64.pkg.tar.xz is invalid or corrupted
filesystem-2010.10-1-any.pkg.tar.xz is invalid or corrupted
libice-1.0.7-1-x86_64.pkg.tar.xz is invalid or corrupted
libsm-1.2.0-1-x86_64.pkg.tar.xz is invalid or corrupted
libxt-1.0.9-1-x86_64.pkg.tar.xz is invalid or corrupted
xulrunner-1.9.2.12-1-x86_64.pkg.tar.xz is invalid or corrupted
firefox-3.6.12-1-x86_64.pkg.tar.xz is invalid or corrupted
fluidsynth-1.1.3-1-x86_64.pkg.tar.xz is invalid or corrupted
fontsproto-2.1.1-1-any.pkg.tar.xz is invalid or corrupted
gamin-0.1.10-4-x86_64.pkg.tar.xz is invalid or corrupted
ghostscript-9.00-1-x86_64.pkg.tar.xz is invalid or corrupted
gnome-desktop-2.32.0-2-x86_64.pkg.tar.xz is invalid or corrupted
libxslt-1.1.26-2-x86_64.pkg.tar.xz is invalid or corrupted
gnome-doc-utils-0.20.2-2-any.pkg.tar.xz is invalid or corrupted
gnome-keyring-2.32.1-1-x86_64.pkg.tar.xz is invalid or corrupted
libglade-2.6.4-2-x86_64.pkg.tar.xz is invalid or corrupted
pygtk-2.22.0-3-x86_64.pkg.tar.xz is invalid or corrupted
gnome-menus-2.30.4-2-x86_64.pkg.tar.xz is invalid or corrupted
gnome-panel-2.32.0.2-2-x86_64.pkg.tar.xz is invalid or corrupted
perl-5.12.1-3-x86_64.pkg.tar.xz is invalid or corrupted
gtk-doc-1.15-2-any.pkg.tar.xz is invalid or corrupted
gvfs-1.6.5-2-x86_64.pkg.tar.xz is invalid or corrupted
imagemagick-6.6.4.10-1-x86_64.pkg.tar.xz is invalid or corrupted
iproute2-2.6.35-4-x86_64.pkg.tar.xz is invalid or corrupted
kernel26-2.6.35.8-1-x86_64.pkg.tar.xz is invalid or corrupted
kernel26-headers-2.6.35.8-1-x86_64.pkg.tar.xz is invalid or corrupted
libburn-0.8.8.pl00-1-x86_64.pkg.tar.xz is invalid or corrupted
djvulibre-3.5.23-1-x86_64.pkg.tar.xz is invalid or corrupted
libdmx-1.1.1-1-x86_64.pkg.tar.xz is invalid or corrupted
libfontenc-1.1.0-1-x86_64.pkg.tar.xz is invalid or corrupted
libgphoto2-2.4.10-1-x86_64.pkg.tar.xz is invalid or corrupted
mutagen-1.20-3-any.pkg.tar.xz is invalid or corrupted
libplist-1.3-2-x86_64.pkg.tar.xz is invalid or corrupted
libimobiledevice-1.0.3-1-x86_64.pkg.tar.xz is invalid or corrupted
libgpod-0.8.0-1-x86_64.pkg.tar.xz is invalid or corrupted
libgsf-1.14.18-2-x86_64.pkg.tar.xz is invalid or corrupted
libisofs-0.6.38-1-x86_64.pkg.tar.xz is invalid or corrupted
libproxy-0.4.6-2-x86_64.pkg.tar.xz is invalid or corrupted
libsasl-2.1.23-5-x86_64.pkg.tar.xz is invalid or corrupted
libpurple-2.7.5-1-x86_64.pkg.tar.xz is invalid or corrupted
libspectre-0.2.6-2-x86_64.pkg.tar.xz is invalid or corrupted
libxmu-1.1.0-1-x86_64.pkg.tar.xz is invalid or corrupted
libxpm-3.5.9-1-x86_64.pkg.tar.xz is invalid or corrupted
libxaw-1.0.8-1-x86_64.pkg.tar.xz is invalid or corrupted
libxdmcp-1.1.0-1-x86_64.pkg.tar.xz is invalid or corrupted
libxfont-1.4.3-1-x86_64.pkg.tar.xz is invalid or corrupted
libxft-2.2.0-1-x86_64.pkg.tar.xz is invalid or corrupted
libxkbfile-1.0.7-1-x86_64.pkg.tar.xz is invalid or corrupted
libxres-1.0.5-1-x86_64.pkg.tar.xz is invalid or corrupted
libxv-1.0.6-1-x86_64.pkg.tar.xz is invalid or corrupted
libxxf86dga-1.1.2-1-x86_64.pkg.tar.xz is invalid or corrupted
libxxf86vm-1.1.1-1-x86_64.pkg.tar.xz is invalid or corrupted
lvm2-2.02.75-1-x86_64.pkg.tar.xz is invalid or corrupted
man-pages-3.30-1-any.pkg.tar.xz is invalid or corrupted
mlocate-0.23.1-2-x86_64.pkg.tar.xz is invalid or corrupted
mpfr-3.0.0.p4-1-x86_64.pkg.tar.xz is invalid or corrupted
postgresql-libs-9.0.1-2-x86_64.pkg.tar.xz is invalid or corrupted
redland-1.0.12-2-x86_64.pkg.tar.xz is invalid or corrupted
openoffice-base-3.2.1-3-x86_64.pkg.tar.xz is invalid or corrupted
pidgin-2.7.5-1-x86_64.pkg.tar.xz is invalid or corrupted
python-3.1.2-2-x86_64.pkg.tar.xz is invalid or corrupted
python-urwid-0.9.9.1-2-x86_64.pkg.tar.xz is invalid or corrupted
rrdtool-1.4.4-2-x86_64.pkg.tar.xz is invalid or corrupted
ruby-1.9.2_p0-4-x86_64.pkg.tar.xz is invalid or corrupted
tdb-1.2.1-2-x86_64.pkg.tar.xz is invalid or corrupted
vte-0.26.1-1-x86_64.pkg.tar.xz is invalid or corrupted
terminator-0.95-2-x86_64.pkg.tar.xz is invalid or corrupted
vigra-1.7.0-4-x86_64.pkg.tar.xz is invalid or corrupted
vlc-1.1.4.1-2-x86_64.pkg.tar.xz is invalid or corrupted
wicd-1.7.0-6-any.pkg.tar.xz is invalid or corrupted
wireshark-cli-1.4.1-1-x86_64.pkg.tar.xz is invalid or corrupted
wireshark-gtk-1.4.1-1-x86_64.pkg.tar.xz is invalid or corrupted
xcb-proto-1.6-2-any.pkg.tar.xz is invalid or corrupted
xorg-iceauth-1.0.3-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-sessreg-1.0.6-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xcmsdb-1.0.3-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xbacklight-1.1.1-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xgamma-1.0.3-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xhost-1.0.3-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xinput-1.5.2-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xmodmap-1.0.5-1-x86_64.pkg.tar.xz is invalid or corrupted
nickle-2.70-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xrandr-1.3.3-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xrdb-1.0.6-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xrefresh-1.0.3-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xset-1.2.0-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xsetroot-1.0.3-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-server-utils-7.6-1-any.pkg.tar.xz is invalid or corrupted
xfce4-session-4.6.2-2-x86_64.pkg.tar.xz is invalid or corrupted
xorg-luit-1.1.0-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xpr-1.0.3-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xwd-1.0.3-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xwud-1.0.2-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-x11perf-1.5.2-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xcursorgen-1.0.4-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xkill-1.0.2-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-apps-7.6-1-any.pkg.tar.xz is invalid or corrupted
xorg-server-common-1.9.2-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-server-1.9.2-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-utils-7.6-5-x86_64.pkg.tar.xz is invalid or corrupted
xterm-266-1-x86_64.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.
What could i do?
Last edited by gromlok (2010-11-09 01:07:40)Well, I found this solution:
Reading this thread, when I did:
pacman -S libarchive
and after that a:
pacman -Syu
Everything worked again. I don't know why, and why with that particular library. Is someone could expand the information we would be grateful.
Thank you. -
Difference between Session method and call transaction
Hi,
please give me the differences between session method and call transaction,
briefly explaining synchronus , asynchronus, process, update.
Thanks in advanceHi Vijay Kumar
CLASSICAL BATCH INPUT (Session Method)
CALL TRANSACTION
BATCH INPUT METHOD:
This method is also called as CLASSICAL METHOD.
Features:
Asynchronous processing.
Synchronous Processing in database update.
Transfer data for more than one transaction.
Batch input processing log will be generated.
During processing, no transaction is started until the previous transaction has been written to the database.
CALL TRANSACTION METHOD :
This is another method to transfer data from the legacy system.
Features:
Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
Updating the database can be either synchronous or asynchronous. The program specifies the update type.
Transfer data for a single transaction.
Transfers data for a sequence of dialog screens.
No batch input processing log is generated.
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
Among the two methods call transaction is better compared to session bcoz data transfer is faster in it.
Differences between call transaction and session.
Session Method:
1) Data is not updated in the database table until the session is processed.
2) No sy-subrc is returned.
3) Error log is created for error records.
4) Updation is always synchronous.
Call Transaction Method:
1) Immediate updation in the database table.
2) sy-subrc is returned.
3)Error need to be handled explicitly.
4) updation can be synchronous as well as asynchronous.
2) ya u can use using the N mode no screen.
3)u can't handle multiple transaction in call transaction.
4) u can handle multiple transaction in session using the BDC_INSERT fm.
5)When u go to SM35 u can able to see the error records.
Which is best?
That depends on your requirement. Both of them have there advantages.
According to the situation u can choose any one of these.
difference between batch input and call transaction in BDC Session method.
1) synchronous processing.
2) can tranfer large amount of data.
3) processing is slower.
4) error log is created
5) data is not updated until session is processed.
Call transaction.
1) asynchronous processing
2) can transfer small amount of data
3) processing is faster.
4) errors need to be handled explicitly
5) data is updated automatically
For session method,these are the function modules to b used.
BDC_OPEN_GROUP
BDC_INSERT
BDC_CLOSE_GROUP
For call transaction,this is the syntax.
CALL TRANSACTION TCODE USING BDCDATA
MODE A or E or N
UPDATE A or S
MESSAGES INTO MESSTAB.
Take a scenario where we need to post documents in FB01 and the input file has say 2000 records (2000 documents, not line items in FB01 but 2000 records)
In the BDC call transaction method
We call the transaction FB01 2000 times (once for each record posting) and if the processing fails in record no 3 it can be captured and start with reocord 4.
Eg: Loop at itab.
call transaction FB01
capture errors
endloop.
In the session method.
We do not explicity call the transaction 2000 times, but all the records are appeneded into a session and this session is stored. The processinf of the session is done wwhenever the user wants it to be done. Hence the errors cannot be captured in the program itself
Check these link:
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://www.sap-img.com/abap/question-about-bdc-program.htm
http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
http://www.planetsap.com/bdc_main_page.htm
Batch Input Session method is asynchronous as told by others here. But the advantage of this is that you have all the error messages and the data for each transaction held persistantly. You don't have to code anything for processing them or writing the logs.
But at the same time, the same feature can be disadvantageous if you need to react to an error or if there are too many errors to manually correct in a session. Since the session are created in the program and its execution is done seperately, you loose the trackability of such transactions.
With a call transaction, what was a disadvantage above will become an advantage. Call transaction immediately gives you messages back and you can react to it in your program. But the disadvantage is that, if you have several hundreds of transactions to run, running them from within the program can be resource crunching affair. It will hamper the system performance and you cannot really distribute the load. Of course, you have some mechanisms with which you can overcome this, but you will have to code for it. Also, storing the messages and storing the errored transaction data etc will have to be handled by you in the program. Whereas, in batch input session, your program's job is to just create the session, after that everything is standard SAP system's responsibility.
Ideally, you should do a call transaction if the resources are not a problem and if it fails, put the errored transaction into a session.
You can decide based on the data volume that your BDC is processing. If data volume is high go for session else call transaction will do.The call transaction updates will be instantaneous where as session needs to be processed explictly after creation.
Session Method
1) Session method supports both small amount of data aswell as large amount of data
2) data processing is asynchronus and data updation is synchronus.
3) it process multiple apllication while perfomaning validations.
4) in session method data will be updated in data base only after processing session only.
5) system provide by default logfile for handling error records.
6) it supports both foreground aswell as background process
in bdc we use FM ...
bdc_open_group " for creating Session
bdc_insert " adding transaction and bdcdata table for updating database
bdc_close_group " for closing Session
Call Transaction
1) Call transaction exclusively for small amout of data
2) it supports only one apllication while perfoming validations
3) there is no default logfile, We can explicitly provide logic for creating logfile for handling error records.
we can create logfile by using structure....BDCMSGCOLL
4) it doesn't support background processing.
5) data processing is synchronous and Data updation is Synchronous( default), in
this method also supports daya updation in asynchronus process also.
syntax:
Call transaction <transaction-name> using BDCDATA
mode <A/N/E>
update <L/A/S>
messages into BDCMSGCOLL.
BDC:
Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
Features :
BDC is an automatic procedure.
This method is used to transfer large amount of data that is available in electronic medium.
BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).
BDC uses normal transaction codes to transfer data.
Types of BDC :
CLASSICAL BATCH INPUT (Session Method)
CALL TRANSACTION
BATCH INPUT METHOD:
This method is also called as CLASSICAL METHOD.
Features:
Asynchronous processing.
Synchronous Processing in database update.
Transfer data for more than one transaction.
Batch input processing log will be generated.
During processing, no transaction is started until the previous transaction has been written to the database.
CALL TRANSACTION METHOD :
This is another method to transfer data from the legacy system.
Features:
Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
Updating the database can be either synchronous or asynchronous. The program specifies the update type.
Transfer data for a single transaction.
Transfers data for a sequence of dialog screens.
No batch input processing log is generated.
For BDC:
http://myweb.dal.ca/hchinni/sap/bdc_home.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
http://www.sap-img.com/abap/learning-bdc-programming.htm
http://www.sapdevelopment.co.uk/bdc/bdchome.htm
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
Check these link:
http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
http://www.sap-img.com/abap/question-about-bdc-program.htm
http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
http://www.planetsap.com/bdc_main_page.htm
call Transaction or session method ?
Check the following links:
http://www.sap-img.com/bdc.htm
See below example code :
Call three FM : BDC_OPEN_GROUP,BDC_INSERT and BDC_CLOSE_GROUP.
Once you execute the program and it creates the session at SM35 Transaction.
Report : ZMPPC011
Type : Data upload
Author : Chetan Shah
Date : 05/05/2005
Transport : DV3K919557
Transaction: ??
Description: This ABAP/4 Program creates new Production Versions
(C223). It accepts tab-delimited spreadsheet input and
creates BDC sessions.
Modification Log
Date Programmer Request # Description
06/10/2005 Chetan Shah DV3K919557 Initial coding
report zmppc011 no standard page heading line-size 120 line-count 55
message-id zz.
pool of form routines
include zmppn001.
Define BDC Table Structure
data: begin of itab_bdc_tab occurs 0.
include structure bdcdata.
data: end of itab_bdc_tab.
Input record layout of Leagcy File
data: begin of itab_xcel occurs 0,
matnr(18) type c,
werks(4) type c,
alnag(2) type c,
verid(4) type c,
text1(40) type c,
bstmi like mkal-bstmi,
bstma like mkal-bstma,
adatu(10) type c,
bdatu(10) type c,
stlal(2) type c,
stlan(1) type c,
serkz(1) type c,
mdv01(8) type c,
elpro(4) type c,
alort(4) type c,
end of itab_xcel.
data: begin of lt_pp04_cache occurs 0,
matnr like itab_xcel-matnr,
werks like itab_xcel-werks,
alnag like itab_xcel-alnag,
plnnr like mapl-plnnr,
arbpl like crhd-arbpl,
ktext like crtx-ktext,
end of lt_pp04_cache.
data: v_ssnnr(4) type n,
v_lines_in_xcel like sy-tabix,
v_ssnname like apqi-groupid,
v_trans_in_ssn type i,
wa_xcel LIKE itab_xcel,
l_tabix like sy-tabix,
v_matnr like rc27m-matnr,
v_plnnr like mapl-plnnr,
v_plnal like mapl-plnal,
v_tcode like sy-tcode value 'C223',
v_plnty like plas-plnty value 'R',
v_objty like crhd-objty value 'A',
v_plpo_steus like plpo-steus value 'PP04',
v_verwe like crhd-verwe value '0007'.
Parameters
selection-screen: skip 3.
selection-screen: begin of block 1 with frame.
parameters: p_name like rlgrap-filename
default 'C:\My Documents\InputFile.txt'
obligatory,
bdc session name prefix
p_bdcpfx(6) default 'ZPVCRT'
obligatory,
number for transction per BDC session
p_trnssn type i
default 2000 obligatory,
retain the BDC session after successfull execution
p_keep like apqi-qerase
default 'X',
user who will be executing BDC session
p_uname like apqi-userid
default sy-uname
obligatory.
selection-screen: end of block 1.
possible entry list (F4 dropdown) for input file name
at selection-screen on value-request for p_name.
*-SELECT FILE FROM USERS LOCAL PC
call function 'WS_FILENAME_GET'
exporting
DEF_FILENAME = ' '
def_path = 'C:\Temp\'
mask = ',.,..'
mode = 'O'
title = 'Select File '(007)
importing
filename = p_name
RC =
exceptions
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
others = 5.
if sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
begin the show
start-of-selection.
read data from input file
perform transfer_xcel_to_itab.
loop at itab_xcel.
hang on to xcel line num
l_tabix = sy-tabix.
each line in the xcel file marks begining of new prod.version defn
if num-of-trnas-in-session = 0, create new BDC session
if v_trans_in_ssn is initial.
perform bdc_session_open.
endif.
begin new bdc script for rtg create trans
fill in bdc-data for prod.version maintenance screens
perform bdc_build_script.
insert the bdc script as a BDC transaction
perform bdc_submit_transaction.
keep track of how many BDC transactions were inserted in the BDC
session
add 1 to v_trans_in_ssn.
if the user-specified num of trans in BDC session is reached OR
if end of input file is reached, close the BDC session
if v_trans_in_ssn = p_trnssn or
l_tabix = v_lines_in_xcel.
perform bdc_session_close.
clear v_trans_in_ssn.
endif.
endloop.
top-of-page.
call function 'Z_HEADER'
EXPORTING
FLEX_TEXT1 =
FLEX_TEXT2 =
FLEX_TEXT3 =
FORM TRANSFER_XCEL_TO_ITAB *
Transfer Xcel Spreadsheet to SAP Internal Table *
form transfer_xcel_to_itab.
Read the tab-delimited file into itab
call function 'WS_UPLOAD'
exporting
filename = p_name
filetype = 'DAT'
IMPORTING
filelength = flength
tables
data_tab = itab_xcel
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_table_width = 4
invalid_type = 5
no_batch = 6
unknown_error = 7
others = 8.
if sy-subrc = 0.
sort the data
sort itab_xcel by matnr werks.
clear v_lines_in_xcel.
if no data in the file - error out
describe table itab_xcel lines v_lines_in_xcel.
if v_lines_in_xcel is initial.
write: / 'No data in input file'.
stop.
endif.
else.
if file upload failed - error out
write: / 'Error reading input file'.
stop.
endif.
endform.
FORM BDC_SESSION_OPEN *
Open BDC Session *
form bdc_session_open.
create bdc session name = prefix-from-selectn-screen + nnnn
add 1 to v_ssnnr.
concatenate p_bdcpfx v_ssnnr into v_ssnname.
open new bdc session
call function 'BDC_OPEN_GROUP'
exporting
client = sy-mandt
group = v_ssnname
keep = p_keep
user = p_uname
exceptions
client_invalid = 1
destination_invalid = 2
group_invalid = 3
group_is_locked = 4
holddate_invalid = 5
internal_error = 6
queue_error = 7
running = 8
system_lock_error = 9
user_invalid = 10
others = 11.
endform.
FORM BDC_BUILD_SCRIPT *
Build BDC *
form bdc_build_script.
data: l_arbpl like crhd-arbpl,
l_text1 like mkal-text1,
l_mdv01 like mkal-mdv01,
l_mapl like mapl.
clear bdc-data itab - begin of new bdc transaction
clear itab_bdc_tab.
refresh itab_bdc_tab.
read material cross reference tables to determine sap part#
clear : v_matnr, v_plnnr, v_plnal.
perform read_matnr_cross_ref using itab_xcel-matnr
itab_xcel-werks
changing v_matnr.
determine the version description to use
if itab_xcel-text1 is initial.
l_text1 = itab_xcel-verid.
else.
l_text1 = itab_xcel-text1.
endif.
determine the routing group# and group ctr# to use
perform read_routing .
determine the production line to use
if itab_xcel-mdv01 is initial.
if not provided in the file then:
prod line = work ctr on the last PP04 op of the rtg determined above
perform read_wc_on_last_pp04 using v_plnnr v_plnal
changing l_mdv01.
NOTE: when executing the above form\routine, if v_plnnr is initial
or v_plnal is initial, THEN l_mdv01 will automatically be
returned blank (ie initial)
else.
l_mdv01 = itab_xcel-mdv01.
endif.
build bdc script
perform bdc_build_script_record
fill in initial screen
using: 'X' 'SAPLCMFV' '1000',
' ' 'BDC_OKCODE' '=ENTE',
' ' 'MKAL-WERKS' itab_xcel-werks,
' ' 'MKAL-MATNR' v_matnr,
' ' 'MKAL_ADMIN-DISPO' space,
' ' 'MKAL-PLNNR' space,
' ' 'MKAL_ADMIN-STTAG' space,
' ' 'MKAL-PLNNG' space,
' ' 'MKAL-MDV01' space,
' ' 'MKAL-PLNNM' space,
click create button on initial screen and go to detail screen
'X' 'SAPLCMFV' '1000',
' ' 'BDC_OKCODE' '=CREA',
fill in the detail screen and go back to initial screen
'X' 'SAPLCMFV' '2000',
' ' 'BDC_OKCODE' '=CLOS',
' ' 'MKAL_EXPAND-MATNR' v_matnr,
' ' 'MKAL_EXPAND-VERID' itab_xcel-verid,
' ' 'MKAL_EXPAND-TEXT1' l_text1,
' ' 'MKAL_EXPAND-BSTMI' itab_xcel-bstmi,
' ' 'MKAL_EXPAND-BSTMA' itab_xcel-bstma,
' ' 'MKAL_EXPAND-ADATU' itab_xcel-adatu,
' ' 'MKAL_EXPAND-BDATU' itab_xcel-bdatu,
' ' 'MKAL_EXPAND-PLTYG' v_plnty,
' ' 'MKAL_EXPAND-PLNNG' v_plnnr,
' ' 'MKAL_EXPAND-ALNAG' v_plnal,
' ' 'MKAL_EXPAND-STLAL' itab_xcel-stlal,
' ' 'MKAL_EXPAND-STLAN' itab_xcel-stlan,
' ' 'MKAL_EXPAND-SERKZ' itab_xcel-serkz,
' ' 'MKAL_EXPAND-MDV01' l_mdv01,
' ' 'MKAL_EXPAND-ELPRO' itab_xcel-elpro,
' ' 'MKAL_EXPAND-ALORT' itab_xcel-alort,
save the production version from initial screen
'X' 'SAPLCMFV' '1000',
' ' 'BDC_OKCODE' '=SAVE'.
endform.
FORM BDC_SUBMIT_TRANSACTION *
Submit BDC Session *
form bdc_submit_transaction.
Load BDC script as a trqansction in BDC session
call function 'BDC_INSERT'
exporting
tcode = v_tcode
tables
dynprotab = itab_bdc_tab
exceptions
internal_error = 01
not_open = 02
queue_error = 03
tcode_invalid = 04.
endform.
FORM BDC_BUILD_SCRIPT_RECORD *
form bdc_build_script_record using dynbegin name value.
clear itab_bdc_tab.
if dynbegin = 'X'.
move: name to itab_bdc_tab-program,
value to itab_bdc_tab-dynpro,
'X' to itab_bdc_tab-dynbegin.
else.
move: name to itab_bdc_tab-fnam,
value to itab_bdc_tab-fval.
shift itab_bdc_tab-fval left deleting leading space.
endif.
append itab_bdc_tab.
endform.
FORM BDC_SESSION_CLOSE *
Close BDC Session *
form bdc_session_close.
close the session
call function 'BDC_CLOSE_GROUP'
exceptions
not_open = 1
queue_error = 2
others = 3.
skip 2.
if sy-subrc ne 0.
write: / 'Error Closing BDC Session ' , 'RETURN CODE: ', sy-subrc.
else.
write : / 'Session created:', v_ssnname,
50 '# of transactions:', v_trans_in_ssn.
endif.
endform.
*& Form read_routing_cache
*FORM read_routing_cache USING pi_matnr
pi_werks
pi_alnag
pi_verid
pi_mdv01.
DATA: BEGIN OF lt_plpo OCCURS 0,
vornr LIKE plpo-vornr,
objty LIKE crhd-objty,
objid LIKE crhd-objid,
arbpl LIKE crhd-arbpl,
END OF lt_plpo,
l_mapl_plnnr LIKE mapl-plnnr.
determine the routing group#
CLEAR lt_pp04_cache.
chk if its in the cache first, if not then get it from MAPL table
and put it in the cache
READ TABLE lt_pp04_cache WITH KEY matnr = pi_matnr
werks = pi_werks
alnag = pi_alnag.
IF sy-subrc = 0.
do nothing - lt_pp04_cache header line has rtg#
ELSE.
get the routing group # from MAPL
SELECT plnnr INTO l_mapl_plnnr
FROM mapl UP TO 1 ROWS
WHERE matnr = pi_matnr AND
werks = pi_werks AND
plnty = 'R' AND
plnal = pi_alnag AND
loekz = space.
ENDSELECT.
put it in the cache internal table
IF NOT l_mapl_plnnr IS INITIAL.
lt_pp04_cache-matnr = pi_matnr.
lt_pp04_cache-werks = pi_werks.
lt_pp04_cache-alnag = pi_alnag.
lt_pp04_cache-plnnr = l_mapl_plnnr.
APPEND lt_pp04_cache.
ENDIF.
ENDIF.
if the rtg# was determined AND
-- the work center was not determined yet AND
-- work center was really needed for this line in the input file
then
-- read the work center from last PP04 operation on the routing
-- update the cache accordingly
IF NOT lt_pp04_cache-plnnr IS INITIAL AND
lt_pp04_cache-arbpl IS INITIAL AND
( pi_verid IS INITIAL OR
pi_mdv01 IS INITIAL ).
read the last PP04 operation
CLEAR lt_plpo.
REFRESH lt_plpo.
SELECT vornr eobjty eobjid e~arbpl
INTO CORRESPONDING FIELDS OF TABLE lt_plpo
FROM plas AS b
INNER JOIN plpo AS c
ON bplnty = cplnty AND
bplnnr = cplnnr AND
bzaehl = czaehl
INNER JOIN crhd AS e
ON carbid = eobjid
WHERE b~plnty = v_plnty AND
b~plnnr = lt_pp04_cache-plnnr AND
b~plnal = lt_pp04_cache-alnag AND
c~loekz = space AND
c~steus = v_plpo_steus AND
e~objty = v_objty AND
e~werks = lt_pp04_cache-werks AND
e~verwe = v_verwe.
SORT lt_plpo BY vornr DESCENDING.
READ TABLE lt_plpo INDEX 1.
IF NOT lt_plpo-arbpl IS INITIAL.
lt_pp04_cache-arbpl = lt_plpo-arbpl.
read work center description
SELECT SINGLE ktext INTO lt_pp04_cache-ktext
FROM crtx WHERE objty = lt_plpo-objty AND
objid = lt_plpo-objid AND
spras = sy-langu.
the following read will get the index of the correct record to be
updated in the cache
READ TABLE lt_pp04_cache
WITH KEY matnr = pi_matnr
werks = pi_werks
alnag = pi_alnag.
MODIFY lt_pp04_cache
INDEX sy-tabix
TRANSPORTING arbpl ktext.
ENDIF.
ENDIF.
*ENDFORM. " read_last_pp04_operation_cache
*& Form read_routing
form read_routing.
data: begin of lt_mapl occurs 0,
plnnr like mapl-plnnr,
plnal like mapl-plnal,
end of lt_mapl,
l_arbpl like crhd-arbpl.
get all the rtg# and grp ctr# from MAPL
select plnnr plnal
into corresponding fields of table lt_mapl
from mapl
where matnr = v_matnr and
werks = itab_xcel-werks and
plnty = v_plnty and "Rate Routing
loekz = space. "with del flag = OFF
sort lt_mapl by plnal.
if not itab_xcel-verid is initial.
if the verid=0001 then use the 1st good rtg-grp# and grp-ctr#
if itab_xcel-verid = '0001'.
read table lt_mapl index 1.
v_plnnr = lt_mapl-plnnr.
v_plnal = lt_mapl-plnal.
else.
if the verid0001 then use the rtg-grp# and grp-ctr# of the routing
whose work center on the last PP04 operation matches the given verid
loop at lt_mapl.
clear l_arbpl.
get the work center from the last PP04 operation
perform read_wc_on_last_pp04 using lt_mapl-plnnr
lt_mapl-plnal
changing l_arbpl.
if itab_xcel-verid = l_arbpl.
v_plnnr = lt_mapl-plnnr.
v_plnal = lt_mapl-plnal.
exit.
endif.
endloop.
endif.
else.
do nothing
endif.
For version IDs that are other then '0000' or 'ZWIP' :--
if itab_xcel-verid NE '0000' and
itab_xcel-verid NE 'ZWIP'.
if routing group# or group counter was not determined, make the
valid-to date 99/99/9999 so that the BDC, on execution, errors out.
if v_plnnr is initial or
v_plnal is initial.
itab_xcel-bdatu = '99/99/9999'.
endif.
endif.
determine the routing group#
CLEAR lt_pp04_cache.
chk if its in the cache first, if not then get it from MAPL table
and put it in the cache
READ TABLE lt_pp04_cache WITH KEY matnr = pi_matnr
werks = pi_werks
alnag = pi_alnag.
IF sy-subrc = 0.
do nothing - lt_pp04_cache header line has rtg#
ELSE.
get the routing group # from MAPL
put it in the cache internal table
IF NOT l_mapl_plnnr IS INITIAL.
lt_pp04_cache-matnr = pi_matnr.
lt_pp04_cache-werks = pi_werks.
lt_pp04_cache-alnag = pi_alnag.
lt_pp04_cache-plnnr = l_mapl_plnnr.
APPEND lt_pp04_cache.
ENDIF.
ENDIF.
if the rtg# was determined AND
-- the work center was not determined yet AND
-- work center was really needed for this line in the input file
then
-- read the work center from last PP04 operation on the routing
-- update the cache accordingly
IF NOT lt_pp04_cache-plnnr IS INITIAL AND
lt_pp04_cache-arbpl IS INITIAL AND
( pi_verid IS INITIAL OR
pi_mdv01 IS INITIAL ).
read the last PP04 operation
CLEAR lt_plpo.
REFRESH lt_plpo.
SELECT vornr eobjty eobjid e~arbpl
INTO CORRESPONDING FIELDS OF TABLE lt_plpo
FROM plas AS b
INNER JOIN plpo AS c
ON bplnty = cplnty AND
bplnnr = cplnnr AND
bzaehl = czaehl
INNER JOIN crhd AS e
ON carbid = eobjid
WHERE b~plnty = v_plnty AND
b~plnnr = lt_pp04_cache-plnnr AND
b~plnal = lt_pp04_cache-alnag AND
c~loekz = space AND
c~steus = v_plpo_steus AND
e~objty = v_objty AND
e~werks = lt_pp04_cache-werks AND
e~verwe = v_verwe.
SORT lt_plpo BY vornr DESCENDING.
READ TABLE lt_plpo INDEX 1.
IF NOT lt_plpo-arbpl IS INITIAL.
lt_pp04_cache-arbpl = lt_plpo-arbpl.
read work center description
SELECT SINGLE ktext INTO lt_pp04_cache-ktext
FROM crtx WHERE objty = lt_plpo-objty AND
objid = lt_plpo-objid AND
spras = sy-langu.
the following read will get the index of the correct record to be
updated in the cache
READ TABLE lt_pp04_cache
WITH KEY matnr = pi_matnr
werks = pi_werks
alnag = pi_alnag.
MODIFY lt_pp04_cache
INDEX sy-tabix
TRANSPORTING arbpl ktext.
ENDIF.
ENDIF.
endform. " read_last_pp04_operation_cache
*& Form read_wc_on_last_pp04
form read_wc_on_last_pp04 using pi_plnnr
pi_plnal
changing pe_arbpl.
data: begin of lt_plpo occurs 0,
vornr like plpo-vornr,
objty like crhd-objty,
objid like crhd-objid,
arbpl like crhd-arbpl,
end of lt_plpo.
get all the PP04 operations for the given rtg# & grp-ctr#
select vornr eobjty eobjid e~arbpl
into corresponding fields of table lt_plpo
from plas as b
inner join plpo as c
on bplnty = cplnty and
bplnnr = cplnnr and
bzaehl = czaehl
inner join crhd as e
on carbid = eobjid
where b~plnty = v_plnty and "Rate Routing
b~plnnr = pi_plnnr and
b~plnal = pi_plnal and
c~loekz = space and "Oper Del Flag = OFF
c~steus = v_plpo_steus and "PP04
e~objty = v_objty. "WC Obj Type = 'A'
read the last operation
sort lt_plpo by vornr descending.
read table lt_plpo index 1.
pe_arbpl = lt_plpo-arbpl.
endform. " read_wc_on_last_pp04
Goto LSMW-> Select Direct Input method in 1st step. These are the standard programs for data transfer.
Otherwise goto SPRO->SAP Reference IMG-> Under this you'll find standard data transfer programs module wise.
Reward points,
Shakir -
[solved] failed to commit transaction (invalid or corrupted package)
Hi.
So today I tried updating my system after about a month. I keep getting the error in the thread title. Pacman does not mention which packages are corrupted. I tried upgrading the explicitly installed packages individually and those which could upgrade were upgraded. However, a few remain unable to upgrade.
I have tried using the new pacman.conf which comes with the latest package, I have followed this blog post, regenerating my mirrorlist using reflector, re-downloading all the packages, pacman -Syy, SigLevel = Never ... and nothing seems to work. Please help.
pacman.conf
# /etc/pacman.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel = Optional TrustedOnly
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[archlinuxfr]
# The French Arch Linux communities packages.
SigLevel = PackageRequired
Server = http://repo.archlinux.fr/$arch
[arch-fonts]
# Prebuilt packages for font packages found in AUR
# This should be faster than building from source
# as many have download speed of 10KB/s. If you find
# missing font, email to <gmail.com: jesse.jaara>
SigLevel = PackageRequired
Server = http://huulivoide.pp.fi/Arch/arch-fonts
[archstuff]
# AUR's most voted and many bin32-* and lib32-* packages.
SigLevel = PackageRequired
Server = http://archstuff.vs169092.vserver.de/$arch
[herecura-stable]
# additional apps not found in community
SigLevel = PackageRequired
Server = http://repo.herecura.be/herecura-stable/$arch
[kde4-eyecandy-64]
# Useful and beautiful plasmoids and themes for KDE4.
SigLevel = PackageRequired
Server = http://archlinuxgr.tiven.org/kde4-eyecandy/x86_64
mirrorlist
cat /etc/pacman.d/mirrorlist
# Arch Linux mirrorlist generated by Reflector
# With: /usr/bin/reflector -l 5 --sort rate --save /etc/pacman.d/mirrorlist
# When: 2012-06-18 12:42:37 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2012-06-18 12:42:25 UTC
# Last Check: 2012-06-18T12:21:53.438Z UTC
Server = http://archlinux.polymorf.fr/$repo/os/$arch
Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
Server = ftp://mirror.chmuri.net/archmirror/$repo/os/$arch
Server = ftp://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://miroir.ezvan.fr/archlinux/$repo/os/$arch
output when I try to upgrade
sudo pacman -Su
Password:
:: Starting full system upgrade...
:: Replace dbus-python with extra/python2-dbus? [Y/n]
:: Replace libusb with core/libusbx? [Y/n]
resolving dependencies...
looking for inter-conflicts...
Targets (57): bison-2.5.1-1 c-ares-1.9.0-1 cairo-1.12.2-2 cifs-utils-5.5-1 colord-0.1.21-2
dbus-python-1.0.0-1 [removal] desktop-file-utils-0.20-1 freetype2-2.4.10-1 git-1.7.10.4-1
gnutls-3.0.20-1 gtk-engines-2.21.0-1 icu-49.1.2-1 intel-dri-8.0.3-3 kactivities-4.8.4-1
kdebase-konqueror-4.8.4-1 kdebase-lib-4.8.4-1 kdebase-runtime-4.8.4-1 kdebase-workspace-4.8.4-1
kdebindings-python2-4.8.4-1 kdegames-libkdegames-4.8.4-1 kdelibs-4.8.4-2 kdepim-runtime-4.8.4-1
kdepimlibs-4.8.4-1 khrplatform-devel-8.0.3-3 krb5-1.10.2-1 libcups-1.5.3-5 libdrm-2.4.35-1
libegl-8.0.3-3 libgl-8.0.3-3 libglapi-8.0.3-3 libgles-8.0.3-3 libkipi-4.8.4-1 libksane-4.8.4-1
libmysqlclient-5.5.25-1 libpng-1.5.11-1 libusb-1.0.9-1 [removal] libusbx-1.0.11-2 libva-1.1.0-1
libwbclient-3.6.5-3 linux-api-headers-3.3.8-1 lirc-utils-1:0.9.0-18 mkinitcpio-0.9.2-2
mysql-5.5.25-1 mysql-clients-5.5.25-1 oxygen-icons-4.8.4-1 pam-1.1.5-4 pambase-20120602-1
pango-1.30.1-1 pinentry-0.8.1-4 pyqt-4.9.1-2 python-dbus-1.1.0-2 python-dbus-common-1.1.0-2
python2-dbus-1.1.0-2 python2-pyqt-4.9.1-2 shorewall-core-4.5.5.1-1 smbclient-3.6.5-3
sqlite-3.7.13-1
Total Installed Size: 632.49 MiB
Net Upgrade Size: 3.08 MiB
Proceed with installation? [Y/n]
(55/55) checking package integrity [########################################] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
pacman log
[2012-06-18 12:48] Running 'pacman -Su'
[2012-06-18 12:48] starting full system upgrade
[2012-06-18 12:54] Running 'pacman -Su'
[2012-06-18 12:54] starting full system upgrade
[2012-06-18 12:54] Running 'pacman -Su'
[2012-06-18 12:54] starting full system upgrade
[2012-06-18 12:57] Running 'pacman -Su'
[2012-06-18 12:57] starting full system upgrade
[2012-06-18 13:07] Running 'pacman -Su'
[2012-06-18 13:07] starting full system upgrade
[2012-06-18 13:10] Running 'pacman -Syy'
[2012-06-18 13:10] synchronizing package lists
[2012-06-18 13:14] Running 'pacman -Su'
[2012-06-18 13:14] starting full system upgrade
[2012-06-18 13:21] starting full system upgrade
[2012-06-18 13:22] starting full system upgrade
[2012-06-18 13:23] starting full system upgrade
[2012-06-18 13:24] starting full system upgrade
[2012-06-18 13:24] Running 'pacman -Su'
[2012-06-18 13:24] starting full system upgrade
[2012-06-18 14:42] Running 'pacman -Su'
[2012-06-18 14:42] starting full system upgrade
[2012-06-18 14:44] Running 'pacman -Syy'
[2012-06-18 14:44] synchronizing package lists
[2012-06-18 14:45] Running 'pacman -Su'
[2012-06-18 14:45] starting full system upgrade
Last edited by drsjlazar (2012-06-18 13:51:54)Thank you Jelly It was a .part file. I was using aria2 to download prior to switching to the new pacman.conf. There was only one offending file. I would have thought that pacman would at least tell you which file was corrupted when it found one or even not recognize .part files as complete packages. Anyway, I deleted the .part file everything went smoothly.
Here is the complete output of pacman -Syyu --debug... just for reference.
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: arch: x86_64
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 88: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 99: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: config: new section 'arch-fonts'
debug: config: finish section 'arch-fonts'
debug: config: new section 'archstuff'
debug: config: finish section 'archstuff'
debug: config: new section 'herecura-stable'
debug: config: finish section 'herecura-stable'
debug: config: new section 'kde4-eyecandy-64'
debug: config: finish section 'kde4-eyecandy-64'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'core': http://archlinux.polymorf.fr/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.de.leaseweb.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirror.chmuri.net/archmirror/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirror.us.leaseweb.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://miroir.ezvan.fr/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'extra': http://archlinux.polymorf.fr/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.de.leaseweb.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirror.chmuri.net/archmirror/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirror.us.leaseweb.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://miroir.ezvan.fr/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 88: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'community': http://archlinux.polymorf.fr/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.de.leaseweb.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.chmuri.net/archmirror/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.us.leaseweb.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://miroir.ezvan.fr/archlinux/community/os/x86_64
debug: config: new section 'multilib'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 99: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'multilib': http://archlinux.polymorf.fr/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.de.leaseweb.net/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': ftp://mirror.chmuri.net/archmirror/multilib/os/x86_64
debug: adding new server URL to database 'multilib': ftp://mirror.us.leaseweb.net/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://miroir.ezvan.fr/archlinux/multilib/os/x86_64
debug: config: new section 'archlinuxfr'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: "/var/lib/pacman/sync/archlinuxfr.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archlinuxfr.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: config: new section 'arch-fonts'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'arch-fonts'
debug: registering sync database 'arch-fonts'
debug: database path for tree arch-fonts set to /var/lib/pacman/sync/arch-fonts.db
debug: "/var/lib/pacman/sync/arch-fonts.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/arch-fonts.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'arch-fonts': http://huulivoide.pp.fi/Arch/arch-fonts
debug: config: new section 'archstuff'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'archstuff'
debug: registering sync database 'archstuff'
debug: database path for tree archstuff set to /var/lib/pacman/sync/archstuff.db
debug: "/var/lib/pacman/sync/archstuff.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archstuff.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'archstuff': http://archstuff.vs169092.vserver.de/x86_64
debug: config: new section 'herecura-stable'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'herecura-stable'
debug: registering sync database 'herecura-stable'
debug: database path for tree herecura-stable set to /var/lib/pacman/sync/herecura-stable.db
debug: "/var/lib/pacman/sync/herecura-stable.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/herecura-stable.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'herecura-stable': http://repo.herecura.be/herecura-stable/x86_64
debug: config: new section 'kde4-eyecandy-64'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'kde4-eyecandy-64'
debug: registering sync database 'kde4-eyecandy-64'
debug: database path for tree kde4-eyecandy-64 set to /var/lib/pacman/sync/kde4-eyecandy-64.db
debug: "/var/lib/pacman/sync/kde4-eyecandy-64.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/kde4-eyecandy-64.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'kde4-eyecandy-64': http://archlinuxgr.tiven.org/kde4-eyecandy/x86_64
debug: config: finished parsing /etc/pacman.conf
debug: url: http://archlinux.polymorf.fr/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
:: Synchronizing package databases...
downloading core.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinux.polymorf.fr/core/os/x86_64/core.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'core.db.sig' from archlinux.polymorf.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: url: http://archlinux.polymorf.fr/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
downloading extra.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinux.polymorf.fr/extra/os/x86_64/extra.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'extra.db.sig' from archlinux.polymorf.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: url: http://archlinux.polymorf.fr/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
downloading community.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinux.polymorf.fr/community/os/x86_64/community.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'community.db.sig' from archlinux.polymorf.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: url: http://archlinux.polymorf.fr/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
downloading multilib.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinux.polymorf.fr/multilib/os/x86_64/multilib.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'multilib.db.sig' from archlinux.polymorf.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
downloading archlinuxfr.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'archlinuxfr.db.sig' from repo.archlinux.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/archlinuxfr.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archlinuxfr.db.sig could not be opened
debug: missing optional signature
debug: url: http://huulivoide.pp.fi/Arch/arch-fonts/arch-fonts.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/arch-fonts.db.part (wb)
downloading arch-fonts.db...
downloading arch-fonts.db...
downloading arch-fonts.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://huulivoide.pp.fi/Arch/arch-fonts/arch-fonts.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/arch-fonts.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'arch-fonts.db.sig' from huulivoide.pp.fi : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/arch-fonts.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/arch-fonts.db.sig could not be opened
debug: missing optional signature
debug: url: http://archstuff.vs169092.vserver.de/x86_64/archstuff.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/archstuff.db.part (wb)
downloading archstuff.db...
downloading archstuff.db...
downloading archstuff.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archstuff.vs169092.vserver.de/x86_64/archstuff.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/archstuff.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'archstuff.db.sig' from archstuff.vs169092.vserver.de : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/archstuff.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archstuff.db.sig could not be opened
debug: missing optional signature
debug: url: http://repo.herecura.be/herecura-stable/x86_64/herecura-stable.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/herecura-stable.db.part (wb)
downloading herecura-stable.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://repo.herecura.be/herecura-stable/x86_64/herecura-stable.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/herecura-stable.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'herecura-stable.db.sig' from repo.herecura.be : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/herecura-stable.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/herecura-stable.db.sig could not be opened
debug: missing optional signature
debug: url: http://archlinuxgr.tiven.org/kde4-eyecandy/x86_64/kde4-eyecandy-64.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/kde4-eyecandy-64.db.part (wb)
downloading kde4-eyecandy-64.db...
downloading kde4-eyecandy-64.db...
downloading kde4-eyecandy-64.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinuxgr.tiven.org/kde4-eyecandy/x86_64/kde4-eyecandy-64.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/kde4-eyecandy-64.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'kde4-eyecandy-64.db.sig' from archlinuxgr.tiven.org : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/kde4-eyecandy-64.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/kde4-eyecandy-64.db.sig could not be opened
debug: missing optional signature
debug: loading package cache for repository 'local'
debug: added 685 packages to package cache for db 'local'
debug: loading package cache for repository 'core'
debug: opening database archive /var/lib/pacman/sync/core.db
debug: added 194 packages to package cache for db 'core'
debug: checking for package upgrades
debug: searching for replacements for a52dec
debug: loading package cache for repository 'extra'
debug: opening database archive /var/lib/pacman/sync/extra.db
debug: added 2775 packages to package cache for db 'extra'
debug: searching for replacements for aalib
debug: searching for replacements for abs
debug: searching for replacements for acetoneiso2
debug: searching for replacements for acetoneiso2
debug: loading package cache for repository 'community'
debug: opening database archive /var/lib/pacman/sync/community.db
debug: added 2495 packages to package cache for db 'community'
debug: searching for replacements for akonadi
debug: searching for replacements for akonadi-googledata
debug: searching for replacements for akonadi-googledata
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'multilib'
debug: opening database archive /var/lib/pacman/sync/multilib.db
debug: added 144 packages to package cache for db 'multilib'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'archlinuxfr'
debug: opening database archive /var/lib/pacman/sync/archlinuxfr.db
debug: added 137 packages to package cache for db 'archlinuxfr'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'arch-fonts'
debug: opening database archive /var/lib/pacman/sync/arch-fonts.db
debug: added 438 packages to package cache for db 'arch-fonts'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'archstuff'
debug: opening database archive /var/lib/pacman/sync/archstuff.db
debug: added 296 packages to package cache for db 'archstuff'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'herecura-stable'
debug: opening database archive /var/lib/pacman/sync/herecura-stable.db
debug: added 54 packages to package cache for db 'herecura-stable'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'kde4-eyecandy-64'
debug: opening database archive /var/lib/pacman/sync/kde4-eyecandy-64.db
debug: added 93 packages to package cache for db 'kde4-eyecandy-64'
debug: searching for replacements for akonadi-googledata
debug: searching for replacements for alsa-firmware
debug: searching for replacements for alsa-lib
debug: searching for replacements for alsa-utils
debug: searching for replacements for amarok
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for apper
debug: searching for replacements for apper
debug: searching for replacements for archlinux-artwork
debug: searching for replacements for aria2
debug: searching for replacements for aria2
debug: searching for replacements for aspell
debug: searching for replacements for atk
debug: searching for replacements for attica
debug: searching for replacements for automoc4
debug: searching for replacements for avahi
debug: searching for replacements for babl
debug: searching for replacements for bc
debug: new version of 'bison' found (2.5-3 => 2.5.1-1)
debug: adding package bison-2.5.1-1 to the transaction targets
debug: searching for replacements for bleachbit
debug: searching for replacements for bleachbit
debug: searching for replacements for bluedevil
debug: searching for replacements for bluez
debug: searching for replacements for boost
debug: searching for replacements for boost-libs
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for c-ares
debug: new version of 'c-ares' found (1.8.0-1 => 1.9.0-1)
debug: adding package c-ares-1.9.0-1 to the transaction targets
debug: searching for replacements for cairo
debug: new version of 'cairo' found (1.12.2-1 => 1.12.2-2)
debug: adding package cairo-1.12.2-2 to the transaction targets
debug: searching for replacements for cdparanoia
debug: searching for replacements for cdrdao
debug: searching for replacements for cdrkit
debug: searching for replacements for chmlib
debug: searching for replacements for chromium
debug: searching for replacements for cifs-utils
debug: new version of 'cifs-utils' found (5.4-1 => 5.5-1)
debug: adding package cifs-utils-5.5-1 to the transaction targets
debug: searching for replacements for cln
debug: searching for replacements for cmake
debug: searching for replacements for colord
debug: new version of 'colord' found (0.1.21-1 => 0.1.21-2)
debug: adding package colord-0.1.21-2 to the transaction targets
debug: searching for replacements for compositeproto
debug: searching for replacements for consolekit
debug: searching for replacements for convertlit
debug: searching for replacements for cups
debug: searching for replacements for cups-filters
debug: searching for replacements for cups-pdf
debug: searching for replacements for damageproto
debug: searching for replacements for dbus
debug: searching for replacements for dbus-glib
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
:: Starting full system upgrade...
:: Replace dbus-python with extra/python2-dbus? [Y/n] debug: adding package python2-dbus-1.1.0-2 to the transaction targets
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for desktop-file-utils
debug: new version of 'desktop-file-utils' found (0.19-1 => 0.20-1)
debug: adding package desktop-file-utils-0.20-1 to the transaction targets
debug: searching for replacements for dhclient
debug: searching for replacements for djvulibre
debug: searching for replacements for dnsmasq
debug: searching for replacements for docbook-xml
debug: searching for replacements for docbook-xsl
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dri2proto
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dvd+rw-tools
debug: searching for replacements for ebook-tools
debug: searching for replacements for eject
debug: searching for replacements for enca
debug: searching for replacements for enchant
debug: searching for replacements for exiv2
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for faac
debug: searching for replacements for faad2
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for ffmpeg
debug: searching for replacements for fftw
debug: searching for replacements for firefox
debug: searching for replacements for firefox-adblock-plus
debug: searching for replacements for firefox-adblock-plus
debug: searching for replacements for firefox-i18n-en-gb
debug: searching for replacements for fixesproto
debug: searching for replacements for flac
debug: searching for replacements for flashplugin
debug: searching for replacements for fontconfig
debug: searching for replacements for fontsproto
debug: searching for replacements for foomatic-db
debug: searching for replacements for foomatic-db-engine
debug: searching for replacements for foomatic-filters
debug: searching for replacements for freeglut
debug: searching for replacements for freetype2
debug: new version of 'freetype2' found (2.4.9-2 => 2.4.10-1)
debug: adding package freetype2-2.4.10-1 to the transaction targets
debug: searching for replacements for fribidi
debug: searching for replacements for fuse
debug: searching for replacements for fuseiso
debug: searching for replacements for fuseiso
debug: searching for replacements for gamin
debug: searching for replacements for gconf
debug: searching for replacements for gd
debug: searching for replacements for gdk-pixbuf2
debug: searching for replacements for gegl
debug: searching for replacements for ghostscript
debug: searching for replacements for giflib
debug: searching for replacements for gimp
debug: searching for replacements for git
debug: new version of 'git' found (1.7.10.3-1 => 1.7.10.4-1)
debug: adding package git-1.7.10.4-1 to the transaction targets
debug: searching for replacements for glew
debug: searching for replacements for glib-networking
debug: searching for replacements for glproto
debug: searching for replacements for gnome-doc-utils
debug: searching for replacements for gnutls
debug: new version of 'gnutls' found (3.0.19-1 => 3.0.20-1)
debug: adding package gnutls-3.0.20-1 to the transaction targets
debug: searching for replacements for gperf
debug: searching for replacements for grantlee
debug: searching for replacements for graphite
debug: searching for replacements for gsettings-desktop-schemas
debug: searching for replacements for gsfonts
debug: searching for replacements for gsm
debug: searching for replacements for gstreamer0.10
debug: searching for replacements for gstreamer0.10-base
debug: searching for replacements for gstreamer0.10-base-plugins
debug: searching for replacements for gstreamer0.10-good
debug: searching for replacements for gstreamer0.10-good-plugins
debug: searching for replacements for gtk-doc
debug: searching for replacements for gtk-engines
debug: new version of 'gtk-engines' found (2.20.2-2 => 2.21.0-1)
debug: adding package gtk-engines-2.21.0-1 to the transaction targets
debug: searching for replacements for gtk-kde4
debug: searching for replacements for gtk-kde4
debug: searching for replacements for gtk-update-icon-cache
debug: searching for replacements for gtk2
debug: searching for replacements for gtk2-xfce-engine
debug: searching for replacements for gtk3
debug: searching for replacements for gtk3-xfce-engine
debug: searching for replacements for hicolor-icon-theme
debug: searching for replacements for hplip
debug: searching for replacements for hpoj
debug: searching for replacements for hspell
debug: searching for replacements for hsqldb-java
debug: searching for replacements for htop
debug: searching for replacements for hunspell
debug: searching for replacements for hyphen
debug: searching for replacements for icu
debug: new version of 'icu' found (49.1.1-2 => 49.1.2-1)
debug: adding package icu-49.1.2-1 to the transaction targets
debug: searching for replacements for ilmbase
debug: searching for replacements for imagemagick
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imlib2
debug: searching for replacements for inputproto
debug: searching for replacements for intel-dri
debug: new version of 'intel-dri' found (8.0.3-2 => 8.0.3-3)
debug: adding package intel-dri-8.0.3-3 to the transaction targets
debug: searching for replacements for inxi
debug: searching for replacements for inxi
debug: searching for replacements for iotop
debug: searching for replacements for iotop
debug: searching for replacements for iso-codes
debug: searching for replacements for jack
debug: searching for replacements for jasper
debug: searching for replacements for json-c
debug: searching for replacements for kactivities
debug: new version of 'kactivities' found (4.8.3-1 => 4.8.4-1)
debug: adding package kactivities-4.8.4-1 to the transaction targets
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kbproto
debug: searching for replacements for kchmviewer
debug: searching for replacements for kchmviewer
debug: searching for replacements for kdeadmin-system-config-printer-kde
debug: searching for replacements for kdebase-dolphin
debug: searching for replacements for kdebase-katepart
debug: searching for replacements for kdebase-kdepasswd
debug: searching for replacements for kdebase-kdialog
debug: searching for replacements for kdebase-keditbookmarks
debug: searching for replacements for kdebase-kfind
debug: searching for replacements for kdebase-konq-plugins
debug: searching for replacements for kdebase-konqueror
debug: new version of 'kdebase-konqueror' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdebase-konqueror-4.8.4-1 to the transaction targets
debug: searching for replacements for kdebase-konsole
debug: searching for replacements for kdebase-lib
debug: new version of 'kdebase-lib' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdebase-lib-4.8.4-1 to the transaction targets
debug: searching for replacements for kdebase-plasma
debug: searching for replacements for kdebase-runtime
debug: new version of 'kdebase-runtime' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdebase-runtime-4.8.4-1 to the transaction targets
debug: searching for replacements for kdebase-workspace
debug: new version of 'kdebase-workspace' found (4.8.3-2 => 4.8.4-1)
debug: adding package kdebase-workspace-4.8.4-1 to the transaction targets
debug: searching for replacements for kdebindings-python2
debug: new version of 'kdebindings-python2' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdebindings-python2-4.8.4-1 to the transaction targets
debug: searching for replacements for kdegames-kpatience
debug: searching for replacements for kdegames-libkdegames
debug: new version of 'kdegames-libkdegames' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdegames-libkdegames-4.8.4-1 to the transaction targets
debug: searching for replacements for kdegraphics-gwenview
debug: searching for replacements for kdegraphics-ksnapshot
debug: searching for replacements for kdegraphics-okular
debug: searching for replacements for kdelibs
debug: new version of 'kdelibs' found (4.8.3-3 => 4.8.4-2)
debug: adding package kdelibs-4.8.4-2 to the transaction targets
debug: searching for replacements for kdemultimedia-ffmpegthumbs
debug: searching for replacements for kdemultimedia-juk
debug: searching for replacements for kdemultimedia-kmix
debug: searching for replacements for kdenetwork-kppp
debug: searching for replacements for kdepim-runtime
debug: new version of 'kdepim-runtime' found (4.8.3-2 => 4.8.4-1)
debug: adding package kdepim-runtime-4.8.4-1 to the transaction targets
debug: searching for replacements for kdepimlibs
debug: new version of 'kdepimlibs' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdepimlibs-4.8.4-1 to the transaction targets
debug: searching for replacements for kdeplasma-addons-applets-showdesktop
debug: searching for replacements for kdeplasma-applets-networkmanagement
debug: searching for replacements for kdesdk-dolphin-plugins
debug: searching for replacements for kdesdk-kate
debug: searching for replacements for kdeutils-ark
debug: searching for replacements for kdeutils-filelight
debug: searching for replacements for kdeutils-kcalc
debug: searching for replacements for kdeutils-kcharselect
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for khrplatform-devel
debug: new version of 'khrplatform-devel' found (8.0.3-2 => 8.0.3-3)
debug: adding package khrplatform-devel-8.0.3-3 to the transaction targets
debug: new version of 'krb5' found (1.10.1-3 => 1.10.2-1)
debug: adding package krb5-1.10.2-1 to the transaction targets
debug: searching for replacements for lame
debug: searching for replacements for lcms
debug: searching for replacements for lcms2
debug: searching for replacements for libao
debug: searching for replacements for libass
debug: searching for replacements for libasyncns
debug: searching for replacements for libatasmart
debug: searching for replacements for libavc1394
debug: searching for replacements for libbluedevil
debug: searching for replacements for libbluray
debug: searching for replacements for libcaca
debug: searching for replacements for libcanberra
debug: searching for replacements for libcap-ng
debug: searching for replacements for libcddb
debug: searching for replacements for libcdio
debug: searching for replacements for libcroco
debug: searching for replacements for libcups
debug: new version of 'libcups' found (1.5.3-3 => 1.5.3-5)
debug: adding package libcups-1.5.3-5 to the transaction targets
debug: searching for replacements for libdaemon
debug: searching for replacements for libdatrie
debug: searching for replacements for libdbusmenu-qt
debug: searching for replacements for libdca
debug: searching for replacements for libdmtx
debug: searching for replacements for libdrm
debug: new version of 'libdrm' found (2.4.33-1 => 2.4.35-1)
debug: adding package libdrm-2.4.35-1 to the transaction targets
debug: searching for replacements for libdv
debug: searching for replacements for libdvbpsi
debug: searching for replacements for libdvdnav
debug: searching for replacements for libdvdread
debug: searching for replacements for libebml
debug: searching for replacements for libegl
debug: new version of 'libegl' found (8.0.3-2 => 8.0.3-3)
debug: adding package libegl-8.0.3-3 to the transaction targets
debug: searching for replacements for libexif
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfontenc
debug: searching for replacements for libftdi
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgl
debug: new version of 'libgl' found (8.0.3-2 => 8.0.3-3)
debug: adding package libgl-8.0.3-3 to the transaction targets
debug: searching for replacements for libglade
debug: searching for replacements for libglapi
debug: new version of 'libglapi' found (8.0.3-2 => 8.0.3-3)
debug: adding package libglapi-8.0.3-3 to the transaction targets
debug: searching for replacements for libgles
debug: new version of 'libgles' found (8.0.3-2 => 8.0.3-3)
debug: adding package libgles-8.0.3-3 to the transaction targets
debug: searching for replacements for libgnome-keyring
debug: searching for replacements for libgphoto2
debug: searching for replacements for libgusb
debug: searching for replacements for libical
debug: searching for replacements for libice
debug: searching for replacements for libid3tag
debug: searching for replacements for libidl2
debug: searching for replacements for libiec61883
debug: searching for replacements for libieee1284
debug: searching for replacements for libimobiledevice
debug: searching for replacements for libiodbc
debug: searching for replacements for libirman
debug: searching for replacements for libjpeg-turbo
debug: searching for replacements for libkate
debug: searching for replacements for libkipi
debug: new version of 'libkipi' found (4.8.3-1 => 4.8.4-1)
debug: adding package libkipi-4.8.4-1 to the transaction targets
debug: searching for replacements for libksane
debug: new version of 'libksane' found (4.8.3-1 => 4.8.4-1)
debug: adding package libksane-4.8.4-1 to the transaction targets
debug: searching for replacements for liblastfm
debug: searching for replacements for libmad
debug: searching for replacements for libmatroska
debug: searching for replacements for libmikmod
debug: searching for replacements for libmng
debug: searching for replacements for libmodplug
debug: searching for replacements for libmp4v2
debug: searching for replacements for libmpcdec
debug: searching for replacements for libmpeg2
debug: searching for replacements for libmysqlclient
debug: new version of 'libmysqlclient' found (5.5.24-1 => 5.5.25-1)
debug: adding package libmysqlclient-5.5.25-1 to the transaction targets
debug: searching for replacements for libnewt
debug: searching for replacements for libnewt
debug: searching for replacements for libnotify
debug: searching for replacements for libofa
debug: searching for replacements for libogg
debug: searching for replacements for libosip2
debug: searching for replacements for libosip2
debug: searching for replacements for libpciaccess
debug: searching for replacements for libplist
debug: searching for replacements for libpng
debug: new version of 'libpng' found (1.5.10-1 => 1.5.11-1)
debug: adding package libpng-1.5.11-1 to the transaction targets
debug: searching for replacements for libpng12
debug: searching for replacements for libpng12
debug: searching for replacements for libpng12
debug: searching for replacements for libpng12
debug: searching for replacements for libproxy
debug: searching for replacements for libpulse
debug: searching for replacements for libqalculate
debug: searching for replacements for libqzeitgeist
debug: searching for replacements for libraw1394
debug: searching for replacements for libreoffice-base
debug: searching for replacements for libreoffice-calc
debug: searching for replacements for libreoffice-common
debug: searching for replacements for libreoffice-draw
debug: searching for replacements for libreoffice-en-GB
debug: searching for replacements for libreoffice-impress
debug: searching for replacements for libreoffice-kde4
debug: searching for replacements for libreoffice-math
debug: searching for replacements for libreoffice-writer
debug: searching for replacements for librsvg
debug: searching for replacements for librsync
debug: searching for replacements for librsync
debug: searching for replacements for libsamplerate
debug: searching for replacements for libshout
debug: searching for replacements for libsm
debug: searching for replacements for libsndfile
debug: searching for replacements for libsoup
debug: searching for replacements for libsoup-gnome
debug: searching for replacements for libspectre
debug: searching for replacements for libssh
debug: searching for replacements for libstdc++5
debug: searching for replacements for libtasn1
debug: searching for replacements for libthai
debug: searching for replacements for libtheora
debug: searching for replacements for libtiff
debug: searching for replacements for libtiger
debug: searching for replacements for libupnp
debug: searching for replacements for libusb
:: Replace libusb with core/libusbx? [Y/n] debug: adding package libusbx-1.0.11-2 to the transaction targets
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libva
debug: new version of 'libva' found (1.0.15-1 => 1.1.0-1)
debug: adding package libva-1.1.0-1 to the transaction targets
debug: searching for replacements for libva-driver-intel
debug: searching for replacements for libvdpau
debug: searching for replacements for libvisual
debug: searching for replacements for libvorbis
debug: searching for replacements for libvpx
debug: searching for replacements for libwbclient
debug: new version of 'libwbclient' found (3.6.5-1 => 3.6.5-3)
debug: adding package libwbclient-3.6.5-3 to the transaction targets
debug: searching for replacements for libwmf
debug: searching for replacements for libwpd
debug: searching for replacements for libwps
debug: searching for replacements for libx11
debug: searching for replacements for libxau
debug: searching for replacements for libxaw
debug: searching for replacements for libxcb
debug: searching for replacements for libxcomposite
debug: searching for replacements for libxcursor
debug: searching for replacements for libxdamage
debug: searching for replacements for libxdmcp
debug: searching for replacements for libxext
debug: searching for replacements for libxfixes
debug: searching for replacements for libxfont
debug: searching for replacements for libxft
debug: searching for replacements for libxi
debug: searching for replacements for libxinerama
debug: searching for replacements for libxkbfile
debug: searching for replacements for libxklavier
debug: searching for replacements for libxml2
debug: searching for replacements for libxmu
debug: searching for replacements for libxpm
debug: searching for replacements for libxrandr
debug: searching for replacements for libxrender
debug: searching for replacements for libxres
debug: searching for replacements for libxslt
debug: searching for replacements for libxss
debug: searching for replacements for libxt
debug: searching for replacements for libxtst
debug: searching for replacements for libxv
debug: searching for replacements for libxvmc
debug: searching for replacements for libxxf86dga
debug: searching for replacements for libxxf86vm
debug: searching for replacements for libzip
debug: new version of 'linux-api-headers' found (3.3.2-1 => 3.3.8-1)
debug: adding package linux-api-headers-3.3.8-1 to the transaction targets
debug: searching for replacements for lirc-utils
debug: new version of 'lirc-utils' found (1:0.9.0-16 => 1:0.9.0-18)
debug: adding package lirc-utils-1:0.9.0-18 to the transaction targets
debug: searching for replacements for lm_sensors
debug: searching for replacements for lpsolve
debug: searching for replacements for lrzip
debug: searching for replacements for lrzip
debug: searching for replacements for lsof
debug: searching for replacements for lua
debug: searching for replacements for mcpp
debug: searching for replacements for media-player-info
debug: searching for replacements for mercurial
debug: searching for replacements for mesa
debug: searching for replacements for mesa-demos
debug: searching for replacements for mime-types
debug: new version of 'mkinitcpio' found (0.9.1-1 => 0.9.2-2)
debug: adding package mkinitcpio-0.9.2-2 to the transaction targets
debug: searching for replacements for mobile-broadband-provider-info
debug: searching for replacements for modemmanager
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for mozilla-common
debug: searching for replacements for mpg123
debug: searching for replacements for mplayer
debug: searching for replacements for mtdev
debug: searching for replacements for mysql
debug: new version of 'mysql' found (5.5.24-1 => 5.5.25-1)
debug: adding package mysql-5.5.25-1 to the transaction targets
debug: searching for replacements for mysql-clients
debug: new version of 'mysql-clients' found (5.5.24-1 => 5.5.25-1)
debug: adding package mysql-clients-5.5.25-1 to the transaction targets
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for neon
debug: searching for replacements for net-snmp
debug: searching for replacements for nettle
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for nspr
debug: searching for replacements for nss
debug: searching for replacements for ntfs-3g
debug: searching for replacements for obex-data-server
debug: searching for replacements for obexd-client
debug: searching for replacements for obexfs
debug: searching for replacements for obexfs
debug: searching for replacements for obexftp
debug: searching for replacements for openal
debug: searching for replacements for opencore-amr
debug: searching for replacements for openexr
debug: searching for replacements for openjpeg
debug: searching for replacements for openobex
debug: searching for replacements for openslp
debug: searching for replacements for opera
debug: searching for replacements for opera
debug: searching for replacements for orbit2
debug: searching for replacements for orc
debug: searching for replacements for oxygen-gtk2
debug: searching for replacements for oxygen-icons
debug: new version of 'oxygen-icons' found (4.8.3-1 => 4.8.4-1)
debug: adding package oxygen-icons-4.8.4-1 to the transaction targets
debug: searching for replacements for p11-kit
debug: searching for replacements for p7zip
debug: searching for replacements for package-query
debug: searching for replacements for package-query
debug: searching for replacements for package-query
debug: searching for replacements for package-query
debug: searching for replacements for packagekit
debug: searching for replacements for packagekit
debug: searching for replacements for packagekit-qt2
debug: searching for replacements for packagekit-qt2
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: new version of 'pam' found (1.1.5-3 => 1.1.5-4)
debug: adding package pam-1.1.5-4 to the transaction targets
debug: searching for replacements for pango
debug: new version of 'pango' found (1.30.0-1 => 1.30.1-1)
debug: adding package pango-1.30.1-1 to the transaction targets
debug: searching for replacements for parted
debug: searching for replacements for perl-error
debug: searching for replacements for phonon
debug: searching for replacements for phonon-vlc
debug: new version of 'pinentry' found (0.8.1-3 => 0.8.1-4)
debug: adding package pinentry-0.8.1-4 to the transaction targets
debug: searching for replacements for pixman
debug: searching for replacements for pm-quirks
debug: searching for replacements for pm-utils
debug: searching for replacements for polkit
debug: searching for replacements for polkit-kde
debug: searching for replacements for polkit-qt
debug: searching for replacements for poppler
debug: searching for replacements for poppler-data
debug: searching for replacements for poppler-qt
debug: searching for replacements for portaudio
debug: searching for replacements for portaudio
debug: searching for replacements for prison
debug: searching for replacements for pycups
debug: searching for replacements for pygobject2-devel
debug: searching for replacements for pygtk
debug: searching for replacements for pyqt
debug: new version of 'pyqt' found (4.9.1-1 => 4.9.1-2)
debug: adding package pyqt-4.9.1-2 to the transaction targets
debug: searching for replacements for pysmbc
debug: searching for replacements for python
debug: searching for replacements for python-m2crypto
debug: searching for replacements for python-pycurl
debug: searching for replacements for python2
debug: searching for replacements for python2-cairo
debug: searching for replacements for python2-gobject2
debug: searching for replacements for python2-pyqt
debug: new version of 'python2-pyqt' found (4.9.1-1 => 4.9.1-2)
debug: adding package python2-pyqt-4.9.1-2 to the transaction targets
debug: searching for replacements for python2-sip
debug: searching for replacements for qca
debug: searching for replacements for qimageblitz
debug: searching for replacements for qjson
debug: searching for replacements for qrencode
debug: searching for replacements for qscintilla
debug: searching for replacements for qt
debug: searching for replacements for qt-gstreamer
debug: searching for replacements for qtscriptgenerator
debug: searching for replacements for qtwebkit
debug: searching for replacements for randrproto
debug: searching for replacements for raptor
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rarian
debug: searching for replacements for rasqal
debug: searching for replacements for rdiff-backup
debug: searching for replacements for rdiff-backup
debug: searching for replacements for recode
debug: searching for replacements for recordproto
debug: searching for replacements for redland
debug: searching for replacements for redland-storage-virtuoso
debug: searching for replacements for reflector
debug: searching for replacements for reflector
debug: searching for replacements for rekonq
debug: searching for replacements for rekonq
debug: searching for replacements for renderproto
debug: searching for replacements for rsync
debug: searching for replacements for rtmpdump
debug: searching for replacements for samba
debug: searching for replacements for sane
debug: searching for replacements for schroedinger
debug: searching for replacements for scrnsaverproto
debug: searching for replacements for sdl
debug: searching for replacements for sdl_image
debug: searching for replacements for sdl_mixer
debug: searching for replacements for sg3_utils
debug: searching for replacements for shared-color-profiles
debug: searching for replacements for shared-desktop-ontologies
debug: searching for replacements for shared-mime-info
debug: searching for replacements for sharutils
debug: searching for replacements for shorewall
debug: searching for replacements for shorewall
debug: searching for replacements for shorewall-core
debug: searching for replacements for shorewall-core
debug: new version of 'shorewall-core' found (4.5.4.1-1 => 4.5.5.1-1)
debug: adding package shorewall-core-4.5.5.1-1 to the transaction targets
debug: searching for replacements for sip
debug: searching for replacements for skanlite
debug: searching for replacements for slang
debug: searching for replacements for smbclient
debug: new version of 'smbclient' found (3.6.5-1 => 3.6.5-3)
debug: adding package smbclient-3.6.5-3 to the transaction targets
debug: searching for replacements for smpeg
debug: searching for replacements for soprano
debug: searching for replacements for speex
debug: searching for replacements for sqlite
debug: new version of 'sqlite' found (3.7.12.1-1 => 3.7.13-1)
debug: adding package sqlite-3.7.13-1 to the transaction targets
debug: searching for replacements for squid
debug: searching for replacements for startup-notification
debug: searching for replacements for strigi
debug: searching for replacements for system-config-printer-common
debug: searching for replacements for taglib
debug: searching for replacements for taglib-extras
debug: searching for replacements for talloc
debug: searching for replacements for tdb
debug: searching for replacements for tidyhtml
debug: searching for replacements for tmux
debug: searching for replacements for tmux
debug: searching for replacements for transmission-cli
debug: searching for replacements for transmission-qt
debug: searching for replacements for ttf-bitstream-vera
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-dejavu
debug: searching for replacements for ttf-freefont
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for udisks
debug: searching for replacements for unace
debug: searching for replacements for unace
debug: searching for replacements for unixodbc
debug: searching for replacements for unrar
debug: searching for replacements for unzip
debug: searching for replacements for upower
debug: searching for replacements for usbmuxd
debug: searching for replacements for v4l-utils
debug: searching for replacements for videoproto
debug: searching for replacements for virtuoso
debug: searching for replacements for vlc
debug: searching for replacements for wavpack
debug: searching for replacements for webmin
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for wvdial
debug: searching for replacements for wvdial
debug: searching for replacements for wvstreams
debug: searching for replacements for wvstreams
debug: searching for replacements for x264
debug: searching for replacements for xcb-proto
debug: searching for replacements for xcb-util
debug: searching for replacements for xcb-util-keysyms
debug: searching for replacements for xdg-utils
debug: searching for replacements for xextproto
debug: searching for replacements for xf86-input-evdev
debug: searching for replacements for xf86-input-joystick
debug: searching for replacements for xf86-input-synaptics
debug: searching for replacements for xf86-video-intel
debug: searching for replacements for xf86dgaproto
debug: searching for replacements for xf86vidmodeproto
debug: searching for replacements for xineramaproto
debug: searching for replacements for xkeyboard-config
debug: searching for replacements for xorg-bdftopcf
debug: searching for replacements for xorg-font-util
debug: searching for replacements for xorg-font-utils
debug: searching for replacements for xorg-fonts-alias
debug: searching for replacements for xorg-fonts-encodings
debug: searching for replacements for xorg-fonts-misc
debug: searching for replacements for xorg-iceauth
debug: searching for replacements for xorg-mkfontdir
debug: searching for replacements for xorg-mkfontscale
debug: searching for replacements for xorg-server
debug: searching for replacements for xorg-server-common
debug: searching for replacements for xorg-server-utils
debug: searching for replacements for xorg-sessreg
debug: searching for replacements for xorg-setxkbmap
debug: searching for replacements for xorg-xauth
debug: searching for replacements for xorg-xbacklight
debug: searching for replacements for xorg-xcmsdb
debug: searching for replacements for xorg-xgamma
debug: searching for replacements for xorg-xhost
debug: searching for replacements for xorg-xinit
debug: searching for replacements for xorg-xinput
debug: searching for replacements for xorg-xkbcomp
debug: searching for replacements for xorg-xmessage
debug: searching for replacements for xorg-xmodmap
debug: searching for replacements for xorg-xprop
debug: searching for replacements for xorg-xrandr
debug: searching for replacements for xorg-xrdb
debug: searching for replacements for xorg-xrefresh
debug: searching for replacements for xorg-xset
debug: searching for replacements for xorg-xsetroot
debug: searching for replacements for xplc
debug: searching for replacements for xplc
debug: searching for replacements for xproto
debug: searching for replacements for xvidcore
debug: searching for replacements for yajl
debug: searching for replacements for yajl
debug: searching for replacements for yaourt
d -
Spatial Index and XA transaction
Hi all,
I have problem with spatial index in XA transaction.
java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-29400: data cartridge error
ORA-14450: attempt to access a transactional temp table already in use
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 623
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 227
My configuration Java 5, Tomcat 5.5, UserTransaction manager Bitronix.
The problem disappears after dropping spatial index.
sql statement:
INSERT INTO ICING_SPATIAL.MAP_ISSUES ( FEATURE_ID, GEOMETRY, AUTHOR_ID, ISSUE_ID, ISSUE_STATUS, LANGUAGE, SOURCE, TEXT) VALUES ( ? ,SDO_MIGRATE.TO_CURRENT( ? , ( SELECT DIMINFO FROM ALL_SDO_GEOM_METADATA WHERE OWNER = ? AND TABLE_NAME = ? AND COLUMN_NAME = ? ) ), ? , ? , ? , ? , ? , ? )
Full stacktrace is:
java.sql.SQLException: ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-29400: data cartridge error
ORA-14450: attempt to access a transactional temp table already in use
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 623
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 227
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:212)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:951)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1160)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368)
at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4245)
All user transactions are commited or rollbacked because the DBA_2PC_PENDING is empty: SQL> select * from SYS.DBA_2PC_PENDING;
no rows selected
SQL>
This problem occures regulary after any 2PC transaction has been rolledback. The next request causes this exception. Sometimes it appears after commit too, but I am able to reproduce it within ten or twenty requests.
Has anybody had simillar problem?
Thanks for any suggestions how to check what is going wrong.
Regards,
Zdenek VrablikThe problem is in Oracle Spatial.
Oracle database don't support Temporary tables and XA transactions together. Oracle Spatial uses temporary tables.
Possible solution (I am using)
One database connection(nonXA) to read data and one connection(XA) to insedt/update/delete data including spatial data. -
Hi forum members!
I am running a win7 vmware server 2 host machine with windows 2008 server guest machine. Unfortunately, I deleted/removed (using GUI) the guest machine (without deleting files). I have recreated the guest machine and attached the vm and the system is running again, but system configuration and AD users are gone:-( is the missing data still somewhere in the memory? Secondly, HOW CAN I COMMIT TRANSACTIONS IN MEMORY?Was this guest the master domain controller?
Do you have installed the vmware-tools with the vss-writer? -
JClient: after INSERT and COMMIT does not show the primary textfield value
1. In my JClient master-detail form: When I insert a new record, enter data, and commit the changes... the master-panel's primarykey textfield is BLANK, when it should show the new auto-incremented number from the MySQL database. I have to close and open the form again to refresh that field again.
2. In order to properly save new records in the detail-panel, I have to insert and save the above master-panel first. Is this the way JCLient handle master-detail forms?
Thanks.Hi. Thanks for sharing your advice.
Re my problem,
if we have to refresh data by requery,i suggest you should use the way below:
private JUNavigationBar navBar = new JUNavigationBar(true,false,true,false,true);
navBar.setModel(JUNavigationBar.createPanelBinding(panelBinding, navBar));
// after insert ,call this method
navBar.doAction(navBar.BUTTON_EXECUTE);Tried this out but my textfield still won't get refreshed. Here is the code I came up with:
private JUNavigationBar navBar = new JUNavigationBar() {
public void doAction(int button) {
if (button == JUNavigationBar.BUTTON_INSERT) {
super.doAction(button);
navBar.doAction(navBar.BUTTON_EXECUTE);
return;
super.doAction(button);
};Re your problem,
I am developing application with JDev + MySQL,encounted another problem,
how can i get the primary key supported by auto_increment column after insert?
i constructed a vo whose sql statement is
select last_insert_id() as last_id to get the value of auto_increment column.
i found it can't get the right value unless commit the transaction.
Would u please tell me your way?Based on what I experienced, we dont have to do the SELECT statement above. MySQL does auto-increment the primarykey but the JClient form just cant show it immediately, unless we close and re-open the form.
What did I do to refresh the primarykey during insert? Please note that I got this solution accidentally coz I'm still a newbie in Java.
A user want to add a record:
1. He presses the Insert button.
2. He enters data into a component (ex. textfield)
3. The component's action-performed event is fired, and the following code is run:
DCJboDataControl dc = (DCJboDataControl)panelBinding.getDataControl();
ApplicationModule am = dc.getApplicationModule();
Transaction tr = am.getTransaction();
dc.commitTransaction();
ViewObject vo = am.findViewObject("TblaccountsView1");
vo.executeQuery();
vo.last();It simply commits the transaction, goes to last (new) transaction, and lets the user continue his data encoding.
Hope it helps and I hope theres an even better way to do this. -
ORABPEL-00000 : Unable to commit transaction
Hi All,
We are using Oracle SOA Suite 10133, & I am trying to call an OA adaptor in one of our processes , & the Adaptor is returing the following error :
<summary>
file:/export/home/oracle/fmw/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_CreateClaimsAsync_1.0_cf08c997ca829ab8a1e5ad739d46bac8.tmp/CreateClaims.wsdl [ CreateClaims_ptt::CreateClaims(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CreateClaims' failed due to: Unable to commit transaction.
; nested exception is:
ORABPEL-00000
Unable to commit transaction.
</summary>
Any idea folks what could be the reason, because one of the parametes to the adaptor is commit which I a passing as T. I think this is one of a kind query cause I tried searching it on forum & couldnt find it. Any useful inputs on that would be highly appreciated.
Regards
VarunHi,
A good solution is you see at slide repository if your ESB project is updated.
Id don't you can to try cleanup this files and restart the OC4J container.
Afonso -
Ora 02290 when using qms_transaction_mgt and autonomous transactions
Hi all,
I'm using the qms procedures:
qms_transaction_mgt for openeing and closing transactions.
Somewhere in my procedure when the transaction is opened i call another procedure which contains a autonomous transaction.
The next time qms_transaction_mgt.close_transaction is called i get an ORA-02290: check constraint (HST65.QMS_NEED_TO_CLOSE_TRANSACTION) violated
When i debug the qms_transaction_mgt.close transaction the g_current_trans_id variable is empty, which indicates the transaction is allready closed.
When i remove the pragma autonomous_transaction statement and the commit statement from the procedure i call, the problem is resolved.
Version information:
Designer 9.0.2 with a with a Oracle 9i 9.2 database and Headstart 9i.
Does anybody know how i can resolve this or if this is a bug and how to fix it?
Thanks,
YvonIan, Yvon,
It is unfortunately a know restriction that the CDM RuleFrame component of both Headstart for Designer 6i and Headstart for Designer 9i doesn't work in combination with autonomous transactions.
The reason is that the RuleFrame administration relies on information stored in 1. pl/sql package variables and 2. database tables. Using autonomous transactions (that involve CDM RuleFramed DML) causes this information to dissynchronize.
A year ago I investigated the possibilities to make autonomous transactions possible with RuleFrame but unfortunately this is fundamental problem: RuleFrame wants to combine multiple DML-actions into one logical transaction (gards this with the "need_to_close_transaction" constraint), while autonomous transactions intend to to the opposite: commit a part of a transaction while the rest of the transaction still is posted/not committed.
There is one exception: if you call an atonomous procedure that does DML on a non-ruleframe-enabled table (no TAPI triggers that intend to open/close the transaction, no CAPI etc), everything functions.
Problem explanation:
====================
1. Outer transaction is opened (by front end or TAPI triggers of first DML)
2. DML takes place
3. Autonomous transaction-procedure is called
4. Auto-transaction again tries (and succeeds!) to open the transaction, it doesn't see that the transaction is opened (db table qms_transactions is empty for the autonomous transaction on query)
5. DML within auto-transaction is posted
6. Auto-transaction closes transaction
7. Auto-transaction is committed
8. Outer transaction thinks the transaction is already closed, because the auto-transaction cleaned out the package variables when it closed the transaction.
9. Commit of the outer transaction fails as the deferred check constraint need_to_close_transaction avoids this to happen (rollback takes place because of this violation).
Hope this helps
Kind Regards
Marc Vahsen
Headstart Team Oracle NL -
Database adapter - commit transactions
Hello everybody.
Is it possible with the BPEL Process Manager (Databas Adapter) to handle some f.e. INSERTS on a database (also with more then one adapter) only with on database connection and commit all INSERTS only at the end of the process?
So it is important that I use only one db-connection. I don't want to open a db-connection for every db-adapter I want to open (to do an Insert or sth else) .
Thx a lotHi Neil,
at the moment it is not possible to have the entire bpel process from db adapter receive to db adapter invoke inside a single jta/global transaction context. We are working on some ideas for next the release.
The best thing for now is to add exception handling to your business process and apply some compensation logic for the individual records which fail. I.e. if using the LogicalDeletePollingStrategy you could set the 'deleted' flag back to 'errored' for rows which are found to be invalid in the transform step and have a separate business process to deal with these.
You could also try a large maxRaiseSize setting. That way if you read 100 rows they will be raised as a single xml document. If the transform fails then no rows will be written to the target database. However the commit will still occur on the source database.
Finally, you could use a non-destructive polling strategy like the SequencingPollingStrategy or LogicalDeletePollingStrategy and a large maxRaiseSize. Your business process could look like this:
receive (non-destructive destroy)
transform
merge all rows - target db
delete all rows -source db
If the 'merge' operation is jta enabled then it will be rolled back if either the transform or the delete fails.
This above idea is like a two stage polling strategy. First the rows are marked as being processed by the receive, but only when they arrive at the target db are they marked a final time as being completed or deleted completely.
Let us know if you need help implementing these ideas. To jta enable the merge see the recent thread 'oc4j-ra and data-sources.xml'.
Thanks
Steve -
Hi,
I am creating an approval procedure for SO, checking balance, due inovices and payment terms. The approval should not be trigger when the SO is cash basic. The payment term cash basic has code -1. This is my query. I got the error Could not commit transaction.
What is wrong?
SELECT CASE WHEN T0.Balance+$[$29.0.NUMBER] > T0.CreditLine AND
$[ORDR.GroupNum] <> (-1 ))
OR
(SELECT COUNT(*) FROM [dbo].[OINV] T1 WHERE T1.DocDueDate<GetDate() AND T1.DocStatus='O' AND T1.CardCode = $[ORDR.CardCode]) > 0
AND
$[ORDR.GroupNum] <> (-1 )
THEN 'TRUE'
ELSE 'FALSE' END
FROM [dbo].[OCRD] T0
WHERE T0.CardCode = $[ORDR.CardCode]
Tks
AdrianaHi Adriana,
By analyzing your logic, I simplified it. Please try this query:
SELECT Distinct 'TRUE' From dbo.OCRD T0, dbo.OINV T1
WHERE (T0.CardCode = $[$4.0.0]) AND ($[ORDR.GroupNum] !=N'-1') AND
((T1.DocDueDate<GetDate() AND T1.DocStatus='O' AND T1.CardCode = $[$4.0.0])
OR (T0.CreditLine - T0.Balance < $[$29.0.NUMBER]))
Thanks,
Gordon
Maybe you are looking for
-
Is AirPlay mirroring available only on OS 10.8 and above?
No matter what I try, I can't see the mirroring icon in the nav bar. I am running 10.7.5 on a mid-2011 Mac. My Apple TV 2 is running the most recent upgrade, but I am not willing to upgrade to Maverick (too many negative comments). Thanks
-
SVG support in Windows Phone store apps
Hi, I would like to know that is SVG format supports in Windows Phone store apps. If yes , how to use svg files in xaml? Thanks -RomeshDB
-
Matrix for jdk version and j2ee version.
Recently, I started working on web application. I downloaded eclipse etc and now i am totally confused b/w various j2ee + jdk versions. I want to develop application in jdk1.4, and j2ee v1.4 So how j2ee 1.4 version is related jdk version? Eclipse is
-
Sofware Update Failing???
Why does iPad 2 Software update via Wi-Fi always fail with the error:Unable to Check for Update. An error occurred while checking for a software update. Then 2 options are offered: Cancel or Try Again. The cycle continues like that until I give up?
-
Hi, my ipadair 2 is disabled, can i get my pictures , befor i reset it?
hi, my ipad air 2 is disabled, (ios 7, 64g ,) can i get my pictures , befor i reset it? i did make a finger print id,, but i dont remember making a passcode / password for this devise,,