How can WLS use JSP pages in a Web Application witth just a JRE [Web Application, WAR, JSP, weblogic.jsp.pageCheckSeconds and JRE]

          How can WLS use JSP pages in a Web Application (either a .war file or a war directory structure) without a java compiler?
          I suspect either the JSP specification is flawed (i.e. it doesn't take account of servers using just a JRE), or BEA's implementation is broken.
          Production servers do not have a JDK installed. They only have a JRE. Therfore a java compiler is not present on the machine that the Web Application is deployed onto.
          On the development machine, when the server is requested to load the JSP it creates a tmpwar directory within the Web Application directory structure. This is then included in the resultant .war file thus:
          D:\war>jar -tf gmi.war
          META-INF/
          META-INF/MANIFEST.MF
          gmiService.jsp
          WEB-INF/
          WEB-INF/classes/
          WEB-INF/classes/com/
          WEB-INF/classes/com/bt/
          WEB-INF/classes/com/bt/gmi/
          WEB-INF/classes/com/bt/gmi/gmiService.class
          WEB-INF/getList.xsl
          WEB-INF/getListByConnection.xsl
          WEB-INF/getListByDistrict.xsl
          WEB-INF/getListByDistrictConnection.xsl
          WEB-INF/lib/
          WEB-INF/source/
          WEB-INF/source/build.bat
          WEB-INF/source/gmiService.java
          WEB-INF/web.xml
          WEB-INF/weblogic.xml
          tmpwar/
          tmpwar/jsp_servlet/
          tmpwar/jsp_servlet/_gmiservice.class
          tmpwar/jsp_servlet/_gmiservice.java
          When deployed on the production server with the web.xml file set to use the following values (note XML stripped):
          weblogic.jsp.pageCheckSeconds
          -1
          weblogic.jsp.precompile
          false
          weblogic.jsp.compileCommand
          javac
          weblogic.jsp.verbose
          true
          weblogic.jsp.packagePrefix
          jsp_servlet
          weblogic.jsp.keepgenerated
          false
          And in the weblogic.properties file:
          weblogic.httpd.webApp.gmi=war/gmi
          I've also tried with the .war file, but that insists on creating another tmpwar directory outside of the .war file.
          Then, although I have set pageCheckSeconds to -1 (don't check and don't recompile) ter production server still attempts to recompile the JSP's:
          Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: init
          Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param verbose initialized to: true
          Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param packagePrefix initialized to: jsp_servlet
          Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param compileCommand initialized to: javac
          Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param srcCompiler initialized to weblogic.jspc
          Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param superclass initialized to null
          Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param workingDir initialized to: /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war
          Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param pageCheckSeconds initialized to: -1
          Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: initialization complete
          Mon Sep 25 11:40:12 BST 2000:<I> <WebAppServletContext-gmi> Generated java file: /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.java
          Mon Sep 25 11:40:14 BST 2000:<E> <WebAppServletContext-gmi> Compilation of /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.java failed: Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main
          java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[javac, -classpath, /opt/Solaris_JRE_1.2.1_04/lib/rt.jar:/opt/Solaris_JRE_1.2.1_04/lib/i18n.jar:/opt/Solaris_JRE_1.2.1_04/classes:/var/wls/5.1/weblogic/lib/weblogic510sp4boot.jar:/var/wls/5.1/weblogic/classes/boot:/var/wls/5.1/weblogic/eval/cloudscape/lib/cloudscape.jar:/var/wls/5.1/weblogic/lib/wleorb.jar:/var/wls/5.1/weblogic/lib/wlepool.jar:/var/wls/5.1/weblogic/lib/weblogic510sp4.jar:/var/wls/5.1/weblogic/license:/var/wls/5.1/weblogic/classes:/var/wls/5.1/weblogic/lib/weblogicaux.jar:/opt/wls-servers/gmiServer/weblogic/gmiServer/serverclasses:/opt/wls-servers/gmiServer/weblogic/lotusxsl.jar:/opt/wls-servers/gmiServer/weblogic/xerces.jar:/opt/wls-servers/gmiServer/weblogic/logging.jar::/opt/wls-servers/gmiServer/weblogic/war/gmi/WEB-INF/classes:/opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war, -d, /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war, /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.java])
          at java.lang.Throwable.fillInStackTrace(Native Method)
          at java.lang.Throwable.fillInStackTrace(Compiled Code)
          at java.lang.Throwable.<init>(Compiled Code)
          at java.lang.Exception.<init>(Compiled Code)
          at java.io.IOException.<init>(Compiled Code)
          at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Compiled Code)
          at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
          at weblogic.servlet.jsp.JspStub.compilePage(Compiled Code)
          at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
          at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:187)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:142)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
          at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
          at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
          at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
          at weblogic.kernel.ExecuteThread.run(Compiled Code)
          

