Add Server in Eclipse via Command line? (Windows) - eclipse

I would like to set up the laptops of our java developers in a more automated way.
I installed eclipse and all necessary plugins and checked out the repository via Puppet+Chocolatey. An IBM Websphere Liberty Profile for testing the application is running in a virtual machine on the laptops as well.
Is there any way to add a new server in Eclipse via the command line? Or connect to an existing one? Using for example eclipsec.exe?
I already fought my way through the documentation but without success. (http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html)
Have anyone of you experience with this kind of problem?
Cheers,
Stephan

Related

Jprofiler and WebSphere 8 Integration Issue

I'm having some issues getting JProfiler connected to a remote WebSphere 8.5.5 instance that is running on Linux. When I start JProfiler on my Windows 10 machine I select the "Profile an application server, locally or remotely" and select the option to integrate with IBM WebSphere 8.x Application Server.
The part I'm having an issue with is the "Specify the remote address" section of setting up the profile. The setup says I need the profiling agent running on target JVM. I download the tar file from the JProfiler website and extract it on Linux machine and run jpenable as it says I should but I get this message.
"No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 1.6 and at most 11. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM."
I have made edits to the arguments file that came with the JProfiler in order to remedy this issue but I just can't seem to get JProfiler to see the IBM Java that WebSphere is using on this machine. I have tried using the INSTALL_JAVA_HOME_OVERRIDE variable in the arguments file by putting the full path to the WebSphere Java install. I have tried using the INSTALL4J_JAVA_PREFIX variable and I have created a INSTALL4J_JAVA_HOME variable in the arguments file and put the full path to the WebSphere Java.
Any help would be appreciated greatly appreciated in getting me around this issue. I have verified that WebSphere is using Java version 1.8.0_171.
but I just can't seem to get JProfiler to see the IBM Java that WebSphere is using on this machine.
That's because IBM JVMs are not supported for attach mode.
The setup says I need the profiling agent running on target JVM.
Generally, this is achieved by adding an -agentpath VM parameter to the profiled VM. The remote address that you are asked for in the wizard will be added as an option to that parameter. The wizard will then modify the server config file and add the complete VM parameter, so you don't have to it manually.
More information is available at
https://www.ej-technologies.com/resources/jprofiler/help/doc/main/profiling.html

Yahoo hadoop tutorial

I am trying to follow the Yahoo hadoop tutorial:
http://developer.yahoo.com/hadoop/tutorial/module3.html#vm
Everything is fine until I try to connect my Eclipse IDE to the hadoop server process according to the "Getting Started With Eclipse" section. The short story is that my "map reduce location", my DFS Location keeps coming back with "Error:null". My VM is running and I can ping it from my PC. Hadoop server is running as I have run the Pi example.
My PC runs WindowsXP and there is no "hadoop.job.ugi" in the Advanced list for the hadoop location....What does "/hadoop/mapred/system" refer too. There is no such directory in the hadoop installation that you install from the tutorial. It seems like a pretty important directory from the name of the field. I have gone into the advanced settings and switched any reference to my WinXP login (Ben) over to "hadoop-user". It is easy to find in the VM the folder locations that it is looking for like "/tmp/hadoop-hadoop-user/mapred/temp".
Am I right in thinking I can run eclipse on the WinXP environment and connect to the VMWare process via its IP address? Isn't that the point of the article? It does not work.
You read it right. The eclipse plugin for hadoop has lot of caveats and there are couple of things that are not well documented. See the second answer by Icn over Installing Hadoop's Eclipse Plugin. Hopefully that would solve the problem.
"/hadoop/mapred/system" refers to the directories inside HDFS, so you don't see it from terminal using ls
I did see the "hadoop.job.ugi" in Advanced list, and succeed to connected to the VM following the instructions there.
are you using the recommended version of eclipse (3.3.1) ?

Installing SCM Manager (Mercurial admin web frontend) in windows

I successfully installed mercurial on Windows7 (IIS 7.5) and I got the default UI (default Mercurial admin web frontend). But there is no way to add repositories, users or setting permission through this UI. After some research I came to know about SCM Manager. But I am unable to install it. Can anyone please tell how to install SCM Manager on windows? If you can give the steps it will be very helpful.
Is there a reason why you use the IIS? You can alternatively use the stand alone version of the SCM-Manager that comes with a embedded Jetty server. Just unpack and run scm-server.bat.
https://bitbucket.org/sdorra/scm-manager/wiki/download
Finally I installed SCM Manager successfully on Windows 7. I followed this tutorial http://www.helicontech.com/articles/hosting-git-svn-and-hg-mercurial-repositories-on-windows-with-iis/

Remote C development on a UNIX machine from a Windows machine using eclipse

I have terminal access to an AIX machine using ssh/telnet (No root access). I need to develop programs using C and compile it using the xlc compiler. Currently I can open remote files in eclipse(Juno) using RSE and edit files, but code-completion and error checking won't work. Can anyone please, help me to setup eclipse, so that code-completion would work and also, I would be able to compile the code from my Windows machine. Any help would be deeply appreciated.
You could try this, http://wiki.eclipse.org/PTP/rdt-setup or.. check out...
How to build a c++ project on a remote computer in Eclipse?
Somewhat similar. If you look at the 3rd answer.
Also you could try X11 Forwarding -
http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter3.html#using-x-forwarding
Instead of trying to setup Eclipse and CDT to do remote development, you may want to consider purchasing IBM Rational Developer for Power Systems Software (RDP), which is an Eclipse-based remote development environment that allows for C and C++ (and COBOL) application development on AIX from a Windows or Linux system. More information can be found here.

Regarding eclipse galileo

I'm using eclipse galileo for developing some web application. But I want to get the eclipse installed on the server(assume some other pc or server machine) and I want to access it as a client and work as I was working before. Please suggest me what type of server I should configure and which Operating System supports it.
A little bit weird to put the IDE on the server but you can use whatever OS you want, put the Eclipse there and connect to it using VNC or Remote Desktop.