OC4J data-source password indirection LDAP

Hi all,
I'm trying to set up password indirection for my OC4J data-sources. If I choose my user manager as JAZN XML UserManager then it works fine using encrypted passwords from the jazn-data.xml file. However using LDAP I cannot get it to work. I get an exception (pasted below) when the container starts up. Does anyone have experience with this?
Regards.
Anton.
Exception:
06/01/05 14:26:38 java.lang.UnsupportedOperationException
06/01/05 14:26:38 at oracle.security.jazn.oc4j.RealmUserAdaptor.getPassword(Unknown Source)
06/01/05 14:26:38 at oracle.security.jazn.oc4j.FilterUser.getPassword(Unknown Source)
06/01/05 14:26:38 at com.evermind.security.SecuritySensitive.lookup(SecuritySensitive.java:217)
06/01/05 14:26:38 at com.evermind.security.SecuritySensitive.decode(SecuritySensitive.java:114)
06/01/05 14:26:38 at com.evermind.security.SecuritySensitive.decode(SecuritySensitive.java:131)
06/01/05 14:26:38 at com.evermind.server.DataSourceConfig.getPassword(DataSourceConfig.java:530)
06/01/05 14:26:38 at com.evermind.server.Application.initDataSource(Application.java:1674)
06/01/05 14:26:38 at com.evermind.server.Application.initDataSources(Application.java:2077)
06/01/05 14:26:38 at com.evermind.server.Application.preInit(Application.java:517)
06/01/05 14:26:38 at com.evermind.server.Application.setConfig(Application.java:166)
06/01/05 14:26:38 at com.evermind.server.Application.setConfig(Application.java:145)
06/01/05 14:26:38 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1756)

Hi Toby,
Passsword indirection with jazn-ldap is not supported please review this link
Cheers,
Deepak