The default Java compiler from sun lives in the tools.jar that comes with
          the JDK. Just add that to your set of JARs which are deployed in production
          and you should be fine. No need to install the full JDK - just make the
          tools.jar available to WebLogic.
          Regards
          James
          James Strachan
          =============
          email: [email protected]
          web: http://www.metastuff.com
          "Martin Webb" <[email protected]> wrote in message
          news:[email protected]...
          >
          > How can WLS use JSP pages in a Web Application (either a .war file or a
          war directory structure) without a java compiler?
          >
          > I suspect either the JSP specification is flawed (i.e. it doesn't take
          account of servers using just a JRE), or BEA's implementation is broken.
          >
          > Production servers do not have a JDK installed. They only have a JRE.
          Therfore a java compiler is not present on the machine that the Web
          Application is deployed onto.
          >
          > On the development machine, when the server is requested to load the JSP
          it creates a tmpwar directory within the Web Application directory
          structure. This is then included in the resultant .war file thus:
          >
          > D:\war>jar -tf gmi.war
          > META-INF/
          > META-INF/MANIFEST.MF
          > gmiService.jsp
          > WEB-INF/
          > WEB-INF/classes/
          > WEB-INF/classes/com/
          > WEB-INF/classes/com/bt/
          > WEB-INF/classes/com/bt/gmi/
          > WEB-INF/classes/com/bt/gmi/gmiService.class
          > WEB-INF/getList.xsl
          > WEB-INF/getListByConnection.xsl
          > WEB-INF/getListByDistrict.xsl
          > WEB-INF/getListByDistrictConnection.xsl
          > WEB-INF/lib/
          > WEB-INF/source/
          > WEB-INF/source/build.bat
          > WEB-INF/source/gmiService.java
          > WEB-INF/web.xml
          > WEB-INF/weblogic.xml
          > tmpwar/
          > tmpwar/jsp_servlet/
          > tmpwar/jsp_servlet/_gmiservice.class
          > tmpwar/jsp_servlet/_gmiservice.java
          >
          > When deployed on the production server with the web.xml file set to use
          the following values (note XML stripped):
          >
          > weblogic.jsp.pageCheckSeconds
          > -1
          >
          > weblogic.jsp.precompile
          > false
          >
          > weblogic.jsp.compileCommand
          > javac
          >
          > weblogic.jsp.verbose
          > true
          >
          > weblogic.jsp.packagePrefix
          > jsp_servlet
          >
          > weblogic.jsp.keepgenerated
          > false
          >
          >
          > And in the weblogic.properties file:
          >
          > weblogic.httpd.webApp.gmi=war/gmi
          >
          > I've also tried with the .war file, but that insists on creating another
          tmpwar directory outside of the .war file.
          >
          >
          > Then, although I have set pageCheckSeconds to -1 (don't check and don't
          recompile) ter production server still attempts to recompile the JSP's:
          >
          >
          > Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: init
          > Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
          verbose initialized to: true
          > Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
          packagePrefix initialized to: jsp_servlet
          > Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
          compileCommand initialized to: javac
          > Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
          srcCompiler initialized to weblogic.jspc
          > Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
          superclass initialized to null
          > Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
          workingDir initialized to:
          /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war
          > Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
          pageCheckSeconds initialized to: -1
          > Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp:
          initialization complete
          > Mon Sep 25 11:40:12 BST 2000:<I> <WebAppServletContext-gmi> Generated java
          file:
          /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.
          java
          > Mon Sep 25 11:40:14 BST 2000:<E> <WebAppServletContext-gmi> Compilation of
          /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.
          java failed: Exception in thread "main" java.lang.NoClassDefFoundError:
          sun/tools/javac/Main
          >
          > java.io.IOException: Compiler failed
          executable.exec([Ljava.lang.String;[javac, -classpath,
          /opt/Solaris_JRE_1.2.1_04/lib/rt.jar:/opt/Solaris_JRE_1.2.1_04/lib/i18n.jar:
          /opt/Solaris_JRE_1.2.1_04/classes:/var/wls/5.1/weblogic/lib/weblogic510sp4bo
          ot.jar:/var/wls/5.1/weblogic/classes/boot:/var/wls/5.1/weblogic/eval/cloudsc
          ape/lib/cloudscape.jar:/var/wls/5.1/weblogic/lib/wleorb.jar:/var/wls/5.1/web
          logic/lib/wlepool.jar:/var/wls/5.1/weblogic/lib/weblogic510sp4.jar:/var/wls/
          5.1/weblogic/license:/var/wls/5.1/weblogic/classes:/var/wls/5.1/weblogic/lib
          /weblogicaux.jar:/opt/wls-servers/gmiServer/weblogic/gmiServer/serverclasses
          :/opt/wls-servers/gmiServer/weblogic/lotusxsl.jar:/opt/wls-servers/gmiServer
          /weblogic/xerces.jar:/opt/wls-servers/gmiServer/weblogic/logging.jar::/opt/w
          ls-servers/gmiServer/weblogic/war/gmi/WEB-INF/classes:/opt/wls-servers/gmiSe
          rver/weblogic/war/gmi/_tmp_war, -d,
          /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war,
          /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.
          java])
          > at java.lang.Throwable.fillInStackTrace(Native Method)
          > at java.lang.Throwable.fillInStackTrace(Compiled Code)
          > at java.lang.Throwable.<init>(Compiled Code)
          > at java.lang.Exception.<init>(Compiled Code)
          > at java.io.IOException.<init>(Compiled Code)
          > at
          weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Compiled Code)
          > at
          weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
          > at weblogic.servlet.jsp.JspStub.compilePage(Compiled Code)
          > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
          > at
          weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:18
          7)
          > at
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
          :118)
          > at
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
          :142)
          > at
          weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
          l.java:744)
          > at
          weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
          l.java:692)
          > at
          weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
          Manager.java:251)
          > at
          weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
          > at
          weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
          > at weblogic.kernel.ExecuteThread.run(Compiled Code)
          >
          >
          >
          

