How to get application name from a receive location?
Hi all,
I am trying to do a custom error application, and I want to notify system admin users that "the receive port XXXX has stopped in application YYYYYY".
Right now I do know which receive location that is being suspended. But I am not being able to get the application name, associated to this receive location (I can also get the ReceivePort, if it matters).
I've tried 2 ways:
> using WMI
> Using SQL (direct query in BizTalk databases - for testing).
I did not found any solution, even search table by table, i did not found a relation between Applications and receive location..
Anyone?
Thanks in advance
Ricardo Bessa
The following SQL query should give you a result of every disabled receive location as well as it's receive port and application:
SELECT
RL.Name AS ReceiveLocationName
, RP.nvcName AS ReceivePortName
, APP.nvcName As Application
FROM [BizTalkMgmtDb].[dbo].[adm_ReceiveLocation] AS RL WITH(NOLOCK)
INNER JOIN [BizTalkMgmtDb].[dbo].[bts_receiveport] AS RP WITH(NOLOCK)
ON RL.ReceivePortId = RP.nID
INNER JOIN [BizTalkMgmtDb].[dbo].[bts_application] AS APP WITH(NOLOCK)
ON RP.nApplicationID = APP.nID
WHERE
RL.[Disabled] = -1
ORDER BY Application ASC
Christian @ IntegrationAdmin.com
Similar Messages
-
How to get application names currently running on Windows?
Hi Experts,
Please help me how do I get application names (tasks) currently running (as shown in Windows Task Manager-Application Tab) in Windows.
Thanks,
DeepakHi....
probably it's a unusual solution but you could try it....
Create a *.bat file call it test.bat .. Create it on your local machine or on your server folder..
PARAMETERS: DOSCMD(30) DEFAULT 'c:\test.bat' LOWER CASE.
call function 'GUI_EXEC'
exporting
command = DOSCMD.
Inside your test.bat file put this code..(it's a dos command to create a txt file containing the output of tasklist.exe command
tasklist > c:\test.txt
In your test.txt file you will have a list of tasks running on windows...
Hope to help...
bye... -
How to get key name from parameter list
hi..
i want string from parameter list.. i hv already created parameter list like
ADD_PARAMETER (param_list_id, 'EMPID', TEXT_PARAMETER,'123');
ADD_PARAMETER (param_list_id, 'EMPNM', TEXT_PARAMETER, 'ABC');
ADD_PARAMETER (param_list_id, 'EMPADD', TEXT_PARAMETER, 'XXX');
i got value like '123' ,'ABC', 'XXX' using
eg. get_parameter_attr(param_list_id,'EMPID',aprmlist,avalue)
but i want key name like 'EMPID' , 'EMPNM', 'EMPADD' from param_list_id
is it possible to get this key name from parameter list ???
Thanks...I cannot think of a way to do that. The code that reads the list is supposed to know the key names. That is sort of the point with parameter lists. If you need to have parameter lists that can be interepreted by some code that doesn't know about a specific list but knows how to interpret it by inspecting the key names, perhaps you can specify a separate parameter list with the key names as values and call the keys of that list something generic?
-
How to get Application name of a current running process in LiveCycle??
Hi,
I want to get the Application name of current running process in LiveCycle as a output value.
I have 3 applictions, the 3 applications are calling same SubProcess, so I want get the name of the application from which the sub process has been called.
I want to retrieve the Application name and asssign this value to a output variable.
I have searched for the solution I found a method getApplicationName() but inorder to get the current running process's Application Name this might not be useful..
So suggest the way to resolve this..
Thanks in Advance.....
Regards,
Kalyan UrimiUse an input/output string variable in the subprocess and set its value in each calling process as respective Application name.
May be if this could help.
Thanks,
Wasil -
How to get application name or component name
I have a requirement to make a Z table similar to the context change log table . I need to add application name to that.Is there a way one can retrieve application name of the current application from a function module or any other way?The table WDY_APPLICATION does not seem to have all the custom applications built it only shows the SAP provided applicatoin details.
here is coding to get the wd app name:
DATA:
lr_ctrl_api TYPE REF TO if_wd_controller,
lr_comp_api TYPE REF TO if_wd_component,
lr_appl_api TYPE REF TO if_wd_application,
lr_appl_info TYPE REF TO if_wd_rr_application,
l_appl_name TYPE string.
* get app name
lr_ctrl_api = wd_this->wd_get_api( ).
lr_comp_api = lr_ctrl_api->get_component( ).
lr_appl_api = lr_comp_api->get_application( ).
lr_appl_info = lr_appl_api->get_application_info( ).
l_appl_name = lr_appl_info->get_name( ).
For further Information check also the Runtime Repository APIs: [http://help.sap.com/saphelp_nw04s/helpdata/en/46/a07a6e79822c10e10000000a114a6b/frameset.htm] -
How to get file name from file adapter (Read Operation)
Hi All,
I am reading files from local location, in jca file i gave filename property =*.* ( which reads all files), and now I want to read the incoming file name inside bpel and I want to copy the file name to some variable. Is this possible?Yes, its possible.
In your receive activity,set below property in its properties tab:
<bpelx:property name="jca.file.FileName" variable="FileName"/>
Before that make sure to create a variable "FileName" of string type.
Whatever file your file adapter will read,its name will be stored in this variable.
Hope this helps.
Regards,
Karan
http://learn-oraclesoa.blogspot.com/ -
How to get AS2 identifier from message received
when we dequeue the message from oracle B2B , is it possible that we extract the as2 identifier as well??
Hello Kinwah,
It is not possible to get the AS2 Identifier as part of the deque operation. However it is possible to query tip_businessmessage_rt table for senderidentification column to get the AS2 Identifier.
Rgds,Ramesh -
Getting user name from sopa header
How should get user name from soap header in my udf...?i searched in sdn,but not get exact solution...
I din't get this with SRemoteUser
1. i've enabled " Do Not Use SOAP Envolope"
2.Enabled ASMA
3.Variable Transport Binding .
used the following code as well:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey user = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/SOAP", "SRemoteUser");
conf.get(user);
But not value in it.. Correct me if iam wrong.. -
How to get list name through javascript?
Hi,
I wrote javascript for getting list items but here I'm hard coded list name as "Projects"(my list name). How can I get list name automatically with out hard coding,
Appreciate if anyone help.
Thank you.
function DoLogicalDelete()
var clientContext = null;
var oList = null;
var oListItem = null;
// var lstItmIsDeleted = null;
var itmID = getQuerystring('ID');
clientContext = SP.ClientContext.get_current();
oList = clientContext.get_web().get_lists().getByTitle('Projects');
// var oListItemID = SP.ListOperation.Selection.getSelectedItems(clientContext);
oListItem = oList.getItemById(itmID); // getting ID
clientContext.load(oListItem,"Title", "IsDeleted"); // load items to oListItem
oListItem.set_item('IsDeleted', true);
oListItem.update();
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded),Function.createDelegate(this, this.onQueryFailed));Not sure on which context you are executing the code. If you executing this from the list form and trying to get the current list, then you may need to get the list name from the breadcrumb/list title field. Refer to the following posts for more information
http://sharepoint.stackexchange.com/questions/39008/how-to-get-list-name-from-js-object-model-list-name-from-url-problem
http://itrob.be/sharepoint-get-all-lists-names-in-javascript-spservice-and-jquery/
--Cheers -
How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.
If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
This page is a good starting point for learning about Flex and PHP communication:
http://www.adobe.com/devnet/flex/flex_php.html
Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/ -
How To Remove A Specific Application Name From The "Open With" Dialog
When you right click on a file you are presented with the "Open With" menu item and you are also presented with a list of applications that could potentially be used to open that file.
In my case, when I click on a file of type .mov I am presented with the name of an application that I want to remove from the list, because that application ( Miro.app (2.5.2) ) no longer exists on my system.
What is the best way to remove that application name from the list?Ok, but how does one remove some of the applications that are appear in the context menu for a given file type? Is there an asc file which can be edited?
For example, in my system a PDF can be opened with over 10 applications. I would like to see just the three ones I use: Acrobat, Skim and Preview.
Thanks in advance. -
How to get project GUID from project name?
How to get project GUID from project name in Campaign mgmt ?
hello,
have a look in table CGPL_PROJECT.
regards,
Frédéric -
How to get application module instance from java bundle?
Hi!
I would like to build an application that would get all translations from a database table.
So I created application module for translations that contains a view object which is selecting translations for specific language from a database table. I exposed a method in application module as client interface which returns HashMap<String, String> for all translations for specific language. When I test my view and client interface method call they work fine.
Then I created java bundle classes to get translations for specific language. Then I tried to override public Object[][] getContents() method.
I tried to get my translations application module like this:
SharedTranslationsAppModuleImpl am = new SharedTranslationsAppModuleImpl();
Map<String, String> translationsMap = am.getTranslations(this.getLocaleCode); // Client interface method call
In getTranslations(String LocaleCode) I try to get that view (which would select translations from database) but it returns NULL and I get NPE error message.
So what is the right way to get application module from java bundle file? Now everytime application wants to get translations, application stops and displays NPE message.
Regards, Marko
I use JDeveloper 11.1.2.1.0Marko,
you can't just instantiate an application module. An application module has to be set up, db connections and memory pools have to be initialized and ....
Can you describe why and when you try to read the resource bundle from the db and where the resource bundle is used?
This blog may be what you are looking for http://technology.amis.nl/2012/08/10/implement-resource-bundles-for-adf-applications-in-a-database-table/
Timo -
Hi How to get XML file from servlet that XI sent to my J2EE appl?
Hi All!
I have a scenario like XI sends xml file to j2ee application. In my J2EE application my servlet receives this xml. Will the xml file be in my HTTPServletRequest object? if so how to get that file from Request object.
Please help me its urgent, Any code help is highly appreciated.
My xml file will be like this:
<ns0:Http_Message_Type_Demo
xmlns:ns0="http://abcdemo.com">
<Name>ABC</Name>
<RollNo>123</RollNo>
<Address>a-4</Address>
</ns0:Http_Message_Type_Demo>
somebody should help me!please
ThanksHi,
You can use HTTPServletRequest object to get the XML payload.
BufferedReader reader = request.getReader(); //gets XML payload
String line = reader.readLine(); // to read the XML payload line by line
(request is the HTTPServletRequest object)
Regards,
Uma -
How to get purchasing data from SAP R/3 to OWB (Oracle warehouse builder).
Hi,
My name is Pavan Tata. I work as a SAP BW developer. Here is the situation at my client place. Client decided to retire BW system and wants to replace with OWB(Oracle warehouse). In all this currently we have purhchasing application in BW production system and wants to move this application to OWB for the same type of reporting what they are getting currently.
Here is my question:
How to get purchasing data from SAP R/3 to OWB(Warehouse) with initial full loads and deltas mechanism in the same way as we do in BW.
Please help on this, also send me any documentation about this if you have.
Thanks,
Pavan.Hello,
here is a short report which converts S012 entries to strings with separator semicolon. Perhaps this will help you?
Regards
Walter Habich
REPORT habitest2 LINE-SIZE 255.
TYPES:
strtab_t TYPE TABLE OF string.
CONSTANTS:
separator VALUE ';'.
DATA:
it_s012 LIKE s012 OCCURS 0,
wa_s012 LIKE s012,
strtab TYPE strtab_t,
strele TYPE string.
SELECT * FROM s012 INTO TABLE it_s012 UP TO 100 ROWS.
PERFORM data_to_string
TABLES
strtab
USING
'S012'. "requires it_s012 and wa_s012
LOOP AT strtab INTO strele.
WRITE: / strele.
ENDLOOP.
*& Form data_to_string
FORM data_to_string TABLES strtab TYPE strtab_t
USING ittab TYPE any.
DATA:
h_zaehler TYPE i,
line_str TYPE string,
l_tabellenname(10) TYPE c,
l_arbeitsbereichsname(10) TYPE c,
h_string TYPE string,
h_char(255) TYPE c.
FIELD-SYMBOLS: <l_tabelle> TYPE ANY TABLE,
<l_arbeits> TYPE ANY,
<feldzeiger> TYPE ANY.
CLEAR strtab.
CONCATENATE 'IT_' ittab INTO l_tabellenname.
ASSIGN (l_tabellenname) TO <l_tabelle>.
CONCATENATE 'WA_' ittab INTO l_arbeitsbereichsname.
ASSIGN (l_arbeitsbereichsname) TO <l_arbeits>.
LOOP AT <l_tabelle> INTO <l_arbeits>.
CLEAR: h_zaehler, line_str.
line_str = ittab.
DO.
ADD 1 TO h_zaehler.
ASSIGN COMPONENT h_zaehler OF
STRUCTURE <l_arbeits> TO <feldzeiger>.
IF sy-subrc <> 0. EXIT. ENDIF.
WRITE <feldzeiger> TO h_char LEFT-JUSTIFIED. "#EC *
h_string = h_char.
CONCATENATE line_str separator h_string INTO line_str.
ENDDO.
APPEND line_str TO strtab.
ENDLOOP.
ENDFORM. "data_to_string
Maybe you are looking for
-
How can I create an csv/excel file using pl/sql and then sending that file
How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql? I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.
-
A silver dollar for anyone who can explain Mail 'Get Messages' failure
Mail 6.2 (build 1499) on a very stable 10.8.2. No settings changed in the last 6 months; no accounts added (etc) in the last 30 days; same ISP (Time Warner - have reset my cable modem etc). Until a couple of days or so ago, Get Mail (top left) took a
-
Classical Orchestral Sound: Panning, EQ, and Convolution Filters
Hi, I'm now studying the sections of the rather large, but quite informative book, The Guide to MIDI Orchestration, 3rd Edition, by Paul Gilreath to obtain details about how to use my non-ambient, dry samples of the orchestra to create a true, classi
-
Adobe Photoshop CS6 none of the blending modes are working.
For example if I set a lens flare with a black background and set it to screen it will not work. None of the blending modes work. Anyone know how to fix this issue? I am fairly new to photoshop and really need some help.
-
What won't I be able to do running leopard with a new ipod touch?
I'm looking to buy a new ipod touch as a replacement for my old palm tx PDA. I'm still running leopard (10.5.8) on my MBP, and using itunes 10.5. I've discovered that I won't be able to sync the ipod to the MBP wirelessly because I'm only running 10