facebook

Not able to deploy the TOMCAT and JBOSS application serveres

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #202062 Reply

    sabitha
    Member

    Sub: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

    #202074 Reply

    Riyad Kalla
    Member

    Sabi,
    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!

    #202147 Reply

    sabitha
    Member

    Hi ,
    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

    #202148 Reply

    sabitha
    Member

    i have windows xp home edition ??? so is it possible to do applications servers on my system
    thanks in advance for your valuable suggestions

    #202157 Reply

    Riyad Kalla
    Member

    Sabi,
    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 sure

    Now you should be able to create/run/deploy web applications.

    #202224 Reply

    sabitha
    Member

    thankyou riyad. i greatly appreciate for your valuable suggestions

    #202226 Reply

    Riyad Kalla
    Member

    No problem, I hope it helps.

    #202281 Reply

    sabitha
    Member

    Hi 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.

    #202288 Reply

    Riyad Kalla
    Member

    Glad to hear it is working, happy coding!

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Not able to deploy the TOMCAT and JBOSS application serveres

You must be logged in to post in the forum log in