Can I ask what your entry in the application's web.xml looks like? "Turner, John" <[EMAIL PROTECTED]> wrote: We're using 4.1.12, ours looks like this:
type="com.microsoft.jdbcx.sqlserver.SQLServerDataSource"/> factory com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory driverClassName com.microsoft.jdbcx.sqlserver.SQLServerDataSource driverName SQLServer description SQL Server DataSource serverName our-server portNumber 1433 selectMethod cursor databaseName our-db-name user our-user password our-password loginTimeout3000 maxActive100 maxIdle10 maxWait50 > -----Original Message----- > From: John Mattos [mailto:mattosj@;yahoo.com] > Sent: Tuesday, November 12, 2002 2:55 PM > To: Tomcat Users List > Subject: RE: JDBC Error, cannot establish socket - Tomcat 4.0.6/SQL > Server 2000 > > > > Hmm. I have the app specified in my server.xml as follows. > dows anything jump out at you? I even used the IP instead of > the DNS entry for the DB machine > > > reloadable="true" source="indemand"> > > type="javax.sql.DataSource"/> > > > user > tibco_user > > > password > tibco_user > > > driverClassName > > com.microsoft.jdbc.sqlserver.SQLServerDriver > > > driverName > > jdbc:inetdae7:10.10.0.84:1433?database=TibcoClearHouse > > > > "Turner, John" wrote: > Yup. It's network related. Probably the name of the database > server can't > be resolved into an IP address, or a connection request is > being made on the > wrong port. SQL Server's default port is 1433, I believe. > > John > > > > -----Original Message----- > > From: John Mattos [mailto:mattosj@;yahoo.com] > > Sent: Tuesday, November 12, 2002 2:48 PM > > To: [EMAIL PROTECTED] > > Subject: JDBC Error, cannot establish socket - Tomcat > 4.0.6/SQL Server > > 2000 > > > > > > > > I'm getting the following error trying to connect to my SQL > > Server Database > > > > java.sql.SQLException: [Microsoft][SQLServer JDBC > > Driver]Error establishing socket. > > > > I'm using the driver > > "com.microsoft.jdbc.sqlserver.SQLServerDriver", and the 3 > > necessary jar files are in C:\Tomcat4.0.6\lib (msbase.jar, > > msutil.jar and mssqlserver.jar) > > > > Any thoughts on this? Has anyone seen this before? > > > > John > > > > > > > > --------------------------------- > > Do you Yahoo!? > > U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > --------------------------------- > Do you Yahoo!? > U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD > -- To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------- Do you Yahoo!? U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD
