Precompile Problem

Hey All,
          I am working with WL 6.0 and I am trying to get my JSPs to precompile when I
          restart. I looked in the Docs and read that I needed to make a Weblogic.xml
          file and set some of the Jsp operating parameters. I did this and was
          successfully able to change ALL of the parameters EXCEPT for the precompile
          parameter.
          After looking more carefully I noticed that there are 7 "Operating
          Paramters" (Deatiled in the Administering WebLogic JSP Doc) and there are 8
          JSP "Deployment Descriptors" (Detailed in the weblogic.xml Deployment
          Descriptor Elements Doc). The only thing that is missing is the "precompile"
          parameter.
          Please tell me, is there something that I am missing?
          Here is my weblogic.xml file:
          <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application
          6.0//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
          <weblogic-web-app>
          <description>WebLogic Descriptor</description>
          <jsp-descriptor>
          <jsp-param>
          <param-name> precompile </param-name>
          <param-value> true </param-value>
          </jsp-param>
          <jsp-param>
          <param-name> pageCheckSeconds </param-name>
          <param-value> -1 </param-value>
          </jsp-param>
          <jsp-param>
          <param-name> keepgenerated </param-name>
          <param-value> true </param-value>
          </jsp-param>
          </jsp-descriptor>
          </weblogic-web-app>
          And here is the output when I load up the application in question:
          <Feb 27, 2001 1:16:04 PM GMT-05:00> <Info> <HTTP>
          <[WebAppServletContext(6328558,ppsaAPP)] registering JSPServlet with
          initArgs '[JspConfig:
          verbose=true,packagePrefix=jsp_servlet,compileCommand=javac,workingDir=/opt/
          local/bea_home/wlserver6.0/./config/mydomain/applications/.wl_temp_do_not_de
          lete/WEB-INF/_tmp_war_myserver_myserver_ppsaAPP,pageCheckSeconds=-1,
          superclass=null, keepgenerated=true, encoding=null,
          defaultfilename=index.jsp]'>
          Note that there is no "precompile" parameter...
          Thanks for all your help ,
          Rana
          

Hey All,
          I am working with WL 6.0 and I am trying to get my JSPs to precompile when I
          restart. I looked in the Docs and read that I needed to make a Weblogic.xml
          file and set some of the Jsp operating parameters. I did this and was
          successfully able to change ALL of the parameters EXCEPT for the precompile
          parameter.
          After looking more carefully I noticed that there are 7 "Operating
          Paramters" (Deatiled in the Administering WebLogic JSP Doc) and there are 8
          JSP "Deployment Descriptors" (Detailed in the weblogic.xml Deployment
          Descriptor Elements Doc). The only thing that is missing is the "precompile"
          parameter.
          Please tell me, is there something that I am missing?
          Here is my weblogic.xml file:
          <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application
          6.0//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
          <weblogic-web-app>
          <description>WebLogic Descriptor</description>
          <jsp-descriptor>
          <jsp-param>
          <param-name> precompile </param-name>
          <param-value> true </param-value>
          </jsp-param>
          <jsp-param>
          <param-name> pageCheckSeconds </param-name>
          <param-value> -1 </param-value>
          </jsp-param>
          <jsp-param>
          <param-name> keepgenerated </param-name>
          <param-value> true </param-value>
          </jsp-param>
          </jsp-descriptor>
          </weblogic-web-app>
          And here is the output when I load up the application in question:
          <Feb 27, 2001 1:16:04 PM GMT-05:00> <Info> <HTTP>
          <[WebAppServletContext(6328558,ppsaAPP)] registering JSPServlet with
          initArgs '[JspConfig:
          verbose=true,packagePrefix=jsp_servlet,compileCommand=javac,workingDir=/opt/
          local/bea_home/wlserver6.0/./config/mydomain/applications/.wl_temp_do_not_de
          lete/WEB-INF/_tmp_war_myserver_myserver_ppsaAPP,pageCheckSeconds=-1,
          superclass=null, keepgenerated=true, encoding=null,
          defaultfilename=index.jsp]'>
          Note that there is no "precompile" parameter...
          Thanks for all your help ,
          Rana
          

