Problem integrating Oracle 9i, Weblogic 7.0, and MDB

(REFORMATTED??)
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 theOracle 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 softwareintegrated 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 aknown 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]

Angela Biche wrote:
(REFORMATTED??)
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).
Hi. Show me your pool definition, and the standalone code that makes a good
JDBC connection with the driver you want to use. I assume you've
verified that the driver you want to use comes before any weblogic
stuff in the classpath for the server.
It seems the pool was configured with zero initial capacity, and is being
asked to create connections at runtime. I would make the pool make all it's
connections at startup. This is faster and more stable, and will also narow
the problem down to the pool not booting until we get the JDBC connections
made.
Joe
>
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 theOracle 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 softwareintegrated 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 aknown 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
Name: myserver_errors.txt
myserver_errors.txt Type: Plain Text (text/plain)
Encoding: base64

Similar Messages

  • 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

  • Problems with Oracle Database 10g Express Edition and JBoss

    Hi all,
    I try to use Oracle Database 10g Express Edition and JBoss, but sometimes i have a connection problems.
    Sometimes i have starnge warning:
    WARN [JBossManagedConnectionPool] Unable to fill pool
    org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found
    and:
    org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found
    Oracle Database 10g Express Edition support Distributed Transaction Processing (DTP) XA interface or not?
    Some ideas?
    Thanks in advance!
    Stoyan

    Hi,
    yes, it will work, but only with the Western European Edition, not the Unicode release.
    See this thread for details:
    Re: Connection error from SqlPlus 8.0 to Oracle XE in the same computer
    Regards,
    ~Dietmar.

  • Problem with Oracle 8.1.7.4 and W2000

    Hi all,
    I installed Windows 2000 Server with IIS 5 and Oracle 8.1.7.4. Every now and then, I get an ASP error (800a01fb) mentioning that some SQL-query cannot be executed. However, this is not a persistent error. Sometimes it works fine, sometimes it does not. Besides that, the asp-pages worked fine on NT4. I installed the latest ODBC driver (8.1.7.8.10), MDAC 2.53.6200.00, on a P4.
    I've been searching for some days now on Google, finding loads of info on security, editing the SQLNET.ORA file and so on, but nothing seems to work. The ODBC driver I had before (8.1.6) worked even better than the new one. Installing SP4 for W2000 also had no effect. Can anybody please help me?
    Thanx in advance,
    regards,
    Tom

    Hi,
    My problem is solved as far as I can see now (that is: I do not see any problems anymore). I've installed Oracle ODBC Driver 8.1.7.1.0 and MDAC 2.7 SP 1 and got rid of all session.lcid=.... in my asp pages. This was mainly the cause of numerous errors about incorrect datatypes.
    Tom

  • How do I develop J2EE application in integrated envirenment of WebLogic 8.1 and JBuilder9?

    Now I have 3 questions:
    1. I can not use the EJB's local interface, although I have define local interface
    in config file and query code in the programe perfectly. What additional work
    has I not done;
    2. I have to compile my program into a .jar, .ear or .war file(s) to debug, that
    is a unhandy way, even I change only one line of one page, I have to redeploy
    the whole application package once more. Is there any way else to deal with the
    work? Not a .jar, .war or .ear file(s) in the design time, just one page or class
    file, and I need not deploy and compile the whole application;
    3. If I use the JBuilder9's Run command boot the WebLogic Server, the application
    deploied anteriorly becomes unavailable. But when the WebLogic Server is boot
    from console, everything is O.K.. Any advice?
    Thanks in advance for any help you offer!

    Hey Daniel.
    1. What specific problems are you having? What is your EJB architecture?
    You can find an EJB example that uses Local Interfaces here:
    http://dev2dev.bea.com/codelibrary/code/examples_ejb20.jsp
    Also, our end-to-end sample application called MedRec, found in WebLogic
    Server 8.1, uses Local EJBs.
    2. Not sure which WebLogic server you are running, but 8.1 has the ability
    to deploy ears and wars as exploded applications where non-compiled files
    remain within your source location. This feature eliminates the need to
    jar, war, or ear while also eliminating copying of source code. This
    feature is called Split Development Directory Structure. Split Development
    Directory Structure is accompanied by new Ant tasks to aid in application
    development.
    You can find more on Split Development Directory Structure here:
    http://edocs.bea.com/wls/docs81/programming/environment.html#1092719.
    Ant tasks:
    http://edocs.bea.com/wls/docs81/programming/environment.html#1093779
    An example is here:
    http://dev2dev.bea.com/codelibrary/code/examples_splitdir.jsp
    MedRec also uses the Split Development Directory Structure and Ant tasks.
    3. Dunno. ;-)
    -Chris
    <[email protected]> wrote in message news:[email protected]...
    >
    Now I have 3 questions:
    1. I can not use the EJB's local interface, although I have define localinterface
    in config file and query code in the programe perfectly. What additionalwork
    has I not done;
    2. I have to compile my program into a .jar, .ear or .war file(s) todebug, that
    is a unhandy way, even I change only one line of one page, I have toredeploy
    the whole application package once more. Is there any way else to dealwith the
    work? Not a .jar, .war or .ear file(s) in the design time, just one pageor class
    file, and I need not deploy and compile the whole application;
    3. If I use the JBuilder9's Run command boot the WebLogic Server, theapplication
    deploied anteriorly becomes unavailable. But when the WebLogic Server is boot
    from console, everything is O.K.. Any advice?
    Thanks in advance for any help you offer!

  • Weblogic 8.1 and MDB

    hi all
    I'm having porblem in deploying my application in weblogic8.1 with SP1...
    the same application works fine in weblogic 7.0 but if i try to port it to
    weblogic 8.1 sp1 it throws this exception.
    cud somebody throw me light on this exception..
    weblogic.management.NoAccessRuntimeException: Access not allowed for
    subject: principals=[], on ResourceType: ApplicationConfig Action: execute,
    Target: notifyDeployment
    at
    weblogic.management.internal.SecurityHelper$IsAccessAllowedPrivilegeAction.w
    lsRun(SecurityHelper.java:557)
    at
    weblogic.management.internal.SecurityHelper$IsAccessAllowedPrivilegeAction.r
    un(SecurityHelper.java:453)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at
    weblogic.management.internal.SecurityHelper.isAccessAllowed(SecurityHelper.j
    ava:347)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
    mpl.java:764)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at
    weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java
    :481)
    at
    weblogic.management.configuration.ApplicationMBean_Stub.notifyDeployment(App
    licationMBean_Stub.java:1780)
    at
    weblogic.management.deploy.slave.SlaveDeployer$Task.notifyDeployment(SlaveDe
    ployer.java:2379)
    at
    weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDep
    loyer.java:2519)
    at
    weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeplo
    yer.java:833)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.ja
    va:542)
    at
    weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.j
    ava:500)
    at
    weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.ja
    va:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    No Exception Messages
    thanx in advance
    r
    sasi

              Not sure whether it is just me or not - the new security stuff in WebLogic 8.1
              just makes life so much tougher.
              Thanks for the suggestion anyways.
              Eric
              Tom Barnes <[email protected].bea.com>
              wrote:
              >Even though its meant for foreign providers, perhaps credential
              >mapping would work? See:
              >
              >http://edocs.bea.com/wls/docs81/ejb/message_beans.html#1151409
              >
              >Also, you might want to try posting to the
              >security and/or ejb newsgroups.
              >
              >Tom
              >
              >P.S. This question has come up before, so it seems likely
              >that the security section of the MDB documentation
              >may need more detail. If you post any feedback here,
              >I'll make sure it gets sent directly to the
              >documentation folks...
              >
              >Eric Ma wrote:
              >
              >> I have a JMS Topic living in one WebLogic 8.1 domain and a MDB that
              >listens to
              >> this JMS Topic living in another domain. Do I need to configure trusted
              >domain
              >> relationship for both domains?
              >
              

  • Problem in oracle 10g release 2

    I faced strange problem while selecting data from join of tables (in oracle 10g). While selecting, when the order of fields in "group by" clause is changed, the resulting summary of values is changed too. For eg,
    query1 = SELECT F1, F2, F3, SUM(F4)
    FROM TBL1
    GROUP BY F1, F2, F3, F4
    query2 = SELECT F1, F2, F3, SUM(F4)
    FROM TBL1
    GROUP BY F2, F4, F1, F3
    The results SUM(F4) given by query1 and query 2 do not match. While testing these querries in differnt environments, we found such problem in ORACLE 10g RELEASE 2 only and not in ORACLE 10g RELEASE 1. I need to execute this query in oracle 10g. Can anybody help me finding the exact problem?

    The results SUM(F4) given by query1 and query 2 do not matchSince the group by clause is not same, the result of sum can be different.
    Can you provide us some dataset ?
    Nicolas.

  • Weblogic 8.1 and Novell LDAP SSL

    Hi Everyone !
    I'm having problems enabling SSL between Weblogic 8.1 and Novell LDAP. I have
    the non-SSL working. All the BEA documentation I've found indicates that the SSL
    Enabled checkbox needs to be checked and that's all. This can't be all because
    I get the following errors.
    Does anyone know how to solve this ?
    Thanks,
    Eddie
    ####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV> <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-090169>
    <Loading trusted certificates from the jks keystore file C:\bea8.1\WEBLOG~1\server\lib\DemoTrust.jks.>
    ####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV> <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-090169>
    <Loading trusted certificates from the jks keystore file C:\bea8.1\JDK141~1\jre\lib\security\cacerts.>
    ####<Oct 1, 2003 12:06:42 PM EDT> <Warning> <Security> <6X19DYSZH1ZV> <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-090476>
    <Invalid/unknown SSL header was received from peer NASTEA02 - 10.4.5.104 during
    SSL handshake.>

    You need to configure the server SSL to trust the identity certificate it receives
    from nastea02.bankofny.com If you want to use the default configuration you could
    simply import the CA certificate that issued that identity certificate to the
    DemoTrust.jks keystore.
    Also, look at Using Host Name Verification here: http://edocs.bea.com/wls/docs81/secmanage/ssl.html#1187786
    because this might be another reason why the certificate is rejected.
    Pavel.
    "Eddie Baue" <[email protected]> wrote:
    >
    Hi Everyone !
    Please ignore the exceptions from my previous posting. I'm getting
    a new exception,
    which I've list below.
    Thanks,
    Eddie
    ####<Oct 1, 2003 2:47:20 PM EDT> <Warning> <Security> <6X19DYSZH1ZV>
    <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
    <> <BEA-090477>
    <Certificate chain received from nastea02.bankofny.com - 10.4.5.104 was
    not trusted
    causing SSL handshake failure.>
    "Eddie Baue" <[email protected]> wrote:
    Hi Everyone !
    I'm having problems enabling SSL between Weblogic 8.1 and NovellLDAP.
    I have
    the non-SSL working. All the BEA documentation I've found indicatesthat
    the SSL
    Enabled checkbox needs to be checked and that's all. This can't beall
    because
    I get the following errors.
    Does anyone know how to solve this ?
    Thanks,
    Eddie
    ####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV>
    <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
    <> <BEA-090169>
    <Loading trusted certificates from the jks keystore file C:\bea8.1\WEBLOG~1\server\lib\DemoTrust.jks.>
    ####<Oct 1, 2003 12:06:42 PM EDT> <Notice> <Security> <6X19DYSZH1ZV>
    <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
    <> <BEA-090169>
    <Loading trusted certificates from the jks keystore file C:\bea8.1\JDK141~1\jre\lib\security\cacerts.>
    ####<Oct 1, 2003 12:06:42 PM EDT> <Warning> <Security> <6X19DYSZH1ZV>
    <mytest>
    <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>>
    <> <BEA-090476>
    <Invalid/unknown SSL header was received from peer NASTEA02 - 10.4.5.104
    during
    SSL handshake.>

  • Any kind of integration experience with Weblogic JMS and Oracle AQ?

    Hi,
    In my company I work with java developers who believe in some kind of "holly" database independence I don't understand and as a result my life as a database developer is hell on earth.. Yesterday we again started to discuss, this time where to log, they believe database is slow and prefer logging to filesystem, after some hours finally I could convince them for some operational and reporting needs to use the database and will do this in an asyncronous way whiich they won't get slow. After all I believe the reason for a database is data, this is the place where data lives, and with the correct desing and implementation logging to database would perform better.
    I love Oracle features, and know that we paid a lot for this software, so today I started investigating this promised solution. And quickly I found AQ and JMS topics in the documentation :)
    After this introduction here is my problem; my company use BEA Weblogic as application server and the java guys want AQ to automatically (but of course with some delay) take their JMS log requests into database tables. Does any one have similar application experience, or any kind of integration experience with Weblogic JMS and Oracle AQ?
    Any comments, references, documentation, sample code, url will be most welcomed :)
    Thank you very much!
    Tonguc
    [email protected]
    References I found upto now;
    Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14291/toc.htm
    (Packages; javax.jms & oracle.jms)
    Oracle® Streams Advanced Queuing User's Guide and Reference 10g Release 2 (10.2) http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14257/toc.htm
    Part IV
    Using Oracle JMS and Oracle Streams AQPart V describes how to use Oracle JMS and Oracle Streams Advanced Queuing (AQ).
    Chapter 11, "Introducing Oracle JMS"
    Chapter 12, "Oracle JMS Basic Operations"
    Chapter 13, "Oracle JMS Point-to-Point"
    Chapter 14, "Oracle JMS Publish/Subscribe"
    Chapter 15, "Oracle JMS Shared Interfaces"
    Chapter 16, "Oracle JMS Types Examples"
    A Sample Code from Otn
    http://www.oracle.com/technology/sample_code/tech/java/web_services/jmsws/NewsQueueEJB.java.html

    I wouldn't go as far to say Oracle AQ is out-dated today. However, it is indeed a proprietary technology that did not found much main-stream adoption in the earlier years after its introduction. The advent of JMS made it somewhat more useful (or should I say intriguing, because more people are trying to tie it together with other J2EE technologies), but the Oracle's JMS wrapper classes in aqapi.jar were not feature complete for a long while, so using it outside Oracle's application server was painful, if not impossible. I do agree that the info at the dev2dev's JMS newsgroup or in this forum is highly fragmented, as neither Oracle nor BEA provides an official solution to integrate AQ with WebLogic, so people like us have to learn the technology through experimentation and in a piecemeal fashion.
    3 years ago I was literally "playing around" - we had a polling mechanism set up to use triggers to write Oracle data changes into an event table, and had a Java-based daemon to scan that table and publish events as JMS messages to the WebLogic JMS server. This continues to work reliably till today, but I was looking for a solution that has few parts - I wanted to hook up my WebLogic MDB directly to AQ as a foreign JMS provider. Although I was able to get it to work (including XA), there were a few hoops I had to jump through, such as decompiling the Oracle AQjms classes to make them bind to the WebLogic JNDI tree.
    One year after that Diptanshu Parui took what I did a giant step further - he extended the Oracle AQjms classes to allow them to be bound to the WebLogic JNDI tree naturally, and he figured out how to use WebLogic JMS messging bridge to re-send single-threaded AQ JMS messages to clustered JMS queues, which allow concurrent message assumption by multiple instances of MDB's. My impression is that he is using that setup in a production environment.
    I am sure you are aware of it but I would like to make it clear - in order to use AQ as a foreign JMS provider to WebLogic-hosted MDB's, you don't need to update your database to Oracle 10g - Oracle 8i is good enough (although I recommend at least 9i Release 2). It is not the database engine, but rather the aqapi.jar JMS wrapper on top of AQ that matters. I do recommend that you use aqapi.jar from Oracle Application Server 10.0.3 or up for better XA support, among other things. Again, you don't have to replace WebLogic with Oracle AS - you only need a single jar file from it and put it in your WebLogic's classpath. However, I don't know what this means from a licensing point of view if you ever go to production - do you have to pay the full price of OracleAS or OC4J just to use the aqapi.jar?
    In the coming days I will test the latest aqapi.jar to see how much progress Oracle has made in terms of making their J2EE products more spec-compliant :-).
    Hope the above gives you a different perspective.
    Eric

  • Integrating Oracle EBS and ApEx Aplication with Responsibilities and SSO.

    Good day all.
    I am looking forward from getting somebody 's help, the trouble I am facing is described below:
    a) I am currently working on SSO with EBS. I mean, my users can connect and work perfectly.
    b) ApEx is Configured as Application Partner with SSO, and the application we built (it's call PR-Auto)
    is working good under SSO platform. I mean I am able to login using TEST user and password TEST in
    both applications (EBS and PR-Auto).
    c) The thing is that I need to call PR-Auto from one responsibility in EBS;
    Following my setup for the responsibility:
    - I have created a function:
    Name: APEX_FA_PR
    Properties:
    Function type: SSWA plsql
    Web HTML :apps.apex_launcher.launch_fa_pr
    Web Host agent: pls/apex
    - I have created a menu, application and responsibility using the function APEX_FA_PR.
    - I have create launcher package:
    create or replace package apex_launcher is
    procedure launch_fa_pr;
    end apex_launcher;
    create or replace package body apex_launcher as
    procedure launch_fa_pr as
    begin
    /** 110 Is ID of PR-Auto, my app **/
    /** 5 is my home page **/
    f(p=>'110:5');
    end;
    end apex_launcher;
    d) New responsibility shows on EBS menu page.
    e) Click on responsibility, and the page shows 'redirecting to login server for authentication', but
    nothing happens, page goes blank with this url:
    http://fahorromex37.fahorro.com.mx:8004/pls/apex/wwv_flow_custom_auth_sso.process_success?urlc=v1.2~42
    03F9A8A1D696097BEA96499E6B6845E80C14A56DF724C3FFF879578FC734C5E1DEEA9129A4117E62A3676A409528E8EB927AA55
    0EA7B208C34F5A3FDB4472679EDE448F8971966BE9BADD22207FE90BDBA2800E6529F3967A18DEC76DCC17DE21D96A65CA2C424
    319F159CC78ED78E8B99F69F1BA8297A1EECF6AD137A6C3896E1C4E8D5F93874A9A08887D3F95058D33F667D7B785FF0A065B53
    891B8B393DFD24530BD0720150F05DE63F0CD5AFD86F0267BAF4C9CAE8C5AA693B4E488B3776BF43450FD412167B402C962BABE
    A54707043AFA6FBB168B29EDB3BE120FFE0C30683D53283B036E781ABF1A5F7374ADF83463D57D2EE958765B0501CE2B0F4E3DF
    24845A54A1CF02526FA39EF60644ED5A0D9D2A05EBFAD3BD01007D0817135989A4B97D68C92C6E2BA767CFDB0AF188054024BB1
    EFFA7DEC8699BBA7485A349D87BA1C15475927E52110DF56FCC3FD560D2CBBA1C0D7D9D3ADFCDB975CD2
    the address of my application pr-auto is http://fahorromex37.fahorro.com.mx:8004/pls/apex/f?p=110
    f) DBA teams follow instructions from the following documentation
    "Integrating Oracle E-Business Suite Release 11i with Oracle Internet Directory and Oracle Single Sign-On"
    and "Note 261914.1 Integrating Oracle E-Business Suite Release 11i with Oracle Internet Directory and
    Oracle Single Sign-On"
    g) We are using:
    DB: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    SO: Linux 2.6.9-42.ELsmp
    ApEx: 3.0.1.00.07
    Any help will be greatly appreciated.
    J.O.

    Many Thanks Daniel for your prompt reply.
    Tried to understand the white Paper and your thread but I am still facing problem,although able to Call ApEX page but now i
    want to pass th e session Id where I am stuck.
    MY three functions:
    CREATE OR REPLACE FUNCTION SYMAPEX.apex_authorise (
    p_username IN VARCHAR2
    , p_password IN VARCHAR2) RETURN BOOLEAN
    AS
    BEGIN
    IF apex_validate_hash (p_username, p_password) THEN RETURN TRUE;
    END IF;
    RETURN (FND_WEB_SEC.validate_login@VCSDEV2_QA (p_username, p_password) = 'Y');
    END apex_authorise;
    CREATE OR REPLACE FUNCTION SYMAPEX.apex_generate_hash (
    p_string IN VARCHAR2
    , p_offset IN NUMBER DEFAULT 0) RETURN VARCHAR2
    IS
    BEGIN
    IF p_string IS NULL THEN RETURN NULL;
    END IF;
    RETURN RAWTOHEX(UTL_RAW.cast_to_raw(
    DBMS_OBFUSCATION_TOOLKIT.MD5(input_string=>p_string||':'||
    TO_CHAR(SYSDATE-(p_offset/24*60*60),'YYYYMMDD HH24MISS'))));
    END apex_generate_hash;
    CREATE OR REPLACE FUNCTION SYMAPEX.apex_validate_hash (
    p_string IN VARCHAR2
    , p_hash IN VARCHAR2
    , p_delay IN NUMBER DEFAULT 5) RETURN BOOLEAN
    IS
    BEGIN
    FOR i IN 0..p_delay LOOP
    IF p_hash = apex_generate_hash (p_string, i) THEN RETURN TRUE; END IF;
    END LOOP;
    RETURN FALSE;
    END apex_validate_hash;
    MY Launch Procedure:
    CREATE OR REPLACE Package body OAE_PKG1 AS
    PROCEDURE LaunchOAE1 (application IN NUMBER DEFAULT 101
    , page IN NUMBER DEFAULT 111
    , request IN VARCHAR2 DEFAULT NULL
    , item_names IN VARCHAR2 DEFAULT NULL
    , item_values IN VARCHAR2 DEFAULT NULL)
    AS
    BEGIN
    OWA_UTIL.mime_header('text/html', false);
    OWA_COOKIE.send
    (name=>'APEX_APPS_'||application,
    value=>FND_GLOBAL.user_name||':'||apex_generate_hash@QA_VCSDEV2(FND_GLOBAL.user_name),
    domain => '.orvcsd01.symprod',
    path=>'/');
    OWA_UTIL.redirect_url('http://orvcsd01.symprod.com:7780'||'/pls/apex/f?p='||application||':'||page||'::'||request||':::'||ite
    m_names||':'||item_values);
    END LaunchOAE1;
    END OAE_PKG1;
    MY On Load before headre process:
    DECLARE
    c OWA_COOKIE.cookie;
    a wwv_flow_global.vc_arr2;
    BEGIN
    c := OWA_COOKIE.get('APEX_APPS_101');
    a := htmldb_util.string_to_table(c.vals(1));
    :P111_USERNAME := a(1);
    :P111_PASSWORD := a(2);
    IF :P111_PASSWORD IS NOT NULL THEN
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P111_USERNAME,
    P_PASSWORD => :P111_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':111');
    END IF;
    END;
    I am doing custom authencitaion and calling apex_authorise function there.
    Although I am able to Call the ApEX and able to validate application server password,but moment i try taking help off cookies
    to pass on my application session details to ApEX so that users would not have to login twice,i am gettign the error.
    Second question:
    Do we have any other methos of passing session to ApEX from Application server other than cookies.
    Please suggest.
    Thanks.
    Ravijeet

  • Help!.... 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.

  • 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.

  • Which database driver is required for weblogic 10.3 and Oracle DB 11g both on MS2008 separate server

    Hi,
    i am trying to configure JDBC with weblogic. Can any one tell me which deriver needs to be selected for weblogic 10.3 and Oracle DB 11g both on MS2008 separate server.
    if i use BEA oracle Driver (Type 4) version 9.0.1, 9.2.0,10,11,  i find error (see snap:2)
    Connection test failed.
    [BEA][Oracle JDBC Driver]Error establishing socket. Unknown host: hdyhtc137540d<br/>weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)<br/>weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.makeConnectionHelper(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.makeConnection(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)<br/>weblogic.jdbc.oracle.OracleImplConnection.open(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.connect(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)<br/>weblogic.jdbc.base.BaseConnection.open(Unknown Source)<br/>weblogic.jdbc.base.BaseDriver.connect(Unknown Source)<br/>com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:505)<br/>c om.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConn ectionConfiguration(CreateJDBCDataSource.java:369)<br/>sun.reflect.GeneratedMethodAccessor 826.invoke(Unknown Source)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui .pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehiv e.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.ap ache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>or g.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java :306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336 )<br/>...
    and
    when i use oracle's driver (thin) version 9.0.1, 9.2.0,10,11, i find error
    Connection test failed.
    Io exception: The Network Adapter could not establish the connection<br/>oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:10 1)<br/>oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)<br/>oracle .jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)<br/>oracle.jdbc.drive r.DatabaseError.throwSqlException(DatabaseError.java:229)<br/>oracle.jdbc.driver.DatabaseE rror.throwSqlException(DatabaseError.java:458)<br/>oracle.jdbc.driver.T4CConnection.logon( T4CConnection.java:411)<br/>oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnectio n.java:490)<br/>oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)<br/>oracle .jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)<br/>oracle.jdbc. driver.OracleDriver.connect(OracleDriver.java:474)<br/>com.bea.console.utils.jdbc.JDBCUtil s.testConnection(JDBCUtils.java:505)<br/>com.bea.console.actions.jdbc.datasources.createjd bcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:36 9)<br/>sun.reflect.GeneratedMethodAccessor826.invoke(Unknown Source)<br/>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl. java:25)<br/>java.lang.reflect.Method.invoke(Method.java:597)<br/>org.apache.beehive.netui .pageflow.FlowController.invokeActionMethod(FlowController.java:870)<br/>org.apache.beehiv e.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)<br/>org.ap ache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)<br/>or g.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java :306)<br/>org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336 )<br/>...

    i am finding this error when i click on Test Configuration button to test the connection wth oracle DB

  • Performance problem between Oracle.DataAccess v1 and v2

    Hi, I have serious performance problem with OracleDataReader when I use the GetValues method.
    My server is Oracle 9.2.0.7, and i use ODAC v10.2.0.221
    I create a dummy table for benchmark :
    create table test (a varchar2(50), b number)
    begin
    for i in 1..62359 loop
    insert into test values ('Values ' || i, i);
    end loop;
    commit;
    end;
    I use the same code for benchmark Framework v1 and Framework v2.
    Code :
    try {
    OracleConnection c = new OracleConnection("user id=saturne_dbo;password=***;data source=satedfx;");
    c.Open();
    go(c);
    c.Close();
    catch (Exception ex) {
    MessageBox.Show(ex.Message);
    private void go(IDbConnection c) {
    IDbCommand cmd = c.CreateCommand();
    cmd.CommandText = "select * from test";
    cmd.CommandType = CommandType.Text;
    DateTime dt = DateTime.Now;
    IDataReader reader = cmd.ExecuteReader();
    int count = 0;
    while (reader.Read()) {
    object[] fields = new object[reader.FieldCount];
    reader.GetValues(fields);
    count++;
    reader.Close();
    TimeSpan eps = DateTime.Now - dt;
    MessageBox.Show("Time " + count + " : " + eps.TotalSeconds);
    Result are :
    Framework v1 with OracleDataAccess 1.10.2.2.20 "Time 62359 : 0.5"
    Framework v2 with OracleDataAccess 2.10.2.2.20 "Time 62359 : 3.57" FACTOR 6 !!!!!
    I notice same problem with oleDb provider and Microsoft Oracle Client provider..
    It's a serious problem for my production server, the time calculation explode...
    Where is the explication ?
    Do u know solution ?

    Can you please try out following -
    1. Create a .NET 1.x DLL with your benchmark code. This will obviously use ODP.NET for .NET 1.x.
    2. Call this assembly routine from a .NET 1.x executable and note the results.
    3. Now call this assembly routine from a .NET 2.0 executable and note the results.
    The idea is to always use "ODP.NET for .NET 1.x" even in .NET 2.0 runtime. This will tell us whether the performance degradation is a runtime issue.

  • Oracle Workflow Manager, Agent Listener, and Java Mailer problem

    Hi,
    I am not sure this topic to this forum, since this might be installation issue.
    But I am hitting a big wall.
    I had Windows 2000 SP4.
    I have already installed Oracle Database 10gR1, Oracle Developer 10gR2, and Oracle Workflow 2.6.3 Standalone previously.
    Including :
    - Oracle Workflow Server 2.6.3
    - Oracle Workflow Builder 2.6.3.5
    - Apache HTTP Server 9.0.4
    - Workflow Middle Tier
    Anything seems to right, including the Notification Mailer and the Business Event.
    And I had also made backup of them surely.
    Now,
    I'd like to change into Oracle Database 10gR2 because :
    1. Some errors I found when I tried to call a Report from Oracle Form.
    Unable to connect to Report Server ...
    I thought Oracle Database 10gR1 is not suitable for Oracle Developer 10gR2.
    2. And in the OWF 2.6.3 Workflow Home Page, there was no Logout button (which I found in OWF 2.6.4)
    I removed my previous installation including Oracle Workflow.
    After strugglineg in the installation of Oracle Database 10gR2, now I am facing another problem with Oracle Workflow.
    I succesfully installed Oracle Workflow 2.6.4 Server and Oracle Workflow Manager (standalone version),
    and the Oracle Workflow Middle Tier.
    After I launch Oracle Workflow Configuration Assisstant, everthing seems to be normal.
    I succed to open the Oracle Workflow Home Page (and found the Logout button there)
    Next, I tried to navigate to the Oracle Workflow Manager.
    1. I start the OC4J_Workflow_Management_Container --> initialized
    2. OC4J_Workflow_Component_Container
    The following error line appeared in the OC4J command prompt
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.Logger.Logger(String,
    int) : Logging to System.out until necessary parameters are retrieved for Logger
    to be properly started.
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    initializeStateMachine() : BEGIN [default implementation]
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    getNewWorkflowContext() : BEGIN
    06/05/26 10:31:45 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    loadGlobalParameters() : BEGIN
    06/05/26 10:31:48 oracle.apps.fnd.wf.common.ContextFactoryException: Unable to g
    et connection from data source because the following Exception occurred -> java.
    sql.SQLException: ORA-28000: the account is locked
    06/05/26 10:33:57 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)
    initialized
    3. finally it initialized
    Next I tried to go to Oracle Workflow Manager from related link of Enterprise Manager
    It is said that the OWF_MGR is locked
    (I surprised since I had UNLOCKED the OWF_MGR after the installation and succeed to login at the Workflow Home Page)
    And the following error line appeared in the commaned prompt after that
    06/05/26 10:35:03 OrionCMTConnection not closed, check your code!
    06/05/26 10:35:03 Logical connection not closed, check your code!
    06/05/26 10:35:03 (Use -Djdbc.connection.debug=true to find out where the leaked
    connection was created)
    4. I re-UNLOCK the OWF_MGR and login to Oracle Workflow Manager
    I noticed that the Agent Listener and Notification Service is Unavailable
    (In OWF 2.6.3, The Agent Listener was started and Notification Service was waiting to be configured)
    I tried to start one of the Agent Listener, but the following error appeared
    ERROR: The Service Component Container is not running
    Well, I had the same problem when installing the OWF 2.6.3
    I tried to uninstall (remove) and re-install it like I had done before in OWF 2.6.3
    (based on someone's post in Oracle's forum)
    But this time, the re-installation won't fix this problem. (It was succeed in the OWF 2.6.3)
    Everytime I start the OC4J, using wfmgrstart.bat and wfsvcstart.bat
    the OWF_MGR is re-LOCKED(TIME) automatically.
    And the servlet (WFALSNRSVC and WFMLRSVC) are not running.
    I am worry, since I cannot use the Notification Mailer if this problem had not fixed yet.
    (In OWF 2.6.3, the mailer was not available until those servlet is Started)
    Sorry for the long post.
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Finally, I have found the solution.
    Step :
    1. Start all of the Oracle Service, except for the OC4J
    If you have already started OC4J, then stop them
    Unlocked the <wf_manager_user>
    2. Search in your Oracle Home : data-sources.xml
    There should be two files,
    one is in the ...\OC4J_Workflow_Component_Container\application-deployments\WFALSNRSVCApp
    the other is in ...\OC4J_Workflow_Component_Container\application-deployments\WFMLRSVCApp
    3. Make sure, you create back up of them.
    4. Replace the following line
    password="-&gt;pwForOwfMgr"
    with
    password="<your_wf_manager_password>",
    should be look like this
    password="a"
    5. Now start the OC4J using wfmgrstart.bat and wfsvcstart.bat
    6. Next, login to the Oracle Workflow Manager
    This worked for me.
    Hope this will help someone who has the same problem.
    Buntoro

Maybe you are looking for

  • Create PO condtion FRA1 "One-time vendor not allowed for this transaction"

    Hi all, When create Freight conditon for po item, if i choose a one-time vendor , it gives me an error  "One-time vendor not allowed for this transaction" . Why it happened? How to config system let one-time vendor be the conditon's vendor ? Thanks .

  • The Checkbox in Numbers

    Hi I'm looking for a tutorial that will help me use the "functions" in NUMBERS so that I can understand them. I have made up a spreadsheet and it has "Checkbox's in it" and I would like to add up the number of ticks and get a NUMBER for the amount of

  • Trouble with crystal report viewer - don't show swf file

    hi to evrybody, i'm developing an  application with Crystal Report and Xcelsius. My scenario is: Visual Studio 2008 Crystal Report 12.1.0.892 ( for the cliente CRRuntime_12_1_mlb.msi) I tried to develop only the kernel of the application a form vb th

  • Ai cc app will not install

    After 13 hours it is at 21%....help!

  • Condition type-R002

    Hi    I have maintained the condtion type R002 in the prcing schema.   __Attributes of ROO2__   Header condition allowed   Item condition allowed   Group condition allowed But the system allows to center two times both in header condition & two times