Re: Re: Tomcat Struts Datasource problem

2005-07-29 Thread Anoop kumar V
) Kris74 De: Anoop kumar V [EMAIL PROTECTED] A: Kris74 [EMAIL PROTECTED], Tomcat Users List tomcat-user@jakarta.apache.org Objet: Re: Tomcat Struts Datasource problem Date: Thu, 28 Jul 2005 14:50:21 -0400 Did you check out this link: a href=http://jakarta.apache.org/tomcat/tomcat

Re: Tomcat Struts Datasource problem

2005-07-28 Thread Anoop kumar V
Did you check out this link: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html HTH, Anoop On 7/27/05, Kris74 [EMAIL PROTECTED] wrote: Thank you for your answer on my topic. I am using Tomcat 5, (I have 2 versions : 5.0.28 and 5.5.9) I have post also in

DataSource problem

2004-02-20 Thread Nathan Maves
Hey guys just joined the alias today! I am getting the following error from my web app. NotifyUtil::java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at

Re: DataSource problem

2004-02-20 Thread Antonio Fiol BonnĂ­n
This sounds as anything but a DataSource problem. What are you using NetBeans web monitor module for? Antonio Fiol Nathan Maves wrote: Hey guys just joined the alias today! I am getting the following error from my web app. NotifyUtil::java.net.ConnectException: Connection refused Means

Re: DataSource problem

2004-02-20 Thread Nathan Maves
: This sounds as anything but a DataSource problem. What are you using NetBeans web monitor module for? Antonio Fiol Nathan Maves wrote: Hey guys just joined the alias today! I am getting the following error from my web app. NotifyUtil::java.net.ConnectException: Connection refused Means server

Datasource problem upgrading from 4.06

2003-11-26 Thread Jim Kennedy
Below is a little bit of the trace I'm seeing. org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 'com. microsoft.jdbc.sqlserver.SQLServerDriver' for connect URL 'null', cause: java.lang.NullPointerException at java.lang.String.regionMatches(String.java:967)

RE: Datasource problem upgrading from 4.06

2003-11-26 Thread Shapira, Yoav
Howdy, You need a ResourceParam for the DB URL. It looks like your driver name me be the URL? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 12:30 PM To: Tomcat Users List Subject: Datasource

Re: Datasource problem upgrading from 4.06

