How to add http server to eclipse server runtime environments? - eclipse

I am trying to deploy my code to the apache http server. when I try to add a new http server in Eclipse(Luna) from Eclipse->Preference->Server->Runtime Environment->Add->Under folder “Basic” I don't see “HTTP Server” listed.
I am using OS X and I have apache installed on my machine.
How can I add the Http Server option to the list.
Thanks.

Eclipse luna supprts the version 7.0.47 or 7.0.43
So try this

I found what the problem was. I didn't have WTP installed on my Eclipse.
this helped me.
after I installed WTP I can see http server listed in the runtime server list.

Related

How do I deploy to Websphere developer server 8.5 via Eclipse Mars?

How does one deploy a web app from Eclipse Mars to a local install of IBM Websphere Application Server Developer 8.5 ?
I installed the app server from IBM's Installation Manager, upon completion it says its location is:
C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01
I tested the app itself using the "First Steps" window which popped up after install, and it looks like it is running fine.
Now, I want to test creating a simple hello world web application in Eclipse Mars, and be able to deploy it to this installed Websphere instance and be able to debug (stop at breakpoints). However, I can't seem to figure this part out.
When I go to my Servers tab in Eclipse and attempt to add a Websphere server, I didn't have any options. So I started downloading some IBM Websphere Developer Tools that I could find. I managed to now have these options for adding server:
"WebSphere Application Server Liberty"
"WebSphere Application Server traditional V8.5"
I tried using both, but they don't seem to be compatible with my installed version of WebSphere, because I keep getting the error of "The WebSphere Application Server traditional installation directory is not correct." when I try to plug in the Installation directory.
I suspect I should have a separate option for
"WebSphere Application Server developer V8.5"
or such, however no matter what I search for online, in the Eclipse marketplace, in the Eclipse sites, I can't find anything to install that gives me that option.
You have to use "WebSphere Application Server traditional V8.5" and point it to the installation root not the profile root - so to C:\Program Files (x86)\IBM\WebSphere\AppServer in your case.
For the future, it is not recommended to install WebSphere in the Program Files (x86) folder, I'd suggest something simpler like c:\IBM.
I used the below link Eclipse Mars WAS Plugin . Not sure it still works. For Oxygen working version use Eclipse Oxygen WAS Plugin

Tomcat server not being recognized

I'm currently using Eclipse Mars on OS X to build a PHP based application which requires a web server for a form submission. However, upon attempting to add Tomcat 7.0 as a server, the server list is empty (shown below).
I've been following several tutorials for setting up and configuring a Tomcat server and each one says to place the extracted Tomcat folder in the Eclipse workspace directory so they'll be detected when adding them in Eclipse. The Apache Tomcat folder is in the workspace directory but it still isn't being detected. I've tried reinstalling Eclipse and deleting any duplicate files but I keep getting the same result. How can I properly set up and configure an Apache Tomcat server in Eclipse Mars?
You can tell it about the Tomcat installation using the Server Runtime Environments preference page.
If Tomcat isn't already a known server type, you might need to install a few more. The WTP FAQ has instructions.
All of those tutorials are wrong. You do want to download a copy of Tomcat from Apache so it has the expected layout when Eclipse looks for the jars needed to launch it, but there's no reason to actually put it in the workspace.
I am also using Eclipse neon and I faced the same problem and the answer was available in a question Apache Tomcat Not Showing in Eclipse Server Runtime Environments in the same site already posted
Of the Available Answers the below steps Worked for me:
1.Help-->Eclipse Marketplace
2.Type Tomcat in search box and choose the Option JST Server Adapters(Apache Tomcat,...) and click on Install
3.Then complete the Simple installation steps and after installation Eclipse prompts for a restart accept and then you can see the Target Run time updated with Tomcat server
Note:I am using Windows

How to solve SplitsrcTargetPreparation exception in Oracle weblogic server?

I am trying to run a simple Restful web service example on oracle weblogic server . but i am getting this issue while run the project on server. Publishing to Oracle Weblogic server at localhost has encountered a problem.Runtime exception occurred in publish task 'SplitsrcTargetPreparation'.
Have a look on screen sort.What i have to do ?
None of the other answers solved my problem, but I finally found a solution. I'm not claiming that this is the best or only way of resolving this issue, but it worked for me. Hope it helps others.
Open the Properties of your WebLogic server instance in Eclipse. Select Publishing. Set the publishing mode to "Publish as an exploded archive". You will no longer get a split source error.
Check the following.
Maven version – If you have imported as a maven project then make
sure that maven version is compatible to the java version you are
using.
Makes sure that you are using the java from the Middleware
which is comes bundled with weblogic.
New domain – Corrupt domain
may also cause this. Create a new domain

Configure Apache tomcat in xampp with eclipse

I am new to jsp. When executing java servlets normally we use Apache tomcat.Anyway I already have installed tomcat which comes with Xampp.I tried to configure existing tomcat server with eclipse,but failed getting an error from eclipse saying problems with port.But tomcat is the only process that is running on that port.
Does anyone know how to configure?
I have the same problem, it seems that you only must run one of servers, I mean from Apache Tomcat or Eclipse Tomcat, so if you want to use Eclipse Tomcat, you have to stop Apache Tomcat. I hope it helps although maybe you got the answer

Apache Tomcat 7 and Eclipse Juno EE integration (Ubuntu 12.04)

I am currently setting up a Web Service environment for developing SOAP Web services in a linux box (Ubuntu 12.04). I want to use Eclipse EE Juno with Apache Tomcat 7. I successfully install tomcat (using the sudo apt-get install) and configure it as a Server runtime environment in Eclipse. When, I deploy a web service in order to test it, everything works fine. However, when I type the URL to my browser, nothing works. It seems that Apache tomcat is up and running, but no web services are deployed (in fact i receive an HTTP Status 404 from tomcat). Being curious, I go to "/var/lib/tomcat7/webapps/" directory in order to check if any web application is deployed, and there are no web applications.
What may be the matter? How can I configure correctly my tomcat in order to work with Eclipse and be able to deploy and test my web applications through the IDE?
Thank you.
Problem solved by configuring to IDE to have all the pribileges on the server.