Skip to Content

As of SAP Business One 9.2 Version for SAP HANA , SAP Business One alerts are part of new service introduced called Job Service . If alerts are not triggering in SAP Business One client then following troubleshooting steps can help to resolve the issue –

 

  1. Make sure that Service Layer is up and running – ideally it shall be tested via browser by going into following page:

https://:50000/b1s/v1

If service layer works it shall return something like:

{ “error” : { “code” : -1001, “message” : { “lang” : “en-us”, “value” : “Invalid session.” } } }

If it returns non-existent/blank page seems that service layer is either uninstalled/not started/other issue.

  1. If service layer is installed it can be checked by command:

rpm -qa | grep B1

Following components shall be installed:

B1ServiceLayerApacheWebServer-X.XXXXXXX-X

B1ServiceLayerComponent- X.XXXXXXX-X

  1. Service Layer can by restarted by following command:

/etc/init.d/b1s restart

 

  1. If service layer is not installed then kindly install service layer

 

  1. If service layer installation got corrupted then :
  • Uninstall service layer
  • Unregister it from SLD
  • Install the service layer again

 

  1. Alerts are now part of Job Service – which needs to be started via SLD – there is a new Job service window where alerts are setup – a service user needs to be set – ideally AlerstSrv which is there by default – but it has to be verified if this user exists on all company DBs.
  2. There are also logs for alerts service which are stored in :

/var/log/SAPBussinesOne/ServerTools/Mailer

 

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. Siddharth Nahata

    I am not able to start service layer in SAP using command /etc/init.d/b1s start below is the outpout of command:-

    Also on check logs in /var/log/sapbusinessone/Servertools/Mailer I am getting below error messages:-

    2018-05-25 09:04:18 ERROR [Thread-8] com.sap.sbo.service.BaseService – Service start failed exception while trying to invoke the method java.lang.Boolean.booleanValue() of a null object loaded from local variable ‘result’
    java.lang.NullPointerException: while trying to invoke the method java.lang.Boolean.booleanValue() of a null object loaded from local variable ‘result’
    at com.sap.sbo.sldclient.SimpleSLDClient.logonByServiceUser(SimpleSLDClient.java:142) ~[classes/:na]
    at com.sap.sbo.sldclient.SLDClientCreator.sldClient(SLDClientCreator.java:52) ~[classes/:na]
    at com.sap.sbo.servicelayer.ServiceLayerConfigForHANA.getServiceLayerUrl(ServiceLayerConfigForHANA.java:19) ~[classes/:na]
    at com.sap.sbo.servicelayer.ServiceLayerConfigForHANA.prepareServiceLayer(ServiceLayerConfigForHANA.java:24) ~[classes/:na]
    at com.sap.sbo.alert.service.AlertManager.onStart(AlertManager.java:59) ~[classes/:na]
    at com.sap.sbo.service.BaseService.start(BaseService.java:20) ~[classes/:na]
    at com.sap.sbo.service.BaseService$1.run(BaseService.java:45) [classes/:na]
    at java.lang.Thread.run(Thread.java:812) [na:1.8.0_25]
    2018-05-25 09:06:27 ERROR [pool-13-thread-1] com.sap.sbo.servicelayerclient.ServiceLayerClient – LoginSAML company <DB_NAME> with user AlertSvcfailed.

     

    Please help me  in resolving the issues.

    Thanks

    (0) 

Leave a Reply