2003-11-26 Thread Jim Kennedy
[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 12:41 PM Subject: RE: Datasource problem upgrading from 4.06 Howdy, You need a ResourceParam for the DB URL. It looks like your driver name me be the URL? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jim Kennedy

RE: Datasource problem upgrading from 4.06

2003-11-26 Thread Shapira, Yoav
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 12:41 PM Subject: RE: Datasource problem upgrading from 4.06 Howdy, You need a ResourceParam for the DB URL. It looks like your driver name me be the URL? Yoav Shapira Millennium ChemInformatics -Original

Re: Datasource problem upgrading from 4.06

2003-11-26 Thread Jim Kennedy
: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 12:57 PM Subject: RE: Datasource problem upgrading from 4.06 Howdy, http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples -howto.html Yoav Shapira Millennium ChemInformatics

Datasource Problem - NameNotFoundException

2003-03-19 Thread Perez Pola, Jorge
Hello all, I got a problem trying to configure tomcat in order to use a Datasource. The server is running SunOs 5.8. with tomcat 4.1.18 I have this context defined in the server.xml !--=== TEST CONTEXT --

RE: JDBC Datasource problem

2002-12-16 Thread Eddie Liang
[mailto:[EMAIL PROTECTED]] Sent: Saturday, December 14, 2002 3:21 PM To: [EMAIL PROTECTED] Subject: JDBC Datasource problem Hi, I am getting org.apache.jasper.JasperException: Cannot create resource instance when I am trying to get connection from the DBCP pool. the jsp code I wrote

JDBC Datasource problem

2002-12-14 Thread Chandolu, Yuva
Hi, I am getting org.apache.jasper.JasperException: Cannot create resource instance when I am trying to get connection from the DBCP pool. the jsp code I wrote is... = Context initCtx = new InitialContext(); Context envCtx = (Context)

RE: JDBC Datasource problem

2002-12-14 Thread Chandolu, Yuva
-Original Message- From: Chandolu, Yuva [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 14, 2002 4:21 PM To: [EMAIL PROTECTED] Subject: JDBC Datasource problem Hi, I am getting org.apache.jasper.JasperException: Cannot create resource instance when I am trying to get connection from the DBCP

Re: Tomcat 4.0.4 and DataSource problem

2002-12-08 Thread Jacob Kjome
I believe the 4.0.x versions of Tomcat used Tyrex to implement the JNDI DataSource functionality. I have no experience with that. However, if you move to using Tomcat-4.1.12, I can assure you that things will work for you as long as you change user to username. Jake At 12:59 PM 12/7/2002

RE: DataSource problem.

2002-12-07 Thread Jacob Kjome
. -Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 9:19 PM To: Tomcat Users List Subject: RE: DataSource problem. I haven't been able to solve this yet... but was wondering if tomcat logs somewhere that the Resource Manager added a new resource

Tomcat 4.0.4 and DataSource problem

2002-12-07 Thread David P. Nesbitt
I am having a problem obtaining a DataSource using Tomcat 4.0.4. Here is what is in the log: Data source name is:jdbc/QTDSDEV java.lang.ClassCastException: org.apache.naming.ResourceRef Here is my server.xml snippet: Context path=/myapp docBase=myapp debug=5 reloadable=true

DataSource problem.

2002-12-06 Thread Manavendra Gupta
Hi, I am trying to obtain a connection from a DataSource in a test class and get the following error: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

RE: DataSource problem.

2002-12-06 Thread Manavendra Gupta
Tried the same with a simplistic jsp page: %@ page import=java.sql.*, javax.sql.*, javax.naming.* % HTML BODY % out.println(hello); Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource) envCtx.lookup(jdbc/rtidb); Connection

RE: DataSource problem.

2002-12-06 Thread Manavendra Gupta
List Subject: RE: DataSource problem. Tried the same with a simplistic jsp page: %@ page import=java.sql.*, javax.sql.*, javax.naming.* % HTML BODY % out.println(hello); Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource

RE: DataSource problem.

2002-12-06 Thread Manavendra Gupta
*deep breath. I'm lost about this... would anyone take a shot at helping me? Thanks Manav. -Original Message- From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 9:19 PM To: Tomcat Users List Subject: RE: DataSource problem. I haven't been able to solve

Re: DataSource problem

2002-11-24 Thread Kwok Peng Tuck
Remove the sql validation parameter in your datasource definition or give it a table to select from. Daniel Tamborelli Alvarenga wrote: I've installed Tomcat 4.1 on Windows 2000 and MySQL I've configured the Data Source in the server.xml and that's ok... but when I try to get the connection

Re: DataSource problem

2002-11-24 Thread Daniel Tamborelli Alvarenga
Ok... now it's working fine... Thank you very much... :) Daniel Tamborelli Alvarenga - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, November 24, 2002 9:08 PM Subject: Re: DataSource problem Remove the sql validation

DataSource problem

2002-11-23 Thread Daniel Tamborelli Alvarenga
I've installed Tomcat 4.1 on Windows 2000 and MySQL I've configured the Data Source in the server.xml and that's ok... but when I try to get the connection from my source code Tomcat seems to enter in an infinite loop. Does anybody know what may be wrong? Thanks

AW: JNDI DataSource Problem: MS SQL Server

2002-04-18 Thread Eichfelder, Frank
a connection to your database. Frank -Original Message- From: Peter D Wilson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 9:19 PM To: Tomcat Users List Subject: JNDI DataSource Problem: MS SQL Server Could somebody provide jakarta-tomcat-4.0.3, server.xml + web.xml

RE: JNDI DataSource Problem: MS SQL Server

2002-04-17 Thread Sean LeBlanc
-Original Message- From: Peter D Wilson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 9:19 PM To: Tomcat Users List Subject: JNDI DataSource Problem: MS SQL Server Could somebody provide jakarta-tomcat-4.0.3, server.xml + web.xml + java code, working fragments

JNDI DataSource Problem: MS SQL Server

2002-04-16 Thread Peter D Wilson
Could somebody provide jakarta-tomcat-4.0.3, server.xml + web.xml + java code, working fragments similar to those that Eichfelder, Frank provided earlier today on this mail list. I am using MS SQL Server 6.5, where the direct DriverManager approach outside of Tomcat works perfectly. In the JNDI

No suitable driver Datasource Problem

2002-02-19 Thread remy.menetrieux
When I use a datasource I obtain this error. But when i use same option directly in my servelt all is OK. Have you seen this errors ??? regards Remy Java.sql.SQLException: No suitable driver at java.sql.DriverManager.getDriver(DriverManager.java:249) at

RE: No suitable driver Datasource Problem

2002-02-19 Thread Randy Layman
]] Sent: Tuesday, February 19, 2002 7:51 AM To: Tomcat Users List Subject: No suitable driver Datasource Problem When I use a datasource I obtain this error. But when i use same option directly in my servelt all is OK. Have you seen this errors ??? regards Remy Java.sql.SQLException

Re: No suitable driver Datasource Problem

2002-02-19 Thread remy.menetrieux
: remy.menetrieux [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 7:51 AM To: Tomcat Users List Subject: No suitable driver Datasource Problem When I use a datasource I obtain this error. But when i use same option directly in my servelt all is OK. Have you seen this errors ??? regards