Search code examples
ibm-mobilefirstmobilefirst-cli

mobile first platform cli: mfp build... does not create a war file


My setup

MobileFrist 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 this knowledge center guide for 6.3

after starting the server I can visit my appcenterconsole fine.

I have 2 issues now that I can't seem to understand:

Firstly, tried to build the Myproject.war file using MFP cli to deploy the server configuration tool. However Mfp build produced all the .wlapps but no war file. Can I build a .war file using mfp build?

Secondly, built the .war file using eclipse on my local machine tried to deploy it using the server config tool and I end up with no runtime found like in the post

So I checked my java version that was fine, checked app center version seems fine, and checked the entries in server.xml for duplicates of WL Admin services war, only one exists.

server.xml http://pastebin.com/gXqfVknb logs too long and paste bin counts as en extra link limited to 2 will post link to logs as comment


Solution

  • Use mfp bd (build & deploy) instead of just build.

    It will start a test server to generate the WAR file.