Quantcast
Channel: SCN : Popular Discussions - SAP Business Process Automation by Redwood
Viewing all 1466 articles
Browse latest View live

Registry key that modifies the default description in Monitoring -> Jobs

$
0
0

Hi,

 

I've been trying to replicate a change in CPS v9 that we made to Redwood v7 7 years ago.  This was to change the default description of a single step job when displayed in the Monitoring -> Jobs screen.  Our v7 Redwood used to display job descriptions in the same default way that our new CPS v9 system does, i.e.   "Run <ABAP_PROGRAM>/<VARIANT> in <Redwood Job Name> (<SID>/<Client>)".

 

The change we made to the registry in v7 was to just display the Redwood Job Name instead of the above.

 

I'm now trying to do the same in CPS v9, but I've read all of the sections in the CPS Administration Guide and searched OSS and SDN, but to no avail.

 

I'm assuming we can still tailor the description in CPS v9.

 

Any assistance greatly appreciated.

 

Regards

 

Guy


Connecting to SAP using MSHOST string - doesn't work

$
0
0

Hi all,

CPS version M33.69-61130.

I am trying to connect to a SAP system using the connection string:

 

MSHOST=HOSTNAME R3NAME=SID GROUP=REDWOOD

The hostname corresponds to the hostname of a high availabilty server running on Windows.

I have manually added the following entries into the services file

sapmsSID 3600/tcp

sapdpSID 3200/tcp

sapgwSID 3300/tcp

I am not able to telnet to hostname at port 3600

I am able to open the sapgui using the command

sapgui hostname 00

So the MSHOST string is not connecting.

 

the error i am getting:

8:02:34 AM: Connection Failed: RFC: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=HOSTNAME GROUP=REDWOOD R3NAME=SID MSSERV=sapmsSID PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner 'XXX.XXX.XXX.XXX:sapmsSID' not reached TIME Mon Jan 14 08:02:33 2013 RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -10 MODULE nixxi.cpp LINE 3286 DETAIL NiPConnect2: XXX.XXX.XXX.XXX:3600 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 6 at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:557) at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1099) at com.sap.mw.jco.JCO$Client.connect(JCO.java:3590) at com.redwood.scheduler.connector.sap.rfc.jco2.connection.RfcConnectionCheckerImpl.checkConnection(RfcConnectionCheckerImpl.java:31) at com.redwood.scheduler.connector.sap.rfc.connection.impl.AbstractRfcConnec

Please help me solve this.

Job getting completed in SAP but still running in CPS Redwood

$
0
0

Hi,

 

We're running CPS Redwood M33.74-62951.

We're sometimes encountering the following problem : jobs are getting completed in SAP ECC by still running in CPS.

Yesterday a job ran 70 sec in SAP and get completed after 90 min in CPS.

Could someone figure out where the problem is lying ?

 

Regards.

Clement M.

CPS 9 implementation support

$
0
0

Hello,

i'm going to install CPS v9 on Java Netweaver 731. Is there anyone, who could help me in case of troubles?

 

Regards,

Tomas

CPS Job final status

$
0
0

Hi All,

 

 

We are using CPS M33.104.

 

By default, Is the CPS final job status depends on the below message types from SAP by ignoring the exit codes from the sap jobs?

 

• A - Termination
• E - Error Message
• S - Completed
• W - Warning

 

For example, If the end status of SAP job is completed..it will be completed in CPS and if the end status of SAP job is error..CPS job status also will error basing on the above message types?. Please advise.

 

 

Regards, Chandu

Load balancing Platform Agents

$
0
0

Dear CPSers,

 

We have two FTP servers providing a resilient FTP service where both are active, but one is "preferred" by a hardware load balancer in front of them. This is achieved by setting the load balancer priority of the preferred server higher than the alternate.  The effect is that the alternate will only be selected if the preferred server goes down or the FTP daemon is stopped on it.

 

We have Redwood CPS BPA v9 Platform Agents installed on each of the FTP servers.  A queue is configured with both Platform Agent servers defined.  This has the effect of being able to direct jobs that need to run on the FTP servers to one of the servers if either should fail. 

 

However, I want to configure Redwood so that it has the same preference as the load balancer, and will only select the alternate FTP server if the preferred one is down.  I have checked the Process Server parameters and the Queue configuration, but I can't find a setting that would create the desired behaviour.

 

Does anyone know if it is possible to set a preference for a particular Process Server when multiple are defined under a single queue?

 

Regards

 

Guy

Registry key that modifies the default description in Monitoring -> Jobs

$
0
0

Hi,

 

I've been trying to replicate a change in CPS v9 that we made to Redwood v7 7 years ago.  This was to change the default description of a single step job when displayed in the Monitoring -> Jobs screen.  Our v7 Redwood used to display job descriptions in the same default way that our new CPS v9 system does, i.e.   "Run <ABAP_PROGRAM>/<VARIANT> in <Redwood Job Name> (<SID>/<Client>)".

 

