facebook

[Closed] Unable to start the jakarta-tomcat-4.1.31-src

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #250287 Reply

    sunil1808
    Member

    Hi,
    I’ve just started using MyEcplise and I’ve downloaded jakarta-tomcat-4.1.31-src server.

    I’ve followed the instructions on http://www.myeclipseide.com/images/tutorials/quickstarts/appservers/

    to configure tomcat from MyEclipse.

    1. After that I tried to start the server; I got the following error message
    java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
    Exception in thread “main”

    Did I point to the wrong folders while configuring the server?
    Following is the path in my configuration file,
    Tomcat Home Directory: C:\Program Files\eclipse\myEclipse\jakarta-tomcat-4.1.31-src\catalina\src

    2. I’ve downloaded the Java SDK1.4 from Sun Site but that has JRE 1.5; will tomcat 4/5 work on JRE1.5.0?
    If not where can I download JDK which has JRE 1.4.2.x? I wasn’t able to locate this on the Java site?

    Thanking you,
    Sunil Kr. Singh

    #250305 Reply

    Riyad Kalla
    Member

    Sunil,
    First you don’t want to download the Tomcat source release, you want the binary release. For Tomcat 4.1.31 it is this:
    http://apache.edgescape.com/tomcat/tomcat-4/v4.1.31/bin/jakarta-tomcat-4.1.31.zip

    Just unzip that.

    Also your Home Dir in the example above should be:
    C:\Program Files\eclipse\myEclipse\jakarta-tomcat-4.1.31-src

    But like I said, the source download is the wrong one, after you unzip the link I gave you above, you will want to point to the jakarta-tomcat-4.1.31 directory as your Home dir.

    2. I’ve downloaded the Java SDK1.4 from Sun Site but that has JRE 1.5; will tomcat 4/5 work on JRE1.5.0?
    If not where can I download JDK which has JRE 1.4.2.x? I wasn’t able to locate this on the Java site?

    I think Tomcat 4 will run with Java 5, but I’m not sure if it’s buggy. To get Java 1.4.2 you can go here:
    http://java.sun.com/j2se/1.4.2/download.html

    #250339 Reply

    sunil1808
    Member

    Hi Riyad,
    Thanks for quick support, this really helped me a lot.
    I’ve downloaded the following for tomcat 5.0, apache-tomcat-5.5.16. The server startup and shutdown was successful.
    But now the problem is with deployment.The deployment wizard is not recognizing the J2EE projects on my workspace and thus the dropdown list doesn’t have any entry to select from.

    Just to let you know; the wizard provided under your tutorial (for creating J2EE projects using MyEclipse) looked different from the one that’s getting pulled up during the creation of J2EE project.
    If you could please help me with this.

    Please find the MyEclipse, Eclipse and System configuration,
    *** Date: Wed Apr 12 00:51:39 CDT 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060309-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Platform

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Java Development Tools

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Graphical Editing Framework

    Version: 3.1
    Build id: 200509301327

    Eclipse RCP

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Plug-in Development Environment

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Project SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\eclipse\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    b60_68
    -vm
    C:\WINDOWS\system32\javaw.exe

    #250362 Reply

    Riyad Kalla
    Member

    But now the problem is with deployment.The deployment wizard is not recognizing the J2EE projects on my workspace and thus the dropdown list doesn’t have any entry to select from.

    Right click on the project in question and go to the MyEclipse menu, do you see “Add Web Capabilities”? If you do, then you didn’t create a Web Project, you most likely just created a Java Project which is why the deployment tool doesn’t understand that project as “deployable”. You can run the add web caps wizard or just create a new web project:

    File > New > Project > MyEclipse > J2EE > Web Project

    If you have a different path, something like “Dynamic Web Project”, then you most likely have WTP installed separately and are actually confusing the two products.

    #250402 Reply

    sunil1808
    Member

    Hi Riyad,
    Thanks for your prompt support; it worked out.

    #250406 Reply

    Riyad Kalla
    Member

    Glad to hear it.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: [Closed] Unable to start the jakarta-tomcat-4.1.31-src

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