Error: recursive include directive

Hi,
I am trying to run iStore from my local box on jDeveloper. I am getting the below error message, anybody has ideas on how to fix it.
C:\jDeveloper\jdevhome\jdev\myhtml\OA_HTML\OAGlobal.jsp
Error: recursive include directive
I am on R12.1.1, and jDev version is 10.1.3.3.0. I installed it from patch # 6863618
Thanks.

Have you completed all the steps in these MOS docs?
How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
What Setup is Required to Create Custom JSP Pages to Run on the Ebusiness Suite 11i and R12+? [ID 884200.1]
Thanks,
Hussein

Similar Messages

  • Compile Error 1093 #include directive in List.as

    I am attempting to build a video juke box that allows the
    user to select from a scrollable list of titles for playback. I
    have a FLV skin set up and I am now trying to wire up a List
    component and get the following error at compile time - 1093:
    Syntax error.

    Hi,
    make sure you are using 32 bit Java JDK. Check that your systems variables CLASSPATH, JAVA_HOME are pointing to correct 32 bit Java JDK folder (e.g. CLASSPATH=C:\Program Files (x86)\Java\jdk1.8.0_25 and JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_25). Also make sure you have 32 bit Java JDK's "bin" folder in your system's variable PATH.

  • Jsp:include directives compilation errors

    hi,
    we have lot of <%@ include file="" %> files in out jsp page. when we trying to change this to <jsp:include page="" %>. we r getting lot of comilation errors
    The file size is increasing more than 64mb.
    Can u tell how to contain them within 64mb .
    thank you.

    The stack trace isn't very indicative of whatever problem you may be having.
    However, there is a major difference between <%@ include %> and <jsp:include />. The include directive <%@ include %> slams the content of the included resource into your JSP at compilation time, it is "static". No individual evaluation of the included resource is done, it becomes a part of the JSP that included it.
    <jsp:include /> is a dynamic include--it is evaluated at run-time. The content of the included resource is accessed and written to the output stream with the JSP is accessed. If the included content is a JSP, it is compiled and accessed as a separate servlet.
    So, it looks like your included JSPs do not qualify as valid, standalone JSPs. Typically, this is because of some dependency on variables or beans declared in the including JSP.
    Good luck.
    -brian

  • JSP include directive not working with Tomcat 5.0

    Hi.
    I'm developing a small JSF webapp under Tomcat 5.0. My idea was to use the include directive to display a navigation panel on every JSP page.
    I took the code straight from the Java Web Services Tutorial; the resulting page looks like this:
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
           version="2.0">
    <jsp:directive.page contentType="text/html;charset=iso-8859-1"/>
    <%@ include file="/jsp/panelpage_header.inc" %>
         <h:outputText value="Welcome!"/>
    <%@ include file="/jsp/panelpage_footer.inc" %>
    </jsp:root>However, when I try to load the page, a compilation error occurrs:
    org.apache.jasper.JasperException: /trias/welcome2.jsp(11,2) The content of elements must consist of well-formed character data or markup.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
    ...I checked the path to the included files, and it seems to be okay. The files themselves contain the JSF tags for the view, html-head, html-body etc. The compiler doesn't even care if the files exist or not because it aborts immediately when it reaches the first include-statement.
    Did anyone see this kind of error before?

    Ok, the solution with jsp:directive.include works,
    if header.inc and footer.inc themselves are well
    formed too. If I understood the concept right this is
    because header and footer are processed during
    request time and therefore interpreted as
    'standalone' pages.This isn't true. The include directive (<jsp:directive.include>) is run a Compile Time. The code is inserted directly into the surrounding JSP (unlike <jsp:include> which forwards the request at runtime). The finished JSP, after the include, is then processed and needs to be well-formed XML.
    >
    But: What can I do when these two files define a tag
    that should enclose my current page (for example,
    header opens a panelGrid-Tag, and footer closes it).
    For this case I thought the use of the
    @include-directive would be neccessary to combine the
    three pages during compilation. By this the resulting
    page would be well-formed although header and footer
    are not.It should be, as long as you are using <jsp:directive.include>, and the rest of the included pages are also well formed (no <% %> tags, nothing else out of place...).
    Honestly, I haven't done much work with JSP documents, so I haven't run into this problem. But I do believe everything I said is correct.
    What I would do is double check the correctness of the rest of the included pages and see if your error isn't something else.

  • Problems with symlinks and include directives

    Any files that are included with an include directive from a file that is
              contained in a directory that is reached via a soft link do not work
              (resource not found error) if the link begins with "../".
              directory structure is like this:
              docroot/protected/symlinked_dir/subdir1a/subdir2a
              docroot/protected/symlinked_dir/subdir1b/subdir2b
              if a file in subdir2a tries to include a file in subdir2b then the resource
              is not found.
              however if I copy the symlinked directory over then it works.
              to avoid touching the symlink during the include I changed the structure to:
              docroot/protected/symlinked_dir/dummydir/subdir1a/subdir2a
              docroot/protected/symlinked_dir/dummydir/subdir1b/subdir2b
              The same problem remained. However includes in the same directory and in
              child directories work just fine.
              Is this a known bug in Weblogic or a misconfiguration of the treatment of
              symlinks?
              Thanks,
              Chris Eppstein
              

    Hi, Thanks for looking at the code.
    By messing up I mean the CSS seems to break down a bit.  The navigation moves down, the sidebar moves down and across to the right and the whole page moves across to the right side of the browser and the log in form on the top of the page breaks up and there are gaps on the page where they shouldn't be.
    It only does it in Explorer.
    Thanks again for you help.
    Ben.

  • Include directive in iplanet 6.0SP1

    If I have a include directive
    <%@ page contentType="text/xml; charset=UTF-8" %>
    in jsp then it loads up fine in iplanet 6.0SP1 and shows Japanese characters.
    However when I have the same directive in some declare.jsp and include declare.jsp in another jsp file like:
    <%@ include file='/declare.jsp' %>
    then the webserver doesn't take the utf-8 encoding and doesn't process japanese characters correctly.
    Is this bug fixed in later versions of iplanet? Any help is appreciated.
    Thanks
    Ravi

    This doesn't seem to be an error. This is may be because the maximum characters they allow is 4096 and anything above it might be truncated. Check with Sun Support may be they have a better answer.

  • Dynamic file parameter with include directive

    I would like to include the file path contained in a string variable with the include directive.
    I'm trying to do the following:
    <%
    String var_fileToInclude = "inc/topnav_" + var_sectionType + ".jsp";
    include file=var_fileToInclude;
    %>
    I get the following error:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the jsp file: /news/special_reports/climate/inc/topnav_includer.jsp
    include cannot be resolved to a type
    3: String var_fileToInclude = "inc/topnav_" + var_sectionType + ".jsp";
    4: out.println( "var_fileToInclude = " + var_fileToInclude );
    5:
    6: include file=var_fileToInclude;
    7:
    8: %>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    Any help is greatly appreciated.
    -- Ryan Chapin

    hello,
    Are you able to print the file name. if you are able to print the file name properly then try to include the file as below
    <jsp:include page="<%=filevariablenema%>" flush="true" />
    I hope this will help. Let me know on the same.
    Thanks
    Suresh

  • Error "enter a numeric value"  I am not getting this error when i directly

    We are using BAPI "BAPI_ROUTING_CREATE". I am using an excel file for input. I am getting errors against Standard Values and Unit of measure of Standard Values while running the BAPI through an ABAP program.
    The errors are:
    1. enter a numeric value
    2. Enter a unit of dimension time for standard value
    I am not getting this error when i directly run BAPI_ROUTING_CREATE through SE37.
    Kindly help

    Hi, I had the same problem. Solution for me:
    OPERATION-ACTIVITY = <T>-ACTIVITY.   " activity for example "5"  ---> problem error "Enter a numeric value"
    OPERATION-ACTIVITY = <T>-ACTIVITY.   " activity for example "0005"  ---> no problem --> include leading 0
    so I chanded <t>-activity field type to N(4) and no problem...
    Bye, B.

  • Details on JSP error page include...

    I have a scenario as defined below:-
    There are two JSPs, A_page.jsp and B_page.jsp.
    They have AERROR.jsp and BERROR.jsp defined as error pages for them respectively.
    Case1:- If A_page.jsp includes B_page.jsp using include directive.
    In case there is an error, which error page will be shown, AERROR.jsp or BERROR.jsp?
    Case2:- If A_page.jsp includes B_page.jsp using JSP action.
    In case there is an error, which error page will be shown, AERROR.jsp or BERROR.jsp?
    Please clarify...
    Thanks in advance... ;-)

    call.jsp
    <%@page errorPage="first.jsp" %>
    <%=1/0%>
    first.jsp
    <%@page isErrorPage="true" %>
    <%="errorfirst"%>
    <%@include file="second.jsp" %>
    second.jsp
    <%@page isErrorPage="true" %>
    <%="errorSecond"%>
    output
    errorfirst errorSecond
    (so it will display all first and second error jsp`s)...
    its like a sub call (or) inline call in c++...
    and vice versa

  • The Include Directive (at Page Translation Time)

    Version: 5.1
              Service Pack: 6
              I am generating the following error when I attempt to manually compile a JSP
              file:
              [jspc] parsing /vobs/projects/public_html//test.jsp:
              WARNING: Failed to include file 'test.inc' in include directive of page
              /test.jsp
              I've attempted practically every permutation of full and relative path
              locations, and cannot get it to work. Weblogic's JSP documentation did not
              have much to say about this either.
              Is anyone aware of a bug in the jsp compiler that would cause such a
              problem?
              

    Really strange, I used absolute path and put it under docroot, and I didn't
              put that folder into my any of my classpaths, the wls can find it without
              any problem. I used wls5.1 and sp6, do I miss sth?
              Thanks.
              mreiche <[email protected]> wrote in message
              news:[email protected]...
              >
              > No, it's not useless to add the include directory to the classpath - due
              to a bug in WLS 5.1,
              > it looks in the classpath for include files that begin with '/'.
              >
              > He is using the absolute path. That's why WL does not find it.
              >
              > Mike.
              >
              > "Tao Zhang" <[email protected]> wrote:
              > >
              > >Anchal Jain <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> I added the directory that contains the included files to the
              > >> classpath but I still get the error below.
              > >It's useless to add such directory to the classpath. Please remove it.
              > >In order to recompile it dynamically you have to set it up in
              > >weblogic.properties file.
              > >
              > >>
              > >> WARNING: Failed to include file 'authenticate.jsp' in include
              > >> directive of page /analyze.jsp
              > >>
              > >You should inlcude all these jsps under your docroot.
              > >
              > >Make sure the relative path of include directive is right. Or you can use
              > >the absolute path and try.
              > >
              > >> Do I have to compile the included files
              > >> individually and then compile the main jsp?
              > >>
              > >> Any suggestion will be greatly appreciated.
              > >>
              > >> Anchal
              > >>
              > >>
              > >> "Greg Panzer" <[email protected]> wrote:
              > >> >The Weblogic JSP compiler is looking in the classpath for the include
              > >files.
              > >> >
              > >> >When manually compiling the JSPs, put the docroot in the CLASSPATH.
              > >> >
              > >> >Greg Panzer <[email protected]> wrote in message
              > >> >news:[email protected]...
              > >> >> Version: 5.1
              > >> >> Service Pack: 6
              > >> >>
              > >> >> I am generating the following error when I attempt to manually
              compile
              > >a
              > >> >JSP
              > >> >> file:
              > >> >>
              > >> >> [jspc] parsing /vobs/projects/public_html//test.jsp:
              > >> >> WARNING: Failed to include file 'test.inc' in include directive
              of
              > >> >page
              > >> >> /test.jsp
              > >> >>
              > >> >> I've attempted practically every permutation of full and relative
              path
              > >> >> locations, and cannot get it to work. Weblogic's JSP documentation
              did
              > >> >not
              > >> >> have much to say about this either.
              > >> >>
              > >> >> Is anyone aware of a bug in the jsp compiler that would cause such a
              > >> >> problem?
              > >> >>
              > >> >>
              > >> >>
              > >> >>
              > >> >
              > >> >
              > >>
              > >
              > >
              >
              

  • Error While including the Multisite functionality

    Error While including the Multisite functionality & trying to click on SiteAdministraion tab in BCC
    Background: We have migrated our application from ATG v9.1 to ATG v 10.0.2 and implementing Multisite on the same
    Getting this error on BCC console:
    12:55:36,893 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBPAPP_5_0_0_GA date=200910202128)] Started in 2m:44s:727ms
    12:57:24,234 ERROR [SiteAdminActivitySource] The acl for the custom workflow activity named siteadmin.manageSiteAssets is invalid. This activity will not be available.
    atg.security.InvalidPersonaException: Profile$role$siteAdminUser
    at atg.security.AccessControlListParser.setPersona(AccessControlListParser.java:239)
    at atg.security.AccessControlListParser.parseAce(AccessControlListParser.java:277)
    at atg.security.AccessControlListParser.parse(AccessControlListParser.java:193)
    Thanks in Anticipation1

    Hello Sudheer,
    Increasing the Swap space is the only thing i noticed in all SAP Notes for your problem.
    Configure more swapspace please and restart the installation.
    Regards,
    Siddhesh

  • A variable in the include directive

    Hello,
    I'm trying to store a part of the name of the file to include in a variable like this:
    <%@ include file=templatepath + "settings.jsp" %>
    but it doesn't work. Can someone tell me if there is a working way to do something similar
    Thanks,
    Store

    You can use the jsp:include tag to specify the page to include dynamically.
    <jsp:include page="templatepath + "settings.jsp" flush="true"/>You can't use the include directive to dynamically specify a page since the page is included at compile time, rather than run time.

  • XSLT recursion changed direction from JDK1.4 to JDK1.5?

    We make use of XSLT template recursion, and when we tried to test our code with JDK 1.5, the recursion "changed direction". I believe some sort of optimization is taking place that's inappropriately switching around the order or something.
    Here's a test case:
    test-data.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <rating>3</rating>test-temp.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet
        version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <xsl:template match="/">
    <html>
    <body>
    <xsl:call-template name="showRating">
    <xsl:with-param name="num" select="'1'"/>
    </xsl:call-template>
    </body>
    </html>
    </xsl:template>
    <!-- SHOW RATED STARS -->
    <xsl:template name="showRating">
       <xsl:param name="num"/>
        <xsl:if test="$num <= rating">
        <img border="0" src="yellow_star.gif" valign="absmiddle"/>
        </xsl:if>
        <xsl:if test="$num > rating">
        <img border="0" src="white_star.gif" valign="absmiddle"/>
        </xsl:if>
    <xsl:if test="$num <= '4'">
    <xsl:text>
    </xsl:text>  <!-- CRLF -->
    <xsl:call-template name="showRating">
    <xsl:with-param name="num" select="$num + 1" />
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>testxslt.java:
    import java.io.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    public class testxslt {
      public static void main(String[] args) {
        try {
          new testxslt();
        catch(Throwable t) {
          System.err.println(t + ": " + t.getMessage());
          t.printStackTrace();
      private testxslt() throws Exception {
        String stylesheet = readFile("test-temp.xml");
        String data = readFile("test-data.xml");
        String out = transform(stylesheet, data);
        System.out.println(out);
      private String readFile(String filename) throws IOException {
        StringBuffer out = new StringBuffer();
        Reader r = new FileReader(filename);
        int count;
        char buf[] = new char[1024];
        while((count = r.read(buf)) > 0)
          out.append(buf, 0, count);
        r.close();
        return out.toString();
      private String transform(String stylesheet, String data) throws Exception {
        ByteArrayOutputStream resultStream = new ByteArrayOutputStream();
        StreamResult transStreamResult = new StreamResult(resultStream);
        Source xmlData = new StreamSource(new StringReader(data));
        StreamSource styleSource = new StreamSource(new StringReader(stylesheet));
        TransformerFactory tf = TransformerFactory.newInstance();
        Templates t = tf.newTemplates(styleSource);
        Transformer trans = t.newTransformer();
        trans.transform(xmlData, transStreamResult);
        return resultStream.toString();
    }If you run it with jdk1.4, the yellow stars will (correctly) print first. If you run it with JDK 1.5, the white stars will print first.
    WTF?

    More info: I downloaded xalan from xml.apache.org, and by adding xalan.jar to the classpath, I can get JDK1.5 to output the stars in the right order. So this appears to be some issue having directly to do with the XSLTC transformer.

  • JSP:Include directive - can I access data?

    Hi,
    I am using the 'include' directive (either jsp:include method or <%@ include.... /> ) to include another jsp page.
    I want the included file to access variables that have been set up in the main page (the one with the include directive in it). I've tried several things, including setting up a Bean class, but nothing seems to work
    Is this possible? I really appreciate any help with this.
    Thanks.

    You cannot use <%@ include ..%> because that is resolved at translation time. <jsp:include /> is resolved dynamically and should give you what you need. In the main page, store references to the bean or other data as request attributes and then retrieve them in the included page.

  • Compiler Include Directive

    Is there an equivalent to the include directive? I don't mean the import statement, I mean the include directive such as available in many other languages that will place the contents of a file inline with the java source.
    Basically, just like the JSP include. I have a program of about 100 servlets and parts of the code is exactly the same in every servlet.
    The code is too small to create a seperate class and call it from every servlet and I'd consider it needless overhead.
    I've gotten most of the functionality by creating an interface and implementing and using final variables but I have blocks of code that I want inserted inline at different places within some methods. final is okay for variables but I need to insert lines of code, which final won't work for.
    Thanks,
    Bob

    Why not just have all the servlets be subclasses of some servlet class that includes that common code as a method?

Maybe you are looking for

  • Hp photosmart c4795 problem

     Printer no longer connects/prints with new at&t dsl modem (which uses WPA instead of WEP)

  • Sort in Alphabetical order

    Hi everyone, I am new for Forum. I have an doubt. How can we sort a list of text in alphabetical order in Indesign. Actually in TOC there is an option but it is not correct like word or Excel. Any other good option.

  • Change in Sales Order/Service Order is updating customer master data

    Hello Experts, Here is the change happening in CUSTOMER MASTER RECORD for very few number of cases. This we are not able to replicate, since not able to find out, in which cases it is happening. Scenario: When the user tries to change address in cust

  • RTMT error: not collecting session traces

    Hi, I have a problem with RTMT that complicate my troubleshooting of calls since some weeks. When I open or try to generate a session trace of calls, the RTMT dont show any call output, only the following messages: Before this happen the session trac

  • External hard drive VS. wireless Time Capsule

    Are there any benefits of plugging in an external drive to my mac VS. using Time Capsule for backups? I'm guessing speed? Anything else? Thanks.