on 07-05-2014 3:36 PM
Hello,
I have been trying to setup Syclo Work Manger 6.1 and testing the connection between Work Manager and SAP ERP System.
I have updated the connectTest.bat with the ERP login details uder test_user, I get an "caught exception null" and the test is not successful.
I get the following error:
I have my SMP3 and WM installed in the following path:
Any suggestions to get this tested successfully.
Regards,
Nagesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your error states that something is null.
You may go inside the SAPCommon-133461.jar library under your Java folder -> com.syclo.sap.connectTest.class and decompile it using your favorite Java decompiler.
~~~~~from the code~~~~~~~
you will see something like:
_connection.openCustomConnection(clientNum, _userName, _password, "EN", host, sysNum, 1);
~~~~~end~~~~~~~~~~~~~~~
From the list above, it takes the data from your javaBE.ini for username, password, host and sysNum and hardcoding the "English - EN". Most likely the host might be the one at fault from your picture above. It does not know what your host name is under your JavaBE.ini. It is blank hence it does not know where to connect. May want to try making things Unencoded but you need to study the Java code by de-compiling it so you may know the rules.
Make sure you are also running the connectTest under the Configuration folder of your SMP 3.0. From your picture above: C:\SAP\WM610\..\configuration\com.sap.mobile.platform.server..\javaBE.ini <-- wondering if this is under your SMP 3.0 install configuration folder.
Hope this helps.
Regards,
Mark Pe
SAP Senior Support Engineer
It was brought to our attention that this issue is experienced by most users and not simply by one user. We are now working with our product owners (owner of the connectTest.class) to specify the resolution to this. We will post the resolution in this thread as we are pointing all customers to subscribe here.
Regards,
Mark Pe
SAP Senior Support Engineer
All,
I got news from development about this issue.
We are in the process of creating an SAP note with the fix applied in it.
~~~~~From product team~~~~~~~
There was a change in the jco package the cause the problem.
~~~~~~end~~~~~~~~~~~~~~~~~
Thanks to all who reported this issue. I will update this thread as soon as I get the official SAP note.
Regards,
Mark Pe
SAP Senior Support Engineer
Official SAP note that fixes it:
SAP Note: 2042566 - Patch to correct connectTest.bat Java Exception under Work Manager 6.1, Inventory Manager 4.0
- A new Jar file is in the SAP note that needs to be included in the classPath for the connectTest.bat script.
It is in the Service Marketplace when you use the Support Xsearch.
Regards,
Mark Pe
SAP Senior Support Engineer
Hi Mark,
We're having the exact same issue when installing Inventory Management 4.0. We tried adding the JAR file as specified on the note and we're still facing the same issue.
Curious thing is that I used the Java decompiler as you suggested to check the files... and the class that it's implemented on the 2042566.jar (JCO3TestConnection) looks to have the same code on both versions!
Anything that I'm missing?
Kind regards,
Omar
Thanks Mark.
Reading the SAP note again, I noticed that the SAPCommon-133461.jar file already has the change described on the note.
So maybe the note is not required anymore? Have they updated the install executable?
Anyways, if that's the case, then the issue we're facing may be different. I did a custom test class, based on the decompiled source code, and found that the stack trace for exception is as follows:
reading user credentials from [SERVICE_LOGON] section
connecting as...
clientNum=200
sysNum=00
host=ssewnecdv.ssesap.com
name=imsrvuser
openCustomConnection::begin
*** Caught exception: null
java.lang.NullPointerException
at com.syclo.sap.jco.JCo3Connection.beginStatefulConnection(JCo3Connecti
on.java:223)
at com.syclo.sap.jco.JCo3TestConnection.openCustomConnection(JCo3TestCon
nection.java:56)
at com.syclo.sap.ConnectTest2.initSession(ConnectTest2.java:172)
at com.syclo.sap.ConnectTest2.main(ConnectTest2.java:49)
release::releasing connection
endStatefulConnection::begin
release::complete.
I have a running installation, where the connectTest.bat script gives the same error.
There might be a bug in the script.
Søren Hansen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.