cancel
Showing results for 
Search instead for 
Did you mean: 

Error synchronizing REX, no data

Former Member
0 Kudos

Hi,

We have installed SUP 2.1 and it has been running perfectly fine. However I am facing problems while trying to syncronization Retail Execution.


The device is registred ok.


After introduce the CRM user/Pass, the data syncronization is ok, but while syncrhonizating I got a Login error.


In the logs,  i can see the following:


2015-01-28 17:00:36.154  Subsystem=Error  Application ID=, Application Connection ID=, User=, Correlation ID=, Transaction ID=, Root Context ID=, Package=, MBO=, Operation=, Thread ID=436, Node ID=evw1900884, Error=Create default template for application:retailex security:admin failed: The template exists.


2015-01-28 18:05:48  Module=HttpdSync, Description=(x-sup-sessid=1rfm8izutjt48) SetRequestComplete  request dropped due to Invalid request handle=151, Level=ERROR, User=, Application Connection ID=, Thread ID=5784, Node=EVW1900884, Trace file name=EVW1900884_OBMO_HttpdSync_20150120T110755.txt, File attachment=, File name=, Line number=


Any suggestion?


Thanks,



Message was edited by: Michael Appleby

Accepted Solutions (0)

Answers (1)

Answers (1)

Kevin_SAP
Advisor
Advisor
0 Kudos

I'm not sure what version of 2.1 you are using, but it was end of maintenance September 2014, so just be aware.  That appears to be from the domain log, what does the SUP server log show?  Also, what domain is REX using and security profile?  You may see additional details in the Sybase/UnwiredPlatform/servers/UnwiredServer/logs/HttpdSync/EVW1900884_OBMO_HttpdSync_20150120T110755.txt file.

Former Member
0 Kudos

Hi Kevin,

I still have the same problem. We are using SAP Mobile WorkSpace 2.4 SP04 and Mobiel Server 2.3

I am using default domain, and the security profile is admin. No problem to registrer the device, but unable to syncrhonize customazing. I have been stucked with this for 2 weeks and I don't know what else can prove, any suggestion?

Many thanks

My default log is as follows:

2015-01-30 10:10:38.443  Subsystem=Error  Application ID=retailex, Application Connection ID=1bf04e77-19b3-33f7-9458-3cf7d6d4b5a2__retailex, User=ISTONE@admin, Correlation ID=, Transaction ID=, Root Context ID=, Package=saprex:3.2, MBO=PrintTemplateMBO_pull_pq, Operation=find, Thread ID=262, Node ID=evw1900884, Error=[-10225] Failure occurred while executing user supplied code in the server

2015-01-30 10:10:38.443  Subsystem=Error  Application ID=retailex, Application Connection ID=1bf04e77-19b3-33f7-9458-3cf7d6d4b5a2__retailex, User=ISTONE@admin, Correlation ID=, Transaction ID=, Root Context ID=, Package=saprex:3.2, MBO=PrintTemplateMBO_pull_pq, Operation=find, Thread ID=262, Node ID=evw1900884, Error=[-10158] Exception thrown in method: 'public void com.sybase.djc.mobilink.EventHandler.uploadData(ianywhere.ml.script.UploadData) throws java.sql.SQLException'. Error description: 'com.sybase.djc.transaction.TransactionRolledbackSystemException: com.sybase.djc.mobilink.UploadHandler.handle(com.sybase.djc.mobilink.ConnectionContext, ianywhere.ml.script.UploadData)'.

Stack trace: 'com.sybase.djc.transaction.TransactionRolledbackSystemException: com.sybase.djc.mobilink.UploadHandler.handle(com.sybase.djc.mobilink.ConnectionContext, ianywhere.ml.script.UploadData)

and my EVW1900884_OBMO_HttpdSync_20150120T110755.txt file.:

20150130T100738.769|1|(x-sup-sessid=5rb0s8oknjdz) SetRequestComplete  request dropped due to Invalid request handle=365|||||5116

20150130T100739.392|1|(x-sup-sessid=5rb0s8oknjdz) SetRequestComplete  request dropped due to Invalid request handle=396|||||2384

20150130T100739.909|1|(x-sup-sessid=5rb0s8oknjdz) SetRequestComplete  request dropped due to Invalid request handle=398|||||3232

20150130T100740.317|1|(x-sup-sessid=5rb0s8oknjdz) SetRequestComplete  request dropped due to Invalid request handle=400|||||696

20150130T100741.125|1|(x-sup-sessid=5rb0s8oknjdz) SetRequestComplete  request dropped due to Invalid request handle=402|||||3616

