Hi,
newbie to struts and I have similar problem namely I added a datasource
in my struts-config.xml and after that I can't even reload my app.
Non - struts applications are using this driver without problems. Bellow
are stack trace from tomcat log (5.0.18) and part of my struts-config.
I have
Just a guess . but its looking for the old GenericDataSource have the
the struts-legacy.jar in your lib directory?
There's also some weird BillGates-tastic argument you have to pass
though with the url string. But i have no experience with ms sql
server.
On 1 Mar 2004, at 21:28, Danko
Hi,
I am trying to use microsoft's jdbc driver with my struts application, but to no
avail. Here is my datasource definition:
data-source key=DB type=org.apache.commons.dbcp.BasicDataSource
set-property property=description value=My SqlServer pool/
set-property property=driverClassName
Does the error get thrown when you attempt to access the data source or
at startup?
On 27 Feb 2004, at 11:34, Claire Wall wrote:
Hi,
I am trying to use microsoft's jdbc driver with my struts application,
but to no avail. Here is my datasource definition:
data-source key=DB
.
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:29 AM
Subject: Re: microsoft sqlserver driver struts
Does the error get thrown when you attempt to access the data source or
at startup?
On 27 Feb 2004, at 11
to access the database.
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:29 AM
Subject: Re: microsoft sqlserver driver struts
Does the error get thrown when you attempt to access the data source
Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:43 AM
Subject: Re: microsoft sqlserver driver struts
Can i see the bits of code in the servlets (non action servlets) at
start up that retrieve the datasource
about it. Cant be too difficult..
Thanks
Claire
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:43 AM
Subject: Re: microsoft sqlserver driver struts
Can i see the bits of code in the servlets (non
, February 27, 2004 12:14 PM
Subject: Re: microsoft sqlserver driver struts
Ah okay.. If you've had the same stuff running with another database
i'm tree-barking. No I've never used and hope never to use M$ sql
server. Postgres, mysql and oracle so I'm signing off this thread.
but before i go
-
From: Claire Wall [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 5:34 AM
To: Struts Users Mailing List
Subject: microsoft sqlserver driver struts
Hi,
I am trying to use microsoft's jdbc driver with my struts application, but
to no avail. Here is my datasource definition:
data-source
: Friday, February 27, 2004 1:18 PM
Subject: RE: microsoft sqlserver driver struts
Hi,
I am using the same datasource configuration as you do:
data-source type=org.apache.commons.dbcp.BasicDataSource
key=BkEdDbFls
set-property property=driverClassName
value
]
tosys.com cc:
Subject: microsoft sqlserver driver
struts
02/27/2004 05:34
DataSource problem.
Claire
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 3:02 PM
Subject: Re: microsoft sqlserver driver struts
Hi Claire,
We are successfully connecting to a Microsoft SQL Server 2000 using
struts is causing this Invalid DataSource problem.
Claire
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 3:02 PM
Subject: Re: microsoft sqlserver driver struts
Hi Claire,
We are successfully
List [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:43 AM
Subject: Re: microsoft sqlserver driver struts
Can i see the bits of code in the servlets (non action servlets) at
start up that retrieve the datasource? And an example from any actions.
Also see the load on start up order as i
:
Subject: Re: microsoft sqlserver driver
struts
02/27/2004 10:46
AM
, or something to do with
the driver itself?
I know I'm getting off the struts issue now but any help would be great! :)
- Original Message -
From: Claire Wall
To: Struts Users Mailing List
Sent: Friday, February 27, 2004 3:19 PM
Subject: Re: microsoft sqlserver driver struts
Ian
of
moving to a different {catalog|schema}.
HTH,
Ian
Claire Wall
tosys.com cc:
Subject: Re: microsoft sqlserver driver struts
02/27/2004 10:46
AM
Please respond
to Struts Users
Mailing List
ok i've manager to connect to the datasource! What I did was to move my
jars
into common/lib
I am using SQL Server 7
With the microsoft driver no problem
Connection URL needs to be
jdbc:microsoft:sqlserver://SERVERNAME:1433;DatabaseName=DBNAME;SelectMethod=
Cursor
Refer to
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B313181
--
Tim Coy
Timco Electronics Pty Ltd
[EMAIL
19 matches
Mail list logo