cancel
Showing results for 
Search instead for 
Did you mean: 

Script is not getting executed in Enduser Experience Monitoring

Former Member
0 Kudos

Hi,

I have cofigured SAP EEM (Enduser Experience Monitoring) in SOLMAN 7.01 SP24 system. I have completed all steps successfully for EEM Robot and script configuration and deployment of scripts to EEM Robot.

However in EEM_MONITOR (https://<solman host>:<port>/sap/bc/webdynpro/sap/eem_monitor) script is not getting executed. I can see following message

"Status[509]:Execution is scheduled but not carried out. Script has not been executed in selected time frame"

Anybody knows what I am missing here?

Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi All,

I have already verified all troubleshooting guides of EEM but no luck. I am seeing following exceptions in SMDAgentApplication.log files. Following which is in bold, I am thinking that is causing this isse. Any idea?

Apr 26, 2012 10:52:26 AM [Thread[EEM/Test/1,5,main]] Error      com.sap.smd.eem.executor.XmlExecutor - iteration: Script execution aborted

[EXCEPTION]

com.sap.smd.eem.executor.ExecutorException: result status reaches threshold (4)

at com.sap.smd.eem.executor.XmlExecutor.iteration(XmlExecutor.java:97)

at com.sap.smd.eem.executor.AbstractExecutor.run(AbstractExecutor.java:197)

at com.sap.smd.eem.agelet.EEMAction.doRun(EEMAction.java:135)

at com.sap.smd.wily.hostagent.action.AbstractAction.run(AbstractAction.java:53)

at com.wily.EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:728)

at java.lang.Thread.run(Thread.java:679)

Apr 26, 2012 10:52:27 AM [Thread[EEM WsNotifyQueue,5,main]] Error      com.sap.smd.eem.executor.wsnotify.WsNotifyQueue - doNotification: notification call failed

[EXCEPTION]

java.rmi.RemoteException: Service call exception; nested exception is:

java.lang.Exception: Could not create https handler:java.lang.ClassNotFoundException iaik.protocol.https.Handler

at com.sap.smd.eem.wsnotify.bulk.AI_EEM_BULK_NOTIFICATION_Stub.aiEemBulkNotification(AI_EEM_BULK_NOTIFICATION_Stub.java:84)

at com.sap.smd.eem.wsnotify.bulk.AI_EEM_BULK_NOTIFICATION_Stub.aiEemBulkNotification(AI_EEM_BULK_NOTIFICATION_Stub.java:93)

at com.sap.smd.eem.executor.wsnotify.WsNotifyQueue.doNotification(WsNotifyQueue.java:150)

at com.sap.smd.eem.executor.wsnotify.WsNotifyQueue.access$300(WsNotifyQueue.java:40)

at com.sap.smd.eem.executor.wsnotify.WsNotifyQueue$WsNotifyQueueRunner.run(WsNotifyQueue.java:236)

Caused by: java.lang.Exception: Could not create https handler:java.lang.ClassNotFoundException iaik.protocol.https.Handler

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.createHTTPSocket(HTTPTransport.java:106)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:372)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:578)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1447)

at com.sap.smd.eem.wsnotify.bulk.AI_EEM_BULK_NOTIFICATION_Stub.aiEemBulkNotification(AI_EEM_BULK_NOTIFICATION_Stub.java:77)

... 4 more

thomas_holz
Employee
Employee
0 Kudos

Hi Amit,

you are calling the Solution Manager via https but the iaik files are not installed. So either you change in eem_admin the parameter wsnotify.url to use http or you install the iaik files. See also

http://wiki.sdn.sap.com/wiki/display/EEM/SSL+For+Wsnotify

Best regards,

Thomas

Former Member
0 Kudos

Hi Thomas,

I dont have "iaik" folder at given location. Can it be create manually?

Since we have webdispatcher in place any http call will get convert into https. So it looks like I need to create this "iaik" folder

Thanks

Former Member
0 Kudos

Hi,

I am seeing wierd issue. I am executing a test script which login to Enterprise Portal then navigate to few tabs and then comes out.

Script runs successfully for few hours and then it start failing at first step which is "Login" in my case. I can see following exceptions in SMDAgentApplication log file.

Do you know why my robot/script is loosing connectivity with SAP system? I have added all certificates in script too.

