IBM Worklight - Getting an error on project creation - eclipse

I have installed Eclipse IDE for Java EE developers and installed the IBM Worklight Plugin successfully.
The icon for Worklight is being shown up in my Toolbar. Now when I click on Worklight Project and then Further on Hybrid Mobile App option, it doesn't work at all. It just stops and if I click any other option, it displays this message:
An error has occurred. See error log for more details.
com/worklight/studio/mobilemarketplace/plugin/handlers/TemplateHandler
What should I do?

Make sure you use either Eclipse Jave EE 64bit 4.2.2 ("Juno" SR2) or 4.3.1 ("Kepler" SR1). These are the Eclipse versions supported by Worklight.
Steps:
After extracting Eclipse, use it with a new workspace
Then install the Worklight Studio plug-in from Eclipse > Help > Eclipse Markpetplace
Once installed, click the Worklight icon from the toolbar
Provide a project name
Choose "Hybrid Application" > click Next
Provide an application name > click Finish
The above process successfully created a new Worklight project and application for me.

Related

Profile id _SELF_ is not registered error while installing new plugin in eclipse mars

I am trying to install plugin from Eclipse Marketplace, but while installing Spring core ide plugin I am getting Profile Id not registered error.
I am using Eclipse Mars. I am using Windows 7 ultimate version.
When you self-host "launch as Eclipse application" are you sure that you have the p2 bundles selected? This includes the p2 bundles, the needed ecf bundles, DS and the *equinox.util. DS must also be started.
In Eclipse 3.6 there is a checky (on the configuration tab in the launch configuration) that says "Support software installation in the launched application". Can you make sure this is checked?
Refer this link

Eclipse: missing eclipse application launch configuration

I want to choose an Eclipse Application Launch configuration in the Run/Debug Configuration of eclipse, for running an eclipse plugin, but it doesnt exists.
How can I add the Eclipse Application Launch configurations in the run/debug configurations. I'm using Eclipse Luna IDE for Java Developers.
You are missing the Eclipse Project SDK, which is needed to create Eclipse Applications. Without it, you will notice for example these problems:
The Run/Debug configuration is missing a category "Eclipse Applications" (as you mentioned)
The Windows / Preferences dialog is missing a category "Plug-in Development"
Importing launch configurations for "Eclipse Applications" will have no effect.
You install the Eclipse Project SDK like this:
Help / Install New Software...
Choose the installation repository. In case of Eclipse Oxygen, it is "Oxygen - http://download.eclipse.org/releases/oxygen"
Filter for Eclipse Project SDK
Check it & press "Finish"

IBM Worklight 6.1 - Where is Package Server Utility

In WL 6.0 (plugin for eclipse juno) and earlier there was a server utility called 'Package Server' that was in the context menu for a server in the Servers view. This 'Utilities' selection has disappeared in the Worklight 6.1 version. Is there another way to Package a WL server when using the eclipse plugin? I understand there is a cmd-line "server" call you can make. But, I don't see this command when using the Eclipse plugin. Thanks.
All, thanks for the responses. I found a cmd-line workaround for this, for now.
cd to EclipseJuno\plugins\com.worklight.studio.plugin.<61 build>\liberty\wlp\bin
set WLP_USER_DIR= "Eclipse Workspace\WorklightServerConfig"
Then, run: "server package worklight --include=all --archive=
Key:
EclipseJuno: Directory where Eclipse Juno is installed
Eclipse Workspace: Eclipse workspace that contains a default worklight server instance
Right click on the project
Run As --> Build Settings and Deploy Target
There should be a option called "build the application to work with a different Worklight Server"

Installed Eclipse GWT plugin, but no Web Application project

I have Eclipse IDE for Java EE Developers (3.7) installed on Windows XP and I installed Google plugin and GWT SDK , but even though plugin shows up as installed, I still do not get an option File > New > Web Application Project as it should be. And no icon with 'g' in blue circle on toolbar. What am I missing?
Thanks
Here is what I see on 'Plug-ins' tab in my Eclipse Installation Details screen:
Google App Engine Java SDK 1.7.6
Google Eclipse 3.7 Platform Plugin 3.2.2.v201303261859-r3l-r37
Google Eclipse Platform Plugin 3.2.2.v201303261859-r3l-r37
Google Eclipse Shared Platform Plugin 3.2.2.v201303261859-r3l-r37
Google Web Toolkit SDK 2.5.1
Go to Eclipse Market Place --> Search For GWT Plugin --> Download Google Plugin for Eclipse 3.7
It will take some time to download and install all the packages and plugins. But once it will be done, you will be able to see the google icon at the toolbar.
Also go through the following link.
https://developers.google.com/web-toolkit/usingeclipse
I had the same problen when following the GWT Tutorial and I fix the issue.
You can go:
Eclipse --> Help -->Install New Software --> Work with
Then paste, any of these urls but change indigo or helios for your eclipse IDE distribution
Indigo Update Site - http://download.eclipse.org/releases/indigo/
http://download.eclipse.org/webtools/repository/helios
Wait a moment and Eclipse will show you all options.
Check the option:
Web, XML, Java EE and OSGi Enterprise Development
Then click the Next, Apply and Finish and restart your IDE to see the changes.
Is all.
You are probably missing Java 7 JDK.
Download and install the JDK from the above link, then follow these instructions to let Eclipse know where to find it.
After I installed Java 7, the GWT plugin buttons and menus finally appeared next time I started Eclipse.

Glassfish 3.1.2 and Eclipse Indigo Plugin

My freshly installed Eclipse Indigo SR2 with the new Glassfish 3.1.2 Plugin creates on every start a new "Internal GlassFish 3.1.2" Server.
How can I prevent this behavior? Does somebody already use this configuration?
This bug has been recently fixed - here is the guide how to install the new fixed runtime plugin: https://blogs.oracle.com/piotrik/entry/bug_fix_for_eclipse_runtime
I've faced the same issue and my workaround is uninstall the "Glassfish 3.1.2 Application Server Runtime" from the Eclipse. Please make a full backup for our Eclipse first.
It can be done by the following step: -
Go to "Help" menu ---> "About Eclipse".
Click "Installation Details" button.
The system will display the "Eclipse Installation Details" windows.
Go to "Installed Software" tab.
Find the "Glassfish 3.1.2 Application Server Runtime" in the list and click it. Please note it is sorted alphabetically.
Click "Uninstall..." button
The "Uninstall" windows will display, please review and click the "Finish" button for uninstalling.
Edit: We need to start the Eclipse with "clean" option after it is uninstalled.
I download the Glassfish 3.1.2 Open Source Edition form here and install to my machine. Then register the new installed Glassfish 3.1.2 to the Eclipse.
Regarding to my opinion, I thought that it would be nice if I use the Glassfish out side the Eclipse plugin / workspace folder.