Similar Messages

  • How can I use my Pages from before Mavericks?

    The new Pages has replaced my Mountain Lion purchased Pages. What a disappointment!!
    I would love to revert to the previous program.
    Maybe I can get away from the alert that some things have been changed, even on a file that I have opened in the new one many times.

    The iMac I use is at the church. I was there earlier today before I saw your message. Probably there is the older Pages there. It is gone from this mac Mini. BUMMER!!!  If I had any idea the Mavericks upgrade would wipe out a good word processor and replace it with a white elephant, I would have had some big second thoughts.
    This thing is terrible and Cuppertino has done me a big disservice in changing it for the sake of change and making it replace without any input from me.
    Thanks for your information, Illass, even though I really don't like the news you gave.

  • How can I use today's date as default value in query string filter web part in SharePoint

    I have a query string filter on my web part page. I am trying to figure out how I can set it's default value to Today? I can't find anything online...

    Hi,
    Per my understanding, you might want to set a default value to the Query String Filter Web Part.
    It would not be able to set default value to the Query String Filter Web Part with the OOTB features available.
    By default, with a Query String Filter Web Part in the current page, we can filter other web part in the same page by adding parameters and values in the address bar
    of browser.
    If setting the “Query String Parameter Name” of a Query String Filter Web Part as “t”, then we can filter the corresponding connected web part by inputting such an
    URL into the address bar:
    http://sharepoint/SitePages/Page1.aspx?t=value1
    Suppose you want to filter the list view with a value dynamically when user opens this page, as a workaround, we can generate an URL with the parameters needed when
    page loaded, then redirect user to this URL afterwards. This can be achieved using JavaScript.
    About how to redirect user to other page with an URL:
    http://www.tizag.com/javascriptT/javascriptredirect.php
    How to get today’s date using JavaScript:
    http://www.w3schools.com/js/js_dates.asp
    Best regards      
    Patrick Liang
    TechNet Community Support

  • How can i use ONE server 2012 to be DC for a domain on the WAN only.. NO LAN. and NO VPN..

    I need to run an active directory that is on a WAN (Utah). a server 2012 standard will be the DC with 60Mbps internet speed both up and downstream.
    approximately 100 clients/member systems will be all over the united states. NO VPN. only via internet. I can use SSL certificate for secure ldap.
    I need this setup to use GPO for different permissions and policies instead of manually doing those on each windows 7 or 8 professional system.
    Ideas??

    Daniel,
    I think since this will be the ONLY system that will be running as a DC providing ADDS and the Direct access server, i should follow this advice from the article you sent:
    For users who never connect directly to the Contoso intranet or through a VPN, they must use the DirectAccess
    Offline Domain Join process to initially join the appropriate domain and configure DirectAccess. When this process
    is complete, the users log on normally and have the same experience as if they were directly connected to the Contoso intranet.
    Because remember, no user will ever connect directly to the subnet where the server is. so do an offline join First and then start managing.. Only thing im worried about is: they keep saying that the direct access function has significantly improved in windows
    8. hmmmmm many systems will be using windows 7 Pro 64Bit. Some windows 8.1 Pro 64bit. should i worry?

  • How can I use back up from my old iPad  to my new one when one is iOS 8.1.3 and the new one is iOS 7.1.2. It not compatible on the screen of my new iPad

    I Had several problems with my old iPad so I have now been given a new one.i have made a back up on iCloud with my husbands iPad bit now it's telling me on the screen that there are no iCloud backups are compatible with the version of iOS 7.1.2 on this iPad my husband has iOS 8.1.3. Which I am trying to set up from.
    what do I do?
    kathryn.

    You can't restore to a backup that was taken on a device which has a higher version of iOS than on your iPad, you will have to update your iPad to 8.1.3 to be able to restore to it
    You should be able to update your iPad via Settings > General > Software Update

  • How Can I use enternet Tathering of my Ipad mini. Everytime I want to activate it, a notification pops out and it says contact carrier.

    Please help, from Jeddah Saudi Arabia

    Welcome to Apple Support Communities
    Some carriers don't let you use Internet tethering in some data plans. The iPad tells you everything you need: contact with your carrier to ask them about Internet tethering support on your device

  • How can we use this Windows Genuine page ?

    How can we use this page after the Firefox developers remove the "Enable Java" option?
    Now I've downloaded this tool to check whether the Windows Genuine or not! But kept get the error message while installing the application!

    The javascript option is NOT disabled by developers.
    *Maybe this helpful explanatory article is worth reading <br />http://kb.mozillazine.org/JavaScript_is_not_Java
    Maybe it helps if you give the links to the tool and pages you are talking about, along with a screenshot of any error messages.
    * [[How to make screenshots]]
    * [[How do I create a screenshot of my problem?]]
    Background info on what I understand you may be interested in: WGA.<br /> (WGA is renamed Windows Activation Technologies & I have also heard it mentioned Windows Genuine Article)
    * http://en.wikipedia.org/wiki/Windows_Genuine_Advantage
    * http://support.microsoft.com/kb/892130 ''" Description of Windows Genuine Advantage (WGA)"''

  • How can i use session to save properties?

    How can i use session to save properties?

    Hi,
    Session Tracking is one of the most powerful features of Servlets and JSP. Basically, the servlet engine takes care of using Cookies in the right way to preserve state across successive requests by the same user. Your servlet just needs to call a single method (getSession) and it has access to a persistent hashtable of data that's unique to the current user.
    Otherwise Visit Servlet Essentials tutorial
    http://www.novocode.com/doc/servlet-essentials/

  • How can I transfer my 'pages' from mac to I-pad and back again?

    Hi, how can I use the 'Pages' on both my desktop  and the I-Pad? I've tried using DropBox but it doesn't seem to work with Pages? Any other ideas?

    This is how it works if your iPad is connected to your Mac and you want to sync back and forth.
    Find the document in Pages on your iPad that you want to transfer to your Mac. Click on the curved arrow icon at the bottom of the window and a dialog box pops up with several options. You can choose any of these options to send the file to your Mac. The third option, the one that I use, is send to iTunes. Tap that icon, select the file type that you want to use for the document (Pages, pdf, .doc) connect your iPad to your Mac, launch iTunes, select your device on the left side of iTunes. Then select Apps in the top of the iTunes window and scroll down to the File Sharing box. Select Pages and then sync. That document will now be transferred to your Mac and you will see it on the right side the box called Pages Documents.
    To go from the Mac to the iPad, (while the ipad is connected to your Mac as described above) select Pages in the File Sharing box, then click on Add in the lower right corner of the Pages document box, select the file that you want to transfer to your iPad, tap the down arrow icon in Pages on your iPad, select Copy from iTunes, and the file name will appear. Tap on that file and it will transfer.
    Message was edited by: Demo

  • How can I use my itunes library for iphoto slideshow?

    how can I use my itunes library for iphoto slideshow?

    Here's a possible workaround:
    Create the slideshow in Iphoto and add a theme and music.
    Install Picasa  and it will include the slideshow on it's indexed list.
    Upload the slideshow to PicasaWebAlbums and send the link to anyone you wish.
    The music and theme is preserved.
    Caveat: My playback pictures appear darker than usual but that could be just lousy photography...:)
    Example:https://picasaweb.google.com/mb2180/Kona2011?authuser=0&authkey=Gv1sRgCPGWz_qPrM XKZA&feat=directlink

  • How can i use Itunes to update more than one IPad with more than one owner

    How can i use Itunes to update more than one IPad with more than one owner?  I own an IPad and my wife owns an IPad.  I want to use my system to update both IPads.  We have different Apple Accounts and different applications.  Is this possible?

    Of course, that is too easy.  I am such a bonehead.

  • How can i use RTFEditorKit for JTextField.

    hi all,
    how can i use RTFEditorKit for JTextField.
    thanks in advance
    daya

    Don't cross post. This is a Swing related question and you have already posted in the Swing forum:
    http://forum.java.sun.com/thread.jspa?threadID=619619&tstart=0

  • How can i use a second external webcam on my MacBook Air 11

    How can I use a second external webcam with my MacBook Air 11" 2011?
    Are there specific compatible webcams?
    Can both cams be use at same time?
    How would I choose which cam would be the active one, for example with FaceTime or Skype?
    Thanks for any tips.

    paolo@spring wrote: How can I use a second external webcam with my MacBook Air 11" 2011?...
    Plug it in and launch the app you will use to run it.
    paolo@spring wrote: ...Are there specific compatible webcams?...
    Yes.  In general, any current USB model (will meet the "UVC" standard) can work on any Mac running Mac OS X 10.4.8 or newer.
    More specifically:
    (1) You have a choice of many Mac-compatible USB cam.  Some examples of current compatible cams are described at  http://www.mac-compatible-web-cam.com/.
    (2) If you want a wireless cam, consider http://ecamm.com/mac/webcam/bt1/
    (3) OS X already has everything it needs for Mac-compatible cams.  I recommend that you not add any OS X software that comes with your chosen camera to your OS X Mac, at least until you have tested your new cam without adding anything.
    paolo@spring wrote:... Can both cams be use at same time?...
    Multiple cameras can be connected at one time, but asking your Mac to actually use (capture and process) more than one video stream at a time might cause processor and data bus capacity problems.  The normal method is to connect your cameras and switch between them as needed, actually using only one at a time.
    paolo@spring wrote:... How would I choose which cam would be the active one, for example with FaceTime or Skype?...
    The software you use to operate the cameras controls that.  For more info, start with the answer in this topic link.

  • How can we  use java variable in javascript code on JSP page?

    How can we use java variable in javascript code on JSP page?
    Pls help

    Think about it:
    JSP/Java is executed on the Server and produces HTML+JavaScript.
    Then that HTML+JavaScript is transfered to the client. The client now interpretes the HTML+JavaScript.
    Obviously there's no way to access a Java variable directly from JavaScript.
    What you can do, however, is write out some JavaScript that creates a JavaScript variable containing the value of your Java variable.

  • How can i use AME for the new OAF page.

    Dear all,
    I have developed a new OAF page and registered under Employee Self Service.
    How can i use AME for the approval process.
    Appreciate your ideas?
    zamora

    I will try to answer based on my experience of working with iProcurement and AME. It depends on how you want to make a call to AME , directly from OAF Page or from Workflow and your requirement. You didn't specify what you want to show the users on OAF Page and your business requirement.
    Before calling AME Engine from the OAF page or workflow, I guess you did already setup AME Transaction Type and it's Approval Groups, Conditions, Action Types and Rules. Do some testing from AME Business Analyst Test Workbench. Please note that, AME provides lot of PL/SQL API's that you have to call from your programs (java or workflow pl/sql)
    Let's look at the workflow and putting an OAF Page as notification.
    As Sameer said, you have kick-off workflow process from PR of CO and with in the workflow function, you make a call to AME Engine API's with the AME Transaction ID. This transactionId belongs to the AME Transsaction Type that you setup. Based on the rules setup, AME Engine generates list of approvers/approver and stores them AME Tables for that transactionId. Then, it sends a notification to the approver.
    In the workflow, where that notification is defined, in the message body you have to put an attribute(&XX_WF_FWK_RN) of type document/send. And this attribute will have the constant JSP:/OA_HTML/OA.jsp?OAFunc=XX_FUNC&paramId=-&DOCUMENT_ID-. This function is SSWA Jsp function that makes a web html call to your OAF Region.
    If your requirement is to just show the list of approvers on the OAF Page, you may have to call AME API diectly passing your AME TrasnactionId with other parameters. Then AME generates list of approvers and stores them in AME tables with each approver status. You can pickup those approvers using VO and show them on OAF Page.
    Hope this gives some idea.

Maybe you are looking for

  • Multi-user multi-head setup

    Purely out of curiosity, I would like to create the following setup: Computers: 1 (i.e. 1 motherboard) Physical displays: N Keyboards, mice: N Processor: >= N cores ...and have a separate tty allocated to each monitor/mouse/keyboard group such that N

  • Errors in ADF page while runtime

    hi, I am facing errors in funsion web application. While running a jspx page errors are 1) error while opening JDBC connection 2) null password given; login denied 3) unexpected exception caught: java.long.NullPointerException,msg=null Thanking you w

  • Memory leak in Tomcat 5.5

    Hi all, i am experiencing memory leaks while using tomcat 5.5 and mysql connector 3.1.7.. While running the attached code tomcat swallows up to 20 mb and doesnt return it. I close down everything but the app still leaks mem. For now it's not an issue

  • How do I add a reminder for a future date in my reminders with the os 7

    How do I add a reminder for a furure date in my reminder?  I can't find a calendar anywhere in reminder so that I can select a date and then type my reminder.

  • Displaying to a HD Big screen

    So you probably all have seen this kind of question before but here it goes, and thank you for reading. The next apple I purchase will be a Cube because... As far as I know I can do this but that is why I am asking cause I want to know for sure. Will