The change we made to the registry in v7 was to just display the Redwood Job Name instead of the above.

 

I'm now trying to do the same in CPS v9, but I've read all of the sections in the CPS Administration Guide and searched OSS and SDN, but to no avail.

 

I'm assuming we can still tailor the description in CPS v9.

 

Any assistance greatly appreciated.

 

Regards

 

Guy

Overdue job state

$
0
0

Hi All,

 

Is there someone here who knows how to integrate overdue to a job def?

 

Example:

 

We have a weekend maintenance and after the release of queue, all the jobs that have been affected by the down time should not run immediately after the up of queue instead it will recalculate to the next run.

 

 

Thanks for helping!

 

 

Alyssa


Trying to find roadmap for SAP BPA v9.0 patch releases

$
0
0

I'm trying to find a proposed schedule for SAP BPA v9.0 patch releases or updates.  Couldn't find anything in PAM...thanks.

Load balancing Platform Agents

$
0
0

Dear CPSers,

 

We have two FTP servers providing a resilient FTP service where both are active, but one is "preferred" by a hardware load balancer in front of them. This is achieved by setting the load balancer priority of the preferred server higher than the alternate.  The effect is that the alternate will only be selected if the preferred server goes down or the FTP daemon is stopped on it.

 

We have Redwood CPS BPA v9 Platform Agents installed on each of the FTP servers.  A queue is configured with both Platform Agent servers defined.  This has the effect of being able to direct jobs that need to run on the FTP servers to one of the servers if either should fail. 

 

However, I want to configure Redwood so that it has the same preference as the load balancer, and will only select the alternate FTP server if the preferred one is down.  I have checked the Process Server parameters and the Queue configuration, but I can't find a setting that would create the desired behaviour.

 

Does anyone know if it is possible to set a preference for a particular Process Server when multiple are defined under a single queue?

 

Regards

 

Guy

SAP CPS keep clause

$
0
0

Hi All,


Could you please clarify the below question.


1. We are planning to keep old jobs of a job definition along with OUTPUT files for 45 days. We want to keep job history(like start and end times) without output files for 2 years.Please advise how can we acheive this?


2. If I specify 45 days in the keep clause of each and every job definition. Is it going to delete only the old jobs along with job output files  or is it going to delete complete job history greater than 45 days?.

 

3. Is it ok to specify the keep clause on a job chain instead on the child jobs or do I need to specify keep clause for child jobs too?


4. Instead of specifying 45 days in the keep clause of each and every job definition, how can I do this system wide?. Please advise.

 

Thank you in advance.

 

Regards,
Ramana

Load balancing Platform Agents

$
0
0

Dear CPSers,

 

We have two FTP servers providing a resilient FTP service where both are active, but one is "preferred" by a hardware load balancer in front of them. This is achieved by setting the load balancer priority of the preferred server higher than the alternate.  The effect is that the alternate will only be selected if the preferred server goes down or the FTP daemon is stopped on it.

 

We have Redwood CPS BPA v9 Platform Agents installed on each of the FTP servers.  A queue is configured with both Platform Agent servers defined.  This has the effect of being able to direct jobs that need to run on the FTP servers to one of the servers if either should fail. 

 

However, I want to configure Redwood so that it has the same preference as the load balancer, and will only select the alternate FTP server if the preferred one is down.  I have checked the Process Server parameters and the Queue configuration, but I can't find a setting that would create the desired behaviour.

 

Does anyone know if it is possible to set a preference for a particular Process Server when multiple are defined under a single queue?

 

Regards

 

Guy

Trying to find roadmap for SAP BPA v9.0 patch releases

$
0
0

I'm trying to find a proposed schedule for SAP BPA v9.0 patch releases or updates.  Couldn't find anything in PAM...thanks.

job error -cannot start job processor

$
0
0

HI,

 

I encouter an issue when i try to run a job which it keep getting error with the below operator message. Any thought on this error ?

 

 

 

Could not start job processor: arguments
14544012, 1133313662, AMD\SAPServiceRWP, C:\Program
Files\Redwood\Agent\var\SAP_RWP_01\AUSXXPRDUT00\pchannel, C:\Program
Files\Redwood\Agent\var\SAP_RWP_01\AUSXXPRDUT00\jobs\14540000-14549999\14544012,
C:\Program
Files\Redwood\Agent\var\SAP_RWP_01\AUSXXPRDUT00\jobs\14540000-14549999\14544012\script,
C:\Program
Files\Redwood\Agent\var\SAP_RWP_01\AUSXXPRDUT00\jobs\14540000-14549999\14544012\run_CMD.cmd,
C:\Program
Files\Redwood\Agent\var\SAP_RWP_01\AUSXXPRDUT00\jobs\14540000-14549999\14544012\pars,
C:\Program
Files\Redwood\Agent\var\SAP_RWP_01\AUSXXPRDUT00\jobs\14540000-14549999\14544012\parscmd,
C:\Program
Files\Redwood\Agent\var\SAP_RWP_01\AUSXXPRDUT00\jobs\14540000-14549999\14544012\JobFiles\stdout.log,
C:\Program
Files\Redwood\Agent\var\SAP_RWP_01\AUSXXPRDUT00\jobs\14540000-14549999\14544012\JobFiles\stderr.log,
C:\Program
Files\Redwood\Agent\var\SAP_RWP_01\AUSXXPRDUT00\jobs\14540000-14549999\14544012\JobFiles\stdlog.log

 

 