20150130T100741.732|1|(x-sup-sessid=5rb0s8oknjdz) SetRequestComplete  request dropped due to Invalid request handle=404|||||7824

20150130T100751.866|1|(x-sup-sessid=5rb0s8oknjdz) SetRequestComplete  request dropped due to Invalid request handle=406|||||6584

20150130T101855.235|1|(x-sup-sessid=5rb0s8oknjdz) SetRequestComplete  request dropped due to Invalid request handle=408|||||4004

My mobile server log is the following:

2015-01-30 10:10:38.443 ERROR Mobilink Thread-202 [com.sybase.ml.sup.Logger] [-10225] Failure occurred while executing user supplied code in the server

2015-01-30 10:10:38.443 ERROR Mobilink Thread-202 [com.sybase.ml.sup.Logger] [-10158] Exception thrown in method: 'public void com.sybase.djc.mobilink.EventHandler.uploadData(ianywhere.ml.script.UploadData) throws java.sql.SQLException'. Error description: 'com.sybase.djc.transaction.TransactionRolledbackSystemException: com.sybase.djc.mobilink.UploadHandler.handle(com.sybase.djc.mobilink.ConnectionContext, ianywhere.ml.script.UploadData)'.

Stack trace: 'com.sybase.djc.transaction.TransactionRolledbackSystemException: com.sybase.djc.mobilink.UploadHandler.handle(com.sybase.djc.mobilink.ConnectionContext, ianywhere.ml.script.UploadData)

  at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:1023)

  at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:759)

  at com.sybase.djc.mobilink.UploadHandler_DJC.handle(UploadHandler_DJC.java:79)

  at com.sybase.djc.mobilink.EventHandler.uploadData(EventHandler.java:839)

  at sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:601)

  at ianywhere.ml.script.MethodInfo.invoke(MethodInfo.java:11456)

Caused by: com.sybase.djc.SystemException: D:\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\mobilink\TableInfo\d1_saprex.3_2_saprex_3_2_producttypecustmbo_pull_pq.properties

  at com.sybase.djc.mobilink.UploadHandler.handle(UploadHandler.java:149)

  at com.sybase.djc.mobilink.UploadHandler_DJC.handle(UploadHandler_DJC.java:96)

  at com.sybase.djc.mobilink.UploadHandler.handle(UploadHandler.java:45)

  at com.sybase.djc.mobilink.UploadHandler_DJC.access$001(UploadHandler_DJC.java:4)

  at com.sybase.djc.mobilink.UploadHandler_DJC$1.invoke(UploadHandler_DJC.java:50)

  at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:857)

  ... 7 more

Caused by: com.sybase.djc.repository.PropertiesNotFoundException: D:\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\mobilink\TableInfo\d1_saprex.3_2_saprex_3_2_producttypecustmbo_pull_pq.properties

  at com.sybase.djc.repository.Repository.getProperties(Repository.java:1066)

  at com.sybase.djc.repository.Repository.getProperties(Repository.java:439)

  at com.sybase.djc.repository.Repository.getProperties(Repository.java:424)

  at com.sybase.djc.mobilink.TableInfo.init(TableInfo.java:131)

  at com.sybase.djc.mobilink.TableInfo.getInstance(TableInfo.java:28)

  at com.sybase.djc.mobilink.UploadHandler.handle(UploadHandler.java:60)

  ... 12 more

My messagin server log:

2015-01-30 10:07:51  Module=HttpdSync, Description=(x-sup-sessid=5rb0s8oknjdz) SetRequestComplete  request dropped due to Invalid request handle=406, Level=ERROR, User=, Application Connection ID=, Thread ID=6584, Node=EVW1900884, Trace file name=EVW1900884_OBMO_HttpdSync_20150120T110755.txt, File attachment=, File name=, Line number=

Kevin_SAP
Advisor
Advisor
0 Kudos

It appears the package is not deployed correctly or had errors on deployment since it cannot find the file D:\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\mobilink\TableInfo\d1_saprex.3_2_saprex_3_2_producttypecustmbo_pull_pq.properties.  This appears to be the cause of the issue.  First, I would make sure you are on the latest SMP 2.3 version, SMP 2.3 SP05 PL01 and then have the latest REX 3.2 package deployed.  After that, redeploy device application and retest.

Former Member
0 Kudos

Hi Kevin,

Your help is much appreciate, thanks.

I deleted the pacckage and deployed again, and I am not obtaning the same error. It seems is an authentification problem with the http authentificationloginModul. or the PreConfiguredUserLoginModule]

However, I am using the CRM credentials that work well, and when i try to open directly the url, my credentials are validated.

