0
votes

My setup:

  • MobileFirst Platform foundation 6.3.0.00-20141127-1357
  • WebSphere Application Server 8.5.5.0 (1.0.3.20130510-0831) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_75-b13 (en_US)
  • hosted on softlayer

Installed using the knowledge center guide for 6.3.
I have 1 issues now that I can't seem to understand:

Built the .war and tried to deploy it using the server config tool but I end up with "no runtime found" like in the various posts.

Things I have checked:

  • my java version that was fine
  • checked the entries in server.xml for duplicates of WL Admin services war, only one exists.
  • checked that server config tool actually deploys war file in servers/servername/apps and updates server.xml
  • tried setting run and deploy settings in eclipse to point to my server

What else can I check? Going a little nuts now. did this installation a few months back and I don't remember struggling this much.

logs: http://pastebin.com/Z6CwqCVV
server.xml: http://pastebin.com/MnpjQ2GY

Also, does anyone know of a good write up explaining the manual deployment method, tried the ibm docs but they seem to assume I know more than I do.

Would like to understand the core elements I need to update in the server xml and where to move the various wars, to manually configure mfp after install.

3
Line 50 of your log, you have a report of an FFDC incident FFDC1015I: An FFDC Incident has been created: "java.lang.NoClassDefFoundError: com/worklight/common/i18n/MessageCatalog com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated 1341" at ffdc_15.03.30_04.27.06.0.log. Can you have a look at the file ffdc_15.03.30_04.27.06.0.log in 'serverdir'/logs/ffdc ? It may include valuable information about the root cause of the problem.Didier Vidal
It seems I don't have those logs anymore, I'll go through the manual deployment pages, but I'd imagine the server config tool would be less error prone?Anthony K
Yes - that's the goal of the server config tool. Automate to avoid human errors.Didier Vidal

3 Answers

0
votes

Would like to understand the core elements I need to update in the server xml and where to move the various wars, to manually configure mfp after install.

The manual instructions are here:

1) For the Worklight Console (and administration service)

Then you have similar instructions for the runtime (Project WAR file built with the Worklight Studio or CLI)

For the database of a runtime (with mySQL) : https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.deploy.doc/admin/t_config_MySQL_DB_manually.html [Includes steps to declare the datasource to Liberty]

For the Liberty Server: (features / library / war file etc..) https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.deploy.doc/admin/c_manually_configuring_app_server.html

The Server Configuration Tool should do the same.

1
votes

NoClassDefFoundError and ClassNotFoundException exceptions are emitted when you start the Liberty server meaning generally that you worklight-jee-library.jar file is not present in the ${shared.resource.dir}/worklight/lib directory or is not the right one. Another possibility is also that your runtime is not migrated to 6.3 and is not in phase with the 6.3.0.00-20141127-1357 version.

Note also that Liberty 8.5.5.0 is not supported : http://www-969.ibm.com/software/reports/compatibility/clarity-reports/report/html/softwareReqsForProduct?deliverableId=1404132386734&osPlatforms=AIX|Linux|Mac%20OS|Mobile%20OS|Solaris|Windows&duComponentIds=S003&mandatoryCapIds=1|13|132|72&optionalCapIds=30|7|12|130|9|1|132|141|19|16|4|26

Minimum version for MFP 6.3 is Liberty Profile 8.5.5.3.

0
votes

The stack trace in your new log file http://pastebin.com/H3V9dkhf indicates that you are using a worklight-jee-library.jar from a MobileFirst Platform version 6.3 or earlier, in combination with a project WAR file that

  • either comes from MobileFirst Platform (Studio or MFP CLI) version 7.0,
  • or comes from an older MobileFirst Platform but was migrated to version 7.0 (possibly through use of the Server Configuration Tool / Ant tasks from MobileFirst Platform 7.0).

This combination is not supported, according to the table 2 in http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.upgrade.doc/devenv/c_compat.html.

You need to

  • either upgrade your server to 7.0,
  • or use the Server Configuration Tool / Ant tasks from a version that matches your server.