Can not create the connection in the enrironment!!
hello,every one:
please see the following code:
Environment *env = Environment::createEnvironment(Environment::OBJECT);
Connection *conn = env->createConnection(userName,password,connectString);
try
//use the conn
catch (SQLException &ex)
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
throw;//re-throw
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
Environment *ev = Environment::createEnvironment(Environment::OBJECT);
//the program stopped here,display i can not create the new connection
Connection *cn = ev->createConnection(userName,password,connectString);
ev->terminateConnection(cn);
Environment::terminateEnvironment(ev);
I have terminated the connection and the environment,then why I can not create the
connection in the new environment?
I have tried several times,if you connect the same database as the former,then it
does not work,but if you connect a new database ,it can create the new connection!
plus:I don't want to use conection pool .
Can I have some method to solve the problem?
Please help me!
Thanks a lot in advance!
tony from China
Hi Tony,
This similar sample works perfectly fine for me. Can you
retry with this?
#include <iostream>
#include <occi.h>
using namespace std;
using namespace oracle::occi;
int main()
Environment *env = Environment::createEnvironment(Environment::OBJECT);
Connection *conn = env->createConnection("scott","tiger","inst1");
try
//use the conn
catch (SQLException &ex)
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
cout<<ex.getMessage();
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
Connection *cn;
Environment *ev;
try{
ev = Environment::createEnvironment(Environment::OBJECT);
cn = ev->createConnection("scott","tiger","inst1");
catch (SQLException &ex)
ev->terminateConnection(cn);
Environment::terminateEnvironment(ev);
cout<<ex.getMessage();
ev->terminateConnection(cn);
Environment::terminateEnvironment(ev);
}Rgds
Amogh
Similar Messages
-
Yoga 11 - can not create an account for the App store,
I can not create an account for the App store, I live outside of the USA and the only address option is in the USA. Can you help me
Moderator Note: Edited subject to match content.Hi
Welcome To Lenovo Community
We are really sorry to hear about the issue you are facing,
I have verified the Microsoft windows 8 app store has different regions listed
And you can connect app store using an existing Microsoft account like Hotmail, msn etc.
Please refer below link
http://windows.microsoft.com/en-US/windows-8/explore-windows-store#1TC=t1
Also if you can share the link or screen shot of the app store to help you further
Do give this a try and let us know
Hope This Helps
Cheers!!!
WW Social Media
Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
Follow @LenovoForums on Twitter!
How to send a private message? --> Check out this article.
English Community Deutsche Community Comunidad en Español -
Could not create pool connection.The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correct userid,password
and HostString using OracleClient, I couldnt able to do with connectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connection pool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logon denied - (Obj
ectel/********@ora8i)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Poller started
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThread listening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThread listeni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discovery of Manag
ed Server... This feature is on by default, you may turn this off by passing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogic Admin
Server "examplesServer" for domain "examples" running in Development Mode>URL=jdbc:weblogic:oracle:oracle8i(server)
Driver Classname=weblogic.jdbc.oci.Driver
AClname=weblogic.jdbc.connectionPool.oraclePool
intialcapacity=1
MaximumCapacity=10
Capacity Increment=2
Login Delay Seconds=1sec
Refresh Period=15 Minutes
Supports Local Transaction=No
Allow Shrinking=No
Shrink Period=15
Prepared Statement Cache Size=10
TargetServer=ExamplesServer
Properties
user=Objectel
password=superman
Test table=yes
Test Reserved Connections=yes
Test Released Connections=Yes
I could able to connect to oracledataBase if I use
user=scott
password=tiger
with any other database user Iam getting the following error
Could not create pool connection. The DBMS driver exception was:java.sql.SQLException:
ORA-01017: invalid username/password
"Neo Gigs" <[email protected]> wrote:
By end of the error you shown:
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode>
You are running the Examples application shipped with WLS, which I guest
the
correct DB to connect with is Cloudscape yet to Oracle, unless you make
changes to the original ConnectionPool in the examples. Anyhow, please
show
us your configuration of the ConnectionPool used when this error pops.
"Raj" <[email protected]> wrote in message
news:[email protected]...
Could not create pool connection.The DBMS driver exceptionwas:java.sql.SQLException:
ORA-01017: invalid username/password
Even though I could able to connect to Oracle database using correctuserid,password
and HostString using OracleClient, I couldnt able to do withconnectionpool. Here
is the error message..
<Jan 21, 2003 2:27:50 AM PST> <Notice> <WebLogicServer> <Starting WebLogicAdmin
Server "examplesServer" for domain "examples">
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 1017
---------- LOGIN ERROR CODE: 1017
<Jan 21, 2003 2:28:06 AM PST> <Error> <JDBC> <Cannot startup connectionpool "or
aclePool" weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-01017: invalid username/password; logondenied - (Obj
ectel/********@ora8i)
atweblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:193)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:209)
atweblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:134)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
cator.java:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
ava:282)
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:623)
atweblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:279)
atweblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:233)
atweblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy45.updateDeployments(Unknown Source)
atweblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2761)
atweblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:370)
atweblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
java:621)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy64.start(Unknown Source)
atweblogic.management.configuration.ApplicationManagerMBean_CachingStub
start(ApplicationManagerMBean_CachingStub.java:480)
atweblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Jan 21, 2003 2:28:14 AM PST> <Notice> <Management> <Application Pollerstarted
for development server.>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <ListenThreadlistening
on port 7001>
<Jan 21, 2003 2:28:19 AM PST> <Notice> <WebLogicServer> <SSLListenThreadlisteni
ng on port 7002>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <Management> <Starting discoveryof
Manag
ed Server... This feature is on by default, you may turn this off bypassing -Dw
eblogic.management.discover=false>
<Jan 21, 2003 2:28:20 AM PST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Server "examplesServer" for domain "examples" running in DevelopmentMode> -
i can not create an account on the eprint site. when i click create account nothing happens.
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Hello. I have an iphone 5s and i can not activate imessage nor facetime. I followed all the steps provided by the apple page and still i can not make it connect. The phone is connected to wifi at all times and has ios 8.
Can you send SMS by using the mobile data network instead of Wi-Fi? I had the same problem setting up my 5s from a backup of my 4s. Only after I sent an SMS via mobile data network, somehow iMessage and FaceTime got activated a couple of minutes later without me doing anything else.
I even changed my Apple ID password, because at one point I could not log into my account when iMessage asked for my account details.
If you have difficulty activating FaceTime or iMessage - Apple Support -
hello sir,
what is this massage in the my iphone mail ( can not get mail, connection to the server faild ) ??, why tis massage was showed to me and how to solve this problem because it is so annoying for me.
if this problem solved will showen for me again ?Basically the message is saying the phone can't talk to the place where your email is stored for some reason. This could be an incorrect username/password, or some other issues. Follow the steps in this article and see if they help:
http://support.apple.com/kb/ts3899 -
Can not get mail, connection to the server failed
have been recieving/using work emails and calender via exchange for years but as of this week i have lost access all i keep getting is 'can not get mail, connection to server failed. i have change password but still not working any advise PLEASE..
Hmmm. I've seen that message before, I usually just continue with the account and save it, then power off /on the phone. It usually works after that.
Has anything change with your account? -
3.1EA3 Can not create first connection on a virginal installation.
To test a clean installation I
1) unzipped the download package (sqldeveloper-3.1.06.82.zip of 203Mb, so including the JDK) in a separate folder
2) removed folders "SQL Developer" and "Oracle SQL developer Data Modeler" from my C:\Documents and Settings\<username>\Application Data\
On the first startup there is (as expected) no proposal to migrate any settings.
Opening "New" (by either using the button, ctrl+N or menu File/New) opens the "Create a new" dialog.
There I select the first item: "Database connection" and click OK.
The "New Gallery" window opens.
When either selecting "Database Tier" or "General/Connections" in the tree, the option "Database Connection" is available. It describes how it should "Opens the Create Database Connection dialog". But when I click OK, nothing happens (apart from breefly changing my mouse cursor)... :-(
On the other hand an other option (Subversion Repository Connection) works fine: selecting it and then clicking OK yields a "Create Subversion Connection" dialog as expected.
After restarting SQL Developer the same behaviour remains (also see PS below)
By now I also tried the "All Items" option in the "New Gallery" tree. This lists two kinds of database connections:
Database Connection (Database Tier)
Database Connection (Connections)
When I try the first option (Tier) I again get no dialog.
When I try the first option (Connections) I also get no dialog.
In short I can't make any connections.
Some more info.
By mistake, i just started up my 3.0 version, but before restoring my C:\Documents and Settings\<username>\Application Data\ folders.
After having dismissed the migrate dialog (I suppose it saw the files created by the 3.1), the screen looked different from the 3.1 in an important way:
The 3.0 has the gray screen with the slanted list of buttons on the right, but on the left it also has the treeview (showing an empty list of connections).
The 3.1 version has the same grey window, but that is all: there is no treeview on the left...
PS.
When opening SQL Developer the second time, the following error appeared in the logging page, but I concidder this to be irrelevant (since I don't use TimesTen)
SEVERE 86 0 Failed to create addin oracle.dbtools.raptor.timesten.TTAddin
On a third invocation this error did not appear again (the logging page was still open, but empty).
Edited by: JVdB on 5-jan-2012 1:08 Added the part about the difference between 3.0 and 3.1: the lack of the treeview window on startupWell, I (still) can't find any of those "Quite some threads" :-)
Anyway.
I'm running on windows XP SP3 (yes...)
The windows is English, the regional settings used are
Standards and formats: English (United Kingdom)
Customize regional options:
Numbers-tab
- Decimal symbol: . (dot)
- Digits after decimal: 2
- Digit grouping symbol: <null>
- Negative symbol: -
- Negative number format -1.1
- Display leading zeros: 0.7
- List separator: . (dot)
- Measurement system: Metric
Currency-tab
- Currency symbol € (euro sign)
- Positive currency format: €1.1
- Negative: -€1.1
- Decimal: . (dot)
- Digits: 2
- digit grouping symbol: . (dot)
- digit grouping: 123.456.789
Time-tab:
- Time format: h:mm:ss tt
- Time separator: : (colon)
- AM: AM
- PM: PM
Date-tab:
- Two digit year: 1930 - 2029
- Short date format: dd/MM/yyyy
- Date separator: /
- Long date format: dd MMMM yyyy
Location: Belgium
I added the proposed line in ...\sqldeveloper\bin\sqldeveloper.conf on a line between the existing lines
AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
and
IncludeConfFile sqldeveloper-nondebug.conf
This has not helped.
I also tried with "UK" instead of "US", but still no luck...
Thanks for your help.
Edited by: JVdB on 9-jan-2012 6:40: added the results of adding the extra option in the .conf file. -
Could not create pool connection. the dbms driver exception was : null
Hi,
I am creating Data source to connect to my DB2 database
Details of the connections are as follows
1) URL : jdbc:as400://hostname;translate binary=true
2) Driver class : com.ibm.as400.access.AS400JDBCDriver
am getting following error when I am trying to deploy the data source to server
An error occurred during activation of changes, please see the log for details.
weblogic.application.ModuleException:
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: null
Connection is successful using test configuration.
Weblogic Version am using is 10.3.
Please help.
Thanks,
ArunHi. That means the JDBC driver you specified threw a NullPointerException
when we tried to make a connection with it...
Can you show the XML file for the DataSource? It's in the domain's
config/jdbc directory. -
Dear all!!
I have created a connection pool to ORACLE DB9i. But when weblogic 7 start,
it show the error:
Cannot startup connection pool "ecsPool" weblogic.common.ResourceException:
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Io exception: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(
CODE=12505)(EMFI=4))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)
at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleD....
I have user sqlw user/pass@connect , it works OK!
I have use thin connection of ORACLE
jdbc:oracle:thin:@host:1521:SID
driver: oracle.jdbc.driver.OracleDriverViet Thach wrote:
Dear all!!
I have created a connection pool to ORACLE DB9i. But when weblogic 7 start,
it show the error:
Cannot startup connection pool "ecsPool" weblogic.common.ResourceException:
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Io exception: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(
CODE=12505)(EMFI=4))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)
at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleD....
I have user sqlw user/pass@connect , it works OK!
I have use thin connection of ORACLE
jdbc:oracle:thin:@host:1521:SID
driver: oracle.jdbc.driver.OracleDriverHi. Show me the entry in the tnsnames.ora file that corresponds to the DBMS
you want to connect to. From that, I can show you the proper arguments
to give to Oracle's thin driver to make it work.
Joe -
Can not create connection for SMS sending?
hello, everyone.
I am a beginner in mobile develepment, now is trying write an appication which can send Short Message.
The program run well on the simulators come with WTK 2.2. But when I
try it on the simulator of Series 60 MIDP SDK 2.1, I get an error.
There is the code cause the error:
msgConn = (MessageConnection) Connector.open("sms://" + address + ":20000");
The information like these:
java.io.IOException: SymbianOS error = -15 : System:
System error.
at com.symbian.util.NativeError.checkIO(+20)
at com.symbian.gcf.ConnectionEndPoint.checkError(+22)
at com.symbian.gcf.ConnectionSessionBase.createConnection(+33)
at com.symbian.gcf.ConnectionEndPoint.<init>(+76)
at com.symbian.gcf.DatagramConnectionEndPoint.<init>(+7)
at com.symbian.midp.io.protocol.sms.SMSClientConnectionImpl.<init>(+7)
at com.symbian.midp.io.protocol.sms.Protocol.openConnection(+59)
at com.symbian.gcf.ProtocolBase.openConnection(+145)
at com.symbian.gcf.GCFConnector.open(+197)
at javax.microedition.io.Connector.open(+7)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+5)
at example.sms.SMSSender.run(+36)
Is there someone who has met with the same problem or is familiar with Series 60 MIDP 2.1 would like to give me some advice? I will appreciate this help very much.
Best Regards.Viet Thach wrote:
Dear all!!
I have created a connection pool to ORACLE DB9i. But when weblogic 7 start,
it show the error:
Cannot startup connection pool "ecsPool" weblogic.common.ResourceException:
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Io exception: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(
CODE=12505)(EMFI=4))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)
at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleD....
I have user sqlw user/pass@connect , it works OK!
I have use thin connection of ORACLE
jdbc:oracle:thin:@host:1521:SID
driver: oracle.jdbc.driver.OracleDriverHi. Show me the entry in the tnsnames.ora file that corresponds to the DBMS
you want to connect to. From that, I can show you the proper arguments
to give to Oracle's thin driver to make it work.
Joe -
Error on DS creation (ResourceException: Could not create pool connection)
Hi,
When trying to create a DS on a WLS 10.3 on Windows Vista to connect to an Oracle 10.2.0.4 RAC database, I am getting the exception below. I use the OCI driver. Everything's fine when I use the thin driver though.
<Jan 31, 2009 9:56:56 AM AST> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "EPDVDS":
<Jan 31, 2009 9:56:57 AM AST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with I
D '1233385014499' for task 'weblogic.deploy.configChangeTask.0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
Truncated. see log file for complete stacktrace
weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver excep
tion was:
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
Truncated. see log file for complete stacktrace
<Jan 31, 2009 9:56:57 AM AST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating activate task for ap
plication 'EPDVDS'.>
<Jan 31, 2009 9:56:57 AM AST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
Truncated. see log file for complete stacktrace
weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver excep
tion was:
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
Truncated. see log file for complete stacktrace
<Jan 31, 2009 9:56:58 AM AST> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.Mo
duleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.jav
a:197)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:216)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentRece
iverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallba
ckDeliverer.java:40)
at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceiver
s(AwaitingContextUpdateCompletion.java:164)
at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuc
cess(AwaitingContextUpdateCompletion.java:66)
at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(Awaitin
gContextUpdateCompletion.java:32)
at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService
.java:225)
at weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:189)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS d
river exception was:
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:146)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:251)Hi,
I am also using OCI driver, as some of the functions for XMLType are not supported by thin driver.
I am getting similar error, as mentioned in the thread as
<BEA-001129> <Received exception while creating connection for pool "11g_Connection": >
oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
weblogic.application.ModuleException:
at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:289)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
Truncated. see log file for complete stacktrace
weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was:
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
Truncated. see log file for complete stacktrace
I have already tested with a standalone program and it works, but error is thrown with weblogic server.
My connection string is jdbc:oracle:oci:@//localhost:1521/orcl11
Any ideas on how this error can be avoided?
Thanks
Raji -
Could not create pool connection with MySql
When starting weblogic server I obtain the following error message when the conection
pool for a MySql database should be established. What's the mistake I am doing? #The
examples in the weblogic.properties put a "server=DEMO to the props. What is this
server related to the MySql RDBMS? Is it mandatory? After the error message produced
by Weblogic you'll find some information about the MySql setup (my.ini) I have made.
Mi Mai 01 01:33:50 CEST 2002:<I> <WebLogicServer> Invoking main-style startup weblogic.jdbc.common.internal.JdbcStartup
weblogic.jdbc.common.internal.JdbcStartup
Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Creating connection pool ejbTestPool
with:
{aclName=weblogic.jdbc.connectionPool.ejbTestPool, maxCapacity=2, initialCapacity=1,
url=jdbc:mysql://Blizzard:3306/ejbTest, props=user=du-it;password=du-it;server=3.23.4
9-nt, capacityIncrement=1, driver=org.gjt.mm.mysql.Driver, poolName=ejbTestPool}
Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Sleeping in createResource()
Mi Mai 01 01:33:51 CEST 2002:<E> <JDBC Pool> Failed to create connection pool "ejbTes
tPool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Invalid authorization specification: Access denied for user:
du-it@blizzard' (Using password: YES)
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
onEnvFactory.java:146)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:108)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
onEnvFactory.java:154)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:108)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:124)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
MySql:
#This File was made using the WinMySQLAdmin 1.4 Tool
#29.04.2002 14:46:57
#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions
[mysqld]
basedir=D:/db/mysql
#bind-address=169.254.102.136
datadir=D:/db/mysql/data
#anguage=D:/db/mysql/share/german
#slow query log#=
#tmpdir#=
port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=D:/db/mysql/bin/mysqld-nt.exe
user=du-it
password=du-itWhen starting weblogic server I obtain the following error message when the conection
pool for a MySql database should be established. What's the mistake I am doing? #The
examples in the weblogic.properties put a "server=DEMO to the props. What is this
server related to the MySql RDBMS? Is it mandatory? After the error message produced
by Weblogic you'll find some information about the MySql setup (my.ini) I have made.
Mi Mai 01 01:33:50 CEST 2002:<I> <WebLogicServer> Invoking main-style startup weblogic.jdbc.common.internal.JdbcStartup
weblogic.jdbc.common.internal.JdbcStartup
Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Creating connection pool ejbTestPool
with:
{aclName=weblogic.jdbc.connectionPool.ejbTestPool, maxCapacity=2, initialCapacity=1,
url=jdbc:mysql://Blizzard:3306/ejbTest, props=user=du-it;password=du-it;server=3.23.4
9-nt, capacityIncrement=1, driver=org.gjt.mm.mysql.Driver, poolName=ejbTestPool}
Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Sleeping in createResource()
Mi Mai 01 01:33:51 CEST 2002:<E> <JDBC Pool> Failed to create connection pool "ejbTes
tPool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Invalid authorization specification: Access denied for user:
du-it@blizzard' (Using password: YES)
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
onEnvFactory.java:146)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:108)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
onEnvFactory.java:154)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:108)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
onEnvFactory.java:124)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
.java:771)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
16)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
30)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
MySql:
#This File was made using the WinMySQLAdmin 1.4 Tool
#29.04.2002 14:46:57
#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions
[mysqld]
basedir=D:/db/mysql
#bind-address=169.254.102.136
datadir=D:/db/mysql/data
#anguage=D:/db/mysql/share/german
#slow query log#=
#tmpdir#=
port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=D:/db/mysql/bin/mysqld-nt.exe
user=du-it
password=du-it -
Could not create pool connection
After running the server, when I am continously firing queries on the server. The server is giving this error for some of the queries. But it is working for other cases. Any idea why this error is coming?
database : informix
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 8881, ip address 23.248.10.15>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <Cluster> <BEA-000102> <Joining cluster GREFCluster on 237.0.0.1:7001>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "grefMaintManaged2" for domain "gref203" running in Production Mode>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Jul 12, 2005 9:45:55 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
<Jul 12, 2005 9:45:56 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
<Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: Message text will be provided in later releases java.lang.NullPointerException>
<Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
<Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
<Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>Hi Anish. Very odd. What versio of weblogic are you running, and what Informix
driver are you using?
Joe
Anish Mathur wrote:
After running the server, when I am continously firing queries on the server. The server is giving this error for some of the queries. But it is working for other cases. Any idea why this error is coming?
database : informix
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 8881, ip address 23.248.10.15>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <Cluster> <BEA-000102> <Joining cluster GREFCluster on 237.0.0.1:7001>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "grefMaintManaged2" for domain "gref203" running in Production Mode>
<Jul 12, 2005 9:02:46 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Jul 12, 2005 9:45:55 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
<Jul 12, 2005 9:45:56 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
<Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: Message text will be provided in later releases java.lang.NullPointerException>
<Jul 12, 2005 9:46:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19>
<Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < > RP(GrefConnPool):parseExceptionMsg (10) msg = 19:Could not create pool connection. The DBMS driver exception was: null>
<Jul 12, 2005 10:01:00 PM IST> <Debug> <Common> <BEA-000610> < < RP(GrefConnPool):parseExceptionMsg (100) count = 19> -
I can not create virtual machines =(
hi, I again
I can not create virtual machines using the oracle manager, andalusia creandolas time this occurs, an error which generates two logs. These are:
1.Get VNC Port: (XMachineX):
failed:<Exception: failed:<Exception: xm list 98_XP_es=>Error: Domain '98_XP_es' does not exist. > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 196, in xen_get_vnc_port vm_id = xen_get_vm_id(vm_path) File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 35, in xen_get_vm_id stdout = run_cmd("xm list %s" % vm_name) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteXenStore.py", line 45, in get_vm_vnc_conn raise Exception(rs)
2. ParaInstallation: (XMachineX):
failed:<Exception: failed:<Exception: virt-install paravirt name=98_XP_es ram=512 vcpus=1 mac=00:16:3E:73:7D:45 bridge=xenbr0 file /OVS/running_pool/98_XP_es/System.img file-size=12 vnc vnclisten=0.0.0.0 vncpasswd=/tmp/tmpzYrJVG noautoconsole location=nfs:linuxvm:/el/EL5-x86 keymap=en-us=>ERROR: Invalid NFS location given: [Errno 2] No such file or directory: '/var/lib/xen/xennfs.ZceAYm/images/xen/vmlinuz' > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenVMInstall.py", line 306, in xen_install_vm_para run_cmd(cmd) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVMInstall.py", line 184, in install_vm_para else: raise Exception(rs)
thanks for any help; as I am new in thishi,
i use vm 2.1.5, this upgrade from 2.1.2
but i can't create vm
err:
failed:<KeyError: 'vcaps'> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVMInstall.py", line 77, in install_vm_hvm l = [ h for h, srv in cds.db_srv.items() if not "hvm" in srv["vcaps"] ]
help me plz...
Maybe you are looking for
-
How many clients subscribed to shared variable engine
Hi, I have shared variable engine deployed on RT and want to know how many clients get access to the shared variables. Is it possible? Thanks! Tom
-
PDF viewer to manipulate pdf files
Hello, I am using MySQL and JSP in order to create a website. In a table from the database i have store pdf files using the data type BLOB. How I can manipulate these pdf files from the JSP? I have search that the Java PDF SDK might do that job. Is a
-
hi, I am trying to call a .net webservice from xi. And I am getting this error: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!-- Call Adapter --> - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://sche
-
Downloading/installing from web
When I download a movie or a clip from the internet I can't open it or install it because my iMac automatically tries to open things in iPhoto! I can't figure out how to change this default iMac20 Mac OS X (10.4.9)
-
When trying to access pages on the Web from links in Email messages, Firefox [6.0.2] will come up with an error window stating it cannot locate the page sought. If I start over it usually brings up the page, using the SAME link, on the second or thir