- This topic has 8 replies, 2 voices, and was last updated 20 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
sabithaMemberSub:Not able to deploy the TOMCAT and JBOSS application serveres in my windows xp home system.
The following is the error message ,i am getting while deploying the JSP application on TOMCAT and JBOSS Application servers.
“The selected server is Enabled butnot configured properly.Deployment to it willn’t be perrmitted until the problem is correct.Please navigate to the server preferences pages and verify the field with the prompt.tomcat home directory”
I check that server preferences , but I am not able to locate my Tomcat Home Directory.I am newto this Eclipse , please suggest some solution to solve this problem.
Thanks in advance
bye
sabi ❓So plea
Riyad KallaMemberSabi,
There are two steps here:1) The most important thing to remeber w.r.t. to webapps is that you need to setup your eclipse JRE’s to actually point to your JDK, not the JRE. So how you do this is to open:
Window->Preferences->Java->Installed JREs-> Select your JRE and hit Edit -> Change the “JRE Home Directory” to your JDK directory (e.g. C:\j2sdk1.4.2_03) and hit Ok twice (to get back to Eclipse).2) Where did you install Tomcat to? You need to download Tomcat (download here: http://apache.gnusoft.net/jakarta/tomcat-5/v5.0.16/bin/jakarta-tomcat-5.0.16.exe) and install it. Lets say you install it to “C:\Tomcat 5.0”, once that is installed, start MyEclipse again, go to:
Window->Preferences->MyEclipse->Application Servers->Tomcat 5.0
and set the “Tomcat Home” to the value “C:\Tomcat 5.0”, the other values (like Temp) should fill in for you. You should now be ready to deploy web applications!
sabithaMemberHi ,
i actually downloaded “MyEclipse Enterprise Workbench Version 2.7 RC2 for Windows 98/2000/XP (01/05/2004) ” & installed it on my system. I think , is this product comes with Application servers like jboss/tomcat etc. please advice me with some solution.
before that i downloaded eclipse 2.1 & JRE .
my question is do i need JDK again ??
thanks for your valuable suggestions.
bye
sabithaMemberi have windows xp home edition ??? so is it possible to do applications servers on my system
thanks in advance for your valuable suggestions
Riyad KallaMemberSabi,
0) You need to download/install/reboot the JDK (http://java.sun.com/j2se/1.4.2/download.html)
1) You need to download Eclipse 2.1.2 (http://download.eclipse.org/downloads/drops/R-2.1.2-200311030802/download.php?dropFile=eclipse-SDK-2.1.2-win32.zip)
2) You need to download MyEclipse 2.7RC2 (You already did this)
3) You need to download Tomcat 5.0.16 (http://download.eclipse.org/downloads/drops/R-2.1.2-200311030802/download.php?dropFile=eclipse-SDK-2.1.2-win32.zip)
4) You need to unzip Eclipse somewhere (C:\Eclipse), and run it (double click on Eclipse.exe), then close it.
5) You need to run the Tomcat installer, and install it someplace (C:\Tomcat)
6) You need to run the MyEclipse installer, let it know where Eclipse is (C:\Eclipse) then install it to its own directory (C:\MyEclipse)
7) You now can run Eclipse and it will have MyEclipse installed
8) You can configure the application servers to use via Window->Preferences->MyEclipse->Application Servers->Tomcat 5->(set the home directory of Tomcat)
9) You need to modify your “Installed JREs” in Eclipse to point to your JDK installation and not your JRE installation. So click on Windows->Preferences->Java->Installed JREs->Edit and change the “JRE home directory” to point to your JDK installation directory (C:\j2sdk1.4.2_03)
10) Hit OK, restart eclipse just to be sureNow you should be able to create/run/deploy web applications.
sabithaMemberthankyou riyad. i greatly appreciate for your valuable suggestions
Riyad KallaMemberNo problem, I hope it helps.
sabithaMemberHi Riyad,
thanks for your help. As per your suggestions , i installed j2sdk & tomcat 5 and it seems something is working. i greatly appreciate for your valuable suggestions.
Riyad KallaMemberGlad to hear it is working, happy coding!
-
AuthorPosts