I am missing MySQL and other connection profiles in eclipse so that JBoss server throws errors. Unable to post image because of reputation ;)
I do have only:
Generic JDBC
HSQLDB
Using Eclipse Kepler and jboss eap 6.1 - already established MySQL server on my PC.
First, if you are going to do any Java web application development on eclipse, please make sure you are using Eclipse IDE for Java EE Developers. This will get most relevant plugins already installed and prevents you from downloading any further plugins.
You can download additional connection profiles via the DTP (Data Tools Platform) plugin. Either via "Eclipse Marketplace", Search for DTP or "Install New Software...", Enter your eclipse version in the "Work with: " field (in this case "Kepler ") and look for the Database Development > Data Tools Platform Enablement Extender SDK"
Related
I have an issue with NetBeans, I have been trying to install some plugins to the IDE but it show me an error:
Unable to connect to the Plugin Portal because of Connection reset
It says I have to check my proxy settings, but I am not using any proxy. I already put this: -J-Djava.net.preferIPv4Stack = true in the netbeans.conf file, but it doesn't work.
Any help is appreciated.
You can find the proxy settings under Tools > Options > General.
But you can consider downloading a newer version of NetBeans, since version 8.2 does not seems maintained anymore (it's pre-Apache).
The latest version as today is 12.4 and you can download at:
https://netbeans.apache.org/download/index.html
I guess this is a very basic question but it stucked me for two days.
I am new to Java and creating a webapp in Netbeans 8.0.1. Static app get created easily. For Db based app, I require MySQL installation. Earlier I believed that MySQL server is there inside Netbeans 8.0.1, kindly confirm if it is right?
Also I found number of MySQL installers but no free version is configuring correctly because of disabled options. If MySQL server is mandatory for WebApp in Java following Netbeans 8.0.1, can I get a recommendation for any stable MySQL installer please.
I believe you can find the links to install all of the MySQL server or management tools here:
http://dev.mysql.com/downloads/windows/installer/
You can use the MySQL Installer to easily install the tools that you need.
mysql download
I downloaded mqsql from this link and it works fine with eclipse.
I have installed Eclipse Luna for windows 64 bit. But I am not able to create a new Dynamic Web Project. I also installed Web, XML, Java EE and OSGi Enterprise Development , but still it shows only Static Web Project inside Web projects.
Is there anything else to be installed ?
you need the Web Tools Platform package for this
add it to your eclipse through Help > install new software.
Then add the software repository site location for WTP for your version of eclipse.
http://download.eclipse.org/webtools/updates/
I think the accepted answer is not the recommended solution. In Luna you should install Web Tools Platform via the Luna download site, not the WTC download site.
Here are the instructions:
https://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F
Here is what happens if you use WTP site:
Can't install WTP (Web Tools Platform) in Eclipse - something about missing dependencies...?
Yes, I see that the asker says he has done this, so I guess the accepted answer worked for him, but I think people should try this recommended method first.
You need to go to http://download.eclipse.org/releases/indigo or luna or whatever version of eclipse you are using and select Web, XML, Java EE and OSGi Enterprise Development.
I have a Glassfish 3.1 server set up running on my development machine, and I'm trying to write a Java application that uses the OpenMQ JMS server built into Glassfish. I'm using Eclipse EE 3.6 for development (and have to as the application I'm developing is a plug-in for a Eclipse framework application - no changing to NetBeans!).
The problem is that my development machine isn't connected to the internet, so I can't download the Glassfish adapter from within Eclipse as told to do so in pretty much every online tutorial and guide I've found.
Is it possible to download the adapter on another computer, transfer it to the development machine, and install it into Eclipse 'offline'? And if so, how?
If adapter is available as a eclipse plugin(it must be available, if it can be updated via eclipse plugin update site) you can just download and keep it # eclipse_home/plugin folder and restart the eclipse.
This question already has answers here:
How do I import the javax.servlet / jakarta.servlet API in my Eclipse project?
(16 answers)
Closed 1 year ago.
I have tomcat 5.5 installed, running and verifiable at http://localhost:8080/. The Tomcat menu option appears in the Eclipse menu bar and I can start and stop Tomcat from there. In Eclipse, it does not show as a Server Runtime Environment in Window - Preferences - Server - Runtime Environments, nor does it appear in the list of environments that can be added when I click the "Add" button. All I see is the J2EE Runtime Library.
Edit:
Running on Windows XP.
Eclipse version is 3.5.1
In my case I needed to install "JST Server Adapters". I am running Eclipse 3.6 Helios RCP Edition.
Here are the steps I followed:
Help -> Install New Software
Choose "Helios - http://download.eclipse.org/releases/helios" site or kepler - http://download.ecliplse.org/releases/kepler
Expand "Web, XML, and Java EE Development"
Check JST Server Adapters (version 3.2.2)
After that I could define new Server Runtime Environments.
EDIT: With Eclipse 3.7 Indigo Classic, Eclipse Kepler and Luna, the steps are the same (with appropriate update site) but you need both JST Server Adapters and JST Server Adapters Extentions to get the Server Runtime Environment options.
You need to go to Help>Eclipse Marketplace . Then type server in the search box it will display Eclipse JST Server Adapters (Apache Tomcat,...) .Select that one and install it .Then go back to Window>Preferences>Server>Runtime Environnement, click add choose Apache tomcat version then add the installation directory .
I had the same problem and I solved it with the following steps
Help > Install New Software...
Select "Eclipse Web Tools Platform Repository (http://download.eclipse.org/webtools/updates)" from the "Work with" drop-down.
Select "Web Tools Platform (WTP)" and "Project Provided Components".
Complete all the installation steps and restart Eclipse. You'll see a bunch of servers when you try to add a server runtime environment.
Window > Preferences > Server > Runtime Environments (as you said)
Add
Apache > Apache Tomcat 5.5
That has worked for the past 3 versions of Eclipse at least. If there is not such an option on your eclipse, get a fresh installation (for Java EE developers).
nor does it appear in the list of environments that can be added when I click the "Add" button. All I see is the J2EE Runtime Library.
Go get "Eclipse for Java EE developers". Note the extra "EE". This includes among others the Web Tools Platform with among others a lot of server plugins with among others the one for Apache Tomcat 5.x. It's also logically; JSP/Servlet is part of the Java EE API.
You may get more success if you do a "search" for the runtime env from the preferences screen instead of hitting "add" - see this demo on youtube. http://www.youtube.com/watch?v=EOkN5IPoJVs&playnext_from=TL&videos=rVnITzSU2Z8 - When you hit search, you are prompted to point to the tomcat directory and then it SHOULD add it as a server runtime environment. Unfortunately for me, that is not the case (I get "no new server runtime environments were found") But you might have more success.
Scenario 1:
You had Eclipse showing server and now after removing the particular version you want to configure at Eclipse a new local server instance. But you can not move further.
This happens due to reason Eclipse still looks for configured version of Tomcat directory, which directory is no longer there.
There is no need till LUNA to make fresh installation!
All we need is to REPLACE the new server run time environment into eclipse after removing old one, which is non-existent. Eclipse will
Help -> check for updates upon Eclipse update solved the issue