May 4, 2012 2:45:56 PM [Thread[EEM/BMQ Validation/1,5,main]] Warning    com.sap.smd.eem.executor.XmlExecutor - iteration: request caused errors
[EXCEPTION]
com.sap.smd.eem.executor.MessageException: Remote host closed connection during handshake
at com.sap.smd.eem.executor.http.NetweaverHttpProtocol.serverRequest(NetweaverHttpProtocol.java:351)
at com.sap.smd.eem.executor.AbstractExecutor.serverRequest(AbstractExecutor.java:257)
at com.sap.smd.eem.executor.XmlExecutor.iteration(XmlExecutor.java:51)
at com.sap.smd.eem.executor.AbstractExecutor.run(AbstractExecutor.java:197)
at com.sap.smd.eem.agelet.EEMAction.doRun(EEMAction.java:135)
at com.sap.smd.wily.hostagent.action.AbstractAction.run(AbstractAction.java:53)
at com.wily.EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:728)
at java.lang.Thread.run(Thread.java:679)
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:808)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
at com.sap.httpclient.http.methods.ByteArrayRequestData.writeRequest(ByteArrayRequestData.java:81)
at com.sap.httpclient.http.methods.DataContainingRequest.writeRequestBody(DataContainingRequest.java:278)
at com.sap.httpclient.HttpMethodImpl.writeRequest(HttpMethodImpl.java:1443)
at com.sap.httpclient.HttpMethodImpl.execute(HttpMethodImpl.java:839)
at com.sap.httpclient.HttpMethodProcessor.executeWithRetry(HttpMethodProcessor.java:358)
at com.sap.httpclient.HttpMethodProcessor.executeMethod(HttpMethodProcessor.java:147)
at com.sap.httpclient.HttpClient.executeMethod(HttpClient.java:234)
at com.sap.httpclient.HttpClient.executeMethod(HttpClient.java:199)
at com.sap.smd.eem.executor.http.NetweaverHttpProtocol.serverRequest(NetweaverHttpProtocol.java:279)
... 7 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
... 22 more


May 4, 2012 2:45:56 PM [Thread[EEM/BMQ Validation/1,5,main]] Warning    com.sap.smd.eem.executor.XmlExecutor - iteration: Message (id=68,name=68_index.pl,status=4) result status reaches threshold (4), execution aborted
May 4, 2012 2:45:56 PM [Thread[EEM/BMQ Validation/1,5,main]] Error      com.sap.smd.eem.executor.XmlExecutor - iteration: Script execution aborted
[EXCEPTION]
com.sap.smd.eem.executor.ExecutorException: result status reaches threshold (4)
at com.sap.smd.eem.executor.XmlExecutor.iteration(XmlExecutor.java:97)
at com.sap.smd.eem.executor.AbstractExecutor.run(AbstractExecutor.java:197)
at com.sap.smd.eem.agelet.EEMAction.doRun(EEMAction.java:135)
at com.sap.smd.wily.hostagent.action.AbstractAction.run(AbstractAction.java:53)
at com.wily.EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:728)
at java.lang.Thread.run(Thread.java:679)

Thanks

Former Member
0 Kudos

Hi,

may I knw have you activated ssl in solman or EP portal, it seems it using ssl ports to connect the system without ssl.

Hence please check with http port of EP and try to execute, instead of https.

Thanks

Jansi

Former Member
0 Kudos

Hi Jansi,

I have webdisptacher in front of JAVA stack. From browser to webdsipatcher call is HTTPS and then from webdispatcher to JAVA stack call is HTTP.

SSL is active in SOLMAN. My scripts runs for few hours and then start failing it agian. If I restart script the it run fine for few hours.

Thanks

Former Member
0 Kudos

Hi Amit,

make your java stack too https connection and try,

when the script connecting Java stack it fails

Thanks

Jansi

thomas_holz
Employee
Employee
0 Kudos

Hi Amit,

this is another problem.

Does the communication robot->solman work now with https?

How often does the script work and how often does it fail?

SSL works in general for script executions?

Best regards,

Thomas

thomas_holz
Employee
Employee
0 Kudos

Hi Amit,

there might be several reasons. You can find some of them at

http://wiki.sdn.sap.com/wiki/display/EEM/MissingDataInMonitoringUI

Best regards,

Thomas

Former Member
0 Kudos
roland_hennessy
Contributor
0 Kudos

Hi Amit,

For the Status 509 error would it be possible to apply the latest patch for LMSERVICE 7.01 to see if this helps? If problem persists please attach the SMDAgentApplication.log.

Kind regards,

Roland