tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Posner <cuco2...@gmail.com>
Subject error listener start
Date Mon, 26 Jul 2010 03:28:53 GMT
This is a tough one . I have no clue.
All I get in the logs is that error msg.
Here

?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

    <listener>
    <listener-class>com.listeners.TrailsContextListener</listener-class>
    </listener>

     <context-param>
            <param-name>
            trailsDBConnName
        </param-name>
        <param-value>
          jdbc:mysql://localhost:3306/trailsDB
        </param-value>
    </context-param>

    <servlet>
    <servlet-name>Show Bikes</servlet-name>
    <servlet-class>com.bikes.controller.BikeModelsServlet</servlet-class>
    </servlet>
   <servlet-mapping>
    <servlet-name>Show Bikes</servlet-name>
    <url-pattern>/getBikes.do</url-pattern>
   </servlet-mapping>

      <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>

</web-app>


My context listener class is in com/listeners

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message