Common Utility Project for 2 applications in 2 different Tracks

I have 2 applications to be deployed in two different landscapes. So I defined two tracks for them; now these 2 application use  common utility projects (Java project and Library project). Here is how it looks,
Scenario:
App1EJB
App1Web
App1EAR
App2EJB
App2Web
App2EAR
Util1 (Common to both App1 and App2)
Util2 (Common to both App1 and App2)
My question is,
1) So should I define 3 Tracks here?
     Track1 (App1)
     Track2 (App2)
     Track3 (Utilities)
2) Is this a good approach?
3) How will I define usage dependency across Tracks
4) How to do the deployment (always deploy Track3 before deploying Track1 or Track2?)
Please let me know.
Thanks,
Deepak

Hi Deepak,
First of all: how many SCA's did you define?
I would have 3 SCA's, one for the APP1* applications (APP1.SCA), one for the APP2* applications (APP2.SCA) and one for the utility aplications (UTILS.SCA).
Each of these SCA's will have their own track. For the first 2 SCA's (APP*.SCA) it is clear why (different landscape). I would have a separate track for the UTILS.SCA, because I would like to use only approved utilities.
Make the UTILS.SCA known in the other 2 tracks as dependent SCA of the APP.SCA's. Using the public parts and used DC's mechanism, you are able to use the utillities in your APP DC's.
Using  transport connections between track3 towards track1 and track2 ables you to have the latest approved utillities avaliable in track1 and track2.
Regarding the deployment, there is the question of how you are using the utillites: as services by themselfs on the Java runtime or included in the separate deployable ear-files. In the first case there is only one version of UTILS.SCA avaliable and used by both APP1.EAR and APP2.EAR. In the second case you have 2 versions (included in the ear-files), which makes updates of UTILS.SCA a redeployment of both APP1.EAR and APP2.EAR necessary.
Is this a good approach? Using 3 tracks makes it harder to test the utillities using the APP1.EAR or APP2.EAR. You need some test-features located in the UTILS.SCA. But you are at least sure you have only approved utillities in your ear-files.
Hope this helps a little.
regards,
Alain

