Weblogic6.1-------ORACLE9I-----ORA-24327
when creating Connection Pool it report ORA-24327 error;
I use the 6.1 sp3, ORACLE 9i
username=sysman; the database is running
when using dbping it report license error
can somebody tell me why?
Check you license file and make sure it is not expired. Make sure you
have license file path in you classpath and then try dbping utility
before starting weblogic server to make sure your environment is set.
Thanks,
Mitesh
zzwzyz wrote:
when creating Connection Pool it report ORA-24327 error;
I use the 6.1 sp3, ORACLE 9i
username=sysman; the database is running
when using dbping it report license error
can somebody tell me why?
Similar Messages
-
When I try to install and configure the Oracle JDriver v.2.0 to work with Commerce
Server 3.5 SP1 and WebLogic Server 6.0 SP2, on starting up the commerce server,
I get the exceptions that follow this message. I cannot run the dbping utility
because it says it cannot find the BEA license file to verify that JDriver is
licensed for use. I looked over previous discussion threads on this particular
Oracle error, and the problem in the previous cases appears to have been use of
the wrong TNS name. I am referencing the same TNS name that is in my server's
tnsnames.ora file. I can connect to the database using SQLNet and the same connection
parameters that I have set up in weblogic. My Oracle home directory is set to
the directory just above the client install. I am trying to configure Commerce
Server on a Sun SPARC system running Solaris 8. Any help would be greatly appreciated.
Thanks,
Jon Morgan
---------- LOGIN ERROR CODE: 24327
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
(WEBLOGIC/********@ARBR.intelixinc)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:161)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:92)
at com.beasys.commerce.axiom.contact.security.RDBMSDelegate.init(RDBMSDe
legate.java:194)
at com.beasys.commerce.axiom.contact.security.RDBMSDelegate.<init>(RDBMS
Delegate.java:139)
at com.beasys.commerce.axiom.contact.security.RDBMSDelegate$DFactory.get
Instance(RDBMSDelegate.java:975)
at com.beasys.commerce.util.Pool.<init>(Pool.java:37)
at com.beasys.commerce.axiom.contact.security.RDBMSRealm.<init>(RDBMSRea
lm.java:127)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.security.acl.Realm.getRealm(Realm.java:84)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
a:265)
at weblogic.security.SecurityService.initialize(SecurityService.java:123
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
<Aug 7, 2001 11:50:29 AM EDT> <Emergency> <Server> <Unable to initialize the ser
ver: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: com.beasys.commerce.axiom.contact.secur
ity.RDBMSException: realm initialization failed, action 'Driver.connect', - wit
h nested exception:
[java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
- (WEBLOGIC/********@ARBR.intelixinc)]
java.lang.IllegalAccessError: com.beasys.commerce.axiom.contact.security.RDBMSEx
ception: realm initialization failed, action 'Driver.connect', - with nested
ex
ception:
[java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
- (WEBLOGIC/********@ARBR.intelixinc)]
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
a:265)
at weblogic.security.SecurityService.initialize(SecurityService.java:123
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
'>
The WebLogic Server did not start up properly.
Exception raised: java.lang.IllegalAccessError: com.beasys.commerce.axiom.contac
t.security.RDBMSException: realm initialization failed, action 'Driver.connect',
- with nested exception:
[java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
- (WEBLOGIC/********@ARBR.intelixinc)]
java.lang.IllegalAccessError: com.beasys.commerce.axiom.contact.security.RDBMSEx
ception: realm initialization failed, action 'Driver.connect', - with nested
ex
ception:
[java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
- (WEBLOGIC/********@ARBR.intelixinc)]
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
a:265)
at weblogic.security.SecurityService.initialize(SecurityService.java:123
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exceptionWrong Forum, you want the APEX LISTENER support forum, this is the APEX support forum..
Thank you,
Tony Miller
LuvMuffin Software -
Error while trying to retrieve text for error ORA-24327
Hi,
I'm using Weblogic OCI driver to connect to Oracle 9.2.0.3 DB. WLS version
is 7.0 SP3. I'm encountering an error when I try to start the WLS " Error while
trying to retrieve text for error ORA-24327".
I've set the LD_LIBRARY_PATH to $ORACLE_HOME/lib32:$ORACLE_HOME/lib in addition
to $WL_HOME/lib/solaris/oci_920_8 as I read in other newsgroup.
Thanks in advance.
Cheers,
Kanda.VHi Mitesh,
Thanks for your suggestion. Looks like ORACLE_HOME and ORACLE_BASE need to
set in the $CLASSPATH variable. It's working now. Thanks once again.
Cheers,
Kanda.
Mitesh Patel <[email protected]> wrote:
Hi Kanda!
Also, use lib32 directory instead of $ORACLE_HOME/lib32:$ORACLE_HOME/lib
in
your environment for 920 jDdriver.
Then try java utils.dbping oracle user passwd databasename to see if
it is
successful meaning your environment is set for weblogic 920 jDriver.
Also,
make sure you have entry in your tnsnames.ora file for the database.
Thanks,
Mitesh
Kanda wrote:
Actually I've set it to oci920_8 which is correct isn't ?
Please advise.
Thanks.
Kanda.V
Mitesh Patel <[email protected]> wrote:
$WL_HOME/lib/solaris/oci_920_8 as I read in other newsgroup.
This should be oci920_8.
thanks,
Mitesh
Kanda wrote:
Hi,
I'm using Weblogic OCI driver to connect to Oracle 9.2.0.3 DB.
WLS
version
is 7.0 SP3. I'm encountering an error when I try to start the WLS
Error while
trying to retrieve text for error ORA-24327".
I've set the LD_LIBRARY_PATH to $ORACLE_HOME/lib32:$ORACLE_HOME/libin addition
to $WL_HOME/lib/solaris/oci_920_8 as I read in other newsgroup.
Thanks in advance.
Cheers,
Kanda.V -
Hi,
We noticed that when we use the OCI driver for Oracle 8.1.7, we cannot have
an initial connection pool size greater than 249. On the 250th one, there is
a DBMS exception (ORA-24327) and weblogic says that it cannot create the
connection.
If we move to the Thin driver, there is no longer this restriction and we've
tried it with success with more than 550 connections.
Anyone know any limitation about the OCI driver and if there is any
parameter on the OCI driver side or on the DB side to tune so that we can
have more than 249 connections in our pool ?
FI, we have the following configuration (in config.xml) :
<JDBCConnectionPool CapacityIncrement="5"
Name="imJDBCConnectionPool" Targets="imadmin"
DriverName="weblogic.jdbc.oci.Driver" URL="jdbc:weblogic:oracle"
InitialCapacity="270" MaxCapacity="270"
TestTableName="dual" RefreshMinutes="40"
ShrinkingEnabled="false" ShrinkPeriodMinutes="15"
Properties="user=im;password=im;server=im09"/>
and we have the following TNSNAMES.ORA :
IM09.IM =
(DESCRIPTION =
(failover = on)
(ADDRESS = (PROTOCOL = TCP)(HOST = sf1-domaina-1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = sf1-domainb-1)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = IM09.im)(SERVER = shared))
and SQLNET.ORA (to resolve the IM domain name) :
NAMES.DEFAULT_DOMAIN=IM
Thanks
-VincentVincent Massol wrote:
>
"Slava Imeshev" <[email protected]> wrote in message
news:[email protected]...
Hi Vincent,
Just for curiosity sake, what are you doing with 250 connections?
It's not in the Cactus area, is it? :-)
grin ;-)
No, I'm currently working for a customer, doing some lab performance tests.
We wanted to use the OCI driver for the TAF feature of OPS (transparent
application failover) but found that the Thin driver is performing so much
better that we have switched to using it along with the multipool feature of
WebLogic. Hi. Beware of 'TAF'. Note that all cursors will be defunct on failover,
so any JDBC statement or ResultSet in progress at the time of failover will
be lost. (IE: not at all transparent).
Joe
We haven't done any failover test yet so we don't know yet how the
multipool (with a 'load-balancing' strategy) perform upon failover of one
instance. If it's ok we'll keep using the thin driver. If not, we'll switch
back to OCI drivers and try the TAF feature.
Also, I don't think we really need that big number of connections. It seems
we had some other performance issue which the DB which was making us use
lots of connections on the WL side. With the thin driver we're only using
about 39-100 connections maximum with a thread count of 40 (that's because a
given message does up to 3 SQL statements per transaction (and a connection
is only effectively released in the pool after the commit)).
I've introduced Cactus on the project, of course, but only for the unit
tests (I'm also using Mock Objects) ... :-)
Regards,
-Vincent
Regards,
Slava Imeshev
"Vincent Massol" <[email protected]> wrote in message
news:[email protected]...
Hi,
We noticed that when we use the OCI driver for Oracle 8.1.7, we cannothave
an initial connection pool size greater than 249. On the 250th one,
there
is
a DBMS exception (ORA-24327) and weblogic says that it cannot create the
connection.
If we move to the Thin driver, there is no longer this restriction andwe've
tried it with success with more than 550 connections.
Anyone know any limitation about the OCI driver and if there is any
parameter on the OCI driver side or on the DB side to tune so that we
can
have more than 249 connections in our pool ?
FI, we have the following configuration (in config.xml) :
<JDBCConnectionPool CapacityIncrement="5"
Name="imJDBCConnectionPool" Targets="imadmin"
DriverName="weblogic.jdbc.oci.Driver" URL="jdbc:weblogic:oracle"
InitialCapacity="270" MaxCapacity="270"
TestTableName="dual" RefreshMinutes="40"
ShrinkingEnabled="false" ShrinkPeriodMinutes="15"
Properties="user=im;password=im;server=im09"/>
and we have the following TNSNAMES.ORA :
IM09.IM =
(DESCRIPTION =
(failover = on)
(ADDRESS = (PROTOCOL = TCP)(HOST = sf1-domaina-1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = sf1-domainb-1)(PORT = 1521))
(CONNECT_DATA = (SERVICE_NAME = IM09.im)(SERVER = shared))
and SQLNET.ORA (to resolve the IM domain name) :
NAMES.DEFAULT_DOMAIN=IM
Thanks
-Vincent
B.E.A. is now hiring! (12/14/01) If interested send a resume to [email protected]
DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco, CA
E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
SOFTWARE ENGINEER (DBA) Liberty Corner, NJ
SENIOR WEB DEVELOPER San Jose, CA
SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTH CAROLINA San Jose, CA
SR. PRODUCT MANAGER Bellevue, WA
SR. WEB DESIGNER San Jose, CA
Channel Marketing Manager - EMEA Region London, GBR
DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
QUALITY ASSURANCE ENGINEER Redmond, WA
Services Development Manager (Business Development Manager - Services) Paris, FRA; Munich, DEU
SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
E-Marketing Programs Specialist EMEA London, GBR
BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
MANAGER, E-SALES Plano, TX -
We are using weblogic 6.1, oracle 9i and solaris. We get login error message;
---------- LOGIN ERROR CODE: 24327
Here the Exception block in createConnection()
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 - (apps/********@apps1)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
at PooledConnection.createConnection(ConnectionPool.java:116)
Any help would be much appreciated.
Thank you in advance.
-Saleh-Hi Saleh,
1. Set ORACLE_HOME properly
2. set LD_LIBRARY_PATH to properly point to the $ORACLE_HOME/lib32 folder.
hth
sree
"Saleh" <[email protected]> wrote in message
news:3d607885$[email protected]..
We are using weblogic 6.1, oracle 9i and solaris. We get login errormessage;
---------- LOGIN ERROR CODE: 24327
Here the Exception block in createConnection()
java.sql.SQLException: Error while trying to retrieve text for errorORA-24327 - (apps/********@apps1)
atweblogic.db.oci.OciConnection.getLDAException(OciConnection.java:164)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
at PooledConnection.createConnection(ConnectionPool.java:116)
Any help would be much appreciated.
Thank you in advance.
-Saleh- -
Enviornment:
SPARC, SunOS 5.8
Weblogic 5.1.0 Service Pack 6
Oracle 8.1.6.1 (installed in another Sun box)
driver=weblogic.jdbc20.oci.Driver
url=jdbc20:weblogic:oracle
We created 30 Initial Connections during startup which was successful. During Load test, there are many ORA-24327 errors started coming and we havenot reached the MaxCapacity (99). We did similar test couple of weeks back and not seen this error.
Oracle is not of much help since we are using WebLogic OCI driver and not their drivers (thats what told). I read many papers and not found any info.
Again, the application works and its able to make connections (NO problem with TNSNAMES.ORA file) and no error coming during startup.Oracle is almost never helpful.
For stability and performance you should configure the pool
to make all the connections you need at startup. Set initial capacity = max capacity.
If the server boots fine, and creates all your connections, you should be OK, and
run faster too. If it doesn't make all the connections, you are either over your
Oracle license limit, or out of file descriptors in the OS process running the
JVM. Oracle's OCI library is very wasteful of file descriptors (3 per connection)
Ravy Srinivasan wrote:
>
Enviornment:
SPARC, SunOS 5.8
Weblogic 5.1.0 Service Pack 6
Oracle 8.1.6.1 (installed in another Sun box)
driver=weblogic.jdbc20.oci.Driver
url=jdbc20:weblogic:oracle
We created 30 Initial Connections during startup which was successful. During Load test, there are many ORA-24327 errors started coming and we havenot reached the MaxCapacity (99). We did similar test couple of weeks back and not seen this error.
Oracle is not of much help since we are using WebLogic OCI driver and not their drivers (thats what told). I read many papers and not found any info.
Again, the application works and its able to make connections (NO problem with TNSNAMES.ORA file) and no error coming during startup. -
Portal 4.0 switch to Oracle yields ORA-24327
I'm switching from the cloudscape database to an
Oracle 8.1.7 database for the Portal 4.0 pools
(commerce and dataSync) and the realm under the portalDomain.
I followed the directions enumerated in
http://e-docs.bea.com/wlp/docs40/deploygd/oraclnew.htm
WLS6.1/Portal4.0 is running on Solaris.
utils.dbping is successful.
sqlplus is successful
Booting the portal server is not successful. It yields:
<Nov 6, 2001 10:52:40 AM EST> <Notice> <Management> <Loading configuration file
./config/portalDomain/config.xml ...>
<Nov 6, 2001 10:52:49 AM EST> <Info> <Logging> <FileLogger Opened.>
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 24327
<Nov 6, 2001 10:52:59 AM EST> <Emergency> <Server> <Unable to initialize the server:
'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSException:
An error occured creating a database connection for the realm.]
java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSException:
An error occured creating a database connection for the realm.]
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
at weblogic.security.SecurityService.initialize(SecurityService.java:115)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:390)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
'>
The WebLogic Server did not start up properly.
Exception raised: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSException:
An error occured creating a database connection for the realm.]
java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSException:
An error occured creating a database connection for the realm.]
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
at weblogic.security.SecurityService.initialize(SecurityService.java:115)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:390)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Any help would be appreciated.
Regards,
Mattthx your response is very very usefull!!!
"Matthew Marquand" <[email protected]> wrote:
>
Just minutes ago I found the problem. It was
caused from faulty documentation at:
http://e-docs.bea.com/wlp/docs40/deploygd/oraclnew.htm
The "set your properties to this" examples look like
the following:
user=@ORACLE_USER@;
server=@ORACLE_NET_SERVICE_NAME@,
weblogic.t3.waitForConnection=true;
weblogic.t3.waitSecondsForConnection=999999999999,
weblogic.jts.waitSecondsForConnectionSecs=999999999999,
verbose=false
I changed the @TAG@ parms correctly but note the inconsistent use of
',' vs. ';'
Not knowing what was required I did what the doc told me to do
and therefore screwed up my config.xml such that the server
wouldn't boot.
Every property should be semi-colon separated and not comma
separated.
The trailing comma on the server name was triggering an
attempt to connect to "NCFEDB_D," (which is not in tnsnames.ora)
rather than "NCFEDB_D".
Just thought I reply to my own issue since it seems this
problem is somewhat rampant on this newsgroup with no
clear alternatives other than just the basic "verify your ORACLE_HOME"
variable.
Matt -
Oracle9i - ORA-12638 Credential retrival failed
Hi,
I am new to Oracle database and my first job is to install oracle9i into Window 2000. The installation failed at Database Configuration Assistant with error: ORA-12638 Credential retrival failed. I tried to create different type of database to see if the problem goes away but it persists. Please help!this is the solution i got from net
On the client computer, modify SQLNET.ORA located in ORACLEHOME/NETWORK/ADMIN directory. Replace the line
SQLNET.AUTHENTICATION_SERVICES=(NTS)
with
SQLNET.AUTHENTICATION_SERVICES=(NONE)
you can try out.. -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-24
Hi All,
Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which surprised me was when I use type � 3 driver while starting weblogic I get ORA �24327 but when I use Type �4 it starts properly. If you could kindly provide solution it would be great help. I would also appreciate if u can provide information which driver to use where performance is the major concern. I would also appreciate if u could provide feed-back from the industry about booth the driver. Apart from that I have couple have environment where it occurs when 10/12 user access simultaneously. All the open connection is closed in program properly still am getting the error.
Thanks in anticipation.
Cheers,
Tapas
Environment
OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
Oracle � 8.1.6
Delaying 10 seconds before making a beuatpool pool connection.
Pool 1 (Type �3 )
weblogic.jdbc.connectionPool.beuatpool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=10,\
initialCapacity=10,\
maxCapacity=20,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=10,\
refreshMinutes=10,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxxx
Pool 2(Type �4)
weblogic.jdbc.connectionPool.thinPool=\
url=jdbc:oracle:thin:@xxx:1521:xxx,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=1,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=15,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxx:1521:xxx
allow=everyone
---------- LOGIN ERROR CODE: 24327
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 �
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:149)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
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(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
---------- LOGIN ERROR CODE: 24327
---------- LOGIN ERROR CODE: 24327
Fri Aug 31 00:57:22 GMT-05:00 2001:<I> <JDBC Pool> Sleeping in createResource()
Fri Aug 31 00:57:23 GMT-05:00 2001:<E> <JDBC Pool> Failed to create connection p
ool "beuatpool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:172)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
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(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:182)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
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(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:125)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
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(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)Hi,
I guess you can try some of these:
- Make sure you're not missing an entry inside your tnsnames.ora file. Thin driver does not require the information inside that file, as opposed to Weblogic's OCI driver. If you are able to connect to the DB using a thin driver, then the problem is most probably (WL)driver-related.
- Make sure you've properly configured the DB user / password inside your weblogic.properties (config.xml if WL6+).
- Make sure you're able to access all drivers and classes required (PATH, CLASSPATH, etc...)
- Make sure the OCI driver version you are using is fully compatible with the Oracle (server) version you are pointing to.
- Try to access the DB user through some other client (for instance, SQLPlus*).
Hope this is of some help,
Freddy. -
I have weblogic 6.1 and oracle8i.... But when i tried a connection
with this command line :
java utils.dbping ORACLE scott pwd bd1 , i have this error :
Error encountered:
java.sql.SQLException: Error while trying to retrieve text for error
ORA-24327 - (scott/********@bd1)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:161)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:167)Make sure you have ORACLE_HOME set. And make sure you have bd1 in your
ORACLE_HOME/network/admin/tnsnames.ora file.
hth
sree
"feerie" <[email protected]> wrote in message
news:[email protected]..
I have weblogic 6.1 and oracle8i.... But when i tried a connection
with this command line :
java utils.dbping ORACLE scott pwd bd1 , i have this error :
Error encountered:
java.sql.SQLException: Error while trying to retrieve text for error
ORA-24327 - (scott/********@bd1)
at
weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:161)
at weblogic.jdbc.oci.Driver.connect(Driver.java:112)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:167) -
Error connecting to Oracle on Red Hat 7.2 with WL 7.0
I able not able to connect to Oracle on Red Hat 7.2. I have tried both 9.0.1 and 9.2.0.
I am able to use a very similar configuration and W2k and it works.
Here is the situation:
I have installed Weblogic 7.0.0.1 on Redhat 7.2. It works fine in generic form.
I have also installed Oracle 9.2.0 client files. I have verified connectivity with
a remote database using the Oracle tnsping tool. I have modified the startWLS.sh
file so that the oci901_8 libraries are used by Weblogic. I have added the following
line to startWeblogic.sh:
------ BEGIN code snippet ---
# --- Setup Oracle ---
LD_LIBRARY_PATH=${ORACLE_HOME}/lib
POST_PATH=${WL_HOME}/server/bin/oci901_8:${ORACLE_HOME}/bin:
------ END code snippet ---
My config.xml file has this entry (which works on NT)
---------- BEGIN config.xml snippet ------------
<JDBCConnectionPool DriverName="weblogic.jdbc.oci.Driver"
Name="wamiPool-Oracle"
Properties="user=bomb;password=wami;server=WAMI_DB"
Targets="myserver" TestTableName="Country" URL="jdbc:weblogic:oracle"/>
--------- END config.xml snippet ------------
On startup I get this error:
------- BEGIN Error -----------------
####<Jul 11, 2002 8:20:08 PM GMT> <Error> <JDBC> <appbox> <myserver> <Thread-1> <kernel
identity> <> <001060> <Cannot startup connection pool "wamiPool-Oracle" weblogic.common.ResourceException:
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
(bomb/********@WAMI_DB)
at weblogic.db.oci.OciConnection.getLDAException(Compiled Code)@b8dbe80
at weblogic.jdbc.oci.Driver.connect(Compiled Code)@b8d7910
---------- END ERROR -------
I have also tried using the Weblogic dbping utility. When I use this I get this
error:
---------- BEING ERROR from dbping ------
Starting Loading jDriver/Oracle .....
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4d6b88a1
Function name=snauca_check_adapter
Library=/opt/oracle/product/9.2.0/lib/libclntsh.so.9.0
Current Java thread:
at weblogic.db.oci.OciConnection.native_loginwithblock(Native Method)
at weblogic.db.oci.OciConnection.login(OciConnection.java:190)
at weblogic.jdbc.oci.Driver.connect(Driver.java:126)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:175)
---------- END ERROR -------
Any ideas?
DavidHi David,
The driver for 9.2.0 is not yet out. You may want to use the thin driver.
You can also request this driver by filling a support case.
sree
"David Kinsfather" <[email protected]> wrote in message
news:[email protected]...
>
ORACLE_HOME is set to
ORACLE_HOME=/opt/oracle/product/9.2.0
and LD_LIBRARY_PATH is set to
LD_LIBRARY_PATH=${ORACLE_HOME}/lib
These are same values I used for the tnsping which does work.
Any other ideas?
Joseph Weinstein <[email protected]> wrote:
David Kinsfather wrote:
I able not able to connect to Oracle on Red Hat 7.2. I have tried both9.0.1 and 9.2.0.
I am able to use a very similar configuration and W2k and it works.
Here is the situation:
I have installed Weblogic 7.0.0.1 on Redhat 7.2. It works fine in
generic
form.
I have also installed Oracle 9.2.0 client files. I have verified
connectivity
with
a remote database using the Oracle tnsping tool. I have modified thestartWLS.sh
file so that the oci901_8 libraries are used by Weblogic. I have addedthe following
line to startWeblogic.sh:
------ BEGIN code snippet ---
# --- Setup Oracle ---
LD_LIBRARY_PATH=${ORACLE_HOME}/lib
POST_PATH=${WL_HOME}/server/bin/oci901_8:${ORACLE_HOME}/bin:
------ END code snippet ---
My config.xml file has this entry (which works on NT)
---------- BEGIN config.xml snippet ------------
<JDBCConnectionPool DriverName="weblogic.jdbc.oci.Driver"
Name="wamiPool-Oracle"
Properties="user=bomb;password=wami;server=WAMI_DB"
Targets="myserver" TestTableName="Country"
URL="jdbc:weblogic:oracle"/>
--------- END config.xml snippet ------------
On startup I get this error:
------- BEGIN Error -----------------
####<Jul 11, 2002 8:20:08 PM GMT> <Error> <JDBC> <appbox> <myserver><Thread-1>
<kernel
identity> <> <001060> <Cannot startup connection pool "wamiPool-Oracle"weblogic.common.ResourceException:
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve text for error
ORA-24327
(bomb/********@WAMI_DB)This usually means that the environment variable ORACLE_HOME is not set,
or set incorrectly.
at weblogic.db.oci.OciConnection.getLDAException(Compiled
Code)@b8dbe80
at weblogic.jdbc.oci.Driver.connect(Compiled Code)@b8d7910
---------- END ERROR -------
I have also tried using the Weblogic dbping utility. When I use thisI get this
error:
---------- BEING ERROR from dbping ------
Starting Loading jDriver/Oracle .....
An unexpected exception has been detected in native code outside the
VM.
Unexpected Signal : 11 occurred at PC=0x4d6b88a1
Function name=snauca_check_adapter
Library=/opt/oracle/product/9.2.0/lib/libclntsh.so.9.0
Current Java thread:
at weblogic.db.oci.OciConnection.native_loginwithblock(NativeMethod)
at weblogic.db.oci.OciConnection.login(OciConnection.java:190)
at weblogic.jdbc.oci.Driver.connect(Driver.java:126)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:175)
---------- END ERROR -------
Any ideas?
David -
ORA24327: Oracle 8i and Weblogic Server
Hello,
I hope someone can help me with the following problem:
When starting Weblogic Server on Solaris, I get the
following error message after loading of native
jDriver for Oracle is started:
... Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 24327
connection pool
"oraclePool" weblogic.common.ResourceException:
Could not create pool connection.
The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve
text for error ORA-24327 -
(SCOTT/********@oralin)
at
weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:161)
at
weblogic.jdbcbase.oci.Driver.connect(Driver.java:92)...
# TNSNAMES.ORA Network Configuration File:
/export/home/oracle/app/oracle/product/9.0.1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
oralin=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erps)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = oralin.world)
What steps in detail do I
need to perform?
Thanks in advance.
Regrads
BeanHi,
You need to set ORACLE_HOME environment variable correctly.
Also make sure that there is an entry in tnsnames.ora that
defines the server name provided in the connection pool
definition.
Regards,
Slava Imeshev
"bean" <[email protected]> wrote in message
news:[email protected]..
Hello,
I hope someone can help me with the following problem:
When starting Weblogic Server on Solaris, I get the
following error message after loading of native
jDriver for Oracle is started:
... Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 24327
connection pool
"oraclePool" weblogic.common.ResourceException:
Could not create pool connection.
The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve
text for error ORA-24327 -
(SCOTT/********@oralin)
at
weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:161)
at
weblogic.jdbcbase.oci.Driver.connect(Driver.java:92)...
# TNSNAMES.ORA Network Configuration File:
/export/home/oracle/app/oracle/product/9.0.1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
oralin=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = erps)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = oralin.world)
What steps in detail do I
need to perform?
Thanks in advance.
Regrads
Bean -
JDriver error using WLS6.1 w/ Oracle 8.1.7
Hello,I am getting the error listed when starting my weblogic server after creating a connection pool and datasource through the weblogic (6.1) console. I am currently using the jDriver 5.1.0 oracle kit. I used this kit previously with the WLS6.0sp1 installation and had no errors.Any suggestions? Thanks in advance!-Christine--***** BEGIN ERROR*******Starting Loading jDriver/Oracle .....-------- LOGIN ERROR CODE: 24327---------- LOGIN ERROR CODE: 24327<Aug 17, 2001 1:40:22 PM EDT> <Error> <JDBC> <Cannot startup connection pool "ConnPool" weblogic.common.ResourceException:Could not create pool connection. The DBMS driver exception was:java.sql.SQLException: ORA-24327: need explicit attach before authenticating a user - (user/********)--*****END ERROR******--
Also you don't have to have any additional 5.1.0 oracle kit here. WLS6.1
bundles the oracle drivers and the necessary libraries. can you check if
your path is pointing to the right bin folder for the 817 libraries.
sree
"Sree Bodapati" <[email protected]> wrote in message
news:[email protected]...
Hi Christine
Can you do a dbping from the machine where you start the wls server?
java utils.dbping ORACLE scott tiger servicename(as in tnsnames.ora)
sree
"christine" <[email protected]> wrote in message
news:[email protected]...
Thank you for your quick reply, Sree. Unfortunately, both the clientversion of
oracle and the classes12.zip that ships with that version are correct.
In
addition,
the service name is in the tsnames.ora file.
What is puzzling is that we used this same connectionpool/datasource/oracle/weblogic
configuration when running weblogic 6.0sp1 with no errors. The only
thing
that
has changed in our configuration is that we upgraded to weblogic 6.1.
Any other thoughts?
Thanks again in advance!
-Christine
"Sree Bodapati" <[email protected]> wrote:
Make sure you are using proper client version of the oracle client
software.
And the classes12.zip that ships that version.
And most importantly make sure you have the service name , in the
tnsnames.ora file in the oracle client folder <oracalhome>/network/admin.
hth
sree
"christine" <[email protected]> wrote in message
news:[email protected]...
Hello,I am getting the error listed when starting my weblogic serverafter
creating a connection pool and datasource through the weblogic (6.1)
console. I am currently using the jDriver 5.1.0 oracle kit. I used
this
kit previously with the WLS6.0sp1 installation and had no errors.Any
suggestions? Thanks in advance!-Christine--***** BEGIN
ERROR*******Starting Loading jDriver/Oracle .....-------- LOGIN
ERROR
CODE: 24327---------- LOGIN ERROR CODE: 24327<Aug 17, 2001 1:40:22 PM
EDT>
<Error> <JDBC> <Cannot startup connection pool "ConnPool"
weblogic.common.ResourceException:Could not create pool connection. The
DBMS
driver exception was:java.sql.SQLException: ORA-24327: need explicit
attach
before authenticating a user - (user/********)--*****END ERROR******-- -
Oracle configuration problem or driver bug?
Hi guys,
I'm using 5.1 sp 6 on Windows 2000 with default Oracle drivers. I basically
copied the "oraclePool" definition in weblogic.properties. I also tried
adding :machineName:portNumber:SID to the URL, and it made absolutely no
difference. Have you ever seen anything like this?
---------- LOGIN ERROR CODE: 24327
Wed Oct 18 20:08:16 PDT 2000:<E> <JDBC Pool>
Failed to create connection pool "oraclePool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-24327:
need explicit attach before authenticating a user -
(weblogic/*****@visitor1)
It occurs as a result of the following entry in weblogic.properties:
weblogic.jdbc.connectionPool.oraclePool=\
url=jdbc:weblogic:oracle:visitor1:1521:weblogic,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=16,\
capacityIncrement=4,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=5,\
testTable=test,\
props=user=weblogic;password=weblogic;server=visitor1
I've tried using "url=jdbc:weblogic:oracle" as in the default Oracle pool,
but it fails the same way as the fully qualified path.Can you post the relevant portion of visitor1 (TNS alias name) from
tnsnames.ora?
Kumar
Dan Zivkovic wrote:
Hi guys,
I'm using 5.1 sp 6 on Windows 2000 with default Oracle drivers. I basically
copied the "oraclePool" definition in weblogic.properties. I also tried
adding :machineName:portNumber:SID to the URL, and it made absolutely no
difference. Have you ever seen anything like this?
---------- LOGIN ERROR CODE: 24327
Wed Oct 18 20:08:16 PDT 2000:<E> <JDBC Pool>
Failed to create connection pool "oraclePool"
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: ORA-24327:
need explicit attach before authenticating a user -
(weblogic/*****@visitor1)
It occurs as a result of the following entry in weblogic.properties:
weblogic.jdbc.connectionPool.oraclePool=\
url=jdbc:weblogic:oracle:visitor1:1521:weblogic,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=1,\
initialCapacity=4,\
maxCapacity=16,\
capacityIncrement=4,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=5,\
testTable=test,\
props=user=weblogic;password=weblogic;server=visitor1
I've tried using "url=jdbc:weblogic:oracle" as in the default Oracle pool,
but it fails the same way as the fully qualified path. -
WebLogic Server - JDBC - Oracle
Hi,
I'm a JDBC beginner and I got an ORA-24327 error when accessing Oracle database with IBM WebLogic Server and JDBC OCI 1.2 on a Sun Solaris 2.6 host whith Sun JDK 1.2.2.
Who can help me ?
PASCALI am having the same problem and have not had any luck. Did you figure it out?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pascal LAMBERT ([email protected]):
Hi,
I'm a JDBC beginner and I got an ORA-24327 error when accessing Oracle database with IBM WebLogic Server and JDBC OCI 1.2 on a Sun Solaris 2.6 host whith Sun JDK 1.2.2.
Who can help me ?
PASCAL<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
ICloud stored movies do not show up in iMovie
Hi My macbook got stolen but luckily I had a lot of my movies stored on iCloud (there's 4.8Gb of iMovie data up there). On my new macbook none of the movies appear in the theatre however, cant find out how to access them.... Vic
-
This may seem like a simple question, but I do not want to put days, weeks, or even months of work into this to find out I started wrong from the beginning. I have VHS, Hi8, Digital8, and microDV tapes of family events that date back as much as 20 ye
-
Hi Experts, We have done proxy to SOAP scenario and we are getting the below error in the responce could you please help me what might be the error. MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response
-
Is there a way to totally remove the header and footer so my top and bottom margins can be less than .50?
-
Company Code Determination from Sales Organization
HI, Is there any function Module or BAPI to find out the Company Code from Slaes Organization in ECC system. Regards, Satya.