Problem was initialSize="0".
Solution initialSize="1".
-- Forwarded message -
From: Oliva
Date: mié., 21 feb. 2018 a las 12:47
Subject: Jmxproxy causes datasources exceptions.
To:
When I try "http://myserver:myport/manager/jmxproxy"; y get in c
When I try "http://myserver:myport/manager/jmxproxy"; y get in catalina.out
the same error for getting attributes like Schema, AutoCommit, Catalog,
TransactionIsolation, Holdability and ReadOnly.
Tomcat 8.5.28 with DBCP 2 factory datasources.
Example from catalina.out for one attribu
> -Original Message-
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
> Sent: Friday, June 01, 2012 11:06 AM
>
>
> By the way:
>
> 53254 (1340160):
> Add in the ability to purge connections from the pool (fhanik)
>
> https://issues.apache.org/bugzil
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Question about resetting datasources and changes to the
> BasicDataSource.close() method
> Locking "this" makes sure that the thread's local copy of
> whatever-you-are-getting is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brooke,
On 6/1/12 11:54 AM, Hedrick, Brooke - 43 wrote:
>> -Original Message- From: Christopher Schultz
>> [mailto:ch...@christopherschultz.net] Sent: Thursday, May 31,
>> 2012 5:23 PM
>
> That's what I will submit to commons-dbcp, then.
>
>
2012/5/30 Hedrick, Brooke - 43 :
>(...)
>
> Next, I looked at the new datasource org.apache.tomcat.jdbc.pool.DataSource.
> I have not found any methods to close/reset the pools and the JMX attributes
> are readonly. This prevents us both from resetting and resizing our
> connection pools.
>
B
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Thursday, May 31, 2012 5:23 PM
>
>
> Yup: the solution is to just synchronize all the methods. If restart() is
> synchronized, it will only operate while other methods are not actively
> checkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brooke,
On 5/31/12 3:53 PM, Hedrick, Brooke - 43 wrote:
> Are you just concerned about the restart() being called by more
> than 1 thread since the restarting member variable isn't
> protected?
Yes.
> If so, I was looking for a short term, simple, f
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Thursday, May 31, 2012 2:27 PM
> To: Tomcat Users List
> Subject: Re: Question about resetting datasources and changes to the
> BasicDataSource.close() method
>
> -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brooke,
On 5/31/12 11:56 AM, Hedrick, Brooke - 43 wrote:
> /** * Not used currently */ protected boolean restarting = false;
> // bth new
>
> public void restart() { try { restarting = true; // bth new try {
> close(); } finally { restarting = fals
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brooke,
On 5/31/12 11:51 AM, Hedrick, Brooke - 43 wrote:
> Our release cycle has us releasing many applications on many JVMs
> every week. From time to time, these applications have issues in
> them where someone has made a code change that require
59.1322
Cel: 515.314.8953
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Thursday, May 31, 2012 8:19 AM
To: Tomcat Users List
Subject: Re: Question about resetting datasources and changes to the
BasicDataSource.close() method
2012/5/30 Hedrick, Brooke - 43 :
>
: Re: Question about resetting datasources and changes to the
BasicDataSource.close() method
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brooke,
On 5/30/12 3:31 PM, Hedrick, Brooke - 43 wrote:
> How are others dynamically resetting/resizing their database
> connection pools when necessary?
2012/5/30 Hedrick, Brooke - 43 :
>(...)
>
> So far, my options point to making changes to the BasicDataSource to provide
> a way to set closed=false or make the private method below public with a
> change to set closed=false.
>
> /**
> * Not used currently
> */
> private void restar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brooke,
On 5/30/12 3:31 PM, Hedrick, Brooke - 43 wrote:
> How are others dynamically resetting/resizing their database
> connection pools when necessary?
Quick question about all this: why do you need to do any more
dynamic-resizing than dbcp already
How are others dynamically resetting/resizing their database connection pools
when necessary?
Background:
I am running into some issues with how we manage datasources due to changes in
Tomcat/commons-dbcp.
We are just now beginning to move some of our applications to Tomcat 7.0.21
from Tomcat
Hi Konstandin,
It is due to incomplete cleanup: a stale copy with same user causes the issue.
Thanks a lot
Steven
From: Konstantin Kolinko
To: Tomcat Users List
Sent: Thursday, March 15, 2012 9:27:51 AM
Subject: Re: Datasources in Spring-JPA-Tomcat 6.0.29
Thanks Konstantin,
Option 1) has been checked carefully, it is always clean/deploy. I will try
option 2).
From: Konstantin Kolinko
To: Tomcat Users List
Sent: Thursday, March 15, 2012 9:27:51 AM
Subject: Re: Datasources in Spring-JPA-Tomcat 6.0.29
2012/3
Hi Stevo,
I checked many times, the users are different in context.xml
Thanks
From: Stevo Slavić
To: Tomcat Users List ; Steven Xiong
Sent: Thursday, March 15, 2012 9:21:58 AM
Subject: Re: Datasources in Spring-JPA-Tomcat 6.0.29
Hello Steven,
Just a
2012/3/15 Steven Xiong :
> I have a Spring/JPA application running on Tomcat 6.0.29 accessing two
> schemas of a single Oracle database. Each schema is configured as a seperate
> datasource. If we config the datasources as spring beans of
> "com.mchange.v2.c3p0.ComboPooledData
have a Spring/JPA application running on Tomcat 6.0.29 accessing two
> schemas of a single Oracle database. Each schema is configured as a
> seperate datasource. If we config the datasources as spring beans of
> "com.mchange.v2.c3p0.ComboPooledDataSource" type, the app works correct
I have a Spring/JPA application running on Tomcat 6.0.29 accessing two schemas
of a single Oracle database. Each schema is configured as a seperate
datasource. If we config the datasources as spring beans of
"com.mchange.v2.c3p0.ComboPooledDataSource" type, the app works correctly.
, which is the
> place it belongs. I can see the datasources using lambda probe and if I
> debug the code the datasources are there, but the ref address of the JNDI
> entry that's resolved is empty and so it can't find the actual object.
Most likely a configuration problem. Since
Hi, I based myself on a Tomcat 5.5 tutorial because that's what I found on
the net. I did put the driver jar file in the lib/ directory, which is the
place it belongs. I can see the datasources using lambda probe and if I
debug the code the datasources are there, but the ref address of the
t.apache.org
Subject: Issue with JNDI datasources in Tomcat 6
Hi,
I'm trying to use JNDI datasources in Tomcat 6, using global naming resources.
My setup is identical to this one:
http://pro-programmers.blogspot.com/2008/07/spring-datasource-jndi-lookup-from.html
But I keep getting null
Hi,
I'm trying to use JNDI datasources in Tomcat 6, using global naming
resources. My setup is identical to this one:
http://pro-programmers.blogspot.com/2008/07/spring-datasource-jndi-lookup-from.html
But I keep getting null when doing the lookup. I debugged the code a little
and the pr
Am 09.02.2011 15:02, schrieb Caldarale, Charles R:
From: Stephan Beutel [mailto:beu...@axivion.com]
Subject: Re: Context.xml for multiple datasources
But I thought it could be defined by a map in
context.xml like in Spring.
Even if you did, that wouldn't solve your problem. You would
> From: Stephan Beutel [mailto:beu...@axivion.com]
> Subject: Re: Context.xml for multiple datasources
> But I thought it could be defined by a map in
> context.xml like in Spring.
Even if you did, that wouldn't solve your problem. You would still have to
stop and restart
Am 09.02.2011 12:12, schrieb chris derham:
That's right, my code doesn't support a variable amount of databases at
the moment because
the databases are configured in Spring (inside my war file).
But if I use the context to configure this list of datasources, the admin
can create da
>
> That's right, my code doesn't support a variable amount of databases at
> the moment because
> the databases are configured in Spring (inside my war file).
> But if I use the context to configure this list of datasources, the admin
> can create databases as he n
Am 09.02.2011 11:03, schrieb chris derham:
And the question is:
How to build the context to move the existing Spring configuration to the
Tomcat context to get all datasources with JNDI.
The problem is, that it must be possible to set a variable amount of
databases. I can't set the numb
> And the question is:
> How to build the context to move the existing Spring configuration to the
> Tomcat context to get all datasources with JNDI.
> The problem is, that it must be possible to set a variable amount of
> databases. I can't set the number of databas
technique you should be able
to specify multiple datasources.
Chris
Hello,
thank you for the quick answer.
I know how to configure one datasource and lookup with JNDI. This is my
actual configuration.
But I need to configure more than one datasource to switch the database
at runtime.
With my
hould be able
to specify multiple datasources.
Chris
Hello Tomcat users,
I need some help creating my context.xml file in a correct way.
My application is based on Spring and Hibernate. I need to configure
more than one datasource
to access multiple databases at the same time.
This is my working Spring datasource.xml:
class="org.springframewo
> I'll bet the only thing your code does with a JNDI string is perform the
lookup and get a Datasource. You could implement multiple constructors
allowing your code to be initialized w/ a JNDI string, DataSource
object, or url/username/password. The code utilizing the model classes
would simpl
Martin Gainty wrote:
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
> is a JNDI 'emulator'
Huh? Care to explain what you mean by that remark?
> i heard chilisoft was implementing JNDI for Tomcat but EOL'ed when Glassfish
> came out
> I wonder if anyone can resurrect?
What
ent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Sun, 27 Sep 2009 15:27:35 -0400
> From: mark.shif...@yale.edu
> Subject: Re: debugging model classes tied to Tomcat datasources
> To: users@tomcat.apache.org
es email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
Date: Sun, 27 Sep 2009 12:38:11 -0400
From: mark.shif...@yale.edu
Subject: Re: debugging model classes tied to Tomcat datasources
To: users@tomcat.apache.org
Hi:
This
manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Sun, 27 Sep 2009 12:38:11 -0400
> From: mark.shif...@yale.edu
> Subject: Re: debugging model classes tied to Tomcat datasources
> To: users@tomcat.apache.org
>
> Hi:
> This is what I do
Hi:
This is what I do for testing. I made a class for creating a jndi
directory and I create this in my main, then I can get a datasource from
the jndi directory just like I do it when running tomcat.
jndi.properties
java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
java
Eric P wrote:
> Hi,
>
> (Tomcat newb alert)
>
> I've got a simple database servlet application that has a few model
> classes on the back end.
>
> I have the model classes pretty well genericized so that they could
> (almost) be utilized outside of Tomcat by another app, but they do
> utilize the T
> From: Eric P [mailto:eric.maill...@gmail.com]
> Subject: debugging model classes tied to Tomcat datasources
>
> they do utilize the Tomcat data sources I've set up (via
> an InitialContext data source lookup). So this makes it
> impossible (?) to execute the model cl
Hi,
(Tomcat newb alert)
I've got a simple database servlet application that has a few model classes on
the back end.
I have the model classes pretty well genericized so that they could (almost) be utilized outside of Tomcat by another
app, but they do utilize the Tomcat data sources I've set
f the source code ... couldn't you just use the full
JNDI path as provided?
--David
Александър Шопов wrote:
> Hi guys,
> In my webap I am using a library that depends on datasources being
> mapped to:
> java:MyDS and not java:comp/env/jdbc/MyDS
>
> When I define dataso
Hi guys,
In my webap I am using a library that depends on datasources being
mapped to:
java:MyDS and not java:comp/env/jdbc/MyDS
When I define datasources in Tomcat, they end in java:comp/env.
What can I do to remap the datasources - make them available as
java:MyDS?
One of the strategies would
Hi, Jonas
Regarding your previous e-mails where you tried to overwrite
META-INF\context.xml.
Please note, that at deployment time this file is copied to
/conf/Catalina/localhost/.xml
I think that you should either update the copy of that file and then
restart Tomcat.
If you update META-INF/conte
On Tue, Jul 8, 2008 at 08:53, Jonas Wagner <[EMAIL PROTECTED]> wrote:
> Since the application connects to its datasources using the
> DriverManager class, I cannot use connection pooling. That's one of the
> reasons I tried using JNDI for such a long time :-(
I think it
Thanks Sameer for your reply!
> That may work for new datasources but could create a problem
> for existing data sources specifically if they are already
> being used and have pooled connections. The existing pooled
> connections may be in use by the applications too.
Since the
That may work for new datasources but could create a problem for existing data
sources specifically if they are already being used and have pooled
connections. The existing pooled connections may be in use by the applications
too.
Restarting the tomcat after modifying datasource may be a
The problem is now solved, though in a somewhat unsatisfying way. I
wrote my own configuration file to store information about the data
sources, and now I connect to databases using DriverManager.
I'm still wondering about more elegant ways to do dynamical
configuration of data sources. Would it b
Good morning,
I'm still trying to figure out how I can cause tomcat to re-read JNDI
resources. Here is one way I found out earlier:
> After further tests I found out that the server will reload JNDI data
> sources if all the following steps are performed:
> 1. Change the configuration
> 2. Execut
You have already solved the problems you had but just one more thing to
add. You had problems with different Tomcat version but from the quote
below I see that you also had problems with different MS sql Server
versions as well...
For example I have these setting in production use for SQL server 20
Message -
From: "Jason Cipriani" <[EMAIL PROTECTED]>
To:
Sent: Sunday, July 06, 2008 8:39 AM
Subject: Re: [6.0.16] JNDI, MSSQL, context.xml, server.xml, web.xml,
common/lib, DataSources, exceptions, configuration hell, vague tutorials,
hidden documentation, lions, tigers, bears,
> From: Jason Cipriani [mailto:[EMAIL PROTECTED]
> Subject: Re: [6.0.16] JNDI, MSSQL, context.xml, server.xml,
> web.xml, common/lib, DataSources, exceptions, configuration
> hell, vague tutorials, hidden documentation, lions, tigers,
> bears, oh my...
>
> Thanks again for p
On Sun, Jul 6, 2008 at 11:04 AM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
>> From: Jason Cipriani [mailto:[EMAIL PROTECTED]
>> Subject: [6.0.16] JNDI, MSSQL, context.xml, server.xml,
>> web.xml, common/lib, DataSources, exceptions, configuration
>>
> From: Jason Cipriani [mailto:[EMAIL PROTECTED]
> Subject: [6.0.16] JNDI, MSSQL, context.xml, server.xml,
> web.xml, common/lib, DataSources, exceptions, configuration
> hell, vague tutorials, hidden documentation, lions, tigers,
> bears, oh my...
>
> http://tomcat.apache.or
t; DataSource ds = (DataSource) ctx.lookup("java:/comp/env/jdbc/mssql");
> Connection conn = ds.getConnection();
> PreparedStatement pstmt = conn.prepareStatement("SELECT * FROM usertest");
>
> It is ds.getConnection() that is throwing the exception. I know that
&
d as a sanity check).
One question I have is, where should the driver JAR go? I have seen
multiple references to placing it in Tomcat's "common/lib" directory.
I am not sure where that is. There is no directory named "common" in
my Tomcat installation.
Also, does docume
One more update on the problem:
> An update on the problem: on my development server (managed by
eclipse)
> restarting the server _sometimes_ seems to apply the changes. I
haven't
> found out in which cases exactly. The changes are never applied when I
> deploy to a production server using a .war
Thanks Hassan for your question.
> Are these data sources known in advance, or can the configuration
> tool user come up with an arbitrary new one at any time?
These data sources will be known at the time of deployment, but as they
are specific for each customer, I cannot write one META-INF/conte
On Wed, Jul 2, 2008 at 8:53 AM, Jonas Wagner
<[EMAIL PROTECTED]> wrote:
> I'm trying to write a configuration frontend for a webapp. This
> application uses several data sources, and it should be possible to
> change the username/password/database/... using the configuration
> frontend.
>
> My ide
Hello,
I'm trying to write a configuration frontend for a webapp. This
application uses several data sources, and it should be possible to
change the username/password/database/... using the configuration
frontend.
My idea was that the configuration servlet would modify the
META-INF/context.xml f
sers List
> Assunto: Re: RES: Application context configuration
> & datasources
>
> > You are not supposed to edit server.xml in order
> to make your pooled
> > connections work.
>
> >> You do when its a connect
-feira, 27 de março de 2008 09:04
Para: Tomcat Users List
Assunto: Re: RES: Application context configuration & datasources
> You are not supposed to edit server.xml in order to make your pooled
> connections work.
>> You do when its a connection pool shared by more than one applic
ons-3.2.jar, commons-dbutils-1.1.jar
> and commons-pool-1.3.jar inside that dir too,
> otherwise your pools won't work. The versions
> mentioned in the files are the latest ones, but I
> guess you can use the ones you have.
>
> If it still doesn't work, tell us...
>
EMAIL PROTECTED]
Enviada em: quinta-feira, 27 de março de 2008 04:04
Para: Tomcat Users List
Assunto: Re: Application context configuration & datasources
server.xml:
As I said, if I move the META-INF/context.xml contents into my server.xml, then
it works fine, but then I can
9)
> > at
> >
>
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
> > ... 45 more
> >
> > If I copy the contents of the application's
> > META-INF/context.xml into the server.xml, then the
> > application and dataso
rg.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
> at
>
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
> ... 45 more
>
> If I copy the contents of the application's
> META-INF/context.xml in
.xml, then the
application and datasources loads fine, no problems.
It looks something like:
(I then have a context.xml and the same part in the
server.xml, but it doesn't seem to do harm)
But then I cannot use the ant manager tasks to
redeploy the application:
C:\projects\myapp\buil
On Thu, March 6, 2008 1:40 am, pbdavey wrote:
>
> I've been looking through a lot of tutorials regarding using JNDI for
> datasources and ldap authentication and was wondering if someone could
> explain things.
>
> Most of what I've come across has authentication co
I've been looking through a lot of tutorials regarding using JNDI for
datasources and ldap authentication and was wondering if someone could
explain things.
Most of what I've come across has authentication completely seperate from
the datasource, or, in the case of JDBCRealms
> From: Paul ANDERSON [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 6 classloading - problem loading DB
> drivers for JNDI-listed Datasources with cross-context
> portlet invocations
>
> Excuse me, $CATALINA_HOME/lib is what I meant.
Do you have the same jars in multiple
Excuse me, $CATALINA_HOME/lib is what I meant.
(Thanks for your interest, Chuck.)
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> From: Paul ANDERSON [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 6 classloading - problem loading DB drivers
> for JNDI-listed Datasources with cross-context portlet invocations
>
> The driver JAR was in /lib.
What do you mean by /lib? If you mean,
$CATALINA_HOME/server/lib, t
When doing cross-context invocations of a portlet in Liferay that
references container-managed Datasources by JNDI, I get:-
Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
The driver JAR was in /lib.
You left this bit out
... it's not a criticism before anyone gets upset
I'd be glad to contribute to the documentation, just gotta figure out
how, guess I'll have to RTFM.
Rgds
Duncan
On 7/15/07, Mark Thomas <[EMAIL PROTECTED]> wrote:
Lyallex wrote:
> One thing that constantly frustrates me i
Lyallex wrote:
> One thing that constantly frustrates me is the apparent ambiguities in
> the documentation
Then do something constructive about it. You are part of the Tomcat
community and the documentation is as much your responsibility as
anyone else here. If you find a problem, report it. Bett
ourse we are always being advised to put our
thing in our web apps these days so that's what I'm going to try next.
Good Luck
Chers
Duncan
On 7/15/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Ken Bowen [mailto:[EMAIL PROTECTED]
> Subject: DataSources and Tomcat (c
n our web apps these days so that's what I'm going to try next.
Good Luck
Chers
Duncan
On 7/15/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Ken Bowen [mailto:[EMAIL PROTECTED]
> Subject: DataSources and Tomcat (continue thread: Re: How to
> use connection
> From: Ken Bowen [mailto:[EMAIL PROTECTED]
> Subject: DataSources and Tomcat (continue thread: Re: How to
> use connectionpool with tomcat 1.2.9)
>
> I also want to get the Tomcat DataSource machinery working.
> I'm using Tomcat 5.5.9.
>
> I've slavishly fo
RE(David Smith): though I'm guessing that this thread is over and
nobody will read this follow-up. :(
Change to: :) -- at least one follow-up reader.
RE(Chris Shultz):
|> As I said, i did declare the tomcat dataSource in server.xml and
|> WEB-INF/web.xml.
|
|Don't do that. Since you're
Ernesto Reig wrote:
One of the use case of my web app is to allow users to create new
datasources. So in my web app I have a form to create the new datasource.
One of the fields of the form is a input file type, where the user
loads the
datasource driver jar. The other fields are used to get
> From: Ernesto Reig [mailto:[EMAIL PROTECTED]
> Subject: datasources
>
> - Do I need to restart Tomcat in order that new created
> datasources be available??
Tomcat's admin app can create datasources on the fly; you might want to
take a look at how that's done.
- C
Hi all.
One of the use case of my web app is to allow users to create new
datasources. So in my web app I have a form to create the new datasource.
One of the fields of the form is a input file type, where the user loads the
datasource driver jar. The other fields are used to get the values of
Hi,
Reposting my question in case i missed out the crowded session(sent it out
on friday night and get no response :p)..
Thanx
Hi guys,
Lately i'd been trying to deploy my apps remotely using the Tomcat Manager
and Administrator. I found that if :
1) i upload my war file first, then go to the
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. Thi
Hi guys,
Lately i'd been trying to deploy my apps remotely using the Tomcat Manager
and Administrator. I found that if :
1) i upload my war file first, then go to the Administrator to create my
datasource, the Administrator would give me an error page when i select my
context. The error thrown is
Hello,
Much like the recent "Testing DataSourceRealms" thread[1], I'm trying to set up
a web
application with the authentication specified in the application's section,
using a MemoryUserDatabase.
In my web.xml I have:
UserDatabase
org.apache.catalina.UserDatabase
m: Stephen Schaub [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 12:13 PM
To: users@tomcat.apache.org
Subject: Using J2EE DataSources with Tomcat 5.5
When developing web applications that use J2EE DataSources to provide
database connection pooling, I dislike having to jump through all the
When developing web applications that use J2EE DataSources to provide
database connection pooling, I dislike having to jump through all the
hoops that are typically necessary (i.e., set up the DataSource in the
development web application server).
Recently, I discovered that it's possible
Hello Petr,
Well you did give me some hints that helped me a lot! I solved the
problem late last night. It was one of the very nasty bitches
It was as I assumed at the very beginning: If I debug my environment
inside Eclipse it is not the same as running a deployed version in a
Tomcat d
Hello Thomas,
thank you for your informations! I will order ASA developer edition
and learn new database;-) Now, I'm looking for a database which
provides internationalization features; specially ORDER BY [(var)char
| text] column and I have no success:
ASE and localization -- it's a workaround.
P
Hi Petr,
Thanks for your feedback. It still does not work for me, no matter where
I put the damn JAR file. So I will use my own pooling class directly in
my webapp based on Apaches DBCP which is part of Jakarta Commons. It is
probably faster then fiddeling with this bloody driver configuaratio
Hi,
I studied something about Sybase ASA and here are my pieces of knowledge:
- ASA is, unlike ASE, ODBC based insted of TDS
- the JDBC drivers are generic JDBC-to-ODBC bridge and can be used to
access _any_ database throw ODBC
- the JDBC drivers are not freely downloadable (I didn't find any)
-
Hi,
Thanks for your help. It brought me one step further but did not yet
solve the problem! It looks like the context.xml is mandatory. I moved
the configuration from the server.xml to the context.xml. The error
message changed as follows:
org.apache.jasper.JasperException: Unable to get con
Hi,
I'm not using Sybase under Tomcat; I have PostgreSQL...
Eclipse? My configuration is, Eclipse does not modify Tomcat
configuration (this is the default)
In your WebContent under META-INF create context.xml with the
definition. The element does not require
any attributes:
And finaly,
I try to configure a JDBC DataSource for my Adaptive Server Anywhere 9
database. Unfortunately without any success so far!
I use Tomcat 5.5.18.
The error is well known and looks as follows:
org.apache.jasper.JasperException: Unable to get connection, DataSource
invalid: "org.apache.tomcat.dbcp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have strange behaviour with DataSources and Realms.
I define a global datasource jdbc/A, a global Realm (R-A) that looks at
users with datasource jdbc/A
The host H-A is configured and trusted webapps look for passwords in
R-A. I also can
I have a query about how tomcat stores DataSources that are created as part
of the Resource element in the context.xml file.
If the file is stored within the webapp's META-INF directory (as
recommended), will any defined DataSources be made available to other webapp
modules by binding them t
100 matches
Mail list logo