regards,

Chris

Connection Failed: No scheduler assigned to authenticated user "Redwood".

$
0
0

Hi Experts ,

 

While configuring j2ee connection for XI SAP system in CPS system .Getting below error as " Connection Failed: No scheduler assigned to authenticated user "Redwood".

 

I think Redwood user is missing some authorization .Could you please help on this issue .

 

Capture.PNG

 

Regards

Gurbakhsh


SAP CPS Process server notifications

$
0
0

Hi All,

 

Can you please advise how to configure alerts, if a process server goes down.We don't have advanced alerting module.

 

Thank you,

Chandu

Error in OS job

$
0
0


After installing platform agent i am trying to execute the job but i am getting following error.

 

Error log.

 

error 2015-03-20 13:58:25,651 CET [30843-job-processor tid=f7796b30] opsys.job - @locale@:com.redwood.scheduler.jobservice.remote.jobprocessor.NoSwitchUser~root
error 2015-03-20 13:58:25,656 CET [30843-job-processor tid=f7796b30] opsys.job - @locale@:com.redwood.scheduler.jobservice.remote.jobprocessor.OSError~Operation not permitted
error 2015-03-20 13:58:25,663 CET [30843-job-processor tid=f7796b30] job.main - @locale@:com.redwood.scheduler.jobservice.remote.jobprocessor.CouldNotStartJob
error 2015-03-20 13:58:25,673 CET [30843-job-processor tid=f7796b30] opsys.file - Cannot get attributes for /usr/sap/redwood/agent_CPS08/output_joblog/jobs/47470000-47479999/47478631/JobFiles/stdout.log: No such file or directory
error 2015-03-20 13:58:25,674 CET [30843-job-processor tid=f7796b30] opsys.file - Cannot get attributes for /usr/sap/redwood/agent_CPS08/output_joblog/jobs/47470000-47479999/47478631/JobFiles/stderr.log: No such file or directory

 

 

 

 

Thanks

Sharath

File events with different process servers

$
0
0


Hello,

 

is there any possibility to set the process server variable in the file event definition?

 

Background:

A lot of similar file events shows to SERVER1. If this server shut down we want to switch to SERVER2 but not change every file event. Perhaps we could use a variable in the SystemVariable-Table which could set with value SERVER1 or SERVER2?

 

Best regards

Dana Ullrich

Notifications if time window is open

$
0
0

Hi All,

 

I have created a time window "Notification_weekdays" which is enabled from 'Monday 12 am' to 'Sat 12am'.


I have created below trigger to send email notifications.

 

{
   String strLogFileName = "";

    if((jcsPostRunningContext.getNewStatus().equals(JobStatus.Error)     ||
        jcsPostRunningContext.getNewStatus().equals(JobStatus.Unknown)   ||
        jcsPostRunningContext.getNewStatus().equals(JobStatus.Killed)) 
       )
    {
          
      {

         String email = "abc@ghi.com";
         String subject = "Redwood job abend";
         String strText = "Job id=" + jcsJob.getJobId().intValue() + ", Job name=" + jcsJob.getJobDefinition().getName() + ", Job Description=" + jcsJob.getDescription() + " , has abended";
         JobDefinition jd = jcsSession.getJobDefinitionByName("System_Mail_Send");

     {
          Job subJob = jd.prepare();
          subJob.getJobParameterByName("To").setInValueString(email);
          subJob.getJobParameterByName("Subject").setInValueString(subject);
          subJob.getJobParameterByName("Text").setInValueString(strText);
          }
     }

   }
}

 


We need to trigger email notifications only if the time window "Notification_weekdays" is open.

Can you please help with the code for time window logic in the above trigger.

 

 

Regards,

Tinku

RFC and SAP user name

$
0
0

Hello Everyone,

 

Whenever we run a job using SAP user name from CPS. In SM37, it shows job created by RFC user  and in the log and spool it shows SAP user name.  I am under the impression that in all the places it should show SAP user name which is configured in ABAP jobs in CPS.Any roles missing for the SAP user? Please advise.

 

RFC user :  RFC_REDWOOD

 

RFC user.png

 

 

In log and spool it shows SAP user name:  BTCHREDWD

 

 

log.png

 

spool.png

 

 

Regards,

Tinku

Viewing all 1466 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>