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'
Similar Messages
-
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] -
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 -
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 -
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 -
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 -
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.
ParkerSee 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 -
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. -
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSource as I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
in the transaction branch start() failed on resource 'myXAPool' Unexpected error
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reached was 5,
which means there are enough connections in the pool available at all time.
It would be really great if you can help me out.
Thanks in Advance, Sudhir.
Hi Slava,
Sorry about that Oracle instance I am using is 8.1.7.
For the XA Driver I am using the one that comes with Weblogic in weblogic.jar.
And my Weblogic version 6.1 Sp3.
Thanks,
Sudhir.
"Slava Imeshev" <[email protected]> wrote:
Hi Sudhir,
Are you using an instance of 8.1.6 or 8.1.7? In the message header you
say
8.1.6.
Regards,
Slava Imeshev
"Sudhir Babu" <[email protected]> wrote in message
news:[email protected]..
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSourceas
I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb
DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager errorhas
occured
in the transaction branch start() failed on resource 'myXAPool' Unexpectederror
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reachedwas
5,
which means there are enough connections in the pool available at alltime.
It would be really great if you can help me out.
Thanks in Advance, Sudhir. -
XA error: using Weblogic 6.1 and Oracle 8.1.6
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSource as I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb
DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
in the transaction branch start() failed on resource 'myXAPool' Unexpected error
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reached was 5,
which means there are enough connections in the pool available at all time.
It would be really great if you can help me out.
Thanks in Advance, Sudhir.Hi Slava,
Sorry about that Oracle instance I am using is 8.1.7.
For the XA Driver I am using the one that comes with Weblogic in weblogic.jar.
And my Weblogic version 6.1 Sp3.
Thanks,
Sudhir.
"Slava Imeshev" <[email protected]> wrote:
Hi Sudhir,
Are you using an instance of 8.1.6 or 8.1.7? In the message header you
say
8.1.6.
Regards,
Slava Imeshev
"Sudhir Babu" <[email protected]> wrote in message
news:[email protected]..
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSourceas
I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb
DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager errorhas
occured
in the transaction branch start() failed on resource 'myXAPool' Unexpectederror
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reachedwas
5,
which means there are enough connections in the pool available at alltime.
It would be really great if you can help me out.
Thanks in Advance, Sudhir. -
Petstore 1.3 with Oracle 8.1.7 on Solaris 9 - deployment error
Hello,
I'm trying to get Petstore 1.3 shipped with WebLogic Server 7.0 to work with Oracle
8.1.7 on Solaris 9 with a third-party (Oracle) jdbc driver (classes12). I did
the following:
1) created a new connection pool with the correct Oracle database URL and driver
class name (oracle.jdbc.driver.OracleDriver), also user/password properties for
the Oracle db, and the WL server selected in targets;
2) created a database schema for Oracle based on the data in Pointbase and the
weblogic-cmp-rdbms-jar file as well as petstore_catalog_utf8.sql;
3) created a new tx datasource pointing to the Oracle conn pool;
4) modified the catalog component's ejb-jar.xml file's env-entry to contain CatalogOracleDAOImpl;
5) put weblogic.jar in the classpath;
6) used Java's dbping utility to check connection to the database via the Oracle
driver (works fine--no network adapter error or anything related).
I then rebuilt the ear files (build is successful), but when deploying get the
following error:
"Cannot deploy EJB AccountEJB from customerEjb.jar. Cannot find datasource for
JNDI datasource-petstorePool" and says to make sure the JNDI name and deployment
descriptors are correct (I checked the customer component's deployment descriptors
against the tx datasources' JNDI and they match).
What step(s) am I missing? Any suggestions on what else I need to modify would
be very much appreciated.
Thanks,
Beverly ClaireBeverly:
If you have 8.1, then you should be able to simply and easily create a
connection pool to petstore via the console.
The current error you encountering: "petstorePool does not exist" is
because either:
petstorePool is not defined or there was a failure when the pool was first
created trying to connect to the DBMS.
The full errror should be in the log file prior to the TXDatasource error.
Cheers
mbg
"Beverly Claire" <[email protected]> wrote in message
news:[email protected]...
>
Hello Rob,
Thanks for your reply. Yes, the tx datasource's JNDI name isdatasource-petstorePool.
The server log says that "petstorePool does not exist".
My conn pool contents:
Name: petstorePool
URL: jdbc:oracle:thin:@<replaced with db address>:<replaced with dbport>:<replaced
with db SID>
Driver Class Name: oracle.jdbc.driver.OracleDriver
Properties: user=<replaced with username*>
password=<replaced with password*>
*same username and password used to set up the Petstore tables in Oracledb.
>
My tx datasource contents:
Name: PetstoreDataSource
JNDI: datasource-petstorePool
Pool Name: petstorePool
No, actually we're not evaluating in the sense of just-trying-things-out.One
of our clients is considering an application server. They're relying on usfor
help in choosing which would be best. As of now, we are comparing BEA WLServer
7 and 8.1, Sun ONE Application Server 7 EE, Oracle 9i Application Server,and
Fujitsu Interstage v5 Application Server. For cluster testing andperformance
comparison purposes, we'd like to use the same J2EE Application across allservers,
and the obvious choice is Petstore 1.3. One aim is to smoothly connect toan Oracle
database. The other app servers provide setup scripts and databaseschemas for
Petstore-with-Oracle, so db conn and deployment are not a problem at all.As for
WL, we've been trying to get Petstore (both the version downloaded fromSun's
Java Blueprints and the version that shipped with WL 7) to work withOracle, but
no luck so far. It's getting a bit frustrating, given the ease with whichthings
worked out with the other app servers.
Yes, I've tried out Avitek MedRec for WL 8.1, and this time BEA has kindlymade
provisions for Oracle db, so connection to Oracle is not a problem. I'mhoping
BEA will come around to doing the same thing for Petstore, although I'mguessing
that won't be in the near future.
Any other suggestions would be much appreciated.
Thanks,
Bevery Claire -
Petstore throws populateServlet error with Oracle thin driver
When i point connection pool to Oracle database, i get the following error. The
data is populated in the database, looks like when petstore is enumerating db
tables and make sure all tables exist, this error is happening. Some how, database
metadata coming as NULL. Has anybody tried petstore with Oracle JDBC driver?
thanks,
PopulateServlet Error:
java.lang.NullPointerException java.lang.NullPointerException at com.sun.j2ee.blueprints.tools.populate.web.PopulateServlet.checkTables(PopulateServlet.java:276)
at com.sun.j2ee.blueprints.tools.populate.web.PopulateServlet.doGet(PopulateServlet.java:127)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)I believe that you do not have weblogicaux.jar in your classpath.
-Selvan
Laurie Cohen wrote:
Im using Solaris 2.7 with WLS 5.1.0 and Commerce Server 2.0.1 with
current service packs on both. JDK 1.2.1_04 and the Oracle thin driver
(classes111.zip which I am told is the only one supported in this
configuration). Has anyone seen this problem? Is it that the driver is
using 1.1 and I only have 1.2 installed?
devapp01% java -classpath
/usr/local/weblogic/classes:/usr/local/weblogic/license utils.t3dbping
t3://localhost:7601 username password "" oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:@10.200.201.110:1521:q01c
Connecting to WebLogic with the WebLogic JDBC Driver
Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/java/util/collections/ArrayList
at weblogic.kernel.Kernel.declareProperties(Kernel.java:253)
at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:107)
at weblogic.common.T3Client.<init>(T3Client.java:218)
at weblogic.common.T3Client.<init>(T3Client.java:269)
at weblogic.common.T3Client.<init>(T3Client.java:323)
at weblogic.jdbcbase.t3.Driver.connect(Driver.java:121)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:106)
at utils.t3dbping.main(t3dbping.java:115)
Thanks,
Laurie -
Which version of Weblogic on Solaris is compatible with Oracle 8.1.7 - Unicode?
Hi folks,
We want upgrade WLS 4.5.1 to one of the last version of WLS, but also we are
planing upgrade Oracle to 8.1.7 version and migrate the character set of the
database to UTF8 (Unicode),
so we need to know which versions of WLS are compatible with Oracle 8.1.7
and Unicode as Character Set.
Thanks in advance.
Moises Moreno.Hi Moises Moreno
The latest version of weblogic server is 6.1 with service pack 1. This version
supports oracle 8.1.7 on major unix platforms viz., solaris(2.6,2.7,2.8),
hp-unix(11.0,11.0i), linux7.1, Aix4.3.3 and on windows platforms viz.,
NTwithsp5, 2000.
BEA jdrivers are having Multibyte character set support (UTF8).
Note : Weblogic server 5.1 with SP10 also supports oracle 8.1.7.
FMI : http://www.weblogic.com/platforms/index.html#jdbc
Thanks & Regards
BEA Customer Support
Moises Moreno wrote:
Hi folks,
We want upgrade WLS 4.5.1 to one of the last version of WLS, but also we are
planing upgrade Oracle to 8.1.7 version and migrate the character set of the
database to UTF8 (Unicode),
so we need to know which versions of WLS are compatible with Oracle 8.1.7
and Unicode as Character Set.
Thanks in advance.
Moises Moreno. -
Problems setting up Weblogic Server 9.2 with Oracle AQ
We are in the process of upgrading from WLS81 to WLS92 and I'm currently trying to set up the environment. We have applications communicating with 3 different JMS-servers; Sonic, WMQ and Oracle AQ. For both Sonic and WMQ the connection seem to work fine. We get an active application, and the beans connecting to queues on those servers reports as 'connected'.
For Oracle AQ I must be doing something wrong, but I can't for the life of me figure out what it is.
Our setup is as follows:
We have a domain-scoped startup class that binds the AQ-queues and a custom QueueConnectionFactory to the WL default context. Giving them a name like aqadapter-AQ_ARE_PING.
We have defined a System Resource, within which we have defined AQ as a Foreign Server. Within this foreign server we have each queue mapped to the queue-names bound through the Startup class. Likewise we have a qcf mapped to the qcf bound through the startup class.
The application contains message-driven beans which are supposed to be listening to the AQ-queues. In weblogic-ejb-jar.xml each target queue is mapped within each bean to the same name mapped within the Foreign Server element.
All this results in MDB's that report as 're-connecting' and 'initializing' and the following message in Server1.stdout for each MDB:
<Mar 28, 2007 4:27:58 PM CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ARE_Ping is unable to connect to the JMS destination: AQ_ARE_PING. The Error was:
javax.jms.InvalidDestinationException: JMS-125: Invalid Queue specified>
Any ideas what I am doing wrong? It seems to me that all the settings are as similar as the way they are set up on WLS81 as we could get them.
Anyone reading this that have done this before? Setting up WLS92 or WLS90 to interact with Oracle AQ?
Regards,
Frode Laukus
Edited by laukus at 03/28/2007 7:53 AMHi Frode
Have you managed to find a solution to this issue?
We are trying to do something very similar and encountering all sorts of issues.
Are you using the DIPSStartup classes to register your queues & qcf with the WL JNDI? I haven't managed to get these classes to work with the AQJmsSession in the latest release of the aqapi13.jar files.
Hopefully we can sort out a workable solution between us :)
Andy -
Steps to UTF-8 Encoding with Oracle 8i and Weblogic 6.1SP1
What are the Steps to UTF-8 Encoding with Oracle 8i and Weblogic
6.1SP1?
I have:
- Oracle 8.1.5 database created with character set=UTF8 and national
character set=UTF8
- Weblogic 6.1SP1 without any encoding mechanism set
(though I did play with
<jsp-param><param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</jsp-param>
in the weblogic.xml for a while though it seemed not to make a
difference)
- JSP pages set to content='text/html; charset=UTF-8'
- JSP form POSTs set to enctype="UTF-8"
I can copy and paste Chinese Kanji from a UTF8 encoded web page into
form text boxes but when I post the data it comes back as different
Kanji. Then once it is posted the Kanji stays the same on repeated
posts. The same Kanji text also looks different when viewed in a form
text box than when viewed as straight text on the page.
Is there anything else? Or am I already encoding characters twice?
Please help!
Mel Christie
Hi Experts,
Please correct me if am asking you the question in wrong way.
I have ARCGIS with oracle database 10gr2 in production server.
My work is to connect AUTOCAD S/W (client computer which is connected in LAN) to ARCGIS in order to access the toposheets available in SDE user.
When iam trying to connect iam getting this error:The specified credentials are not valid or provider is not able to establish a connection.
I checked the path to production server by pinging and user/passcode too but not helpful.
Please help me in this , very urgent.
Thanks.
Edited by: user13355644 on Jul 3, 2010 3:53 AM
Edited by: user13355644 on Jul 22, 2011 2:55 AM
Maybe you are looking for
-
Trying to run .js script from MS Access
Hello guys, I am new to programming in JavaScript and Vba. Okay so I am trying to output data from a few cells from vba into a .js script in order to automatically create bookmarks in pdf files. This is all going to be part of a big database manageme
-
BI Publisher - unable to open report
Hello, After an uninstall and reinstall of OBIEE, I have a stranged thing in BI Publisher. When I click on a one directory of "Shared folders", the path I seen is : Home > Shared Folders > D: > OracleBI > xmlp > XMLP > Reports > Business Intelligence
-
Receiving Script Error only on Reader extended PDF
I'm working with a user who created a Livecycle PDF. They have formulas to sum rows and columns. Everything works fine in preview mode. However the PDF starts throwing an error when I reader extend it. I'm not sure why or what I need to do to fix
-
What are the steps in implementing PRICAT for vendor
Hi, I am tacked to start the study of PRICAT implementation. can some share with me how to proceed? I am in ECC 6.0 Thanks
-
Can the DVD be disabled? I'm fed up of the noise each time I open the lid.
Love my MacBook. One thing really annoys me though I have searched for the answer to this on the forums but nobody has come with an answer to this. I hate the way the SuperDrive motor clunks each time the lid is opened and the MacBook awakes from its