2015-01-30 16:12:19.852 INFO Security Thread-207 [com.sybase.security.provider.AbstractFileConfiguration] Loading configuration url file:/D:/SAP/MobilePlatform/Servers/UnwiredServer/Repository/CSI/conf/default.xml

2015-01-30 15:48:51.599 ERROR Mobilink Thread-169 [com.sybase.ml.sup.Logger] [-10052] The authenticate_parameters script returned 4000

2015-01-30 15:48:51.589 WARN MMS Thread-169 [com.sybase.djc.security.SecurityManagerLog] Login Failed: user 'ISTONE'

2015-01-30 15:48:51.581 WARN Security Thread-169 [com.sybase.security.internal.SecContextImpl] No successful loginmodules

javax.security.auth.login.LoginException: No successful loginmodules

  at com.sybase.security.internal.SecSubjectImpl.login(SecSubjectImpl.java:486)

  at com.sybase.security.internal.SecContextImpl.internalLogin(SecContextImpl.java:1537)

  at com.sybase.security.internal.SecContextImpl.login(SecContextImpl.java:541)

  at com.sybase.security.integration.easerver6.CSIAuthServiceImpl.checkSession(CSIAuthServiceImpl.java:223)

  at com.sybase.djc.security.SecurityDomain.ctsAuthLogin(SecurityDomain.java:2475)

  at com.sybase.djc.security.SecurityDomain_DJC.access$001(SecurityDomain_DJC.java:4)

  at com.sybase.djc.security.SecurityDomain_DJC$1.invoke(SecurityDomain_DJC.java:411)

  at com.sybase.djc.transaction.TransactionManager.invokeNotSupported1(TransactionManager.java:682)

  at com.sybase.djc.transaction.TransactionManager.invokeBeanManaged(TransactionManager.java:623)

  at com.sybase.djc.security.SecurityDomain_DJC.ctsAuthLogin(SecurityDomain_DJC.java:415)

  at com.sybase.djc.security.SecurityDomain.checkPassword(SecurityDomain.java:1025)

  at com.sybase.djc.security.SecurityDomain_DJC.checkPassword(SecurityDomain_DJC.java:323)

  at com.sybase.djc.security.User.login(User.java:458)

  at com.sybase.djc.mobilink.LoginHandler.authenticateUser(LoginHandler.java:401)

  at com.sybase.djc.mobilink.LoginHandler.authenticateUser(LoginHandler.java:219)

  at com.sybase.djc.mobilink.LoginHandler_DJC.authenticateUser(LoginHandler_DJC.java:50)

  at com.sybase.djc.mobilink.EventHandler.authenciateInternal(EventHandler.java:722)

  at com.sybase.djc.mobilink.EventHandler.authenticateParameters(EventHandler.java:283)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:601)

  at ianywhere.ml.script.MethodInfo.invoke(MethodInfo.java:11456)

2015-01-30 15:48:51.575 WARN Security Thread-169 [com.sybase.security.http.HttpAuthenticationLoginModule] Server responded with the status code "401"

2015-01-30 15:48:51.547 WARN Security Thread-169 [com.sybase.security.core.PreConfiguredUserLoginModule] Authentication failed Authentication failed due to invalid credentials.

2015-01-30 15:47:43.301 WARN Security HttpChannel Thread-430 [com.sybase.security.http.HttpAuthenticationLoginModule] Server responded with the status code "401"

2015-01-30 15:47:41.124 INFO Security HttpChannel Thread-414 [com.sybase.security.provider.AbstractFileConfiguration] Loading configuration url file:/D:/SAP/MobilePlatform/Servers/UnwiredServer/Repository/CSI/conf/anonymous.xml

2015-01-30 15:41:07.528 WARN Security Thread-207 [com.sybase.security.http.HttpAuthenticationLoginModule] Server responded with the status code "401"

2015-01-30 15:41:07.494 INFO Security Thread-207 [com.sybase.security.provider.AbstractFileConfiguration] Loading configuration url file:/D:/SAP/MobilePlatform/Servers/UnwiredServer/Repository/CSI/conf/default.xml

2015-01-30 15:34:31.852 WARN MMS Thread-207 [com.sybase.sup.server.deploy.DeploymentLog] The endpoint cannot be created: endpoint default_CRM_local has already been created for Unwired Server.

2015-01-30 15:28:58.752 WARN Security Thread-201 [com.sybase.security.http.HttpAuthenticationLoginModule] Server responded with the status code "401"

Kevin_SAP
Advisor
Advisor
0 Kudos

I assume you have stacked authentication providers and you are using HTTP BASIC AUTH for your authentication.  Change your control flag to sufficient, make sure it is first in the stacked providers, validate and save, and then make sure you are using its security profile for your authentication provider. 

