IBM MobileFirst 8.0 Console - com.google.gson.stream.MalformedJsonException - ibm-mobilefirst

In IBM MobileFirst 8.0 Console, when selecting Application push tab.
Following error is occurred sometimes and that particular tab is getting stuck though it is configured and working fine.
Error is:
com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 8 path $
Please check the attached image for Error:
Error Screenshot
Now Am solving this issue by stopping mfpserver and restarting, so it is working fine as it is not stuck and error is solved.
Please check the attached image for solved console push tab stuck error:
Solved issue screenshot
How can i solve this issue without restarting mfpserver?

Not a question for Stack Overflow.
Please open a PMR (support ticket) for IBM and provide to the support team the server logs for the time when this error happens.
You can find the server log file at: [devkit installation directory]/mfp-server/usr/servers/mfp/logs -> messages.log.

Related

Cannot initiate session store since unable to parse (ERROR 500)

adonis application returns this error message when cloned the project and run after installing npm install, but the same project is working in another mac book pro. even i am using a mac book pro and it returns the following error. it says error 500.
Error
Cannot initiate session store since unable to parse `3b4204e91221f241deaad16ec6e4ddc0rs82L3YRb0FL72WnRgcJACuQ3Pur5KO5XigYeIuvLtuv+r27yI+dQXmZNbUUqX0URC5bzdBT1lnnZdZutBu4rVBPjvTKX00KR/RRsx9zjF0Zx2lqpSDdwJqUoGvJdM4YnJA3D6EK71GRVfpAeEprchMf5E0hdVEgnzVxV0wgqOg=`
The issue was really unknown and once i clean cookies from site settings of the browser, it was fixed itself, also i recommend to test all the sites on Incognito mode,

Maximo Anywhere Applications not lunching

Dears I have Maximo Anywhere 7.6.3.1 the applications not lunching i am getting the following error with android :
this issue suddenly appear for all Maximo Anywhere version 7.6.1 ,7.6.2
DOMException: Failed to read the 'cssRules' property from
'CSSStyleSheet': Cannot access rules
This is an issue caused by a Chrome update, Updating to Chrome 73 on the device causes the issue. You can either uninstall Chrome updates or contact IBM Maximo Anywhere support for a fix.
https://www-01.ibm.com/support/docview.wss?uid=ibm10876700
Dears
I got from IBM email Have the following link which you can change the dojo file so you can fix the issue permanently
Fix the issue

Apache Tomcat 8.5 . Error: Service terminated with service specific error incorrect function

i have installed apache tomcat 8.5 one month ago with java 1.8 on Windows Server 2008 and it works ok.
now the service is stopped and i'm not able to restart it from apache configuration or Windows Services . It is always stopped.
i got the following error: "service terminated with service specific error incorrect function".
ther error in Windows Event viewer does not saying nothing more:
even its details tab:
What can i do?
I was trying to install Apache Tomcat/8.5.31 as Windows service and i was also facing the same error.
For me what finally worked was following these steps. Go to Tomcat installation directory's bin folder. You will see two EXEs (tomcat8.exe and tomcat8w.exe). tomcat8w.exe is a GUI application for monitoring and configuring Tomcat services. Double-click it and then go to Java tab
1) Enable the check box for Use default
2) In Java Classpath: section, specify the path to bootstrap.jar and tomcat-juli.jar. These should be present in your tomcat installation's bin directory itself:
<path_to_tomcat_installation>\bin\bootstrap.jar;<path_to_tomcat_installation>\bin\tomcat-juli.jar
To get more help, you may check the log at the following location provided you installed your Tomcat as Windows service using default LogPath option as described in the documentation: %SystemRoot%\System32\LogFiles\Apache
UPDATE: In another recent installation, i noticed that despite having configuration settings exactly similar to another working setup, i was still getting Incorrect function error under System log in Event Viewer. This time, i had to uncheck the Use default option and had to explicitly provide path to jvm.dll as shown below:
Java Classpath setting was still required as explained above.
Currently I have a Windows Server 2012 R2 Datacenter running Tomcat 9 & had the same problem. This happened after I ran Windows updates & restarted the Server.
Error messages below. (The blanked out text is my private data.)
Error showed when attempting to start the service.
Error in System Event Log
The following steps fixed the issue...
Navigate to your tomcat9w.exe Location: \Tomcat9\bin\
Right click your tomcat9w.exe and select Run as administrator.
Select the Java tab. Select Use default, Apply, & OK
Start your service.
Note: I unchecked the "Use default" box after I was able to get the service running correctly. Because I wanted to retain my existing configuration. Going forward the service has continued to work correctly.
Hope this helps!
I was also facing some issue with Tomcat 9 and Java 13 (tried all previously mentioned solutions but nothing worked). When I downgraded it to Java 11 and Pointed the jvm.dll from JDK 11 my issue got fixed (or Use Default if JAVA_HOME is set to Java 11).
In my case the only way I could get it to work, was to go to the "Startup" tab and change "Mode" from "JVM" to "Java". After that, it started fine and was able to confirm that by visiting the localhost.
(Definitely not an expert)
I fixed this issue by (re)installing Java. I was using the Java SDK downloaded by IntelliJ. Although I was able to direct Tomcat to that download during installation, it returned this "error service terminated" message at runtime. Instead I installed Java SDK directly from Oracle, Tomcat found the installation immediately during installation (I didn't need to point it), and this error disappeared.
It's possible the Java installation by IntelliJ was incomplete somehow and is the underlying cause of the problem, but I am definitely not an expert.
I fixed the issue by reinstalling Tomcat:
Search the Command Prompt icon
Right-click on it
Select Run as administrator
Change the folder to the bin folder of Tomcat
Execute appserver uninstall
Execute appserver install
It solved my problem.
I followed the below steps to fix the the above issue. it may help if someone still face the same.
Step 1. opened the installation directory : tomcat9w.exe Location: \Tomcat9\bin\
Step 2. Browsed the Jvm.dll path under "Java Tab" in Tomcat where it has installed
Step 3. Run the service but still faced same.
Step 4. then, Opened ""C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\bin>startup.bat --> entered.
Finally it got fixed .

Mobile First 7.1 Application center install error

I am trying to install Mobile First 7.1 platform and the application server is websphere liberty 8.5.5.9. during install it throws below error in failed-install.log. (Database is DB2)
F:\Program Files\IBM\MobileFirst_Platform_Server\WorklightServer\post-install.xml:332: The following error occurred while executing this line:
F:\Program Files\IBM\MobileFirst_Platform_Server\WorklightServer\post-install.xml:2172: An error occured while reading file F:\Program Files\ibm\WebSphere\Liberty\usr\servers\server1\server.xml. Error: null.
the line numbers shows error for Application center installation..
what could be the issue?
i installed the application center manually now as mentioned in the IBM articles and that works.

MobileFirst 7.0 Console text encoding issue after installing latest iFix

After installing the latest patches of MobileFirst CLI (7.0.0.0-MFPF-CLI-IF201505211954.zip), the text displayed in MFP console is showing special characters .
Someone know how to correct this?
Thanks
It seems an error has occurred... Apologies for that.
Did you receive this iFix via an IBM support ticket? If yes, please request a newer build. Request for: 7.0.0.0-IF201505310841 - this should not contain this error that you're experiencing(!).