on 02-24-2014 2:50 PM
Hello. I am running into an issue during sending AddFieldWorkOrder. The Agentry Server starts fine and I am able to log into the ATE and transmit correctly. The Data and Complex Data Tables load correctly. But when I create a new field work order and try to transmit I run into a server error. I have tried other transmit functions from the handheld to Maximo and am receiving similar errors. I believe there is an issue reading the application class files, but I cannot seem to resolve the issue. I have attached a portion of the Server-Agentry log where the error is listed, but it doesn't give a lot of info.
I have exported the jar files into the D:\syclo\WorkManager\ServerDev\Java directory and extracted the class files into the D:\syclo\WorkManager\ServerDev\Java\Syclo\maximomobile\ directory
Here is what I have listed for the agentry.ini classpath and nonStandardJavaOptions
classPath=C:/jdk1.6.0_45/jre/lib/tools.jar;./Java/businessobjects.jar;./Java/tva_businessobjects.jar;./Java/mboejbclient.jar;./Java/mbojava.jar;./Java/Agentry-v5.jar;./Java/S4MxWM-7.5.2.0.jar;./Java/ini4j.jar;./Java/icu4j.jar;./Java
nonStandardJavaOptions=-Djava.endorsed.dirs=D:\IBM\WebSphere\AppClient\java\jre\lib\endorsed -Djava.ext.dirs=C:\jdk1.6.0_45\jre\lib\ext;D:\IBM\WebSphere\AppClient\lib;D:\IBM\WebSphere\AppClient\plugins
Any assistance in the matter would be greatly appreciated.
Thanks,
Pete
Tags edited by: Michael Appleby
Pete,
Can you post the actual error you are receiving from the events.log? You do not need tools.jar in your classpath and also do not need to extract any of the jara. I would delete the extracted files to avoid confustion. Looking at your classpath it may be a typo but I don't see Agentry-v5.jar listed and I don't recognize the n-v5.jar (should that be Agentry-v5.jar)?
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill. Thanks for the feedback. I made the changes you recommended and am still receiving the same error. The typo in the Agentry-v5.jar was just a pasting error for the posting, it's in the path. Here's the error I'm receiving. > Received Client System Info Notice(202), 2027 Received Login Request(9), 1, 26, pfrost, 3/127, 1:22:28PM/1:22:33PM > Received Business Object Transaction(200), 2028 Received Client System Info Notice(202), 20, 27, pfrost, 44/2942, 1:22:33PM/1:22 :33PM > Received Business Object Transaction(200), 2029 Received Business Object Transaction(200), 20, 28, pfrost, 2/158, 1:22:33PM/1:22 :33PM Exception: 13:22:33 02/24/2014 : 20 (Agentry3), JavaBackEndError (java.lang.Clas sNotFoundException: Unable to find class, name = Syclo/maximomobile/workmanager/ steplet/AddFieldWorkorderSteplet class path = .\Java\businessobjects.jar;.\Java\ tva_businessobjects.jar;.\Java\mboejbclient.jar;.\Java\mbojava.jar;.\Java\Agentr ), at com.syclo.agentry.internal.AgentryClassLoader.loadClass(AgentryClassL oader.java:172) Exception: 13:22:33 02/24/2014 : 20 (Agentry3), JavaBackEndError (), AgentryStep letFactory.cpp#82:AgentryStepletFactory::loadClass > Received Logout Request(2), 130 ID: PFROST, Name: pfrost User::disconnect::User::disconnect begin User::disconnect::calling _mxSession.disconnect() User::disconnect::User::disconnect end Received Business Object Transaction(200), 20, 29, pfrost, 3/591, 1:22:33PM/1:22 :33PM Received Logout Request(2), 1, 30, pfrost, 2/6, 1:22:33PM/1:22:33PM Thanks in advance for any assistance. Pete
One other note...I've tried adding the MMWM.jar and MaximoMobile.jar files into the class path in the agentry.ini file and now receive the following error:
> Received Business Object Transaction(200), 2029 Received Business Object Transaction(200), 20, 28, pfrost, 2/158, 1:49:59PM/1:49 :59PM Exception: 13:49:59 02/24/2014 : 20 (Agentry3), JavaBackEndError (java.lang.NoCl ), at java.lang.ClassLoader.defineClass1(Native Method) Exception: 13:49:59 02/24/2014 : 20 (Agentry3), JavaBackEndError (), AgentryStep letFactory.cpp#86:AgentryStepletFactory::loadClass > Received Logout Request(2), 130 ID: PFROST, Name: pfrost User::disconnect::User::disconnect begin User::disconnect::calling _mxSession.disconnect() User::disconnect::User::disconnect end Received Business Object Transaction(200), 20, 29, pfrost, 3/610, 1:49:59PM/1:49 :59PM Received Logout Request(2), 1, 30, pfrost, 2/6, 1:49:59PM/1:49:59PM
Unfortunately, there isn't a lot to go on here. I tried adding the tools.jar file back into the class path because of the loadClass error, but it didn't make a difference.
Thanks, Pete
Peter,
Like Bill said above, you are missing Agentry-v5.jar in your classpath. The error in your events log is looking for Syclo/Agentry/Steplet which is a common Agentry infrastructure class, not related to the product at all. The Steplet class is found in that jar.
Jason Latko - Senior Product Developer at SAP
Jason,
I have all the jar files in D:\syclo\WorkManager\ServerDev\Java
Here is the classPath and serverClass settings from the agentry.ini file:
[Java-2]
classPath=./Java/businessobjects.jar;./Java/tva_businessobjects.jar;./Java/mboejbclient.jar;./Java/mbojava.jar;./Java/Agentry-v5.jar;./Java/S4MxWM-7.5.2.0.jar;./Java/ini4j.jar;./Java/icu4j.jar;./Java/MMWM.jar;./Java/MaximoMobile.jar;./Java
serverClass=com/syclo/maximomobile/workmanager/Server
Thanks,
Pete
Peter,
Not sure what these jar files are: MMWM.jar and MaximoMobile.jar. Those are maybe from an old version of the product? Please remove those from the classpath. You are going to need to debug the AddFieldWorkorder java steplet in Eclipse. Are you familiar with that process?
Jason Latko - Senior Product Developer at SAP
Hi Peter,
Are you using Websphere still? I see that you have it setup and from our last discussion you had it configured/working for clustering.
In the Events log, it still thinks it's Native.
From the Events:
at java.lang.ClassLoader.defineClass1(Native Method)
Looks like something changed in Javabe.ini. or is missing in the classpath. That businessobject jar file comes from the Websphere installation directory. See the installation manual.
Review the installation manual for anything that was missed possibly from the websphere set up.
The server can start up and the user can log in successfully, however, if all the installation instructions are not configured just so, the transmit will not complete as expected.
Nancy Burke
Jason, I removed these jar files and am still receiving the error. I debugged the AddFieldWorkorder steplet and can't find any issues. The error seems to be that the transmit from the ATE to Maximo cannot find this steplet. I have attached the most recent error.
Based on Steve and Nancy's notes below I reviewed the javaBE.ini file again against the install notes. The settings look correct and the server start and initial upload works fine so I don't think this is the issues. But I'm curious about the componentManager settings and object mapping settings. I can't find these referenced in the install guide and I haven't changed them.
I have the following settings related to this error:
#List Component Managers required by this application here
componentManager.1=com.syclo.maximomobile.component.workorder.WorkorderComponentManager
# Object mappings for the Pojo classes
pojo.Workorder=com.syclo.maximomobile.component.workorder.object.Workorder
# Object mappings for the StepHandler classes
stephandler.AddFieldWorkorder=com.syclo.maximomobile.component.workorder.stephandler.AddFieldWorkorderStepHandler
I'm assuming the transmit for the should find the steplet in the S4MxWM-7.5.2.0.jar file since the actual class files are no longer extracted into the Java directory. But this doesn't seem to be the case. Any other ideas would be greatly appreciated.
Thanks,
Pete
Peter,
OK I think I found the issue. Your error log is looking for this class:
Syclo/maximomobile/workmanager/steplet/AddFieldWorkorderSteplet
But when I checked on my end, that class is stored at:
com\syclo\maximomobile\component\workorder\steplet\AddFieldWorkorderSteplet
Look in your jar file and verify this. Then look at the entry for that steplet in Eclipse and see where it is pointing. There may be a mismatch there for some reason. Did you upgrade an old version of the product and are still using the old editor definitions? That is my guess. You need the 7.5.2 editor definitions or you will run into all kinds of trouble like this.
Jason Latko - Senior Product Developer at SAP
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.