This section lists to troubleshoot specific properties that you may encounter while installing Kony Fabric (MobileFabric) on WebSphere.
Release V8 SP4, V8SP3, V8SP2, V8SP1, V8, 7.3, 7.2, 7.1, 7.0, 7.0.1, 6.5, and 6.5.x
After applying any 7.0.1.x patches on WebSphere, if any of the deployed applications fails to get started, you need to update the required applications again.
To update applications, follow these steps:
Provide the path for the .ear file and click Next.
Select the module and click Next.
When Kony Fabric (MobileFabric) is installed on WebSphere Server, and an administrator wants to enable Kony Fabric to communicate to third party hosted on SSL (for example, Salesforce), the admin needs to import the relevant SSL certificates into WebSphere trust store.
To import cert, follow these steps:
<login.salesforce.com>
and <443>
.salesforce
While installing Kony Fabric (MobileFabric) on a WebSphere cluster setup, if an admin selects a Server under the Available Server Groups, the installation fails.
To install Kony Fabric on a WebSphere cluster setup, select a cluster or standalone server which is not part of any cluster from the available server groups displayed, shown below.
When a WebSphere Server is part of any cluster in WebSphere and if an admin selects only that server during installation of Kony Fabric installation rolls back.
This is limitation from WebSphere. It does not allow to deploy an application to one of the servers of cluster. It only allows an admin to deploy the application to entire cluster. So an admin has to select cluster instead of individual member in cluster during Kony Fabric installation.
When installing Kony Fabric with all components (console, identity and integration) on WebSphere, allocate minimum of 6 GB of heap size for successful installation.
To configure heap size, follow these steps:
Go to Servers > Clusters > WebSphere application server clusters.
<clusterName>
and click cluster members.Go to each member of cluster and update heap settings, shown below:
Important: From Kony MobileFabric 7.x release onwards, middleware.home is deprecated and not supported.
When a user installs only integration service on WebSphere and would like to use it as a standalone server (without integrating to MobileFabric) for studio apps, the user needs to configure middleware.home as a -D parameter for studio apps to work. These configuration also required when sync is deployed on same WebSphere instance.
Note: The middleware_home folder can be copied from installer home location.
<user install directory>/middleware_home>
folder and copy the middleware_home
folder. This step is required only if integration service is installed remotely.middleware_home
folder to your WebSphere instance. This step is required only if integration service is installed remotely.middleware.home=<path to middleware_home folder>
in WebSphere instance, shown below:Note: In case of multi node setup, copy the middleware_home
folder to all appropriate nodes at same location.
When installing Sync on WebSphere, if sync is being installed on same WebSphere node as middleware server, app publish fails.
Configure middleware.home
as specified in Configuring middleware.hom as a -D parameter on WebSphere.
Note: From 7.3 release, the MobileFabric Installer configures Metrics during the installation.
In case of upgrade from versions prior to 7.3, follow these manual steps to configure Metrics.
MobileFabric installer deploys the Metrics.ear
to WebSphere but will not add any JMS configuration in server. To enable metrics, add the required configurations manually.
To enable metrics.ear configuration after installation via installer, follow these steps:
<install directory>/deployments
folder and check that metrics.ear
file is present.Follow the steps mentioned in sections Configure JMS and Deploy metrics.ear of 6.X in the following link to Manual Installation Guide - WebSphere.
For more information on this, refer to Configure Metrics on WebSphere.
To disable metrics.ear configuration after installation via installer, follow these steps:
false
in middleware.properties in the admin.ear
, services.ear
and middleware_home
folder in all the WebSphere nodes.For example, path for the middleware properties file is as follows:
<WAS_INSTALL_ROOT>/AppServer/profiles/AppSrv01/installedApps/WIN-MDP5BJ0RCA3Node01Cell/admin.ear/admin.war/WEB-INF/middleware/middleware-bootconfig/middleware.properti
es<WAS_INSTALL_ROOT >/AppServer/profiles/AppSrv01/installedApps/WIN-MDP5BJ0RCA3Node01Cell/services.ear/services.war/WEB-INF/middleware/middleware-bootconfig/middeware.properties
<WAS_INSTALL_ROOT>/AppServer/profiles/AppSrv01/installedApps/WIN-MDP5BJ0RCA3Node01Cell/middleware.ear/middleware.war/WEB-INF/middleware/middleware-bootconfig/middleware.properties
<USER_INSTALL_DIR>/middleware_home/middleware/middleware-bootconfig/middleware.properties
How to Configure WebSphere Shared Lib Mapping, refer to the Deploying SyncConsole War File and the Deploying Syncservice WAR File sections in the following link to Kony Fabric Sync Installation on Windows - (Manual Installation)- WebSphere Guide.
For more information on this, refer to Deploying Kony MobileFabric Sync Server.
To use a signed SSL certificate from a trusted certificate authority, follow these steps:
_.konylabs.net.2016.jks
${CONFIG_ROOT}/cells/.../nodes/.../_.konylabs.net.2016.jks
><changeit>
<jks>
Note: You can use the same Key Store details that you used for NodeDefaultKeyStore to configure your NodeDefaultTrustStore, if the Key Store has the Personal Certificate and the Signer Certificate.
konylabs.crt
.konylabs.crt
file created at: Websphere/AppServer/profiles/AppSrv…/etc
Import the konylabs.crt
into the local JRE’s trust store - cacerts using keytool.
Command (run as administrator):
>keytool -import -trustcacerts –alias *.konylabs.net -file konylabs.crt -keystore cacerts
_.konylabs.net.2016.jks
as both your Key Store and Trust Store file, provide corresponding password.To user a self-signed SSL certificate, follow these steps:
WebSphere self-signed SSL certificate needs to be imported into the IBM java keystore for https hosted Kony Fabric to work properly.
Path to keystore: <WAS_INSTALL_ROOT >/AppServer/java/jre/lib/security/cacerts
keytool -import -trustcacerts -alias "win-mdp5bj0rca3" -file C:/WIN-MDP5BJ0RCA3.crt -keystore <WAS_INSTALL_ROOT >/AppServer/java/jre/lib/security/cacerts
While installing Kony Fabric on WebSphere Cluster setup on CentOS, if the system throws the following error, increase the ulimit value on WebSphere instance
java.security.PrivilegedActionException: java.io.IOException: Too many open files .... Caused by: java.io.IOException: Too many open files....
To increase ulimit size in WebSphere, follow these steps:
/opt/IBM/WebSphere/wp_profile/bin/setupCmdLine.sh
(in case you are running Portal as root). Note: The limit can be appropriate for your environment.
When user clicks test connection for data source in WebSphere Console, the following error occurs:
The test connection operation failed for data source XXX on server dmgr at node bpmtestCellManager01 with the following exception: com.ibm.wsspi.runtime.variable.UndefinedVariableException: Undefined variable WAS_INSTALL_ROOT. View JVM logs for further details.
To configure WAS_INSTALL_ROOT in WebSphere, follow these steps:
The test connection operation for data source sampledatasource on server dmgr at node testCellManager01 was successful.
When Kony Fabric hosted on WebSphere is kept idle for 10 hours or more, and if you try to hit the Kony Fabric Console URL (for example, http://<IP address>/mfconsole
), the system throws an error page for the first hit. To avoid this behavior, add these following steps at the end of installation steps:
In case uninstalling Kony Fabric fails, some the artifacts need to be deleted manually.
Issue:
If you get the error "message": "sun/security/ec/NamedCurve"
while trying to log in to Salesforce, Google or Facebook, follow these below resolution to fix the issue.
Resolution: Set the following properties in websphere jre/lib/security/java.security
file.
#Default JSSE socket factories ssl.SocketFactory.provider=com.ibm.jsse2.SSLSocketFactoryImpl ssl.ServerSocketFactory.provider=com.ibm.jsse2.SSLServerSocketFactoryImpl
#WebSphere socket factories (in cryptosf.jar) #ssl.SocketFactory.provider=com.ibm.websphere.ssl.protocol.SSLSocketFactory #ssl.ServerSocketFactory.provider=com.ibm.websphere.ssl.protocol.SSLServerSocketFactory
If your Kony Fabric instance on WebSphere that is updated with IBM Java 7 SDK fix pack 7.0.9.60, the identity fails to log-in to Salesforce. Because the TLSv1.0 protocol is disabled on Kony Fabric and on the other external sites that Kony Fabric wants to connect - for example, Salesforce. To avoid log-in issues with external back-ends, add the -D parameters into JVM Arguments.
HTTPS Connections to Kony Fabric components and other backend services. For example, Salesforce fails if TLS v1.2 is not used. Please follow the below steps to enforce TLS 1.2 as the security protocol.
To add -D parameters in the JVM arguments, follow these steps:
-Dhttps.protocols=TLSv1.2 -Dcom.ibm.jsse2.overrideDefaultTLS=true
Under General Properties > Protocol, select the TLSv1.2 protocol.
If your Kony Fabric is installed on WebSphere with IBM Java 8, add the following parameter to JVM arguments:
-Dcom.ibm.jsse2.overrideDefaultTLS=true
For more details, refer to Salesforce disabling TLS 1.0.
An app Unpublish fails with IHS and WebSphere Application Server, the unpublish error message is "400 Bad Request". Because the DELETE is not allowed from IHS to WebSphere Application Server by default.
To enable the DELETE on IHS and WebSphere Application Server, follow these steps:
In IBM WebSphere Console, navigate to Servers > Server Types > Web server > "web_server_name" > Plug-In properties > Request and response.
Select the Accept content for all requests check box.
Click OK and SAVE.
For more details, refer to IBM Support.
Location: {WebSphere Installation}/IBM/WebSphere/AppServer/profiles/AppSrv01/wstemp
Location: {WebSphere Installation}/IBM/WebSphere/AppServer/profiles/AppSrv01/bin
If you encounter the following error in the logs while trying to launch the Kony Fabric Console installed on WebSphere:
000000e8 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[mbaasportal]: org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract token and secret from this: 'Error 401: No credentials found for the consumer key [UhG8h6K8DQpOp41i1QWDsShwXdoFtGmnX2ve9fnM] No app found
This could be the case where port in the Identity URL is not matching the registered URL of Identity. Check in the authService.log to see if the printed URL matches the registered URL. In that case, it can be fixed by performing the following steps:
trusthostheaderport
Value: true
com.ibm.ws.webcontainer.extractHostHeaderPort
Value: true
Copyright © 2015 Kony, Inc. All rights reserved. |