Pre-compilation with ojspc

I'm using Oracle Application Server 9.0.4.1 and it's OJSPC tool to pre-compile jsp files at build-time. During the compilation I get the following error:
Translating file: C:\Documents and Settings\antio\Local Settings\Temp\tmp3860\index.jsp
File not found: C:\work\app\index.jsp
ant task that runs ojspc:
<target name="jsp">
     <java jar="${j2ee.home}/ojspc.jar" fork="yes" failonerror="true" jvmversion="1.4.1" >
          <arg value="-verbose"/>               
          <arg value="-xmlValidate"/>               
          <arg value="-extend"/>
          <arg value="com.orionserver.http.OrionHttpJspPage"/>
          <arg value="app.war"/>
     </java>
</target>
It expands the app.war file, and starts to translate index.jsp, but then an error occurs. It searches C:\work\app\index.jsp file, though index.jsp actually is in app.war root directory, which is located in app/build directory. Build script is run from C:\work\app directory.
*.jsp is declared as not found only if it contains some jsp tags, written in XML-syntax. Jsp-s that contain only plain text or html code, or are written in jsp-like syntax will be pre-compiled normally.
Steps to reproduce.
1) download app.zip file and unzip it
http://apunkto.pri.ee/app.zip
2) configure build.properties file, set the Oracle server location
3) run build (default task jsp)
4) error occurs.
Any suggestions would be appreciated,
Thank you.

OK, the patch I was talking about should be patch 3222328.
It seems that you were seeing the wrong interaction between patch 3222328 and patch 3447842. I am not sure what to do. The best I can suggest for you is to apply patch 3447842 before applying patch 3222328. If it still does not work, please raise an oracle support ticket and let me know the ticket number.

