Pre-compiled JSPs not being recognized (WLS 8.1 SP2)

          We're running into a strange problem here, where our pre-compiled JSPs (precompiled
          via an ant target) are being recognized as "stale" and recompiled by Weblogic,
          as the following log message indicates. The strange thing is, on one hand it says
          they were precompiled by a "different" version of Weblogic server, and then right
          after that, immediately contradicts itself by logging the SAME version for the
          JSP and WLS builds:
          ####<Jan 31, 2004 11:24:40 AM PST> <Info> <HTTP> <ladybug> <fwmharris-ms01> <ExecuteThread:
          '11' for
          queue: 'default'> <dhecking> <> <BEA-101295> <Recompiling JSP
          [ServletContext(id=20425572,name=fwmhis-www,context-path=)], resource
          [tiles/table/td_twisty_group_tile.jsp], because it is stale. It was previously
          compiled using a
          different version of WebLogic Server.
          JSP build version: 8.1.2.0
          WLS build version: 8.1.2.0.>
          As can be seen, the two build versions are identical (8.1.2.0) which is the correct
          version (Weblogic 8.1 SP2). Has anyone else run into this problem? If so, is there
          a fix?
          The platform is Solaris btw.
          Thank you.
          ..Hrishi
          Hrishi Dixit
          Finaplex
          [email protected]
          

Kostas Symeonidis wrote:
          > I have exactly the same problem with 8.1sp2 on Win2000 and I will test it tomorrow on Solaris.
          >
          > It seems that the code checks two things:
          > 1. the version of the JSPC
          > 2. the timestamp of the files
          > In both cases the logged message is the same(!!!) "recompiling because is stale..." but you can see that clearly the version numbers are the same, therefore the stale check failed on step 2.
          >
          > Now my guess is that step 2, either doesn't find the page, or the time check is done erratically. Mind you, in 8.1sp2 BEA changed the isResourceStale method signature and added an extra String parameter for the TimeZone, see code in generated JSPs below:
          > public boolean _isStale() {
          > weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext());
          > java.io.File f = null;
          > long lastModWhenBuilt = 0L;
          > if (sci.isResourceStale("/index.jsp", 1082047780159L, "8.1.2.0", "Europe/London")) return true;
          > return false;
          > }
          >
          > I'm also quite sure that we should be waiting for a rolling patch quite soon.
          Your guess is correct. Unfortunately a the message logged is wrong. A
          patch for CR133453 fixes that. Basically its failing (2) and logging the
          same message as (1).
          

