Connection pool error with oracle 11g and weblogic 10
Hi,
my code is:
public Connection getConnection() {
properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.T3InitialContextFactory");
//properties.put(Context.SECURITY_PRINCIPAL, "weblogic");
//properties.put(Context.SECURITY_CREDENTIALS, "weblogic");
properties.put(Context.PROVIDER_URL, "t3://172.23.61.214:7001/");
try {
initialContext = new InitialContext(properties);
datasource = (DataSource) initialContext.lookup("sample_jndi");
try {
connection = datasource.getConnection();
} catch (SQLException e) {
e.printStackTrace();
} catch (NamingException e) {
e.printStackTrace();
return connection;
it is giving Exception at line " connection = datasource.getConnection(); "
Exception is:
javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
at weblogic.jrmp.Context.lookup(Context.java:189)
at weblogic.jrmp.Context.lookup(Context.java:195)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.code.sample.connectionDB.JDBCConnectionPool.getConnection(JDBCConnectionPool.java:35)
at com.code.sample.connectionDB.JDBCConnectionPool.main(JDBCConnectionPool.java:52)
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at weblogic.jrmp.Context.lookup(Context.java:185)
... 4 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(Unknown Source)
... 9 more
Please Advice.... Thanks
I removed the "/" and tried..
But the exception is same:
javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
at weblogic.jrmp.Context.lookup(Context.java:189)
at weblogic.jrmp.Context.lookup(Context.java:195)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.code.sample.connectionDB.JDBCConnectionPool.getConnection(JDBCConnectionPool.java:35)
at com.code.sample.connectionDB.JDBCConnectionPool.main(JDBCConnectionPool.java:52)
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at weblogic.jrmp.Context.lookup(Context.java:185)
... 4 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(Unknown Source)
... 9 more
Similar Messages
-
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 -
Connect as: normal with Oracle 12c and Toad 12 FAILS.
Connect as: normal with Oracle 12c and Toad 12 FAILS.
I've been looked at forums, blogs and wikies but I couldn't found why my new user, that I created before, can't connect as NORMAL but as SYSDBA it can.
I don't know why this occurs.
My intention is create a user/schema in a local DB to have my own db.
I can create a new user but when I go to connect to this new schema I only connect as SYSDBA, this is a big trouble because I can "see" object's DBA and I don't want this, I want create my own new schema db and not share name's object or name's tables with DBA.
For example, object JOB exists as SYSDBA and I can't create a new table with this name.
Please, help me.
Thanks very much for read me.Hello rp0428!!
I'll show you all step that you wrote.
In sql plus:
sho con_name
CON_NAME
CDB$ROOT
SELECT name, created, open_mode FROM v$database;
NAME CREATED OPEN_MODE
ORCL 23/07/2013 15:59:44 READ WRITE
SELECT username, account_status, lock_date, expiry_date FROM dba_users WHERE USERNAME like '%IMEI%' ORDER BY 1;
username account_status lock_date expiry_date
IMEILOCAL OPEN 22/01/2014 12:20:25
SELECT USERNAME,CON_ID,USER_ID FROM CDB_USERS WHERE USERNAME like '%IMEI%';
USERNAME CON_ID USER_ID
IMEILOCAL 3 117
select GRANTEE,con_id from cdb_ROLE_PRIVS where GRANTED_ROLE='CONNECT' AND GRANTEE LIKE '%IMEI%';
GRANTEE con_id
IMEILOCAL 3
SELECT NAME, CON_ID, DBID, CON_UID, GUID FROM V$CONTAINERS ORDER BY CON_ID;
NAME CON_ID DBID CON_UID GUID
ORCLC 3 2835062256 2835062256 14236144864B451C8E04D5C6453034FA
To create my user I did:
select con_id,dbid,NAME,OPEN_MODE from v$pdbs;
2 4064112103 PDB$SEED READ ONLY
3 2835062256 ORCLC MOUNTED
alter PLUGGABLE database ORCLC open;
select con_id,dbid,NAME,OPEN_MODE from v$pdbs;
--2 4064112103 PDB$SEED READ ONLY
--3 2835062256 ORCLC READ WRITE
alter session set container=ORCLC;
CREATE TABLESPACE DATA3 DATAFILE 'C:\app\X05699SA\oradata\orcl\DATA3.dbf' SIZE 50M;
CREATE USER IMEILOCAL IDENTIFIED BY IMEILOCAL DEFAULT TABLESPACE DATA3 TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK;
select username, password, created, password_versions, default_tablespace from dba_users where username like '%IMEI%';
username password created password_versions default_tablespace
IMEILOCAL 24/07/2013 16:41:35 11G DATA3
GRANT CREATE SESSION TO IMEILOCAL;
GRANT CREATE TABLE TO IMEILOCAL;
GRANT CREATE VIEW TO IMEILOCAL;
GRANT CREATE procedure TO IMEILOCAL;
GRANT CREATE trigger TO IMEILOCAL;
GRANT CONNECT TO IMEILOCAL;
GRANT CREATE SEQUENCE to IMEILOCAL;
GRANT create any context TO IMEILOCAL;
GRANT create public synonym TO IMEILOCAL;
GRANT execute on dbms_rls TO IMEILOCAL;
GRANT administer database trigger TO IMEILOCAL;
SELECT user, osuser, terminal, program FROM gv$session WHERE sid = (SELECT sid FROM v$mystat WHERE rownum = 1);
user osuser terminal program
SYS SECTORIALES\X05699SA MX3500906DC1549 Toad.exe
SELECT u.username, u.default_tablespace, u.temporary_tablespace "TMP TBS", u.profile, r.granted_role,
r.admin_option, r.default_role
FROM sys.dba_users u, sys.dba_role_privs r
WHERE u.username = r.grantee and u.username like '%IMEI%'
GROUP BY u.username, u.default_tablespace, u.temporary_tablespace, u.profile, r.granted_role,
r.admin_option, r.default_role;
IMEILOCAL USERS TEMP DEFAULT CONNECT NO YES
SELECT tablespace_name FROM dba_tablespaces;
SYSTEM
SYSAUX
TEMP
USERS
EXAMPLE
DATA3
SELECT name, password FROM user$ where name like '%IMEI%';
IMEILOCAL passwordx
select USERNAME, USER_ID, CREATED, COMMON, ORACLE_MAINTAINED from all_users WHERE username like '%IMEI%' order by 1;
IMEILOCAL 117 24/07/2013 16:41:35 NO N
select * from user$ where name like '%IME%';
117 IMEILOCAL 1 passwordx 3 2 24/07/2013 16:41:35 26/07/2013 12:20:25 0 1 0 0 DEFAULT_CONSUMER_GROUP 0 S:566C0A818AC42C203D49706D3586926A7656F5B16AA6C37E8FE10A1F779B;H:6FB057BA9F5B0690B93FD9A20695654D
Here you're my tnsnames.ora
# tnsnames.ora Network Configuration File: C:\app\X05699SA\product\12.1.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.iecisa.corp)
# Here you're my listener.ora Network Configuration File: C:\app\X05699SA\product\12.1.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\X05699SA\product\12.1.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\X05699SA\product\12.1.0\dbhome_1\bin\oraclr12.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
I think my problem source from about CDBs and PDBs, that is new in Oracle 12c and I'm not configure correcly my new DB and neither my new User
Thanks for all!!! -
BUG for sort column with Oracle 11g and APEX 3.2
I have BUG in Report region(Oracle 11g and APEX 3.2). if i have more than 746 Char for my column's value and i want to sort them, this error appear
Report error :
ORA-00910: specified length too long for its datatype.
But in an other environement in Oracle 10g and apex 3.2, with the same data. I have no BUG.
Somebody have an idea for a possible solution to this problem???Again, I may just be wasting your time...but if I have XDB problems...especially with the password, I do the following:
1. Change your working directory to $ORACLE_HOME/apex.
2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS.
3. Run apxconf.sql
> @apxconf
4. When prompted, enter a password for the Oracle Application Express Admin account.
5. When prompted, enter the port for the Oracle XML DB HTTP server. (default port being, of course,8080).
6. Unlock the ANONYMOUS account
> ALTER USER ANONYMOUS ACCOUNT UNLOCK;
7. If needed, I do the SETHTTPPORT command mentioned before...
Since I'm using the Oracle 11g, with embedded PL/SQL server, I have no idea if this is the same for 10g us OHS?
Hope that helps!
KSL. -
Java Connection Pooling issue with Oracle 10g Express Edition
Hello
I have a Java based web application that uses the Oracle 10g Express Edition database. I am using a connection pool to get connections to the database.
I use the NetBeans IDE and run my web application on the bundled Tomcat server(5.5.7) that comes with the IDE. Though when I initially run the application from the IDE, the connection pool is set up fine, when I recompile my java code and try to run the application again, I get the following error each time:
Listener refused the connection with the following error:
ORA-12516, TNS:listener could not find available handler with the
matching protocol stack.
The logs before the error shows up, indicate that the connection pool object is fine and gives me the number of available connections and the number of active connections and so on, which I have printed from the constructor of the Connection Pool class:
For e.g.:
Cache size = 17
Available Connections = 17
Cache Limit = 1000
Active size = 0
However, if I kill my Tomcat server process and run the application again, it works fine with no error.
I looked around for possible causes and solutions and all I could find
was increasing the processes parameter value in the init.ora file. I have increased the parameter value to from 100 to 20000 now, in increments of 500/1000 each time but it hasnt worked so far.
Someone else suggested that I increase the size of my connection pool; I initially had it set to a minimum limit of 5, an initial limit of 10 and a maximum limit of 1000. However if I set the Initial Limit to anything above 17 connections, I see the following log on the Bundled Tomcat log and my application doesn't run at all:
Log: Loading JDBC Driver : class=oracle.jdbc.driver.OracleDriver ...
Log: Loaded JDBC Driver
Log: Connection with URL=jdbc:oracle:thin:@localhost:1521:xe as username/password
Error code not handled : 0
Exception Message :java.sql.SQLException: Listener refused the connection with the following error:
ORA-12519, TNS: no appropriate service handler found
The Connection descriptor used by the client was:
localhost:1521:xe
// End of log
And the Bundled Tomcat server automatically shuts down.
Again the System.out statements from the Connection Pool class constructor show that the cache has been initialized and that currently there are free connections available in the pool.
E.g.
Cache size = 18
Available Connections = 18
Cache Limit = 1000
Active size = 0
Has anyone faced anything similar? Could someone please suggest what I'm doing wrong here and what I should do to set right this problem?
Swethahello, please pardon me, my english is basic. i do of my best. i had the same problem until reading the pdf documentation 2 days for java devvelloper.it is simple, follow this way.
try {OracleDataSource ds;
Connection conn;
ds = new OracleDataSource();
ds.setURL("jdbc:oracle:thin:@localhost");
conn = ds.getConnection("userid","password");
Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
don't forget to Dowload the user client of oracle Express Edition. do the rest of your program and it will work. take a look to the documentation pdf for java develloper. all it is explained. good look -
Java Mail throws Connect failed error in Oracle 11g Enterprise Edition
Hi,
I am using Oracle 11g Enterprise edition.I have a java class which is used for reading outlook 2010 inbox and download attachments from mails .For Connecting to OutLook from oracle i am using "POP3S" protocol in my java class. Which is working fine until my database is oracle-11g standard edition. Last week we are upgraded our database from oracle 11g standard edition to oracle 11g enterprise edition after that i can't connect to mail server through my java class which throws an error as follows.
DEBUG: setDebug: JavaMail version 1.4.4
DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]
DEBUG POP3: mail.pop3s.rsetbeforequit: false
DEBUG POP3: mail.pop3s.disabletop: false
DEBUG POP3: mail.pop3s.forgettopheaders: false
DEBUG POP3: mail.pop3s.cachewriteto: false
DEBUG POP3: mail.pop3s.filecache.enable: false
DEBUG POP3: mail.pop3s.keepmessagecontent: false
DEBUG POP3: mail.pop3s.starttls.enable: true
DEBUG POP3: mail.pop3s.starttls.required: false
DEBUG POP3: mail.pop3s.apop.enable: false
DEBUG POP3: mail.pop3s.disablecapa: false
DEBUG POP3: connecting to host "194.42.133.180", port 110, isSSL true
javax.mail.MessagingException: Connect failed;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:210)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at GetNoonReport.Connect2Mailserver(GetNoonReport:338)
at GetNoonReport.ReadMail(GetNoonReport:103)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:507)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)
at com.sun.mail.pop3.Protocol.<init>(Protocol.java:107)
at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:261)
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:206)
... 4 more
Is Oracle Enterprise Edition supports "POP3S" protocol?, Or Enterprise edition needs any additional configuration for establishing outlook connection with "pop3s" ?.
Any help is appreciated
Regards ,
Nisanth907833 wrote:
Hi,
I am using Oracle 11g Enterprise edition.I have a java class which is used for reading outlook 2010 inbox and download attachments from mails .For Connecting to OutLook from oracle i am using "POP3S" protocol in my java class. Which is working fine until my database is oracle-11g standard edition. Last week we are upgraded our database from oracle 11g standard edition to oracle 11g enterprise edition after that i can't connect to mail server through my java class which throws an error as follows.
I suspect root cause is with Java not Oracle.
Oracle RDBMS does NOT speak any "protocol" except SQL natively. -
How to connect Sql Developer with Oracle 11g Xe
Hi all.
I am new in the mac os x world and i want to now if it`s possible to connect the sql developer (running at mac os) with oracle xe (running at windows 8 at parallels vm).
Thank u all.Perhaps the Building ASP.NET Web Applications with Oracle Developer Tools for Visual Studio from the Oracle By Example series will be enough to get you going.
-
Thick driver with Oracle 9i and Weblogic 6.1 or 7.0?
Hello,
Does anyone have a sample config file for their connection pool under
Webligic 6.1-7.0 which they wouldn't mind sharing?
It's pretty tough to find an example config file for this because
Oracle seems to refer to BEA's docs, and vice versa. In either case,
they're really vague about what values are needed in the various
fields. In the case that you've seen a document which covers this -
could you please forward me a link to it?
Thank you,
- RyanIt seems that the config parms you have are for the thin driver - I
was hoping to find the parms for the thick driver specifically.
Thanks,
- Ryan
"Neo Gigs" <[email protected]> wrote in message news:<[email protected]>...
DriverName="oracle.jdbc.driver.OracleDriver"
URL="jdbc:oracle:thin:@192.168.101.20.:1521:ORA1"
"Ryan D'Silva" <[email protected]> wrote in message
news:[email protected]..
It might help - especially if the config requirements for the driver
haven't changed much since Oracle 7.
I'd appreciate being able to take a look at it,
- Ryan
"Neo Gigs" <[email protected]> wrote in message
news:<[email protected]>...
Mine is configuration of Oracle 7, you want it?
"Ryan D'Silva" <[email protected]> wrote in message
news:[email protected]..
Hello,
Does anyone have a sample config file for their connection pool under
Webligic 6.1-7.0 which they wouldn't mind sharing?
It's pretty tough to find an example config file for this because
Oracle seems to refer to BEA's docs, and vice versa. In either case,
they're really vague about what values are needed in the various
fields. In the case that you've seen a document which covers this -
could you please forward me a link to it?
Thank you,
- Ryan -
Error while compiling a custom pll with forms 11g and weblogic
Hi there,
I just posted a thread here:
Error FRM-30312 while compiling a custom pll library on forms 11g weblogic
please, I need helpWhy wouldn't you post in the proper forum, i.e the Forms forum
-
JPA error with Jdev 11g and 3.6 server
I am testing a sample JPA demo I found on OTN and I am running into an issue when I start a coherence instance in a command window and run the sample code within jdev. If I run this example in Jdev with out starting the extra instance it will run correctly. The error I get is shown below, ideas???
(Wrapped: Missing or inaccessible constructor "com.tangosol.coherence.jpa.JpaCacheStore(String,String,String)"
<class-scheme>
<class-name>com.tangosol.coherence.jpa.JpaCacheStore</class-name>
<init-params>
<!--
This param is the entity name
This param is the fully qualified entity class
This param should match the value of the
persistence unit name in persistence.xml
-->
<init-param>
<param-type>java.lang.String</param-type>
<param-value>Employees</param-value>
</init-param>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>jpacoherence.Employees</param-value>
</init-param>
<init-param>
<param-type>java.lang.String</param-type>
<param-value>JPACoherence</param-value>
</init-param>
</init-params>
</class-scheme>) java.lang.reflect.InvocationTargetException
at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
at com.tangosol.run.xml.XmlHelper.createInstance(XmlHelper.java:2487)As an updtate, I set local storage = false and that made things work, but I a not sure why. So I stll need and some help in understanding why.
-
Oracle 11g and PRO*C : pre-compile errors only with 11g !
Hi !
I didn't find a forum specific to pro*c, so here i am.
I've downloaded Oracle 11g and recompiled our applications using pro*c
We currently precompiling without any problem our sources against Oracle 7, 8, 9, 10.
With Oracle 11g, it doesn't work !
every EXEC SQL followed by a command works.
every EXEC SQL followed by a query generates the same error.
Example :
char *oracle_date_courante()
static char buf[SIZE_ORADATE+1];
EXEC SQL SELECT sysdate into :buf from DUAL;
if(ORA_SQLERROR())
oracle_error("sélection date courante");
buf[0]=0;
return buf;
PRO*C output :
Erreur Ó la ligne 105, colonne 2 dans le fichier src\oracle.pc
EXEC SQL
.1
PLS-S-00000, SQL Statement ignored
erreur sÚmantique Ó la ligne 105, colonne 2, fichier src\oracle.pc:
EXEC SQL
.1
PCC-S-02346, PL/SQL a trouvÚ des erreurs sÚmantiques
So, we investigated... And found that thoses errors come when we use the option sqlcheck=semantics.
If we use an inferiour check level, it works but because we use PL/SQL keywords, pro*c prints errors and wants us to provide the 'semantics' sqlcheck level !
So, it's a vicious circle !
Any ideas ?
Thanks...
VincentAdding the option common_parser=yes removes the errors !
But brings errors linked to the PL/SQL parser such like
CSF-S-00000, ORA-06544: PL/SQL : erreur interne, arguments : [55916], [], [], []
1>, [], [], [], []
1>ORA-06553: PLS-801: erreur interne [55916]
Really vicious..and still not precompiling !
By the way : Server is 10.2.0.1... and i guess thoses errors are normal since the common parser is not available in this version...
So bye bye option common_parser and i'm back to my orignals errors.
Message was edited by:
Vicenzo -
Problem integrating Oracle 9i and Weblogic 7 with MDBs
All:
I would really appreciate an answer to this question.
Background:
- We are using Oracle 9i and Weblogic 7
- I have an MDB that receives a message, then in the onMessage(Message) method
performs a findByPrimaryKey(String).
Problem:
The deployment descriptors and the MDB all work fine when I set them up to query
against a Pointbase database and deploy to Weblogic. Everything worked fine. But
this was only a test to see if everything would work.
I now need to query against an Oracle database. I got the updated version of the
Oracle Thin Driver and put it in the WL_HOME/server/lib/classes12.zip file. I
even added it to the beginning of the classpath in the startWeblogic.cmd file.
But am still having problems.
To test the just the Oracle connection I double checked the user, password, URL,
and driver settings in a java file using JDBC connections - and they worked fine.
They just aren't working when integrated into Weblogic.
The problem lies in the Weblogic 7 server integration with Oracle 9i. The software
integrated fine when tables from a Pointbase database were queried. The only changes
made have been to make the connectivity to Oracle.
My errors are in the attached myserver.log file. If anyone knows if this is a
known problem or what the problem is please let me know.
Just FYI my settings are as follows:
Driver: oracle.jdbc.driver.OracleDriver
URL=jdbc:oracle:thin:@192.168.6.10:1521:proType1
user=protype1
password=protype1
Any advice is welcomed! I've tried everything I can think of.
Angie
[myserver_errors.txt]Hi Angela
you can try the following parameters in the FileRealm.properties to set
acl.reserve.weblogic.jdbc.connectionPool.<connectionPool>=everyone
Thomas
Angela Biche schrieb:
Thanks, I set the initial pool count to 2 and have up to 10
connections (for this testing). Unfortunately it hasn't helped
any.
The error that I am getting is an SQLException:
Exception = Access not allowed
But when I ran the java utils.dbping it makes the connection
with the connection and driver parameters I enter in the console.
I'm still open to ideas on this! :)
Thanks,
Angie -
XA error XAER_RMERR with wls6.1 and weblogic XA driver
This error develops quickly in our designed simple test with these settings:
1) wlserver6.1 on Ultra 10 with Solaris 8;
2) XA datasource on another Ultra 10 with Oracle 8i;
3) Weblogic XA Oracle Driver;
4) Simulated 50 clients from Windows 2000 IE using Microsoft Web Stress test
suite;
5) BMT session bean;
6) Data base contains a simple table with two colomns, name and password.
7) The test business logic is to get and return the password string, could
not be simpler.
The Processing logic(high level) is as follows:
A) get UserTransaction, and begin transaction;
B) loop(30 times):
1) get connection
2) create statement
3) execute statement
4) close result set
5) close statement
6) close connection
C) commit/rollback the tx accordingly.
Note that:
1) the 50 simulated clients will generate repeated hits to stress the
server.
2) We changed to use "thin" driver, giving up the XA capability, and the
tests run OK. However, XA is what we absolutely require of. So please help
identify this problem. It needed, the complete sample code can be made
available.
Thanks.
Here comes the exception dump:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has
occured in the transaction branch start() failed on resource
'weblogic.jdbc.jta.DataSource' start failed for XAResource 'branchoutPool'
with error XAER_RMERR : A resource manager error has occured in the
transaction branch at
weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1113) at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1079) at
weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148) at
weblogic.jdbc.jta.Connection.createStatement(Connection.java:229) at
weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.jav
a:126) at
weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:56)
at simpleEJB.SimpleEJB.hitdb(SimpleEJB.java:57) at
simpleEJB.SimpleEJB_1zpe51_EOImpl.hitdb(SimpleEJB_1zpe51_EOImpl.java:79) at
simpleEJB.SimpleEJB_1zpe51_EOImpl_WLSkel.invoke(Unknown Source) at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298) at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:93) at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:166) at
weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92) at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112) at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262) at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229) at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at
$Proxy83.hitdb(Unknown Source) at
simpleUI.SimpleProxy.hitdb(SimpleProxy.java:31) at
jsp_servlet.__simple._jspService(__simple.java:95) at
weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:304) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2495) at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2204) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)hi!
I´m facing the same problem with a similiar configuration.
Pool is large enough for an elephant! (:>))
Any other hints?
regards,
Pesca
"Richard Wallace" <[email protected]> escreveu na mensagem
news:[email protected]...
>
Hi,
What connection pool settings do you have? I assume you have enoughconnections
for this test?
Regards,
Richard Wallace
Senior Developer Relations Engineer
BEA Support.
"Yuming Liu" <[email protected]> wrote:
This error develops quickly in our designed simple test with these
settings:
>>
1) wlserver6.1 on Ultra 10 with Solaris 8;
2) XA datasource on another Ultra 10 with Oracle 8i;
3) Weblogic XA Oracle Driver;
4) Simulated 50 clients from Windows 2000 IE using Microsoft Web Stress
test
suite;
5) BMT session bean;
6) Data base contains a simple table with two colomns, name and password.
7) The test business logic is to get and return the password string,
could
not be simpler.
The Processing logic(high level) is as follows:
A) get UserTransaction, and begin transaction;
B) loop(30 times):
1) get connection
2) create statement
3) execute statement
4) close result set
5) close statement
6) close connection
C) commit/rollback the tx accordingly.
Note that:
1) the 50 simulated clients will generate repeated hits to stress the
server.
2) We changed to use "thin" driver, giving up the XA capability, and
the
tests run OK. However, XA is what we absolutely require of. So please
help
identify this problem. It needed, the complete sample code can be made
available.
Thanks.
Here comes the exception dump:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error
has
occured in the transaction branch start() failed on resource
'weblogic.jdbc.jta.DataSource' start failed for XAResource'branchoutPool'
with error XAER_RMERR : A resource manager error has occured in the
transaction branch at
weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1113) at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1079)
at
weblogic.jdbc.jta.Connection.getXAConn(Connection.java:148) at
weblogic.jdbc.jta.Connection.createStatement(Connection.java:229) atweblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.jav
a:126) atweblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:56)
at simpleEJB.SimpleEJB.hitdb(SimpleEJB.java:57) at
simpleEJB.SimpleEJB_1zpe51_EOImpl.hitdb(SimpleEJB_1zpe51_EOImpl.java:79)
at
simpleEJB.SimpleEJB_1zpe51_EOImpl_WLSkel.invoke(Unknown Source) at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
atweblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:93) atweblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:166)
at
weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:92)
at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:112)
atweblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:262) atweblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229) at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35) at
$Proxy83.hitdb(Unknown Source) at
simpleUI.SimpleProxy.hitdb(SimpleProxy.java:31) at
jsp_servlet.__simple._jspService(__simple.java:95) at
weblogic.servlet.jsp.JspBase.service(JspBase.java:27) atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265) atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:304) atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200) atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2495) atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2204) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) -
Deployment Manager Error with Oracle Weblogic Server 10.3.1
I have installed Identity Manager 9.1.0.2 (patch upgraded from 9.1.0.1) on OEL 5.3 64bit and Weblogic 10.3.1
Database:Oracle 11gR2 (remote machine).
**I am aware that IM 9.1.0.2 is not certified on Weblogic 10.3.1 (it is only certified on 10.3),
The installation was successful and OIManager is up and running. Able to create Users, Resources etc. as well.
As part of configuring OIM Connectors tried to Import .xml file using Import option from Deployment Management section as below and the following error was displayed.
"Either your session timed out or you are trying to access a page without logging in".
Did all workarounds like enabling java, changing browsers, restarting machine etc as per the below discussion but in vain.
Deployment Manager Error with Oracle Weblogic Server
Can any one suggest any workaround or solution for this problem.
Or atleast can any one confirm there is no Identity manager available on this date which is compatible with 10.3.1? and cannot be continued further.
Thanks in Advance
Sudheer
Edited by: SudheerPrabhala on Oct 20, 2009 1:26 AMYou are facing this issue because you're using a non certified combination.
Other folks who tried to use OIM in 10.3.1 ended up in the same problem you're facing. -
Error Intall RWD Uperform 4.3 on Windows 2008 with Oracle 11G
Hi,
I need install RWD Uperform 4.3 on Windows 2008 with Oracle 11G.
When tried install Uperform 4.3 occurs the next error:
Product: RWD uPerform Server -- This Release requires Oracle 11.2 R2 ODP Client to be Installed.
If you are not using Oracle, please use the regular 4.30.0 release.
If you are using Oracle, please install ODP.NET and then re-run the Setup. Setup will be aborted now.
I installed the ODP.NET whit the version 11.2.0.2.
But the errors still occur.
Thanks.
Marco KolombeskyIn the end I solved my problem.
But I installed RWD uperform 4.4 (not 4.3).
But I think that the problem was that when I installed uperform 4.3 I didn't run this command at DB level on my SQL Server datadabe:
ALTER DATABASE AdventureWorks2008R2
SET READ_COMMITTED_SNAPSHOT ON;
GO
Regards
Matteo Stocco
Maybe you are looking for
-
Open a pdf file in a new window
How do you have a pdf file open up in a new window in DW8?
-
Why Mac Mini if started up with monitors switched off looses Mouse settings?
Hi, I have a late 2012 Mac Mini connected to 2x LG HD monitors (one with thunderbolt adapted to HDMI and one on HDMI). Every morning I switch on the computer but sometimes I forget to switch on the monitors. If the machine boots without monitors I ge
-
My App Store does not work when trying to update applications
My Apo store does not work when I try to update applications that need to be updated
-
MM-SUS Invoice against GR IDOC error
Hi All, I am using MM-SUS scenario with SRM 7.0. I am doing GR in ERP, for the SUS purchase order without creating an ASN. Then the GR is transferred to SUS. When the supplier creates and Invoice against the GR in SUS, an IDOC of type INVOIC is sent
-
Hi all I've just started playing with iMovie 8. I imported some clips that I had stored. they are .mov and Quicktime call's them DV files. Quicktime plays them fine. When I first started I just imported a couple and they played fine in iMovie too.. b