Weblogic 8.1 with Oracle 9iR2 RAC
Hi, Expert All
I am having a problem of unbalanced connections connecting to two instances of an Oracle 9iR2 RAC db. I have 3 Weblogic Servers. The situation is that most of the time (8/10) majority of connections made to instance1:instance2 are (server1 2:25, server2 1:26, server3 0:27). It seems that the tns entry of (failover=on)(load_balance=on) is not working. :-(. So how can I achieve a relatively balanced configuration? Thanks.
Parker
See Has anyone gotten OAM/WebLogic SSPI to work w/WebLogic Portal Server 9.2? & Re: OAM WebLogic integration issue
Edited by: vishukla on Jan 15, 2009 10:35 AM
Similar Messages
-
ALBPM 5.7 BPM process admin issues with Oracle 11g RAC as directory service
Hi,
Setup ALBPM 5.7 enterprise for weblogic.
BPM Engine deployed on weblogic cluster.
BPM process admin (web console) deployed on tomcat.
BPM process admin uses WEB-INF/directory.properties for directory configuration.
things were fine with oracle SID,
directory.default.url=oracle://<db_host>:1521/schema=diruser,sid=BPMDB { with this, login to process admin was working fine}
But clueless, on how to configure RAC as the directory service in the above directory.properties file. Since this is a old version, no directory.xml in the installation.
Connection string:
(DESCRIPTION =
(LOAD_BALANCE = on)
(FAILOVER = on)
(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST1)(PORT=1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST2)(PORT=1521))
(CONNECT_DATA =
(SERVICE_NAME = BPMDB)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
Please help how to use service name (above connection string) in directory.properties, to be able to login to process admin successfully.
Thanks in advance,
SwamyUsing admin center, able to get the string to be used in directory.properties.
FYI, the string looks like below,
directory.default.url=oracle://customURL:0/schema=bpmdirectory,customURL=jdbc:oracle:thin:@(DESCRIPTION = (LOAD_BALANCE = on)(FAILOVER = on)(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST1)(PORT=1521))(ADDRESS = (PROTOCOL = TCP)(HOST = DB_HOST2)(PORT=1521)) (CONNECT_DATA = (SERVICE_NAME = BPMDB.DOMAIN.COM) (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC)))) -
Petstore 1.3 on Weblogic 7.0 with Oracle 8.1.7
Hi, I am trying to get petstore 1.3 working on Weblogic7.0
with Oracle 8.1.7 database on HPUX. I made some modifications
to the source files and regenerated the EAR files. When I copied
the four EAR files to the applications sub-directory, two .ear
files (petstoreadmin.ear & petstore.ear) deployed successfully
but not the supplier.ear and opc.ear. I got the following messages from deploying
supplier.ear:
Any help would be greatly appreciated,
Min-Shih
=====================================================
####<Nov 7, 2002 5:09:30 PM PST> <Warning> <EJB> <cutst058.cup.hp.com> <examplesServer>
<ExecuteThread: '9' for
queue: 'default'> <kernel identity> <> <010061> <The Message-Driven EJB: supplier_OPC_MDB_QUEUE
is unable to connect to the
JMS destination: jms/opcApplication/SUPPLIER_PO_MDB_QUEUE. The EJB container will
automatically attempt to re-establish the connection with the JMS server. This
warning may occur during WebLogic Cluster start-up if the JMS destination is located
on another WebLogic Server instance. When the JMS server connection is re-established,
the Message-Driven EJB will again receive JMS messages.
The Error was:
The JMS destination with the JNDI name: jms/opcApplication/SUPPLIER_PO_MDB_QUEUE
could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.xml
is correct, and the JMS destination has been deployed.>
####<Nov 7, 2002 5:09:30 PM PST> <Error> <EJB> <cutst058.cup.hp.com> <examplesServer>
<ExecuteThread: '9' for queue: 'default'> <kernel identity> <> <010072> <Error
starting EJB Module : supplierEjb.jar
Exception is :
Unable to deploy EJB: supplierEjb.jar from supplierEjb.jar:
weblogic.ejb20.WLDeploymentException: nulljava.lang.reflect.InvocationTargetException:
javax.ejb.EJBException: Supp
lier.MsgBean.ejbCreate: naming exceptionjavax.naming.LinkException: [Root exception
is javax.naming.NameNotFoundEx
ception: Unable to resolve 'jms.TopicConnectionFactory' Resolved: 'jms' Unresolved:'TopicConnectionFactory'
; remai
ning name 'TopicConnectionFactory']; Link Remaining Name: 'jms/TopicConnectionFactory'Hi, I am trying to get petstore 1.3 working on Weblogic7.0
with Oracle 8.1.7 database on HPUX. I made some modifications
to the source files and regenerated the EAR files. When I copied
the four EAR files to the applications sub-directory, two .ear
files (petstoreadmin.ear & petstore.ear) deployed successfully
but not the supplier.ear and opc.ear. I got the following messages from deploying
supplier.ear:
Any help would be greatly appreciated,
Min-Shih
=====================================================
####<Nov 7, 2002 5:09:30 PM PST> <Warning> <EJB> <cutst058.cup.hp.com> <examplesServer>
<ExecuteThread: '9' for
queue: 'default'> <kernel identity> <> <010061> <The Message-Driven EJB: supplier_OPC_MDB_QUEUE
is unable to connect to the
JMS destination: jms/opcApplication/SUPPLIER_PO_MDB_QUEUE. The EJB container will
automatically attempt to re-establish the connection with the JMS server. This
warning may occur during WebLogic Cluster start-up if the JMS destination is located
on another WebLogic Server instance. When the JMS server connection is re-established,
the Message-Driven EJB will again receive JMS messages.
The Error was:
The JMS destination with the JNDI name: jms/opcApplication/SUPPLIER_PO_MDB_QUEUE
could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.xml
is correct, and the JMS destination has been deployed.>
####<Nov 7, 2002 5:09:30 PM PST> <Error> <EJB> <cutst058.cup.hp.com> <examplesServer>
<ExecuteThread: '9' for queue: 'default'> <kernel identity> <> <010072> <Error
starting EJB Module : supplierEjb.jar
Exception is :
Unable to deploy EJB: supplierEjb.jar from supplierEjb.jar:
weblogic.ejb20.WLDeploymentException: nulljava.lang.reflect.InvocationTargetException:
javax.ejb.EJBException: Supp
lier.MsgBean.ejbCreate: naming exceptionjavax.naming.LinkException: [Root exception
is javax.naming.NameNotFoundEx
ception: Unable to resolve 'jms.TopicConnectionFactory' Resolved: 'jms' Unresolved:'TopicConnectionFactory'
; remai
ning name 'TopicConnectionFactory']; Link Remaining Name: 'jms/TopicConnectionFactory' -
Problem in using Weblogic 6.1 with Oracle 9i
Hi,
Has anybody experiensing problems in creating connection from Weblogic6.1 to Oracle
9i using thin driver?
We have a piece of codes that works fine with Weblogic 6.1 and Oracle 8.1.7 but
failed to create database connection when we upgrade to database to 9i (the same
code works fine without weblogic).
Thanks
Li
[email protected]It works after I put the new oracle driver ahead of the weblogic stuff.
Thanks
Li
Joseph Weinstein <[email protected]> wrote:
You should make sure you have the same Oracle driver in the server
classpath, as works in the standalone case. Note that we ship a
thin driver too, so your newer one will ahve to be ahead of all
the weblogic stuff in the server classpath.
Joe
Li Wang wrote:
After upgraded our oracle server to 9i, we found that our applicationdoes not
work. So, I wrote a simple test program that just creates a connectionand exec
a query. The program works find with 9i by itself (of cause). But,when I put
it in Weblogic 6.1 (as Startup class), there are problems.
First, it takes 833700ms to create a connection (It takes 981ms tocreate a connection
outside wls, it takes 900ms to create a connection to oracle8.1.7 insidewls).
Then, it gets "java.sql.SQLException: ORA-00600: internal error code,arguments:
[ttcgcshnd-1], [0], [], [], [], [], [], []"
while executing the query.
We run weblogic and oracle on Windows2000.
The code looks like:
Class.forName("oracle.jdbc.driver.OracleDriver");
String username = "yourusername";
String password = "yourpassword";
String host = "yourhost";
String sid = "yoursid";
String dbURL = "jdbc:oracle:thin:@" + host +":1521:" + sid;
String sql = "select * from yourtable";
System.out.println(dbURL);
Connection connection = DriverManager.getConnection (dbURL, username,password);
Statement statement = connection.createStatement();
statement.executeQuery(sql);
statement.close();
connection.close();
"Jignesh Patel" <[email protected]> wrote:
1. Are you able to create connection pool using Oracle 9i THIN driver
? i.e Define
connection pool & make initial connection => 1. At the time of startup
weblogic
will create connections defined in connection pool.
2. Can you post your error message ?
Thanks
Jignesh Patel
"Li Wang" <[email protected]> wrote:
Hi,
Has anybody experiensing problems in creating connection from Weblogic6.1
to Oracle
9i using thin driver?
We have a piece of codes that works fine with Weblogic 6.1 and Oracle
8.1.7 but
failed to create database connection when we upgrade to database
to
9i
(the same
code works fine without weblogic).
Thanks
Li
[email protected] -
Problem with Oracle 10g RAC VIP network setting at Solaris 9
Dear All,
I have tried to set up a Oracle 10g RAC Release 2.
With OS solaris 9, and 2 nodes.
The nodes setting as the following:
nodes 1:
Public address: 172.16.0.121
Private address: 192.168.0.121, 192.168.1.121 (dual path for heart beat)
nodes 2:
Public address: 172.16.0.122
Private address: 192.168.0.122, 192.168.1.122
And i have assigned two IP adress 172.16.0.131, 172.16.0.132 as the VIP address for the
RAC.
And the following is the /etc/hosts file:
root@shk01 # cat /etc/hosts
# Internet host table
127.0.0.1 localhost
# public address
172.16.0.121 shk01 loghost
172.16.0.122 shk02
# heart beat
192.168.0.121 shk01-priv1
192.168.1.121 shk01-priv2
192.168.0.122 shk02-priv1
192.168.1.122 shk02-priv2
# VIP address
172.16.1.131 vip-shk01
172.16.1.132 vip-shk02
But when i run the command "$ ./runcluvfy.sh comp nodecon -n shk01,shk02 -verbose"
it shows the error:
ERROR:
Could not find a suitable set of interfaces for VIPs.
Result: Node connectivity check failed.
I did try to add the VIP address on bge0:1, as i using bge0 for the public address.
Both nodes i did using the same interface name for it.
Anyone have idea for me to check out the error?
Also, I have other question about the raw device.
As there is option for setting for ASM or raw device. If choosing raw device, does it mean that it just need to
format the storage disk but without newfs it? And then the Oracle program will able to handle it?
Thanks,
XentarYou don't seem to state categorically that you are using Solaris Cluster, so I'll assume it since this is mainly a forum about Solaris Cluster (and IMHO, Solaris Cluster with Clusterware is better than Clusterware on its own).
Clusterware has to see the same device names from all cluster nodes. This is why Solaris Cluster (SC) is a positive benefit over Clusterware because SC provides an automatically managed, consistent name space. Clusterware on its own forces you to manage either the symbolic links (or worse mknods) to create a consistent namespace!
So, given the SC consistent namespace you simple add the raw devices into the ASM configuration, i.e. /dev/did/rdsk/dXsY. If you are using Solaris Volume Manager, you would use /dev/md/<setname>/rdsk/dXXX and if you were using CVM/VxVM you would use /dev/vx/rdsk/<dg_name>/<dev_name>.
Of course, if you genuinely are using Clusterware on its own, then you have somewhat of a management issue! ... time to think about installing SC?
Tim
--- -
Solaris 10 and Hitachi LUN mapping with Oracle 10g RAC and ASM?
Hi all,
I am working on an Oracle 10g RAC and ASM installation with Sun E6900 servers attached to a Hitachi SAN for shared storage with Sun Solaris 10 as the server OS. We are using Oracle 10g Release 2 (10.2.0.3) RAC clusterware
for the clustering software and raw devices for shared storage and Veritas VxFs 4.1 filesystem.
My question is this:
How do I map the raw devices and LUNs on the Hitachi SAN to Solaris 10 OS and Oracle 10g RAC ASM?
I am aware that with an Oracle 10g RAC and ASM instance, one needs to configure the ASM instance initialization parameter file to set the asm_diskstring setting to recognize the LUNs that are presented to the host.
I know that Sun Solaris 10 uses /dev/rdsk/CwTxDySz naming convention at the OS level for disks. However, how would I map this to Oracle 10g ASM settings?
I cannot find this critical piece of information ANYWHERE!!!!
Thanks for your help!You don't seem to state categorically that you are using Solaris Cluster, so I'll assume it since this is mainly a forum about Solaris Cluster (and IMHO, Solaris Cluster with Clusterware is better than Clusterware on its own).
Clusterware has to see the same device names from all cluster nodes. This is why Solaris Cluster (SC) is a positive benefit over Clusterware because SC provides an automatically managed, consistent name space. Clusterware on its own forces you to manage either the symbolic links (or worse mknods) to create a consistent namespace!
So, given the SC consistent namespace you simple add the raw devices into the ASM configuration, i.e. /dev/did/rdsk/dXsY. If you are using Solaris Volume Manager, you would use /dev/md/<setname>/rdsk/dXXX and if you were using CVM/VxVM you would use /dev/vx/rdsk/<dg_name>/<dev_name>.
Of course, if you genuinely are using Clusterware on its own, then you have somewhat of a management issue! ... time to think about installing SC?
Tim
--- -
Installation failure with Oracle 9iR2 on OS X on G5
I tried installing Oracle on my new G5 running OS X 10.2 but encountered
errors. Basically it looks
like the database was unable to be created.
I checked the logs and found that there were many errors talking about not
connected to oracle.
On checking the alert logs i found the following errors
Errors in file /Users/oracle/9iR2/orahome/rdbms/log/ab_pmon_905.trc:
PMON: terminating instance due to error 470
Instance terminated by PMON, pid = 905
Errors in file /Users/oracle/9iR2/orahome/rdbms/log/ab_dbw0_945.trc:
ORA-07445: exception encountered: core dump [semop+8] [SIGFPE] [Invalid
floating point
operation] [0xE0AEA000] [] []
Errors in file /Users/oracle/9iR2/orahome/rdbms/log/ab_pmon_943.trc:
ORA-00471: DBWR process terminated with error
PMON: terminating instance due to error 471
Instance terminated by PMON, pid = 943
Errors in file /Users/oracle/9iR2/orahome/rdbms/log/ab_dbw0_982.trc:
ORA-07445: exception encountered: core dump [semop+8] [SIGFPE] [Invalid
floating point
operation] [0xA000522C] [] []
Fri Nov 14 18:10:51 2003
Errors in file /Users/oracle/9iR2/orahome/rdbms/log/ab_pmon_980.trc:
ORA-00471: DBWR process terminated with error
Fri Nov 14 18:10:51 2003
PMON: terminating instance due to error 471
Instance terminated by PMON, pid = 980
Errors in file /Users/oracle/9iR2/orahome/rdbms/log/ab_dbw0_1004.trc:
ORA-07445: exception encountered: core dump [semop+8] [SIGFPE] [Invalid
floating point
operation] [0xA000522C] [] []
Fri Nov 14 18:11:20 2003
Errors in file /Users/oracle/9iR2/orahome/rdbms/log/ab_lgwr_1006.trc:
ORA-07445: exception encountered: core dump [semop+8] [SIGFPE] [Invalid
floating point
operation] [0x201000] [] []
Fri Nov 14 18:11:29 2003
Errors in file /Users/oracle/9iR2/orahome/rdbms/log/ab_pmon_1002.trc:
ORA-00471: DBWR process terminated with error
Fri Nov 14 18:11:29 2003
PMON: terminating instance due to error 471
Instance terminated by PMON, pid = 1002jpiwowar and fiebelko,
Thanks both for your responses.
I use Parallels -- currently on 3186 and contemplating 3188 -- but it always concerns me having the process/memory hit from using the VM environment. Hence, I am also looking at other alternatives.
I participated in the CXMac beta program with some success on general M$ Office Apps, which actually run faster than their M$ Office for Apple equivalents and with no appreciable performance hit on my MBP.
Just before the CXMac Beta program closed, someone posted some feedback about running Oracle Client (Full) and TOAD through CXMac, and I was hoping that someone here would know what the process was for getting this running.
As Crossover Mac (WINE) is replicating Windows32 API's, there is no compile type issues. The tools should (theoretically) install as if in a Windows environment. Unfortunately, nothing is ever that simple, and the Beta program posts I referred to highlighted some required Registry hacks for the Oracle Client install.
I will try with the hacks that you pointed to jpiwowar, but I think there were more steps required.
Thanks again,
Peter. -
Weblogic 6.1 with Oracle 9i on Win-2000
Hi
Is there a driver that is compatible for Weblogic 6.1 and Oracle 9i(9.0) on Windows
2000 environment? I tried the classes12.zip from oracle home\sid\jdbc\... but
the error I get is "No suitable Driver found"..when the Connection Pool starts.
Please suggest the right way...
Thanks
Ankur
Principal Consultant
Keane Inc.
603-682-7035Ankur,
Not yet, but expected soon. Please download the one from oracle's site.
Ankur Sinha wrote:
Hi
Is there a driver that is compatible for Weblogic 6.1 and Oracle 9i(9.0) on Windows
2000 environment? I tried the classes12.zip from oracle home\sid\jdbc\... but
the error I get is "No suitable Driver found"..when the Connection Pool starts.
Please suggest the right way...
Thanks
Ankur
Principal Consultant
Keane Inc.
603-682-7035 -
Weblogic Enterprise manager with Oracle Portal
Hi All,
Iam working on a architecture defination which is basically a B2B and B2C based web applications. I intially thought the Oracle Portal+Oracle BPM as the right combination as it gives a complete technical stack as well as we will have a well defined control over the integrations.
Since the application requires high sclability and high transactions support, wanted to choose Weblogic Enterprise manager instead of oracle AS. In this context i have following quoestions
1. Will the Oracle Portal+Oracle Discoverer+Portlets(PLSQL, JAVA) can be ported onto WEBLOGIC Enterprise manager server?
2. What is the feature of OracleASOC4J?
Request to respond on this as quicly as possible
Advance Thanks,
SreedharIn a RAC environment database control runs by default on a master mode,when this node goes down,EM does the same. There's a comprehensive article on metalink how to handle this:
How to manage DB Control 10.2 for RAC Database with emca
Doc ID: 395162.1
Werner -
Can't create connection pool using weblogic 6.1 with Oracle thin driver
Hi !
I have tried to create a connection pool from adminconsole. My CLASSPATH setting
is as follows :
F:\SOAP\soap-2_2\lib;F:\SOAP\soap-2_2;
D:\Oracle\Ora81\jdbc\lib\classes12.zip;
D:\Oracle\Ora81\jdbc\lib\nls_charset12.zip;
D:\Oracle\Ora81\jdbc\lib\classes111.zip;
F:\SOAP\soap-2_2\lib\jaf-1.0.1\activation.jar;
D:\Oracle\Ora8\Apache\Jsdk\src\javax\servlet\http;
D:\Oracle\Ora81\Apache\Jsdk\src\javax\servlet;
D:\Oracle\Ora81\lib;
F:\ant\jakarta-ant1.\bin;
E:\weblogic\oci\classes;
E:\weblogic\oci\classes\weblogic\xml\license;
E:\weblogic\oci\license;
E:\bea\wlserver6.1\lib;
E:\PetStoreHome\petstore1.3;
Following is the configuration.
#Oracle thin driver Method #2
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@test:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=1,\
props=user=xxx;password=xxx;server=test
#Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.thin=thin
# Add an ACL for the connection pool:
weblogic.allow.reserve.weblogic.jdbc.connectionPool.thin=everyone
I did append the file weblogic.properties with the above config. Now when I start
the Weblogic server I get the following error :
Starting WebLogic Server ....
<Nov 29, 2001 2:24:16 PM EST> <Notice> <Management> <Loading configuration file
.\config\petstore\config.xml ...>
<Nov 29, 2001 2:24:22 PM EST> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "petstoreServer" for domain "petstore">
<Nov 29, 2001 2:24:26 PM EST> <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>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(jdbcthin.SignOnDB) can't be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(jdbcthin.EstoreDB) can't be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(jdbcthin.InventoryDB) can't be
cr
eated with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(weblogic.jdbc.jts.thin) can't be
created with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <Management> <Application Poller not star
ted for production server.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, your browser should
automatically launch and point to the WebLogic Server
Tour running on this server. If your browser fails to
launch, point your browser to the URL
"http://burtsun:7001"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <ListenThread listening
on port 7001>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <SSLListenThread listeni
ng on port 7002>
<Nov 29, 2001 2:24:42 PM EST> <Notice> <WebLogicServer> <Started WebLogic Admin
Server "petstoreServer" for domain "petstore" running in Production Mode>
Could anyone please help me ?
Thanks
..MadhuriMadhuri wrote:
>
Hi Joe !
I didn't get what you would like to point out. Actully, I am using same config.,
but not to disclose the info. I gave you @test and username/password xxx/xxx.Ok. Now, assuming your pool looks like what I showed, the issue is probably
that there are multiple Oracle driver zips around, and your standlaone program
is using a different, newer, better one than the server. Our weblogic jar files
include a classes12.zip Oracle thin driver, but there are multiple versions of
classes12.zip, and the latest from oracle is better than the one we sealed into
our packaging. Please use jave -verbose to identify exactly which Oracle sip file
you are using in the successful case, then make sure this zip file comes before
any weblogic stuff in your weblogic server's classpath, so we'll use the same
driver. This should work. Edit the script you sue to start weblogic to verify
the classpath does end up with the oracle driver ahead of all weblogic stuff.
Joe
>
Please let me know.
Thanks
.Madhuri
Joseph Weinstein <[email protected]> wrote:
Madhuri wrote:
Hi Joe !
Here is the sample java code. Please let me know how I can test thisin weblogic
6.1.
Thanks
.MadhuriWell fine! That was easy. Your pool definition didn't have the same URL
or
user or password as this code. Try this for your pool definition:
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@adl-gbsdevel:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=10,\
maxCapacity=10,\
capacityIncrement=1,\
testConnsOnReserve=true,\
testTable=dual,\
props=user=mkelkar;password=mkelkar
Let me know,,,
Joe
Joseph Weinstein <[email protected]> wrote:
The key is in the log:
Could not create pool connection.
The DBMS driver exception was:
java.sql.SQLException: invalid arguments in call
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
Now we need to simplify the problem. Please make a simple 15-line
standalone
Java program like you'd find with the Oracle driver's examples, with
no
weblogic code in the picture. Just make a JDBC connection using Oracle's
driver, and show me that code. Then I can translate that into a pool
definition.
Joe
Madhuri wrote:
Hi Joe !
Thanks for your prompt reply. I tried the way you suggested but
it
still it gives
me the same error. I am attching here the weblogic.log file.
Thanks again
..Madhuri
Joseph Weinstein <[email protected]> wrote:
We'd want to see the log during booting, where the pool
is being created to see why that failed. Try a pool
definition with no blank lines, no whitespace at the
end of lines, and no server property. The thin driver
doesn't like that:
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@test:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=1,\
props=user=xxx;password=xxx
Joe
Madhuri wrote:
Hi !
I have tried to create a connection pool from adminconsole. My
CLASSPATH
setting
is as follows :
F:\SOAP\soap-2_2\lib;F:\SOAP\soap-2_2;
D:\Oracle\Ora81\jdbc\lib\classes12.zip;
D:\Oracle\Ora81\jdbc\lib\nls_charset12.zip;
D:\Oracle\Ora81\jdbc\lib\classes111.zip;
F:\SOAP\soap-2_2\lib\jaf-1.0.1\activation.jar;
D:\Oracle\Ora8\Apache\Jsdk\src\javax\servlet\http;
D:\Oracle\Ora81\Apache\Jsdk\src\javax\servlet;
D:\Oracle\Ora81\lib;
F:\ant\jakarta-ant1.\bin;
E:\weblogic\oci\classes;
E:\weblogic\oci\classes\weblogic\xml\license;
E:\weblogic\oci\license;
E:\bea\wlserver6.1\lib;
E:\PetStoreHome\petstore1.3;
Following is the configuration.
#Oracle thin driver Method #2
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@test:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=1,\
props=user=xxx;password=xxx;server=test
#Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.thin=thin
# Add an ACL for the connection pool:
weblogic.allow.reserve.weblogic.jdbc.connectionPool.thin=everyone
I did append the file weblogic.properties with the above config.
Now
when I start
the Weblogic server I get the following error :
Starting WebLogic Server ....
<Nov 29, 2001 2:24:16 PM EST> <Notice> <Management> <Loading
configuration
file
\config\petstore\config.xml ...>
<Nov 29, 2001 2:24:22 PM EST> <Notice> <WebLogicServer> <Starting
WebLogic
Admin
Server "petstoreServer" for domain "petstore">
<Nov 29, 2001 2:24:26 PM EST> <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>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(jdbcthin.SignOnDB)
can't
be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(jdbcthin.EstoreDB)
can't
be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(jdbcthin.InventoryDB)can't be
cr
eated with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(weblogic.jdbc.jts.thin)can't be
created with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <Management> <Application
Poller
not star
ted for production server.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, your browser should
automatically launch and point to the WebLogic Server
Tour running on this server. If your browser fails to
launch, point your browser to the URL
"http://burtsun:7001"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <ListenThreadlistening
on port 7001>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <SSLListenThreadlisteni
ng on port 7002>
<Nov 29, 2001 2:24:42 PM EST> <Notice> <WebLogicServer> <Started
WebLogic
Admin
Server "petstoreServer" for domain "petstore" running in ProductionMode>
Could anyone please help me ?
Thanks
..Madhuri
Name: weblogic.log
weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
Encoding: base64
Name: PrintColumns.java
PrintColumns.java Type: Visual Cafe File (application/x-unknown-content-type-VisualCafeFile.Document)
Encoding: base64 -
Creating Managed Server for Weblogic that comes with Oracle Service Bus
I've installed Oracle Service Bus 10.3.
Weblogic Server 10.3 comes bundled with OSB 10.3.
Everything is working fine in the Admin Server.
But when I create a Managed server and try to start it, I get the following exception and server doesn't start :
####<Nov 10, 2009 10:24:32 AM IST> <Critical> <Security> <iflmud6dlb5jn> <OSBManagedServer2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257828872747> <BEA-090403> <Authentication for user weblogic denied>
####<Nov 10, 2009 10:24:32 AM IST> <Critical> <WebLogicServer> <iflmud6dlb5jn> <OSBManagedServer2> <main> <<WLS Kernel>> <> <> <1257828872747> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user weblogic denied
weblogic.security.SecurityInitializationException: Authentication for user weblogic denied
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
I've tried changing the boot.properties file and given clear text username and password, but even this did not change the exception.
Are there any other security concerns that are to be taken care of while configuring Managed Server for Oracle Service Bus?
Kindly help.How are you starting the manageserver. Is it using command line or using NodeManager from Weblogic console of admin server. Most of the times we start managed server using yourDomain/bin/startManagedWebLogic.cmd (.sh).
startManagedWebLogic nameOfYourManagedServer adminURL(Ex: http://host:port).
If you created a managed server at the time of creation of domain itself using custom option, then under your domain root folder, you should see a file named like "startManagedWebLogic_readme.txt" that kind of gives the same above command.
If you added the managed server later on, to an existing single server domain, then you can use the above command.
Ravi Jegga -
Enabling server-side load balancing with Oracle 10g RAC
Hi, all.
I created a RAC database on vmware by using DBCA.
By default, remote_listener and tnsname.ora have been configured.
The followings are part of dba_services from my RAC database.
NAME, GOAL, ENABLED, CBL_GOAL
SYS$BACKGROUND NONE NO SHORT
SYS$USERS NONE NO SHORT
DEVDB NO LONG
By default(created by DBCA), server-side load balancing is enabled for
the RAC database, DEVDB??
--> GOAL of DEVDB is null, but CBL_GOAL IS LONG.
After creating a RAC db by using "DBCA", do I need to do something
for server-side load balancing??
If so what I need to do?? How can I test it??
And what is beneficial in enabling server-side loadbalancing ??
Is it good in the real world??
Thanks for reading.
Best Regards.
Message was edited by:
user507290[urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
[urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
Virag -
Ssl with Oracle jdbc thin driver on weblogic 9.2
http://www.oracle.com/technology/products/weblogic/howto/jdbcssl/index.html
http://www.oracle.com/technology/tech/java/sqlj_jdbc/pdf/wp-oracle-jdbc_thin_ssl_2007.pdf
I had already created the ssl-jdbc connections for Weblogic 9.2 with Oracle 10.2.0.3.0 based on the documents above.
My questions
1. the connections are not using the desired ports. The TCP listener is using 1521, and TCPS listener is using 1522, and 2484. However the connections do not use the configured ports. Is it normal?
2. If using the unassigned port is the normal case, where can I limit the port range?
3. How to prove the connections are in SSL?1. the connections are not using the desired ports. The TCP listener is using 1521, and TCPS listener is using 1522, and 2484. However the connections do not use the configured ports. Is it normal? It is normal.
2. If using the unassigned port is the normal case, where can I limit the port range? I still have no idea.
3. How to prove the connections are in SSL? No idea, too. -
Oracle RAC with Oracle Linux Based RAC Applications
What are the advantages of using Oracle Linux Based RAC applications (also known as Linux Oracle Projects) with Oracle Database RAC 10g ?
Personally, I find RAC to be about 1000% easier to manage on Linux...than on what? And why?
Beacause personally I can't see difference in RAC management between Linux and Solaris (i.e.). -
SAP ECC6.0 installation with Oracle RAC
Hi Expert,
Current we working on SAP ECC6.0 installation with Oracle 10G RAC on AIX 5.3. The RAC are running on two nodes (servers). And we are using GPFS filesystem (not running on HACMP).
Overall we had completed the Oracle RAC installation (CRS+RDBMS) and tested the oracle failover and it work find. Now we want to start with the SAP installation (with HA). In the SAP installation documentation, it did request to create a virtual hostname on the node and execute the sapinst scripts with below command line.
#./sapinst SAPINST_USE_HOSTNAME=ascs00
But if we are running on Oracle RAC + GPFS do we need to specify the virtual hostname? If not, which hostname i should use to install the HA for SAP? Please advice.
Regards.And then I'd continue with the documentation at:
SAP on Oracle => SAP on Oracle Real Application Clusters (RAC)
There you can find several installation guides for windows/UNIX/Linux
Maybe you are looking for
-
Error while generating a flat file from oracle database
i have imported three knowledge modules for the interafce. LKM SQL to SQL IKM SQL to FILE Append CKM oracle I have tried executing the interface in following ways 1. checked the staging area different from target and choosed SUNOPSIS_MEMORY_ENGINE. t
-
How to include non web pages to the "Create PDF from Web Page" feature?
In Acrobat Pro (v. 10), when I use the "Create PDF from Web Page" feature, it works great for html pages, but it skips non-html links (doc, pdf, ppt, xls, etc). I need Acrobat Pro to convert those files and put them in the order as well. I don't see
-
I am not able to see the drill down option for the key figures (Plan, Sales Actual etc) in the report. What should be done to have the drill down option.
-
Error when running redis-benchmark
I'm receiving a consistently reproducible error when running redis-benchmark against a new B1 instance of Redis cache. Ran redis-benchmark both from local machine, and an Azure VM. Create B1 instance of Redis cache (2.8) Download redis-benchmark.exe
-
HI WF error in PO has the following message Work item 000000341410: Object CL_BBP_ACTION_NOTIFICATION_WF method SEND_PARAM_MESSAGE_WF cannot An exception with the type CX_SY_DYN_CALL_PARAM_MI SSING occurred, but was neither handled locall Has anybody