tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wesley Ribeiro" <wesle...@nortelnetworks.com>
Subject RE: Help with servlet mapping
Date Fri, 09 Feb 2001 14:43:08 GMT
That solved it. Thanks a lot,

Wesley

> -----Original Message-----
> From:	Luc Vanlerberghe [SMTP:lvl@bvdep.com]
> Sent:	sexta-feira, 9 de fevereiro de 2001 11:43
> To:	tomcat-user@jakarta.apache.org
> Subject:	Re: Help with servlet mapping
> 
> You probably configured workdb as a *User* DSN under ODBC.
> Either configure your service to run using the same userid as the one
> you defined your datasource for, or use a *System* DSN.
> 
> Luc Vanlerberghe
> 
> Wesley Ribeiro wrote:
> > 
> > I've solved it. It seems that the file $TOMCAT_HOME/conf/web.xml is no
> > longer considered in Tomcat 3.2.1.
> > You have to put your web.xml in the Web-inf directory where your files
> > are.
> > Now I have one more problem:
> > If I start Tomcat from the command-line, everything works fine. But,
> > if I start it as a NT service, the servlets/JSP cannot
> > 
> > access the database. The following error message is given:
> > 
> > Starting tomcat. Check logs/tomcat.log for error messages
> > SQL Exception opening DB connection:java.sql.SQLException:
> > [Microsoft][ODBC Driver Manager] Data source name not found and no
> > default driver specified
> > 
> > URL: jdbc:odbc:workdb
> > UserName: PUBLIC
> > SQL State: IM002
> > Message: [Microsoft][ODBC Driver Manager] Data source name not found
> > and no default driver specified
> > Vendor: 0
> > 
> > I have configured the wrapper.properties file according to the
> > documentation, and everything but the database access seems to work.
> > 
> > Can anyone help ? Should I change something in the server.xml file ?
> > Thanks,
> > 
> > Wesley
> > 
> > PS: I'm using WinNT4sp6 and JDK1.3.0_01.
> 

Mime
View raw message