Similar Messages

  • Jsp precompile problem

    hi to you all (using WLS 6.1 sp1, win2000)
              until today I didn't use the prcompile flag in weblogic.xml and my jsps have
              been complied on access -> no problems whatsoever. today I wanted to try the
              precompile option and after having added this flag -BANG- no deploying
              possible anymore. this is ther log snipplet:
              <snip>
              ####<22.11.2001 14:10:35 CET> <Info> <HTTP> <ws-vep> <myserver> <Application
              Manager Thread> <> <> <101047>
              <[WebAppServletContext(51375,cyberibisng,/cyberibisng)] checking
              html/accountoverview.jsp:>
              ####<22.11.2001 14:10:36 CET> <Debug> <HTTP> <ws-vep> <myserver>
              <Application Manager Thread> <> <> <101158> <Exception thrown while loading
              cyberibisng: weblogic.servlet.jsp.JspException: (line 7): Could not parse
              deployment descriptor: java.io.IOException: cannot resolve 'webwork' into a
              valid tag library>
              weblogic.servlet.jsp.JspException: (line 7): Could not parse deployment
              descriptor: java.io.IOException: cannot resolve 'webwork' into a valid tag
              library
              </snip>
              and it happens because of this taglib definition:
              <%@ taglib uri="webwork" prefix="webwork" %>
              why is this happening and doesn't happen when I don't let it precompile??
              many thanks in advance!
              -paolo
              

    hi to you all (using WLS 6.1 sp1, win2000)
              until today I didn't use the prcompile flag in weblogic.xml and my jsps have
              been complied on access -> no problems whatsoever. today I wanted to try the
              precompile option and after having added this flag -BANG- no deploying
              possible anymore. this is ther log snipplet:
              <snip>
              ####<22.11.2001 14:10:35 CET> <Info> <HTTP> <ws-vep> <myserver> <Application
              Manager Thread> <> <> <101047>
              <[WebAppServletContext(51375,cyberibisng,/cyberibisng)] checking
              html/accountoverview.jsp:>
              ####<22.11.2001 14:10:36 CET> <Debug> <HTTP> <ws-vep> <myserver>
              <Application Manager Thread> <> <> <101158> <Exception thrown while loading
              cyberibisng: weblogic.servlet.jsp.JspException: (line 7): Could not parse
              deployment descriptor: java.io.IOException: cannot resolve 'webwork' into a
              valid tag library>
              weblogic.servlet.jsp.JspException: (line 7): Could not parse deployment
              descriptor: java.io.IOException: cannot resolve 'webwork' into a valid tag
              library
              </snip>
              and it happens because of this taglib definition:
              <%@ taglib uri="webwork" prefix="webwork" %>
              why is this happening and doesn't happen when I don't let it precompile??
              many thanks in advance!
              -paolo
              

  • Problem with Pro*C Precompiler in 10gR2

    To test whether my pro*c precompiler was working, I copied a sample program and tried running it through the precompiler. I am running Fedora 6 on Linux X86-64
    This was what I got.
    proc iname=sample1.pc ltype=long
    Pro*C/C++: Release 10.2.0.1.0 - Production on Sat Aug 18 01:53:49 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from: /u01/app/oracle/product/10.2.0/db_1/precomp/admin/pcscfg.cfg
    Syntax error at line 72, column 26, file /usr/include/gconv.h:
    Error at line 72, column 26 in file /usr/include/gconv.h
    unsigned char **, size_t *, int, int);
    .........................1
    PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
    ... auto, char, const, double, enum, float, int, long,
    ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    union, unsigned, utext, uvarchar, varchar, void, volatile,
    a typedef name, exec oracle, exec oracle begin, exec,
    exec sql, exec sql begin, exec sql type, exec sql var,
    The symbol "enum," was substituted for "size_t" to continue.
    Syntax error at line 88, column 7, file /usr/include/gconv.h:
    Error at line 88, column 7 in file /usr/include/gconv.h
    size_t *);
    ......1
    PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
    ... auto, char, const, double, enum, float, int, long,
    ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    union, unsigned, utext, uvarchar, varchar, void, volatile,
    a typedef name, exec oracle, exec oracle begin, exec,
    exec sql, exec sql begin, exec sql type, exec sql var,
    The symbol "enum," was substituted for "size_t" to continue.
    Syntax error at line 97, column 6, file /usr/include/gconv.h:
    Error at line 97, column 6 in file /usr/include/gconv.h
    size_t *);
    .....1
    PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
    ... auto, char, const, double, enum, float, int, long,
    ulong_varchar, OCIBFileLocator OCIBlobLocator,
    OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
    OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
    short, signed, sql_context, sql_cursor, static, struct,
    union, unsigned, utext, uvarchar, varchar, void, volatile,
    a typedef name, exec oracle, exec oracle begin, exec,
    exec sql, exec sql begin, exec sql type, exec sql var,
    The symbol "enum," was substituted for "size_t" to continue.
    Syntax error at line 106, column 3, file /usr/include/gconv.h:
    Error at line 106, column 3 in file /usr/include/gconv.h
    __gconv_trans_fct __trans_fct;
    ..1
    PCC-S-02201, Encountered the symbol "__gconv_trans_fct" when expecting one of th
    e following:
    char, const, double, enum, float, int, long, ulong_varchar,
    OCIBFileLocator OCIBlobLocator, OCIClobLocator, OCIDateTime,
    OCIExtProcContext, OCIInterval, OCIRowid, OCIDate, OCINumber,
    OCIRaw, OCIString, short, signed, sql_context, sql_cursor,
    struct, union, unsigned, utext, uvarchar, varchar, void,
    volatile, a typedef name,
    Syntax error at line 0, column 0, file sample1.pc:
    Error at line 0, column 0 in file sample1.pc
    PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:
    ; : an identifier, end-exec, random_terminal
    Error at line 0, column 0 in file sample1.pc
    PCC-F-02102, Fatal error while doing C preprocessing
    This is what I have in pcsfg.cfg
    sys_include=(/build/s630/precomp/public,/usr/include,/opt/gcc33/lib64/gcc-lib/x86_64-suse-linux/3.3/include,/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/include,/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/include,/usr/include/linux,/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include)
    ltype=short
    define=__x86_64__
    include=(/u01/app/oracle/product/10.2.0/db_1/precomp/public)
    include=/u01/app/oracle/product/10.2.0/db_1/precomp/hdrs
    I would be very grateful for any help.
    Thanks

    Thanks very much for your help. With code=CPP the size_t error disappears. But will that produce Pro C code in C format ?
    I ran into another problem.
    [oracle@Falcon source]$ proc iname=sample1.pc ltype=long code=CPP
    Pro*C/C++: Release 10.2.0.1.0 - Production on Sun Aug 19 08:33:31 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from: /u01/app/oracle/product/10.2.0/db_1/precomp/admin/pcscfg.cfg
    Semantic error at line 19, column 22, file sample1.pc:
    EXEC SQL CONNECT :userid;
    .....................1
    PCC-S-02322, found undefined identifier
    Semantic error at line 25, column 23, file sample1.pc:
    WHERE deptno = :dept_number;
    ......................1
    PCC-S-02322, found undefined identifier
    Semantic error at line 38, column 39, file sample1.pc:
    EXEC SQL FETCH emp_cursor INTO :emp_name;
    ......................................1
    PCC-S-02322, found undefined identifier
    [oracle@Falcon source]$ vi sample1.pc
    Where this is the code.
    [oracle@Falcon source]$ cat sample1.pc
    #include <stdio.h>
    /* declare host variables */
    char userid[18] = "PRODUSER/PRODUSER";
    char emp_name[10];
    int emp_number;
    int dept_number;
    char temp[32];
    void sql_error();
    /* include the SQL Communications Area */
    #include <sqlca.h>
    main()
    { emp_number = 7499;
    /* handle errors */
    EXEC SQL WHENEVER SQLERROR do sql_error("Oracle error");
    /* connect to Oracle */
    EXEC SQL CONNECT :userid;
    printf("Connected.\n");
    /* declare a cursor */
    EXEC SQL DECLARE emp_cursor CURSOR FOR
    SELECT ename
    FROM emp
    WHERE deptno = :dept_number;
    printf("Department number? ");
    gets(temp);
    dept_number = atoi(temp);
    /* open the cursor and identify the active set */
    EXEC SQL OPEN emp_cursor;
    printf("Employee Name\n");
    printf("-------------\n");
    /* fetch and process data in a loop
    exit when no more data */
    EXEC SQL WHENEVER NOT FOUND DO break;
    while (1)
    EXEC SQL FETCH emp_cursor INTO :emp_name;
    printf("%s\n", emp_name);
    EXEC SQL CLOSE emp_cursor;
    EXEC SQL COMMIT WORK RELEASE;
    exit(0);
    void sql_error(msg)
    char *msg;
    char buf[500];
    int buflen, msglen;
    EXEC SQL WHENEVER SQLERROR CONTINUE;
    EXEC SQL ROLLBACK WORK RELEASE;
    buflen = sizeof (buf);
    sqlglm(buf, &buflen, &msglen);
    printf("%s\n", msg);
    printf("%*.s\n", msglen, buf);
    exit(1);
    Why won't it recognize userid ? And that is a valid login/password.

  • Precompiled JSP Compatibility Problem

    I am a developer in the Cross Applications Unlimited group. We are experiencing a problem with precompiled jsps in a ADF web application that we have developed. Any help that you can provide with this problem would be much appreciated. Neither Oracle forums nor the internet have yielded any leads to us so far. Here are the specifics of our problem.
    In our application, we precompile our JSPs when the EAR is built. The application was initially developed in JDeveloper 10.1.3.2 and worked without problems when deployed to OAS 10.1.3.2. However, our application server MTR recently shifted to OAS 10.1.3.3. We migrated our workspace and projects to JDeveloper 10.1.3.3 and rebuilt our EAR file in JDeveloper 10.1.3.3. We are getting "500 Internal Server Errors" when this new ear file is deployed to OAS 10.1.3.3. The error does not always manifest when running the application. We can login and navigate to JSPs linked directly from our navigation menu (our first level pages). However, in these first level pages are buttons that navigate to second level pages. The error is being seen whenever we try to access one of these second level pages. Everything else about the application works fine. When we don't precompile our JSPs and deploy, the application works fine.
    This is the error we find reported in our application logs...
    EWCoreViewController: Servlet error
    javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null
    at com.sun.faces.el.PropertyResolverImpl.isReadOnly(PropertyResolverImpl.java:274)
    at oracle.adfinternal.view.faces.model.FacesPropertyResolver.isReadOnly(FacesPropertyResolver.java:124)
    at com.sun.faces.el.impl.ArraySuffix.isReadOnly(ArraySuffix.java:236)
    at com.sun.faces.el.impl.ComplexValue.isReadOnly(ComplexValue.java:209)
    at com.sun.faces.el.ValueBindingImpl.isReadOnly(ValueBindingImpl.java:266)
    Enabling enhanced java logging yields these logs...
    <record>
    <date>2008-04-09T11:27:25</date>
    <millis>1207762045495</millis>
    <sequence>258943</sequence>
    <logger>com.sun.faces.application.ViewHandlerImpl</logger>
    <level>FINE</level>
    <class>com.sun.faces.application.ViewHandlerImpl</class>
    <method>renderView</method>
    <thread>14</thread>
    <message>Found no URL patterns mapping to FacesServlet </message>
    </record>
    <record>
    <date>2008-04-09T11:27:25</date>
    <millis>1207762045495</millis>
    <sequence>258944</sequence>
    <logger>com.sun.faces.taglib.jsf_core.ViewTag</logger>
    <level>FINE</level>
    <class>com.sun.faces.taglib.jsf_core.ViewTag</class>
    <method>doStartTag</method>
    <thread>14</thread>
    <message>Can't leverage base class</message>
    <exception>
    <message>java.lang.IllegalStateException</message>
    <frame>
    <class>com.sun.faces.taglib.jsf_core.ViewTag</class>
    <method>getComponentType</method>
    <line>253</line>
    </frame>
    Any information anyone can provide would be greatly appreciated.
    Thanks

    Hi Ian,
    Add this jar file to classpath...use either web interface or directly edit jvm12.conf to modify classpath..
    Raj

  • URGENT: problem with variable-declaration while precompiling

              Hi,
              i got a problem while precompiling my webapplication.
              i got some jsp-pages, each containing following code
              <%@ include file="/header.jsp" %>
              <% button = true; %>
              [...some code...]
              <%@ include file="/footer.jsp" %>
              The variable 'button' is defined in header.jsp and
              evaluated in footer.jsp. When i run through my application without precompiling
              it, there appear NO errors, but when i try to precompile my pages, the jsp-compiler
              reports an error in footer.jsp, because in footer.jsp is the 'button'-Variable
              used, but not defined and not included (because all other pages include footer.jsp)
              How can I tell the jsp-Compiler not to check for variable declarations, or what
              else can i do to work around this problem ?
              thanks,
              Dirk Bade
              

    Thanks for the sample. Changed it to look this way. Still getting the error message from above. Any clue?
    [ BTW: you can see the auto-fixits that Netbeans used to resolve the exception thrown errors from earlier.  Ugly ... I used Netbeans for the ease of interface generation, but I am spending a lot time chasing down little stuff like this. ]
    public class DesktopApplication1View extends FrameView {
        public DesktopApplication1View(SingleFrameApplication app) throws PortInUseException, UnsupportedCommOperationException, IOException, NoSuchPortException {
            super(app);
          initComponents();  //interface code follows this until the variables below ...
            String      defaultPort = "/dev/ttyS0";
            String      portName;
            ByteBuffer  asciiBytes = null;
            CommPort    commPort = null;
            byte[] h = new byte[asciiBytes.capacity()];
            asciiBytes.get(h, 0, h.length);
            CommPortIdentifier portIdentifier = CommPortIdentifier.getPortIdentifier(defaultPort);
                System.out.println("Default port" + defaultPort + "found.");
            if ( portIdentifier.isCurrentlyOwned() )
                System.out.println("Error: Port is currently in use");
            try {
                 commPort = portIdentifier.open(this.getClass().getName(), 200);
            } catch (NoSuchPortException e) {
            System.out.println("Whoops! Cannot identify the port.");
            }

  • Precompile JSPS problem

              When jsps are precompiled using weblogic server and during deployment it is giving
              java.lang.NullPointerException .
              I am precompiling jsps in this way (in web.xml)
              <context-param>
              <param-name>weblogic.jsp.precompile</param-name>
              <param-value>true</param-value>
              </context-param>
              I am deploying an ear in which i have an war.
              Please let me know if u have some info
              SubbaRao
              

              Hi Subba Rao,
              This problem will be resolved after installing rolling patch 2.
              So, Please install RP2.
              regards
              Sanjeev
              "SubbaRao Mandavilli" <[email protected]> wrote:
              >
              >When jsps are precompiled using weblogic server and during deployment
              >it is giving
              >java.lang.NullPointerException .
              >
              >I am precompiling jsps in this way (in web.xml)
              ><context-param>
              > <param-name>weblogic.jsp.precompile</param-name>
              > <param-value>true</param-value>
              > </context-param>
              >
              >I am deploying an ear in which i have an war.
              >
              >Please let me know if u have some info
              >
              >SubbaRao
              >
              

  • Problem:Oracle Pro*c Precompiler on Linux

    Hi,
    PLEASE HELP!!!!
    Regards
    Bhagat Singh
    Before discussing all these issue I want to inform u that this code is running code in sun solaris means it compiles cleanly and runs without flaws or error and results are to the mark.
    But in linux first of all it does not compiles if it compiles then it does not produce the right/desired results .
    1.ora erro 1008
    2.ora errno 1438
    3.ora errno 1403
    Information is there in database but update is not working and returning code 1403
    if it is working then also the message is "no data found".
    Pl/Sql block is being used in the Pro*c code so we have made SQLCHECK = SEMANTICS then also it is not working.
    When we use math.h then also it does not compiles at all and falters out.
    When I update the database it does not updates may there be relevant information present in the database, but if i do select count(*) into :variable from the same table then it updates else it fails to do so they all are peculiar issues.
    Some times it says parent record not found in the master whereas it very exists over there.
    Some times core dump if I define two dimensional char pointer array of 10000 size it results in core dump
    say char_ptr[300][10000] .
    Some functions in the program return char pointer there also it is giving and error where and I am collecting the information from the return variable through string copying and it is having clear cut definition in header files for the return type of that function this is working very well in sun but I fail to understand about linux.
    operating systems details
    =====================
    Linux Details
    ===========
    Linux=Red Hat Release 6.2 (Zoot), Kernel 2.2.14-12 on an i686
    Oracle 8 i=Release 2 Version 8.1.6
    Proc Compiler= Release 8.1.6.0.0
    Sun Details
    ==========
    SunOS blrgps 5.6 Generic sun4u sparc SUNW,Ultra-1
    Oracle 8=Release 8.0.3.0.0
    Proc Compiler= Release 8.0.3.0.0
    .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=.:$PATH:$HOME/bin:/opt/oracle/OraHome1/bin:/usr/bin:/bin:/usr/local/bin:/opt/oracle/OraHome1/bin:/usr/sbin
    :/opt/oracle/OraHome1/precomp/lib:/usr/include:/usr/lib
    BASH_ENV=$HOME/.bashrc
    USERNAME=""
    ORACLE_HOME=/opt/oracle/OraHome1
    ORACLE_SID=telecom
    ORACLE_OWNER=oracle
    EPC_DISABLED=TRUE
    LD_LIBRARY_PATH=/opt/oracle/OraHome1/lib
    export USERNAME BASH_ENV PATH ORACLE_HOME ORACLE_SID ORACLE_OWNER LD_LIBRARY_PATH
    NLS_LANG=american; export NLS_LANG
    null

    I have very similar problems, all of which I have been able to work around, except for the very serious defect where the executed code returns bizarre errors like no data found for a query like:
    EXEC SQL SELECT sum(X) INTO :var FROM table;
    These same programs were working just fine under Oracle 8.0.5 on Solaris/Intel 2.6 w/ gcc 2.7.2p.
    My configuration is RedHat 6.2 / Kernel 2.2.14-6.1.1smp / gcc egcs-2.91.66 (release 1.1.2) / glibc 2.1.3-15
    Note: Pro*C 8.1.6 for Linux does come with some alternate system header files in $ORACLE_HOME/proc/syshdr. This should fix your math.h problem if you place that directory early in your include path.

  • Problem with getting bulk output in 2D char array in precompiler program

    In a ANSI dynamic SQL precompiler (Pro*C) program how do I obtain the bulk output of a column of string type (varchar or char) in a host variable array.
    I do not want to use reference semantics, instead want to use get descriptor directive. Is it possible to use 2 dimensional character array for getting the output?
    I am dynamically allocating memory for the host arrays.

    Consider asking this in the forum for C and C++ (OCI and OCCI).

  • Precompile Pro*C problem on Linux

    Hi All,
    I am new with Linux and Proc. Same code working for HP-Risk and HP-Itanium But It is giving Error On Linux.
    I am compiling files with this sequence PPC->PC->C and getting error.
    /opt/intel/compiler/bin/intel64/icc -EP -D_XOPEN_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE_EXTENDED -ansi -DCPF_HAS_INLINES -DCPF_DEBUG -pthread -D__linux__ -fPIC -ansi -D__ACE_INLINE__ -DXERCES_2 -g -D_USE_GMP -DUNIX -DRWSTD_MULTI_THREAD -D_RWSTD_MULTI_THREAD -DRW_MULTI_THREAD -D_REENTRANT -D_THREAD_SAFE -DNO_LIANT -DXERCES_2 -DACE_HAS_THREADS -D__64BIT__ -E -ansi -DCSIV03 -I/devjuser1/jp/ccjp/ajayrajs/bb/upeodl/v08/ac/inc -I/devjuser1/jp/ccjp/ajayrajs/bb/upeodl/v08/shr -I/devjuser1/jp/ccjp/ajayrajs/bb/upeodl/v08/pub -I/devjuser1/jp/ccjp/ajayrajs/proj/RBMSOv5/cnt -I/devjuser1/jp/ccjp/ajayrajs/proj/RBMSOv5/upeodl -I/devjuser1/jp/ccjp/ajayrajs/bb/infgn/v07/pub -I/devjuser1/jp/ccjp/ajayrajs/bb/csi/v03/pub -I/devjuser1/jp/ccjp/ajayrajs/bb/net/v06/pub -I/devjuser1/jp/ccjp/ajayrajs/bb/inftl/v07/pub -I/devjuser1/jp/ccjp/ajayrajs/proj/rbmsov5/cnt -I/oravl01/oracle/11.1.0.7/lib -I/oravl01/oracle/11.1.0.7/precomp/public -I/devjuser1/jp/ccjp/ajayrajs/proj/RBMSOv5/upegdd /devjuser1/jp/ccjp/ajayrajs/bb/upeodl/v08/ac/src/AC_MvsPrefName.ppc | ccrepquot QUOT > AC_MvsPrefName.pc
    /oravl01/oracle/11.1.0.7/bin/proc code=ansi ireclen=4096 oreclen=4096 select_error=yes maxopencursors=50 include=/devjuser1/jp/ccjp/ajayrajs/bb/upeodl/v08/ac/inc include=/devjuser1/jp/ccjp/ajayrajs/bb/upeodl/v08/shr include=/devjuser1/jp/ccjp/ajayrajs/bb/upeodl/v08/pub include=/devjuser1/jp/ccjp/ajayrajs/proj/RBMSOv5/cnt include=/devjuser1/jp/ccjp/ajayrajs/proj/rbmsov5/cnt include=/devjuser1/jp/ccjp/ajayrajs/bb/infgn/v07/pub CODE=ANSI_C iname=AC_MvsPrefName.pc oname=AC_MvsPrefName.c
    Pro*C/C++: Release 11.1.0.7.0 - Production on Mon Aug 16 09:15:52 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    System default option values taken from: /oravl01/oracle/11.1.0.7/precomp/admin/pcscfg.cfg
    Syntax error at line 505, column 39, file AC_MvsPrefName.pc:
    Error at line 505, column 39 in file AC_MvsPrefName.pc
    extern void memcpy (void __restrict __dest,
    ......................................1
    PCC-S-02201, Encountered the symbol "__dest" when expecting one of the following
    Syntax error at line 0, column 0, file AC_MvsPrefName.pc:
    Error at line 0, column 0 in file AC_MvsPrefName.pc
    PCC-S-02201, Encountered the symbol "<eof>" when expecting one of the following:
    ; : an identifier, end-exec, random_terminal
    Error at line 0, column 0 in file AC_MvsPrefName.pc
    PCC-F-02102, Fatal error while doing C preprocessing
    Thanks In Advance For Help

    I suggest you try google searching for "PCC-S-02201, Encountered" - it will find quite a bunch of info. The problem could be related to the installed gcc version and library in Linux, but apparently there are platform specific instructions in the Proc C manual.
    There is also a special forum to cover this product:
    C++ Call Interface (OCCI)
    Edited by: Markus Waldorf on Oct 4, 2010 5:37 AM

  • Problems with Precompiler "proc"

    I'am using oracle 8.1.7 proc zu precompile embedded sql. I get the following error message when I try to procompile these sql-statement:
    EXEC SQL SELECT ( CASE WHEN BEGINN_DT > HAFT_BEGINN THEN HAFT_BEGINN ELSE BEGINN_DT END) FROM VABR_VTR_VA_SPA;
    "PCC-S-02201, Fand das Symbol "WHEN" als eines der folgenden erwartet wurde:
    ( ) * + - / . @ | at, day, hour, minute, month, second, year,"
    When I use the same statement e.g. in sqlplus it works.
    Is there something wrong with the proc precompiler ?

    This forum is meant for discussions about OTN content/site and services.
    Questions about Oracle products and technologies will NOT be answered in this forum. Please post your product or technology related questions in the appropriate product or technology forums, which are monitored by Oracle product managers.
    Product forums:
    http://forums.oracle.com/forums/index.jsp?cat=9
    Technology forums:
    http://forums.oracle.com/forums/index.jsp?cat=10

  • Problems purging tb_job_instance

    Hi!
    I have a Rights Management installation running on JBoss on Windows 2003 with MySQL. My problem is now that the tb_job_instance table has grown to 80 GB and is growing fast. I am only using short running processes, but are using a lot of watched folders for applying and switching policies on documents.
    I have done a lot of research, but the only solution i have found is to create a JobInstanceCleaner.jar and install to Workflow Designer to create a cleaner job.
    The trouble is i am not a java developer, and having a hard time getting it to work. I have tried to use the solution from this document: http://www.coldfusion.se/content/dam/Adobe/en/devnet/livecycle/pdfs/purging_processes_jobs .pdf, but keep getting the error:
    "cannot find symbol UMLocalUtils"
    And i cannot find any information from others who has tried this.
    A couple of questions:
    1. Is it possible to download this component precompiled and ready to install and use?
    2. Can i delete directly from the tb_job_instance table, or will this cause hawoc on my LC RM installation?
    3. Are there any other way to clean the tb_job_instance table?
    4. Any ideas why this table is growing so huge? Is it my watchfolder jobs that is causing this?
    This has become a major problem, and i'm starting to run out of space to allocate to the server. I HIGHLY appreciate if anyone could
    help me how to solve this:-)
    Regards
    Stian

    The referenced link which you are following uses the Purge tool provided with the LiveCycle SDK.
    There is another way to do this with the Process Manager API.
    Look at the following WSDL (change localhost)
    http://localhost:8080/soap/services/ProcessManager?WSDL
    Using the above web service, you can purge processes/job instances.
    I have tried purging process and its working greatly.
    Nith

  • Pro C/C++ Problem on Mandrake 7.2

    I am trying to compile a C++ program using proc on Linux and everything works fine until when I actually try to compile the output source from proc using g++. The problem is that there is a function
    sqlcxt(void **, unsigned int *, sqlexd *, const sqlcxp *) that is called with the variable 'static const unsigned int sqlctx = 1;'
    Both of these are generated by the precompiler and when I try to compile it using g++, I get an error saying passing `const unsigned int *' as argument 2 of `sqlcxt() disgards qualifiers.
    What I have to do to get around this is to edit the output source manually and change the variable declaration to 'static unsigned int sqlctx = 1;'
    Does anyone know how to fix this??
    Thanks a lot!
    null

    This problem is easy to resolve but after you resolve it you will find another more borning problem. The compiler will tell you "undefined function sqlcxt".
    You can use (unsigned int *)&sqlctx to instead of &sqlctx to resolve the first problem.

  • Problem with include and relative path in jsp

    Precompile jsp with wlappc in 9.2, I got the error "The include file was not found" when the jsp use <%@ include file="../includes/dataEntry/code_error.html" %>
              This code used to work with 8.1. I notice that someone has report the same problem with 9.0 and you have patch for it. Is it fix in 9.2 or do I require a patch as well?
              Thanks,
              Khuemy

    When you precompile, can you say "Keepgenerated=TRUE". It might help you track
              down the difference with the URL. You should only get a 404 error when the
              resource is not found at runtime, which is independant of when you compile. The
              difference should be in how the URL is compiled.
              Chris
              ali wrote:
              > I am using WLS 6.0 SP1, when I use relative path in <jsp:forward> in my JSPs
              > it forwards ok if I am using directly JSPs but if I am using pre-compiled
              > JSPs (and have proper servlet-mappings
              > in my web.xml), I get 404 error with the relative-path, if I change it to
              > absolute path with pre-compiled JSPs it forwards ok , then.
              > any ideas why this is so?
              > thanks,
              

  • Web-application deployment problem (404 - File not found)

    Hello
    Does anyone have had the same problems like me on deploying java web-applications on iPlanet WS 6.0?
    I started with the HelloWorld.war example that came with the server and went through the manual but no luck so far. Heres what I did:
    0. Checked that webapps are enabled in the servler.xml file
    1. Created a directory /opt/webapps and /opt/webapps/hello with sufficient permissions
    2. Copied the HelloWorld.war example to /opt/webapps
    3. Deployed the excample on my test-server using the webinterface.
    Heres the content of the web-apps.xml file of my testserver after step 3:
    [DTD here]
    <vs>
    <jsp-servlet enable="true">
    <init-param>
    <param-name>use-precompiled</param-name>
    <param-value>true</param-value>
    </init-param>
    </jsp-servlet>
    <web-app uri="/hello" dir="/opt/webapps/hello" enable="true"/>
    </vs>
    All files have been extracted to /opt/webapps/hello properly. The server has been restarted.
    When I finally point my browser to http://server/hello or hello/index.jsp I get only a 404 - File not found message by the server. The context path seems to be totaly ignored.
    Heres the error log of the server
    [17/Feb/2003:16:17:38] info (12040): successful server startup
    [17/Feb/2003:16:17:38] info (12040): iPlanet-WebServer-Enterprise/6.0SP2 B11/13/2001 00:49
    [17/Feb/2003:16:17:39] info (12041): Installing a new configuration
    [17/Feb/2003:16:17:39] info (12041): [LS ls1] http://XXX.XXX.XXX.XX, port 1080 ready to accept requests
    [17/Feb/2003:16:17:39] info (12041): A new configuration was successfully installed
    [17/Feb/2003:16:17:40] info (12041): Using the Solaris VM v1.2.2 from Sun Microsystems Inc.
    [17/Feb/2003:16:17:40] info (12041): Java VM classpath: /www/ns-home6sp2/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/opt/jdk1.2.2/lib/tools.jar:/www/ns-home6sp2/bin/https/jar/NSServletLayer.jar:/www/ns-home6sp2/bin/https/jar/NSJavaUtil.jar:/www/ns-home6sp2/bin/https/jar/NSJavaMiscUtil.jar:/www/ns-home6sp2/bin/https/jar/servlet.jar:/www/ns-home6sp2/bin/https/jar/servlet-2.3-filters-api.jar:/www/ns-home6sp2/bin/https/jar/jsp092.jar:/www/ns-home6sp2/bin/https/jar/jaxp.jar:/www/ns-home6sp2/bin/https/jar/crimson.jar:/www/ns-home6sp2/bin/https/jar/xalan.jar:/www/ns-home6sp2/bin/https/jar/jspengine.jar:
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): Adding web application (/hello) at (/opt/webapps/hello)
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): vs(https-duke)servlet 'snoop' class = 'SnoopServlet' loaded in context = '/hello'
    [17/Feb/2003:16:17:40] info (12041): snoop: init
    [17/Feb/2003:16:17:40] info (12041): Successfully initialized web application environment (web-apps.xml) for virtual server (https-duke)

    i had similar problem due to the incorrect jdk path...
    try http://..../hello/snoop, if this works, it seems that the jsp file cannot be compiled automatically and jdk path needs to be checked...

  • Error while deploying war file with jsp precompile option in weblogic 7.0

              Hi
              I am trying to precompile jsp file which is there in a war.Main jsp file code
              includes one more jsp which is there in other folder under defaultweb directory.
              While deploying the war i am getting the following error.Can any bosy help me
              in this regard
              <Nov 23, 2002 5:01:28 PM IST> <Error> <HTTP> <101045> <[ServletContext(id=464413
              3,name=ArkinTestWeb,context-path=/ArkinTestWeb-3)] translation of /Admin/account
              _access.jsp failed: weblogic.utils.ParsingException: nested TokenStreamException
              : antlr.TokenStreamException: Could not include ./../includes/sessionStatusPage.
              jsp>
              <Nov 23, 2002 5:01:28 PM IST> <Error> <Deployer> <149201> <The Slave Deployer
              fa
              iled to complete the deployment task with id 1 for the application ArkinTestWeb.
              weblogic.management.ApplicationException: Prepare failed. Task Id = 5
              Module Name: ArkinTestWeb, Error: Could not load ArkinTestWeb: weblogic.utils.Ne
              stedException: ArkinTestWeb:ArkinTestWeb Failure while Precompiling JSPs: weblog
              ic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamExcepti
              on: Could not include ./../includes/sessionStatusPage.jsp - with nested exceptio
              n:
              [weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStream
              Exception: Could not include ./../includes/sessionStatusPage.jsp]
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
              er.java:657)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
              er.java:548)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
              veDeployer.java:1026)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
              loyer.java:700)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
              dler.java:24)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              >
              Regards
              Anand Mohan
              

    Hi,
    1] Remove following from server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    2] Paste SEA.WAR (test WAR file) into /webapps of TOMCAT
    3] Start Tomcat Server - This will create SEA folder under webapps
    4] Stop server.
    5] Add following to server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    6] Start Tomcat Server
    7] Access the URL.
    This will work. Somehow Tomcat does not extract war file contents which are mentioned in server.xml.
    I have Apache Tomcat 4.0.3 and faced this problem. The above solution works for it.
    Regards,
    Sandesh
    hi.
    I have put my SEA.WAR (test WAR file) into /webapps of
    TOMCAT.
    I checked the server.xml and put:
         <Context path="/SEA" docBase="SEA" debug="0"/>
    I restarted TOMCAT and tried to execute the file:
         http://localhost:8080/SEA/index.jsp
    But I got error message:
    Apache Tomcat/4.0.3 - HTTP Status 404 -
    /SEA/index.jsp
    What was happenning?
    Anyone can help me?
    Thank you.

Maybe you are looking for

  • Get full path

    I'm sure this one has been asked a million times before, but a search of the forums hasn't proved particularly positive - so, apologies if this is a duplicate post, but... How on earth does one get the full path of a file??? I mean, starting from the

  • BAM data cache web service - single thread?

    Hi all, I have 2 load-balanced BPEL servers trying to push data to the same BAM server via the BPEL-to-BAM web service interface. In the logs, on one of the BPEL servers, I get this following error quite frequently: <WARN> <default.collaxa.cube.senso

  • Noises in the headphone jack when using kensington lock

    hi, when i use headphones i all the time hear "electric noises", i tried to check why and it came to the lock hole that i connect to kensington lock from the apple store. any little movement of the lock cause that. is that allright? it's like that fo

  • Shuffling genre using cover flow not possible

    Hi, Using iTunes to play music over the home stereo became so much nicer with cover flow, however, you cannot shuffle, for example by genre, when using cover flow. Using list view I selected the genre and shuffle, then switched to cover flow, and it

  • Change the language of the links

    I have, reading instructions on the forum, mananged to change the font, size and colors on the links: "Back to album", "Play slideshow" etc. But I really want to change what it says - change the language of the links. Is this possible?