Xellerate against Oracle
I try to setup Xellerate /JBoss and Oracle and I got folowing error.
17:51:46,927 INFO [STDOUT] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jdbc not bound]
17:51:46,931 INFO [STDOUT] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1047)
17:51:46,932 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java
Is there anyone know why this exception is thrown and hwo I can fix it?
Please help
Thanks
JO
Aman.... wrote:
Yes it is safe to use as you are using a higher end client with a lower end db. This is right for the config of the OP, but not in all cases.
Client / Server / Interoperability Support Between Different Oracle Versions
Doc ID: Note:207303.1
Nicolas.
Similar Messages
-
OLEDB 8i against Oracle 9i Database
Is it recommended to use Oracle Provider for OLE DB 8i driver against Oracle 9i Database server?
Does anyone have an official Oracle link whether this is supported or not.
Thanks
DipakAssuming you have an 8i client, this is a supported configuration. It new 9i features require some additional client coding, you may not be able to access them from the 8i client. I doubt you'd hit any of these issues since you're using OLE DB, though.
Unfortunately, I'm not aware of an official Oracle link that explains the policy. There is probably some note on Metalink that explains it.
Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com/askDDBC -
Limitations of Oracle 10G XE as against Oracle 10G Standard Edition
Can you please give the information regarding....
1. Capabilities of Oracle 10G XE (Express Edition)
2. Limitations of Oracle 10G XE as against Oracle 10G Standard EditionHave a look at the License Information:
http://download-uk.oracle.com/docs/cd/B25329_01/doc/license.102/b25456/toc.htm#BABJBGGA
There's also a feature matrix in pdf-format:
http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family.pdf
C.
Message was edited by:
cd -
Embedded SQL against Oracle Question
Software: Forte 3.0.J.
Server Platform: HPUX 10.2
Database: Oracle
Problem Description: During the course of development, I ran into a
problem using multiple columns in an sql UPDATE/SET statement. I was trying
to update a.COLUMN_1 and a.COLUMN_2, which constitute part of the primary
key of associative TABLE_A (a). In order for me to make the update, I
needed to use the existing value of a.COLUMN_1 to lookup the new b.COLUMN_1
in TABLE_B (b). Where a.COLUMN_1 = b.RELATED_COLUMN_1, I am able to find
each b.COLUMN_2 that correspond to each a.COLUMN_2.
I was able to resolve the issue by separating the two columns so
that each had it's own select statement. Theoretically, it appears that
this shouldn't work, because the SET statement for a.COLUMN_1 would cause
the a.COLUMN_1 reference in the select statement of a.COLUMN_2 to be
overwritten.
In spite of this, I tried it, and it worked. I would like to
understand why the sql works, and how sql actually executes the statement.
Here is the sql:
UPDATE TABLE_A a
SET a.COLUMN_1 =
(SELECT DISTINCT b1.COLUMN_1
FROM TABLE_B b1
WHERE b1.RELATED_CASE_ID =
a.COLUMN_1 AND
b1.RELATED_COLUMN_TYPE_CD = 'NEPHI'),
a.COLUMN_2=
(SELECT DISTINCT b2.COLUMN_2
FROM TABLE_B b2
WHERE b2.RELATED_COLUMN_1=
a.COLUMN_1 AND
b2.RELATED_COLUMN_TYPE_CD = 'NEPHI' AND
b2.RELATED_COLUMN_2= a.COLUMN_2)
WHERE a.COLUMN_1 = 100
The table structure is as follows:
TABLE_A: (primary keys are bolded) This is an associative table.
Column_1 and Column_2 comprise the pk of one table; Column_3 and Column_4
comprise the pk of another table. Assume that the Column_1 and Column_2
values replacing the original values already exist in the parent table of
which they form the pk).
COLUMN_1
COLUMN_2
COLUMN_3
COLUMN_4
COLUMN_5
TABLE_B: (primary keys are bolded) This is a reference table.
COLUMN_1
COLUMN_2
RELATED_COLUMN_1
RELATED_COLUMN_2
RELATED_COLUMN_TYPE_CD
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>If you do an explain plan or set autotrace on against this update statement,
you'll find that the select operations are actually executed first by Oracle
- I believe because of the nature of the transaction. Thus, no problem.
Brian Wilson
U.S. Bancorp Piper Jaffray
[email protected]
Phone (612) 342-5682
From: David Pettit[SMTP:[email protected]]
Reply To: David Pettit
Sent: Friday, April 30, 1999 1:58 PM
To: '[email protected]'
Subject: Embedded SQL against Oracle Question
Software: Forte 3.0.J.
Server Platform: HPUX 10.2
Database: Oracle
Problem Description: During the course of development, I ran into a
problem using multiple columns in an sql UPDATE/SET statement. I was
trying
to update a.COLUMN_1 and a.COLUMN_2, which constitute part of the primary
key of associative TABLE_A (a). In order for me to make the update, I
needed to use the existing value of a.COLUMN_1 to lookup the new
b.COLUMN_1
in TABLE_B (b). Where a.COLUMN_1 = b.RELATED_COLUMN_1, I am able to find
each b.COLUMN_2 that correspond to each a.COLUMN_2.
I was able to resolve the issue by separating the two columns so
that each had it's own select statement. Theoretically, it appears that
this shouldn't work, because the SET statement for a.COLUMN_1 would cause
the a.COLUMN_1 reference in the select statement of a.COLUMN_2 to be
overwritten.
In spite of this, I tried it, and it worked. I would like to
understand why the sql works, and how sql actually executes the statement.
Here is the sql:
UPDATE TABLE_A a
SET a.COLUMN_1 =
(SELECT DISTINCT b1.COLUMN_1
FROM TABLE_B b1
WHERE b1.RELATED_CASE_ID =
a.COLUMN_1 AND
b1.RELATED_COLUMN_TYPE_CD = 'NEPHI'),
a.COLUMN_2=
(SELECT DISTINCT b2.COLUMN_2
FROM TABLE_B b2
WHERE b2.RELATED_COLUMN_1=
a.COLUMN_1 AND
b2.RELATED_COLUMN_TYPE_CD = 'NEPHI' AND
b2.RELATED_COLUMN_2= a.COLUMN_2)
WHERE a.COLUMN_1 = 100
The table structure is as follows:
TABLE_A: (primary keys are bolded) This is an associative table.
Column_1 and Column_2 comprise the pk of one table; Column_3 and Column_4
comprise the pk of another table. Assume that the Column_1 and Column_2
values replacing the original values already exist in the parent table of
which they form the pk).
COLUMN_1
COLUMN_2
COLUMN_3
COLUMN_4
COLUMN_5
TABLE_B: (primary keys are bolded) This is a reference table.
COLUMN_1
COLUMN_2
RELATED_COLUMN_1
RELATED_COLUMN_2
RELATED_COLUMN_TYPE_CD
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
Nondeposit investment products are not insured by the FDIC, are
not deposits or other obligations of or guaranteed by U.S. Bank
National Association or its affiliates, and involve investment
risks, including possible loss of the principal amount invested.
Past performance does not guarantee future results. We consider
our sources reliable. Accuracy and completeness are not guaranteed.
Information is subject to change. Transactional details should not
be relied on for tax purposes and do not supersede normal trade
confirmations or statements. Messaging outside U.S. jurisdictions
from U.S. Bancorp Piper Jaffray to non-institutional parties is not
intended for solicitation purposes.
Electronic mail sent through the Internet is not secure. We will
not accept time-sensitive, action-oriented messages, transaction
orders, fund transfer instructions or check stop payments
electronically.
If you are not the intended recipient, notify the Sender. This
information is intended only for the person named above and for
the purposes indicated. Do not distribute this message without
written consent of the author. Non-business opinions may not
reflect opinions of U.S. Bancorp Piper Jaffray and its affiliates.
U.S. Bancorp Piper Jaffray and its affiliates reserve the right to
monitor all e-mail.
Securities products and services are offered through
U.S. Bancorp Piper Jaffray Inc., member SIPC and NYSE, Inc.,
a subsidiary of U.S. Bancorp.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Error using setTimestamp and ojdbc14 against Oracle 7.3.4
I am having a problem setting a timestamp value against Oracle 7.3.4 and Oracle 8.0.6 databases.
Here's the code:
public Tester
(String passedUsername, String passedPassword, String passedHostName, String passedPort, String passedSID)
throws SQLException {
// Establish a database connection
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
} catch (ClassNotFoundException e) { throw new SQLException("Can't find class oracle.jdbc.driver.OracleDriver"); }
StringBuffer myStringBuffer = new StringBuffer(50);
myStringBuffer.append("jdbc:oracle:thin:@");
myStringBuffer.append(passedHostName);
myStringBuffer.append(":");
myStringBuffer.append(passedPort);
myStringBuffer.append(":");
myStringBuffer.append(passedSID);
Connection myConnection = DriverManager.getConnection(myStringBuffer.toString(), passedUsername, passedPassword);
myConnection.setAutoCommit(false);
// Insert the test record
PreparedStatement myPreparedStatement = null;
try {
myPreparedStatement = myConnection.prepareStatement("insert into test_table(date_field) values (?)");
myPreparedStatement.setTimestamp(1, new Timestamp(System.currentTimeMillis()));
myPreparedStatement.execute();
} finally {
if (myPreparedStatement != null) myPreparedStatement.close();
Here's the error that occurs under Oracle 7.3.4:
java.sql.SQLException: ORA-01024: invalid datatype in OCI call
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:656)
at Tester.<init>(Tester.java:46)
at Tester.main(Tester.java:62)
Here's the error that occurs under Oracle 8.0.6:
java.sql.SQLException: ORA-03115: unsupported network datatype or representation
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:656)
at Tester.<init>(Tester.java:46)
at Tester.main(Tester.java:62)
Note that the table in the insert statement does not have to exist. You can even replace the statement with a garbage statement.
The error is produced regardless.
The code is being compiled under JDK 1.4
I am using the latest version of the JDBC drivers (i.e. ojdbc14.jar)
The code works fine under Oracle 8.1.7 and 9.0.1
My code needs to access all four of these database version, sometimes concurrently, so I can only use a single driver class (i.e. I can't swap out ojdbc14.jar for classes12.zip).
Any feedback would be appreciated!Hi,
Only to say that we have the same problem like you:
- Error ORA-01024 when connection to Oracle 8.0.1 on Sun Solaris
- Error ORA-03115 when connection to Oracle 8.1.5 on Windows
We are thinking about upgrading Oracle. Is it the only solution?
Thank you -
Validate web service username and password against Oracle EBS
Hi,
We have a requirement to pass username/password to a SOA webservice that needs to be validated against Oracle E-Business Suite (EBS) login credentials. The EBS users are not integrated with SOA Weblogic server. In EBS, the standard PL/SQL procedure FND_WEB_SEC.VALIDATE_LOGIN(user_name, password) can be used for validation. Appreciate if someone can provide input on validating the username and password as part of web service security header using any OWSM policy.
Thanks!I'm guessing that you are trying to call an EBS API and are using FND_WEB_SEC to test that the user account is valid in FND_USER first before executing the API call. In that instance, you'll likely need to use the Oracle Applications Adapter for EBS if you want to authenticate the user through FND_USER.
If you've not purchased that adapter, you could use a simple BPEL process, with a regular database adapter to firstly call the FND_WEB_SEC package to authenticate. Pass the response from eBS into a bpel variable, add a bpel switch based on the outcome of that variable either execute the API call or throw an authentication error if the call failed.
You can wrap all this up into one web service that then calls this bpel process, taking the username and password as as input parameters.
Phil -
Running Designer 6.0 against Oracle 11 - Getting error cid-20002
When we try to Oracle Designer 6.0 against Oracle 11 we get error message cid-20002.
Some of the functions work but not all and the ones that don't work gives us the error above.
What is cid and where can I find info about it?
suggestion pls!Best suggestion you turn to a supported configuration, only Designer version 10gR2 (10.1.2.4) - currently the latest version - works with 11g.
Werner -
Forms 6/6i against Oracle 8iLite?
Is it possible to run forms against Oracle 8i Lite?
Do I need Net80 connection or is sufficient
ODBC one?
Thanks.
GianlucaMi hanno detto che h possibile via ODBC.
Oracle 8i Lite non supporta PL/SQL.
Forse trovi di meglio nel gruppo di discussione su Oracle 8i Lite oppure nelle note tecniche sempre di Oracle 8i Lite.
Spero d'esserti stato d'aiuto.
Dino.
null -
ILM Assistant certified against Oracle 9i
Dear ILM Forum Users,
Can anyone tell me if ILM is certified for use against an Oracle 9i database ?
I know that the minimum requirements for running the ILM Assitant is Oracle 9i and Apex but it does not state in the documentation what version of the Oracle database ILM is certified against.
My client has and Oracle 9i database they would like to use the ILM solution for.
Regards
ChrisYes we have tested the ILM Assistant against Oracle 9i Release 2.
However, not all functionality of course will be available so for example, you won't be able to use the immutability feature.
Lilian -
SQL Developer 3.0 against Oracle 10g
Hi,
I have used SQL Developer in previous employments and prefer use it now (ie SQL Developer 3.0), but unsure if the mix will work.
I am on a Windows Server 2003 Std 64bit Edition and with Service Pack 2. and have Oracle client 10g home with basic tools against an Oracle 10G database server.
So before installing, I would like some tips on the best mix for Client and Server with respect to SQL Developer.
I also understnad that it will require Java JDK install prior to SQL Developer. Will this require me to take into consideration current Java installs under
"C:\Program Files (x86)\Java\jre6\bin" and dated back to 30 Sept 2010
Many thanks before hand
ChrisYou can can download SQL Developer with a JDK included. This is 32-bit, but will run fine in a 64-bit OS.
Alternatively you can download the 64-bit version of SQL Developer. This requires you to have a 64-bit JDK.
You can install multiple JDKs without interfering with each other. Your existing JRE installation won't work anyway as you need a JDK.
If you download a JDK, don't get Java 7 as SQL Developer doesn't work properly with that. Get the latest version of Java 6.
Edited by: Jim Smith on Dec 20, 2011 4:31 PM -
Oracle 11g client against Oracle 10.2.0.3
Hello
OS : Solaris 10 : Two servers S1 & S2
S1 - Oracle 10.2.0.3
S2 - Oracle client 11G
From S2, my application is communicate with Oracle DB on S1.
Would like to confirm, if it is safe to use Oracle client 11G against 10.2.0.3 DB or should I install 10G version of client only.
Thanks in advance for your reply.Aman.... wrote:
Yes it is safe to use as you are using a higher end client with a lower end db. This is right for the config of the OP, but not in all cases.
Client / Server / Interoperability Support Between Different Oracle Versions
Doc ID: Note:207303.1
Nicolas. -
Running GoldenGate against Oracle 11g Standard Edition?
We're looking to run Oracle GoldenGate against an Oracle 11g Standard edition database to another Oracle 11g DB also on Standard. I've been reading though the documents and they talk of Oracle to Oracle using XStreams which is part of Streams. But it's my understanding that Streams is only available on Enterprise.
So is it possible to run GoldenGate on Oracle DB Standard Edition?AFAIK, Golden Gate has no requirement on Oracle edition to be used, but could have licence cost differences.
It works on Oracle from version 8i to the latest one, not only on Oracle database, and not only between same Oracle version and same OS, and not only between two Oracle db .
Nicolas. -
Custom PWS (Java) against Oracle
We are planning on developing a custom PWS in Java against an Oracle database (Peoplesoft).
We will be deploying Websphere App Server 5.1 with EDK 5.1 (Java) on the remote (portlet/web service) server on the Windows platform.
Is there any peference/recommendation as to which JDBC driver(Data Direct driver, type etc.) , I should use to access the Oracle database from teh custom PWS? Does anyone forsee any issues with this platform and/or Oracle database access on the remote application server.
I'd appreciate any JDBC driver specification recommendation and any other insights into this.
Thanks and regards.
Vanita
StaplesTry this (refers to assignment service, but I believe classpath is the same):
32.3.2.3 How to Deploy a Custom Assignment ServiceTo deploy a custom assignment service:
1.Use one of the following methods to make an assignment service implementation class and its related classes available in the class path of Oracle BPEL Process Manager:
◦Load your classes in SCA-INF/classes directly or SCA-INF/lib as a JAR.
◦Change the Oracle BPEL Process Manager shared library to include your JAR files.
Note:
◦You cannot create different versions of the assignment service for use in different BPEL processes unless you change package names or class names.
◦Java classes and JAR files in the suitcase are not available in the class path and therefore cannot be used as a deployment model for the assignment service.
◦The steps must be repeated for each node in a cluster.
Excerpt is from:
http://docs.tpu.ru/docs/oracle/en/owl/E14571_01/integration.1111/e10224/bp_workflow.htm#BACHEFDH -
BASIC web authentication against Oracle database?
Hello,
Here's what I want in a nutshell. When someone goes to one of my webpages
under WLS 8.1, I want them to be presented with a BASIC authentication
dialog. That part is configured between web.xml and weblogic.xml and I
think I'm OK with doing that. But the part I don't have quite figured out
is how to get do authentication against a table in an Oracle (or any other,
for that matter) database.
Can someone point me (or do you have) any examples that accomplish this?
I'm sure I'm not the only one who's tried to do this. As far as I can
tell, I need to create a custom Authenticator (and possibly a custom
Asserter) and my implementation of those would do the search against the
database. Correct?Hi
You probably need to develop a custom login module. WLS uses JAAS so do some JAAS
research the go to
http://dev2dev.bea.com/products/wlserver/security.jsp
then click
http://dev2dev.bea.com/codelibrary/code/security_prov.jsp and get and customize
the sample code.
The example code does NOT show how to use form based authentication with your
custom LoginModule, I'm still working on that, but I assume the WLS servlet container
creates and appropriate CallbackHandler so you can access the supplied username
and pw which you can then use to authenticate against your RDBMS
I need to create a custom LoginModule for Blockade and am going down this track,
still working on it.
"KissFan 1973" <[email protected]> wrote:
Hello,
Here's what I want in a nutshell. When someone goes to one of my webpages
under WLS 8.1, I want them to be presented with a BASIC authentication
dialog. That part is configured between web.xml and weblogic.xml and
I
think I'm OK with doing that. But the part I don't have quite figured
out
is how to get do authentication against a table in an Oracle (or any
other,
for that matter) database.
Can someone point me (or do you have) any examples that accomplish this?
I'm sure I'm not the only one who's tried to do this. As far as I
can
tell, I need to create a custom Authenticator (and possibly a custom
Asserter) and my implementation of those would do the search against
the
database. Correct? -
Master detail against Oracle Lite was working, now broken -help?
I have a master detail form running against an Oracle Lite database which was working fine. Today I made several changes - added create method so I could default some values, changed background colors, connected to the rest of the columns in the child entity, changed some display formats.
Now whenever I try to update or insert on the child table I get errors:
DAC-305: DbAccess commitTransaction failed. Session: Session1
JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO CBC(DAY,HORSE_ID,WBC,HGB,HCT,PLT,MCHC,PMN,STAB,BASO,LYMPH,MONO,EOS,FECAL,MY,ALBUMIN,BL) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ".
Unhandled object
on insert, or
DAC-104: ImmediateAccess: setAttribute failed. ColumnView: Hct row: 1
JBO-26080: Error while selecting entity for Cbc
[ODBC S1C00] driver not capable of this operation
on update.
I've undone most of what I did today trying to figure out what broke it. Wish I had a backup! What gives? How do I debug this thing?
Thanks, BryanSolution:
For Oracle Lite anyhow, you must be careful to use the right data types in the BC4J EO (Entity Objects). Timestamp works, Date doesn't. BigDecimal works, number doesn't. If the wrong data type is set the application will read and display data, but attempts to insert new data or update existing data will throw the errors above.
Maybe you are looking for
-
hi all we have created external service account as cost element and that is mentioned iin transaction key FRL in obyc so whenever i am doing the GR for subcontracting posting system will debit the FRL account and will credit the GR/IR account so at
-
ActiveX Component Can't Create Object - Access 2010
I hadn't used Access in a few months, and when I did, it decided to reinstall itself. All other MicroSoft Office software is running fine. I went to open my file and it gave me the runtime 429 error with the statement shown above. When I use Debug
-
Buy additional iCloud accounts
Hello, I have a Mobile Me family account with one master apple ID. We have numerous laptops, desktops and iPhones in my family. Now that Mobile Me is out I'd like to set up separate iCloud accounts so we can each sync our devices, music and so on i
-
When text in TextFrame is aligned to baseline and scaled - Drop Cap becomes too large and hangs over text. Is it an InDesign bug or I've missed something? Here is an example of such behaviour: scale is 200%, drop cap size is 8 lines. I'm using InDesi
-
Can't delete duplicate emails with add on
over 20,000 emails have been dumped into my mailbox with the majority of them being duplicates of ones that I already have in my mailbox. Tried installing the add-on for this problem but nothing happens. What else can I do?