Start and stop the Communication channel from Java Mapping
How to start and stop the Communication channel from Java Mapping in XI 3.0
Scenario PI - > MQ -> Third Party web application
Web application is down and then Communication channels are stop manually .
We need to automate this process,
MQ Solution - Trigger will be set in MQ which will be called when web application is stopped
Trigger will send u201CSTOP u201C message to PI
How to configure PI scenario to stop different com channels when this message received ?
check this link: http://help.sap.com/saphelp_nw04/helpdata/EN/45/0c86aab4d14dece10000000a11466f/frameset.htm
make sure that MQ send http request to PI. i dont think a configuration scenario is required in PI. Only roles should be enabled with proper user provided to MQ team.
However, for security reasons, you can configure a scenario if you dont want to expose PI infrastructure directly to 3rd parties.
Similar Messages
-
Start and Stop a Windows Service From Java
Is there any way to start and stop a Windows service from Java? The only post I found on it (http://forum.java.sun.com/thread.jspa?threadID=647509) had a link to one of the many aps that allow Java programs to be services, which is not what I am interested in doing.
I am attempting to get data from performance counters from the Windows Performance Monitor into a Java ap without using JNI. I can get the data from C++ or a .net language pretty easily and was going to create a service that would listen for socket requests and feed back the data. However, I'd like to start and stop that service when my java code starts and stops. Is this possible? Would it make more sense to just use a .exe and Runtime.exec()?If it's only to start or stop a service then you could use the net command without any need for JNI.import java.io.*;
public class MsWinSvc {
static final String CMD_START = "cmd /c net start \"";
static final String CMD_STOP = "cmd /c net stop \"";
public static int startService(String serviceName) throws Exception {
return execCmd(CMD_START + serviceName + "\"");
public static int stopService(String serviceName) throws Exception {
return execCmd(CMD_STOP + serviceName + "\"");
static int execCmd(String cmdLine) throws Exception {
Process process = Runtime.getRuntime().exec(cmdLine);
StreamPumper outPumper = new StreamPumper(process.getInputStream(), System.out);
StreamPumper errPumper = new StreamPumper(process.getErrorStream(), System.err);
outPumper.start();
errPumper.start();
process.waitFor();
outPumper.join();
errPumper.join();
return process.exitValue();
static class StreamPumper extends Thread {
private InputStream is;
private PrintStream os;
public StreamPumper(InputStream is, PrintStream os) {
this.is = is;
this.os = os;
public void run() {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(is));
String line;
while ((line = br.readLine()) != null)
os.println(line);
catch (Exception e) {
e.printStackTrace();
}Regards -
How to start and stop the BI Services in Solaris 10
Hello All,
Can anyone guide me on how to start and stop the BI Services in Solaris 10. In windows there are options set in Start->Programs->Middleware_Home->Start/Stop BI Services.
Primarily after doing changes to the scheduler configuration, I need to restart the services to get it implemented? If yes how can I do it?
Any help will be appreciated
Thank you
Ash
Edited by: 902739 on Jan 11, 2012 12:17 PMPlease help me by showing action plan for stop sap , offline backup and then start sap.
i am little bit confuse How to start and stop SAP on cluster for offline backup
Below are the systems name with host name , please explain me in sequence
Systems name Hostname
# Hope SAP ERP Prod DB Primary gsgbbux860
# Hope SAP ERP Prod DB Standby gsgbbux861
# Hope SAP ERP Prod Cluster gsgbbux862
# Hope SAP ERP App 1 gsgbbux864
# Hope SAP ERP App 2 gsgbbux865
Thanks in advance
Zaheer -
How do I start and stop the corection system - das Korrektursystem/ the program in pages where one mark a text while proff reading it?
Pages version?
-
Why do videos from the internet start and stop, Why do videos from the internet start and stop
When I try to watch even a short video from the internet, it starts and stops....its annying....any ideas?
Maybe the speed of your internet connection has some bearing on it?
But you could give this a try - reset Safari and see if that helps at all.
Go to Settings>Safari>Clear History, Cookies and Data. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. -
Report on active sync actions (like starting and stopping the sync)
Is there a way to report on who stopped or started an active sync? I'm guessing it has to be stored somewhere, but I can't find it.
Thanks!Hi Smit,
I believe you are talking about FMS AWS instance and you may be using a centos 4.0.2 instance AMI or lower?
Well ... earlier, options for stopping a centos AWS image was not available, but recently they are there in place, so I suppose if you use a new centos 4.5.1 AMI then probably you can start stop the aws instance on yuor will. Give ut a shot and let me know.
Regards,
Shiraz Anwar
I again cross-checked and found that you were right, start and stop is not supported there .... an alternative method is to take a snapshots of the runinng instnace and terminate that instance after that, later you can use your snapshot to attach to the EBS volume to run your system again. You may need to use the Elastic IP address, because you wont like your users to update each time you terminate the old instance, and create new instance from snapshot. I have never used it in this way, but this is one of the approach. -
How to start and stop Oracle Application Server from ANT
How to start and stop Oracle Application Server and Web application from ANT
Thanks in Advance.
ManiHi,
You can use: startManagedWebLogic.sh, it is in your domain directory and you have to execute it in this way
./startManagedWebLogic.sh managedServerName http://adminServerHost:adminServerPort
For instance, in my case I use:
unixserv01:/webportal/domains/appServerWeb/bin>startManagedWebLogic.sh managedServ01 http://pelma3w3per01.mesaperu.next:7001
You have to run it on the machine where the managed server was installed.
Best regards,
Raúl -
How to Start and Stop the SAP System
Hi,
I have installed "Sneak Preview"; Searched for start and stop scripts but there are more than one script which has named start.bat and stop.bat. Moreover, I searched the documents which comes with Sneak Preview but could find useful instruction there either.
Question: Could you please point me to the documentation where it explains the starting and stopping SAP, for Sneak Preview?
Thanks in advance
Jawad KakarPlease help me by showing action plan for stop sap , offline backup and then start sap.
i am little bit confuse How to start and stop SAP on cluster for offline backup
Below are the systems name with host name , please explain me in sequence
Systems name Hostname
# Hope SAP ERP Prod DB Primary gsgbbux860
# Hope SAP ERP Prod DB Standby gsgbbux861
# Hope SAP ERP Prod Cluster gsgbbux862
# Hope SAP ERP App 1 gsgbbux864
# Hope SAP ERP App 2 gsgbbux865
Thanks in advance
Zaheer -
void Ctest2Dlg:nTimer(UINT nIDEvent)
DAQmxErrChk (DAQmxBaseStartTask(taskHandle));
DAQmxErrChk (DAQmxBaseReadAnalogF64(taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByScanNumber,data,100,&pointsRead,NULL));
DAQmxBaseStopTask (taskHandle);
If I do this, the program will halt in about half minute. But if I do not start and stop task in OnTmer function, the program will not halt and the data acquired is not corrected.
Please help me! ThanksThis is a duplicate post. Please post any new replies to the linked forum.
Samantha
National Instruments
Applications Engineer -
Automatic start and Stop the SAP System
Hi experts,
We want to deploy the unattended/Scheduled Start SAP and stop SAP in IBM i series. How to do it? I have tried with WRKJOBSCDE and putted the command STOPSAP or STARTSAP but after finishing the job, now result. But when I simply put command STOPSAP/STARTSAP it works(start and stop sap system).
How to deploy it?
Thanks
AsadHi Ken,
yes, that is correct, but in the meantime, it is **** easier ;-)
As SAPHostAgent starts automatically, it is just needed in the default profile:
Autostart = 1
This is a really nice new feature ;-))
Regards,
Volker Gueldenpfennig, consolut international ag -
About the bat file to start and stop the weblogic server10.3
I am using windows 2003 os.
i installed the WLS 10.3 .
can anyone help me how to write the bat file for starting and stoping the weblogic server instance.so that it willl run as background service.
I am new to this .Please suggest me
Any help is appreciated.
Thanks
Sailaja.Hi David,
yes.i am talking about Admin server.
when i am creating the new domain,i didn't encounter any prompt asking me to run the Admin server as windows services.why i am not getting this prompt?where exactly i will get this prompt while creating domain.
i am using the weblogic 10.3
how can i make the admin server as windows services.
Thanks
Sailaja.
Edited by: sj0609 on Dec 2, 2008 4:02 PM -
Starting and Stopping the Portal
Hi all
After deploying my PAR, I am restarting the whole <b>SAP Instance</b> in the Server.
1. Is this the right way ???
2. Is there any other easy way to restart/stop the PORTAL alone instead of touching the SAP Instance???
Thanks
KayHi Kay,
You are right about custom login changes.But Normaly if you develop portal application and upload the PAr file ,you do not have to restart the instance.Portal runtime takes care of droping the existing copy of the PAR or replacing with newer version.
This is what i get from help
Portal Archive Files Deployment Cycle
Use
The deployment procedure for a Portal Archive (PAR) file consists of two steps:
Uploading the PAR file into the application repository
Notifying all Portal Runtime (PRT) nodes that a new version of the application is available
Activities
Uploading a PAR File to the Application Repository
There is only one application repository and all PRT nodes and PAR files on the J2EE Engine cluster share the same content. The PAR upload procedure stores the whole archive in the underlying persistence layer. It also extracts all the information that requires fast access at runtime from the portalapp.xml.
Modifying PRT Nodes
Once the upload to the application repository is completed, the upload process notifies all PRT nodes. This step updates thelocal deployment of the portal application on each server. The update of the local deployment requires runtime deployment capabilities, and that is why all portal applications can be released. A PRT node:
· Checks if the application is already loaded and drops the corresponding instance.
This step also checks and drops all entities (applications, components and services) that depend on the current application.
· Starts the deployment process.
This process gets the PAR file from the repository and updates the local deployment by expanding the archive content.
· Restarts all portal applications that have been dropped.
The main purpose of the local deployment is to improve performance at runtime by providing fast access to classes and to portal application resources. The local deployment avoids additional round trips to the application repository and, in that sense, must be considered as a cache for portal applications.
Deployment Policy
The local deployment is done using the DeploymentPolicy property declared in the portalapp.xml file:
· If this property is set to 5.0
The deployment is backwards compatible with the EP50 version of the portal. The old folder is not removed and the deployment process simply overrides the folder with the new content.
· If the DeploymentPolicy property is missing
A regular deployment is performed; the old deployment folder is removed and then replaced by the new one.
The deployment logic assumes that the application does not store any configuration locally; everything must be stored in the repository.
For more information about the DeploymentPolicy property, see Application-Config Element Properties. -
Running and stopping a batch script from Java
I have a requirement in whcih I need to run a batch script which in turn calls another java progam. Now I am using following code which successfully calls batch script and consequently the batch script calls the another java program and batch script exits.
public static void main(String[] args)
try {
Runtime.getRuntime().exec("cmd /c start c:\\temp\\test.bat" );
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}Now I am developing this a a client-server application on socket programming. Now after some time I need to stop that java program started by batch script. How can I do it? As per my understanding the call "Runtime.getRuntime().exec("cmd /c start c:\\temp\\test.bat" );" kick starts two processes. One the cmd command and another java command ran by test.bat. Now the how to relate the cmd window to the java cmd started by test.bat and how can i send a ctrl+C command to this cmd window so as to close the underlying running java program.
Please advise.
ThanksHi Steve,
Well, I'm having a quite different opinion on this: I would consider such an appraoch not nice but rather dirty...
If you want users to execute (MaxL) commands against essbase but also would like to avoid installing the client software on each client box I would recommand using web services.
User opens a browser, press a button, button (on the server side) calls a cmd (or sh) that calls the MaxL shell (on the server) that executes your maxl scripts.
We have implemented this in two ways:
1. over IIS (the older version, some years ago - but still running)
2. over Apex (ever heard about it?) You need a Oracle DB where Apex is installed an running (latest Version is 4.1.1 and you should not use an older) and you need to install the essbase client software on the machine where th Oracle DB resides - However you only need to install it one time...
If you only want to use the Oracle DB as a relais station (for you Apex Application and Web calls) you can simply install an XE on your essbase server and you have the prerequisites to get it work.
Maybe it helps somehow.
Regards
Andre -
Starting and stopping an SQL query from within a Shell script
DB version:10gR2
OS Version:AIX
We have a C++ application called WpnCreate.cpp, which is causing some locking problems.
So, we have decided to capture(using SPOOL) the locking info(session info, blocking program,..etc) using an SQL query.
WpnCreate.cpp program is initiated by a shell script. So we need this SQL query(.sql) to start firing just before WpnCreate.cpp is called and when WpnCreate.cpp has finished executing, we need the SQL query execution to stop.
But how do i stop the sql query execution? Should i capture the session id and serial# of this session and use kill -9 at the end of the shell script?
Flow of the Shell script should be like this
Step1. Start firing the SQL query which captures the locking info and SPOOL them to a file
Step2. Execute WpnCreate.cpp program
Step3. Stop the firing of SQL query once WpnCreate.cpp has finished executing ( i don't know how)How will i go about achieving this?How can you run your step 2 untill & unless your step 1 gets over. You can run in background but then it will not capture the correct information.
I think you need to run your step 1 after step 2 , then only you will be able to capture the information.
You can run your C++ program in background and can wait for some time using sleep command and then run the query to check the locking information. -
CAN WE START AND STOP THE CONTROL CENTER SERVICES USING OMB?
Hi All,
I'm new into the world of OMB and currently i have been working with OMB scripts and i just need to know whether i am able to start the control center services using OMB...?
Any help will be highly appreciated.
Regards,
ShenoyThanks ALL, I GOT IT, but I used other solution.
Since I installed and uninstalled the Oracle several times, it keeps also many different Services for the listener. I don't know why, it didn't create a Service for my actual instalation with its path. In other words, all the services remained in the services.msc panel, had the path that was already removed from the Windows folder.
Then what I did, was that I picked one service, took its name (OracleOraDb10g_home1TNSListener), went to regedit to [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\OracleOraDb10g_home1TNSListener] and simply changed the image path that was setted for the one that was removed (C:\oracle\product\10.1.0\Db_2\BIN\TNSLSNR ) for mine that is installed right now
(C:\oracle\product\10.1.0\Db_1\BIN\TNSLSNR). Nothing more and finally works.
I have tried something in the services.msc panel before, as you can see in this forum at the thread "I can't start listener in the Control Painel/Admin Tools/ Services", but I never got
success.
Appreciate your time!!
Maybe you are looking for
-
some of my contact names are not appearing when they text message me. They are just showing up as their numbers. I have them saved in my phone so i am not really sure why their names aren't showing up when they message me?
-
Retrieving old photos from external hard drive without replacing current library
Hi everyone, This problem has probably been discussed before but I have not been able to find a definitive answer. Hopefully I can find a solution to this problem here. I am having trouble with my workflow in iPhoto. Right now when I place an SD ca
-
New Business Method in EJB not available in Webdynpro Model
Hi, I am using EJBs for Business Logic in my webdynpro java application. I have added a new Business Method in one of the session bean. But I am not able to see the new method in webdynpro model. I am following the below procedure - 1. Select the Ses
-
The iphone 4 could not be restored.
Iphone 4 is 4.3.5 vision. Itune 10.5 already updated. But the error message show The iphone could not restored.This device isn't eligible for the request build.
-
Audigy 2 ZS + Vista 64bit resolves in very low maximum volume out
Hi, I did just install Windows Vista Ultimate 64bit Edition on my computer. I've got a CREATIVE Sound Blaster Audigy 2 ZS sound card, and I downloaded and installed the drivers for it. I did not run into any complications while installing the driver,