Former Member
0 Kudos

Hi,

After one month we are still stucked with this error. I don't think it is a authentification error, becouse i can ping well the link of the http autentification module, and the user and passwrod workds fine there.

When i try to acces to REX, customazing starts to syncronice,and and wrong user error appears.

However i have got these logs:

Log mobile server:

2015-03-17 17:03:04.486 WARN Other Thread-177 [SAPReX.server.SAPReXDB] {"_op":"C","level":5,"code":500,"eisCode":"","message":"com.sybase.djc.repository.PropertiesNotFoundException:

D:\\SAP\\MobilePlatform\\Servers\\UnwiredServer\\Repository\\Instance\\com\\s

ybase\\djc\\mobilink\\TableInfo\\d

1_saprex.3_2_saprex_3_2_producttypecustmbo_pull_pq.properties","component":"SAPReXDB","entityKey":null,"operation":"synchronize","requestId":null,"timestamp":"2015-03-17 16:03:04.486","messageId":0,"_rc":0}


Domain log:

2015-03-17 16:59:15.452  Subsystem=Error  Application ID=retailex, Application Connection ID=1bf04e77-19b3-33f7-9458-3cf7d6d4b5a2__retailex, User=ISTONE@admin, Correlation ID=, Transaction ID=, Root Context ID=, Package=saprex:3.2, MBO=PrintTemplateMBO_pull_pq, Operation=find, Thread ID=231, Node ID=evw1900884, Error=[-10225] Failure occurred while executing user supplied code in the server


2015-03-17 16:59:15.451 Subsystem=Error  Application ID=retailex, Application Connection ID=1bf04e77-19b3-33f7-9458-3cf7d6d4b5a2__retailex, User=ISTONE@admin, Correlation ID=, Transaction ID=, Root Context ID=, Package=saprex:3.2, MBO=PrintTemplateMBO_pull_pq, Operation=find, Thread ID=231, Node ID=evw1900884, Error=[-10158] Exception thrown in method: 'public void com.sybase.djc.mobilink.EventHandler.uploadData(ianywhere.ml.script.UploadData) throws java.sql.SQLException'. Error description: 'com.sybase.djc.transaction.TransactionRolledbackSystemException: com.sybase.djc.mobilink.UploadHandler.handle(com.sybase.djc.mobilink.ConnectionContext, ianywhere.ml.script.UploadData)'.

Stack trace: 'com.sybase.djc.transaction.TransactionRolledbackSystemException: com.sybase.djc.mobilink.UploadHandler.handle(com.sybase.djc.mobilink.ConnectionContext, ianywhere.ml.script.UploadData)

               at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:1023)

               at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:759)

               at com.sybase.djc.mobilink.UploadHandler_DJC.handle(UploadHandler_DJC.java:79)

               at com.sybase.djc.mobilink.EventHandler.uploadData(EventHandler.java:842)

               at sun.reflect.GeneratedMethodAccessor576.invoke(Unknown Source)

               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

               at java.lang.reflect.Method.invoke(Method.java:606)

               at ianywhere.ml.script.MethodInfo.invoke(MethodInfo.java:11592)

Caused by: com.sybase.djc.SystemException: D:\SAP\MobilePlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\mobilink\TableInfo\d1_saprex.3_2_saprex_3_2_producttypecustmbo_pull_pq.properties

               at com.sybase.djc.mobilink.UploadHandler.handle(UploadHandler.java:177)

               at com.sybase.djc.mobilink.UploadHandler_DJC.handle(UploadHandler_DJC.java:96)

               at com.sybase.djc.mobilink.UploadHandler.handle(UploadHandler.java:53)

               at com.sybase.djc.mobilink.UploadHandler_DJC.access$001(UploadHandler_DJC.java:4)

               at com.sybase.djc.mobilink.UploadHandler_DJC$1.invoke(UploadHandler_DJC.java:50)

               at com.sybase.djc.transaction.TransactionManager.invokeRequiresNew(TransactionManager.java:857)


So it seems the error is somehow related with ...\\mobilink\\TableInfo\\d1_saprex.3_2_saprex_3_2_producttypecustmbo_pull_pq.properties".


I am using  sap rex 3.2, server version is 2.3.5.25...


Any suggestion here?


Many thanks,

Former Member
0 Kudos

Hi,

It seems the error has relation with products. It is possible to desactivated product integration to confirm this?

many thanks

Kevin_SAP
Advisor
Advisor
0 Kudos

Jose,

I'm not a REX person, but seems to be an issue with a deployed object.  Have you tried removing the MBO package and reinstalling?  The one caution with this is it will require all devices to reregister.

Thanks,

Kevin