Missing data-sources.xml deploying war with jdeveloper 9i RC

When deploying a war file to an OC4J 1.0.2.2.1 server and error reports during the deployment that data-sources.xml is missing in the application-deployments/xxxx directory. Only the orion-application.xml file is present - which references a data-sources.xml file in the same directory. The problem is : it isn't there.
When I copy the xml files from the applications/xxxx directory to the application-deployments/xxxx directory and redeploy the war file everything works fine.
Is this a configuration issue or a bug ? Anyway, can somebody tell me how I can work around this problem ?
Thanks !

this is a bug and you have already found the workaround.

Similar Messages

  • EPM Architect - Missing Data Source when deploy

    Hi,
    I have an application on EPM which status is at the moment Not Deployed. It once worked but now when I try to deploy it's Data Source is missing, nor i can associate one to it. How can I recover this situation? The application was working until yesterday and the Data Source for the underlying application is present.
    The Diagnostic does not show me the option to find suitable datasource for this application.
    The Planning application works correctly, I tried to restart Planning and EPMA Services but without success.
    Is there something I can do working on the tables in the EPMA schema?
    Thank you,
    bidi

    Hi Celvin,
    no I didn't play with the underlying tables. I ran the Diagnostic and it fails two tests:
    - Not deployed but in Shared Services
         - a) Delete from EPMA only
         - b) Manually delete application from Shared Services
    - Not Deployed status in EPMA, but in product
         - a) Delete from EPMA only. May run the Transform Classic to EPM Architect Wizard manually aftwrwards
         - b) Manually delete the application from the productnd
    I think that Delete from EPMA and reverse from the underlying planning application would in a certain sense "fix" my issue, but I'm not so confident in this operation, I don't want for some reason override something on the Planning application.
    In the forum I found that when the Data Source is set to NONE the diagnostic is able to recognize a data source that could fit. I don't know if in that case NONE is "NONE" as a string or is just missing, in my case I see an empty drop down list.
    Thanks

  • 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

  • Jdev 10.1.2 data-sources.xml weirdness

    Hi, I am using JDeveloper 10.1.2 with all the updates.
    My project is a web service. I'm getting a database connection like this:
    InitialContext ic = new InitialContext();
    DataSource ods = (DataSource) ic.lookup("jdbc/PeopleSoftPooledDS");
    Connection conn = ods.getConnection();I find that I cannot do "Oracle" things with the connection; in debug I find out that its not an Oracle connection. Its com.evermind something. I'm trying to figure out why, and how to get an Oracle driver connection.
    No data-sources.xml files under my jdeveloper install reference the evermind driver now. Yet I'm still getting an evermind connection.
    I can't seem to figure out what is going on
    Dennis S

    The class name is defined as oracle.jdbc.pool.OracleConnectionCacheImpl. The connection driver is defined as oracle.jdbc.driver.OracleDriver.
    By not being able to do "Oracle" things with the connection I mean method calls. I did a stmt.execute() and couldn't do a stmt.getCursor() because stmt wasn't an Oracle object.

  • Does JDeveloper deploy the data-sources.xml file?

    Hi,
    My project has a data-sources.xml file. When I deployed the project, JDeveloper created a .war file. The data-sources.xml file is not in the .war file. How will the application server pick up the data source if the xml file is not getting deployed?
    Thanks,
    Merced

    data-sources.xml configures the datasource with the oc4j server.
    A <Application>-data-sources.xml file also gets added for a project to the project directory.

  • How Get JDev to Omit data-sources.xml from every .war deployment

    I want a global data-sources.xml file to be used for all deployments. I do not want a copy of my standard data-sources.xml file to be included in every single deployment. I want my global data-sources.xml file to reside in the standard J2EE location of:
    oc4j_home/oc4j_instance_name/j2ee/config/data-sources.xml
    JDeveloper, for whatever reason, includes a data-sources.xml into every .war file. How do we configure JDev to omit the data-sources.xml? How do we set up JDev to automatically configure the .xml files (orion-application.xml, application.xml, etc) to use the global data-sources.xml? I do not want to manually do this for every deployment.
    I've been trying hard to find the answer in JDev online help and other OAS manuals. I read everywhere that I can have a "global" data-sources.xml, but I find no way to easily configure JDeveloper to do it this way.
    I would be grateful for you insights/help.
    thanks
    -Paul Janda

    I found the answer:
    In JDeveloper, Go to Tools | Preferences
    Select Deployment
    Uncheck the option for "Bundle default data-sources.xml during deployment"
    Upon the next generation of the .ear or .war file (including the next deployment), data-sources.xml will be omitted.
    -paul janda

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

  • [HELP] data-sources.xml on META-INF for deployment

    Hello,
    I'm having a problem in the configuration of POOL OF CONNECTIONS, I created the file and data-sources.xml orion-application.xml, and I am not able to add the same folder META-INF when I create the deploy the application (EAR). What can I do for the time that I generate the deploy the files have to go to the right folder.
    Thank now ...
    I am using:
    JDeveloper 10.1.3.3

    If application is to run on embedded OC4J, a EAR file is not required.
    1. Create a datasource, either declaratively in the data-sources.xml file or in the Connections Navigator or in the Global/Project DataSources.
    2. Specify the data source in the application.
    3. Run the application in the embedded OC4J.

  • [HELP] data-sources.xml on META-INF for deployment - Jdev

    Hello,
    I'm having a problem in the configuration of POOL OF CONNECTIONS, I created the file and data-sources.xml orion-application.xml, and I am not able to add the same folder META-INF when I create the deploy the application (EAR). What can I do for the time that I generate the deploy the files have to go to the right folder.
    Thank now ...
    I am using:
    JDeveloper 10.1.3.3

    If application is to run on embedded OC4J, a EAR file is not required.
    1. Create a datasource, either declaratively in the data-sources.xml file or in the Connections Navigator or in the Global/Project DataSources.
    2. Specify the data source in the application.
    3. Run the application in the embedded OC4J.

  • Issue with data source after deploying

    We are experiencing an issue with our data source after deployment of a cube. On the datasource properties in Visual Studio 2012, we have the max connections set to 0 before the deployment. Once the cube is deployed, I can navigate to the <name>.0.ds.xml
    file and open it and see that the <MaxActiveConnections>0</MaxActiveConnections> is indeed set to 0. At some point over the next couple days, a process of the cube or some other action causes that value to get updated to some number too large to
    be converted to an int, and makes the datasource invalid. At that point we cannot view the datasource properties in SSMS, we cannot open the cube project from Visual Studio, and we’ve even had failures when trying to process the cube.  Is there a config
    somewhere that would cause this value to get overwritten, or some other behind the scenes process that we can look at?
    Our server information is:
    Microsoft SQL Server 2012 (SP1) - 11.0.3153.0 (X64)
                    Jul 22 2014 15:26:36
                    Copyright (c) Microsoft Corporation
                    Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    Chad Dotzenrod SWC | TECHNOLOGY PARTNERS 1420 Kensington Road, Suite 110 Oak Brook, Illinois 60523-2144 http://www.swc.com

    Typically you would import the metadata from the source location and either use that location as the data source (and so not need to redeploy), or deploy it to a separate target location.
    The replace action is destructive as you've found, and effectively performs a drop table followed by create table. Hence any data in the table is lost.
    If you just want the Control Center Manager to correctly display that the table is deployed, try setting the action to "Upgrade". This will try to upgrade the deployed object to match the definition in OWB, but as the two are identical this will result in no changes. However, it will update the deployment records to indicate that the object is deployed.
    Nigel.

  • 10.1.3 Migration Issue with data-sources.xml

    Hi:
    Running into lots of migration issues for an application built in 10.1.3 EA, migrating to 10.1.3. production, mostly in the BC project. Here's one: the database connections built in EA were not carried over to prod, so they needed to get re-built. No biggie. But now the data-sources.xml file in the model project has duplicate entries for my data sources. I have tried directly editting that file and removing the duplicates, but when I go to run my application (ADF Faces & ADF BC) JDeveloper hangs. When I abort JDev and re-start it, the duplicate entries are back in data-sources.xml (and yes, I did save the file after making the changes). It seems that the xml file is built dynamically from definitions stored elsewhere. Where is the source? What will I need to modify to get the changes to take?
    Thanks.
    Johnny Lee

    There is new control over when/whether JDeveloper add/updates your data-sources.xml file for the embedded server. The settings are located here:
    Tools | Embedded OC4J Server Preferences | Current Workspace | Data Sources
    There are some settings there that control whether/when we update the data-sources.xml

  • Problem with embedded data-sources.xml and custom UserManager

    Hi all,
    Our application uses a custom UserManager, which is basically extended from the JDBC UserManager, declared as follows in orion-application.xml:
         <user-manager class="com.infocorpnow.a2g.security.oracle.A2GUserManager">
              <property name="table" value="pos.users" />
              <property name="userNameField" value="username" />
              <property name="passwordFiled" value="password" />
              <property name="dataSource" value="jdbc/A2GDS" />
              <property name="groupMemberShipTableName" value="pos.user_roles" />
              <property name="groupMemberShipGroupFieldName" value="role_name" />
              <property name="groupMemberShipUserNameFieldName" value="login_id" />
         </user-manager>
    Since we want to be able to deploy the application several times on the application server, and therefore have each deployment of the ear point to its own datasource (i.e. its own local "A2GDS"), we've found out how to embed data-sources.xml inside the EAR file we're deploying, and modify the orion-application.xml as follows:
         <data-sources path="./data-sources.xml" />
    And then place data-sources.xml in the same meta-inf folder as the orion-application.xml.
    This has worked fine when deploying to the standalone OC4J.
    Now when I try to deploy the exact same EAR file in Oracle 9iAS, and I get to the User Manager screen, the Custom User Manager does not show up correctly. It did show up prior to me embedding the data-sources.xml. Please help? This is fairly urgent.
    Thanks
    Jason

    I should also mention I'm using the Java Edition of 9iAS R2 (9.0.3 container) on Solaris.

  • Data sources in deploying web app. to Oracle Application Server

    I am using simple web application - JSP with BC4J (JDeveloper 9.0.5.1).
    I want to configure my application to use Data Source instead of JDeveloper connection and deploy it to production database, so DB administrator will take care of username and password.
    First, I create a new application module configuration that uses a data source instead of a JDeveloper connection with BC config. name TestAppModuleWithDS.
    Then I modify my application client (DataBindings.cpx) to use the new configuration (TestAppModuleWithDS).
    After that I create deployment profile and deploy to application server connection and try to test it on standalone server, and on production server together with my DBA.
    But the application is not running, always displaying error messages...
    Please what is the procedure and how to set Config of ApplModule.
    It is working properly with embeded server, but on standalone server there is an error:
    java.lang.UnsupportedClassVersionError: oracle/jdeveloper/cm/ConnectionDescriptor (Unsupported major.minor version 48.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1154)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.findClass(ContextClassLoader.java:390)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:138)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:271)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:817)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:169)
         at lastcoil.jspService(_testjsp.java:52)
         [SRC:/testjsp.jsp:11]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Unknown Source)
    Application module in testjsp.jsp (_testjsp.java) is:
    oracle.jbo.html.jsp.datatags.ApplicationModuleTag __jsp_taghandler_1=(oracle.jbo.html.jsp.datatags.ApplicationModuleTag)OracleJspRuntime.getTagHandler(pageContext,oracle.jbo.html.jsp.datatags.ApplicationModuleTag.class,"oracle.jbo.html.jsp.datatags.ApplicationModuleTag id configname releasemode");
    __jsp_taghandler_1.setParent(null);
    __jsp_taghandler_1.setId("TestAppModule");
    __jsp_taghandler_1.setConfigname("test.TestAppModule.TestAppModuleWithDS");
    __jsp_taghandler_1.setReleasemode("Stateful");
    __jsp_tag_starteval=__jsp_taghandler_1.doStartTag();
    if (OracleJspRuntime.checkStartTagEval(__jsp_tag_starteval))
    DataBindings.cpx is configured like this:
    ?xml version='1.0' encoding='windows-1252' ?>
    <JboProject
    id="DataBindings"
    xmlns="http://xmlns.oracle.com/adfm/application"
    version="9.0.5.15.88"
    SeparateXMLFiles="false"
    Package=""
    ClientType="JClient" >
    <Contents >
    <DataControl
    id="TestAppModule"
    SubType="DCBC4J"
    SupportsFindMode="true"
    SupportsTransactions="true"
    Package="test"
    FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
    Configuration="TestAppModuleWithDS" >
    <Parameters >
    <Parameter
    name="Sync"
    value="Batch" >
    </Parameter>
    </Parameters>
    </DataControl>
    </Contents>
    </JboProject>
    D:\JDeveloper10\j2ee\home\config\data-sources.xml je:
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
         <!--
              An example/default DataSource that uses
              Oracle JDBC-driver to create the connections.
              This tag creates all the needed kinds
              of data-sources, transactional, pooled and EJB-aware sources.
              The source generally used in application code is the "EJB"
              one - it provides transactional safety and connection
              pooling. Oracle thin driver could be used as well,
              like below.
              url="jdbc:oracle:thin:@host:port:sid"
         -->
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="tiger"
              url="jdbc:oracle:thin:@localhost:5521:oracle"
              inactivity-timeout="30"
         />
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="TestAppModuleWithDS"
              location="jdbc/hmlCoreDS"
              xa-location="jdbc/xa/hmlXADS"
              ejb-location="jdbc/hmlDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="user1"
              password="psw1234"
              url="jdbc:oracle:thin:@server.com:1521:sidname"
              inactivity-timeout="30"
         />
    D:\HotStripMill Projects\bc4j\src\lastcoil\common\bc4j.xcfg
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig>
    <AppModuleConfigBag>
    <AppModuleConfig name="TestAppModuleWithDS">
    <DeployPlatform>LOCAL</DeployPlatform>
    <JDBCDataSource>jdbc/hmlCoreDS</JDBCDataSource>
    <jbo.project>bc4j</jbo.project>
    <AppModuleJndiName>test.TestAppModule</AppModuleJndiName>
    <java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
    <ApplicationName>test.TestAppModule</ApplicationName>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <ConnectionDefinition name="hml">
    <ENTRY name="JDBC_PORT" value="1521"/>
    <ENTRY name="ConnectionType" value="JDBC"/>
    <ENTRY name="HOSTNAME" value="server.com"/>
    <ENTRY name="user" value="user1"/>
    <ENTRY name="ConnectionName" value="hml"/>
    <ENTRY name="SID" value="sidname"/>
    <ENTRY name="JdbcDriver" value="oracle.jdbc.driver.OracleDriver"/>
    <ENTRY name="password">{904}05437B2C11AE10318B521E7C6EE279666E</ENTRY>
    <ENTRY name="ORACLE_JDBC_TYPE" value="thin"/>
    <ENTRY name="DeployPassword" value="true"/>
    </ConnectionDefinition>
    </BC4JConfig>
    </data-sources>
    Thanks!

    iAS 1.0.x is StoneAge Technology (TM).
    Using the E-Business Suite you should look into the newer versions of the Application Server. I believe that 10.1.2.x supports the EBS, otherwise 9.04 should do the trick. Webservice support is much better in the newer versions. 1.0.x is from around 2000/2001 so the Webservice technology back than was "different" :-)
    cu
    Andreas

  • Data-source.xml location

    Hi.
    I have a web application, so I included the file data-source.xml and orion-application.xml in the project.
    If I run the application through JDeveloper every thing is ok.
    But if I make a deploy in the server, I get the following error:
    javax.naming.NameNotFoundException: jdbc/smCoreDS not found
    I was checking the ear and war file and I realized that the data-sources and orion-appications.xml were in the war file instead of the ear file.
    How can I make to JDeveloper puts the file in the path META-INF in the ear.file instead of in the path WEB-INF\classes\META-INF in the war file
    regards

    To the web.xml of the web application add
    <resource-ref>
      <res-ref-name>jdbc/smCoreDS</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
    </resource-ref>

  • Use of cache_scheme in data-sources.xml

    Hi guys.
    I have posted a couple of similar topics before - without any response ! I can't believe with all of the gurus out there that NOBODY knows the answer to this ! :-)
    Anyway, we are providing a 'vanilla' type implementation of Oracle's Connection Pooling - just using Oracle's DataSource to open and close connections, and having Oracle dynamically take care of the pooling itself. ( Apparently, under this scenario, even max and min connections are set as required ).
    However, if I specify the cache_scheme property within data-sources.xml, will it take effect using this basic implementation ? In other words, will changing it's value effect the behaviour once the max limit is reached and more connections are requested ?
    Many thanks.
    Steve.

    Timo,
    thanks for your respone! I managed to configure the application to use a data-source connection created on the application server. Also in order to be able to deploy the same EAR to a number of containers on different DB's.
    I know it's possible to connect to a DB without using a data-sources.xml file .. but it seemed like my application was storing some 'old' connection information because it was able to connect to the db without having the data sources configured on the AS.
    Do you need to restart JDeveloper after unchecking the 'Bunde default data-sources.xml during deployment' checkbox? Because it is working correctly right now ... .
    Thanks,
    Koen Verhulst

Maybe you are looking for

  • Error reading the data from the infoprovider 0FIGL_R10

    Hi Guru's i am trying to execute the report on the 0FiGL_R10. When i execute the query i am getting the following msg: No data source is assigned to 0FIGL_R10. But the datasource is already assigned to the cube. For this InfoCube the DS is 0FI_GL_10,

  • Can't figure this out: locating a MBP on the same wifi network

    Can't figure this out: when my 13" MBP is connected wirelessly to my Airport base station, my iPad can see it. When I connect the MBP to the base station via ethernet cable (for faster connection), the iPad can no longer see it. Note: my airport is n

  • Lack of connectivity to iBooks?

    I downloaded Maverick and with it came iBooks. When I click on the icon the iBooks Page opens and when I click on iBooks Store i get the message Cannot connect to iBooks Store. I have connectivity to iTunes and everything else on the internet with fu

  • How to Block the material

    Hi friends, How to block the material , what are the implecations if we block a material? Regards Krishna

  • Arrange home screen icons

    I added an app from the App store and when it was added to the home screen, it moved my Contacts icon from the home screen to a secondary screen. Is there any way to select which screen icons appear on?