DBAdapter using LogicalDeletePollingStrategy in OSB can't update table
Hi!
I have three table A, B, C; B is A's child and C is B's child. I make a DBAdapter using LogicalDeletePollingStrategy and import into OSB to poll the table. At the beginning, the services is OK, and it has read more than 10000 records from database whitout any error.
After that, the services can't update the read mark in the table but it still can read records. It's very strange because I didn't change anything with the Adapter config and the database.
Then I delete the Adapter files and redo them, the service even can't read the records from table and the system will throw some exeption just like stuck threads after 600 second.
But If I read one Table just like Table A or another tables with the Adapter, the service is OK.
The following is my JCA config and the exception stack:
JCA:
<adapter-config name="getPOInfoFromERPDB" adapter="Database Adapter" wsdlLocation="getPOInfoFromERPDB.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/DB/shaphar" UIConnectionName="shaphar" adapterRef=""/>
<endpoint-activation portType="getPOInfoFromERPDB_ptt" operation="receive">
<activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
<property name="DescriptorName" value="getPOInfoFromERPDB.EdiEsbOrderInterface"/>
<property name="QueryName" value="getPOInfoFromERPDBSelect"/>
<property name="MappingsMetaDataURL" value="getPOInfoFromERPDB-or-mappings.xml"/>
<property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
<property name="SequencingColumn" value="TRANS_DATE1"/>
<property name="PollingInterval" value="10"/>
<property name="MaxRaiseSize" value="10"/>
<property name="MaxTransactionSize" value="20"/>
<property name="NumberOfThreads" value="1"/>
<property name="ReturnSingleResultSet" value="false"/>
<property name="MarkReadColumn" value="TRANS_STATUS1"/>
<property name="MarkReadValue" value="FINISHED"/>
<property name="MarkUnreadValue" value="READYTO"/>
</activation-spec>
</endpoint-activation>
</adapter-config>
Exception stack:
<Dec 23, 2011 6:35:27 PM CST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "665" seconds working on the request "weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl@1d505a28", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
Thread-99 "[STUCK] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:24)
java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
java.net.SocketInputStream.read(SocketInputStream.java:107)
oracle.net.nt.MetricsEnabledInputStream.read(TcpNTAdapter.java:707)
oracle.net.ns.Packet.receive(Packet.java:243)
oracle.net.ns.DataPacket.receive(DataPacket.java:106)
oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:309)
oracle.net.ns.NetInputStream.read(NetInputStream.java:254)
oracle.net.ns.NetInputStream.read(NetInputStream.java:187)
oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:77)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1172)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1153)
oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:303)
oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:181)
oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:382)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:70)
oracle.jdbc.driver.T4CPreparedStatement.fetch(T4CPreparedStatement.java:1135)
oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:534)
oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:372)
^-- Holding lock: oracle.jdbc.driver.T4CConnection@1dbd6803[thin lock]
^-- Holding lock: oracle.jdbc.driver.T4CConnection@1dbd6803[thin lock]
weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.next(Unknown Source)
org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:537)
org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:526)
org.eclipse.persistence.internal.sessions.AbstractSession.executeCall(AbstractSession.java:976)
org.eclipse.persistence.internal.sessions.IsolatedClientSession.executeCall(IsolatedClientSession.java:130)
org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:202)
org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:192)
org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:254)
org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:644)
org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2537)
org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.selectAllRows(ExpressionQueryMechanism.java:2490)
org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:391)
org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1046)
org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:659)
org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1032)
org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:344)
org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2392)
org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1284)
org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1256)
org.eclipse.persistence.mappings.CollectionMapping.executeBatchQuery(CollectionMapping.java:825)
org.eclipse.persistence.mappings.ForeignReferenceMapping.extractResultFromBatchQuery(ForeignReferenceMapping.java:380)
^-- Holding lock: org.eclipse.persistence.queries.ReadAllQuery@1d08a992[thin lock]
org.eclipse.persistence.mappings.CollectionMapping.extractResultFromBatchQuery(CollectionMapping.java:807)
org.eclipse.persistence.internal.indirection.BatchValueHolder.instantiate(BatchValueHolder.java:55)
org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:86)
org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:79)
^-- Holding lock: [email protected]8a9d9[thin lock]
org.eclipse.persistence.internal.indirection.BasicIndirectionPolicy.getRealAttributeValueFromObject(BasicIndirectionPolicy.java:253)
org.eclipse.persistence.mappings.ForeignReferenceMapping.getRealAttributeValueFromAttribute(ForeignReferenceMapping.java:865)
org.eclipse.persistence.mappings.DatabaseMapping.getRealAttributeValueFromObject(DatabaseMapping.java:641)
oracle.tip.adapter.db.ox.O_XParser.processCollectionMapping(O_XParser.java:686)
oracle.tip.adapter.db.ox.O_XParser.process(O_XParser.java:674)
oracle.tip.adapter.db.ox.Visitor.process(Visitor.java:250)
oracle.tip.adapter.db.ox.O_XParser.process(O_XParser.java:503)
oracle.tip.adapter.db.ox.O_XParser.processCollectionMapping(O_XParser.java:686)
oracle.tip.adapter.db.ox.O_XParser.process(O_XParser.java:674)
oracle.tip.adapter.db.ox.Visitor.process(Visitor.java:250)
oracle.tip.adapter.db.ox.O_XParser.process(O_XParser.java:503)
oracle.tip.adapter.db.ox.O_XParser.process(O_XParser.java:598)
oracle.tip.adapter.db.ox.O_XParser.parse(O_XParser.java:363)
oracle.tip.adapter.db.InboundWork.onMessageDirectly(InboundWork.java:1869)
oracle.tip.adapter.db.InboundWork.onMessage(InboundWork.java:1829)
oracle.tip.adapter.db.InboundWork.transactionalUnitDirectly(InboundWork.java:1554)
oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1521)
oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:660)
oracle.tip.adapter.db.InboundWork.run(InboundWork.java:498)
oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
weblogic.work.ContextWrap.run(ContextWrap.java:39)
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:203)
weblogic.work.ExecuteThread.run(ExecuteThread.java:170)
Please help me to Solve this problem!
Thank you very much!
OK. I get
Missing argument name.
When using named parameters to a function, every parameter must have a name.The CFML compiler was processing:
An expression beginning with ListQualify, on line 17, column 24.This message is usually caused by a problem in the expressions structure.
The body of a cfquery tag beginning on line 14, column 2.
The body of a cfquery tag beginning on line 14, column 2.
The error occurred in D:\program files\Apache Software Foundation\Apache2.2\dev.intranet\AITE_Test_System\secure\Management\ClassMgr\editroster. cfm: line 17
15 : UPDATE students
16 : SET A1_Class = <cfqueryparam cfsqltype="cf_sql_varchar" value="#URL.ClassID#" />
17 : WHERE Ad_Username IN (#ListQualify(Form.Checkbox,')#)
18 : </cfquery>
19 : <cfcatch type="any">
Similar Messages
-
Using ios8 and I can't update apps nor download podcasts? Have tried all noted solutions, except sync to desktop or reinstall. Is anyone having these issues?p
updated ipad to IOS8,plus itunes 12.0.1,now when click on itunes-devices- no apps, magazines etc are visible except music,movies etc
what have they done? -
UPDATE QUERY can't update table
Hi,
During 1500-2000 concurrent users, DB Transaction locks occur. So that Update query can't update table and we get inconsistent data. How can we avoid this inconsistent data?? Why we get transaction locks??
Eg. In update query it update the status of user with completed; but because of transaction lock update query can't update status of user it remains uncompleted. So we can get wrong status of user(inconsistent data). Why UPDATE query update the status
of user???
update table set status='completed', date=@p2,score=@p3 where id=@p1You are not getting inconsistent data, you are getting the data according to the isolation level you are running under. The isolation level determines the locking model and therefore determines any bad dependencies you may experience. Reducing the bad dependencies
through higher isolation level will lower concurrency. *This* is the core concept of Transactional Processing theory.
Furthermore there is not really such a thing as a DB Transaction lock - at least not in the way you mean. SQL server does use DB locks (such as Shared transaction workspace and Exclusive transaction workspace) but the highest level of lock escalation is
the object level (heap or btree) so those are the things you are really interested in. In the ideal would you want all Exclusive, Shared and U locks to be taken at the RID (heaps) or Key (cluster tables) level - and only have few of them per query.
In conclusion think carefully about your query and how it is implimented under the covers by the database engine.
Regards,
Mark Broadbent.
Microsoft Certified Master
Contact me through twitter |
blog | sqlcloud
Please click "Propose as answer" if a post solves your problem
or/and vote the post up if it's been helpful. -
MY daughter sold me this iPad! When I go to update it always tries to use her appleid instead of mine!! She has forgot the password to this account what should I do! Because it says it's hooked up to my Id but when I try to update itsail ways says her I'd information
Is this when updating apps or the iPad's iOS version ? If apps then any apps that your daughter downloaded onto the iPad will be tied to her account, so only her account can download updates to those apps (you would need to delete the apps and buy/download them with your own account to be able to download future updates to them with your account) then she could try getting her password reset via http://iforgot.apple.com
If you are trying to update the iOS version on it and she's left it tied to her iCloud account then with iOS 7 and activation lock only her account will be able to re-activate the iPad. She can try getting her password reset via the above iforgot link. -
I bought a fairly used iPhone and I can't update items on my phone
I Bought a fairly used iPhone. The problem here is I can download items but I can't update them
If you are trying to update apps that were on the iPhone when you got it, that means that those are the previous owner's apps, you are not authorized to use them, and the previous owner did not do what they were supposed to. They should have done this: What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support.
-
I recently purchased a MacBook Pro and transferred data from my MacBook using Migration Assistant via Ethernet cable. I was confused about consolidating my accounts, so I continued to use my old MacBook. Can I now update the data transfer using the same process and begin using my new MacBook Pro exclusively? How do I consolidate my existing accounts?
Thank you.Of course. It does everything it did before Yosemite. You just won't be able to send or receive SMS messages with it.
-
I am using Yosemite 10.10 can get update of 10.10.1
On my iMac , I used the beta version of Yosemite right through until the release without problems. Since the release of 10.10 I have been having issues with a number of things not the least of which my newer versions of PSE 12 and Premier Elements won boot up, giving me a config error 16. PSE 11 seems to work fine. I have also been having issues with software updates in which they appear in the Updates list and when I click on them they appear in the Installed in the last 30 Days List. This is bazaar and continues to this day. When I got wind of the 10.10.1 OS X update I immediately installed it on my MacBook pro that did't run the beta version of OS X and it installed beautifully and runs all my Adobe PSE etc without issue as it always has. Meanwhile on my iMac, OS X 10.10.1 doesn't even appear on the updates list so I can't download it. I went to the Apple downloads page and downloaded the 10.10.1 update onto my desktop and when I went to install it it gave me an error message saying "OS X Update can't be installed on this disk. This volume does not meet he requirements for this update" Did something happen during the 10.10 install yo cause this. Where do I go from here to make thing right.
Thanks baltwo I did that and ran Disk Utility in recovery to repair permissions some were repaired but I noted a comment about SUID file be modified. In any case I tried to install the 10.10.1 update and it wouldn't work as per the earlier error msg. I then ran DiskWarrior to repair files and permissions and got the following report, I think Im doomed.
following report. -
Any tips on how to do the above , thanks
You do not need a MAC. Why do you thing this is true.
Do they have a PC?
Apple ID (required for some features)
Internet access6
Syncing with iTunes on a Mac or PC requires:
Mac: OS X v10.5.8 or later
PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
iTunes 10.5 or later (free download fromwww.itunes.com/download) -
I use E7-00 I can't update Nokia Belle
Product Code 059D7P4
Country Thailand
Please!!!scoobyman
Mobile Sensei
tnx for the reply ....
here are all details in the photo
Attachments:
scr000027.jpg 43 KB
scr000028.jpg 42 KB
scr000029.jpg 35 KB -
Can we use OWSM in OSB for ServiceType Other than WSDL Webservice
Hi all,
We want to use OWSM in OSB can we use OWSM in OSB for all the Service Type like WSDL,Messaging service(mfl,text,binary) , SOAP , ANY XML service????
Is there any restriction in the service Type???
What bout Adapters like JMS,FTP,File can we use OWSM in the adapters for authentication ??????????
Thanks
Phaniyou can attach OWSM policies to the "WSDL" and "Any SOAP" types of proxy and business services in Oracle Service Bus on the Policies page. See section "50.2.2 Attaching Oracle Web Services Manager Policies to Oracle Service Bus Services" at below link -
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/owsm.htm#CHDBIJHD
Regards,
Anuj -
for any more information, i am in South Korea right now, and i've tried both english and korean version to install on my computer.
it's a laptop from Asus, N61J. i'm using windows 7 and can't update the itunes- apparently need to download a new version, idk why they couldn't just let me update it through itunes. and so itunes have error as following picture. please help. i got a new iphone today and because of this stupid itunes i can't sync my iphone.. -_-found a solution in a different discussion.. thank god.
-
I can't update premiere cs6 and Encore crash
Hi, i have creative cloud and i have installed previous version of premiere pro for use Encore but i can't update premiere cs6 and encore crash when i edit new project.
More information needed for someone to help... please click below and provide the requested information
-Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840 -
How to update Table MKPF (MKPF-MBLNR)
Can anyone help me on how can I update table MKPF? I'm trying to change the value of MKPF-MBLNR during GR Creation. (I created PO, then GR, then MIGO). So during GR creation, MKPF-MBLNR should be changed before going to MIGO. I just needed to modify MBLNR to do the offset of years depending on user input. I can not use BDC for this since this is a standard one.
I tried to use this function CALL FUNCTION '/SAPHT/DRM_CALC_DATE' to modify the data of mblnr and created a custom function "CALL FUNCTION 'ZUPDATE_EQUIP_DATE' starting new task 'test'"... where it open a new task once there's an error in updating the value. But this one is limited since SAP only allows the maximum of 6 sessions only.So if the 6th session has been reached, it stops the process.
Does anyone has a better idea regarding this?Sorry for a vague explanation... Let me rephrase, my requirement is to change the Valid from field in IQ02.
So I create GR in MIGO. So from here, I wanted to manipulate the value of 'VALID FROM' field (MKPF-DATAB) to do some offset or addition based on user input. So during creation, the value that will be saved in MKPF is the one manipulated. So when you go to MIGO, and see the Valid FROM field, it will now show your manipulated data.
Any help/idea is very much appreciated... -
Updating table rows in Application Module class
How can I update table rows in Application Module class?
I'm using JDev 10.1.3 ADF BC, not JSF!
Thanks.There are plenty of examples of doing this in the new ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center. No need to use raw JDBC.
http://www.oracle.com/technology/products/adf/learnadf.html
See Chapters 5 and 6 for a start. -
How can I use the DBAdapter with SequencingPollingStrategy in OSB Cluster?
Hi!
I have a OSB cluster. I need to read a view with the DBAdapter. I use SequencingPollingStrategy to implement the adapter.
Then I import it into OSB and make it work and the service works normally in the single node.
But if I import it into OSB cluster, the service always read the duplication records from the view.(the Distrbute polling is not worked in SequencingPollingStrategy )
So how can I use the DBAdapter with SequencingPollingStrategy in OSB Cluster?
Thank you!Nope. Version 5 is a fashion accessory: it looks like software, but it doesn;t actually do anything. Sort of like a sports car with a lawn-mower engine. Looks snzzy. Doesn't really work. (And given how buggy it is, I should further specifiy that the lawn-mower engine comes with a blade: it chews up your old templates, produces files that cannot be sent as email attahcments [yes, really], and—this just in—doesn;t play well with the new SMB facility of Mavericks. In short, as one reviewer put it, "un unmitigated disaster."
Maybe you are looking for
-
I have an ipad mini 1st gen 64 gb (wifi only) and i have problem with some of my apps. These apps have lags when you play with them for a few seconds the apps are having lags are call of duty strike team, gta San Andreas and nfs most wanted.pleas hel
-
A few questions about setting up a network drive
Hello, I have been trying setup a private server on my home network. I have a Netgear WNDR 3800 and have been trying to hook up my 2TB external drive to the router. I have been trying to decide how I want to format the drive, and how many partitions
-
Error from wsdl in java studio
Hi folks, I'm trying to create a web service with Java Studio Enterprise from a wsdl file but it throw me this error: "error: in message "MessageRichiestaDaWccATtm", part "arg1" must specify a "type" attribute. The wsdl fie is validated by XmlSpy and
-
Where on God's green earth is "Apple support"?
Now I have a Name, this post is aimed squarely at: Matt K. English Communities Manager. Since MONDAY this week, I have been struggling to sign in to these forums. I do have an ID and Username that was in use here back in 2009, but can I access it, ca
-
How to add data to custom dropdown in E-REC BSP Application:HRRCF_REQ_MNT
We have added a custom dropdown field in E-recruitment. The BSP application is: HRRCF_REQ_MNT. Now i need to assign values to that dropdown through HRRCF_REQ_MNT. Any suggestion where that dropdown will be defined because i dont see it in the layout