Got error when sending message with big size
Hello!
I hope someone will able to help. I am facing with the size issue (I guess).
The input file has a size of 58668 bytes. My program takes it and convert it to a TextMessage. When sending the file to the JMS queue, I got:
javax.jms.JMSException: Failed to process message: Failed to add message=ID:f411d6c8-c1df-1004-8942-9b67f9629ee5, destination=QueueName3 (5)
at org.exolab.jms.messagemgr.MessageMgr.add(MessageMgr.java:199)
at org.exolab.jms.server.ServerSessionImpl.send(ServerSessionImpl.java:205)
at org.exolab.jms.server.net.RemoteServerSession.send(RemoteServerSession.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:553)
at org.exolab.jms.net.orb.DefaultORB$1.run(DefaultORB.java:511)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)This error is generated when doing:
if(message instanceof TextMessage)
this.producer.send(message);
}producer is a MessageProducer.
I looked around and did not find any limitation on the send method :o(
FYI I am using OpenJMS has JMS provider.
Thx in advance
oh I looked into OpenJMS log (I could do that from the beginning) and I saw the following message:
17:00:11.005 ERROR [ORB-Worker-18] - Failed to process message
javax.jms.JMSException: Failed to process message: Failed to add message=ID:f3e38ebc-c1df-1004-8ecc-3d4e4e499b90, destination=
QueueName3 (5)
at org.exolab.jms.messagemgr.MessageMgr.add(MessageMgr.java:199)
at org.exolab.jms.server.ServerSessionImpl.send(ServerSessionImpl.java:205)
at org.exolab.jms.server.net.RemoteServerSession.send(RemoteServerSession.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:553)
at org.exolab.jms.net.orb.DefaultORB$1.run(DefaultORB.java:511)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
17:00:41.333 ERROR [ORB-Worker-18] - Failed to process message
org.exolab.jms.persistence.PersistenceException:
ERROR 22001: A truncation error was encountered trying to shrink LONG VARCHAR FOR BIT DATA 'XX-RESOLVE-XX' to length 32700.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
at org.apache.derby.iapi.types.SQLBinary.checkHostVariable(Unknown Source)
at org.apache.derby.exe.ac601a400fx0110xbb05xf3e9xffff95b19c308.e0(Unknown Source)
at org.apache.derby.impl.services.reflect.DirectCall.invoke(Unknown Source)
at org.apache.derby.impl.sql.execute.RowResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown Source)
at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)
at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
...From what I understand, my issue is related to OpenJMS. Can the length be increased?
Similar Messages
-
Test message from RWB: Error when sending message: 401 Unauthorized
Hi Experts,
While I am sending test message from RWB, I am getting following error:
Error when sending message: 401 Unauthorized
I am using correct userid/password as I am working with Repository/directory. Also in one of the test scenario files are picking up from folder but never got processed because of similar issue (HTTP_RESPONSE_CODE_NOT_OK) and SERVICE NOT AVAILABLE.
I am having SAP_ALL authorizations and few days back everything was fine.
I think something wrong with configuration in XI but I am unable to pin point.
Please help.
Regards,
GouravYes,
but
Role of Business System : Integration system
Corresponding Integ. Server : http://<XI server>:<http port>/sap/xi/engine?type=entry
How can I change it to Application system
and RUNTIME->IS_URL = http://<XI server>:<http port>/sap/xi/engine?type=entry
Regards,
Gourav -
RWB:Error when sending message: 404 Not Found
Dear all,
"i am getting error: Error when sending message: 404 Not Found"
while testing from rwb > Component Monitoring > Non-Central Adapter Engines > Adapter Engine AIPID > test message >
with send message to = http://pid:50000/sap/xi/engine?type=entry - pi server url
sld buss system > pipeline url http://pid:50000/sap/xi/engine?type=entry (same)
and my id comm channel > target host > bid.xxx.com with service no
(adapter type: xi
adapter engine: Integration server
address type: url address
target host: bid
service no: 8000
path: /sap/xi/engine?type=entry
i am working in nw2004s system)
while testing cache connectivity test from rwb > Component Monitoring
i got error:http://docs.google.com/Doc?id=dcdrq9jt_0g6j35p
green: Integration Repository
green: Integration Directory
green: Integration Server - JAVA
red:Adapter Engine af.axd.aipid
yello:Integration Server - ABAP
Adapter Engine af.axd.aipid > Attempt to fetch cache data from Integration Directory failed; cache could not be updated
[Fetch Data]: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.00.aipid, string], target element type: SAP_BusinessSystem)
[Data Evaluation]: GlobalError
though if i try to send message from rwb...> with send message to field with : directly to bi rather than pipeline url through bi than message send successfully but not getting into component monitoring.
what should i do?
best regards,
dushyant.
refer this forum: is rwb's send message to field = sld>buss system>Pipeline URL?
and
SXI_CACHE
@8O@ Error during last attempt to refresh cache
LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM
Smq2 = 0
Sm58 = 0Hi,
If you are testing sending the message to the Adapter Engine, then the Send Message URL should be like this:
http://<server>:<J2EEport>/MessagingSystem/receive/AFW/XI
For your error, refer to the following threads:
Unable to find an associated SLD element
Unable to refresh cache contents in XI.
Unable to find an associated SLD element
Cheers
Manish -
Error when sending message: Method not implemented
Hi, All:
We have newly setup system and when we test sending test message from RWB, (RWB-Component Monitoring-Integration Engine-Test Tab), we got following error:
"Error when sending message: Method not implemented", I know this is related to post configuration issue, I just know someone has come cross the situation and how it was resolved.
Thanks
LiangHI Liang
Yes it looks like post installation problem. I have not come across this but i think you should check with the RFC created for IE while installation. To connect IE & AE and even the exchange profile if something is missing
Thanks
Gaurav -
Error when sending message: 500 Internal Server Error
Hi
IE is not accepting any messages,
when I try to send the messgae to the IE ( using RWB) i am getting the below error " Error when sending message: 500 Internal Server Error".
following things what i have noticed.
1. Pipleline URL is fine, both in the BS of XI and in the RFC destnation which i am maintaing on the IE admin) URL is "http://<host>:8000/sap/xi/engine?type=entry"
2. SICF all the XI serivess are up and running, i am able to test these service.
3. The http port is active ( SMICM )
Pls note the error is 500 Internal Server Error
regards
NisarI think in a simple term 500 can be said as "the request cannot be processed curretnly", these options mentieoned by you are not applicable in my case.
This generally occurs due to load problem or if you are on an SP less than 12 or even if there is an administration problem---I am on PI7.0 , what are the administration problem you are talking about?
1 Check Table Space is enough. ---i had installed server recently & very few interface running.
2 Server licence Date or Time. In this case change system date and restart server.---i have recently installed server.
3 Check the service pack levels on your XI. If it is obsolete upgrade it with latest versio----Can u explain more on this?
Try restart the java stack(XI Server) and follwing services.
com.sapii.af.app ---I am not passing trough Adater framework, so i dont think this service will matters....
com.sapii.cpa.af.app.---CPA cahe is done sucessfully, as i said i am not passsing through adapter framework.
basically for a simple HTTP post what might cause 500 error if all necessary services are up and running?
regards
Nisar -
Error when sending message: 404 not found
Hi,
New to XI, practicing file to jdbc scenario. File is pickedup from the source folder but nothing appearing on the receiver end ms access database.
In the Component Monitoring, tried sending message manually with all the right info in Integration engine, getting an error message saying:
"Error when sending message : 404 not found"
Also tried in Adapter Engine and the result same.
Before doing this scenario, I tried file - file scenario then also the sender file pickedup from source folder but nothing happend at the receiver end.
Any idea's?? what might be the issue????
Thanks,
Venu.Hi Venu,
"404 is a not found error", plz make a check of your URL you're using is correct? do you use the right port? Normally the port is 80<SystemNo>, so rather 8001 than 7001.
Also check in transaction SICF, if the node /sap/xi/adapter_plain has been activated, if not, activate it and try again.
If you are testing sending the message to the Adapter Engine, then the Send Message URL should be like this:
http://<server>:<J2EEport>/MessagingSystem/receive/AFW/XI
For your error, refer to the following threads:
Unable to find an associated SLD element
Unable to refresh cache contents in XI.
Unable to find an associated SLD element
Also check that the Adapter Engine is successfully registered in the SLD. To do this, call the Content Maintenance function in the SLD as follows:
http://<sld-host>:<sld-j2ee-port>/sld u2192 Administration u2192 Content Maintenance.
Select XI Adapter Framework.
Thirteen associations have to be registered.
(Source: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2498bf90-0201-0010-4884-83568752a857)
If you can't find all the associations, then you will have to create the associations manually.
This is a very good blog which answers ur question:
check this weblog
https://weblogs.sdn.sap.com/pub/wlg/4061?page=last&x-showcontent=off [original link is broken] [original link is broken] [original link is broken]
Regards,
Vinod. -
Error when sending message: 500 Timeout
while sendin a message in the http to rfc scenario, im gettin this error message "Error when sending message: 500 Timeout".
can any1 throw some light on this.Hi venu,
you need to go to RZ10 and there select the profile instance and go with the extended maintance option in the change mode.
there are two ways you can change it:
1. check out note: 824554
TCODE - rz10
icm/server_port_0 = PROT=HTTP,PORT=8010,TIMEOUT=800,PROCTIMEOUT=800
(for 800 seconds)
8010 is my HTTP port so you have to change it:)
2. SXMB_ADM -> configure integration server -> change specific identifiers
runtime parameter:
Parameter HTTP_TIMEOUT
Meaning
Specifies the timeout for http connections (time between two data packages at line level). This value overrides the system profile parameter icm/server_port_n (for example, icm/server_port_0 : PROT=HTTP, PORT=50044, TIMEOUT=900). If you do not set the parameter HTTP_TIMEOUT or if you set the parameter to 0, then the setting for the system profile parameter is used.
Personally I only changed the one from the instance profile but the second one should work too
My suggestion is change only PROCTIMEOUT to 600 or 900 but dont change TIMEOUT. Imp thing is u need to restart the XI, then onlychanges will take place.
If these dosent work out go for changing TIMEOUT also. Just set the value for the instance and dont maintain the HTTP_Timeout in the sxmb_adm
Let me know what u have done , if it works
Thanks,
srini -
Error when sending message(e-mail) from Process Chain ?
Hello SDN s,
How ya all ?
I scheduled a Process Chain with Message option to send it to (U - INternet Address) email ID but it says some error in sending message. What could be the reason ?
The following is the Job Log Entries....
30.06.2006 18:05:53 Job started 00 516 S
30.06.2006 18:05:53 Step 001 started (program RSPROCESS, variant &0000000000261, user ID ALEREMOTE) 00 550 S
30.06.2006 18:05:54 Hierarchy/attribute change successfully carried out RSM 794 I
30.06.2006 18:06:00 Document <PV FOR GETTING MESSAGE THROUGH E-MAIL - SUCCE> could not be sent SO 654 S
30.06.2006 18:06:00 Error when sending message RSRA2 11 S
30.06.2006 18:06:01 Job finished 00 517 S
Thanks !!!
Best Regards....
Sankar Kumar
+91 98403 47141Hey yes, in that T.Code all the values are 0. What to do to activate that ????????????
Duration Duration
Completed Error In transit Waiting In transit Waiting
hh:mm hh:mm
B08(100) 0 0 0 0
FAX Telefax 0 0 0 0 0:00 0:00
5 INT Internet 0 0 0 0 0:00 0:00
SMTP 0 0 0 0:00 0:00
X40 X.400 0 0 0 0 0:00 0:00
RML R/Mail or 0 0 0 0 0:00 0:00
PAG 0 0 0 0 0:00 0:00
PRT 0 0 0 0 0:00 0:00
So, how to solve this issue ? how to send e-mails ? what configuration or settings to be done ?
could u give the steps to do that ? as i am the only one BW guy here !?
Thanks !!!
Best Regards....
Sankar -
Error when sending message: 403 Forbidden....sender si file
hi...
here iam working with File to IDoc scenario
file is picking from a particular source but its is not showing any messages in SXMB_MONI and in IDX5 (outbound) or in RWB.
when i check test my message in RWB its is showing Error when sending message: 403 Forbidden.
can anyone explain me this problem plz...
all my DESIGN and CONFIGURATION is fine....
its urgent...
THX..
john weslyHi John
403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.
for more details on error code follow the link
http://www.web-cache.com/Writings/http-status-codes.html
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
http://www.helpwithpcs.com/courses/html/html_http_status_codes.htm
first try to solve problem by making CACHE refresh
either by directory
Check whether you have given the right credentials. If you are very sure that you have given right credentials then your problem will be solved by restarting J2EE engine
steps to restart J2EE engine
1) run transaction SMICM
2) then in the tab administration => J2EE instance(local) =>send soft shutdown with restart
by this java engine will restart and will be up in 5-10 minutes and your problem will be solved
Thanks
sandeep sharma
PS ; if helpful kindly reward points -
Out of memory error when sending messages
Hello!
I have OS X 10.4.10 and I have an email account setup (IMAP)in mail.
Lately when I go to send a message, I get an "Out of Memory" error that it says is coming from the mail server, but I know for a fact that it's not a server issue (mail account works on a PC fine). If I try to send it again it goes through just fine.
Any ideas?You are building an HTML table with 1500 rows? That is definitely a lot. And I assume you are also putting some styling on that table...
These days programmers resource to [url en.wikipedia.org/wiki/AJAX]AJAX techniques for things like that.
You can, for example, send the table data as a list of comma separated values, and then use Javascript on the browser to create a partial table with options to browse through the different pages of data.
If you need to show all that data in one single page, you can still try sending just the data as CSV or XML and then building the table on the browser via a Javascript loop. Use CSS for the styling so you don't overload the HTML code with styling information.
Marcos Broc
Hi,
I have a bit of a problem. I?m trying to generate
quite a large JSP file (a table with about 1500
rows). The problem is that I get an out of memory
error when the JSP is being generated. And it is
definitely that the JSP is too large, or rather the
HTML being generated from it. Now I was under the
impression that the JSP page was flush now and again,
but I tried to set all the different flush options
and I have also tried to manually flush the page.
Nothing of this made any difference except for
displaying a white page instead of an error page
since the header was already sent. Now this suggests
to me that the page is being cached internally by the
server and then sent to the client. So is there
anything I can do about this?
Regards
Hertz -
Mail doesn't indicate anything when sending message with attachment
I'm sure that in the past, when a message was sent that contained an attachment (or was just big) there would be some indication that the message was still sending before you heard the 'woosh' sound to confirm the message had been sent. I just sent something with a 500k attachment. It took a few seconds to go of course, but during that time I could see no visual indication that Mail was still doing anything, until eventually the 'woosh' confirmed it had gone. Is there something I've failed to choose as a preference?
Many people have reported in this forum that for them Sent didn’t change to Sending... as it’s supposed to while a message is being sent:
http://discussions.apple.com/search.jspa?q=Sent%26%26Sending&objID=f753
The problem usually affects Intel-based Macs, but the two Macs that appear in your profile are PowerPC-based...
I’ve never seen a solution for this problem. -
Hi Friends,
I am working on scenario where i need to send sales order confirmation to partner and receive purchase order from partner.
And this transfer of message will be secured by using certificate.
I am able to send message successfuly using certificate and partner is reciving it properly.
Now when partner is sending me message they are getting error as Authorization required: Unauthorized.
I am using PI7.1, please let me know how i can solve this problem.
Regards,
Brij...not solved yet, i wll try to put question in better way,
-
System error when send file with Sender File Adapter
Hi all,
I have configured a "File To ABAP Proxy" scenario. After configuring, i executed a "Test Configuration" in Integration Directory and it's all OK. But this file unable to reach into ABAP Proxy Target. In the Runtime WorkBench\Message Monitoring, I get an error message in below:
Engine: Adapter Engine
Status: *System Error *
Start: 15.08.2008 14:04:01
End: 15.08.2008 14:19:01
Sender Service: BS_XI_SERVER
Interface Servic: urn://FILE_TO_PROXY
MI_EMPLOYEE_OB
In this case, I don't know why my Sender File Adapter is error and why status is "System Error" and why it can't reach into Target System. Can it concern a role user?
( For more clearly: I configured the source file and the path correctly. And i used the xml file with the content and the document name correctly. In general, the Sender Adapter File don't convert the sender file and its content is same as the Payload in the "Test Configuration", i think it is all OK.)
Could anyone please help me to resolve this problem, anyone can explain this error, how can i resolve this error?
Thanks a lot in advance,
Vinh VoHi Chirag,
1.I source structure is very simple as below:
<ns0:MT_MATERIAL xmlns:ns0="urn://FILE_TO_PROXY">
<MATERIAL>
<WERKS>1000</WERKS>
<MATNR>MAT00001</MATNR>
<MAKTX>Chemical Material</MAKTX>
</MATERIAL>
</ns0:MT_MATERIAL>
2. the Communication Channel Monitoring in Runtim WorkBench\Adapter Engine is OK for my Sender File Communication Channel, it's in Blue Light.
However, i don't know what's FCC?
Thanks and best regards,
Vinh Vo -
Error when sending message: 500 Error during Sender Agreement Determination
Hi,
Am getting this error, while testing to post a data from RWB. can anyone tell me what the problem is? its IDOC to JDBC scenario. i've checked all the config objects in the scenario and they all seem to be fine.
Regards,
RashmiHi Prateek,
i have created sender agreement, as i ran config wizard to create the scenario and it forced me to create a sender agreement.
Seshagiri, i tried using the test tool you mentioned, Interface Mapping step is failing and the error i'm getting is:
During the application mapping com/sap/xi/tf/_outCustomerDetails_DEBMAS_DEBMAS03~ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~
any clue?
Regards,
Rashmi -
Is it possible to have Thunderbird send an e-mail automatically when a message with a specific subject is received?
I basically want to create a rule that will send an automatically crafted form e-mail to the sender when I receive an e-mail with the subject line "New Swimmer". Is this possible?Thank you Todd, I was able to get it to work but I do have a few more questions...
1) When I tested this, at the top of the message, before any of the text I created, this showed up: This is a multi-part message in MIME format. --------------040406040801080102080500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
2) After the signature line, this showed up: --------------040406040801080102080500 Content-Type: image/jpeg Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAA AAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0K CgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwM DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAC5ApUDASIAAhEBAxEB/8QA HwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQID AAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6 Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/
(It was actually much longer than that)
Is there anyway that I can get that to go away? I obviously would prefer a nice, cleanly formatted e-mail to be sent just like I would send if I were creating it on the spot.
Thanks,
Evan
Maybe you are looking for
-
G3 B&W fails to run OS 9.2.2
We have a G3 Blue & White I'm trying to install OS 9.2.2. The installer disc I have is the latest (I believe) last release. The Mac OS ROM is version 10.1.1. The machine is currently running OS 8.6. The machine boots the CD with no problem and instal
-
Bookmarks are lost and address/search bar is nonfunctional due to non exisistant corrupt
Firefox unexpectedly updated itself and upon doing so, lost all of my bookmarks. Also, when a new browser window opens, three windows open: the welcome window, the start page and the invisible hand page. Every time, as if I have just Firefox every ti
-
Not all Headings appearing in Printed Output
I have also posted this in the HTML section. I am using RH7 and when I generate my Printed Documentation an entire chapter is missing. The conditional build tags are the same as the other chapters. What am I missing? TIA, Chris
-
MobileMe Galleries not showing up????
Just wondering why when I goto drag a MobileMe gallery, say a video, onto one of my pages I get a message in the box telling me to upload stuff to my gallery - even though there are tons of things already in it.. Doesn't seem to be loading them. Yes
-
Updating Phone without using Desktop Manager
Hi, I was wondering is there anyway that I could update my blackberry without having to use the desktop manager as i don't actually have it installed and have never used it for my phone because i don't run windows or mac. Stephan