Jdev101304 SU5 - ADF Faces - Web app deployment best practice|configuration

Hi Everybody:
1.- We have several web applications that provides a service/product used for public administration purposes.
2.- the apps are using adf faces adf bc.
2.- All of the apps are participating on javaSSO.
3.- The web apps are deployed in ondemand servers.
4.- We have notice, that with the increase of users on this dates, the sessions created by the middle tier in the database, are staying inactive but never destroyed or removed.
5.- Even when we only sing into the apps using javasso an perform no transacctions (like inserting or deleting something), we query the v$sesisons in the database, and the number of inactive sessions is always increasing, until the server colapse.
So, we want to know, if this is an issue of the configurations made on the Application Module's properties. And we want to know if there are some "best practices" that you could provide us to configure a web application and avoid this behavior.
The only configurations that we found recomended for web apps is set the jbo.locking.mode to optimistic, but this doesn't correct the "increasing inactive sessions" problem.
Please help us to get some documentation or another resource to correct configure our apps.
Thnks in advance.
Edited by: alopez on Jan 8, 2009 12:27 PM

hi alopez
Maybe this can help, "Understanding Application Module Pooling Concepts and Configuration Parameters"
see http://www.oracle.com/technology/products/jdev/tips/muench/ampooling/index.html
success
Jan Vervecken

