Is it possibel to create one connection [pool for one report only
Hi is it possibe to create one connection pool for one report only. Others report are running from the another connection pool under same DB.
Thanks,
Hi,
Why do u want seperate connectionpool for that single report?
I dont think its possible.Direct database request will be good solution for this.Try importing those columns which are used to build that report into physical layer and create new subject area.Not sure weather its right way to do.
Regards,
Srikanth
Similar Messages
-
Help in creating the connection pool for Oracle 8i using Jdriver
Hi
Iam pretty new to Weblogic and would be greatfull if some one can help me
out in finding the parameters to be specified in Weblogic console for creating
a Connection pool for Oracle 8i database running on solaris. I have installed
necessary client libraries in weblogic machine.
The details for my database are as follows
database name : mydb
database server : 173.24.24.1
database port : 1521
username : myuser
I would appreciate if you can provide me the following details to be entered in
weblogic console for creating the connection pool
URL
DRIVER CLASS NAME
PROPERTIES
ACL NAME
PASSWORD
Thanks,
S HariHari
Jdbc Connection Pool Configuration
URL= jdbc:weblogic:oracle
DRIVER CLASS NAME=weblogic.jdbc.oci.Driver
PROPERTIES
user=myuser
password=<password in mydb>
server=mydb
After configuring Connection Pool Select Targets tab. Select Server from Available
to Chosen.
Deepak
Hari wrote:
Hi
Iam pretty new to Weblogic and would be greatfull if some one can help me
out in finding the parameters to be specified in Weblogic console for creating
a Connection pool for Oracle 8i database running on solaris. I have installed
necessary client libraries in weblogic machine.
The details for my database are as follows
database name : mydb
database server : 173.24.24.1
database port : 1521
username : myuser
I would appreciate if you can provide me the following details to be entered in
weblogic console for creating the connection pool
URL
DRIVER CLASS NAME
PROPERTIES
ACL NAME
PASSWORD
Thanks,
S Hari -
Problem creating a connection pool for mssql server
Hi
i downloaded the microsoft type 4 driver for JDBC and i have installed it. now i am trying to create a connection pool for MS Sql server but each time i ping i keep getting an error telling me
Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket
please can someone help out on this
IfeanyichukwuI assume that you installed the driver correctly. You did go into the app sever admin and set the JVM path? You do this by going to Application Server | JVM Settings | Path Settings and putting in an entry for Classpath Prefix.
If that is done and it's not something basic like your database isn't turned on, then it must be your settings. To to Sun's site and search for dbping. http://developers.sun.com/prodtech/appserver/utilities/dbping/dbping_overview.html
Deploy this program and run it. It is a very simple tool that lets you test different property settings. Play around with different settings until you get a ping.
If that doesn't work post your connect pool settings.
Good luck
Mike -
Different connection pool for a report
Hi experts,
For one my reports using 'CLOBS' like explained (http://oraclebizint.wordpress.com/2007/11/12/oracle-bi-ee-101332-working-with-clob-fields/) I need to disable parallel processing because it's not supported.
NO_PARALLEL and NO_INDEX_PARALLEL hints at the query level couldn't disable the parallelism.the optimizer still use it.
I thought about having a new connection pool that contains 'before query' and 'after query' statements that will disable the parallelism.This will take me a lot of time to rebuild the whole Presentation and Business layers to point to a new physical tables.
Any one has an idea about how I can use another connection pool for a specific report?
RegardsI have the problem. My issue is that I need to have a webservice use the 2 database connection pools I have created. Originally the pools were Non-XA. When I change them to XA I cannot get the JMS JDBC Store to work.
java.lang.Exception: WebLogic Pool Driver doesn't support XA driver, Please change your config to use a Non-XA driver
However, part of what you wrote below I don't understand. You said you configured a brand new JMS JDBC Store and was able to use an XA Connection Pool? I tried to delete my existing one and create it anew, but was not able to use an XA pool.
Is there any solution around this? I need to have an XA Pool for a webservice but non-XA for my JMS Store.
"After much digging I found documentation that you cannot configure an XA JDBC Connection Pool for use with a JMS JDBC Store: http://edocs.bea.com/wls/docs81/ConsoleHelp/jms_config.html#1128929
The only thing is that if I configure a brand new JMS JDBC Store and make it use the XA JDBC Connection Pool (instead of just selecting the new MySQLXAConnPool from the list that includes the non XA pool) it works without an error." -
Error while creating JDBC connection pool for MSSQL database
Hi,
From my windows m/c, I am trying to configure a connection pool to connect to
an MSSQL database on another m/c. While setting the targets, i get the error :-
<Mar 11, 2004 6:17:52 PM GMT+08:00> <Error> <JDBC> <Cannot startup connection
pool "gcdb_connpool" Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver>
I have added the path of the jars for the driver in the classpath.
Any help would be appreciated.
Thanks.Hi. Read the weblogic startup script, and follow how it creates
a classpath argument for the server. You must get the driver jars
into that classpath.
Joe
Neha wrote:
Hi,
From my windows m/c, I am trying to configure a connection pool to connect to
an MSSQL database on another m/c. While setting the targets, i get the error :-
<Mar 11, 2004 6:17:52 PM GMT+08:00> <Error> <JDBC> <Cannot startup connection
pool "gcdb_connpool" Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver>
I have added the path of the jars for the driver in the classpath.
Any help would be appreciated.
Thanks. -
Unable create Connection pool for Oracle apps Adapter.
Hi All,
We are trying to create a connection pool for Oracle Apps adapter in 11G SOA suite.
However during the process getting the following error:
An error occurred during activation of changes, please see the log for details.
A <jndi-name> is specified for the resource adapter bean in weblogic-ra.xml, however no <resourceadapter-class> element is specified in ra.xml
Can any one help us on this.
Thanks
Parker.Please refer section "Configuring Connection Information" at below link -
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10537/T430238T430340.htm#T464886
Regards,
Anuj -
Problem when creating connection pool for Informix
Hi all,
could you please help me to create a connection pool for informix?
I use a com.informix.jdbcx.IfxXADataSource driver and here are the properties
user=informix
password=informix
url=jdbc:informix-sqli://TW010766:1526/vka:informixserver=TW010766
dataSourceName=TestEntityPool2
portNumber=1526
databaseName=vka
ifxIFXHOST=TW010766
serverName=vka
Here is the error message :
Error during Data Source creation: weblogic.common.ResourceException: DataSource(TestEntity)
can't be created with non-existent Pool (connection or multi) (TestEntityPool2)
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
Could you please tell me what's wrong with the configuration?
Many thanks in advance.
HoangHoang Nguyen wrote:
For JBuilder :
URL : jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
Driver : com.informix.jdbcx.IfxXADataSource
username : informix; password : informix
For WebLogic :
URL : jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
Driver : com.informix.jdbcx.IfxXADataSource
Properties : password=informix
user=informixOk. The problem may have to do with your reiterating all the properties below.
url=jdbc:informix-sqli://tra019746:1526/vka:informixserver=vka
portNumber=1526
databaseName=vka
serverName=vka
ifxIFXHOST=tra019746All these above are implicit in the URL you give to jBuilder and weblogic.
Try defining the pool with only the user and password as properties.
>
>
Error:
Error during Data Source creation: weblogic.common.ResourceException:
DataSource(TestEntity)
can't be created with non-existent Pool (connection or multi) (TestEntityPool2)
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
Thanks Joe
Hoang Nguyen wrote:
Joseph,
The driver that I use comes from informix.
I've tried with JBuilder and no problem. JBuilder can connect to informixand
I can see the tables from JBuilder.
There's something wrong in the configuration with Weblogic.
Many thanks for your help.I understand that there's something wrong with the configuration with
weblogic,
but the problem is due to a mistake in the input you gave to the pool
definition,
and I want to solve that. Please show me the URL, driver name and properties
you give to JBuilder to make Informix connections. Also, show me the
first few lines
that get printend out when you run the weblogic start script. I want
to see the
line that prints out the classpath used in the script for starting the
server.
thanks,
Joe
Joseph Weinstein <[email protected]> wrote:
Ok, I would like you to download Informix's driver from them, and
run one of their example programs, just to prove you can connect to
informix, using their driver, with no weblogic in the picture. We
have
to establish that, because that's all weblogic will be doing anyway.
Once
we know how to connect to informix via JDBC, we can do weblogic stuff.
Joe
Hoang Nguyen wrote:
Hi,
I forgot to mention that I'm working with Weblogic server 7 and
Informix 2000 9.20.
For the configuration, I followed the example given by Weblogic
http://edocs.bea.com/wls/docs70/jdbc/thirdparty.html#thirdparty001,
table 5.2
Here is the example given by weblogic :
user=username
url=jdbc:informix-sqli://dbserver_name_or_ip:port_num/dbname:informixserver=dbserver_name_or_ip
password=password
portNumber =port_num;
databaseName=dbname
serverName=dbserver_name
ifxIFXHOST=dbserver_name_or_ip
If you take a look at the link, you'll see a note :
"In the Properties string, there is a space between portNumber and=". I've tried
that but it seems that this bug had been resolved. When I put the
space,
I've
an number exception.
Thanks for your help.
Hoang
Joseph Weinstein <[email protected]> wrote:
Nguyen Hoang wrote:
Hi all,
could you please help me to create a connection pool for informix?
I use a com.informix.jdbcx.IfxXADataSource driver and here are
the
properties
user=informix
password=informix
url=jdbc:informix-sqli://TW010766:1526/vka:informixserver=TW010766
dataSourceName=TestEntityPool2
portNumber=1526
databaseName=vka
ifxIFXHOST=TW010766
serverName=vka
Here is the error message :
Error during Data Source creation: weblogic.common.ResourceException:DataSource(TestEntity)
can't be created with non-existent Pool (connection or multi)
(TestEntityPool2)
This means the pool was unable to make an informix connection withthe
properties
you gave. Please show me the few lines from an informix driver
example
program
that makes a successful JDBC connection to the DBMS you want, andI will
show
you how to define a pool for weblogic to do the same.
Joe
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:189)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
Could you please tell me what's wrong with the configuration?
Many thanks in advance.
Hoang -
Create a dedicated connection pool for initialization blocks
Hi,
I'm using OBIEE11.6, then I set a session initialization block in RPD, and this block is based on connection pool '"My_DB".
"My_CP"'.
when Consistency Checking it warning as follow:
Initialization Block 'Authorization' uses Connection Pool '"My_DB".
"My_CP"' which is used for report queries. This may impact query performance.
but there is no table under the connection pool "My_CP",so I don't know why it say it's used for report queries? and how to remove the warning?
any one know it?
Thank you!Hi Leo,
Generally, when there is only one connection pool for a database in physical layer, the BI Server understands this to be the only connection pool for queries (I do not think this really checks if there are underlying tables. I think this is because there is a way to add tables to a database by right clicking on connection pool and choosing import metadata.).
As a good practise, when you have init block pointing to a specific database please make sure that you create another connection pool just for the use by init blocks. This would make sure that the report queries and init blocks do not go on a single pool.
So, for your case, create a second connection pool and point your init blocks to the second one. Yes, you cannot point to the first one as it is kind of reserved by BI Server for reports. (Unless you change this in the Options menu of .rpd)
Hope this helps.
Thank you,
Dhar -
Set up DB Connection Pool for Oracle DataBase Using Java App Server8
Hi,
In the Admin Console of Java App Server 8, I tried to create a connection pool for the oracle database. I chose Resource Type to be "javax.sql.ConnectionPoolDataSource" and the Vendor is Oracle. So the Data Source Class Name is filled by the system to be "oracle.jdbc.pool.OracleConnectionPoolDataSource". Now, I set up the class path to point to the database driver class "sun.jdbc.odbc.JdbcOdbcDriver" and also the to the Data Source Class Name. Also I set up the JVM options in the console. Restart the server, and then try to ping to the database, but get the error:
Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: No suitable driver
I don't understand what else I should do and why this error is coming?
Please help me out.
Thank you
Regards,
SarahHi,
I've already solve the problem. I did the following:
set the Url to be: jdbc:oracle:thin:@hostname:port:SID
set username
set password
add oracle.jdbc.drivers.OracleDriver into the JVM options -Djdbc.drivers
restart the server
test the connection
it works :) -
Query about multiple connection pools under one database
Hi,
I have s query about connection pool, now we have a requirement,
we have two schemas in one db, some data store in one schema, some in another schema,
all tables are the same, but data is different, we want to retrive all data under two schemas,
so we need two connection pools under one database,
I have set two system DSN, and each connection pool was mapping to one DSN,
but after I importing tables into RPD, when I view data, there is a dialog let me select connection pool. so If this, when we drag columns in answer, it will definitely get wrong.
so how to realize this function about multiple connection pools under one database and we can get data normally.Hi,
Try this step
1)Better to create two different DSN for the same database with different user id and password
2)now create multiple connection pool in the same database in u r RPD physical layer .
also refer this link : for imporving performance
http://obiee101.blogspot.com/2009/01/obiee-multiple-connection-pools.html
http://gerardnico.com/wiki/dat/obiee/connection_pool
Thanks
Deva -
Question on the rpd has more then one connection pool
Here is a question: I have create a dedicated connection pool for rpd metadata translation, the user guide says that connection pool will used only for translation,
but when I view data from the table it make me to select a connection pool,
so when the rpd deployed to server , how does the server decide to use which one to query data which one for the translation?Hi,
When you create variables then separate connection pool plays a major role. And while creating variables you are made to choose a connection pool. So when ever the variable is called then the connection comes into picture. Same works for translation too.
Please let me know further and hope this helped/ answered.
Regards
MuRam -
Create A Connection Pool In the ServletContextListener
The Specification says that we should create the connection pool in the ServletContextListener. I have the code for creating a connection pool (see below). How do I create it in the ServletContextListener?
import java.sql.Connection;
import java.sql.SQLException;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
public class DBConnection
public static Connection getDBConnection() throws SQLException
Connection conn = null;
try
InitialContext ctx = new InitialContext();
DataSource ds = ( DataSource ) ctx.lookup( "java:comp/env/jdbc/MySQLDB" );
try
conn = ds.getConnection();
catch( SQLException e )
System.out.println( "Open connection failure: " + e.getMessage() );
catch( NamingException nEx )
nEx.printStackTrace();
return conn;I use the connection pool feature provide by the server I use. Is this what I should do? Please confirm.
import java.sql.Connection;
import java.sql.SQLException;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
import javax.servlet.*;
public class CreateResources implements javax.servlet.ServletContextListener
public void contextInitialized(ServletContextEvent sce)
public static Connection getDBConnection() throws SQLException
Connection conn = null;
try
InitialContext ctx = new InitialContext();
DataSource ds = ( DataSource ) ctx.lookup( "java:comp/env/jdbc/MySQLDB" );
try
conn = ds.getConnection();
catch( SQLException e )
System.out.println( "Open connection failure: " + e.getMessage() );
catch( NamingException nEx )
nEx.printStackTrace();
return conn;
public void contextDestroyed(ServletCotnextEvent sce)
} -
How to create a connection pooling in Netbeans 6.0 using the oracle driver
hi all,
I am using Netbeans 6.0. Apache Tomcat 6.0.14 server, oracle 9i.
I tried to create a connection pooling using tomcat web server.
I have included the following code in context.xml and web.xml.
CONTEXT.XML:
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/network1">
<Resource name="jdbc/myoracle"
auth="Container"
type="javax.sql.DataSource"
username="scott"
password="tiger"
factory="BasicDataSourceFactory"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:odbc:thin:@127.0.0.1:1521:mydb"
maxActive="20"
maxIdle="10"
maxwait="-1"/>
</Context>
WEB.XML:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<resource-ref>
<description>Oracle Datasource example</description>
<res-ref-name>jdbc/myoracle</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
After that i have included the following JDBC driver's jar files in the $Catalina_Home/lib folder.
classes 111.jar,
classes 111_g.jar
classes12.jar
classes 12_g.jar
classes12dms.jar
classes12dms_g.jar
nls_charset11.jar
nls_charset12.jar
ocrs12.jar
ojdbc14.jar
ojdbc14_g.jar
Then i stop the tomcat web server and start it again.
In jsp page i have included the following code:
Context ctx=new InitialContext();
Context envctx=(Context)ctx.lookup("java:comp:env");
DataSource ds=(DataSource)envctx.lookup("jdbc/myoracle");
Connection con=ds.getConnection(); ----->(In this line an error occured that Connection class cannot be found.)
please help me how to create a connection pooling and rectify the error in conneciton.
Thanks in advancePlease refer
http://www.netbeans.org/kb/60/web/customer-book.html -
How to Create a connection pool in OSB java callout
Dear Team,
In our project, we need read some data from DB, and do corresponding operation. currently, we need setup the connection first, execute the SQL, and close the connection.
But the concurrency of call is very high, is there a way to create a connection pool, then we can use the connection pool to get the connection and execute the SQL, then return the connection to the pool.
if connection pool is not available, is there any way to create the connection outside the java callout, that we can just execute the SQL in java callout.
The OSB version is 11.1.1.6.0
Thanks.
Best Regards,
Raysen Jia
Edited by: Raysen Jia on Oct 16, 2012 8:44 AMHi Team,
Thanks for your help.
What I need is not only the db connection, may be other kind of things, such as read configuration from file...
If I write the code in java callout with static java method to create and close the connection, each time when request come in, OSB will create a new connection (or read the file), I think it's not the best practice to do this kind of work.
I think the weblogic is running in JVM, is there any way we can define variables or new object in the JVM directly? -
Error in creating a connection pool (No suitable driver)
I try to create a connection pool in a Weblogic server 7.0 with the following config:
URL:
jdbc:oracle:oci9:@db_name
Driver Classname:
oracle.jdbc.driver.OracleDriver
Properties(key=value):
user=user_name
password=user_password
dll=ocijdbc9
server=db_name
protocol=oci
my computer (windows 2000) has installed Oracle 9i client, and this connection
pool will connect to Oracle 8i server. Besides, I have config classes12.zip in
the "classpath" and ocijdbc9.dll in the "path" environment variables.
Can Oracle 9i driver connect to a Oracle 8i server? Or there is other problems?
Thanks in advance.Please try URL = jdbc:oracle:oci8:@db_name... that should be fine.
Yes, you can connect to 8i oracle database using 9i driver.
Also, make sure you have classes12.zip in classpath and ocijdbc9.dll in path.
Thanks,
Mitesh
Jacky Ho wrote:
I try to create a connection pool in a Weblogic server 7.0 with the following config:
URL:
jdbc:oracle:oci9:@db_name
Driver Classname:
oracle.jdbc.driver.OracleDriver
Properties(key=value):
user=user_name
password=user_password
dll=ocijdbc9
server=db_name
protocol=oci
my computer (windows 2000) has installed Oracle 9i client, and this connection
pool will connect to Oracle 8i server. Besides, I have config classes12.zip in
the "classpath" and ocijdbc9.dll in the "path" environment variables.
Can Oracle 9i driver connect to a Oracle 8i server? Or there is other problems?
Thanks in advance.
Maybe you are looking for
-
Apple TV on tv with receiver - not working
Hi...are there any tricks to setting this up? Tried hdmi from Apple TV into receiver....worked for 1 day, then "no signal " (on ANY input/HDMI tv port) - by the way, I got a HULU 3 for Xmas and the exact same thing happened. Only worked for 1 day.
-
I just connected my iPod after opening iTunes to make a playlist and repeatedly have gotten the message that 'iTunes has detected an iPod that might be corrupted." I can either disconnect and try again, which I've done multiple times to no avail, or
-
Validation and F4 help on an application server file path parameter
Hi I have a field on a selection screen called File Path and it is for a download program where the user needs to specify the path for the download (NOT THE ACTUAL FILENAME). I am trying to find a function or method that allows a user to use F4 help
-
I have multiple tabs open. I want to look at one of them and I click on it. Instead of simply switching to that tab, Firefox opens a new window. Very annoying! Why does it do this and, more importantly, how do I make it stop? I'm using Firefox 36.0.1
-
N95 Contacts in Outlook Express
Hi, I've recently purchased an N95 and I remember on an older Nokia phone that I had and when I saved my contacts from my phone to my PC that all the names and numbers were saved in a viewable form in Outlook. Now I only have Outlook Express av