)
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
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
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
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
:
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
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)
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
[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
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
: 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
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
--
[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
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)
-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
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
.
-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
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
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
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
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
*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
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
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
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
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
-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
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
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
]]
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
: 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
30 matches
Mail list logo