Similar Messages

  • Problem with pre-compiling jsp's

              hi,
              we have an .ear running on wls 6.0 sp2.
              Our app has a web component(part of the .ear) as well which has tld's & jsp.We
              are following the struts framework.
              We configured the <jsp-descriptor> element in the weblogic.xml file to pre-compile
              the jsp's..but the server complains of the following
              any suggestions would be appreciated
              ==================================================================================================================================
              <Jan 9, 2002 4:00:06 PM EST> <Error> <HTTP> <[WebAppServletContext(3001228,ppp)]
              failure pre-compiling JSP's
              java.lang.NullPointerException
              at weblogic.servlet.jsp.Jsp2Java.makeReader(Jsp2Java.java:232)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:112)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:253)
              at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:124)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:44)
              at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppServletContext.java:2003)
              at weblogic.servlet.internal.dd.DescriptorLoader.initFromWebApp(DescriptorLoader.java:742)
              at weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(DescriptorLoader.java:359)
              at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:467)
              at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:404)
              at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              at weblogic.j2ee.Application.addComponent(Application.java:133)
              at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:143)
              at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
              at $Proxy44.addWebDeployment(Unknown Source)
              at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1012)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:313)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
              at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
              at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
              at $Proxy41.updateDeployments(Unknown Source)
              at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
              at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
              at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
              at $Proxy33.start(Unknown Source)
              at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
              at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
              at weblogic.management.Admin.finish(Admin.java:493)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              at weblogic.Server.main(Server.java:35)
              >
              <Jan 9, 2002 4:00:06 PM EST> <Debug> <HTTP> <Exception thrown while loading ppp:
              weblogic.utils.NestedException: failure pre-compiling JSP's - with nested exception:
              [java.lang.NullPointerException]>
              <Jan 9, 2002 4:00:06 PM EST> <Error> <J2EE> <Error deploying application ppp:
              Could not load ppp>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[HTTP myserver] Loading web app: wl_management_internal2>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[HTTP myserver] Loading wl_management_internal2
              from WAR file: C:\engr\project\ppp\.\config\Synchronoss\applications\.wl_temp_do_not_delete\wl_local_comp45831.war>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[Default WebApp] extracting classfiles
              to C:\engr\project\ppp\.\config\Synchronoss\applications\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_wl_management_internal2:>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[Default WebApp] extracted classfiles
              successfully...>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(6559849,wl_management_internal2)]
              registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=C:\engr\project\ppp\.\config\Synchronoss\applications\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_wl_management_internal2,pageCheckSeconds=1,superclass=null,keepgenerated=false,encoding=null,defaultfilename=index.jsp,noTryBlocks=false]'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(6559849,wl_management_internal2)]
              registering classpath servlet with initArgs 'null'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(6559849,wl_management_internal2)]
              registering getior servlet with initArgs 'null'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <J2EE> <Deployed : wl_management_internal2>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <J2EE> <Deployed MailSession named com.bea.wlpi.MailSession>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <Initializing WEB server myserver>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[HTTP myserver] Loading web app: DefaultWebApp_myserver>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[HTTP myserver] Loading DefaultWebApp_myserver
              from directory: .\config\Synchronoss\applications\DefaultWebApp_myserver>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(4157813,DefaultWebApp_myserver)]
              registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=C:\engr\project\ppp\.\config\Synchronoss\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver,pageCheckSeconds=1,superclass=null,keepgenerated=false,encoding=null,defaultfilename=index.jsp,noTryBlocks=false]'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(4157813,DefaultWebApp_myserver)]
              registering classpath servlet with initArgs 'null'>
              <Jan 9, 2002 4:00:06 PM EST> <Info> <HTTP> <[WebAppServletContext(4157813,DefaultWebApp_myserver)]
              registering getior servlet with initArgs 'null'>
              

    [att1.html]
              

  • Help with JSP pre-compiling

    We have a web application using Jboss4.0.5, jdk 1.6 and And 1.6.5, and now we try to do a pre-compiling as part of our build procedure.
    That is the first time I am going to do a pre-comp of a major application, which includes about 1700 jsp files.
    The directory tree of the application is as follows:
    /project
        |--- > /web_pre-comp/pages/jsp ( it contains all the jsp files )
        |----> /web_pre-comp/WEB-INF ( it contains the web.xml file.)
        |----> /web_pre-comp/WEB-INF/tld ( it contains the tld files)
        |----> /web_pre-comp/WEB-INF/src ( it coutains the generated src file from jsp )
        |---->/web_pre-comp/WEB-INF/classes ( it contains the compiled classes once the jsp java files are generated.   )
        |----> build.xml ( the ant script )And there is my build.xml file looks like:
    <project>
          <target name="pro.jsp.generate" depens="init">
           <java classname="org.apache.jasper.JspC" fork="yes">
              <classpath refid="tomcat.jsp.classpath"/>
              <arg line=" -d "/>
              <arg value="${jsp.generated.src.dir}"/>
              <arg line="-p"/>
              <arg value="${jsp.package.name}"/>
              <arg line="-webapp"/>
              <arg value="${jsp.src.dir}"/>
           </java>
       </target>
    </project>When I was running the ant script, I received such message:
    [java] org.apache.jasper.JasperException: The absolute uri: http://www.prounlimited.com/wandappconfig.tld cannot be resolved in either web.xml or the jar files deployed with this application
    We do have suh messages included in the web.xml file.
      <taglib>
            <taglib-uri>http://www.prounlimited.com/wandappconfig.tld</taglib-uri>
            <taglib-location>/WEB-INF/tld/wandappconfig.tld</taglib-location>
        </taglib>Any Ideas how to make it working ?
    Another side questions is when some java file are created from JSP, I see some "005f" included in the java file name, such as "inc_sup_princing_view.jsp" creats a
    "inc_005fsup_005fpricing_005fview_jsp.java" file. Does someone know why this happen ?
    Thanks a lot !
    Charlie

    We have a web application using Jboss4.0.5, jdk 1.6
    and And 1.6.5, and now we try to do a pre-compiling
    as part of our build procedure. Hi Charlie,
    According to your ant build script you're using Jasper compiler, but your web container is JBoss.
    I know that Tomcat uses the Jasper compiler --- but I don't know if JBoss supports Jasper or not. Please check with JBoss if they support Jasper, if not they my support a different pre-compiler.
    That is the first time I am going to do a pre-comp of
    a major application, which includes about 1700 jsp
    files.
    The directory tree of the application is as follows:
    /project
    |--- > /web_pre-comp/pages/jsp ( it contains all
    the jsp files )
    |----> /web_pre-comp/WEB-INF ( it contains the
    web.xml file.)
    |----> /web_pre-comp/WEB-INF/tld ( it contains
    the tld files)
    |----> /web_pre-comp/WEB-INF/src ( it coutains the
    generated src file from jsp )
    |---->/web_pre-comp/WEB-INF/classes ( it contains
    the compiled classes once the jsp java files are
    generated.   )
    |----> build.xml ( the ant script )And there is my build.xml file looks like:
    <project>
    <target name="pro.jsp.generate" depens="init">
    <java classname="org.apache.jasper.JspC"
    fork="yes">
    <classpath refid="tomcat.jsp.classpath"/>
    <arg line=" -d "/>
    <arg value="${jsp.generated.src.dir}"/>
    <arg line="-p"/>
    <arg value="${jsp.package.name}"/>
    <arg line="-webapp"/>
    <arg value="${jsp.src.dir}"/>
    java>
    </target>
    </project>When I was running the ant script, I received such
    message:
    [java] org.apache.jasper.JasperException: The
    absolute uri:
    http://www.prounlimited.com/wandappconfig.tld cannot
    be resolved in either web.xml or the jar files
    deployed with this application
    Check if the tld folder is visible to the classpath tomcat.jsp.classpath used inside the Ant build file.
    >
    We do have suh messages included in the web.xml file.
      <taglib>
    taglib-uri>http://www.prounlimited.com/wandappconfig.t
    ld</taglib-uri>
    taglib-location>/WEB-INF/tld/wandappconfig.tld</taglib
    -location>
    </taglib>Any Ideas how to make it working ?
    Another side questions is when some java file are
    created from JSP, I see some "005f" included in the
    java file name, such as "inc_sup_princing_view.jsp"
    creats a
    "inc_005fsup_005fpricing_005fview_jsp.java" file.
    Does someone know why this happen ?
    The 005f is expected, it is for internal reference for the pre-compiler, nothing to worry about.
    >
    Thanks a lot !
    Charlie

  • Deploying application with class files compiled using ojspc

    Hi,
    I want to deploy the application having class files compiled using ojspc in Oracle9iAS Release 2 rather than having JSP pages.
    Thanks,
    Pritam

    Hi Manoj,
    I have tried doing something like this.
    If you want to try this out running on a NW2004s.You need to first download the entire project from perforce branch (
    tc\webdynpro\clientserver)for NWDS 7.0 and then build the project locally in your java perspective.
    During the local build of the project.It will also point out the dependent projects required by this project(clientserevr).
    Once the project is build.
    Create seperate external jars of the clientserver project and its dependent projects and save them locally.
    Open your SDM manager,pick up this jar file from there and deploy it.
    Once the deployment is over, the server is ready to run the application you created.
    But this make your NWDS2004s to behave jus like NWDS7.0 .
    Just a small suggestion ,instead of going through this tedious process you can shift to NWDS7.0 itself.
    regards
    aarthi mathivanan

  • Auto deploy pre-compiled JSP

    Hello
    In the post of gadegaard in november 2002, there was a problem to au deploy pre-compiled JSP. Is this problem has been fix in the 9.0.4 OC4J version ?
    If yes, is it sufficient to create a "_pages" directory in the war (the war is contained in an ear) and auto deploy it ? Because my pre-compiled JSP are not deployed.
    Tanks in advance for your answer
    Emmanuelle

    Emmanuelle:
    There are two ways to use the precomiled JSP files.
    Method one: You can just copy the generated JSP page implementation classes to the directory application-deployments/yourApp/yourWebApp/persistence/_pages. If the init-param "main_mode" of jsp servlet of your web app is reload, then these classes will be used without stopping the server. This is the fastest way in development.
    Method two: You can packaged the generated JSP page implementation classes into a jar just like any other java class libraries. Then create your war with that jar inside WEB-INF/lib. Make sure the init-param "main_mode" of jsp servlet in your web.xml is justrun. Now you have a deployable war file. You can deploy the war file (within an ear file) to oc4j and access the JSP page.
    Please tell me if either of thse methods works for you
    Please note since oc4j 10.1.3, ojspc will package the generated classes into a jar under WEB-INF/lib if given an war or ear file.

  • Help!Apache compiling with gcc in Solaris 10

    Greetings
    I am having problems with Apache 1.3.
    When I am running the script ./src/Configure my output is:
    #./Configure
    Using config file: Configuration
    Creating Makefile
    + configured for Solaris 2100 platform
    + setting C pre-processor to gcc -E
    + using "tr [a-z] [A-Z]" to uppercase
    + checking for system header files
    + adding selected modules
    ./helpers/TestCompile: make: not found
    + using builtin Expat
    ./Configure: make: not found
    + checking sizeof various data types
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    + doing sanity check on compiler and options
    ./helpers/TestCompile: make: not found
    ** A test compilation with your Makefile configuration
    ** failed. The below error output from the compilation
    ** test will give you an idea what is failing. Note that
    ** Apache requires an ANSI C Compiler, such as gcc.
    ======== Error Output for sanity check ========
    ./helpers/TestCompile: make: not found
    ============= End of Error Report =============
    Aborting!
    I am root, my PATH is
    /usr/bin:/usr/ucb:/etc:/usr/local/bin:/opt/netscape:/usr/css/bin/:/bin:/usr/openwin/bin:/usr/sbin:/
    I am missing something stupid, I know but I can't find it!!!!Help please I am a newbie.
    I am curious. Has anyone been able to compile succesfully apache server with gcc in Solaris 10?
    Thanks,

    Thanks,
    It was only that.!!!
    But now I have the following problem, I can't create executables when I type make. The output is:
    when I am in the src/folder
    #make
    ===> regex
    <=== regex
    ===> os/unix
    gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED os.c
    In file included from /usr/include/sys/wait.h:24,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
    /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    In file included from /usr/include/sys/procset.h:24,
    from /usr/include/sys/wait.h:25,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1096,
    from os.c:21:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    *** Error code 1
    make: Fatal error: Command failed for target `os.o'
    Current working directory /web-download/apache_1.3.33/src/os/unix
    *** Error code 1
    The following command caused the error:
    for i in regex os/unix ap main lib modules; do \
    echo "===> $i"; \
    case ".Solaris 2100" in \
    .OS390 | .TPF) ( cd $i && make SDP='' OPTIM='') || exit 1;; \
    *) ( cd $i && make SDP='' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ' RANLIB='ranlib' OPTIM='') || exit 1;; \
    esac; \
    echo "<=== $i"; \
    done
    make: Fatal error: Command failed for target `subdirs'
    but when I am typing one step up is.
    ===> src
    ===> src/regex
    <=== src/regex
    ===> src/os/unix
    gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED os.c
    In file included from /usr/include/sys/wait.h:24,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
    /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    In file included from /usr/include/sys/procset.h:24,
    from /usr/include/sys/wait.h:25,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1096,
    from os.c:21:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    *** Error code 1
    make: Fatal error: Command failed for target `os.o'
    Current working directory /web-download/apache_1.3.33/src/os/unix
    *** Error code 1
    The following command caused the error:
    for i in regex os/unix ap main lib modules; do \
    echo "===> src/$i"; \
    case ".Solaris 2100" in \
    .OS390 | .TPF) ( cd $i && make SDP='src/' OPTIM='') || exit 1;; \
    *) ( cd $i && make SDP='src/' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ' RANLIB='ranlib' OPTIM='') || exit 1;; \
    esac; \
    echo "<=== src/$i"; \
    done
    make: Fatal error: Command failed for target `subdirs'
    Current working directory /web-download/apache_1.3.33/src
    *** Error code 1
    The following command caused the error:
    case "xi86pc-sun-solaris2.2100" in \
    x*390*) C89STEPS="0xffffffff"; export C89STEPS;; \
    esac; \
    cd ./src; make SDP=src/ all
    make: Fatal error: Command failed for target `build-std'
    Current working directory /web-download/apache_1.3.33
    *** Error code 1
    The following command caused the error:
    make -f ./Makefile root= build-std
    make: Fatal error: Command failed for target `build'
    I am newbie with Solaris and gcc so I have no so much idea what is missing there.
    Thanks,
    Juan

  • Pre-compiled JSPs when deploying an EAR under WebLogic 6.1 SP4

    Hello,
    We have sucessfully pre-compiled JSP pages when working with and
    deploying WAR files (WebLogic 6.1 SP4, Windows).
    However, we can't seem to make it work when deploying EAR files.
    Examing the "secret" unpacked directories after deployment doesn't
    seem to help.
    If we extract the WAR from the EAR and deploy it, everything is perfect.
    Any ideas? Anyone able to make this work? If so, could you share the
    output of
    jar -tf yourCoolEarFileThatWorks.ear
    as well as the same for the embedded WAR file?
    Thank you,
    Mike Leo

    Some followup information.
    We've changed the place where it looks for JSP classes using the
    "workingDir" parameter in weblogic.xml.
    And we also set "pageCheckSeconds" (also in weblogic.xml) to "-1".
    Now, everything in the base directory comes up without being recompiled.
    However, nothing in subfolders of the base directory is "picked up". Those
    pages are still being compiled when they are accessed.
    Any ideas welcome.
    Mike Leo
    On Tue, 05 Aug 2003 18:43:41 -0500, Michael Leo <[email protected]>
    wrote:
    Hello,
    We have sucessfully pre-compiled JSP pages when working with and
    deploying WAR files (WebLogic 6.1 SP4, Windows).
    However, we can't seem to make it work when deploying EAR files.
    Examing the "secret" unpacked directories after deployment doesn't
    seem to help.
    If we extract the WAR from the EAR and deploy it, everything is perfect.
    Any ideas? Anyone able to make this work? If so, could you share the
    output of
    jar -tf yourCoolEarFileThatWorks.ear
    as well as the same for the embedded WAR file?
    Thank you,
    Mike Leo

  • Pre-compilation

    Is it with WLS 4.5.1 possible to automatically pre-compile all JSP pages without having to do it manually for each one of them from the command line?
              

    thank´s a lot for the information. i guess i try out some script some day. in
              case it works just fine i send it over to BEA.
              Martin
              Steve Hoffman wrote:
              > Michael Girdley wrote:
              > > Not out-of-the-box. But, it should be pretty reasonable to read a script
              > > that would think.
              > >
              > > If you do such a thing, I suggest submitting it to our developer site:
              > > developer.BEA.com.
              >
              > This is possible as I did it once when I worked at another company
              > (and therefore don't have access to the work anymore to post to the developer
              > site). However, one thing I want to note if you do try this. The compiled
              > pages contain a check for the .jsp file having changed. This means
              > that the compiled version of the page contains both the full path
              > to the original jsp file as well as the timestamp of the original
              > jsp file. So if you are going to pre-compile pages to move to
              > another server you'll have to make sure the full path is the
              > same on the destination server as where you originally compiled it.
              > You'll also have to preserve the timestamps (assuming both machines
              > are running clocks that are even close) when you tar/mv the files.
              > If either of these don't jive, then the page will re-compile itself
              > because it thinks it's stale (or can't determine for sure if it's stale
              > and err's on the side of caution).
              >
              > Just my $0.02 if you do try this.
              >
              > Steve
              

  • What is the Advantage and Disadvantage of Pre-Compiled JSP

    Hi All,
    What is the advantage and disadvantage of using pre-compiled JSP

    Pro:
    By pre-compiling your JSPs you don't need a java compiler on the server - just a jre.
    The result? No java compiler on the server means a potential security hole patched - people can't just write and deploy jsp's willy nilly on the server.
    You KNOW that all your JSPs compile before you visit them - because you have compiled them all :-). It won't fail because of a stupid spelling miskate that prevents compilation. That doesn't mean they will run without error of course...
    Con:
    Compiling the JSPs ties them to a particular server - unless you take the runtime along with them.

  • Pre-compiled JSPs getting re-compiled by the server

    For our project we are using wlappc to pre-compile JSPs and generate EJB classes. We are using the split directory format, so this is what the task looks like -
    <target name="appCompile" depends="init" >
    <delete dir="${ear.dist}" />
    <mkdir dir="${ear.dist}" />
    <wlpackage srcdir="${ear.src}" destdir="${ear.build}"
    toDir="${ear.dist}" />
         <wlappc source="${ear.dist}" verbose="true" classpath="${classpath}" />
    </target>
    After this, we are using wldeploy to deploy the application to another server.
    This is how the task looks like -
         <target name="beadeploy" depends="init" >
         <wldeploy action="deploy"
              source="${src.dir}/dist/myapp.ear"
              name="myApplication" remote="true"
              user="${deploy.username}" password="${deploy.password}"
              verbose="true" adminurl="t3://${deploy.host}:${deploy.port}"
              upload="true"
              debug="true" targets="${deploy.target}"/>          
         </target>
    The problem that I am facing is that, even after re-compiling the JSPs, they get compiled again by the server when accessed for the first time !
    We using Weblogic 8.1.2.0. Can you please provide a soplution for this ?

    Hi,
    The following steps help you troubleshoot why you may be having problems with JSPs recompiling:
    1. When invoking jspc, your classpath must contain the same release, service-pack, and any temporary patches as the servers you wish to deploy on. Otherwise, the Server will read the JSPs as being compiled on a different version of the WebLogic, and will recompile them all.
    2. You should invoke jspc from the root directory of your open-directory exploded) WebApp or specify -webapp) and use the -d option to deploy the generated classes to the WEB-INF/classes directory. You can then archive these JSP classes into a JAR if you wish from the WEB-INF/classes directory.
    3. The JSPs should then be deployed either individually to the WEB-INF/classes/jsp_servlet directory or in a JAR file under the WEB-INF/lib directory.
    4. One other thing that could cause JSPs to be recompiled is if the timestamp of the class is different from that of the source.
    Also, if your ant classpath is different from whatever WLS-related classpath entries you use to run WLS, this may cause problems, too.
    -- Prasanna
    Prasanna Yalam

  • Pre-compiling JSP's

    I am using build.cmd to create an ear and war of my application. I am
              having problems with the code below:
              @REM Create WAR file
              COPY src\dd\war\WEB-INF\* stage\WEB-INF
              COPY src\dd\war\WEB-INF\tlds\* stage\WEB-INF\tlds
              java -classpath %CLASSPATH%;./stage/WEB-INF/classes;./src/jsp;./stage
              weblogic.jspc -docroot src/jsp -d stage/WEB-INF/classes src/jsp/*/*.jsp
              jar cv0f stage/edeploy2WAR.war -C stage WEB-INF -C src/jsp .
              On the third line (the one that starts with java) - I get the following
              error:
              [jspc] warning: expected file C:\edeploy2\src\jsp\WEB-INF\web.xml not found,
              tag
              libraries cannot be resolved.
              [jspc] parsing /*/*.jsp:
              Error: translation of /*/*.jsp failed: java.io.FileNotFoundException:
              src\jsp\*\
              *.jsp (The filename, directory name, or volume label syntax is incorrect)
              Error: [jspc]: 1 file(s) failed:
              /*/*.jsp
              I am trying to pre-compile all the jsp's that are located in 10
              subdirectories under src/jsp/.. subdir
              I shouldn't need a web.xml file should I?
              Thanks,
              Matt
              

    I am now using the following command, which seems to work:
              java weblogic.jspc -compileAll -webapp src\jsp -d stage/WEB-INF/classes
              However, when it begins, it looks for WEB-INF in src\jsp - is there anyway
              to make it look in src\dd for WEB-INF?
              Secondly, I added src/WEB-INF/web.xml for my tag libraries, but now I get
              the following:
              [jspc] resolved taglib uri 'RDBMS' to taglib-location
              ../../src/dd/WEB-INF/tlds/
              rdbmstags6_0.tld:
              [jspc] looking for taglib uri RDBMS as resource /WEB-INF/RDBMS in Web
              Applicatio
              n root:
              [jspc] looking for taglib uri RDBMS as resource RDBMS in Web Application
              root:
              Error: translation of /dev/DB_ConfigurationLocation.jsp failed:
              weblogic.servlet
              .jsp.JspException: (line 5): Could not parse deployment descriptor:
              java.io.IOEx
              ception: cannot resolve 'RDBMS' into a valid tag library
              Error: [jspc]: 1 file(s) failed:
              /dev/DB_ConfigurationLocation.jsp
              Any ideas?
              Thanks,
              Matt
              "Mettu Kumar" <[email protected]> wrote in message
              news:[email protected]...
              > Matt,
              >
              > I use a batch file with following contents. While compiles all my jsp's
              > (including ones in subfolders).
              >
              > java weblogic.jspc -classpath %CLASSPATH% -compileAll -webapp
              > e:\bea\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver
              >
              > Hope this helps you.
              >
              > Thanks,
              > Kumar.
              >
              > Matt Raible wrote:
              >
              > > How do I change this line?
              > >
              > > java -classpath %CLASSPATH%;./stage/WEB-INF/classes;./src/jsp;./stage
              > > weblogic.jspc -docroot src/jsp -d stage/WEB-INF/classes src/jsp/*/*.jsp
              > >
              > > Thanks,
              > >
              > > Matt
              > >
              > > "Mettu Kumar" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > Matt,
              > > >
              > > > Why not use -webapp option which should fix your problem?
              > > >
              > > > Thanks,
              > > > Kumar.
              > > >
              > > > Matt Raible wrote:
              > > >
              > > > > I am using build.cmd to create an ear and war of my application. I
              am
              > > > > having problems with the code below:
              > > > >
              > > > > @REM Create WAR file
              > > > > COPY src\dd\war\WEB-INF\* stage\WEB-INF
              > > > > COPY src\dd\war\WEB-INF\tlds\* stage\WEB-INF\tlds
              > > > > java -classpath
              %CLASSPATH%;./stage/WEB-INF/classes;./src/jsp;./stage
              > > > > weblogic.jspc -docroot src/jsp -d stage/WEB-INF/classes
              src/jsp/*/*.jsp
              > > > > jar cv0f stage/edeploy2WAR.war -C stage WEB-INF -C src/jsp .
              > > > >
              > > > > On the third line (the one that starts with java) - I get the
              following
              > > > > error:
              > > > >
              > > > > [jspc] warning: expected file C:\edeploy2\src\jsp\WEB-INF\web.xml
              not
              > > found,
              > > > > tag
              > > > > libraries cannot be resolved.
              > > > > [jspc] parsing /*/*.jsp:
              > > > > Error: translation of /*/*.jsp failed:
              java.io.FileNotFoundException:
              > > > > src\jsp\*\
              > > > > *.jsp (The filename, directory name, or volume label syntax is
              > > incorrect)
              > > > > Error: [jspc]: 1 file(s) failed:
              > > > > /*/*.jsp
              > > > >
              > > > > I am trying to pre-compile all the jsp's that are located in 10
              > > > > subdirectories under src/jsp/.. subdir
              > > > >
              > > > > I shouldn't need a web.xml file should I?
              > > > >
              > > > > Thanks,
              > > > >
              > > > > Matt
              > > >
              >
              

  • Pre-Compiled JSPs.

    Hi Gurus,
              The weblogic compiles the JSP pages, the package names of the servlets
              generated contains the directory structure along with the package prefix.
              i.e . if the jsp file calles myfile.jsp is in
              public_html/cm/log/myfile.jsp
              the servlet class generated with package
              <package_prefix>._cm._log.myfile.class in
              public_html/<package_prefix>/_cm/_log/ directory.
              If the JSPs are compiled from command line , using "java weblogic.jspc
              ... " it does not generate the "_cm._log..." package prefix.
              Right now I want to write a script to pre-compile all the JSPs after
              deployement.
              Thanks in Advance and Regards
              Arun
              

    Hi,
              Try to use the -package option with weblogic.jspc.
              Best Regards
              Li Zhongling (Alex)
              Carpe Diem, Seize the Day !!
              Arun Kumar wrote:
              > Hi Gurus,
              > The weblogic compiles the JSP pages, the package names of the servlets
              > generated contains the directory structure along with the package prefix.
              >
              > i.e . if the jsp file calles myfile.jsp is in
              > public_html/cm/log/myfile.jsp
              > the servlet class generated with package
              > <package_prefix>._cm._log.myfile.class in
              > public_html/<package_prefix>/_cm/_log/ directory.
              >
              > If the JSPs are compiled from command line , using "java weblogic.jspc
              > ... " it does not generate the "_cm._log..." package prefix.
              > Right now I want to write a script to pre-compile all the JSPs after
              > deployement.
              >
              > Thanks in Advance and Regards
              > Arun
              

  • Pre compiling of jsp

    HI,I am using weblogic5.1 and I am unable to pre compile the jsp file. I used java weblgoic.jsc command to compile the files, but I am unable to complie some of the jsp files. Can you suggest me a better way to pre comile files and directories.Thanks,Prakash Appani
              

    If you can compile some, but not others, then it is more than likely that
              you have problems
              with your JSP's. You may want to use the regular javac to compile them.
              # WEBLOGIC JSP PROPERTIES
              # Sets up automatic page compilation for JSP. Adjust init args for
              # directory locations and uncomment to use.
              weblogic.httpd.register.*.jsp=\
              weblogic.servlet.JSPServlet
              weblogic.httpd.initArgs.*.jsp=\
              pageCheckSeconds=1,\
              compileCommand=c:/jdk1.2.2/bin/javac.exe,\
              workingDir=C:/weblogic/myserver/classfiles,\
              verbose=true
              "Mike Reiche" <[email protected]> wrote in message
              news:3b3b91cd$[email protected]..
              >
              > What errors are you getting? The command is
              >
              > java weblogic.jspc <file>
              >
              > Can't tell if you had the wrong command or just bad typing.
              >
              > Mike
              >
              > Prakash Appani <[email protected]> wrote:
              > >HI,I am using weblogic5.1 and I am unable to pre compile the jsp file.
              > >I used java weblgoic.jsc command to compile the files, but I am unable
              > >to complie some of the jsp files. Can you suggest me a better way to
              > >pre comile files and directories.Thanks,Prakash Appani
              >
              

  • Pre-compile Javascript

    I use an application-based script to read the system user name and assign it to a variable, that I can read in a field-based script later on in my PDF form. The user name is used to identify the user.
    So far, it works fine, but can very easy be manipulated by a user: He has just to change the script and assign the user name he wants to.
    Now I think about ways to make things not that easy for users. One idea is to pre-compile the script (just like the folder scripts delivered by Adobe) and assign the user name to variable with a cryptic name. My question is now: How can I pre-compile a javascript text file? I use Adobe Acrobat Profession 7.0 and/or Adobe LiveCycle Designer 8.0 embedded in SAP.
    I do not need the perfect solution, only one that is not too easy to get around. I know about alternative scenarios using digital signatures etc.
    But the pre-condition is that the user name shall be used for identification.
    Has anyone an idea?
    I thank you very much.

    In the ESTK2 you can encode a .js script as .jsxbin, which you can later rename .jsx and (under some circumstances) use instead of the original .js file. Give it a go, and if it doesn't work, contact me by email, I might have another idea for you.

  • Mathscript- pre compile and passwords

    Has there been any method to pre compile a Mathscipt to shorten run time?  If one wants to demo a Mathscript program and has to wait 30+ sec for it to compile, it sure reduces the impact.
    Another question, is there a method to reset passwords ( especially related to Mathscript login) when passwords were never set to begin with.
    CEK

    Hello CEK,
    The compile time of a script (or function) in MathScript increases exponentially with respect to the number of lines in the script.  We recommend limiting each script to about 40 or 50 lines so that the compile time is reasonable.  You can create functions out of parts of your file to break it into smaller pieces.  If this is still a problem, you can create the VI on a separate computer with the full script.  Then simply copy the VI to the demo computer and open it rather than recreate the VI.  As ttrr notes, make sure both computers have the same version of LabVIEW installed.
    As for the security menu, this is not part of MathScript.  You may have more luck asking your question in the regular LabVIEW forum.  If you wish to password protect the VIs you've created (with MathScript nodes or otherwise), go to File >> VI Properties.  Select the Protection category and then click "Password-protected."
    Grant M.
    Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments

Maybe you are looking for

  • Setting Up The Way Tags Appear in the File Name

    My original filename: Guns N Roses - Live and Let Die.mp3 After dragging this (and hundreds more) into iTunes, the file name now appears as: 10 Live and Let Die.mp3 I have since unchecked the 'Keep iTunes Media folder organized', which I now know is

  • Page size in Pages?

    I want to try using Pages instead of InDesign to create a program book. To do that, I want to create individual pages (not two-page spreads) that are 8.5 x 5.5 (typical program book size). I do not see any way to create a custom page size in the Docu

  • GR not generated

    Hi Gurus In our company for creation of Invoice Batch job will run But after batch job also some GRs are not converted into IRs What might be the reason?

  • Photoshop won't install. Then trial installed fine

    Photoshop won't install on pc. Trial worked fine but cloud photoshop won't load. Message is Error message is exit code 34

  • Downloading and installing gcc

    Hello, I am using emacs for mac and need the gcc compiler to build my c/c++ programs. I have looked at Xcode but not sure if that includes a IDE, which I don't want as I am using emacs. I just want to download and install the gcc compiler and nothing