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.K
Hi,
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
Similar Messages
-
How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS
Hi
I have read the article on SDN called "How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS", which is also the name of my posting.
The reason why I post this is that I've tried to follow the links in the PDF to get the file WebsphereEpSsoLib.zip but I get an error 403, which tells me that the file is not there.
Does anybody know where this file went or can somebody tell me an alternative place to get this file?
JacobPlease open the associated whitepaper, and you can find the download link to the .ZIP file on page 4.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ibm/how to set up single sign-on between an ibm websphere portal and the sap enterprise portal using jaas.pdf
Hope that works!
Elise -
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 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 -
SSL connectivity for IBM WebSphere MQ to integrate with XI
Any information of SSL connectivity for IBM WebSphere MQ to integrate with XI???
Ravi,
Have you gone thru this SAP Note - 912314 - SSL support for IBM Websphere MQ/ MQ Series
raj.
[Give Support|http://www.sapfeedingknowledge.com/show_your_support|I'm Working here for Global cause] -
Hi All,
Please provide some inputs for How to create DB connection from BW- step-by-step procedure.
Advanced Thanks,
ChandraHi,
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 -
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.
Maybe you are looking for
-
Hello Everyone. OK I upgraded to OS X Mavericks without thinking that by doing this would stop me using my Epson 4990 scanner as no driver / software currently available - OK my fault. Anyway as Epson have not yet provided an update (yet?), all advic
-
The ethernet port on the X61s doesn't work while docked in the Ultrabase but does when not in the Ultrabase. Is this normal? If not how do you get the port to work while in the UltraBase? Solved! Go to Solution.
-
How to view AR Due Date onto Report CJIA
Hello We are putting in place Project Cash Mngt. I can view my line items by project in Report CJIA but i can't view any due date. Besides, i can see data in CJIA but there is nothing at all available in CJIB. what do i miss ? Thanks Stéphane
-
What metadata is saved within the Quicktime file from the Browser window?
I'm wondering if anybody could provide a list which contains the metadata that's saved in relation to the available columns in the browser window in Final Cut. For example, I know if I change a clip's Reel name, that information is saved into the act
-
I have Photoshop Elements 10. It appears that I need a plugin to upload RAW files and the plugin necessary for my new Olympus E-M10 is not compatible with version 10. Am I getting this right? Do I have to buy a new version of Photoshop Elements ju