How to set publishing path of a WSO2 server in Eclipse - eclipse

After installing a WSO2 server in Eclipse I can open an overview of the server where I can see and set the publishing interval, timeouts, launch configuration etc.
For a TOMCAT I can also specify the deployment path and much more. For a WSO2/Carbon server I can only see General Information (like launch configuration), Ports, Publishing (intervals), Timeouts and Other.
Is there a way to see more like I can see for a TOMCAT?

This is not supported right now as eclipse overview is the only way to view/specify the above for WSO2 components.

Related

Packaged Server option not available in Eclipse with Bluemix and Liberty plugin

I'm trying to customize the Liberty setup, following the instructions from this post:
"Custom Liberty server.xml configurations in IBM Bluemix", see:
https://www.ibm.com/blogs/bluemix/2015/01/modify-liberty-server-xml-configurations-ibm-bluemix/
In order to modify the Liberty server features, I'd like to replace the automatic generation of the configuration file by a customized server configuration, which according to the instructions is called "Liberty packaging server".
In the Eclipse Neon IDE, I've already installed two plugin's, the Bluemix Tool as well as the Liberty Development Plugin. At the server tab, I'm right clicking the active Blumix server, but no option for "packaging server" is displayed at the menu. The default "push" option is working fine.
At the Eclipse IDE, is there a software component missing to create and publish a customized server package (beta + features) for Liberty? How can I run a customized packing without command line tools, using Eclipse?
There are two main ways to publish a packaged server in Bluemix:
You have (or create) a Liberty server instance that represents the server. For details on how to create a Liberty server, see http://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/t_creating_server.html. Once you have the Liberty server created in Eclipse, you can just add the Liberty server to the Bluemix server on the Servers view and it will package the server for you during the publish operation.
You already have an existing packaged server zip file in the workspace that you want to publish. Then, you can just right click on the zip file and do a Run As > Run on Server.
For details, you can refer to https://console.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html#packagedserversupport
The first method is usually preferred since you can continue to update the applications and also the server configuration file and do incremental update on the application by the publish operation.
In Eclipse, if you want to publish whole server to the Bluemix follow these steps:
stop your local Liberty server
in Eclipse in Servers view, grab the local Liberty server and drag it to the Bluemix one. It will publish whole server with its config.
Check this page for more details - Deploying apps with IBM Eclipse Tools for Bluemix
Instead of right clicking on the Bluemix server, you need to right click on your Liberty server definition.

How to configure application level settings in Websphere developer tool in Eclipse?

I install WebSphere Developer tools for Eclipse and refer to my local WebSphere 7 installation. Then deploy a Spring application within an EAR project. However, when I deploy the EAR project into WebSphere server instance in Eclipse, I find no options/UI to assign external library or assign role/user mapping etc, just like what I can do in WebSphere console.
When log on WebSphere console I do see the project setting but cannot save the change.
So is there anyway to configure on the UI or I have to make every change in an WebSphere XML configuration file?
In Eclipse, I find no options/UI to assign external library or assign role/user mapping etc
Yes, you have to do it via console.
When log on WebSphere console I do see the project setting but cannot save the change.
Thats the common problem. Open the Server configuration and uncheck Minimize application files copied to the server. Restart server, undeploy and redeploy application. You should be able to save mappings.
If this doesn't help (helps in most cases but not for some settings and I don't remember for which), then in the Publishing options, switch to Run server with resources on Server, this will work for sure, but deployment will be a bit longer. Of course restart and redeploy app.
You will see the missing OK buttons in the admin console then.

Setting up JBoss v5.0 in Eclipse

I'm trying to do a few JMS tutorials. Many of them seem to use the server I've mentioned in the title. It's found in the JBoss folder in the "Define a New Server" window. For example, the tutorial here:
http://aalaapa.com/img/eclipsejbossserver5.JPG
Problem is, in the "Define a New Server" window, the only folders I have to choose from are Apache, Basic, JBoss Community and JBoss Enterprise Middleware. Is there some addition plugin I need?
Oh, I'm using Eclipse.
Thanks
If you click on "Download additional server adapters", you should have a dialog where you can install an appropriate server connector (in your case it would be the "JbossAS Tools").
However i would strongly recommend to use JBoss 7, since that version is a full certified EE6 compliant application server
Edit: If you have the menu point "JBoss Community" then is is very likely that the JBoss Tools are already installed. So just take one of that connectors (3.2 to 7.1 should be included) and you should be fine.

Integrating JBOSS and Eclipse

I have JBOSS server. I used to make web applications using just notepad++. I used to create the necessary folders like web-inf and files like web.xml. For larger projects doing all this and manually compiling has become cumbersome. I want to use eclipse for that. I saw this tutorial - http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html . But I don't understand how to make a server. I already have a server. What I want to do is write JSPs and Servlets in eclipse and the build should automatically be deployed in jboss server.
How to to this?
Install JBoss Tools
After that follow the instructions from here to get started and deploy apps to JBoss Server.
To automatically deploy apps after the build you could use a build tool such as ANT or Maven.
I wrote a tutorial for this some time ago: Setting up web development environments with Eclipse
It shows how to setup JBoss within Eclipse (in addition, it also shows how to setup Tomcat and Weblogic), and also shows how to build a simple sample Servlet to verify the proper installation.
If you already use JBoss on the server side, then have a look at the client side as well: http://www.jboss.org/developer
(I haven't tried it myself, but...)
Just open eclipse then go to:
"Help-> Check For Updates" It will check for eclipse updates and installs new availables.
Now "Help -> Eclipse Market Place" Search for "Jboss tools" from search result select one(as your eclipse version) and install it. It will add adapter for new jboss versions.
Now add new server from server view select Jboss version then next add your Home directory of jboss. Then finish.
Step 1 is optional but it sometime it helps.

Websphere 6.1 editor window in Eclipse/MyEclipse

It was possible to double click the websphere server connector in server tab in eclipse/myeclipse to get the server editor window. But now when I do, I can not bring the editor window up. Is this feature removed or do I need to set the correct perspective. I am using MyEclipse Java perspective. Editor window allowed me to change ports and enable/disable security. Please help.
You may be thinking of the Web Tools Platform (WTP) from eclipse. MyEclipse integrates much of the functionality of WTP but has a different way of configuring and deploying to servers. The MyEclipse servers view tab is called "Servers", the WTP servers view tab is called "WTP Servers". Double clicking on a server in WTP Servers will bring up an editor window of the type you describe. In the MyEclipse Servers view, you can bring up the configuration dialog by right clicking on the server and selecting "Configure Server Connector".
In base MyEclipse, you don't have the option of setting ports and security from the server connector, for WebSphere. However, if you switch to the Blue Edition of MyEclipse (more money, though), you do get more extensive configuration capability for WebSphere. I'm not sure what options you have in base MyEclipse; if you can find VM arguments (setting system properties) that provide what you want, you can set these on the JDK page of the configuration screens or, if there are program arguments that can be set, these can be added via a launch configuration, which you can create from the server connector configuration pages (and can modify them by going to the Run Configurations (which can also be reached by right clicking on the server in the Servers view).
Hope this helps. For better support, the MyEclipse forums (on their web site) are your best option.