Application Module Data Source problem

I have a project which has multiple App Modules (AM). I have deplyed the application on Tomcat 5.5. The database connection is configured as DataSource. When I start the application the first app module connects to the database and works properly but when I go to page which refers to some other AM, it throws an error (SQL Exception unable to create Connection pool ). Is it possible for other AMs to use the datasource used by the first AM?

Refer
Multiple Application Modules with 1 Connection?
Configure multiple Application Modules

Similar Messages

  • Create a new OSB domain and data source problems

    Hello,
    I noticed a problem while create a new OSB domain with Oracle Service Bus 10gR3 on Solaris 10 (intel-based).
    This domain is composed of two managed servers deployed on a cluster.
    I have configured the JMS reporting data sources to use an Oracle 10g (XE) database (driver Oracle Thin (non XA)) installed on a remote server.
    While trying to start my managed servers, the startup process of these managed servers failed due to a data source problem on "wlsbjmsrpDataSource" or "cgDataSource-nonXA".
    The workaround I found is to delete and recreate (through the WLS console) the data sources "wlsbjmsrpDataSource", "cgDataSource-nonXA" and "cgDataSource".
    In this situation, my managed servers can be started properly.
    Is it a known problem located on the configuration wizard?
    Thanks for your help.

    Hi
    For the answer.
    I fully understand that those datasources are default ones and are mainly related to JMS reporting.
    But my question was probably not well expressed.
    The problem I had is when the domain is created, the managed servers won't start due to problems related to theses datasources.
    The workaround I found is to delete and to create those datasources from the WLS console.
    In this situation, the managed servers are able to be started.
    I want to know if this is a known problem/limitation of OSB 10gR3 with Solaris 10 and Oracle 10g?
    Thanks for your help.

  • JSF & Data source Problem

    Hi all
    I wrote my first jsf-adf project as discussed in cue cards in developer 10.1.3 using sql server 2005 , I configed my oc4j and app module as discussed in "Developing Oracle ADF Business Components for a SQL Server Database " paper in the same release of jdeveloper but I have 2 problems
    1. when I Config my environment without adding data-source into data-source.xml
    I get jbo-30003,jbo-29000 and jbo-26066 errors in the ie
    2. If i define my customized data-source in data-source.xml I get this error:"Unable to create com.evermind.sql.DriverManagerDataSource "
    my data-source code is
    "<data-source
      class="com.evermind.sql.DriverManagerDataSource"
      name="SQLServerDS"
      location="jdbc/SQLServerCoreDS"
      xa-location="jdbc/xa/SQLServerXADS"
      ejb-location="jdbc/SQLServerDS"
      connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
      username="sa"
      url="jdbc:microsoft:sqlserver://127.0.0.1:143;SelectMethod=cursor;User=sa;"
      inactivity-timeout="30""
    what should I do?
    by thanks
    Javaneh

    Hi
    I tried both of data sources which you explianed but the problem already exists:
    when I set the data source which you called global I received this error in the log window :
    May 29, 2006 9:42:30 AM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    May 29, 2006 9:42:30 AM com.evermind.server.XMLDataSourcesConfig createConfigFromLegacy
    WARNING: Exception processing legacy data source. Exception: Unable to instantiate com.microsoft.sqlserver.jdbc.SQLServerDataSource. Exception is:
         Missing class: com.microsoft.sqlserver.jdbc.SQLServerDataSource
         Dependent class: com.evermind.server.XMLDataSourcesConfig
         Loader: oc4j:10.1.3
         Code-Source: /E:/Programs/JDeveloper/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in E:\Programs\JDeveloper\j2ee\home\oc4j.jar
    This load was initiated at oc4j:10.1.3 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the server.
    06/05/29 09:42:30 Error initializing server: Error instantiating default application at Unable to get ApplicationConfig for default : Error parsing data-sources config at file:/E:/Programs/JDeveloper/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/data-sources.xml: DataSourceConfigException: Unable to instantiate com.microsoft.sqlserver.jdbc.SQLServerDataSource. Exception is:
         Missing class: com.microsoft.sqlserver.jdbc.SQLServerDataSource
         Dependent class: com.evermind.server.XMLDataSourcesConfig
         Loader: oc4j:10.1.3
         Code-Source: /E:/Programs/JDeveloper/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in E:\Programs\JDeveloper\j2ee\home\oc4j.jar
    This load was initiated at oc4j:10.1.3 using the Class.forName() method.
    06/05/29 09:42:30 Fatal error: server exiting
    The missing class is not available from any code-source or loader in the server.
    Process exited with exit code 1."
    and when I set the data source which you called local
    I see Jbo-30003;Jbo-29000 & Jbo-26066 errors in IE
    I can't understand what is wrong
    By thanks
    Javaneh

  • data-source problem error 503

    i m using oracle10g database . through jdev-embedded 0c4j , i want to run my strut application . i m having problems with data-source entry.
    i give either of following 2 entries in struts-config.xml and get this error
    503 Service Unavailable
    Servlet error: Initializing application data source org.apache.struts.action.DATA_SOURCE
    my data-source entries are
    1
    data-source type="org.apache.commons.dbcp.BasicDataSource"
    name="jdev-connection-DBConnection1"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="scott" password="tiger"
    url="jdbc:oracle:thin:@localhost:1521:ORCL"
    inactivity-timeout="30"/>
    ps :- i have added dbcp in my default project properties
    or i use
    <data-source name="jdev-connection-DBConnection1"
    class="com.evermind.sql.DriverManagerDataSource"
    location="jdbc/DBConnection1CoreDS"
    xa-location="jdbc/xa/DBConnection1XADS"
    ejb-location="jdbc/DBConnection1DS"
    pooled-location="jdbc/DBConnection1PooledDS"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="scott" password="tiger"
    url="jdbc:oracle:thin:@localhost:1521:ORCL"
    inactivity-timeout="30"/>

    To get quicker help (or to get help at all), please use a more suitable forum. I think, your problem is not a general database problem, but very specific. Try
    http://forums.oracle.com/forums/index.jsp?cat=13
    (topic OC4J/J2EE)

  • MapViewer data source problem in the morning

    Hi all,
    I have the Oracle Application server 10g and Oracle database 10g installed on 2 different computers. On the application server I have installed MapViewer the last version.
    I have defined a datasource in the configuration file and that works perfect.
    My application uses mapviewer through java and displays the generated image in an jsp. The same working as the demos though.
    Each night there is a backup of the database made on the other computer.
    The MapViewer/data source remains open through the night. When I come to the office in the morning, and i try to access my webpage with the mapviewer image, I get an
    500 Internal Server Error, java.lang.NullPointerException...
    I check in the admin page of the map viewer the following:
    <list_data_sources /> - The datasource is still defined
    <data_source_exists data_source="blabla"/> - The datasource exists
    If i try to <list_predefined_themes data_source="blabla" /> I get again an error. It seems that the connection with the database is not working.
    If I <redefine_data_source ..> or <restart/> mapviewer everything starts to work again without problems.
    I have attached further some erros I have in the log file, maybe it will help you to help me ;-)
    Regards,
    Adrian
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.sdovis.theme.pgtp] *** Exception while querying theme: LEVEL_1
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.sdovis.theme.pgtp] java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.sdovis.DBMapMaker] Message:Exception while querying theme: LEVEL_1
    Description: Nested exception is:
    java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
    java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:286)
    Thu Feb 02 08:10:28 CET 2006 WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.lbs.mapserver.core.RealWorker] Message:[SDOVIS] No spatial data to render!
    Description:
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1304)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1399)
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.lbs.mapserver.core.RealWorker] Message:null
    Thu Feb 02 08:10:28 CET 2006
    Severity: 0
    Description:
    Message:[SDOVIS] No spatial data to render!
    Description:
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1304)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1399)
    Thu Feb 02 08:12:45 CET 2006 ERROR [oracle.lbs.mapserver.core.MapperConfig] java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)

    Hi,
    please post how you did define the data source in the configuration file.
    Thanks.

  • XML Data Source Problem

    Hi there,
    I am creating a data source for XML....
    all needed services are there (/SICF)
    Web service was created..and it is active
    I create DataSource..and I check it.... everything is Ok until here..
    By activating the DataSource I got an error
    <b>Error generating web service..</b>
    what could be the problem ? or how could I know more about the problem...I do not get more than that message...
    I will thank any help or advice
    FedeX

    Hi there,
    I am creating a data source for XML....
    all needed services are there (/SICF)
    Web service was created..and it is active
    I create DataSource..and I check it.... everything is Ok until here..
    By activating the DataSource I got an error
    <b>Error generating web service..</b>
    what could be the problem ? or how could I know more about the problem...I do not get more than that message...
    I will thank any help or advice
    FedeX

  • Application Server Data Source settings help needed (10.1.2.0.2)

    Hi,
    Can someone tell me what maximum values can I set in the following properties under Connection Attributes when I define a DataSource on
    Application Server. I have almost 25+ web application deployed on my 10.1.2.0.2 server that all uses one data source I have defined. Now the issue is the number of requests
    are very high and every now and then I get timeout error when trying to get the database connection. At one particular instance at peak time I may get over 200+ requests that
    do some databse connections etc. Following are my current settings. But need to increase some more but wondering what are the maximum values I can have. I have only one server 10.1.2.0.2
    Connection Retry Interval (seconds) = 5
    Max Connection Attempts = 3
    Cached Connection Inactivity Timeout (seconds) = 30
    Maximum Open Connections = 60
    Minimum Open Connections = 10
    Wait For Free Connection Timeout (seconds) = 15
    What other properties can I have to make use of datasource effectively.
    Thanks

    Here is the copy of my datasources.xml.
    <?xml version = '1.0' standalone = 'yes'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources-9_04.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:1521/oracle.regress.rdbms.dev.us.oracle.com"
                   inactivity-timeout="30"/>
      <!-- For SQL Server -->
      <data-source location="jdbc/TestDS"
                   class="com.microsoft.jdbcx.sqlserver.SQLServerDataSource"
                   password="pwd" xa-location="jdbc/TestDS"
                   ejb-location="jdbc/TestDS"
                   connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
                   username="usr"
                   url="jdbc:microsoft:sqlserver://someloc99:1433/DevelopmentAp"
                   inactivity-timeout="30" name="jdbc/TestDS"
                   connection-retry-interval="5" max-connections="50"
                   max-connect-attempts="3">
        <description>jdbc/TestDS</description>
        <property name="DatabaseName" value="DevelopmentAp"/>
        <property name="serverName" value="someloc99"/>
      </data-source>
    </data-sources>I also tried changing max-connections="0" it did helped but still after sometime I get timeout while connecting to the database. Don't know if it's with SQL Server that is not letting that many concurrent connections/sessions or something on the Application Server side.
    Thanks
    Message was edited by:
    WhiteSox
    Message was edited by:
    WhiteSox

  • UCCX 8.5 Data Source Problem

    Hello,
    I am trying to read and write information in db_cra database through CCX Editor but I can not see the data source. I was trying to add a datasource to see the db_cra database but the test connection always is failure, I do not see any message about de error so, I do not what can be the problem. I show you a picture of how I am configuring de datasource.
    Someone can help me to solve this problem please.
    Ok, I understand that I can read or write un db_cra, but I have to see de db_cra like a datasource rigth ?

    You cannot add db_cra as a datasource; at least not without becoming unsupported. Informx isn't even a supported database in the compatibility matrix. The only route I can even imagine this working in would be a custom Java class or using an off-box web service that serves as a middleware. Building either of those are well beyond the scope of my knowledge though.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • 0PM_ORDER_STATUS data source problem

    Hello,
    the Data Source 0PM_ORDER_STATUS contains in the source system the field UTMS - UTC Time Stamp in Short Form (YYYYMMDDhhmmss). This field is selected for replication to BW System.
    After replication in BW and assigning to the info source  the field UTMS is appeared there as well.
    But we cannot see the field in Data Selection  Tab of InfoPackage. As a result we get error in PSA - the system reqiures this field for extracting.
    How to troubleshoot this problem. Thank you.

    Hi,
    It is because of a limitation for SAP datasources, you are generally not able to use decimal fields as selections.
    Besides, i have another question. I wonder if delta records are populating for the datasource 0pm_order_status for your system. I just activated the  datasource but not able to fetch delta records. In RSA7 there is never any LUWS executed and so on records.
    Thanks,
    Ceyhun

  • [BUG] TP3 duplicating imported application module data controls

    Hi,
    I'm using TP3.
    I have an application project A which imports business components from an other project B. Whenever I open JDev (or the project A) the first time, the imported application modules from the other project B get an new entry in A's model.jpx file. This will lead to duplicate data controls in the Data Control panel.
    There might be other possible ways to get duplicate entries, but this one I can reproduce. I'm not sure if there are any implications having duplicate entries (my be longer start up time in OC4J).
    Can anybody confirm my findings?
    Timo

    Hi Frank,
    right now I don't have a test case, but I'll try to set one up. This will take some time. Till then I can only describe in detail what I did.
    I have an older application Module migrated from version 10.1.2.2 via 10.1.3.3 to 11TP3. The application is used to login a user to our application framework. User name and password are checked against a DB table and if correct some user information is compiled into a bean.
    In all of our other applications this login module is used to authenticate a user.
    I added the logingmodule.jar ro the classpath and the used 'file->import->business components' to import the application module into a new ADF Fusion Application (this was the method to import application modules from other projects in versions 10.1.2.1 and also worked in 10.1.3.3).
    Afer importing the jar I can add the login module to the new application module in the 'Data Model-> Application Aodule Instances' shuffle component.
    As far as I found out this triggers an entry in the model.jpx file:  <AppContainee
        Name="ber"
        ObjectType="JboProject">
        <DesignTime>
          <Attr Name="_SourceName" Value="loginModel.jar"/>
        </DesignTime>
      </AppContainee> This entry gets dulicated every time I open the project in JDev 11TP3 the first time.
    I read in the new doc, chapter 31, that there is a new method to reuse application modules (or other objects). This I'm currently checking out. Nonetheless I try to set up a test case.
    Timo

  • Generic text data source problem

    Hello Gurus,
    I am trying to create a generic data source for an iobject needed in my analysis (shipment conditions, 0SHIP_COND - I haven't been able to find appropriate txt DS in RSA5 for it).
    I located its texts in a table TVSB. It contains 3 fields: Client, Shipping Cond. and Description.
    I tried to create a DS based on this table in RSO2, but when I check it afterwards, it does not have the Description field. That means only the Shipping Cond. code field is in created data source.
    What can be the cause that when I create a data source based on a table, the system skippes some fields from this table?
    Could anyone provide a solution to this problem?
    Regards,
    Alek

    Ah, thank you
    BTW: For a future reference:
    How can I check that a table is "really" a table, valid for - for example - making a DS based on it?
    I have opened TVSB in SE16 and it looked "OK", just like a regular table (for example, I compared it with TKUKT, for customer class, which is valid for making a data source on it, and they both looked the same (in structure).
    Is there a way to distinguish a "valid for DS" table? Or it's just the know-how you need to get through your experience?
    Edited by: Aleksander Dyl on Dec 10, 2008 11:27 AM

  • Add data source problem

    This is my problem:
    When I select the Data option in the Main menu bar or in the Server Navigation window and then select the Add Data Source option, the Edit Database Server Types window is displayed instead. If you try to cancel or close the window it will only be redisplayed. The only way out of this is terminating the program with the Windows Task Manager.
    Platform: Windows XP
    Creator: 2004Q2 Update 8
    Thanks in advance for any help
    lasc

    hi,
    when i try to add a data source i usually get a dialog box titled Add Data Source in which there are options to decide on the Server Type among other options ,
    i dont know if this is the type of dialog box u r getting , and if so then nothig is wrong,
    bu if not! i have no idea why is that happening but i can suggest that it is normal to decide on the data base server before creating the data source in order for the creator ro use the right driver, i guess so,
    Good luck,
    sssnbj

  • Do you have " Multiprocessor WAN Application Module" data or configuration?

    Dear sir,
    we have big project in my company.
    project title is " Multiprocessor WAN application Module Mobile Wireless Applications (MWAM)".
    but don't have everybody in korea.
    would you help me ?
    i need "sample config or data file for MWAM".
    my email is [email protected]
    thank you.

    Hi Bärbel,
    Your question is very good. We had the same and decided for following own approach:
    Namespace
    A Namespace is a concatenation of business process and SAP module, e.g. O2C_AR, P2P_AP, P2P_MM, R2R_GL.
    We have one global namespace for global objects as checks on currency code, date format value mappings, etc.
    Interface NameEvery interface has its own name. To be honest for inbound interface the names are more a user friendly description, for outbound we follow a little rule that they start with OUT_.
    SAP Data Structure (if applicable?)
    We try to do the structure mapping in the middle-ware and AIF is only responsible for the functional mappings.
    The root structure name is different between raw data and SAP data. But the sub structure and field names are equal. Because of this we can use the move corresponding fields or in some only monitoring interfaces even move corresponding structures.
    We also have some general questions:
    Does it make sense to prepare for one namespace per SAP-module or is it better to have just one and do the separation on the Interface name "level"?Because AIF support and business users differ in different business processes we separated in these processes and modules. In addition the recipients groups are similar to the name spaces.
    Is it preferred - even though SAP doesn't seem to enforce this - to start our own names with a "Z"?For namespaces (six characters) and interface names (10 characters) we don’t.
    Best wishes
    Christoph

  • BI7 Data source problem.

    Hi Friends,
    We are using standard datasouce for Master data (0CUST_SALES_ATTR) . W activated this data source, replicated  in BW and migrated to BI 7.0  .It is working fine in development. . Before trasnporting to Quality we replicated the data source In Quality system..
    When we transport to quality system, tha Data Source is Active. However, when we schedule from info package, we are getting the error “ Data Source must be replicated" Based on this error message, we replicated the data source again and still we are getting same error.
    We are thinking that  it is behaving like BW 3.5 object instead BI7 after transport.
    Could you please share your thoughts about this Issue.
    Regards,
    Nagesh.

    Hi,
    Before Transporting the data source, in case you are using only BI 7.0 data sources please make the setting in
    RSA1 -- Tools -- Conversion of Logical System names.
    Here in the mapping for the source system click the check box for 7.0.
    Alternatively you can use T code RSDS to migrate the Data source to BI 7.0 in qulaity system.
    Regards,
    Nitin Pardeshi
    Assign Points if useful

  • Crystal Reports for VS2010 using a custom SAP ABAP function module data source

    I recently worked with Crystal Reports 2011 and was able to connect and retrieve data from our R/3 system via an ABAP function module. While researching other features, I found this version that can be installed into Visual Studio 2010. The parameters are not very user friendly in Crystal Reports so I was hoping to create a custom dialog to collect my report parameters.
    Does anyone know if I were to install Crystal Reports for Visual Studio 2010, would I be able to design a front-end selection screen in a Visual Basic form and then pass the input to through the Crystal Reports connection to my ABAP function module to retrieve the data filtered on the back-end by the selection screen parameters and return the results to be reported in the Crystal Reports output?
    I am using Visual Studio 2010 Professional Visual Basic with the .NET Framework 4.0 on 32-bit Windows 7. I was able to connect to our R/3 system in Crystal Reports 2011, so if I were to install Crystal Reports for VS2010, would there be a similar way of connecting to SAP?
    Any assistance or direction would be greatly appreciated.
    Thanks,
    Bryan

    Hello Bryan
    I don't know for sure, but I doubt this will work in CRVS2010. Only hope is that the utility available for download in this KBA will point you in the right direction.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

Maybe you are looking for