Similar Messages

  • 903/902/BC4J can't get OC4J data-sources.xml conn pooling to work in production: help

    [cross posted to the j2ee forum]
    I have several BC4J ears deployed to a 903 instance of OC4J being configured as a standalone
    instance. I've had this problem since I started deploying in development on 902. So it's
    some basic problem that I've not mastered.
    I can't get data-sources.xml managed connection pooling to actually pool conn's. I'm wanting
    to declare my jndi jdbc source connection pool in j2ee/home/config/data-sources.xml and
    have all BC4J apps get conns from this JNDI JDBC pool. I've removed all data-sources.xml from
    my BC4J ears, and published the jndi jdbc source in my oc4j common data-sources.xml.
    I've tested that this is the place controlling the conn URL/login passwd by commenting it
    out of config/data-sources.xml and my BC4J apps then throw exceptions, can't get conn.
    I've set the oc4j startup cmd line with the BC4J property to enabled connection pooling:
    -Djbo.doconnectionpooling=true
    symptom
    Connections are created and closed. Instead of being put back into the pool managed by oc4j,
    what ever BC4J is doing or my data-sources.xml is doing, the connections are just being created and
    closed.
    I can verify this via (solaris) lsof and netstat, where I see my oc4j instance under test load
    with only 1 or 2 conns to the db box, and the ephemeral port is tumbling, meaning a new socket is
    being opened for each conn. ;( grrrrrrr
    Does anyone have a clue as to why this is happening?
    Thanks, curt
    my data-sources.xml
    <data-sources>
         <data-source
            class="com.evermind.sql.DriverManagerDataSource"
            connection-driver="oracle.jdbc.driver.OracleDriver"
            ejb-location="jdbc/DEVDS"
            location="jdbc/DEVCoreDS"
            name="DEVDS"
            password="j2train"
            pooled-location="jdbc/DEVPooledDS"
            url="jdbc:oracle:thin:@10.2.1.30:1521:GDOC"
            username="jscribe"
            xa-location="jdbc/xa/DEVXADS"
            inactivity-timeout="300"
            max-connections="50"
            min-connections="40"
        />
    </data-sources>

    Thanks Leif,
    Yes, set it to the location jndi path.
    A piece of info is that the 903 oc4j release notes states that global conn pooling doesn't
    work. Infering that the j2ee/home/config/data-sources.xml data sources aren't pooled or ??
    I just tested so called local connection pooling, where I edited the data-sources.xml that
    gets packaged in the ear, to include the min/max params and re-ran my test.
    Still, the AM creates a new conn, it's to a new socket, and closes the conn when done. Causing
    each conn to not be pooled, rather opened then closed to the DB box. As verified with lsof and
    netstat, checking the ephemeral port # on the DB box side, always changes, meaning it's a
    new socket and not an old pooled conn socket.
    ???? What the heck??
    Surely if the AM conn check out / return code works properly, OC4J's pooling JDBC driver would
    pool and not close the socket??
    Has anywone gotten JDBC Datasource connections in BC4J to actually be pooled under OC4J??
    Since I couldn't get this to work in my early 902 oc4j testing, and now can't get it to work
    still under 903 OC4J, either it's my config or BC4J AM's code or OC4J?
    Any thoughts on how to figure out what's not configed correctly or has a bug?
    Thanks, curt

  • OC4J data-source.xml other data base like postgresql

    Hi i need to use a DataSource in OC4J with other database (any), i am setting the data-source.xml like:
    <\datasource
    class="com.evermind.sql.DriverManagerDataSource"
    name="DSPropiedades" location="jdbc/DSPropiedadesCoreDS"
    xa-location="jdbc/xa/DSPropiedadesXADS"
    ejb-location="jdbc/DSPropiedades"
    connection-driver="com.borland.datastore.jdbc.DataStore"
    username="sample"
    password="sample"
    url="jdbc:borland:dslocal:D:/seguridaddb/seguridad.jds"
    inactivity-timeout="300"
    />
    and i had put the database.jar in the OC4j directory's
    D:\ora10i\jdbc\lib
    D:\ora10i\j2ee\home\lib
    D:\ora10i\lib
    but i always obtain the same error
    Error initializing data-source 'jdbc/DSPropiedadesCoreDS': DriverManagerDataSource Driver 'com.borland.datastore.jdbc.DataStore' not found

    Liliana,
    From the [lack of] information you have posted, I am assuming you are using OC4J stand-alone version 10g -- but I'm not sure because I couldn't find any of those details in your post. It always helps to include version and platform information.
    If my assumption is correct, then the default location for third-party JAR files (including your JDBC driver) is the
    "j2ee/home/applib"
    subdirectory of the OC4J installation. For example, on my Windows XP machine (again, I couldn't see what platform you are using, so I am assuming it is also Windows), the actual path is:
    C:\OC4J_10_0_3\j2ee\home\applib
    If you want to see other examples of "data-sources.xml" files (apart from the one that comes with OC4J), try searching the following Web sites:
    http://www.orionserver.com
    http://www.orionsupport.com
    http://kb.atlassian.com
    Good Luck,
    Avi.

  • How to create JDBC data source w/o LDAP server

    I am trying to test using JDBC data source on a computer without a LDAP server. Is there an alterative JNDI solution? How about using file system or RMI registry JNDI service providers?

    Any J2EE container should be able to handle that. I use JNDI data sources with Tomcat 4.1.27. I'm sure any other J2EE app server (e.g., WebLogic, WebSphere, JBOSS, etc.) would be able to manage it, too. - MOD

  • Data Source Password

    Hi, is there any way to hide datasource password?.
    If I see the file data-source.xml I can see the user, password and database host/sid.
    For client pilicies I can have clear password in files.
    Thanks.
    Carlos

    Thanks a lot Srini for your reply.
    I am using nQUDMLExec for the UDML execution.
    I got the below UDML after copying the connection pool for that data source:
    DECLARE CONNECTION POOL "TESTRepository"."CONPOOL" AS "CONPOOL" UPGRADE ID 163723
         DATA SOURCE  {orcl}
         TIME OUT 300
         MAX CONNECTIONS 10
         TYPE 'OCI10G'
         USER 'devschema'
         PASSWORD 'D7EDED84BC624A917F5B462A4DCA05CDCE256EEEEEDC97D5B72C10C09258A4CA5074180DF5FE12D642A16786F2ABF854'
         SHARED LOGIN
         CONNECTIONS TO SAME URI 10
         OUTPUT TYPE XML
         HEADER PATH {D:\\OracleBI\\server\\config\\NQSQueryHeader.xml}
         TRAILER PATH {D:\\OracleBI\\server\\config\\NQSQueryTrailer.xml}
         BULK INSERT BUFFER SIZE 32768 TRANSACTION BOUNDARY 10
         TEMP TABLE PREFIX {TT}  OWNER {}
         PRIVILEGES ( READ);Here the password is encrypted. So, can I use my new decrypted password in the UDML?
    Well, I typed my decrypted password. But while executing the script like below:
    D:\OracleBI\server\Bin>nQUDMLExec -I D:\abc.txt -O DevRepository_Ver121.rpd
    ---------------D:\abc.txt---------------
    ---------------ERROR(s)---------------
    [nQSError: 28006] Near Line 1, <TESTRepository>: Not defined.N.B: In the error line, there is double quotes covering the TESTRepository, but I removed that for showing the complete error message.
    Please suggest. Thanks in advance.

  • DAC Physical Data Source password change - invalid username/password

    We are using DAC/Informatica for loading Peoplesoft data into the warehouse. The password for the peoplesoft source was changed recently. I changed the password in DAC under setup, Type source for the Peoplesoft DB. When I select 'Test Connection' I receive the message connection established successfully. When I restart the execution plan I still get the same error - invalid username/password for obi_infa_ps, which is the account we use for accessing the Peoplesoft DB. All of the DAC and Informatica services on the server have been shutdown and restarted - still getting the invalid username/password error.
    Do I need to rebuild the execution plan? If I do, can I manually put in the needed refresh dates?

    You will also need to update the username/password in the Informatica Workflow Manager.
    Under Connections > Relational
    EDIT: First post, welcome to BI Apps!
    Edited by: birchy on Nov 17, 2011 9:00 AM

  • Configuring more than one LDAP as data source

    Hi Portal Gurus,
    We have requiremnt to configure  MS ADS LDAP-> DEEP HIERARCHY  & Sun one LDAP->FLAT HIERRARCHY as PORTAL Datra Source.we have already configured MS ADS LDAP.
    for  merging these 2 LDAPS as a data source can anybody having experiece ...
    we  tried to configure with the below server  parameters for  2nd lDAP merging as per  below reference
    Configuration of More Than One LDAP Data Source"http://help.sap.com/saphelp_nw04/helpdata/en/4e/4d0d40c04af72ee10000000a1550b0/frameset.htm".But
    we could not suceeded.
    Server parameters:
    Server:  xxxx:23xx
    LDAP Search root:  dv=hub, o=vds
    Connection ID:  cn=Directory Manager
    password: xxxxx
    we dont have user path or group path for the above 2nd LDAP.
    anybody can help in this ..
    Regards
    Tag

    Tag,
    It sounds like this issue might be releated to the fact that your second LDAP connection is to SUN One.   Maybe one of these links will help
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/aa/8f10f1e2bae346bef2853aa0f88f4c/frameset.htm
    or
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/4c3725aeaf30b4e10000000a11466f/frameset.htm
    Regards,
    Keith
    Message was edited by: Keith Crossett

  • LDAP Config File - data source not initialized

    Hi,
    We have altered our LDAP config xml file to deal with an LDAP with multiple branches. This was done previously and was working fine. We have just changed again as another branch was added. Now if some enters the wrong password on the login screen they get this error message
    Unknown message (ID = data source CORP_LDAP_CONSULTANTS not initialized
    rather then the usual try again message. Looking in the ume logs there are also lots of warnings about the new data sourse id (CORP_LDAP_CONSULTANTS)not being initialized. And we also can no longer add new groups or users.
    Any thoughts?
    <b>Think we may have fixed that problem. Wrong authorizations? But now we get a whole new problem. During startup of portal our error_logs get a whole series of messages about NameNotFoundException around groups and users. Looking closely some of the user domains don't even exist in the LDAP any more.
    Also when we try and add a user we get an error saying "PersistanceException: No Data Source feels Repsonsible for principal!"</b>
    ANY PEARLS OF WISDOM
    We are on EP6 SP2
    Message was edited by: Luke Collier
    Message was edited by: Luke Collier

    Hi guys,
    I'm running into exactly the same issue. The problem seems to occur only when the report being accessed by guest is a file data source. The only other option I could think of is setting up SSO for BIP and the application issuing the URL to the report.
    Could'nt find anything else in the documentation or known issues list that might fix this without having to setup Single Sign On. Any further luck with your investigation? I'd appreciate any feedback.
    Thanks
    Jonathan Cruz

  • LDAP as data source for UME

    Trying to use a SSL enabled LDAP (Sun) for data source for UME.  It seems that I can't use SSL directly from GRC CUP 5.3. Followed the instructions in saphelp, but when I test the connection, it gives me "Connection test with user path failed". The following is the connection data in UME Config:
    Server Name:  10.56.17.20
    Server Port:     62636
    User:                cn=GMACApp_001,ou=Applications,dc=gm,dc=com
    Password:       <correct one entered>
    User path:        ou=People,dc=gm.dc=com
    Group path:      ou-Groups,dc=gm,dc=com
    Use SSL for LDAP Access is checked
    Use Unique Attribute is not checked
    I can connect to the LDAP using the same credentials with Softerra browser....Any ideas?

    Opened a message with SAP....the response was less than helpful..."we don't support SSL". When I pushed them with the responses I recieved from the forum, the replay was "we have never done this".  There must be a way.  I can't be the only person on the planet that has to connect to a corp LDAP with a secure port!! I have tried the trick of conencting a LDAP as a data source for UME, but with limited success.  Seems when the LDAP + db is enabled, the UME URL is not available (error 503). So that's not working so well either. 
    Any help will be appreciated.

  • Problem Initializing data-source oc4j

    Hi,
    When starting the oc4j container I get the following error.
    ora03 $ Error initializing data-source 'jdbc/OracleCoreDS': DriverManagerDataSource driver 'oracle.jdbc.driver.OracleDri
    ver' not found
    Error initializing data-source 'jdbc/css_userCoreDS': DriverManagerDataSource driver 'oracle.jdbc.driver.OracleDriver' n
    ot found
    Error initializing data-source 'jdbc/AnteDateCoreDS': DriverManagerDataSource driver 'oracle.jdbc.driver.OracleDriver' n
    ot found
    Warning: Error reading transaction-log file (/u01/web/ias102/j2ee/home/persistence/transaction.state) for recovery: prem
    ature end of file
    Forced or abrubt (crash etc) server shutdown detected, starting recovery process...
    Recovery completed, 0 connections committed and 0 rolled back...
    Oracle9iAS (1.0.2.2.1) Containers for J2EE initialized
    Here is my data-sources.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <data-source
         class="com.evermind.sql.DriverManagerDataSource"
         connection-driver="oracle.jdbc.driver.OracleDriver"
         ejb-location="jdbc/css_userDS"
         inactivity-timeout="30"
         location="jdbc/css_userCoreDS"
         name="css_userDS"
         password="css"
         url="jdbc:oracle:thin:@oradev01.nf.prv:1521:css"
         username="css_user"
         xa-location="jdbc/xa/css_userXADS"/>
    <data-source
         class="com.evermind.sql.DriverManagerDataSource"
         connection-driver="oracle.jdbc.driver.OracleDriver"
         ejb-location="jdbc/AnteDateDS"
         inactivity-timeout="30"
         location="jdbc/AnteDateCoreDS"
         name="AnteDateDS" password="date"
         url="jdbc:oracle:thin:@oradev01.nf.prv:1521:test"
         username="antedate"
         xa-location="jdbc/xa/AnteDateXADS"/>
    </data-sources>
    I have made sure that the classes12.zip in in my CLASSPATH. OS HP-UX 11.00. Help!!!

    David,
    OC4J does not pickup the CLASSPATH from $CLASSPATH env variable. Do you have the classes12.zip in $OC4J_HOME/j2ee/home/lib directory?
    If not can you please put that in that directory and restart your server.
    regards
    Debu Panda
    Oracle

  • Testing data sources in oc4j-ra.xml

    Is there a way to test the data sources in oc4j-ra.xml from the server? I have a server sitting inside a DMZ that has access back to internal databases. The DMZ has its own set of IP addresses and it has specific openings to the internal resources it needs. that is why i would like to test the connections from the server.

    Hi,
    You're right. I've downloaded JDev 10.1.2.
    The working version:
      <data-source name="jdev-connection-myconn"
                   class="com.evermind.sql.DriverManagerDataSource"
                   location="jdbc/myconnCoreDS" xa-location="jdbc/xa/myconnXADS"
                   ejb-location="jdbc/myconnDS"
                   pooled-location="jdbc/myconnPooledDS"
                   connection-driver="oracle.jdbc.driver.OracleDriver"
                   username="xxx" password="yyy"
                   url="jdbc:oracle:thin:@localhost:1521:mysid"
                   inactivity-timeout="30"/>and:
    DataSource ds = (DataSource) getInitialContext().lookup("jdbc/myconnDS");JDev generates the correct data-sources.xml, if you create the data-sources.xml with its wizard (New Galery/General/DeploymentDescriptors/data-sources.xml). Then you can see in the properties dialog, the default setting is: Auto update data-sources.xml when running or deploying to OC4J.
    So when you first run the embedded OC4J, your data-sources.xml file will be updated with your connections.
    I read these useful things in Olaf Heimburger's blog :) (OC4J: Configuring DataSources, 2007-05-03)
    Regards,
    Kati

  • Problems with OC4J EJB deployment and the data-sources.xml file

    I am running 2 Windows 2000 Machines one with the 8.1.7 database another with iAS 1.0.2.2.1 and OC4J.
    I am trying to deploy a 3rd party EJB-based application whic seems to have deployed successfully except when I try to test the EJB deployment via a jsp it can't connect to the database, giving the error:
    1/16/02 4:52 PM VerySimple: Servlet error
    java.lang.NoClassDefFoundError: com.netexp.user.UserManagerHome
    at com.netexp.beans.BeanHelper.class$(Unknown Source)
    at com.netexp.beans.BeanHelper.getUserManagerBean(Unknown Source)
    at /very_simple.jsp._jspService(/very_simple.jsp.java:48) (JSP page line 27)
    at com.orionserver[Oracle9iAS (1.0.2.2.1) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5459)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:508)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:177)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:576)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    I try to update the file using the installdatasource switch thus:
    C:\Oracle\iSuites\j2ee\home>java -jar admin.jar ormi://localhost admin adm_pwd -application apptricityII -installDataSource -jar %ORACLE_HOME%\jdbc\lib\classes12.zip -url jdbc:oracle:thin:@db_host.unitas.com:1521:db_name -connectionDriver oracle.jdbc.driver.OracleDriver -location jdbc/pool/OracleDataSource -username scott -password tiger
    And get the following error:
    Exception passing by from remote server: java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    java.lang.InstantiationException: No class specified for jdbc/pool/OracleDataSource
    <<no stack trace available>>
    Error adding source: No class specified for jdbc/pool/OracleDataSource
    Please advise.
    I have followed the instructions in 'EJB Primer' and 'Using Oracle9iAS Containers for J2EE' to no avail. And I can't find any meaningfull data-sources.xml samples. I have been struggling with this for some time.
    Is there any other file, do I need to bind anything?
    I'd appreciate your assistance.
    Thank you
    Louiza

    Hi Louiza,
    Show us your web.xml and ejb-jar.xml files as well as your
    data-source.xml file.
    Thanks,
    Avi.

  • Using an LDAP server as a data source?

    I'm evaluating data services and one of our requirements is to be able to retrieve data from an LDAP server. This isn't for authentication.
    We store information about users in an LDAP directory. The workflow I'm testing retrieves a customer number from a DB2 database and then retrieves the customer information in the LDAP directory.
    Is there a way to do this without having to write a bunch of code? The "import metadata" menu doesn't list LDAP as one of the data providers.
    thanks!

    There is no point-and-click (Import Data Source Metadata) way to use an LDAP server as a datasource. You have to use the Java Function provided on dev2dev. If you need help with it, please post here.
    - Mike

  • Shared-library in OC4J - load data-sources.xml throws error

    H
    To share common libraries (framework.jar, JAXB jars, axis.jar, log4j, tibco*.jars)
    across application(app1/app2/app3) in the OC4J container.
    Currently all these jars are loaded with common jars separately application, a total 3 common
    footprints of these jars.
    1 - Placed all common jars under $J2EE_HOME/shared-lib folder, updated server.xml in $J2EE_HOME/config.
    2 - Connecting Tibco queues using generic JMS resource adapter (connectors - JCA).
    3 - Connecting to databases using data-sources.xml.
    4 - With following entries in orion-application.xml
    <imported-shared-libraries>
    <import-shared-library name="my.shared.libraries" max-version="1.0"/>
    </imported-shared-libraries> ---> Entry 1
    <connectors path="oc4j-connectors.xml"/> ---> Entry 2
    <data-sources path="data-sources.xml"/> ---> Entry 3
    Getting the following error while deploying the code.
    Error occurred initializing connectors. Exception is: Exception creating Manage
    d DataSource ConnectorPropertySet. Exception: Error setting up resource adapter
    for embedded resource archive inside application 'deployGood1'. ManagedConnecti
    onFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl
    ' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML'
    for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactor
    yImpl for embedded resource archive inside application 'deployGood1'. Exception
    is: java.lang.reflect.InvocationTargetException
    However orion-application.xml
    Option A
    Entry 1 (imported-shared-libraries)
    Entry 2 (connectors)
    Works perfectly fine - however the Service complains of not finding the datasource JNDI
    5 - If all jars are loaded separately with each application
    With following entries in orion-application.xml
    <library path="C:/soft/jar/framework.jar" />
    <library path="C:/soft/jar/log4j-1.2.14.jar" />
    <library path="C:/soft/jar/axis.jar"/>
    <library path="C:/soft/jar/commons-discovery-0.2.jar"/>
    <library path="C:/soft/jar/commons-logging-1.0.4.jar"/>
    <library path="C:/soft/jar/fscontext.jar"/>
    <library path="C:/soft/jar/gjra.jar"/>
    <library path="C:/soft/jar/jax-qname.jar"/>
    <library path="C:/soft/jar/jaxb-api.jar"/>
    <library path="C:/soft/jar/jaxb-impl.jar"/>
    <library path="C:/soft/jar/jaxb-libs.jar"/>
    <library path="C:/soft/jar/jaxb-xjc.jar"/>
    <library path="C:/soft/jar/jaxrpc.jar"/>
    <library path="C:/soft/jar/jmxri.jar"/>
    <library path="C:/soft/jar/jmxtools.jar"/>
    <library path="C:/soft/jar/namespace.jar"/>
    <library path="C:/soft/jar/providerutil.jar"/>
    <library path="C:/soft/jar/relaxngDatatype.jar"/>
    <library path="C:/soft/jar/saaj.jar"/>
    <library path="C:/soft/jar/tibcrypt.jar"/>
    <library path="C:/soft/jar/tibjms.jar"/>
    <library path="C:/soft/jar/tibjmsadmin.jar"/>
    <library path="C:/soft/jar/tibjmsapps.jar"/>
    <library path="C:/soft/jar/tibrvjms.jar"/>
    <library path="C:/soft/jar/wsdl4j-1.5.1.jar"/>
    <library path="C:/soft/jar/wss4j-1.5.2.jar"/>
    <library path="C:/soft/jar/xercesImpl.jar"/>
    <library path="C:/soft/jar/xmlsec-1.4.0.jar"/>
    <library path="C:/soft/jar/xsdlib.jar"/> -------> Entry 1
    <connectors path="oc4j-connectors.xml"/> ---> Entry 2
    <data-sources path="data-sources.xml"/> ---> Entry 3
    This configuration works perfectly fine as expected, but this configuration defeats the
    purpose of shared-library
    Thanks
    sunder

    H
    To share common libraries (framework.jar, JAXB jars, axis.jar, log4j, tibco*.jars)
    across application(app1/app2/app3) in the OC4J container.
    Currently all these jars are loaded with common jars separately application, a total 3 common
    footprints of these jars.
    1 - Placed all common jars under $J2EE_HOME/shared-lib folder, updated server.xml in $J2EE_HOME/config.
    2 - Connecting Tibco queues using generic JMS resource adapter (connectors - JCA).
    3 - Connecting to databases using data-sources.xml.
    4 - With following entries in orion-application.xml
    <imported-shared-libraries>
    <import-shared-library name="my.shared.libraries" max-version="1.0"/>
    </imported-shared-libraries> ---> Entry 1
    <connectors path="oc4j-connectors.xml"/> ---> Entry 2
    <data-sources path="data-sources.xml"/> ---> Entry 3
    Getting the following error while deploying the code.
    Error occurred initializing connectors. Exception is: Exception creating Manage
    d DataSource ConnectorPropertySet. Exception: Error setting up resource adapter
    for embedded resource archive inside application 'deployGood1'. ManagedConnecti
    onFactory implementation class 'oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl
    ' cannot be set up: Error setting JavaBean property 'managedDataSourceConfigXML'
    for ManagedConnectionFactory class 'oracle.oc4j.sql.spi.ManagedConnectionFactor
    yImpl for embedded resource archive inside application 'deployGood1'. Exception
    is: java.lang.reflect.InvocationTargetException
    However orion-application.xml
    Option A
    Entry 1 (imported-shared-libraries)
    Entry 2 (connectors)
    Works perfectly fine - however the Service complains of not finding the datasource JNDI
    5 - If all jars are loaded separately with each application
    With following entries in orion-application.xml
    <library path="C:/soft/jar/framework.jar" />
    <library path="C:/soft/jar/log4j-1.2.14.jar" />
    <library path="C:/soft/jar/axis.jar"/>
    <library path="C:/soft/jar/commons-discovery-0.2.jar"/>
    <library path="C:/soft/jar/commons-logging-1.0.4.jar"/>
    <library path="C:/soft/jar/fscontext.jar"/>
    <library path="C:/soft/jar/gjra.jar"/>
    <library path="C:/soft/jar/jax-qname.jar"/>
    <library path="C:/soft/jar/jaxb-api.jar"/>
    <library path="C:/soft/jar/jaxb-impl.jar"/>
    <library path="C:/soft/jar/jaxb-libs.jar"/>
    <library path="C:/soft/jar/jaxb-xjc.jar"/>
    <library path="C:/soft/jar/jaxrpc.jar"/>
    <library path="C:/soft/jar/jmxri.jar"/>
    <library path="C:/soft/jar/jmxtools.jar"/>
    <library path="C:/soft/jar/namespace.jar"/>
    <library path="C:/soft/jar/providerutil.jar"/>
    <library path="C:/soft/jar/relaxngDatatype.jar"/>
    <library path="C:/soft/jar/saaj.jar"/>
    <library path="C:/soft/jar/tibcrypt.jar"/>
    <library path="C:/soft/jar/tibjms.jar"/>
    <library path="C:/soft/jar/tibjmsadmin.jar"/>
    <library path="C:/soft/jar/tibjmsapps.jar"/>
    <library path="C:/soft/jar/tibrvjms.jar"/>
    <library path="C:/soft/jar/wsdl4j-1.5.1.jar"/>
    <library path="C:/soft/jar/wss4j-1.5.2.jar"/>
    <library path="C:/soft/jar/xercesImpl.jar"/>
    <library path="C:/soft/jar/xmlsec-1.4.0.jar"/>
    <library path="C:/soft/jar/xsdlib.jar"/> -------> Entry 1
    <connectors path="oc4j-connectors.xml"/> ---> Entry 2
    <data-sources path="data-sources.xml"/> ---> Entry 3
    This configuration works perfectly fine as expected, but this configuration defeats the
    purpose of shared-library
    Thanks
    sunder

  • Programatically change username and password if the data source

    Hi all,
    I searched but could not find the answer for how to programamtically change the username /password of the datasource created by the Servers tab under JSC2.
    My database is Oracle and I use the logins to specify the security policy. So I would like to be able to use the username/password when the user logs in and use these info to make the connection to the database server instead of the ones I provide when creating the data source.
    Thanks for your advice,
    DT

    The username/password can be set for the datasource via the CachedRowSet created for the datasource.
    For example if you drop the sample Travel->person table on the visual designer a "personDataProvider" is created. Here's the code to set the username/password.
    personDataProvider.getCachedRowset().setUsername("me");
    personDataProvider.getCachedRowset().setPassword("mypassword");-David

