Weblogic JMS authentication while sending or consuming message
I have to configure a weblogic jms queue in such a way when a remote sender send a message it has to connect using some authentication. Like when creating the initial context or the connectionFactory. But nowhere I got the steps for configuring it that way. Can you please let me know what is the out-of-the-box steps for achieving it. I am using all out-of the-box tools(no foreign jndi provider). Is it that the authentication comes as a default when you setup the connectionFactory. In that case is it the usercode/password of the weblogic server( or the subdeployment target, e.g. SOA server)
The discussion here might be useful for you:
Newbie question on securing JMS resources
Shortly, You need to create new user/group/roles in the security realm and configure the JMS destination for secured access based on roles. Then in the client code they need to pass the a valid user/password which has access to the destination.
Note: Weblogic doesn't honour the user id passed in the createConnection() call.. Instead what is checked is the JNDI Security_Principal passed when creating the intial context,, See the above link for details,
Edited by: atheek1 on May 25, 2010 4:17 PM
Similar Messages
-
CPALookupException while sending a Test message to Adapter engine
Hello Experts,
I am getting following exception while sending a test message to Adapter engine through Runtime Workbench.
Error while sending message: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=<Configured Party>;TP=;FS=<Configured Communication component>;TS=;AN=<Configured Outbound Interface>;ANS=<Configured Namespace>
This scenario works fine when I submits the message through Integration engine. So ID configuration is perfect. Also cache contents are upto date.
Thanks in advance.
Regards
RajeevError is clearly saying that it is unable to find receiver agreement for that particular interface.
Please check your receiver agreement for the interface.
If your receiver agreement is fine then do CPA cache refresh using following URL:-
http://<host>:<port>/CPACache/refresh?mode=full -
Timed out while sending ... message may be send more than once
Hi,
I regular have complaints from some clients receiving my emails 10 -15 times in their mailbox.
When checking the maillog I always see : timed out while sending ... message may be send more than once. See below
Problem can happen at any time, even when there is just 1 person connected to the server, so I rule out overload.
95% of mails send arrive without problem.
When looking the dns mx info of these clients I am having problem with, all have multiple (round-robin ?) mx-hosts (eg mx.mailprotect.be).
Is someone else having these problems ?
gr
Fonny
Nov 20 14:05:05 osxserver postfix/smtp[33385]: 3846CBE9FFC7: conversation with monitor.estrel.com[62.154.155.69] timed out while sending end of data -- message may be sent more than once
Nov 20 14:15:48 osxserver postfix/smtp[33385]: 3846CBE9FFC7: to=<[email protected]>, relay=mx-30.startplus.de[62.154.155.70]:25, delay=1826, delays=486/0.01/716/623, dsn=4.4.2, status=deferred (conversation with mx-30.startplus.de[62.154.155.70] timed out while sending end of data -- message may be sent more than once)
Nov 20 14:15:48 osxserver postfix/smtp[33385]: 3846CBE9FFC7: to=<[email protected]>, relay=mx-30.startplus.de[62.154.155.70]:25, delay=1826, delays=486/0.01/716/623, dsn=4.4.2, status=deferred (conversation with mx-30.startplus.de[62.154.155.70] timed out while sending end of data -- message may be sent more than once)
Nov 20 14:27:06 osxserver postfix/smtp[34737]: 6F586BEA0F09: lost connection with mx1.hotmail.com[65.55.92.136] while sending end of data -- message may be sent more than onceIt means that Cyrus IMAP is not responding or ready to deliver mail (at least temporarily). Most likely reason is that there are too many connections/users.
-
Error Message while sending a photo message
While trying to send a photo message the following failed error message occurs 1xDNS not responding. Phone being used is a Casio GzOne
Hey,
No, this account is hardly 2 months old and 1802 is the total number of emails. There are other machines configured with different IDs and they seem to work fine. Some are configured with POP and some with IMAP. The machine which has the problem is the only
one with Outlook 2011 and is a Mac. So yes, I think it concerns only Outlook 2011. I currently have IMAP setup on this device, would switching to POP solve the issue? I do not mind switching to POP as I do not need all that IMAP offers me, POP fits my use
case just fine.
Your thoughts?
Thank you. -
Error while sending XML SOAP message to other network
Hi,
I have a java application using SOAP through which I am sending request to a machine in the same network. It is giving the response in xml and i am able to parse it.
But when I tried to give the IP in the destination i.e the IP in the other network.
Error message SAAJ 0009 i.e message sending failed is getting to me.can somebody help to me.
Thanks
AbhilashHi Ricardo ,
I have the correct port now.
the url looks like
http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST
when I am testing it in the XML spy. and send a soap server request. I am getting the popup for user authentication . once i put my user id it gives me a error saying
<b>HTTP operation 'POST' could not be performed on URL
'/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST&version=3.0&Sender.Service=SIEBEL_DEV&Interface=http%3A%2F%2FOFCOM%2FUNIFY%2FCustomerMaster%5EMI_CUST' due to an error :
The connection to the server was terminated abnormally</b>
Any Idea as to why is such a error is coming
Thanks for the help
Nikhil -
I am trying to send periodic RS-232 messages (through a DLL function) while a sequence is executing. Does TestStand have periodic timers that can be used to perform periodic tasks independent of other sequences executing?
Thanks,
John MerrittJohn -
In TestStand 2.x, you could have a root sequence launch a subsequence in a new thread. The root sequence call could auto wait for the thread.
1) The new thread could have a loop structure that contains a label, action, wait and goto step. The action step could send the message.
or
2) You could also have a single step loop internally to periodically send the messages, but the step should monitor the execution status for termination, and the step should process messages while waiting inside the step.
Hope this helps...
Scott Richardson NI
Scott Richardson
National Instruments -
Problem while sending FAX (Error Message 802 if checked in SOST)
Hi all,
I'm using FM SO_NEW_DOCUMENT_SEND_API1 to send Email and Fax through ABAP prog.
The Email is going fine but there is a problem in sending Fax, when i chek in SOST i get the following message.
Msg No <b>802</b> No delivery to 0091802299922, as recipient unknown.
This is my Fax No. +91 91-80-2299922
My selection screen is as follows
Email ID : External Email id
Fax No: 802299922 ( Passing Fax No in this format )
Country IND
The following is the code of my program, please show up some light on any mistake made in the same.
*& This is my Source Code
report z_email.
tables : somlreci1.
data : e_document_data like sodocchgi1,
e_document_type like soodk-objtp value 'RAW',
e_put_in_outbox like sonv-flag value 'X',
e_commit_work like sonv-flag value 'X'.
data : it_object_header type table of solisti1 with header line,
it_object_content type table of solisti1 with header line,
receivers type table of somlreci1 with header line.
data : i_lines type i.
select-options : s_mailid for somlreci1-receiver no intervals.
parameters : p_faxno type somlreci1-fax,
p_contry type somlreci1-country.
start-of-selection.
e_document_data-obj_name = 'Test'.
e_document_data-obj_descr = 'Email Test'.
e_document_data-obj_langu = sy-langu.
e_document_data-proc_type = '1'.
*--Information
it_object_content-line = 'This is a report used to send starts and'.
append it_object_content.
clear it_object_content.
it_object_content-line = ' stops to foreign distri. via E-Mail or Fax'.
append it_object_content.
clear it_object_content.
*--For Doc Size
describe table it_object_content lines i_lines.
e_document_data-doc_size = ( i_lines - 1 ) * 255 +
strlen( it_object_content ).
*--Email ID
loop at s_mailid.
receivers-receiver = s_mailid-low.
receivers-rec_type = 'U'.
append receivers.
clear : receivers.
endloop.
*--Fax
if p_faxno is not initial.
receivers-rec_type = 'F'.
receivers-fax = p_faxno.
receivers-country = p_contry.
receivers-com_type = 'TELFAX'.
append receivers.
clear : receivers.
endif.
*--Call function module
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_data = e_document_data
document_type = e_document_type
put_in_outbox = e_put_in_outbox
commit_work = e_commit_work
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
tables
OBJECT_HEADER =
object_content = it_object_content
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
receivers = receivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8
if sy-subrc = 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
commit work.
wait up to 2 seconds.
submit rsconn01 with mode = 'INT'
with output = 'X'
and return.
write :/ 'Message sent successfully..!'.
endif.
Regards,
Balavardhan.KHi ,
I am facing similar problem , in case you have a resolution about the FAX number , then please let me know .
Thanks,
Abhishek
([email protected]) -
How to remove header data from JMS Queue while sending by jms adapter
Hi.
I have a problem regarding the MQ-series JMS adapter.
When writing the file the JMS adaptor putting some additional tags.
Actually we are converting idoc-xml to flat file by using ABAP mapping which is available in SAP document. We are using JMS Receiver adapter, whiel sending flat file to JMS QUEUE, it is displaying some extra xml tags. I think this is the header data available in IDoc XML. Can any body help me in removing header data.
There must be some way for XI's JMS adaptor to not include these information.
My example looks like this:
RFH Ø
¸MQSTR
¸ " is junk that I really dont need in the file.
How can you setup the JMS adaptor not to put in these information?
Thanks & Regards,
Madhusudhannot related
-
Error while sending images via messages
Hi there,
everytime i try to send an image (small size) from my macbook pro using osx mavericks to an iPhone i get an error that ist was not able to send the image.
How can i fix it or is it impossible to send images from macbook (OSX) to iPhone?
RegardsHi,
Are you using anything like Little Snitch (An app that monitors and tells you both incoming and outgoing connections for any App and lists ports and IP addresses involved) ?
This may be blocking the File transfer part of the iMessages side.
DO you happen to have an AIM ID set up in Messages ?
If so can you Transfer Files and pics in an AIM chat ?
(this involves a different File Transfer assistant "app")
9:11 pm Wednesday; April 9, 2014
iMac 2.5Ghz i5 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad -
The speech recognition icon is missing on the message keyboard next to the "space" button. How do I get it back?
If Siri is turned off, that icon will not be there.
-
Error while creating a support message in satellite system
Hi,
I am facing an error while sending a support message to solman form the satellite system
(( Error Description : Error in Local Message System: Error when opening
an RFC connection Message was Not Created ))
1) I gone through various threads and set the required authorizations like
SAP_SUPPDESK_CREATE and
SAP_SV_FDB_NOTIF_BC_ADMIN ,
SAP_SUPPDESK_ADMIN
for the user in the solman .
2) I checked the RFC connection and it is working fine.
Anyone pls help me to resolve this issuehi rohit,
thanks for u r immmediate response
do i have to assign the roles to the user in the satellite system or the solman.
some roles in those 4 roles are not in the satellite system.
thanks
Rahul -
Error 513 while creating a support message (related to roles/profiles)
Hello everyone,
my user is getting the generous error 513 while sending a support message either on the SAP GUI or Workcenter. I am trying to implement a profile for a key user, who can display, reply and create simple messages without putting in technical data.
I gave him the following roles:
SAP_SMWORK_INCIDENT_MAN
SAP_SUPPCF_CREATE
SAP_SUPPCF_ADMIN
SAP_SUPPDESK_DISPLAY
SAP_SUPPDESK_CREATE
SAP_SV_FDB_NOTIF_BC_CREATE
and a generous role with the missing parts:
ZSAP_SMWC
When I tried sending a message with the GUI I used SU53 to find out which rights are missing and added them to ZSAP_SMWC. Now I got all of them and the SU53 replies that there are no more missing rights.
Thing is: When I add the profile SAPALL to my user, it works just fine. This is leading me to a problem i can't solve._
I also have to say that I accidently deleted some flags inside of sap_suppcf_create without copying it. Is there a way to restore SAP standard settings?
Thanks in advance,
HendrikI just seen the following SAP Knowledge Base Article related to ST 400 SP24:
[1522809 - Solution Manager: Because of error 513, no message was created in Support Desk System|www.service.sap.com/sap/support/notes/1522809 ]
Regards, Ruediger -
Garbage added to log while sending message to Weblogic JMS topic
Hi All,
Was able to sucessfully send messages to Weblogic JMS topic and also able recieve them.
But while sending the messages to topic loy of debug statements are printed to the standard output
This is seen only in production and not in developement, and expecting it due config issue...
Any ideas on this is greatly appriciatied.
Thanks in advance !
Cheers,
AmbhaThanks for the replies,
The problem is certainly not with logger settings...
The statements which are getting printed are SSL debugging
The following settings are used by the application which sends messages to the topic :
Dssl.debug=true
Dweblogic.StdoutDebugEnabled=true
These settings are same in Dev, UAT, and Production. But why the debug statements are seen only
in UAT and Production I am not sure...
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
*<Some TIME IST> <Debug> <TLS> <000000> <......>*
any Ideas... ?
Thanks
Ambha -
Error while sending the messages to JMS Queue
Hi ,
I am trying to pick the file from JMS Queue and send the response xml as outbound message to JMS Queue again using XAI Sender
I Created XAI Sender, Outbound Message Type(DM-RCVRESP) and configured these two with External System.
I am able to pick the file from JMS Queue but unable to send the message through XAI Sender (Real-time)
Plz find below the error trace getting.
[Wed Jun 15 16:12:09 IST 2011] Error while processing sender "UPLOADSTG" : Unable to update response in staging table: Row id not given.
com.splwg.mpl.sending.SameThreadSendingManager$ProcessException
at com.splwg.mpl.sending.SameThreadSendingManager.processDestination(SameThreadSendingManager.java:341)
at com.splwg.mpl.sending.SameThreadSendingManager.sendResponse(SameThreadSendingManager.java:293)
at com.splwg.mpl.sending.SameThreadSendingManager.doSend(SameThreadSendingManager.java:249)
at com.splwg.mpl.server.async.ExecSendRequestProcessor.ProcessRequest(ExecSendRequestProcessor.java:61)
at com.splwg.mpl.server.async.RequestProcessingThreadAdapter.run(RequestProcessingThreadAdapter.java:46)
at com.splwg.mpl.server.PooledThread.run(PooledThread.java:91)
at java.lang.Thread.run(Thread.java:662)
Please guide me in this regard..
Thanks,
sukumarWhat have you configured for the response tab for the sender? Are you using the MPL or the MDB?
Take a look at:
MPL Best Practices (Doc Id 1308165.1)
Oracle WebLogic JMS Integration (Doc Id: 1308181.1) -
JMS Exception while trying to send a message on Login
I am getting the following exception while trying to send a JMS message after the login.
2012-06-01 12:09:30,688 ERROR [nucleusNamespace.com.tesco.events.manager.ILActivityManager] JMSException Occured
javax.jms.JMSException: A transaction-related exception occurred while trying to obtain a JMS Session from provider "Login": javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.syncwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.syncwhenaborted] Can't register synchronization because the transaction is in aborted state
at atg.dms.patchbay.SessionManager.getSession(SessionManager.java:190)
at atg.dms.patchbay.Provider.getQueueSession(Provider.java:632)
at atg.dms.patchbay.OutputDestination.getPooledSession(OutputDestination.java:268)
at atg.dms.patchbay.OutputPort.getPooledSession(OutputPort.java:156)
at atg.dms.patchbay.ElementManager.createTextMessage(ElementManager.java:848)
at atg.dms.patchbay.ElementManager.createTextMessage(ElementManager.java:546)
at atg.dms.patchbay.ElementManager.createTextMessage(ElementManager.java:557)
at com.tesco.events.manager.ILActivityManager.sendLogMessage(ILActivityManager.java:81)
at com.tesco.events.manager.ILActivityManager.logActivity(ILActivityManager.java:69)
at com.tesco.events.listener.ATGLogEventListenerImpl.logActivity(ATGLogEventListenerImpl.java:46)
at com.tesco.events.source.ATGLogEventSource.logActivity(ATGLogEventSource.java:61)
at com.tesco.ecom.userprofiling.ProfileFormHandler.postLoginUser(ProfileFormHandler.java:2022)
at com.tesco.ecom.userprofiling.ProfileFormHandler.handleLogin(ProfileFormHandler.java:1191)
at sun.reflect.GeneratedMethodAccessor1140.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at atg.droplet.EventSender.sendEvent(EventSender.java:582)
at atg.droplet.FormTag.doSendEvents(FormTag.java:791)
at atg.droplet.FormTag.sendEvents(FormTag.java:640)
at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at com.tesco.ecom.userprofiling.AssignCookieServlet.service(AssignCookieServlet.java:139)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2442)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at com.spindrift.sitebuilder.request.AuthServlet.service(AuthServlet.java:74)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at com.tesco.ecom.userprofiling.LoginControlServlet.service(LoginControlServlet.java:61)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at com.tesco.ecom.userprofiling.AccessControlServlet.processExpiredSession(AccessControlServlet.java:645)
at com.tesco.ecom.userprofiling.AccessControlServlet.service(AccessControlServlet.java:392)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at com.tesco.bns.droplets.AddingRecentlyViewedDroplet.service(AddingRecentlyViewedDroplet.java:235)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:396)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
at com.tesco.servlet.pipeline.LogOutputFilterServlet.logWithMdc(LogOutputFilterServlet.java:68)
Edited by: 915252 on Jun 4, 2012 2:39 AMHi,
you may be interested in a solution I tracked down at http://support.bea.com/application?namespace=askbea&origin=ask_bea.jsp&event=button.search_ask_bea&askbea_display=relevancy&askbea_max_number_returned=50&question=weblogic.jms.common.JMSException%3A+Connection+not+found&all_bea_products=all_bea_products&ES=ES#
Basically : you need to have your Weblogic servers, JMS servers and JMS stores
on each domain named uniquely !!!
"Joe Mooney" <[email protected]> wrote:
>
Any news on this one ?
"B Liu" <[email protected]> wrote:
Can u tell me how you supplied the required security credentials?
Thanks,
-Ben
"Andy" <[email protected]> wrote:
Hi.
I have a situation where I am sending an JMS message to external queue
on Weblogic
Server which is not part of cluster. This happens in a session bean,which
is wrapped
in a container transaction. I have supplied the required security credentials
like user, password etc.
I get an error while tryign to send the message through bean. The stack
trace
is :
weblogic.jms.common.JMSException: Connection not found
at weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManager.java:136)
at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:596)
at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:153)
at weblogic.jms.client.JMSConnection.createSessionInternal(JMSConnection.java:400)
at weblogic.jms.client.JMSConnection.createQueueSession(JMSConnection.java:347)
also one thing interesting is that if I call the same server and queue
outside
of the session bean,it works fine.
Any ideas what might be causing the issue?
Thanks
Andy
Maybe you are looking for
-
HI all I am having trouble with rendering a short HDV clip of 6 min, I rendered a shorter clip of 2 min OK but not 6 min or more. FCP Studio 2.0 fully updated. Frame size 1440 X 1080 compressor type HDV 1080i Video processing render all YUV material
-
Global Address Search limited to one account
Just got my Pre setup today with a 2nd exschange account. I noticed that when doing a GAS for a contact, it will only search the account you happened to setup first. Is this a known issue, as designed, something hasn't come up yet, etc.? Post relates
-
Sleep problem after upgrading to Lion
I have a late 2009 MBP with 2 user accounts setup. I normally log out of my user account and then close lid which puts it in sleep with the indicator light blinking. Now after updating to Lion, it doesn't seem to go to sleep, the light is constantl
-
Time Machine See's...but won't "mount" time capsule
Bought 1TB Time Capsule 1 week ago. Did initial backup direct ethernet and all subsequent via WiFi. Everything works fine. However, today I noticed my 7AM backup failed. I am told it can't mount the hard drive. I go into SYS PREF to reselect the time
-
Distintas frecuencias de muestreo en el mismo cDAQ.
Buenas tardes, hasta el momento siempre hemos hecho pruebas trabajando con distintos modulos y la misma frecuencia de muestreo, por lo tanto se ha ocupado sólo un while loop y con el asistente DAQ. Ahora necesitamos tomar muestras a distintas frecuen