facebook

Tomcat listener startup problem

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #217997 Reply

    Kevin Lam
    Member

    Dear all,

    I am getting a listener startup problem when I try to run tomcat 5 within the myclipse workbench.

    Can anyone tell me what I should check for or how to solve this problem please, thx.

    Kevin

    #217999 Reply

    Scott Anderson
    Participant

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    #218004 Reply

    Kevin Lam
    Member

    Sorry about that, i am new to myeclipse

    Basically, I have got myeclipse 3.0.1 in XP and Tomcat 5.0

    Whenever I try to run tomcat within the eclipse, it gives me the following error:

    19-Oct-2004 23:39:10 org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on port 8080
    19-Oct-2004 23:39:10 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2280 ms
    19-Oct-2004 23:39:10 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    19-Oct-2004 23:39:10 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
    19-Oct-2004 23:39:10 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Initialised logging
    Loading database properties from /C:/eclipse/workspace/orsdev/portal/ors/WEB-INF/classes/ORS.properties
    Using thick driver to go to TNS entry = orsdev
    19-Oct-2004 23:39:15 org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Skipped installing application listeners due to previous error(s)
    19-Oct-2004 23:39:15 org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    19-Oct-2004 23:39:15 org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors
    19-Oct-2004 23:39:15 org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    19-Oct-2004 23:39:15 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
    19-Oct-2004 23:39:16 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config=’org.apache.struts.util.LocalStrings’, returnNull=true
    19-Oct-2004 23:39:16 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config=’org.apache.struts.action.ActionResources’, returnNull=true
    19-Oct-2004 23:39:17 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config=’org.apache.webapp.admin.ApplicationResources’, returnNull=true
    19-Oct-2004 23:39:20 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
    19-Oct-2004 23:39:20 org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
    19-Oct-2004 23:39:20 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /jsp-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
    19-Oct-2004 23:39:20 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
    19-Oct-2004 23:39:21 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /servlets-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-examples
    19-Oct-2004 23:39:21 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /tomcat-docs from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
    19-Oct-2004 23:39:21 org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /webdav from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
    19-Oct-2004 23:39:21 org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on port 8080
    19-Oct-2004 23:39:21 org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    19-Oct-2004 23:39:21 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=10/60 config=C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\jk2.properties
    19-Oct-2004 23:39:21 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 11704 ms

    Where it is SEVERE, it stops me running the portal properly, any ideas?

    hope this clear things out a bit…

    Kevin

    #218028 Reply

    Scott Anderson
    Participant

    Kevin,

    SEVERE: Skipped installing application listeners due to previous error(s)
    19-Oct-2004 23:39:15 org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    19-Oct-2004 23:39:15 org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors

    The question is, what are the “previous errors” the log mentions? I don’t explicitly see any. However, since the previous startup seems to be related to your database connection, I’d postulate that either your JDBC driver jar isn’t on the classpath, or that driver needs some native library and the directory containing it is not on the java library path used by the connector.

    Since you’re new to MyEclipse, I’ll also point out that we’ve added a series of quickstart tutorials to the Documentation section here:
    http://www.myeclipseide.com/ContentExpress-display-ceid-67.html

    #218062 Reply

    Kevin Lam
    Member

    Thank you very much for your help. It is really the db driver problem, i managed to sort this out..

    However, when I try to do debug on .jsp page, it cannot find the source file, can you tell me where can I set, so that it finds the _jsp.java file?

    Thx, really appreciate it.

    #218065 Reply

    Riyad Kalla
    Member

    Make sure you are using JDK 1.4.1+ to launch Eclipse and Tomcat, are you doign this?

    As far as not finding the source, try and remove the deployment, rebuild the project, then redeploy it.

    #218077 Reply

    Kevin Lam
    Member

    I am using java 1.4 and have rebuild the projects, does my eclipse find the source in a particular folder in tomcat?

    also, how do I let myeclipse knows where to find the self defined taglib?

    Thx

    #218078 Reply

    Riyad Kalla
    Member

    does my eclipse find the source in a particular folder in tomcat?

    The JSP source located is responsible for finding the source, it would be in the <Tomcat 5>\work\Catalina\localhost\<webapp name> directory

    how do I let myeclipse knows where to find the self defined taglib?

    The same way you would have your application find them, by making sure the classes are in the WEB-INF/classes dir, including the TLD files somewhere under WEB-INF lib, adding web.xml <taglib> entries defining the URIs and locations of the TLDs, and lastly making sure to use the correct URIs in your JSP pages.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Tomcat listener startup problem

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