Problems connecting to JDBC data source
We have recently upgraded to JDeveloper 11 g to 10g and flies our applications (primarily the Struts). They are compiled fine, and I am able to create data sources and successfully test the connection to open the data source through the window of Application resources. The problem comes when I try to connect through the application. In Java code, I use a DataSource object to get the connection of InitialContext.lookup ("jdbc/sun_DS1") where the JNDI name is in parentheses. We used to define this connection in JDev 10 g via the file data - sources.xml and it worked very well. Now with 11g and defines the connection to the application, I don't know if I'm missing a step between the creation of the data source and run the application.The error I get is: javax.naming.NameNotFoundException: while trying to search for "jdbc.sun_DS1" did not find subcontext "jdbc." Solved "; rest the name "jdbc/sun_DS1.
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
I spent a lot of time reading Oracle help docs and Googling the problem without success.
Help, please.
Once you run your application on the WLS console launch (http://localhost:7101/console) and look to see if JDev created a data source for you in WLS.)
You may need to add it manually.
Tags: Java
Similar Questions
-
How to define JDBC Data Sources in Oracle MapViewer for Oracle database Release 1 (12.1.0.1) 12 c?
Here is my setup in the conf\mapViewerConfig.xml:
< name map_data_source = "mvdemo12".
jdbc_host = "127.0.0.1".
jdbc_sid = "orcl12c1".
jdbc_port = '1522 '.
jdbc_user = "mvdemo".
jdbc_password = "7OVl2rJ + hOYxG5T3vKJQb + hW4NPgy9EN.
jdbc_mode = 'thin '.
number_of_mappers = '3 '.
allow_jdbc_theme_based_foi = 'true '.
Editable = "true" / >
<!-- **** -->
But it does not work.
After use "sqlplus mvdemo / [email protected]:1522 / pdborcl", it connected to the Oracle 12 c database.
Anyone know it?
Thank you
11.1.1.7.1 use the jdbc_sid syntax, i.e.
as described in the README file, mypdb1.foo.com
-Sources of native data (no container) MapViewer can now use the service name of database instead of SID. To provide a db service name, you will use the same attribute of jdbc_sid, but specify the name of the service with double slashes in front, as follows:
jdbc_host = "foo.com"
jdbc_sid="//mypdb1.foo.com".
jdbc_port = '1522 '.
... ...
/>
Use a container_ds to the 11.1.1.7.0.
that is, instead of using
jdbc_host = "mydbinstance".
jdbc_sid = "pdborcl12c".
jdbc_port = '1522 '.
jdbc_user = "mytestuser".
jdbc_password = "m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q ="
jdbc_mode = 'thin '.
number_of_mappers = "6".
allow_jdbc_theme_based_foi = "false".
Editable = "false".
/>
use
container_ds = "jdbc/db12c.
number_of_mappers = "6".
allow_jdbc_theme_based_foi = "false".
Editable = "false".
/>
In my case the Glassfish 3.1.2.2 JDBC connection pool definition has been
Property
URL jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name
Uncheck the wrap JDBC objects in advanced Panel, that is, the page properties change JDBC connection advanced pool.
Add a resource to that newly created JDBC pool
Use in mapviewerconfig.xml as above
-
Multi or JDBC data source data source
When you configure the JDBC Session persistence in Web App, do we need a MultiDatasource or just a source data JDBC with the Connection Pool?
Published by: user734247 on April 26, 2012 15:24A normal single JDBC targeted to the cluster data source should serve your purpose.
Mutli-datasource is mainly used to connect to multiple databases OR finding themselves in a RAC. This is very useful when you have a failover of the database. If you have a single database, a normal JDBC data source should be enough.Arun
-
Application module runs does not after changing the jndi in the JDBC data source name
I had an obligation to deploy ADF application dev, test, and production. Every environments to different databases.
To reach the requirement above, we had suite
(a) uncheck "Auto Generate and descriptors weblogic - jdbc.xml sync for the deployment" of the Application property.
(b) defined a data source to wls console (console different wls for each env) to dev, test, and production with jndi, jdbc/dashboardDS.
(c) on the module of the application, the connection type changed to "JDBC Data Source" and filled in "jdbc/dashboardDS" to the name of the data source.
Now, we are able to deploy our ADF application for dev, test, and production environments.
But, after doing some changes to the bc4j.xcfg file as in step c), I'm not able to run AM. AM is running in an error message.
Any suggestionsoracle.jbo.jbotester.ErrorHandler$ExceptionWrapper: DataSourceContext could not locate a DataSource for the name: jdbc/dashboardDS at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:96) at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:89) at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:437) Caused by: oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/dashboardDS at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426) at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512) at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855) at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214) at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906) at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632) at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597) at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428) Caused by: javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/dashboardDS at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109) at javax.naming.InitialContext.lookup(InitialContext.java:392) at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404) ... 19 more ## Detail 0 ## oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/dashboardDS at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426) at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512) at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855) at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214) at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906) at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632) at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597) at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428) Caused by: javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/dashboardDS at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109) at javax.naming.InitialContext.lookup(InitialContext.java:392) at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404) ... 19 more ## Detail 0 ## javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/dashboardDS at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109) at javax.naming.InitialContext.lookup(InitialContext.java:392) at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426) at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512) at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855) at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214) at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906) at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632) at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597) at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428) ----- Level 1: Detail 0 ----- oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/dashboardDS at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1418) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426) at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512) at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855) at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214) at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906) at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632) at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597) at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428) Caused by: javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/dashboardDS at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109) at javax.naming.InitialContext.lookup(InitialContext.java:392) at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404) ... 19 more ## Detail 0 ## javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/dashboardDS at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109) at javax.naming.InitialContext.lookup(InitialContext.java:392) at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426) at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512) at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855) at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214) at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906) at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632) at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597) at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428) ----- Level 2: Detail 0 ----- javax.naming.NameNotFoundException: DataSourceContext could not locate a DataSource for the name: jdbc/dashboardDS at oracle.jbo.server.DataSourceContext.lookup(DataSourceContext.java:109) at javax.naming.InitialContext.lookup(InitialContext.java:392) at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1404) at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426) at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512) at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855) at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214) at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906) at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632) at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597) at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
Thank you
AjayYou are talknig Tester ADF BC? Yes, and then change the type of URL JDBC connection for tester to run.
In you AM - configurations - Double click AMLocal and changePublished by: in the line of fire on December 12, 2011 14:56
-
Connect to multiple data sources
Hello
We have a requirement of our ADF application for the request of several databases and therefore several JDBC data sources.
Now, I set up the application according to this white paper:
http://www.Oracle.com/technology/products/jdev/HOWTOs/10G/usingdatasources/using_datasources.html
But it works for a data source. How can I make my ADF BC connect to different sources of data/databases dynamically in the application?
Thanks in advance,
KevinTry this [JDBC Credentials including JSF example dynamic update | http://radio.weblogs.com/0118231/2006/02/16.html#a661]
Timo
-
Do not connect to a data source in obiee 11g
Hi friends,
I can't able to import metadata into a new repository in OBIEE 11 g...
It does not connect to the data source to import meta data
It throws error as the failure of the connection...
I also restarted services and also checked for odbc connectivity that's showing the connection is
success...
Also, I entered the details in Notepad TNS...
Here are the following details
TEST =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 172.16.1.110)
(PORT = 1522)
)
(CONNECT_DATA =
(SID = TEST)
)
)
The data source name that gave me is ORCLBI for my reference...
So why not connect not not at the data source... Help me friends for the importation of tables to my deposit as soon as it is connected to the data source...
Thank you
Harry...Hello
Through Vincent response in this... Can help you... Re: unable to connect to the database of the OBIEE 11g improved SPRKind regards
Srikanth -
List of default data Source is only the list of JDBC data sources
I have several defined JDBC data sources and have added a few sources of data file. But when I look at the report of a new report properties page, the default data Source drop-down list only JDBC data sources, none of the sources of data file. I tried clicking on the link "Refresh Data Source list", but it doesn't seem to do anything.
I'd be able to see my file data sources in the Data Source by default list? I the role of the admin, it should not be a security thing. I give my data file sources a role, and I also have that same role.
Thanks for any help.Hello
The default data source drop box contains only jdbc sources. You must create a new data source, type the file, and then choose the file directory, you have set up and then enter the name of the file. At this point, the default data source is ignored. Weird, I know, but it's like this: 0)Tim
-
Restart WebLogic Server and JDBC data source problem
Hi all
In the Weblogic Console, we have defined a data source JDBC, which is used by the compoistes to connect to the Oracle Apps database using DB adapters (SOA Suite 11 g).
We have seen that whenever the database of applications down and Monte, we wanted to restart the WLS for DB adapters work. Is this necessary, or is this something to do with the way was Weblogic Server setup?
In addition, we noticed that some adapters file does not pick up the files, and a Weblogic reboot seems to fix everything.
Pointers to debug these highy is appreciated.
Concerning
Anish.You can configure your data source so that the connections are tested until they are given to the request.
An example of how to do it can be found here: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/taskhelp/jdbc/jdbc_datasources/ConfigureTestingOptionsForADataSource.html
More information about these features can be found here: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/pagehelp/JDBCjdbcdatasourcesjdbcdatasourceconfigconnectionpooltitle.html#advancedAttributes
You can also set how often to retry on the creation of the connection to another value to zero.
-
Creating a problem of ms access data source
Hello
I tried to create a ms access datasource (standard ms access driver) in the CF admin, and I have this message all the time:
"Connection verification failed for data source: dog.
java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] bad user name or password.
The root cause was that: java.sql.SQLException: [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] bad user name or password. »
I tried with the username-password that I usually use to log into the CF admin, but it does not work. Someone shows me a clue, please?
Thank youTry to enter only these 3 parameters
CF data source name: dog
Database file: c:\pathToDatabase\yourDB.mdb
Use default username: (check this) -
Report Builder 1.0 will not connect to the data source for Reporting SERVICES
We have a few users who are unable to connect to SSRS on SQL Server 2008 using the Report Builder version 1.0
(We will be updating soon, but it's a slow process, and now users have questions)
Instead of disputed for their IDs, they are requested to select a data source. This information is supposed to be filled automatically when the user starts the Reporting SERVICES report designer.
Does anyone know where/how SSRS communicates information to start the application with one click Report Builder, and where, if anywhere, it stores?
Hello
The following forum seems most appropriate for your question:
https://social.msdn.Microsoft.com/forums/en-us/home?Forum=sqlreportingservices
You can get a faster response there.
I hope this helps.
Kind regards
Alberto Morillo
SQLCoffee.com -
Connect target 'Generic Data Source' to a MySQL instance
I'm trying to connect to our TEO (2.2) instance to an instance of MySQL, but unable to do so successfully.
The server of TEO, I loaded the MySQL provider and the ODBC driver.
I then try to define the details of the connection to the target:
Host name:
Default user:
Connection string: Provider = MySQLProv; Data Source =
By clicking on 'OK' throws the following error: "'MySQLProv' provider is not registered on the local computer."
Based on the error, it's for me as TEO server does not recognize this provider, but I would like to help on it got to a point where it does.
Could you please provide me with the steps needed to get our TEO instance to connect to the DB?
Thank you
MarkSolution:
(1) install the Cherry City Software provider: http://cherrycitysoftware.com/CCS/Providers/ProvMySQL.aspx
(2) configure the following connection string: Source Provider = OleMySql.MySqlSource.1; Data =
; Initial Catalog = Thanks a lot C Roberts!
The connection string contains "MySQLProv", that you actually used what?
Looking at the example of c# code (and VB.net) I see this as the provider:
OleMySql.MySqlSource.1
Have you tried that?
It also looks like to
Data source =.
Initial Catalog =
If you arrive there, would probably be best to prosecute TAC for review.
-
Failed to connect to the data source of the network
My access.mdb is located in the folder of public sharing of server1 (everyone has the right to change or remove) and I try to connect my access.mdb to my cold fusion Server (windows 2003 r2 std). It works if I put the mdb locally, but not network.
I got this error
Connection verification failed for data source: cfmydata
com.inzoom.adojni.ComException: a file name not valid.
The root cause was that: com.inzoom.adojni.ComException: invalid not a file name. in the Microsoft JET Database Engine = 0 code Type = 1
The coldfusion service runs under the administrator user and the password. I used the UNC path, but still no luck.
Someone has an idea for me.I thought about it. Well, not really. I've used ACCESS with Unicode. Once I changed to ACCESS only. The connection is successfully verified.
Thank you for all your help paross1
-
Connection to the data source in ColdFusion 8 vs FC 6
Hi all
I have a CF6 app that works well. However, I am in the process of upgrading to CF8, and code no longer works. I went through the documentation and found no information about the replacement code.
My old code gets a data source, acquires a database connection, using the connection and then close the data source.
variables.dsService is a CreateObject ("java", "coldfusion.server.ServiceFactory"). DataSourceService;
variables.dsManager = dsService.getDman ();
variables.dataSource = variables.dsManager.getDataSource (< data source name goes here >);
variables.dbConnection = variables.dataSource.getConnection ();
< insert here the code to use the db connection >
variables.dbConnection.close ();
Under CF8, the error message is "the getDman method not found." So, I've been unable to find any code that will allow me to have access to an object that implements DataSource, so that I can use my connections.
Any advice would be appreciated.
Mike K.In the end, I discovered that what I had was pretty simple
variables.dsService is a CreateObject ("java", "coldfusion.server.ServiceFactory"). DataSourceService;
variables.dataSource = variables.dsService.getDataSource ();
variables.dbConnection = variables.dataSource.getConnection ();
-
Connection verification failed for data source - mysql.jdbc.Driver
I get this message when you try to add a mySQL (don't ask) database in CF Admin checking the connection failed for data source: shownets java.sql.SQLException: no suitable driver available for shownets, please don't check the configuration in the file resources, pilot error: com.mysql.jdbc.Driver
The root cause was that: java.sql.SQLException: no suitable driver available for shownets, please don't check the configuration in the file resources, pilot error: com.mysql.jdbc.Driver I tried all sorts of messages instructions and nothing seems to work. It's on my 32-bit platform. Tryng to get out all the bugs before I installed the 64-bit version.
TNX aIt seems that you have recently installed Coldfusion. I say this because recent versions of Coldfusion no longer ships with JDBC to MySQL driver. You must therefore download and install it yourself.
To do this, go to the download page of the MySQL JDBC driver. Select the platform independent as a platform connector. Download the ZIP file independent of the platform mysql-connector-java - x.x.xx.zip. (x.x.xx represents the version number)
Extract the ZIP file. Open the folder that results and search for the driver. It is a JAR file called mysql-connector-java - x.x.xx - bin.jar (x.x.xx represents the version number). Copy the file in the directory lib to Coldfusion.
Restart Coldfusion. Voila - you're ready to go.
-
Stand-alone WLS, JDBC, never outputs connections data source
11.1.2.1 JDev
My application connects to the Oracle database to do business. I also have a servlet that is called to create and view PDF reports. When the application starts, and every time the servlet is called, an "Active connection" to my JDBC data source. By default, there are 15 connectsions in the connection pool. I see thins in the stand alone WLS Admin Console: Services/DataSources / 'mydatasource' / Connection Pool. Data sources and surveillance shows the number of current connections to my data source. As I monitor the number of "Active connections" and launch myl application in WLS, run reports, etc. I see the number of connections increase. However, the number of "Active connections" never decreases. Even when I log out of the application and exit the browser the number of connections remains the same. I start my application again, and it uses more "active" connections When all connections are exhausted, I get an error.
java.lang.RuntimeException: weblogic.common.resourcepool.ResourceLimitException: no currently available in the MisseeDS pool resources to allocate to applications, please don't increase the size of the pool and try again.
I increase the size of the pool and I can run the application again. However, he continues to use "active connections" and never gives them. Finally a failure once again. Of course, stop and start the stand-alone WLS resets everything.
Can someone tell me how to retrieve the unused "active connections" so my request to not use not all of them and then get an error?
Thank you, SteveLooks like you're using a data source connection in your servlet report but do not call Connection.Close in order to release it to the pool. Can provide you a sample code?
Maybe you are looking for
-
Invited with 2 airports network expansion
I have a Time Capsule 802.11ac (used a router with DHCP and NAT) and an extreme recently added as an extension of the network. I configured the extreme through the Airport utility to expand the networks via a connection time Capsule wireless net of e
-
HOW TO EDIT A PAGE THAT OPENS AUTOMATICALLY WITH A NEW TAB?
whenever I open a tab, a web page which is not my home page how to change?
-
3 network dongle on Tosh Q.3Connectez, (3 software) shows that the dongle connects to 3 network. BUT not connecting not on this laptop, the dongle works fine on my other laptop.If the dongle is ok.Laptop says, unable to connect. etc you want to try a
-
I'm trying to link out of my aarp on a link that says 'read more' but when I click on the link, it goes nowhere
-
trying to update my windows but it shows the found error Code 80070017
I'm trying to update my windows but it shows the found error Code 80070017, I installed Microsoft fixit center to solve the problem, but the problem persists, in addition to this Windows Secuirty Center service is off please guide me how to do?