Issue with JDBC receiver
Hello All,
We have SAP ECC (proxy sender) -> XPI 7.0 -> Oracle (jdbc receiver).
We are querying data in some oracle tables. This is the error we see in communiation channel monitoring for JDBC receiver adapter:
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@xxxxx.abc.def.com:1521:rdwT1': SQLException: ORA-28000: the account is locked
But, we were told that login credentials (user/password) are working fine and account (user name give in the communication channel) is not locked.
So, is there anything i need to check?
In XI's SXMB_MONI, we see the following error:
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method process.</SAP:AdditionalText>
Another question is, why is the error in communication channel monitoring not getting propogated to SXMB_MONI?
Anything obvious missing here?
Thanks,
Chandra
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@xxxxx.abc.def.com:1521:rdwT1': SQLException: ORA-28000: the account is locked
Please check the following..
a) Test the above db connection string using TOAD or sQLplus and see how that works. The exception clearly shows account is locked. If you repeatedly use invalid credentials for three times using the jdbc channel there is a possibility that account gets locked.
b) Also check the port, hostname and database name are right and valid one. Also check with BASIS team whether one more time account is locked or not.
Since you configured the receiver channel as JDBC and you will see this error log only at Java Stack.. that is in the communication channel monitoring. This you wont see it in the Integration engine.
Hope that helps.
Similar Messages
-
"Channel started but Inactive" - Issue with JDBC channels
Hi all,
I have 5 channels configured with Oracle which were functioning till yesterday night properly. All of a sudden 3 out of them have decided not to co-operate and they show a status in RWB as "Channel started but Inactive".
The rest two are functioning correctly which is more weird.
I did the following:
1. Complete cache refresh.
2. Delta cache refresh
3. channel was copied with a new name and used and it works but this doesnt make any sense.There has to be a proper way to deal with this situation.
4. All channels are activated in ID.
Has anybody faced similar issues with JDBC or any other type channels?
Regards,
Amol JoshiHi Amol,
Usually the channel information is available in the monitor after the service and the channel are activated successfully.
However, in the case of the SOAP adapter, the
adapter status is not available until the first request is sent to the adapter.
For JDBC Adapter try to:
1. Re-configure JDBC parameters, it might happened that it is not able to establish a database connection.
Just re-enter and activate the same.
2.goto to the IR adn ID and run the cache ,you will get the cache objects list in red color check the error details there, make sure the AE cache is up and running fine.
goto to the RWB>cache monitoring or status->check the cache status of the AE and IS, it should be green in color,
run the CPA cache from the URL with the PIDIRUSER ...then again run the cache from IR and ID and check.
Also check :
1.if you have right permission to write the data to the table
2. Check whether that table takes NULL values, if so check what data is being supplied by XI to the receiver end.
*Pls: Reward points if helpful*
Regards,
Jyoti -
I have been having issues with not receiving texts and voicemails daily, for a few months now. If I turn the phone completely off, when I turn it back on the messages will flood in from hours before. I can't be continually turning off my phone in case someone left me a message. How do I resolve this issue?
Wifi: my Cell phone will remember 10 wifi connections. So delete any you don't use often and your home wifi and try to enter home wifi again.
if it still won't connect to home wifi, call your internet provider for help. You may need a newer router or different settings Or upgraded service. Your phone seeks the best connection and will refuse lesser connections.
last resort. Backup the phone. Do a full reset, then restore as new with the backup.
if still not fixed, go back to apple and insist on repair or replacement.
HOWEVER. voicemail is not a wifi issue, it's a carrier function, which is why the SIM card is a suspect. -
Is anyone else having issues with sending / receiving messages since ios7 upgrade
Is anyone else having issues with sending / receiving messages since ios7 upgrade
I found this link, and am trying it right now to see if it helps.
http://forums.macrumors.com/showthread.php?t=1647944&highlight=ios7+imessage+tro uble -
Issues with JDBC Connection Pooling
Hi all,
I'm experiencing some unexpected behaviour when trying to use JDBC Connection Pooling with my BC4J applications.
The configuraiton is -
Web Application using BC4J in local mode
Using Default Connection Stagegy
Stateless Release Mode
Retrieving Application Modules using Configuration.createRootApplicationModule( am , cf );
Returning Application Modules using Configuration.releaseRootApplicationModule( am, false );
Three application modules
AppModuleA - connects to DatabaseConnection1
AppModuleB - connects to DatabaseConnection2
AppModuleC - connects to DatabaseConnection2
My requirement is to -
Use App Module Pooling and have individual pool for each Application Module
Use JDBC Pooling and have individual pool for each Database connection
Note: All configuration was achieved in design mode (i.e. right clicking AppModule->Configurations...)
1. Initial approach -
In the configuration for each Application Module I specified the connection type as 'JDBC Datasource' and specified to approriate datasource.
Tried setting doConnecitonPooling to 'true' as well as 'false'
In the data-sources.xml I specified all the appropriate info including min-connections and max-connections.
I would expect, with the above config that BC4J would use OC4J's built in JDBC connection pooling.
2. Second approach -
In the configuration for each Application Module I specified the connection type as JDBC URL.
In the configuration I specified doConnectionPooling = 'true' as well as the max connection, max available and min available
What I experienced in both cases was that the max connections seem to be ignored as the number of connection as reported by the database (v$session) was exceeded by more than 10.
In addition to this once the load was removed the number of JDBC connecitons did not drop (I would have expected it to drop to max available connections)
My questions are -
1. When specifying to use a 'JDBC Datasource' style of connection, is it in fact OC4J that is then responsible for pooling JDBC connections? And in this case should BC4J's doConnectionPooling parameter be set to true or false?
2. Are there any known issues with the use of the JDBC Conneciton Pool as stated by the above to approaches?Thanks for the additional info. Please see my comments. below.
Sorry should have been more specififc -
1. Is each application pool using a different JDBC user? You mentioned DatabaseConnection1 and DatabaseConnection2
above; are these connections to different schemas / users? If so, BC4J will create a separate connection pool for each
JDBC user. Each connection pool will have its own maximum pool size.
Each 'DatabaseConnection' refers to a different database, actually hosted on a seperate physical server, different
schema and different user.BC4J will maintain a separate connection pool for each permutation of JDBC URL / schema. If each user is connecting
to a different DB instance then I would expect no greater than 10 DB sessions. However, if a DB instance is hosting
more than user then I would expect greater than 10 DB sessions (though still no more than 10 DB sessions per user).
2. Are all the v$session sessions related to the JDBC clients? There should be at least one additional database
session which will be related to the session that is querying v$session.
When querying the v$session table I specifically look for connections from the user in quesiton and from the machine
name in question and in doing so eliminate the database system's connections, as well as the query tools'
connection. One area I'm not sure about is the connection BC4J uses to write to its temporary tables. I am using
Stateless release mode and have not explicetly stated to save to the database but I'm wondering if it still does if so
and how does it come into the equation with max connections?BC4J's internal connections are also pooled and the limits apply as mentioned above. So, if you have specified
internal connection info for a schema which is different than the users above I would expect the additional conns.
One helpful diagnostic tool, albeit programmatic, might be to print the information about the connection pools after
your test client(s) have finished. This may be accomplished as follows:
// get a reference to the BC4J connection pool manager
import oracle.jbo.server.ConnectionPoolManagerFactory;
import oracle.jbo.server.ConnectionPoolManagerImpl;
import oracle.jbo.pool.ResourcePool;
import java.io.PrintWriter;
import java.util.Enumeration;
// get the ConnectionPoolManager. assume that it is an instance of the supplied manager
ConnectionPoolManagerImpl mgr = (ConnectionPoolManagerImpl)ConnectionPoolManagerFactory.getConnectionPoolManager();
Enumeration keys = mgr.getResourcePoolKeys();
PrintWriter pw = new PrintWriter(System.out, true);
while (keys.hasMoreElements())
Object key = keys.nextElement();
ResourcePool pool = (ResourcePool)mgr.getResourcePool(key);
System.out.println("Dumping pool statistics for pool: " + key);
pool.dumpPoolStatistics(pw);
} -
SQL Developer connection issue with JDBC
Hi skutz & friends,
I have problem with Oracle SQL Developer I can not connect to any oracle db
because Status : Failure -Error loading native JDBC driver library.
However, I download SQL developer [ Oracle SQL Developer for Windows (JDK1.5.0_06 is bundled in this zip) ]
After it is not working. Also I download JDK 5.0 Update 14
The Java SE Development Kit (JDK) to install it on my PC again.
But it does not work. My install path information:
install path as C:\Program Files\SQLDEVELOPER_INSTAL\sqldeveloper
local oracle as !0g 10201
SQL version as sqldeveloper-1.2.1.3213 which download last versionfrom OTN on 2/18/2008.
for connection, taken basic.
port as default 1521
hostname and saver name are same.
I created a environment variable in window xp.
SQLDEVELOPER_USER_DIR AS C:\Program Files\SQLDEVELOPER_INSTAL\sqldeveloper
can anybody help me with this connection?
thanks
JimmyDuplicate thread: Please enter all responses on other thread: SQL seveloper connection issue with JDBC
-
Issue with custom receive Pipeline component
I have been facing issue with creating a custom receive pipeline component. The Pipeline is to receive large file, if the file size is large it has to read the incoming stream to a folder and pass only some meta data through the MessageBox. The Execute method
I am using is,
#region IComponent Members
public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
if (_largeFileLocation == null || _largeFileLocation.Length == 0)
_largeFileLocation = Path.GetTempPath();
if (_thresholdSize == null || _thresholdSize == 0)
_thresholdSize = 4096;
if (pInMsg.BodyPart.GetOriginalDataStream().Length > _thresholdSize)
Stream originalStream = pInMsg.BodyPart.GetOriginalDataStream();
string largeFilePath = _largeFileLocation + "\\" + pInMsg.MessageID.ToString() + ".zip";
FileStream fs = new FileStream(largeFilePath, FileMode.Create);
// Write message to disk
byte[] buffer = new byte[1];
int bytesRead = originalStream.Read(buffer, 0, buffer.Length);
while (bytesRead != 0)
fs.Flush();
fs.Write(buffer, 0, buffer.Length);
bytesRead = originalStream.Read(buffer, 0, buffer.Length);
fs.Flush();
fs.Close();
// Create a small xml file
string xmlInfo = "<ns0:MsgInfo xmlns:ns0='http://SampleTestPL.SchemaLocation'><LargeFilePath>" + largeFilePath + "</LargeFilePath></ns0:MsgInfo>";
byte[] byteArray = System.Text.Encoding.UTF8.GetBytes(xmlInfo);
MemoryStream ms = new MemoryStream(byteArray);
pInMsg.BodyPart.Data = ms;
return pInMsg;
#endregion
Here I want the xml to be dropped in to the File share Eg: E:\Dropbox\PL\send and and the entire message to be dropped in the folder Eg: E:\Dropbox\sendLarge. so in the ReceivePipeline properties i set like
And in the send port the destination i give is E:\Dropbox\PL\send.
The issue is both the xml and the message are getting dropped in to the same folder E:\Dropbox\PL\send and the message is not getting dropped in E:\Dropbox\SendLarge. Any help is greatly appreciated.using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.BizTalk.Message.Interop;
using Microsoft.BizTalk.Component.Interop;
using System.IO;
namespace Sample.ReceivePipelineLargeFile
[ComponentCategory(CategoryTypes.CATID_PipelineComponent)]
[ComponentCategory(CategoryTypes.CATID_Decoder)]
[System.Runtime.InteropServices.Guid("53fd04d5-8337-42c2-99eb-32ac96d1105a")]
public class ReceivePipelineLargeFile : IBaseComponent,
IComponentUI,
IComponent,
IPersistPropertyBag
#region IBaseComponent Members
public string Description
get
return "Pipeline component used to receive large file and save it ina disk";
public string Name
get
return "ReceivePipelineLargeFile";
public string Version
get
{ return "1.0.0.0";
#endregion
#region IComponentUI Members
public IntPtr Icon
get
return new System.IntPtr();
public System.Collections.IEnumerator Validate(object projectSystem)
return null;
#endregion
#region IPersistPropertyBag Members
private string _largeFileLocation;
private int _thresholdSize;
public string LargeFileLocation
get { return _largeFileLocation; }
set { _largeFileLocation = value; }
public int ThresholdSize
get { return _thresholdSize; }
set { _thresholdSize = value; }
public void GetClassID(out Guid classID)
classID = new Guid("B261C9C2-4143-42A7-95E2-0B5C0D1F9228");
public void InitNew()
public void Load(IPropertyBag propertyBag, int errorLog)
object val1 = null;
object val2 = null;
try
propertyBag.Read("LargeFileLocation", out val1, 0);
propertyBag.Read("ThresholdSize", out val2, 0);
catch (ArgumentException)
catch (Exception ex)
throw new ApplicationException("Error reading PropertyBag: " + ex.Message);
if (val1 != null)
_largeFileLocation = (string)val1;
if (val2 != null)
_thresholdSize = (int)val2;
public void Save(IPropertyBag propertyBag, bool clearDirty, bool saveAllProperties)
object val1 = (object)_largeFileLocation;
propertyBag.Write("LargeFileLocation", ref val1);
object val2 = (object)_thresholdSize;
propertyBag.Write("ThresholdSize", ref val2);
#endregion
#region IComponent Members
public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
if (_largeFileLocation == null || _largeFileLocation.Length == 0)
_largeFileLocation = Path.GetTempPath();
if (_thresholdSize == null || _thresholdSize == 0)
_thresholdSize = 4096;
if (pInMsg.BodyPart.GetOriginalDataStream().Length > _thresholdSize)
Stream originalStream = pInMsg.BodyPart.GetOriginalDataStream();
string largeFilePath = _largeFileLocation + "\\" + pInMsg.MessageID.ToString() + ".zip";
FileStream fs = new FileStream(largeFilePath, FileMode.Create);
// Write message to disk
byte[] buffer = new byte[1];
int bytesRead = originalStream.Read(buffer, 0, buffer.Length);
while (bytesRead != 0)
fs.Flush();
fs.Write(buffer, 0, buffer.Length);
bytesRead = originalStream.Read(buffer, 0, buffer.Length);
fs.Flush();
fs.Close();
// Create a small xml file
string xmlInfo = "<ns0:MsgInfo xmlns:ns0='http://SampleTestPL.SchemaLocation'><LargeFilePath>" + largeFilePath + "</LargeFilePath></ns0:MsgInfo>";
byte[] byteArray = System.Text.Encoding.UTF8.GetBytes(xmlInfo);
MemoryStream ms = new MemoryStream(byteArray);
pInMsg.BodyPart.Data = ms;
return pInMsg;
#endregion
Thanks Osman Hawari, for trying to help me out. -
Issue with the Receiving Transaction Processor Standard Program
We are facing issue in the Receiving Transaction Processor Standard Program.
The error description is as below:
RVTII-030: Subroutine rvtiicreate() returned error
Cause: Subroutine rvtiicreate() returned an internal error.
Action: Note this error number and the actions you are trying to perform. Contact your system administrator.
RVTII-077: ORA-01476: divisor is equal to zero
Cause: A SQL error has occurred in RVTII. The SQL error is &LSQL_ERR.
if any once faced this issue earlier and any solution, Please let us know.
Regards,
KrishnaPlease see if these docs help.
RMA Receipt Errors With RVTII:077 OE COGS API Returned Error Warehouse NULL [ID 301767.1]
RCVRCERC: RVTII-077: ORA-0146: divisor is equal to zero [ID 1287907.1]
Cost Of Goods Sold Account Generation Failed With Error [ID 406035.1]
RMA Transaction Issues (Troubleshooting) [ID 311208.1]
Thanks,
Hussein -
Sateillite A200-1A9: Issue with sending/receiving E-mail using Windows Mail
Using Windows mail I have to close/open the programme to be able to send mails, they get stuck in the Outbox. By closing and reopening the programme the mail gets sent. Also the Blue figure 1 in brackets showning 1 unread mail in the Outbox is there all the time although there is no mails read or unread in the Outbox
Not a server problem as all mails are going/receiving fine on my desktop.
Pressing send and receive button does not help. although some of the time it will receive mails when pressing send/receive but will not send them
I do have Norton Internet security 2007 and am getting fed up with the continuing problems that this seems to cause over the period 2004-7.
Is there an issue with the Windows mail programme running with Vista that is knownI think I have found a solution
Please check this:
Windows Mail will not Send or Receive mails
http://support.toshiba-tro.de/kb0/TSB7701X30005R01.htm
It seems that the update of Software Desktop SMS to the newest version will help to sort out this problem. -
Hi, I use iphone 4 version 4.3.3 (8J2). I have downloaded my ICICI bank's application 'iphone imobile'. It asks for an activation code which it instructs to send a text message 'imobile iphone' to 5676766. I have done that umpteen times but problem is that i don't receive any reply. I have faced a similar problem while receiving activation code for another application 'Whatsapp', but fortunately Whatsapp gives an option of receiving activation code through alternate mode so i got the activation code through mail. Unfortunately ICICI Bank gives the activation code ONLY through a text message.
In this case there seems to be a problem with iPhone receiving activation code. Can anyone help me out here?
Amber Paintal
iphone 4 version 4.3.3 (8J2)Hi, I use iphone 4 version 4.3.3 (8J2). I have downloaded my ICICI bank's application 'iphone imobile'. It asks for an activation code which it instructs to send a text message 'imobile iphone' to 5676766. I have done that umpteen times but problem is that i don't receive any reply. I have faced a similar problem while receiving activation code for another application 'Whatsapp', but fortunately Whatsapp gives an option of receiving activation code through alternate mode so i got the activation code through mail. Unfortunately ICICI Bank gives the activation code ONLY through a text message.
In this case there seems to be a problem with iPhone receiving activation code. Can anyone help me out here?
Amber Paintal
iphone 4 version 4.3.3 (8J2) -
Error With JDBC receiver adapter
Hi Guys,
I am working with File to Jdbc scenario.at the file side the process is working fine.the file is picked up by the file adapter and send it XI.then XI sends the data to JDBC it shows an error in receiver side.the error is as follws
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'sap_alt_spec' (structure 'Statementname'): java.sql.SQLException: ORA-00928: missing SELECT keyword
so can any one tell me the solution to resolve the error?its urjent.Hi,
please refer:
for configuration of JDBC adpt-
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
for XML document formats(this is much imp.)-
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
Ranjit -
Hi,
I'm using PI 7.0, SP13 and I'm sending a message to a MS webservice, using BURP as a proxy in between to avoid NTLM authorisation issues.
The problem is that it's perfecly possible to send a message using soapUI, but sending the exact same message ends up in an error:
"SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request"
I already configured the MessageTransformBean by setting the ContentType to text/xml; charset=utf-8. Here are the settings of my communication channel:
Target URL: http://<correct URL on local network>
User authentication: false
Certificate authentication: false
Proxy: BURP proxy and BURP port
Proxy user authentication: false
Secutiry profile: false
Do not use SOAP envelope: false
Keep headers: false
Keep attachments: false
Use encoded headers: false
Use query string: false
SOAP action: <correct SOAP action>
I also played with the parameters "Do not use SOAP envelope", "Keep headers" and "Keep attachments", without any success. The only difference that I can think of is that soapUI runs on Windows, and the PI system runs on Linux.
Ideas, anyone?@Baskar Gopal: I didn't generate a WSDL: I'm using the SOAP receiver to post a message to an existing webservice.
@sdnuser: the endpoint URL is 100% correct. I also added the MessageTransformBean like I stated before.
@Chirumamilla Sukarna: HTTP adapter doesn't work because I need the SOAP envelope.
The payload is in both cases (soapUI and PI) the same. Here's the part that's different:
soapUI (working part):
POST /DynamicsNAV/WS/Rendon%20Voorburg/Codeunit/Webservice HTTP/1.0
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "urn:microsoft-dynamics-schemas/codeunit/Webservice:ContractorOrderInSync"
User-Agent: Jakarta Commons-HttpClient/3.1
Host: 192.168.1.8:7049
Proxy-Connection: Keep-Alive
Content-Length: 4292
Connection: Keep-Alive
SAP PI (not working part):
POST /DynamicsNAV/WS/Rendon%20Voorburg/Codeunit/Webservice HTTP/1.0
Accept: /
Host: 192.168.1.8:7049
User-Agent: SAP-Messaging-com.sap.aii.messaging/1.0505
Authorization: Basic aGFhZ3dvbmVuQGJpbTpRYnFyRU84IQ==
content-id: <soap-C89FD74E68782E13E1000000C0A8E010 @ sap.com>
Content-Type: text/xml;charset=UTF-8
Content-Length: 4292
SOAPACTION: "urn:microsoft-dynamics-schemas/codeunit/Webservice:ContractorOrderInSync"
Connection: Keep-Alive
I know the content type looks correct here, but the SOAP adapter gives an error about this nevertheless. -
I may be wrong to post a query related to JDBC here but no choice i am posting here....
We have multi tier application using
IIS-Tomcat-InbuiltAppserver-Toplinlik-JDBC- Db
Appserver is built in Java.
JDBC:9.2.0.8
Oracle:9.2.0.6 on AIX 5304
JDK 1.4
We are using internal conenction pooling.
Suddenly we are encountering numerous locks in application log and i have attached the error message below. We have a raised a SR with metalink but still of no use...
Has anyone ever ecnountered these stuffs
INFO | jvm 1 | 2009/03/30 10:57:28 | "VBJ ThreadPool Worker" daemon prio=5 tid=0x03a6dac8 nid=0x1698 runnable [55ce000..55cfd98]
INFO | jvm 1 | 2009/03/30 10:57:28 | at java.net.SocketInputStream.socketRead0(Native Method)
INFO | jvm 1 | 2009/03/30 10:57:28 | at java.net.SocketInputStream.read(SocketInputStream.java:129)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.net.ns.Packet.receive(Unknown Source)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.net.ns.DataPacket.receive(Unknown Source)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.net.ns.NetInputStream.read(Unknown Source)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.net.ns.NetInputStream.read(Unknown Source)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.net.ns.NetInputStream.read(Unknown Source)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:930)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:894)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:383)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:1231)
INFO | jvm 1 | 2009/03/30 10:57:28 | - locked <0x1527a178> (a oracle.jdbc.ttc7.TTC7Protocol)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2616)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
INFO | jvm 1 | 2009/03/30 10:57:28 | - locked <0x11a58e68> (a oracle.jdbc.driver.OraclePreparedStatement)
INFO | jvm 1 | 2009/03/30 10:57:28 | - locked <0x152798b8> (a oracle.jdbc.driver.OracleConnection)
INFO | jvm 1 | 2009/03/30 10:57:28 | at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584)
INFO | jvm 1 | 2009/03/30 10:57:28 | - locked <0x11a58e68> (a oracle.jdbc.driver.OraclePreparedStatement)
INFO | jvm 1 | 2009/03/30 10:57:28 | - locked <0x152798b8> (a oracle.jdbc.driver.OracleConnection)
B) 31-Mar-2009 1710 hrs, locking observed at Oracle driver
INFO | jvm 1 | 2009/03/31 17:10:12 | "VBJ ThreadPool Worker" daemon prio=5 tid=0x03aa0560 nid=0x12fc runnable [44ff000..44ffd98]
INFO | jvm 1 | 2009/03/31 17:10:12 | at java.net.SocketInputStream.socketRead0(Native Method)
INFO | jvm 1 | 2009/03/31 17:10:12 | at java.net.SocketInputStream.read(SocketInputStream.java:129)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.net.ns.Packet.receive(Unknown Source)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.net.ns.DataPacket.receive(Unknown Source)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.net.ns.NetInputStream.read(Unknown Source)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.net.ns.NetInputStream.read(Unknown Source)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.net.ns.NetInputStream.read(Unknown Source)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:930)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:894)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:383)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:1231)
INFO | jvm 1 | 2009/03/31 17:10:12 | - locked <0x1525f140> (a oracle.jdbc.ttc7.TTC7Protocol)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2616)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
INFO | jvm 1 | 2009/03/31 17:10:12 | - locked <0x16622b00> (a oracle.jdbc.driver.OraclePreparedStatement)
INFO | jvm 1 | 2009/03/31 17:10:12 | - locked <0x1525f1a8> (a oracle.jdbc.driver.OracleConnection)
INFO | jvm 1 | 2009/03/31 17:10:12 | at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584)
INFO | jvm 1 | 2009/03/31 17:10:12 | - locked <0x16622b00> (a oracle.jdbc.driver.OraclePreparedStatement)
INFO | jvm 1 | 2009/03/31 17:10:12 | - locked <0x1525f1a8> (a oracle.jdbc.driver.OracleConnection)
INFO | jvm 1 | 2009/03/31 17:10:12 | at TOPLink.Private.DatabaseAccess.DatabaseAccessor.n(DatabaseAccessor.java)
C) 31-Mar-2009 1743 hrs, another similar locking seen at the Oracle driver
INFO | jvm 1 | 2009/03/31 17:43:58 | "VBJ ThreadPool Worker" daemon prio=5 tid=0x0385e008 nid=0x16b4 runnable [453f000..453fd98]
INFO | jvm 1 | 2009/03/31 17:43:58 | at java.net.SocketInputStream.socketRead0(Native Method)
INFO | jvm 1 | 2009/03/31 17:43:58 | at java.net.SocketInputStream.read(SocketInputStream.java:129)
INFO | jvm 1 | 2009/03/31 17:43:58 | at oracle.net.ns.Packet.receive(Unknown Source)
INFO | jvm 1 | 2009/03/31 17:43:58 | at oracle.net.ns.DataPacket.receive(Unknown Source)
INFO | jvm 1 | 2009/03/31 17:43:58 | at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)Thank you,
Based on the error message we suspected there was a contention in READ CONNECTION pool and we increased the parameter to cater additonal concurrent users and we started testing in UAT and didnt greatly help either.
Then we narrow down to sql which was causiing the CPU to hike upto 100%. We looked into the sql which fetches data from a 5 Million record table which was taking 30 minutes to retrieve just 4 records.
Then we decided to indexes the coulmns on the where clauses used in the sql. The query which was running for 30 minutes which caused the entire URL to slow down ran in 3-5 seconds.
I never had seen something likes this whcih can result in such a drastic increase in performance .
Our develpoment team has been telling all along that this is toplink problem /JDBC problem for slownesss...
Basically it was an lack of troubleshooting that caused havoc for a week and was fixed in 4 hrs intense troubleshooting
Thanks -
Issue with SOAP receiver AXIS adapter
Hi All,
We have a scenario SOAP -- > PI -- > SOAP (axis) using SOAP 1.2 version synchnrous scenario. Using Webservice navigator am trying to trigger a message to PI .
Message has reached to PI box and failing in the receiver SOAP(axis) channel as :
Delivering to channel: Receive_SOAP_BulkFeedback 18.08.2014 10:33:24 Information MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean 18.08.2014 10:33:24 Error
MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean
MP: processing local module localejbs/AF_Adapters/axis/AFAdapterBean 18.08.2014 10:33:24 Error MP: exception caught with cause javax.ejb.EJBException: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.axis.app, BC-XI-CON-SOP) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.adapter.axis.modules.AFAdapterBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.adapter.axis.modules.AFAdapterBean@6bbad627 for bean sap.com/com.sap.aii.axis.app*xml|com.sap.aii.adapter.axis.ejb.jar*xml|AFAdapterBean in application sap.com/com.sap.aii.axis.app.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.lib.mp.module.SModule.process(com.sap.aii.af.lib.mp.module.ModuleContext, com.sap.aii.af.lib.mp.module.ModuleData) of an object loaded from field com.sap.aii.adapter.axis.modules.AFAdapterBean.core of an object
Please help and suggest.Hi Raja,
The end system is closing the communication. Try to reset your PI ICM instance. Also check if your PI system is affected by this note 1675953 - SSL Client Authentication failed with PI SOAP Axis Adapter
Regards. -
Challenging issue with JDBC sender adapter
Hello Guys
I have this requirement
From Oracle Database I have to read to tables one for the header and one for the detailes and map the result to one RFC.
I have only worked with one table at the time with the JDBC sender adapter but never with 2 tables
My challenges are
1 - How I can read the 2 tables at the same select statement , I suppose I have to use a join with 2 identical fields , so far so good ,but how I can handle multiple records
suppose the result is 10 new different records which each of the recored has to be mapped to the RFC , then we will have 10 RFC calls.
how can I do the mapping in this case.
2 - How can I update the 2 tables at the samme time and flag them as processed , as far as I know we can not use 2 update statement in the same JDBC sender
any help will do
Thanks in advance.Hi
Thanks for the replayes
The RFC is used to create and Invoice Idoc , It has to be one record (Header and Item ) to one RFC.
a JDBC to IDoc can also be used , but we have to update another table in SAP that is why the RFC,
My doubt is how the Data type for the sender JDBC should look like , as mentioned I have 2 tables to fetch data from
<Invoice>
<Header> 1 -- 1
<f1>
<f2>
<f3>
</Header>
<Item> 1--n
<f1>
<f2>
<f3>
</Item>
</Invoice>
The sender JDBC returns
<Invoice>
<row>
<f1>
<f2>
<f3>
</row>
</Invoice>
How can I replicate the data type to meet the JDBC sender structure.
and regarding the mapping do I have to change the occurrunce to 0 -- unbounded
regarding the update Ragu is right in his suggestion
Table1 can be used as primary table, Table2 can be used as Secondary table.. u will have key field to link both table.
So Just Updating only Primary Table(Table1) will helps on this.
Thanks.
Maybe you are looking for
-
How do I get the contacts from my mac to sync with Icloud? I need to back up my phone since I will be receiving a new one tomorrow and the icloud contacts are not the same as the ones on my mac. Help me
-
Using a Mac Keyboard on a PC?
Does anyone know if its possible to use a mac keyboard on a PC? If so, are there drivers that Windows will require in order for it to function properly, or will Windows treat it like any other keyboard? Before you even ask why I would do this...I rea
-
Stop download of Firefox Chrome Manifest
it is two files that keep appearing in a window that wants to update files in Mozilla firefox.
-
ACK send back but which Idoc Adapter
Hello, I have the following scenario(party): R3 -> XI -> Http I am send orders from the R3 via XI to a customer. I'll get an status from the Http-Adapter that I want to send back to the R3. The definition for sending back are all done and fine. I've
-
I downloaded the 5 DVD files for Solaris 9 for X86. I unzipped each of them. The question is how do I get them on a DVD?