Maybe you are looking for

  • Colour Profiles no longer work in Indesign CS5

    I have upgraded to cs5 and I am printing in Indesign using a Epson 3800, my old colour profiles no longer work (There is a cyan cast and everything is really saturated). The same profiles work fine through photoshop. This profile worked in Indesign P

  • Can't find photo browser icon in Mail, I've just installed Lion

    I have just successfully installed Lion and when setting the toolbar in Mail I noticed that there isn't an icon for 'photo browser or attachments? Has the big cat eaten them or is there a more cunning method to attach photos to emails?

  • Zen Extra "USB Device Not Recognized" ??? HEL

    Hi all, I had a MPIO 20 gb MP3 player wich was stolen. No biggy, I took advantage of it and upgraded to a Nomad Jukebox Zen Extra 30gb. It look and feel nice and the navigation seems really easy. Where it gets more difficult is the "simple" pluging i

  • Problems organizing iPhoto Library

    I am fairly new to iPhoto and have learned the hard way not to manipulate the photos in the "Originals" folder in the iPhoto Library. Basically, I was taking pictures on vacation and each day I was naming the roll month/day/year appropriately. One da

  • Bug? Button Appearance is changed with hidden boolean text

    I encountered the following problem with customized buttons: I created a button,  made label, caption an boolean text invisible, then added a picture to decal and resized the button to fit to the picture. This means, i had to decrease the width. Ever