Similar Messages

  • Common business action for Email/FTP transports behaving differently

    Hi B2B Gurus,
    We have configured a common business action for incoming documents for different transports (Email and FTP). Since the exchange protocol is "Custom document over generic exchange" and the payload is the same for the 2 protocols, we had to create a common business action as the Document definition (identification criteria) is the same. We have ofcourse created separate agreements with separate DCs but the same business action.
    In the above scenario, it works fine for all well formed documents (XML). We are observing that it it throwing the "unable to identify the document protocol" error when the invalid payload is sent through Email protocol but is allowing the document into Oracle B2B for FTP. We are using Oracle 10g and are on the latest patch.
    Can you pls let us know if this is the behaviour expected? Shouldn;t it be the same as the business action is the same ? Is transport making a difference? pls let us know asap as this is blocking some test scenarios as we have to go live soon.
    Regards
    Kavitha

    Hi Kavitha,
    Do you mean to say that the agreement is identified based on the "identification criteria" for Email protocol and not on the Email ids?In case of EMail transport, Email ID's are used for partner identification but for XML document identification, only XPATH is used.
    Is there anything that can be changed in our configuration to allow invalid documents pass thru b2B so that the validation can be handled by our backend?Treat XML files like Flat files and keep validation disabled and then invalid documents can also be passed.
    In this case, we also see that the idenfication criteria (XPATH) value is coming fine but the XML is not well formed.If you have configured B2B for custom XML and incoming XML is malformed then anyhow it will fail in EMail transport as document it self will not be parsed and hence XPATH can not be applied. As I mentioned above, if you still want to accept this doc, configure B2B for custom flat file instead of custom XML.
    Regards,
    Anuj

  • Common utility library for multiple websites (PHP/Dreamweaver)?

    I am working on several PHP-based websites, and would like to
    use the same utilities in
    them all. The local directories for the individual websites
    are all subdirectories of the
    website D: Websites.
    I could fairly readily put the utilities in a website D:
    Websites/Utilities, put a copy of
    this directory in the root directory of each website on the
    server, and tell PHP to load
    the utilities from the correct place, according to whether
    I'm running on the local or the
    remote server, but Dreamweaver does not seem to have any
    provision which would allow me to
    use it to upload new versions of the utilities from the
    Common local area to the remote
    servers. Is there any way to do this, or will I have to write
    a special PHP utility?

    Clancy wrote:
    > Dreamweaver does not seem to have any provision which
    would allow me to
    > use it to upload new versions of the utilities from the
    Common local area to the remote
    > servers.
    Dreamweaver is site based, and it works on the assumption
    that the site
    folder is the server root. This was appropriate in the early
    days of
    Dreamweaver when sites were created with static HTML and
    everything
    needed to be in the server root. It's less convenient when
    building
    dynamic sites that rely on libraries located outside the
    server root.
    Several beta testers have urged Adobe to improve the site
    definition
    setup so that libraries outside the server root can be easily
    maintained
    and uploaded from within Dreamweaver. Unfortunately, Adobe
    has not
    changed the way sites are defined to meet this increasingly
    common
    scenario. The more people who submit formal requests for this
    to happen,
    the more likely Adobe is to respond. Submit a feature request
    here:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions"
    http://foundationphp.com/

  • Error finding project for application

    Hi all,
    I have problems with deploying application from EPMA.
    Deploy is aborted everytime and I can see this error message in BPMA.log:
    Error finding project for application HP:app
    com.hyperion.interop.lib.OperationFailedException: Application does not exists by this Id 'HP:app'.
         at com.hyperion.interop.lib.helper.ApplicationHelper.getProjectForApplication(Unknown Source)
         at com.hyperion.interop.lib.CMSClient.getProjectForApplication(Unknown Source)
         at com.hyperion.awb.web.util.HSSRegistrationUtil.getHubProjectForApp(HSSRegistrationUtil.java:116)
         at com.hyperion.awb.web.appmanager.Action.deployValidate(Action.java:260)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
    What am I doing wrong?
    Thanks in advance,
    Vlado

    Hi Seb,
    thank you for your answer.
    Unfortunatelly, I still have problems with this.
    Here is my step-by-step install & config procedure:
    0. installed all products
    1. configured all products
    2. logged as admin in user management console and created new user (let's call him "superuser")
    3. logged as superuser in user management console and created new project
    4. created new planning datasource
    5. created dimensions and application in EPMA
    6. deploy this app
    Here I get this error.
    Could you (or anyone else) please describe your install & config process? I think I'm missing some config steps or I'm doing it in wrong order.
    Thanks!
    Vlado
    Edit:
    I found another error message in BPMA.log:
    Application does not exist by this Id
    Edited by: Vlado on Nov 11, 2008 3:04 PM

  • How to give Common Background color for all JPanels in My Swing application

    Hi All,
    I am developing a swing application using The Swing Application Framework(SAF)(JSR 296). I this application i have multiple JPanel's embedded in a JTabbedPane. In this way i have three JTabbedPane embedded in a JFrame.
    Now is there any way to set a common background color for the all the JPanel's available in the application??
    I have tried using UIManager.put("Panel.background",new Color.PINK);. But it did not work.
    Also let me know if SAF has some inbuilt method or way to do this.
    Your inputs are valuable.
    Thanks in Advance,
    Nishanth.C

    It is not the fault of NetBeans' GUI builder, JPanels are opaque by default, I mean whether you use Netbeans or not.Thank you!
    I stand corrected (which is short for +"I jumped red-eyed on my feet and rushed to create an SSCCE to demonstrate that JPanels are... mmm... oh well, they are opaque by default... ;-[]"+)
    NetBeans's definitely innocent then, and indeed using it would be an advantage (ctrl-click all JPanels in a form and edit the common opaque property to false) over manually coding
    To handle this it would be better idea to make a subclass of JPanel and override isOpaque() to return false. Then use this 'Trasparent Panel' for all the panels where ever transparency is required.I beg to differ. From a design standpoint, I'd find it terrible (in the pejorative sense of the word) to design a subclass to inconsistently override a getter whereas the standard API already exposes the property (both get and set) for what it's meant: specify whether the panel is opaque.
    Leveraging this subclass would mean changing all lines where a would-be-transparent JPanel is currently instantiated, and instantiate the subclass instead.
    If you're editing all such lines anyway, you might as well change the explicit new JPanel() for a call to a factory method createTransparentJPanel(); this latter could, at the programmer's discretion, implement transparency whichever way makes the programmer's life easier (subclass if he pleases, although that makes me shudder, or simply call thePanel.setOpaque(false) before returning the panel). That way the "transparency" code is centralized in a single easy to maintain location.
    I had to read the code for that latter's UI classes to find out the keys to use (+Panel.background+, Label.foreground, etc.), as I happened to not find this info in an authoritative document - I see that you seem to know thoses keys, may I ask you where you got them from?
    One of best utilities I got from this forum, written by camickr makes getting these keys and their values very easy. You can get it from his blog [(->link)|http://tips4java.wordpress.com/2008/10/09/uimanager-defaults/]
    Definitely. I bit a pair of knucles off when discovered it monthes after cumbersomely traversing the BasicL&F code...
    Still, it is a matter-of-fact approach (and this time I don't mean that to sound pejorative), that works if you can test the result for a given JDK version and L&F, but doesn't guarantee that these keys are there to stand - an observation, but not a specification.
    Thanks TBM for highlighting this blog entry, that's the best keys list device I have found so far, but the questions still holds as to what specifies the keys.
    Edited by: jduprez on Feb 15, 2010 10:07 AM

  • Xmlbean facet for utility project

    Hi, I created a utility project (I only have schema for this project.) and have Apache XMLBeans added. but I don't see Apache XMLBeans showup in Project Explorer. I only see JRE System Library. And I got error "org.apache can't be resolved to a type".
    Also there is a XMLBeans Builder problem "Unable to locate a tools.jar inside a 1.5 JDK installation. A 1.5 JDK must be added to the set of installed JREs to support the XMLBeans interface extension feature where the custom interface is processed as a Java source file (restart required)."
    My OEPE runs on JRE1.6. How to fix these? Thanks!

    Hi,
    I am able to reproduce the problem with portal build and in my case copying the content.jar to APP-INF/lib doesn't provide access to java types. It might be helpful to re-post this query on portal forum for appropriate solution.
    WebLogic Portal
    -Ram

  • ITunes Connect - New Application Company Name common or unique for each a

    We have our first couple of applications ready to go. But I am a little confused with the iTunes connect meaning of 'Company Name' - when adding an application.
    We are developing audio / spoken word applications for several companies and wanted to show each application in the store as the application title and the authors name as the company name.
    Does anyone know if the company name you enter the first time in iTunes connect is common for all applications you submit - or can it be different for each application?
    Thanks

    It is common for all apps that you submit. You don't get the option of inputting a different one when you create others.
    You *can not* change this (or at least not without calling support, but even that hasn't worked yet).

  • Common Supplier master database for Custom Applications and Oracle Financia

    Hi,
    We would like to build a custom applications (Multiple) for our organization core business operations using .NET on the database which is being used by Oracle financials R12.1.1. These custom applications are going to have its own application servers. BUT the database is common for both custom applications and oracle financials. This database is going to house on the Oracle RAC.
    We would like to have a common supplier master for both custom applications and Oracle payables. Could you please help me with below questions?
    1. How to create/Update/Query the supplier records in the supplier master tables provided by Oracle financials using custom applications?
    2. How can we store the additional data elements needed by each custom application? We can't use the DFF on the supplier tables as the data elements for each custom application is going to be different. even though they use same supplier.
    3. We might have multiple supplier with same name but different FEIN/SSN numbers. As per the design Oracle financials doesn't allow the same supplier name entered multiple times even though FEIN/SSN number is different. How can we workaround this limitation?
    Thanks,

    Hi,
    Please find my comments below:
    1. How to create/Update/Query the supplier records in the supplier master tables provided by Oracle financials using custom applications?
    A: You may use Supplier Open interface and Sites Interface to Create the Supplier Records. I don't think there is any API to update Supplier Info. Since both the applications exist on same database, I think you can query the Vendor tables from Custom applications also.
    2. How can we store the additional data elements needed by each custom application? We can't use the DFF on the supplier tables as the data elements for each custom application is going to be different. even though they use same supplier.
    A. Designing different tables depending on Custom Application ID and Vendor ID seems to be the only option.
    3. We might have multiple supplier with same name but different FEIN/SSN numbers. As per the design Oracle financials doesn't allow the same supplier name entered multiple times even though FEIN/SSN number is different. How can we workaround this limitation?
    A.One alternative is to create a single supplier with each FEIN/SSN number as site. Second one is to create Supplier Name concatenated with FEIN/SSN numbers as different suppliers and store the actual name in some DFF or other field. Standard functionality won't allow such duplication (Cannot Create Supplier/Employee With The Same Name Of Existing Supplier [ID 743430.1]).
    Hope it helps.
    Regards,
    Sridhar

  • 9i Jdeveloper for Oracle Applications gives error when running hello world

    The following is the error
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.apps.jtf.cache.CacheLoaderNotFoundException; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at OAErrorPage.jspService(OAErrorPage.jsp:35)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)
         at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:547)
         at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:518)
         at test_fwktutorial._jspService(test_fwktutorial.jsp:72)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.jtf.cache.CacheLoaderNotFoundException
         at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
         at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
         at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
         at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
         at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at test_fwktutorial._jspService(test_fwktutorial.jsp:45)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.jtf.cache.CacheLoaderNotFoundException
         at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:3236)
         at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:3203)
         at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:248)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1293)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008)
         at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827)
         at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:686)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:846)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at test_fwktutorial._jspService(test_fwktutorial.jsp:45)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    THe following is the OAFramework version
    OA Framework Version InformationOA Framework Version 11.5.10.5RUP.
    MDS Version 9.0.5.4.89 (build 555)
    UIX Version 2.2.24.1.0
    BC4J Version 9.0.3.13.97
    I use JDeveloper that comes with the patch 4725670
    The project settings for Oracle applications, the dbc file, userid/password, responsibility details are correctly set.
    Data base connection is also defined.
    I tried the patch 6012619 as well. No change and the same error
    Any clues please.

    user589898 ,
    Search on old threads before posting issues. Search on keyword CacheLoaderNotFoundException and you will find this issue has been discussed earlier.
    --Shiv                                                                                                                                                                                                                                                                                                                                                           

  • Images do not show up in web project in J2EE application[/b]

    I have cretead a web project in which i hava a servlet and couple of jsp's and some java util classes. This application gets the data from the database and displays it on a screen. Beside displaying, this app also transform the xml document to html using. I have the the XSL Stlesheet under Web Content along with all the jsp's.
    I also have images folder under Web-Content which has all the images for this application. When i run the application using Oracle 10g application server within Jdev, the application cannot find the images or the xsl stylesheet. Relative path to images in jsp is /images/someimage.gif while relative path to xsl is /some.xsl. For some reason it cannot find the images or the xsl when the application runs or deployed in OC4J container. Any help on this will be appreciated.
    I have checked the path in reference to the context-root and it seems to be correct.

    Relative path to images in jsp is /images/someimage.gif while relative path to xsl is /some.xsl.
    Is the images dir under the jsp dir?
    If the images dir and the jsp dir are at the same level, the relative path would be ../images/someimage.gif

  • How can i create datasource on apache server for ADF application?

    Hi All,
    i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
    So my question is that  how can i create Data Source i have goggling and find  two different way to do this.
    1. write following line of code on apache server conf/Context.xml file.
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource"
                   driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"/>
    but when i have used this way i got following exception.
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
    check link-
    https://forums.oracle.com/thread/2564233
    2. write following line of code apache conf/Server.xml file
    <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
        <Resource name="UserDatabase" auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved"
                  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                  pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/TestDB" auth="Container"
                  type="oracle.jdbc.pool.OracleDataSource"
                  description="User database that can be updated and saved"
                  driverClassName="oracle.jdbc.driver.OracleDriver"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"   />
      </GlobalNamingResources>
    and add this line in context.xml file inside <context> tag
    <ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
    but when i have run application i have got following error
    log-
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    so what is the solution how to create datasource on apche server which suitable for adf application?
    when i test data source using  following code used 1. way as i mentioned above  its running fine bt not for second.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select empname from pay_emphdr where empcd='JK1306'
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.empname}<br/>
    </c:forEach>
      </body>
    </html>
    please help me. it is very urgent.
    thanks in Advance
    Manish

    Hi Lindalnci
    i have already tried  this tutorial and in my post i have defined first way to do using this procedure.
    in that case i have got following exception as i have mentioned above
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection

  • Why Dev Guide says "create a separate project for each ADF task flow ..."

    Hi,
    We have a BPM process application which is having a few human tasks. The form for each of the human tasks is similar. We’d like to be able to share some page fragments or code between them and create single web application to handle all the human tasks for this BPM process application. Then I found the following in the Oracle document “Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1.4.0)”:
    “If the SOA composite contains multiple human tasks, create a separate project for each ADF task flow associated with each human task.”
    I wonder if we have to do that and if so, what is the reason.
    Do you have any clue? Please help.
    Thanks a lot,
    Helen

    Hi Helen
    1. I do not know the reason why they mentioned like separate project for each human task. NO, this is not required and we can have just one UI Project like MyTaskForms and have all the JSPs in this same project for each Human Task.
    2. On our side, we have like 10 Human Tasks, all using the same Payload. So we have 10 .task file. For the very first .task file, we used Auto Generate Project and gave project name like OurAppTaskForms. The reason we did this is, so that it adds all the required dependent libraries, tag libs etc properly. For all remaining 9 .tasks file, we did NOT use auto generate. Instead we used standard New -> JSF From Human Task and select one task at a time and follow the steps. These steps are covered in the online documentation. At the end in our BPM App, we have just one UI Project with all the 10 screens.
    3. ALSO, all the 10 screens have some common data. This we put in a reusable JSF Fragment page. And associated a custom Managed Bean for this to set and get values from this fragment and also some Actions for some buttons in the JSF. Then we included this JSF in each taskform jsf file, uisng the include tag. We added this include tag, somewhere in the top. So all screens share common jsf fragment page.
    4. We can refine the above stuff further. As per above, we still have 10 JSF screens for each one of the 10 .tasks. Ofcourse all these 10 jsf have same common jsf fragment. BUT instead of 10 individual jsf screens, we can have only ONE Jsf screen also. Refer online docs for the details. The challenging part is, since we have only one jsf, there may be some bussiness stuff, validatoin stuff to take care of in custom ValidationCallback Handler classes. Say for Task1, we had to show some buttons, but NOT for Task2. So we had to handle this logic. Also in validation call back, we can always get each Tasks, title also. So we can workaround this issue also. We are in the process of doing this right now. But first 3, we already did and they are working fine.
    My personal suggestion is first go with single jsf fragment and include in all tasks jsp files. Any changes to common elements need to make only in one place i.e fragment page.
    Thanks
    Ravi Jegga

  • Where can I download example projects for Kinect for Windows v2?

    so for a project I am working on regarding the Kinect v2 I had initially planned on using Matlab to code for the Kinect. However, the code on the Mathworks website regarding the Kinect seems to only work with the Kinect v1 and I cannot figure out how to
    get the v2 to work with Matlab. Now I am in the predicament that I need to use Visual Studio and have never done so before. To make matters worse, all of the guides I can find about programming for the Kinect assume you are very familiar with Visual Studio
    so I get lost before I can even get through the setup (I have no idea what kind of project is best for Kinect, though I intend to use C# as my programming language, or where these settings they are changing are located). If I could just find an example project
    file to download I feel like it would help me a lot, but I cannot seem to find one.
    So my question is thus, is there a place where we can download project files for Visual Studio? I really just need to see what one looks like and what kind of settings it runs on so I know where to get started. It would be awesome if the project file involved
    overlaying the skeletal model on top of people in real time as well.
    If this is not possible, even a video that explains in depth how to go about using visual studio and the Kinect at the same time would be greatly appreciate, or a workaround to get Matlab to work with the Kinect v2.

    Hi Jicnon,
    When you download and install the Kinect SDK, it comes with the Kinect SDK Browser application. This applicaiton is a web based application that contains a bunch of sample projects for getting started with Kinect for windows programming.
    There is also the jumpstart videos here:
    https://social.msdn.microsoft.com/Forums/en-US/8428671a-781c-4850-a56d-905ab28f8f8f/mva-jump-start-programming-kinect-for-windows-v2-videos?forum=kinectv2sdk
    To get to the SDK Browswer app just hit the windows button type in "Kinect SDK" and this application should appear.
    There are also some samples in Kinect Common Bridge and a dicussion on using Matlab here:
    https://social.msdn.microsoft.com/Forums/en-US/2aa59712-c2ab-48e2-98bd-5eed9a40ec44/matlab-link?forum=kinectv2sdk
    Sr. Enterprise Architect | Trainer | Consultant | MCT | MCSD | MCPD | SharePoint TS | MS Virtual TS |Windows 8 App Store Developer | Linux Gentoo Geek | Raspberry Pi Owner | Micro .Net Developer | Kinect For Windows Device Developer |blog: http://dgoins.wordpress.com

  • Security Error while trying to deploy my project to the application server from jDeve

    Dear All,
    I'm trying to deploy my project to the application server from jDeveloer but i got the following error :
    Invoking Oracle9iAS admin tool...
    D:\Oracle\OUIHome\jdk\jre\bin\javaw.exe -jar D:\Oracle\OUIHome\j2ee\home\admin.jar ormi://M-AMIN:3101/ admin **** -deploy -file D:\Oracle\OUIHome\jdev\mywork\Portal\UserManager\userRegister.ear -deploymentName userRegister
    Security error: This operation was denied. The admin.jar utility can not be used to perform operations against OPMN managed OC4J instnaces. Please use Enterprise Manager or dcmctl instead. Refer to the Oracle9iAS Admin Guide or the OC4J User's Guide for more details.
    Exit status of Oracle9iAS admin tool (-deploy): 1
    #### Deployment incomplete. #### Sep 10, 2002 4:16:53 PM
    Any help will be appreciated
    Regards,
    Mohammed Amin

    In JDev 9.0.2, to deploy to the full 9iAS server (instead of just Oracle9iAS Containers for J2EE [OC4J]), you have to use Enterprise Manager or DCM to deploy your application.
    In JDev 9.0.3 Preview, there is a way to have JDev perform a deployment via DCM for you, if you install a DCM Servlet into 9iAS that comes with JDeveloper.
    By JDev 9.0.3 Production, if you also use Oracle9iAS 9.0.3 Production, it should be possible to deploy to iAS 9.0.3 out-of-the-box.

  • Seperate Project for EF

    I am following a example on creating a ASP web app using the entity framework, but I have a database already created I would like to access.
    I would like to use the entity framework classes in a couple of projects.  Is it considered a good practice to put the entity framework. code in a separate project?
    Do you put all the controller code in the entity framework project or in the web portion of the project?
    When creating the project for the entity framework would I still use a web project template or would I use a DLL template?
    Thanks in advance.

    Hello Kazinski
    >>Is it considered a good practice to put the entity framework. code in a separate project?
    Personally, I would like do that puts data access code to a separate project which would make us easy to manage it.
    >>Do you put all the controller code in the entity framework project or in the web portion of the project?
    I do not quite understand what you mean about the controller code, if you mean business code, I would put them into a separate layer which we could call it business layer. It is not recommended to put business code and data access part code together.
    >>When creating the project for the entity framework would I still use a web project template or would I use a DLL template?
    If you are creating a MVC project, this project has already helped us constructed a separated layer. If it is just a common web application, you could create a class library project for your Entity Framework, and note do not forget to copy the connection
    string in your class library project to your web application or it would throw an exception.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Error while trying to get the IBase in Interaction Record

    We are trying to bring the Ibase component in the Interaction Record and Activity, for that in UI configuration we have enabled the Ibase and Component field. Once the enter the Ibase id and press enter we are getting the following Short dump. "An er

  • PI 7.1 CTS Transports

    Hi Team i have developed my scenario in development and it has to be transported to the Quality system. i have soem doubts regarding the Transports. i am using one SWC for the Sender(XX) and one SWC for the receievr (YY). First i am importing the IDO

  • Show Sales orders, STOs, & Deliveires in SNP planning book by Shipping Poin

    We are using ECC 6.0 and SCM 7.0. We have a requirement to model the Shipping point as a location in SNP. By this functionality we want to show Sales orders, STOs, & Deliveires in SNP planning book by Shipping Point in addition to Delivering Plant wh

  • How to deactivate?

    Hard drive died. I am trying to renistall Acrobat Pro 9 to another computer.  Adobe will not accept the serial number, I'm guessing this is because the number has not been deactivated.  How do I deactive? I have the triall installation on the other c

  • How can i turn the inbox window in ipad mail into full screen size?

    When we open the mail on our ipad, there is a inbox window shows up at the left on top of a mail. Can i turn the inbox window into a full screen display size? PS: My boss told me that she saw someone has the full screen inbox on his/her ipad and she