=application.log /
/log
data-sources path=data-sources.xml /
/orion-application
Thanks,
Guy.
-
RE: Multiply datasources for one application??
* From: The elephantwalker
* Subject: RE: Multiply datasources for one application??
* Date: Tue, 15 Jan
: Multiply datasources for one application??
Mike,
You can use different data-sources by using a different location name for
each data-source. You need to make sure that each data-source within your
data-sources file has a distinct location name.
You apps can use different data-sources.xml
application with
multiply datasources and if so how do you go about setting it up. We tried
to set it up with different datasource declarations in one datasource but it
always reads the last datasource declaration into the driver manager.
Please help if you can, Thanks.
Mike
, 2002 10:57 AM
To: Orion-Interest
Subject: Multiply datasources for one application??
Hi everyone, if there is anyone that can give me a hand I would really
appreciate it.
My Problem is that I have an application developed using orion and I works
great but we are trying to set up multiply test
Title: CMT and datasources
Hi all
How can I get an Oracle XA-datasource to work in Orion in such a way that it leverages Orion transaction management (CMT)?
Here is my attempted datasources.xml.
data-source
class=oracle.jdbc.xa.client.OracleXADataSource
name=DB
location=jdbc/DBXASource
Ok..I read the OrionSupport and did as it says. It appears that this works:
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup(jdbc/MyDS);
The problem is, when I try to get a connection from the datasource, its
telling me I am using an invalid user and password.
Title: RE: DataSources..how to get servlets to work with them?
Its all depends how do you configure your data-source.xml file.
Use the following example
?xml version=1.0?
!DOCTYPE data-sources PUBLIC Orion data-sources http://www.orionserver.com/dtds/data-sources.dtd
data-sources
data
As far as I know, you can't access datasource connections 'remotely'.
On Sun, 25 Mar 2001, Duane Fields wrote:
I've a problem accessing a pooled datasource from OUTSIDE the web
application. I can access and use the regular datasource, but when I try to
get a connection from the pooled
Hi
-Ursprngliche Nachricht-
Von: Falk Langhammer [mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 9. Mrz 2001 17:07
An: Orion-Interest
Betreff: Re: Settings for pooled datasources, timeout errors
Hi
From: "Jens Stutte" [EMAIL PROTECTED]
no, it is a SAP DB kern
What is the simplest, most server-independent way of using several
datasources with the same application?
I would like a number of different customers to be able to use the same
web-application, but with different database instances. It is important for
me to use as few Orion specific features
Hi,
-Ursprngliche Nachricht-
Von: Falk Langhammer [mailto:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 8. Mrz 2001 19:21
An: Orion-Interest
Betreff: Re: Settings for pooled datasources, timeout errors
Hi Jens,
interesting posting!
I think You still could get the JDBC source
ource and table to be used using the
parameters data-source and table."
"You can find the file in $(APP-DEPLOYMENT-DIR)/$(APP-NAME)/ejb"
You may identify multiple data sources in the
ORION/config/data-sources.xml file. Here I identify two separate
datasources, named "Default dat
Hi
From: "Jens Stutte" [EMAIL PROTECTED]
no, it is a SAP DB kernel problem.
Does it mean this problem exists for R/3 installations - I mean they need a
reboot after a couple of million SQL statements? Hard to believe! Do all SAP
customers only have toy problems? ;-))
Never used Firebird
s running an active transaction on this
db-connection. This means, that it will be either rolled back or the so far
made work will be committed without reaching the end of the transaction!!!
I'd like to know if i did not get something regarding the configuration of
datasources and if others had p
snip
I'd like to know if i did not get something regarding the configuration of
datasources and if others had problems with the timeout settings.
Hi Jens,
I believe your observations are correct and your not doing something wrong.
We have also had a number of strange effects in that area
Hi Jens,
interesting posting!
I think You still could get the JDBC source code (since it is open source
now and there is a download option for it). Maybe, the bug is in jdbc, not
the sapdb itself. Then You could fix it (maybe running a 36h debug session
;-) and post the fix. I mean, isn't it
To be honest I know little about how to configure datasources for Orion.
What should I read to understand the differences between the classes you can specify
in 'data-sources.xml'?
Thanks,
FE
Frank Eggink
Swift Applications
[EMAIL PROTECTED]
+31 6 28847325 (voice)
+31 33 4532464 (fax)
Take a look at http://www.orionserver.com/docs/api/index.html.
-Original Message-
From: Frank Eggink [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 8:44 AM
To: Orion-Interest
Subject: How to configure datasources
To be honest I know little about how to configure
in.executeSQL("jdbc/pooled/MyDS", "SELECT * FROM
TestTable");
This returns a serializable rowset from the server... That's it. Not
portable,
very disappointing. I really hoped DataSources would work from the
client side.
It seems you can only do it through the appadmin. PLEASE C
Hi everybody
Please help me solve this error
I have a problem running my ejb application I have
an already prepared .ear file and i want to run it in orionserver.
I have made the necessary changes in
server,principal,datasource and default-web-site xml files
but when i start my orion server
your
datasource, if using CMP, mustn't be Access...
Use
any DB with transactional support
JP
-Original Message-From: tasneem
[mailto:[EMAIL PROTECTED]]Sent: Miércoles, 29 de Noviembre de
2000 6:54To: Orion-InterestSubject: Error:no default
cmt-datasources
Hi everybody
Thanks juan
But my datasource is SQL 7.0 still i am getting
this error
- Original Message -
From:
Juan
Lorandi (Chile)
To: Orion-Interest
Sent: Wednesday, November 29, 2000 6:16
PM
Subject: RE: Error:no default
cmt-datasources
your
datasource
Hi,
Error received on deployment:
Error loading package at
file:/D:/install/orion/applications/configurator/configurator-ejb/,
resource-ref 'jdbc/OracleEJBDS' referenced from resource-ref-mapping not
found
data-sources.xml(snip):
data-sources
data-source
Hi, everyone!
I am new to Orion and I am trying to deploy my (test) application. However,
I have some problems. When running my client I get the following exception
(pasted from application.log):
2000-11-07 13:21 Error in bean Account
interbase.interclient.InvalidOperationException:
Hello,
I'm trying to setup different datasource locations for different
applications, but can't get it to work for some reason. Can someone give me
a clue?
Orio does not complain when deploying. As far as I can understand the
datasources.xml file in /config is ok (contains a tag for TestDS).
At 11:45 06.11.00 , you wrote:
Hello,
I'm trying to setup different datasource locations for different
applications, but can't get it to work for some reason. Can someone give me
a clue?
Orio does not complain when deploying. As far as I can understand the
datasources.xml file in /config is ok
Hi!
Is there a way to use orion as my connection manager, using jndi to
perform a lookup for a Datasource, from an stand-alone app (not a
client-app). I set up the following properties:
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
r.com/docs/index.html
Is this correct?
no, it's outdated. as you have assumed data-sources are specified at the
application level (see dtd for orion-application.xml) + you have the option
to put the datasources you want to have "globally" in the
global-application.xml. so you have all the
t
Subject: Server.xml and datasources
In the new Orion documentation it says:
"The server.xml file also contains references
to the other configuration files.
Specifically, in the server.xml you specify
- Where the data-source configuration is located"
Line 596 in http://www.
Hi Robert,
I certainly don't claim to fully understand, but it is my belief (from
previous mailings - including from the Orion developers) that you should
always be using the ejb-location. So why are the others there? I don't know..!
Nick Newman, SCIENTECH Inc
At 07:32 PM 7/30/00 -0400, you
At 09:06 31.07.00 , Nick Newman wrote:
Hi Robert,
I certainly don't claim to fully understand, but it is my belief (from
previous mailings - including from the Orion developers) that you should
always be using the ejb-location. So why are the others there? I don't
know..!
if you need an
At 09:06 31.07.00 , Nick Newman wrote:
Hi Robert,
I certainly don't claim to fully understand, but it is my belief (from
previous mailings - including from the Orion developers) that you should
always be using the ejb-location. So why are the others there? I don't
know..!
if you need an
If I have several datasources, how do I specify which one
a CMP Entity bean is to use ?
At 08:43 30.07.00 , Rick Bos wrote:
If I have several datasources, how do I specify which one
a CMP Entity bean is to use ?
look at the entity-deployment element in orion-ejb-jar.xml. it has a
data-source attribute for that. change it, orion will not modify it on the
next redeployment
d not seem to have an affect.
-Original Message-
From: Robert Krueger
To: Orion-Interest
Sent: 7/30/00 2:37 PM
Subject: Re: Multiple datasources and CMP
At 08:43 30.07.00 , Rick Bos wrote:
If I have several datasources, how do I specify which one
a CMP Entity bean is to use ?
look at
TECTED]
Sent: Sunday, July 30, 2000 21:50
Subject: RE: Multiple datasources and CMP
Can I put orion-ejb-jar.xml in my development directory
( where path=" " in server.xml points to ), or do I have
to go into the application-deployments directory to change it ?
I copied orion-ejb-jar.xml to
Hi, I am using a JDBC 2.0 driver and configured the data-sources.xml with
this driver.
I want to know which JNDI location I should be looking up to getConnection()
in my application to use connection pooling - these are the choices:
location="jdbc/DefaultDS"
If I have two data sources in
/config/data-sources.xml.
Where do I specify which data source I want to use in my EJB ?
Do I have to edit the orion-ejb-jar.xml in the
application-deployments directory ?
Thanks.
38 matches
Mail list logo