How to create db connect
Hi All,
Please provide some inputs for How to create DB connection from BW- step-by-step procedure.
Advanced Thanks,
Chandra
Hi,
check this thread.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2f0fea94-0501-0010-829c-d6b5c2ae5e40
http://help.sap.com/saphelp_nw2004s/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/content.htm
Thanks
Ajeet
Similar Messages
-
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 dynamic connection in business view manager.
Hi Sir,
Can u explain how to create dynamic connection in business view manager.
Thanks
Vishali Raghava RajuHI Vaishali,
Can you please elaborate your requirement ?
-Regards
B -
How to create JDBC connection in J2ME with MS-SQL server?
I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........
I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........
-
How to create db connection in IBM WebSphere IDE
Hi,
I am using IBM WebSpher 5.1.1. And i want to create a back end using ms-access. Can any one suggest me how to create the connection.
While i used
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
i am getting class not found. So i assumed that IBM doesnt provided such driver in the IDE.
So can any one tell me the alternative to make a back end connection for Ms Access.
Thanks,
Girish.KHi,
I have just nw, got it succeeded.
I just granted
SQL> grant sysdba to sri;
After that I am able to create connection with role 'sysdba'. Hope this post would be useful for someone who tries.
Thanks for your reply.
Regards,
Sabarisri. N
Edited by: Sabarisri Nagalingam on May 6, 2011 2:42 PM -
How to create punlic connection in discoverer plus
Hi All,
There is one public connetion in discoverer plus but now it is disable , i dont know how to create public connetion
pls help me its urgent
thanks
regards,See you duplicate post - how to create public connection in discoverer plus
Srini -
How to create dynamic connection string with variables using ssis.
Hello,
Can anyone let me know on how to create dynamic connection string with variables using ssis?
Any help would be appreciated.Hi vinay9738,
According to your description, you want to connect multiple database from multiple servers using dynamic connection.
If in this case, we can create a Table in our local database (whatever DB we want) and load all the connection strings. We can use Execute SQL Task to query all the connection strings and store the result-set in a variable of object type in SSIS package.
Then use ForEach Loop container to shred the content of the object variable and iterate through each of the connection strings. And then Place an Execute SQL task inside ForEach Loop container with the SQL statements we have to run in all the DB instances.
For more details, please refer to the following blog:
http://sql-developers.blogspot.kr/2010/07/dynamic-database-connection-using-ssis.html
If there are any other questions, please feel free to let me know.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to create a connection key for an intranet
I'm trying to create a connection key for a client of ours to
update a page on their intranet. The intranet is only available
internally. How do I go about doing this?Hi
Please create the account keys or transaction keys in
SPRO-> IMG-> MM-> Purchasing-> Conditions-> Define Price Determination Process-> Define Transaction/Event Keys
Thanks & Regards
Kishore -
How to create ODBC connection between Oracle 10g and MS SQL Server
Hi,
Can someone help us with the steps to create an ODBC connection between Oracle APPS using Oracle 10g database and MS SQL Server.
Requirement is to extract the transactional data from MS SQL Server on a daily basis and dump it into Oracle tables for an interface to be run. Currently it is being done through Dataloader tool which we feel is causing the data issue with Arabic characters. We want to create the ODBC directly between Oracle and MS SQL Server and check if the data is being pulled correctly.
The data is in sql server 2000 which has data in Arabic_CI_AS character set which is moved to Oracle 10.2.0.3 database with characterset AL32UTF8. The table data is moved to oracle using the dataloader 3.6 standard edition licensed version. We cannot change the character set of Sql Server 2000.
Please help
Thanks
ShanilHi,
If you're trying to PULL data from SQLServer into an Oracle database, you wouldnt use Oracle ODBC driver for that, so you may want to post in the Heterogeneous Services forum instead:
Heterogeneous Connectivity
If you're trying to PUSH data from SQLServer into an Oracle database, you could use ODBC but most folks use OLEDB for that, and the following note on MOS should help:
How to Create a Sql Server Linked Server With The Oracle Provider for OLE DB (Doc ID 191368.1)
As with any NLS related issue, the first thing to do is dump the codepoints of the data in the Oracle database to see if it is stored validly, rather than relying on what the data "looks like" from some tool or other. It's best to check a single row, with only a few characters in it if you can, and you can do that via
SELECT DUMP(<columname>,1016) FROM <tablename> WHERE ...
Hope it helps,
Greg -
How to create Data Connection in PDF forms??
Hi Experts,
I am working on PCR forms(Adobe forms), I want to customize those forms as per the requirement.
Problem is that I don't know how to create New Data Connection with the field in DATA VIEW.
Thanks
Rohit G>
Rohit Gaharwar wrote:
> Hi Experts,
>
> I am working on PCR forms(Adobe forms), I want to customize those forms as per the requirement.
> Problem is that I don't know how to create New Data Connection with the field in DATA VIEW.
>
> Thanks
> Rohit G
Hi Rohit
are you working with interactive forms inside Web Dynpro? If so, Web Dynpro will create the data connection for you. The only thning you have to do is setting the "data sorurce" and "pdf source" in the properties tab of the interactive forms layout element. See for example here: Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]#50 [original link is broken] or other tutotials on web Dynpro and interactive forms : Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]
If you don't work with Web Dynpro, you can create a data connection as follows:
1. Open your *xdp-Template (Doubleclick: Lifecycle Designer is starting
2.Click on File-> New Data Connection.
3, Create the data Connection with the wizard, Your source can be
a) XML Schema
b) OLEDB Database
c) WSDL file
Hope this helps. Please reward points if helpful
Kind regards
Bettina
Edited by: Bettina Hepp on Jun 4, 2008 4:53 PM -
How to create the connection pool using jdbc20 driver?
Hi all,
My configuration is WL4.5 SP5 + jdk1.2.2+WinNT+ Oracle thin driver
8.1.6.
It is creating the connections with weblogic.jdbc.pool.Driver, whereas i
want the connections in the pool to be created with jdbc20 driver. This
how my pool definition is defined.
weblogic.jdbc.connectionPool.PoolName=\
url=jdbc:oracle:thin:@<IP address>:<Instance>,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=40,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=5,\
refreshMinutes=10,\
testTable=dual,\
props=user=XXXX;password=XXXX
The reason is I want to use BLOB's. I have a message posted in jdbc news
group with the exception i got. But since this more of a environement
issue i am posting it here.
Any help is appreciated,
Thanks
JohnHere is the correct pool definition.
################JDBC20 Driver#########################
weblogic.jdbc.connectionPool.jdbc20Pool=\
url=jdbc20:weblogic:oracle,\
driver=weblogic.jdbc20.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=1,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=10,\
testTable=dual,\
props=user=SCOTT;password=tiger;server=goldengate
weblogic.allow.reserve.weblogic.jdbc.connectionPool.jdbc20Pool=guest
Hope this helps,
--Kumar
Kuppuswamy Seshadhri wrote:
I think you are missing the port number.
A working example,
Ensuring
- TSNAMES is setup and the service is running
- set ORACLE_HOME variable in setenv.cmd
weblogic.jdbc.connectionPool.theOraclePool=\
url=jdbc:oracle:thin:@IPADRESS:1521:orcl,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=10,\
testTable=dual,\
props=user=XXXX;password=XXXX;
weblogic.allow.reserve.weblogic.jdbc.connectionPool.theOraclePool=everyone
Kuppu
"John Galt" <[email protected]> wrote in message
news:[email protected]..
Hi all,
My configuration is WL4.5 SP5 + jdk1.2.2+WinNT+ Oracle thin driver
8.1.6.
It is creating the connections with weblogic.jdbc.pool.Driver, whereas i
want the connections in the pool to be created with jdbc20 driver. This
how my pool definition is defined.
weblogic.jdbc.connectionPool.PoolName=\
url=jdbc:oracle:thin:@<IP address>:<Instance>,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=40,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=5,\
refreshMinutes=10,\
testTable=dual,\
props=user=XXXX;password=XXXX
The reason is I want to use BLOB's. I have a message posted in jdbc news
group with the exception i got. But since this more of a environement
issue i am posting it here.
Any help is appreciated,
Thanks
John -
How to create a connection to LDAP ?
Hi ,
I have a problem when config connection from ODI to LDAP.
These are my configuration
JDBC Driver
com.sunopsis.ldap.jdbc.driver.SnpsLdapDriver
JDBC URL
jdbc:snps:ldap?ldap_url=ldap://x.x.x.x:389/&ldap_password=JLLMKAJHGFHLDHDFDDGPGPDB&ldap_basedn=cn=users,dc=cmg,dc=co,dc=th
user : cn=users,dc=cmg,dc=co,dc=th
password :
command to encoded pass
C:\>java -cp c:\orahome_1\oracledi\drivers\snpsldapo.jar com.sunopsis.ldap.jdbc.
driver.SnpsLdapEncoder cmg123
My purpose is :
I need to query some a user table from LDAP and store it into MSSQL
Thank you in advance.
Somchai O.pl don't cross post ...
try http://www.weblogic.com/docs51/admindocs/ldap.html
Srikant, [email protected], http://weblogic.bea.com/, etc.
Ron Reinhart wrote:
I'm looking for information on creating a connection pool for LDAP.
I have a reference to a good article on creating an ObjectPool by Thomas
E. Davis,
http://www.javaworld.com/javaworld/jw-06-1998/f_jw-06-object-pool.html,
and used it to build an ldap implementation. How can I apply this to
create a connection pool within Weblogic?
Thanks -
How to create a connection to access outside of a proxy server?
hi there
i am working beind a proxy server, now i need to write a program that is going to invoke some functions on the internet. how can by pass this proxy server? what do i need to use to create a connection? thanksWhen you run the application use:
java -Dhttp.proxyHost={ip} -Dhttp.proxyPort={port} {app}
where ip is the ip address of your proxy
port is the port the proxy uses
app is the app you are running. -
How to create a connection between SAP BPC 10.0 to SAP BOBJ
Hi friends,
My client want see the reports in BOBJ which are built in SAP BPC. How to create the conncetion between BPC and BOBJ.
1.Is there any guide to create such connection ?
2.how the data feed to BOBJ reports?
please help me ASAP.
Regards,
Saida Reddy GHi,
Check http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8034121d-8419-2e10-229a-99ec678b64c5?QuickLink=index&…
How to Use the EPM Connector to Visualize BPC Data via Dashboard Design (aka Xcelsius) | planingandconsolidation
Hope it helps...
regards,
Raju -
How to create a connection to a Oracle DB located on another machine?
Hi all,
I am quite new in Oracle :(
Right now I am trying to create Connection to Oracle DB that is located on a different machine than the Oracle SQL Developer.
I fill the" Hostname" field with the host's name where the Oracle DB is but I think this is not enough.
Can some one advice me how to manage this task ?
Thank you in advance.
chudomirHi -K-,
Thank you for the fast respond.
I think I have all this information but still I am experiencing problems to connect.
I am connecting to Oracle DB normally like that:
sqlplus ora_ser/ora_ser@ora_ser
This is how I fill the connection form :
Connection Name : Oracle_Conn
Username : ora_ser
Password : ora_ser
Connection type: Basic Role: default
Host name : server_name@my_company.com
Port: 1521
SID : ora_ser
---------- On the server --------------------------------------
cat /etc/tnsnames.ora
ora_ser =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SID = ora_ser)
#ps -ef | grep pmon
oracle 23830 1 0 Oct14 ? 00:00:01 ora_pmon_ora_ser
# netstat -an | grep -i listen | grep 1521
tcp 0 0 127.0.0.1:1521 0.0.0.0:* LISTEN
I am doing something wrong I guess, but do not know what :)
Chudomir
Maybe you are looking for
-
Help...I'm connected to my network and the internet but cant get on!
Ok, so im connected to the internet and my network but when i open safari i can't get on the web. It says to run network diagnostics and when i do it tells me all is working fine!!! I've now added Firefox which will allow me on the net. But when user
-
Purchase Order Idoc Issue - PORDCR103
Hello Experts, I have one PO and 5 PO Items in my source. I sent Idoc(PORDCR103) to SAP from SAP BODS4 successfully and I was expecting to see 1 PO with 5 items But I saw 5 PO's were created with 5 items each instead of 1 PO with 5 items. Please find
-
New late 2013 MBP Retina not using 802.11ac
Hi, I recently started to use a late 2013 15" Macbook Pro Retina with the newest Time Capsule. However, it's not connecting with 802.11ac. Rather it's using 802.11n. Is there a setting that I need to change to "force" it to use 802.11ac? Of note,
-
Class Loader Time in VisualGC 3.0-Display
Hello, I�m monitoring my application with visualgc 3.0 under jdk1.5_09. I�m wondering why the Class Loader Time-Panel always shows activity even the amount of loaded classes remains nearly constant. What is shown is this panel??? Does the classloader
-
How can I use the new tablet experience in ICS?
I have a Galaxy Tab upgraded to Ice Cream Sandwich and installed Firefox, but it shows normal vertical-mode-oriented user interface. How can I get the new tablet interface based on your promoted one?