Similar Messages

  • Grid Control deployment best practices

    Looking for this document, interested to know more about Grid Control deployment best practices, monitoring and managing for more than 300+ dbs.

    hi
    have a search for the following document
    MAA_WP_10gR2_EnterpriseManagerBestPractices.pdf
    regards
    Alan

  • Looking for Best Practice Configuration Building Block for Material Ledger

    I need to configure and create the Material Ledger for a customer in the near future.  Could someone help me find the Best Practice Configuration Guide for Material Ledger?
    Thanks in advance!

    The official config is in Best Practices for Primary Steel
    there is a delta building block which contains Material Ledger configuration
    http://help.sap.com/bp_bblibrary/500/HTML/T02_EN_ZH.htm

  • ADF FACES: error when deployed on Tomcat 5.0.28

    I just deployed my web app (from EA14) onto Tomcat 5.0.28. After some tweaks on the deployment profile, it works except for one error that I never see when it runs under the embedded OC4J app server. I now get this error on some of my pages:
    Apr 2, 2005 3:45:34 PM oracle.adfinternal.view.faces.io.DebugHtmlResponseWriter
    _errorWithComment
    WARNING: Illegal HTML: cannot put a <img> element in a <table> element.
    Has anyone else seen this error? Any ideas what causes it and why it doesn't show up under OC4J?
    Thanks.

    There've been issues when running in the embedded OC4J server where logged messages don't appear at all - I suspect this is happening on both environments, but you're only seeing the message on Tomcat.
    If you look in the HTML, you'll see a <!-- ILLEGAL HTML: --> comment where the problem occurs, and you should be able to trace that content back to the components you're using at that spot. Could you let us know what combination of components produces this error? (The problem is exactly what the error message says: HTML does not allow <img> directly inside of <table>, but that's what got produced.)

  • Servlet 2.2 conformity of web-app deployment?

    Hi,
              I am having quite a bit of difficulty getting a standard Servlet 2.2 app
              that runs in Resin, Tomcat and Orion app server just fine, to work at all on
              WebLogic. Is there some sort of trick? I installed WebLogic 5.1 trial via
              the download on my Win2K box. I set the weblogic.properties to use a webApp.
              When I hit the web-app via html pages..its fine. When I try to display JSP
              pages I get problems. I then figured out that for some reason WebLogic
              couldn't find tools.jar to compile JSP pages, so I added that to my System
              Environment classpath. Why it needs to be set there..and its not
              automatically done by the install I don't know. It seems obvious to me that
              to display JSP pages they have to be compiled, so tools.jar is needed.
              Anyways, the pages started converting into .java files, but when compiling I
              am getting some compile-time errors and thus the .class isn't showing up.
              I have:
              weblogic.httpd.webApp.myapp=c:/applications/bm/www
              in weblogic.properties. I am not trying clustering yet, so this is just to
              deploy a single instance of weblogic to run our site. I also commented out
              the docRoot=/public or whatever the line is..since I only want to run a
              Servlet 2.2 web-app, not a simple web-site.
              Below is the output of the console. I am not sure why it is giving me a
              class loader error. I am going to try the SP4 patch, but for some reason the
              wlconfig utility doesn't change the settings that I keep applying to it. I
              am trying to add a path to the classpath with wlconfig.
              Anyways..if anyone can shed some light I would be much appreciated.
              Thank you.
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: init
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param verbose
              ini
              tialized to: true
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              packagePref
              ix initialized to: jsp_servlet
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              compileComm
              and initialized to: javac
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              srcCompiler
              initialized to weblogic.jspc
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              superclass
              initialized to null
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              workingDir
              initialized to: C:\applications\bm\www\_tmp_war
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              pageCheckSe
              conds initialized to: 1
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp:
              initialization co
              mplete
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp:
              pageCheckSeconds over-ruled in JSPServlet to : 1
              Mon Aug 14 11:02:55 PDT 2000:<E> <ServletContext-myapp> error checking JSP
              'jsp_
              servlet._index' for freshness, forcing re-compile
              java.lang.LinkageError: Class javax/servlet/ServletConfig violates loader
              constr
              aints
              at java.lang.ClassLoader.defineClass0(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
              at
              weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
              ClassLoader.java:415)
              at
              weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              cClassLoader.java:316)
              at
              weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
              loadClass(RecursiveReloadOnModifyClassLoader.java:234)
              at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              Loader.java:146)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
              at jsp_servlet._index._isStale(_index.java:45)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:158)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:164)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:99)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:123)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:742)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:686)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:247)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:361)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> Generated java file:
              C:\
              applications\bm\www\_tmp_war\jsp_servlet\_index.java
              Mon Aug 14 11:02:58 PDT 2000:<E> <ServletContext-myapp> Servlet failed with
              Exce
              ption
              java.lang.LinkageError: Class javax/servlet/ServletConfig violates loader
              constr
              aints
              at java.lang.ClassLoader.defineClass0(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
              at
              weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
              ClassLoader.java:415)
              at
              weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              cClassLoader.java:316)
              at
              weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
              loadClass(RecursiveReloadOnModifyClassLoader.java:234)
              at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              Loader.java:146)
              at
              weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLo
              calClass(RecursiveReloadOnModifyClassLoader.java:109)
              at
              weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              cClassLoader.java:316)
              at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              Loader.java:172)
              at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              Loader.java:146)
              at weblogic.servlet.jsp.OneOffJspLoader.loadClass(JspStub.java:429)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
              at jsp_servlet._index._jspService(_index.java:58)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:105)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:123)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:742)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:686)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:247)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:361)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

    Thanks. Playing with this now. The initial running does the same thing. I
              get the same ClassLoader problem. I sent you an email about editing these
              and I figured it out. Didn't find the .cmd files originally. Anyways,
              another problem I have..I had to set in the Win2K classpath the location of
              tools.jar. Is this not allowed to be distributed in the JRE? I am surprised
              if WebLogic (and other app servers too) need access to the javac compiler,
              why it is not part of JRE so they can access it. I set that in my
              environment. Are you saying I shouldn't need to set any environment
              variables..not to my WEB-INF\classes, \ib, or any JAVA dir? That instead I
              can just set it in the .cmd script to start the server?
              Lastly, I will need to run WebLogic as a service. I have a Java as NT
              service utility that works pretty easily..so can I just use that?
              Thanks.
              "Roberto Nanamura" <[email protected]> wrote in message
              news:[email protected]...
              > Hi Kevin,
              >
              > WebLogic should work just fine without setting any environment variables
              but
              > setting them in the startWebLogic.cmd script (I am supposing you are
              starting WL
              > through the command line). Look for the first lines in the
              startWebLogic.cmd
              > script like that:
              >
              > if "%JAVA_HOME%" == "" set JAVA_HOME=.\jre1_2\jre
              > set JAVA_HOME=.\jre1_2\jre
              >
              > And see if the JAVA_HOME is already set up and if the value is where your
              jre
              > 1.2 should be. That should take care of the 'tools.jar' problem.
              >
              > Try to run it again and see if the problem still persists.
              >
              > Hope this will help,
              >
              > Roberto N Nanamura
              > Technical Consultant
              > Summa Technologies
              >
              > Kevin Duffey wrote:
              > >
              > > Hi,
              > >
              > > I am having quite a bit of difficulty getting a standard Servlet 2.2 app
              > > that runs in Resin, Tomcat and Orion app server just fine, to work at
              all on
              > > WebLogic. Is there some sort of trick? I installed WebLogic 5.1 trial
              via
              > > the download on my Win2K box. I set the weblogic.properties to use a
              webApp.
              > > When I hit the web-app via html pages..its fine. When I try to display
              JSP
              > > pages I get problems. I then figured out that for some reason WebLogic
              > > couldn't find tools.jar to compile JSP pages, so I added that to my
              System
              > > Environment classpath. Why it needs to be set there..and its not
              > > automatically done by the install I don't know. It seems obvious to me
              that
              > > to display JSP pages they have to be compiled, so tools.jar is needed.
              > > Anyways, the pages started converting into .java files, but when
              compiling I
              > > am getting some compile-time errors and thus the .class isn't showing
              up.
              > >
              > > I have:
              > >
              > > weblogic.httpd.webApp.myapp=c:/applications/bm/www
              > >
              > > in weblogic.properties. I am not trying clustering yet, so this is just
              to
              > > deploy a single instance of weblogic to run our site. I also commented
              out
              > > the docRoot=/public or whatever the line is..since I only want to run a
              > > Servlet 2.2 web-app, not a simple web-site.
              > >
              > > Below is the output of the console. I am not sure why it is giving me a
              > > class loader error. I am going to try the SP4 patch, but for some reason
              the
              > > wlconfig utility doesn't change the settings that I keep applying to it.
              I
              > > am trying to add a path to the classpath with wlconfig.
              > >
              > > Anyways..if anyone can shed some light I would be much appreciated.
              > >
              > > Thank you.
              > >
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: init
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              verbose
              > > ini
              > > tialized to: true
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              > > packagePref
              > > ix initialized to: jsp_servlet
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              > > compileComm
              > > and initialized to: javac
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              > > srcCompiler
              > > initialized to weblogic.jspc
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              > > superclass
              > > initialized to null
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              > > workingDir
              > > initialized to: C:\applications\bm\www\_tmp_war
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
              > > pageCheckSe
              > > conds initialized to: 1
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp:
              > > initialization co
              > > mplete
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp:
              > > ######
              > > ########
              > > ############
              > > ##############
              > > pageCheckSeconds over-ruled in JSPServlet to : 1
              > > ##############
              > > ############
              > > ########
              > > ######
              > >
              > > Mon Aug 14 11:02:55 PDT 2000:<E> <ServletContext-myapp> error checking
              JSP
              > > 'jsp_
              > > servlet._index' for freshness, forcing re-compile
              > > java.lang.LinkageError: Class javax/servlet/ServletConfig violates
              loader
              > > constr
              > > aints
              > > at java.lang.ClassLoader.defineClass0(Native Method)
              > > at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
              > > at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
              > > ClassLoader.java:415)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              > > cClassLoader.java:316)
              > > at
              > > weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
              > > loadClass(RecursiveReloadOnModifyClassLoader.java:234)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              > > Loader.java:146)
              > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
              > > at jsp_servlet._index._isStale(_index.java:45)
              > > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:158)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              > > java:164)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > > pl.java:99)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > > pl.java:123)
              > > at
              > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > > textImpl.java:742)
              > > at
              > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > > textImpl.java:686)
              > > at
              > > weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              > > ContextManager.java:247)
              > > at
              > > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              > > a:361)
              > > at
              > > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              > >
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > >
              > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> Generated java
              file:
              > > C:\
              > > applications\bm\www\_tmp_war\jsp_servlet\_index.java
              > > Mon Aug 14 11:02:58 PDT 2000:<E> <ServletContext-myapp> Servlet failed
              with
              > > Exce
              > > ption
              > > java.lang.LinkageError: Class javax/servlet/ServletConfig violates
              loader
              > > constr
              > > aints
              > > at java.lang.ClassLoader.defineClass0(Native Method)
              > > at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
              > > at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
              > > ClassLoader.java:415)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              > > cClassLoader.java:316)
              > > at
              > > weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
              > > loadClass(RecursiveReloadOnModifyClassLoader.java:234)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              > > Loader.java:146)
              > > at
              > > weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLo
              > > calClass(RecursiveReloadOnModifyClassLoader.java:109)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
              > > cClassLoader.java:316)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              > > Loader.java:172)
              > > at
              > > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
              > > Loader.java:146)
              > > at
              weblogic.servlet.jsp.OneOffJspLoader.loadClass(JspStub.java:429)
              > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
              > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
              > > at jsp_servlet._index._jspService(_index.java:58)
              > > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > > pl.java:105)
              > > at
              > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > > pl.java:123)
              > > at
              > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > > textImpl.java:742)
              > > at
              > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > > textImpl.java:686)
              > > at
              > > weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              > > ContextManager.java:247)
              > > at
              > > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              > > a:361)
              > > at
              > > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              > >
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

  • Multithreading in ADF Fusion web app - experience and risks ?

    We plan to hire mulithreading in our ADF web app.
    That's what is otherwise poorly written.
    Some say it is a bad practice, because the "server does not manage application's thread".
    Has anyone already implemented this in some way, and what are the experiences and the risks ?

    Hi Frank, thanks for response.
    I want to run the "multiple jobs" by sending messages to JMS system, namely for this purpose to hire Message Driven bean.
    This action would be performed by an HTTP request.
    Thus way, the user can continue to work with the program while MDBs doing their job (for example, call stored procs etc)
    But the problem is - how to notify the application in real time that the jobs is completed, and issue a message to the UI ?
    Thinking about WebLogic server-side push/Comet, but I need some details on how to implement this in ADF apps.

  • Office Web Apps deploy certificate error

    IIS Using Domain Certificate, when access "https://fqdn/hosting/discovery"  with certificate error. 
    Office web apps using same CA with Front End Server.
    new web farm with this new certificate name.
    Any suggest?
    Thanks.

    When you get the certificate are you able to view the certificate details? Do they match the name of the site?
    Do you have the appropriate root certificate installed on the client that you are browsing from?
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer"
    Georg Thomas | Lync MVP
    Blog www.lynced.com.au | Twitter
    @georgathomas
    Lync Edge Port Check (Beta)
    This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Web application security best practice?

    Hi guys,
    I am developing web app using JSF + Spring + Hibernate. I got a user backing bean which handling user login and logout session. Hence if user sign-in successfully, I will just set userLogIn=true in the userBean.java. I really don;t know if this is the best practice for handling user login session. Any security probelm here? Please advice, Thanks !
    regards,
    kmthien

    hi
    you can also find a lot of info about security handling and JSF if you search the forum.
    thanks.

  • Technical documentation for ADF projects - how to and best practices

    Hi,
    I have a question how to create technical documentation for ADF project expecialy ADF BC and ADF Faces. Is there any tool or JDev plugin for that purpose? What informations should contains documentation for that project, any principles ?Has anybody any experienece. Are there something like documentation best practices for ADF projects? E.g. how to create documentation for bussiness components.
    Kuba

    I'm not sure there is "best practices" but some of the things that can help people understand are:
    An ADF BC diagram - this will describe all your ADF BC objects - just drag your components into a new empty diagram
    A JSF page flow - to show how pages are called.
    Java class diagram - for Java code that is not in the above two
    One more thing to consider - since ADF BC, JSF page flow and JSPX pages are all XML based - you could write XSL files that will actually transform them into any type of documentation you want.

  • Fiori App Modification Best Practices?

    Hi all,
    We are implementing the Approve Travel Expense Fiori app and have encountered the following situation:
    The business workflow requires that a rejected expense report have a comment associated with it. In looking at the code the confirmation dialog defaults to allowing the note to be optional. We can address this by setting the noteMandatory property to TRUE (the default is FALSE). But I'm not sure that this is the best solution. When SAP releases an update for the app the modification will be overwritten and someone has to remember to add that property again.
    How do other organizations handle situations like this? Is there a best practice recommendation for when a minor code change is needed? Or is there a better way to implement this functionality that I'm not aware of?
    Thanks,
    Dave

    Hi Dave,
    SAP provide extensions points for these Fiori Apps, that may be useful to you http://help.sap.com/fiori_bs2013/helpdata/en/a1/611653f5bbef28e10000000a4450e5/content.htm
    If you can't use one of the extension points then I think you will need to do what you've already done.
    Hth,
    Simon

  • Workflow & Web Dynpro integration - best practice?

    Hi,
    I am working on ECC6 and EP7 and looking at building some workflow approval scenarios for Travel Management.  I need to move away from the SAP supplied approval scenarios to meet our business requirements.
    What I'm looking for is a 'best practice' for integrating a Web Dynpro application (for ABAP) which will be the basis of our approval workitem.  I have seen a number of presentations which talk about integrating the user decision task (BOR object DECISION) into a web dynpro application.  I have also seen an approach where the FM WDY_EXECUTE_IN_PLACE is used to call a Web Dynpro application from within a BOR object method. 
    I guess I'm wondering if there is an approach that provides a cleaner integration then either of the above approaches as they both appear (well to me anyway!) to have limitations.  Is there a way for example of implementing an ABAP class method as the basis of the approval task that cleanly integrates with the Web Dynpro application?
    Any suggestions would be greatly appreciated.
    Thanks in advance
    Michael Arter

    Hello,
    Are you going to use the Universal worklist in your portal? If yes, that will bring you more possibilitites. Then you don't have to code anything into your business object - instead in portal (UWL configuration) you can define what which WD application is launched when the user clicks the task in UWL.
    If you are going to use business workplace and just launch WD applications from there, then you probably just need to use WDY_EXECUTE_IN_PLACE (or any other suitable way to launch WD application from ABAP).
    >Is there a way for example of implementing an ABAP class method as the basis of the approval task that cleanly integrates with the Web Dynpro application?
    Yes, but what is really the need for this? Did you know that you can replace the methods of your BO as methods of an ABAP class? Just implement the IF_WORKFLOW interface for your class, and you can use it in your workflow then just like the BO. If you want to "replace" the whole BO with your ABAP class, just take a look to Jocelyn Dart's blog series about the subject. But as I said, it is not really necessary to do this - especially if you already have lot of custom code in your custom business object - then it is probably a good idea to continue using it for your custom stuff.
    Regards,
    Karri

  • Web Intelligence Security Best Practices

    Hi All,
    We are in the process of starting to use web intelligence. I am puttng together a security model for it and I have some questions around best practices. We have a fairly simple two tier security model so far, end users and creators. Creators will be able to create reports in certain folders and everyone else will be able to run and refresh those reports they can see.
    I was going to create a group for all the creators and assign them to a custom access level in the web intelligence application. Then they would also need to be in another creator group for the particular folder. So they would be able to the create reports in that folder and execute reports in another.
    For all the end users, they need to be able to view and refresh reports, drilling, data tracking, etc. if they have access to them. Is the best practice then to just assign the Everyone group the out of the box view on demand access level?
    I have been digging around looking for resources and welcome anyone's input or ideas on the subject.
    Thanks in advance for any assistance provided.

    Thank you for your prompt reply.
    But that means that the same security groups will need to be creaed on both palces, web intelligence application and at the folder level?
    I was thinking if I create a developer group for the web intelligence application level, all developers would go into there. Then at the folder level I could create another folder level security group for developers to access the folder.
    Would that not simplify the maintenance at the application level? Or would that not work?

  • Oracle Identity Manager - automated builds and deployment/Best practice

    Is there a best practice as for directory structure for repository in version control system?
    Do you recommend to keep the whole xellerate folder + separate structure for xml files and java code? (Considering fact that multiple upgrades can occur over the time)
    How custom code is merged to the main application?
    How deployment to Weblogic application server occur? (Do you create your own script or there is an out of the box script that can be reused)
    I would appreciate any guidance regarding this matter.
    Thank you for your help.

    Hi,
    You can use any IDE (Eclipse, Netbeans) for development.
    For, Getting started with OIM API's using Eclipse, please follow these steps
    1. Creating the working folder structure
    2. Adding the jar/configuration files needed
    3. Creating a java project in Eclipse
    4. Writing a sample java class that will call the API's
    5. Debugging the code with Eclipse debugger
    6. API Reference
    1. Creating the working folder structure
    The following structure must be created in the home directory of your project (Separate project home for each project):
    <PROJECT_HOME>
    \ bin
    \ config
    \ ext
    \ lib
    \ log
    \ src
    The folders will store:
    src - source code of your project
    bin - compiled code of your project
    config - configuration files for the API and any of your custom configuration files
    ext - external libraries (3'rd party)
    lib - OIM API libraries
    log - local logging folder
    2. Adding the jar/configuration files needed
    The easiest way to perform this task is to copy all the files from the OIM Design Console
    folders respectively in the <PROJECT_HOME> folders.
    That is:
    <XEL_DESIGN_CONSOLE_HOME>/config -> <PROJECT_HOME>/config
    <XEL_DESIGN_CONSOLE_HOME>/ext -> <PROJECT_HOME>/ext
    <XEL_DESIGN_CONSOLE_HOME>/lib -> <PROJECT_HOME>/lib
    3. Creating a java project in Eclipse
    + Start Eclipse platform
    + Select File->New->Project from the menu on top
    + Select Java Project and click Next
    + Type in a project name (For example OIM_API_TEST)
    + In the Contents panel select "Create project from existing source",
    click Browse and select your <PROJECT_HOME> folder
    + Click Finish to exit the wizard
    At this point the project is created and you should be able to browse
    trough it in Package Explorer.
    Setting src in the build path:
    + In Package Explorer right click on project name and select Properties
    + Select Java Build Path in the left and Source tab in the right
    + Click Add Folder and select your src folder
    + Click OK
    4. Writing a sample Java class that will call the API's
    + In Package Explorer, right click on src and select New->Class.
    + Type the name of the class as FirstAPITest
    + Click Finish
    Put the following sample code in the class:
    import java.util.Hashtable;
    import com.thortech.xl.util.config.ConfigurationClient;
    import Thor.API.tcResultSet;
    import Thor.API.tcUtilityFactory;
    import Thor.API.Operations.tcUserOperationsIntf;
    public class FirstAPITest {
    public static void main(String[] args) {
    try{
    System.out.println("Startup...");
    System.out.println("Getting configuration...");
    ConfigurationClient.ComplexSetting config =
    ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    System.out.println("Login...");
    Hashtable env = config.getAllSettings();
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env,"xelsysadm","welcome1");
    System.out.println("Getting utility interfaces...");
    tcUserOperationsIntf moUserUtility =
    (tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("Users.First Name", "System");
    tcResultSet moResultSet = moUserUtility.findUsers(mhSearchCriteria);
    for (int i=0; i<moResultSet.getRowCount(); i++){
    moResultSet.goToRow(i);
    System.out.println(moResultSet.getStringValue("Users.Key"));
    System.out.println("Done");
    }catch (Exception e){
    e.printStackTrace();
    Replace the "welcome1" with your own password.
    + save the class
    To run the example class perform the following steps:
    + Click in the menu on top Run, and run "Create, Manage, and run Configurations" wizard. (In the menu, this can be either "run..." or "Open Run Dialog...", depending on the version of Eclipse used).
    + Right click on Java Application and select New
    + Click on arguments tab
    + Paste the following in VM arguments box:
    -Djava.security.manager -DXL.HomeDir=.
    -Djava.security.policy=config\xl.policy
    -Djava.security.auth.login.config=config\authwl.conf
    -DXL.ClientClassName=%CLIENT_CLASS%
    (please replace the URL, in ./config/xlconfig.xml, to your application server if not running on localhost or not using the default port)
    + Click Apply
    + Click Run
    At this point your class is executed. If everything is correct, you will see the following output in the Eclipse console:
    Startup...
    Getting configuration...
    Login...
    log4j:WARN No appenders could be found for logger (com.opensymphony.oscache.base.Config).
    log4j:WARN Please initialize the log4j system properly.
    Getting utility interfaces...
    1
    Done
    Regards,
    Sunny Ajmera

  • SOA OSB Deployment best practices in Production environment.

    Hi All
    I just wanted to know the best practices followed in production environment for deploying OSB and SOA Code. As you are aware that both require libraries from either (Jdev or SOA Suite) and (OEPE and OSB)? Should one rip the libraries and package them with the ANT scripts (I am not sure but SOA would require its internal ANT scripts and lot of libraries to be bundled, OSB requires only a few OEPE and OSB libraries) or we simply use the below:
    1) Use the production run time (SOA Server and OSB Server) to build and deploy the code. OEPE would not be present here, so we would just have to deploy the already created sbconfig.jar (We would build this in a local environment where OEPE and OSB would be installed). The code is checked out from a repository and transferred to this linux machine.
    2) Use a windows machine (which has access to prod environment) and have Jdeveloper, OEPE and OSB installed to build\deploy the code to production server. The code is checked out from a repository.
    Please let us know your personal experiences with the deployment in PROD. Thanks a lot!

    There are two approaches for deployment of OSB and SOA code.
    1. Use a machine specifically for build and deployment which will have access to all production environments (where deployment needs to be done). Install all the required software (oepe, OSB etc..) and use remote deployment for deploying the code.
    2. Bundle all the build and deployment related libraries and ship them as a deployment package on the target server and proceed with the deployment.
    Most commonly followed approach is approach#1.
    Regards
    Vivek

  • Apps DBA Best Practices

    Hi Everyone,
    Is there any best practice document for Apps DBA. Please share any URL/docs or Metalink notes for reference.
    Thanks
    SA

    Hi,
    I believe this was answered in one of your previous threads ...
    DBA and APPS DBA Activities
    DBA and APPS DBA Activities
    Regards,
    Hussein

Maybe you are looking for

  • How do I get my applications back into iTune library

    Just upgraded PC to Windows 7. Got my music libray 75% back, but not i have an issue with iPhone. Over 100 applications on phone, but can't get them to show on PC iTunes. How do I get library updated or do i have to download them all again. Also why

  • How to install Oracle Pro*C/C++ ?

    We installed oracle cluster and database for a RAC system. They are at version 10.2.0.4 (installed 10.2.0.1 and apply patchset to 10.2.0.4). Now our development team want to have Pro*C/C++ installed on the same server. Where I can find the product (d

  • Nested Tables / VARRAYS

    I need some suggestions on how to use an array in PL/SQL block. This is the code that I have written so far.   parsing text in Pl/SQL. declare   type stc is table of varchar2(6) not null;   v_stc   stc;   stctext varchar2(100) := '450011450012450013'

  • Business requirement

    Hi all I had written a functional specification for standard mcbe sap report by adding 3 more fields to the existing report as per the client requirement.so in FS i had to write the business requirement,so what i have to write,whether i have to expla

  • Inserting the sim card into a Nokia 1661

    (I've never had a cell phone before. I feel like such a noob. @_@ ) On  the Nokia 1661 is the sim card supposed to slide all the way under the little metal part or just butt up against it? The pictures on T Moblie.com arnt' clear as they dont' have a