Similar Messages

  • 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

  • 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]
              

  • How to pre-compile JSP?

    Does anyone know how to pre-compile JSP so as to get faster browsing response?

    I know little about JSPs but from what I can remember, JSPs are compiled first time when they are being asked to be executed .Unless changes are made to those programs they would not be compiled, as a result of that, it would run faster. Correct me if I am wrong though

  • Video Ipod 80G 5th generation not being recognized by computer or  itunes.

    My ipod is not being recognized by my computer or itunes at all. I bought a new cable and nothing happens as well. however when i connect it in my car it works fine. did any resolve this issue? I am not sure if its the new software that has the issue but i am almost certain it is.

    Many people are reporting problems with connecting there fifth-gen iPods after the update to iTunes 9. I had the same problem, and when I downgraded to iTunes 8, everything worked again.
    I tried cables, resetting, and all the other steps. My solution turned out to be iTunes 9 itself.
    My problem came from using a replacement hard drive-an adapter that allows me to retrofit my iPod with a Compact Flash card instead of a hard drive.
    The problem is NOT the adapter. This system functioned perfectly until iTunes 9, and when I switched back to iTunes 8, it worked again.
    Summary: I have a modded iPod, and it consistently works with iTunes 8, but not iTunes 9.
    Reason: Apple is sooooooooooo afraid a Palm Pre user will be able to use iTunes that they are breaking the sync code on purpose.
    Downgrading iTunes:
    1. find the download of iTunes 8 for your OS. (not posting links, as they may change)
    2. go into your iTunes 9, and export EVERY playlist to a text file. This is the only way to preserve your playlists.
    3. Uninstall iTunes 9 from you computer, install iTunes 8.
    4. Configure iTunes 8 to use your music folder (especially if you moved your music to a different location other than the default)
    5. Add your music to iTunes-this may take awhile.
    6. Import you text files and your playlists will return.
    7. Backup your iTunes 8 library files.
    Happily enjoy your modded iPod. Mac Users: Don't accidentally install iTunes 9 from an Apple Update.

  • 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

  • Failure in pre-compiling JSP's

              Hi,
              I am getting the following error while pre-compiling a jsp (showcode.jsp).
              I am using weblogic 5.1 SP8.
              Wed Oct 24 12:03:09 MDT 2001:<E> <WebAppServletContext-quote> cannot make temp
              directory '/cemr2/dev1/app/examples/j
              sp/tagext/quote/WEB-INF/_tmp_war_quote', will not be able to compile JSPs
              Wed Oct 24 12:03:09 MDT 2001:<I> <WebAppServletContext-quote> checking /showcode.jsp:
              Wed Oct 24 12:03:11 MDT 2001:<E> <WebAppServletContext-quote> failure pre-compiling
              JSP's
              java.io.FileNotFoundException: /cemr2/dev1/app/examples/jsp/tagext/quote/WEB-INF/_tmp_war_quote/examples/jsp/tagext/
              sql/_showcode.java (No such file or directory)
              at java.io.FileOutputStream.open(Native Method)
              at java.io.FileOutputStream.<init>(FileOutputStream.java, Compiled Code)
              at java.io.FileOutputStream.<init>(FileOutputStream.java, Compiled Code)
              at java.io.FileOutputStream.<init>(FileOutputStream.java, Compiled Code)
              at java.io.FileWriter.<init>(FileWriter.java, Compiled Code)
              at weblogic.servlet.jsp.Jsp2Java.makeOutputStream(Jsp2Java.java, Compiled Code)
              at weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java, Compiled
              Code)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java, Compiled
              Code)
              at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java, Compiled Code)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.precompileJSPs(ServletContextImpl.java,
              Compiled Code)
              at weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(DescriptorLoader.java,
              Compiled Code)
              at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java, Compiled Code)
              at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Compiled
              Code)
              at weblogic.t3.srvr.HttpServer.start(HttpServer.java, Compiled Code)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java, Compiled Code)
              at weblogic.Server.main(Server.java, Compiled Code)
              at weblogic.Server.main(Server.java, Compiled Code)
              

              << cannot make temp directory '/cemr2/dev1/app/examples/j sp/tagext/quote/WEB-INF/_tmp_war_quote',
              will not be >>
              You don't have sufficiend permission to crease directory.
              Thnaks
              Jignesh Patel
              "Sreenivas Kotapati" <[email protected]> wrote:
              >
              >Hi,
              >
              >I am getting the following error while pre-compiling a jsp (showcode.jsp).
              >
              >I am using weblogic 5.1 SP8.
              >
              >Wed Oct 24 12:03:09 MDT 2001:<E> <WebAppServletContext-quote> cannot
              >make temp
              >directory '/cemr2/dev1/app/examples/j
              >sp/tagext/quote/WEB-INF/_tmp_war_quote', will not be able to compile
              >JSPs
              >Wed Oct 24 12:03:09 MDT 2001:<I> <WebAppServletContext-quote> checking
              >/showcode.jsp:
              >Wed Oct 24 12:03:11 MDT 2001:<E> <WebAppServletContext-quote> failure
              >pre-compiling
              >JSP's
              >java.io.FileNotFoundException: /cemr2/dev1/app/examples/jsp/tagext/quote/WEB-INF/_tmp_war_quote/examples/jsp/tagext/
              >sql/_showcode.java (No such file or directory)
              > at java.io.FileOutputStream.open(Native Method)
              > at java.io.FileOutputStream.<init>(FileOutputStream.java, Compiled
              >Code)
              > at java.io.FileOutputStream.<init>(FileOutputStream.java, Compiled
              >Code)
              > at java.io.FileOutputStream.<init>(FileOutputStream.java, Compiled
              >Code)
              > at java.io.FileWriter.<init>(FileWriter.java, Compiled Code)
              > at weblogic.servlet.jsp.Jsp2Java.makeOutputStream(Jsp2Java.java, Compiled
              >Code)
              > at weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java,
              >Compiled
              >Code)
              > at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
              >Compiled
              >Code)
              > at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java, Compiled
              >Code)
              > at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java, Compiled
              >Code)
              > at weblogic.servlet.internal.ServletContextImpl.precompileJSPs(ServletContextImpl.java,
              >Compiled Code)
              > at weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(DescriptorLoader.java,
              >Compiled Code)
              > at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java, Compiled
              >Code)
              > at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
              >Compiled
              >Code)
              > at weblogic.t3.srvr.HttpServer.start(HttpServer.java, Compiled Code)
              > at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
              > at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java, Compiled Code)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at weblogic.Server.startServerDynamically(Server.java, Compiled Code)
              > at weblogic.Server.main(Server.java, Compiled Code)
              > at weblogic.Server.main(Server.java, Compiled Code)
              >
              

  • 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.

  • Pre-Compiled JSP

    Hi All,
    Can anyone tell me, how to pre-compile jsp and deploy it in Tomcat and Websphere and also how stop the app server recompiling the JSP at runtime. Searched the net for but was not really that successful.

    Read the documentation that come along the application server. For Tomcat it's for example this: [http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html].

  • Ipod touch not being recognized by itunes now

    i have a friend who has an ipod touch....everything had been going fine for him and then all of a sudden it was not being recognized any more....what caused this? he did say that he had done an update but i'm not sure what version he has....could this possibly be the problem.....does anyone an a fix for this?

    I think Apple is having a problem at the moment, my Ipod touch was always fine syncing until the new update! (Even on older itunes version, I could'nt sync since new update came out) It just isnt recognizing the device...
    Ive done all that Apple says to do, none of which helps at all, I reckon its thier own side of the problem they need to fix...

  • IPod touch not being recognized by iTunes on my MacBook, and on 2 other PCs

    Hello,
    After scouring the web and these discussion forums to no avail, I've decided to post my problem. I downloaded iTunes 8.0 yesterday, and updated the firmware on my iPod Touch to 1.1.5. I tried connecting my iPod, and nothing happened. It is not being recognized by my MacBook. So, I tried using another USB iPod connector, and nothing happened. I tried using a firewire connector, and nothing happened. Frustrated, I tried connecting to my one roommate's HP laptop and see if it would get recognized there - no. I then tried on my other roommate's laptop. The device was recognized to be USB, but iTunes wouldn't go ahead and try and reformat it. I'm starting to lose my mind! I've tried resetting the iPod touch itself loads of times to no success. I've tried restarting while having the iPod connected to the computer, and still nothing.
    What should I do now?

    Sorry about not getting to you on the quick-fast, but we aren't Apple employees.
    What ended up being the solution you needed, as you said, you couldn't find any information already posted on this problem, so documenting your fix may help someone in the future.

  • Why isn't my iPod 6th generation not being recognized by iTunes?

    Why isn't my iPod 6th generation not being recognized by iTunes?

    Did you alresady try these suggestions? iPod not recognized in iTunes and Mac desktop and iPod not appearing in iTunes

  • TS3716 ipod nano is not being recognized by iTunes.

    My ipod nano 2nd generation (and working perfectly) is not being recognized by iTunes.
    Any suggestions?

    Does the iPod work OK?
    Have you tied resetting the iPod? Nothing will be lost
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    Next would be to place the iPod in recovery mode and then restore via iTunes.  If iTunes does not see the iPod then the iPod is not usable. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

  • Ipod not being recognized on the system, not getting reset,retry,restore,..

    hi all
    my ipod is not being recognized on the system..
    i dont know wat is the problem
    i tried the 5 Rs thing and i didn't get any king of result..
    i dont know wat to do
    please someone who could find a solution for this please reply and send me the solutions
    thanks..
    bye.

    See this...
    Windows Does Not Recognize iPod
    btabz

  • The "Roman" font is not being recognized in Firefox 4.0. As such, I cannot read any previously posted topics or post any new topics on websites using this font.

    The "Roman" font is not being recognized in Firefox 4.0. As such, I cannot read any previously posted topics or post any new topics on websites using this font.

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

Maybe you are looking for

  • Testing if an image is null

    Hi guys, Was wondering if you could help me out. I have a data block based on a table, and this table contains an image of type blob. Now, I have some items on my form that I only want to display if the image is not null and was wondering how I could

  • Alv interactive report  for secondary list

    Hi All, This is my code for ALV interactive report. Its working Properly for me when i select material number iam able to display the secondary list properly . if i sorted the basic list other than material number for ex . created date . iam uable to

  • Brand new I pad will not go past set up screen

    I just purchased an IPad2 WIFI I turned it on and got a screen asking what language I clicked English and nothing happens. What am I doing wrong?

  • How to sincronize Outlook 11 for mac calendar with iPhone calendar ?

    I am trying to sincronize my calendar in Outlook 11 for Mac with my iPhone 4. I used to sincronize without problem before I upgraded OS X to 10.9.1 Any suggestion ?

  • About the use  range of Multicast fusion?

    "Multicast fusion"- My understanding is this: It is just suitable for a company which is using a video meeting,and  for some clients those are outside the firewall, for more  bandwidth saving,the company should use "Multicast fusion" instead of "Muli