MobileFirst Server 6.3
DB2 10.x
Lunux 6.5
Installed MFP Configuration tool, and created a configuration instance. Next, I created and deployed a runtime configuration for my application. I see there are associated logs relating to these activities.
Next I undeloyed the runtime from the applications server, and then deleted the runtime from the GUI. I read and understand that the runtime definition although no longer is shown in the GUI, it's definition still exists in the DB.
Is there a way to delete the logs from the GUI and/or server that related to the deploy, and undeploy of the runtime? Thanks.
Yes, you can delete the log files. They are stored there only for your convenience.
These log files are in the Server Configuration Tool's data directory.
The location of this directory can be determined through File > Preferences > IBM Worklight Server Configuration Tool > Directory for configuration files. The default location is:
On Unix: $HOME/.worklight/server-configuration-tool/
On Windows: C:\Users\user-name\Documents\IBM Worklight Server Data\Server Configuration Tool\
Inside this directory:
For 6.0 and 6.1 configurations, the log file name is logs/config-name/operation_timestamp_outcome.log.
For 6.2 and 6.3 configurations, the log files for an operation form a directory Configuration_config-name/logfiles/operation_timestamp/.
Additionally, in version 6.2 or newer, there are log files in this directory:
On Unix: $HOME/.worklight/configuration-logs/
On Windows: C:\Users\user-name\Documents\IBM Worklight Server Data\Configuration Logs\
Related
After installing MobileFirst Platform , It give No run time is there.
My configuration was given below:
1. WebSphere Application Server 8.5
2. Oracle 11g Enterprise edition
3. Mobile-first platform 7.1
Please help me to create Run-time in Mobile first Console.
From where I will download sample war file (for ex: project.war) for creating run-time environment.
You have only mentioned "after installing IBM MobileFirst" and not exactly the steps followed. Configuring IBM MobileFirst Platform has two phases:
a) Installing the application binaries into the filesystem using Installation Manager.
b) Deploying MFP admin services and runtime in to an Application server using Server configuration tool or ANT scripts. The runtime war file needs to be created using IBM MFP Studio.
If you have not performed phase 2 or only installed admin services and not the runtime, go through the information in these links:
Using server configuration tool
Using ANT scripts to deploy
To get you started with various MFP 7.1 projects , you refer and use any of the sample applications available at MFP 7.1 Getting started tutorials.
Once you have any of these sample projects loaded or a new project created in MFP studio, you can build the server side artefacts (adapters, application wlapps and runtime war) within the MFP studio or using ANT scripts:
Refer this link for further details and steps- Deploy projects.
how to add runtime in ibm mobilefirst 7.1 in remote server ?
As of now I have remote server where already one runtime exist, I have deployed a .wlapp and .adapter file in console and I am testing this on a device and its working fine as mentioned in IBM MobileFirst Platform 7.1 - No runtime environment deployed in this server
Question is how can i add(deploy) another runtime ?
Assuming you have another MobileFirst project, you need to use the IBM Configuration Tool in order to deploy the second .war file. It's basically following the same steps you did for the first .war file, only deploying a different (.war) file...
You can also deploy manually: http://www.ibm.com/support/knowledgecenter/en/SSHS8R_7.1.0/com.ibm.worklight.deploy.doc/admin/c_manually_configuring_app_server.html
I recently installed Liberty Core server, created a new Profile, installed MobileFirst Platform Server and deployed a MobileFirst runtime environment with the Server Configuration Tool in MacBook.
Instead of installing in default directory(Application/ibm/*) I choose to install under custom directory (Users/username/LibertyCore).
I started the server manually installed adapters and *.wlapp from worklight console.
Instead of doing this manual deployment I want to do it from command line? My understanding is I have to use MFP command line utility.
I installed MFP CLI utility then parsed to the App Project folder to build and deploy to currently installed Liberty Core server I see issue with MFP PUSH it says server is not started though server is running.
So when I do MFP Info I found that CLI is pointing to completely different set up. How can I make CLI to point to currently installed Liberty Server.
Note that you can run "mfp help" to see all available CLI commands.
There is the command "mfp server". Using this command you can add additional server definitions: "mfp server add". Run the command and follow the on-screen instructions to add a server definition for your remote server...
Once you've added it, you can use "mfp push your-remote-server-name" to push the artifacts to the remote server.
What is the war file that i should define in the "worklight server configuration description?"
After installing all components from installation manager go to:
Windows Start Menu -> IBM Worklight Server 6.1 -> Server Configuration Tool
In the new window that pops up go to Create a new WL server configuration. Enter a name and the next screen of this wizard ask for a worklight project war.
Is it a projects war file or something in the server installation folder?
I believe this section in the Configuration tool refers to the .war file of the Worklight project you have created using Worklight Studio.
In your Worklight project look inside the bin folder.
There you will find a .war file.
You can review the following training module to getting a better overview:
Moving from development environment to stand-alone QA and production servers
Also read through this Information Center topic:
Deploying the project WAR file
I have downloaded the IBM Worklight Enterprise Server, trying to install Worklight server with Apache Tomcat and deploy my worklight application in my remote server.
It is mentioned in the readme file, that I need "IBM installation Manager" to install the "IBM Worklight Server".
I downloaded the IBM installation Manager and followed the steps in the readme file and installed the Worklight server in my local machine.
Installed Apache Tomcat in my remote machine and copied the worklight- jee-library.jar to the $TOMCAT_HOME/lib directory.
Is this the right way to install IBM Worklight server ?, or is there any other way to install "IBM Worklight Enterprise Server" in my remote machine from the command line ?
I am stuck at this place
Any help would be greatly appreciated.
Thanks
Suren
No, it is not the right way. Specifically, you should not copy anything into Tomcat. The installation does it for you.
The steps to follow are
Install the IBM Installation Manager version 1.5.2 and onward (available on the web). This is a one time step.
Download the Worklight server package from IBM
Point the IBM Installation Manager to the Worklight server package (File - Preferences in main screen).
Start the installation.
The installation will ask you for a path to Tomcat and will install everything that is needed inside Tomcat.
If your server does not have a GUI, the steps 3 and 4 are replaced by the so-called silent installation.
Quite often you won't have access to the server GUI but you can simply redirect the X display output to your desktop and launch IM. Ie. if you are running Linux export DISPLAY=xxx.xxx.xx:0.0
If you are running Windows just use Exceed.