on 02-02-2013 1:36 AM
Hi,
While performing the Managed System Setup for our BI 7.3 system encountered this strange behavior. Everything was successful, at the last step i.e. Check Configuration it is failing giving below error message -
The command CpuStat has been executed to validate that the OS command console is operational. This command failed to execute. Command result: Cannot get CPU information from SAPOSCol webservic e: java.rmi.RemoteException: Service call exceptio n; nested exception is:
com.sap.engine.services.
Cannot get CPU information from SAPOSCol webservice
[EXCEPTION]
java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Can not create instance of [java.util.Calendar] from string [2013-02-01T23:38:45Z] with schema type [http://www.w3.org/2001/XMLSchema][dateTime].
at com.sap.smd.agent.wsclients.saposcol.SAPOscolStub.getCpuConsumption(SAPOscolStub.java:151)
This happening for 2 apps servers, rest are all fine. Let me know if anybody has encountered this. No CPU data for them in WIly
Thanks
Hello Samik,
Are you able to access link below on your server?
http://hostname.domain.dom:1128/SAPOscol/?wsdl
Can you check and let me know ?
Thanks
Yogesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1862333 - Common Host Agent issues displayed in Agent Administration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had a similar error.
Solution was a restart of the sap instance and hostagent:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samik
Try detach agent in SOLMAN_Setup step 4 and attach back, then restart SAP instance, database server. I had the same problem worked this for me.
Consider mark answered if this helps.
-giri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the HostAgent service running on the Application Servers?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, running. I restarted them but didnt work.
ST06 reporting saposcol data in those app servers. But wily is not able to read data.
Do we know what commands is being run to check CPUStat as reported by the error message ?
I am thinking if its any permission issue. But the message tells something about xml file not able to read.
Thanks
What is your Solution Manager version and SP level? See if SAP note 1400891 is applicable. You could do the WSDL test regardless if it is applicable or not.
What OS are you running? Since SMDAgent 7.11 a Web Service call is done to the Host Agent to retrieve the CPU metrics, no external command is run. See SAP note 1413583 for details.
Looking at the exception trace, you seem to be having somekind of XML parsing error. Can you double check that you are running correct and compatible versions of Host Agent and SMDAgent?
Also attach the complete trace as an attachment, not embedded (partly) in the message.
Hi Samuli,
Thanks for reply.
OS - AIX
Using latest SMD Agent installer. I have done agent installation and config for the entire landscape, already completed several systems..for this particular NW 7.3 system got error, that too for 2 app servers. Compatibility should not be the issue here. Full error message -
Cannot get CPU information from SAPOSCol webservice
[EXCEPTION]
java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Can not create instance of [java.util.Calendar] from string [2013-02-01T23:38:45Z] with schema type [http://www.w3.org/2001/XMLSchema][dateTime].
at com.sap.smd.agent.wsclients.saposcol.SAPOscolStub.getCpuConsumption(SAPOscolStub.java:151)
at com.sap.smd.agent.wsclients.saposcol.SAPOscolStub.getCpuConsumption(SAPOscolStub.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.smd.agent.plugin.connectors.webservice.WebserviceInvocationHandler.invoke(WebserviceInvocationHandler.java:83)
at $Proxy24.getCpuConsumption(Unknown Source)
at com.sap.smd.plugin.macro.os.CPUStat.runSAPOSColWS(CPUStat.java:39)
at com.sap.smd.plugin.macro.JavaMacro.run(JavaMacro.java:71)
at java.lang.Thread.run(Thread.java:679)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Can not create instance of [java.util.Calendar] from string [2013-02-01T23:38:45Z] with schema type [http://www.w3.org/2001/XMLSchema][dateTime].
at com.sap.engine.services.webservices.jaxrpc.encoding.primitive.DateTimeSD.deserialize(DateTimeSD.java:295)
at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readElement(InstanceBuilder.java:680)
at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readSequence(InstanceBuilder.java:983)
at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readContent(InstanceBuilder.java:1127)
at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:1719)
at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readElement(InstanceBuilder.java:680)
at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readSequence(InstanceBuilder.java:983)
at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readContent(InstanceBuilder.java:1127)
at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:1719)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.getResponseDocument(MimeHttpBinding.java:1129)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1461)
at com.sap.smd.agent.wsclients.saposcol.SAPOscolStub.getCpuConsumption(SAPOscolStub.java:144)
... 10 more
Caused by: com.sap.engine.lib.xml.util.NestedException -> java.lang.NullPointerException: while trying to invoke the method sun.util.calendar.ZoneInfo.setID(java.lang.String) of an object loaded from local variable 'zi'
at com.sap.engine.services.webservices.jaxrpc.encoding.primitive.CalendarConverter.parseDateTime(CalendarConverter.java:584)
at com.sap.engine.services.webservices.jaxrpc.encoding.primitive.DateTimeSD.deserialize(DateTimeSD.java:293)
... 21 more
Caused by: java.lang.NullPointerException: while trying to invoke the method sun.util.calendar.ZoneInfo.setID(java.lang.String) of an object loaded from local variable 'zi'
at java.util.TimeZone.parseCustomTimeZone(TimeZone.java:770)
at java.util.TimeZone.getTimeZone(TimeZone.java:471)
at java.util.TimeZone.getTimeZone(TimeZone.java:465)
at com.sap.engine.services.webservices.jaxrpc.encoding.primitive.CalendarConverter.getTimeZone(CalendarConverter.java:46)
at com.sap.engine.services.webservices.jaxrpc.encoding.primitive.CalendarConverter.parseCanonical(CalendarConverter.java:559)
at com.sap.engine.services.webservices.jaxrpc.encoding.primitive.CalendarConverter.parseDateTime(CalendarConverter.java:581)
Thanks
Looking at the exception:
Can not create instance of [java.util.Calendar] from string [2013-02-01T23:38:45Z]
and
while trying to invoke the method sun.util.calendar.ZoneInfo.setID(java.lang.String) of an object loaded from local variable 'zi'
Check your locale settings, including Time Zone. See SAP note 1711777 for details. Which Java version are you running? Please be more specific, what exact version of AIX are you running?
xxxx:smdadm 19> ./java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 6.1.023)
SAP Java Server VM (build 6.1.023, Feb 8 2011 10:50:23 - 61_REL - optU - aix ppc64 - 6 - bas2:148724 (mixed mode))
But I am not sure if it is using this java. jstartup/vm/home points to a diff path in the profile. How to confirm which Java ?
Thanks
My mistake, I didn't notice the "SAP Java Server VM" part so it is using SAP JVM 6.1.
Did you check the locale and time zone settings? What are the locale and time zone settings on the SMD Agent and on the host running the SAP Host Agent? Also see SAP note 1367498 for which locales need to be installed on both systems.
"2013-02-01T23:38:45Z" is a valid UTC date & time format as per IS 8601, just in case you wonder. You may have to contact SAP support to get a resolution to your problem.
Ask the person responsible for maintaining the AIX servers to do it. If you insist on doing it yourself, the commands are
To list the time zone setting
# echo $TZ
To list the locale setting
# locale
To list all installed locales
# locale -a
See the IBM AIX documentation on www.ibm.com for more details.
Hi,
I ran those commands in 2 app servers, one where the error exists and the one which is working fine.
echo $TZ is same in both when I run under smdadm which is PST8PDT
locale is also same :
XXXXXXX:smdadm 2> locale
LANG=C
LC_COLLATE="C"
LC_CTYPE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=
Howeve, locale -a is different, the one where we have error lists less values.
XXXXXX:smdadm 3> locale -a
C
POSIX
In the App server where it is fine, locale -a gives long list -
XXXXXXXX:smdadm 1> locale -a
C
POSIX
ZH_CN.UTF-8
ZH_CN
Zh_CN.GB18030
Zh_CN
asianuni
de_DE.8859-15@euro
de_DE.8859-15@preeuro
de_DE.8859-15
de_DE.IBM-1252@euro
de_DE.IBM-1252@preeuro
de_DE.IBM-1252
de_DE.ISO8859-1
de_DE
en_US.8859-15
en_US.ISO8859-1
en_US
ko_KR.IBM-eucKR
ko_KR
zh_CN.IBM-eucCN
zh_CN
zh_TW.IBM-eucTW
zh_TW
Can this be an issue ?
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.