Do NOT share the JSP Working Directory among WL instances

          Somewhere in the WLS documentation it says it's ok to share
          directories among WLS instances in a cluster.
          It is NOT OK to share the JSP Working Directory because the
          instances are not synchronized about compiling JSPs and it
          is possible for one instance to be writing to a .class file
          while another instance is trying to load it.
          At least one site has told me they had 'class loading problems'
          and that the problems disappeared when they used separate
          JSP working directories.
          Mike
          

Mike,
          We got around this by 1, pre-compiling all the pages, and 2, at server
          startup, copying all newer pages local. This does require a restart to put
          new pages into production but it works great for us.
          Mica
          "Mike Reiche" <[email protected]> wrote in message
          news:3af6dab7$[email protected]..
          >
          >
          > Somewhere in the WLS documentation it says it's ok to share
          > directories among WLS instances in a cluster.
          >
          > It is NOT OK to share the JSP Working Directory because the
          > instances are not synchronized about compiling JSPs and it
          > is possible for one instance to be writing to a .class file
          > while another instance is trying to load it.
          >
          > At least one site has told me they had 'class loading problems'
          > and that the problems disappeared when they used separate
          > JSP working directories.
          >
          > Mike
          >
          >
          

Similar Messages

  • Create New gives an error "Could not find the user document directory"

    Fresh installed Adobe Edge Animate CC (2014). When I try to Create New, I get an Error popup "Could not find the user document directory"

    I think this worked!
    I just downloaded an example file and tried opening from outside of the program. At first it gave me some errors but then loaded it up.
    After that I've re-saved it and now I can create new files and open files.
    Before that I also uninstalled old CC programs that were not showing in the Adobe Creative Cloud apps.

  • When I logged on to itunes my daughters contacts uploaded to my iphone. We do not share the same itunes account. Does anyone know how to get rid of her contacts other then manually deleting them one by one?

    When i logged onto my itunes account, my daughters contacts uploaded to my iphone.  We do not share the same itunes account so i don't know how this happened. Does anyone know how to remove her contacts from my phone with out having to manually delete them one by one?

    Apparently, you have set up the same iCloud account on both devices or you are syncing both devices under the same user ID on the same computer and have ended up syncing both of them with the same address book on the computer.

  • How to list the top 10 largest files in the current working directory ?

    How can I list the top 10 largest files in the current working directory in Solaris ?

    execute below....to get the large files in order.. change the <FS>
    find /<FS> -type f -size +1024 -ls | awk '{print $11, $7}' | sort -rn +1 | awk '{print $1, $2/1024/1024 "MB"}' | /bin/more

  • Error when opening a new file: "Could not find the user documents directory"

    Why can't I create a new file and I get this error everytime: "Could not find the user documents directory"?

    Hi Team,
    Please check this forum thread with similar issue.
    Create New gives an error "Could not find the user document directory"
    Regards,
    Devendra

  • SignalR - Two Hubs must not share the same name

    I created asp.net mvc 5 application (call it "WebServices"), then i add my Hubs in a folder called "Hubs". Now
    what happened is that SignalR (2.0.2) generate JavaScript proxies for hubs in environment: 1-in local machine. 2-when i publish to azure web role. Now when i publish to azure website (.NET is 4.5 and websocket is opened),it didn't generate proxies. Now i tried
    to add hubs to App_Code folder ,and it generate proxies ,but the build action of the hub classes are "Content",when i change it to Compile it raised this exception :
    Two Hubs must not share the same name. 'Webservices.App_Code.MyHub1, App_Code.c9aucf2j, Version=0.0.0.0,
    Culture=neutral, PublicKeyToken=null' and 'Webservices.App_Code.MyHub1, Webservices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' both share the name 'MyHub1'.
    I love Silverlight ^^

    Hello,
    It seems this issue is more reagrding ASP.NET MVC, I suggest you posting to:
    http://forums.asp.net/1146.aspx
    There are MVC experts who will help you better.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to know the present working directory

    Hi ...
    I would like to know how we can print the present working directory path in our program.
    Any ideas?
    TIA,
    Krish

    File f=new File(".");
    String workingdir=     f.getAbsolutePath();
    System.out.println("workingdir "+workingdir);

  • After downloading software for 123Cheese Photobook (Australia), when I try to open the program, i get: "Initialization error... Could not create the application support directory 'Macintosh HD:Library:Application Support:123 Cheese:'. Please help.

    After downloading software for 123Cheese Photobook (Australia), when I try to open the program, i get: "Initialization error... Could not create the application support directory 'Macintosh HD:Library:Application Support:123 Cheese:'. Please help. The MacBook Pro is one day old.
    Thanks

    Hi, Im am also having this same problem,same message, trying to make a photobook with a non-refundable voucher. my Macbook pro is like 2 months old and im up to date with all of my updates.
    What ended up happening with this problem for you because, Ive emailed cheese123 3 times and they haven't replied???
    Can you help me? Thanx

  • Help: OJSPC can not compile the JSP with struts tag

    Hi,
    I am trying to precompile the JSP page with EAR package but OJSPC can not parse the Struts tags.
    I always get oracle.jsp.parse.JspParseException:
    Error: org.apache.struts.taglib.html.MessgesTei while reading TLD /WEB-INF/tld/struts-html.tld
    My OC4J version is 10.1.3.2 and I did tried putting the struts-taglib.jar to /opt/oracle/product/app10g/j2ee/home/jsp/lib or /lib/taglib
    but still do not work.
    Can anyone tell me how to configure the OJSPC and let it support customerized taglibs?
    Thanks a lot!

    This is a new problem with jdk1.4 when compiling with tomcat.
    The solution is to ensure that any classes in WEB-INF/classes are in a package structure and the relevant jsp calls the same using the package name.
    best
    kev

  • How to configure where the jsp _pages directory is created?

    Hi,
    I am running iAS 1021 for use with Portal. We have all our jsp's
    deployed in a read only environment. When JServ tries to run the
    jsp, it attempts to create the _pages directory for the compiled
    class file but it can't do so as it is trying to create it in
    the read only area. How can I tell Jserv to create the _pages
    directory somewhere else? I have tried using the
    servlet.ojsp.initArgs=page_repository_root=<directory>
    but this has no effect.
    Any help is appreciated.
    Roger

    No, Apache _home is a sort of the base directory for
    the apache installation. According to some literature I read today, this directory should've been /usr/local/apache/bin/, but that's not where I found my apache install (cygwin, I let the installer handle all the defaults).
    Mine was under /usr/sbin/, and to be correct I was looking for the httpd.exe (cygwin specific) file.
    I'd suggest running a find / -name (file you are looking for) to locate your resources.

  • After looking at movies shared with my imac on my ipad, there is no option to not share the home library. How do I go back to just the movies on my ipad.

    I downloaded, through wi-fi sync, a slides how I made on my iMac to my iPad mini. 1) I didn't see the slides how in the video folder 2) I saw a share option in the video screen and chose my iMac Library. Then I saw the video, but I can't play it on my iPad unless I have iTunes connected on my iMac. 3). I cannot find in Preferences, or on the Video folder on my iPad a way to not share my library from my iMac. 
    Can anyone help me with this?

    Can you attach a screenshot and maybe post a link?
    *http://en.wikipedia.org/wiki/Screenshot
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).
    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    If you have increased the minimum font size then try the default setting "none" as a (too) high value can cause issues.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    *https://support.mozilla.org/kb/Changing+fonts+and+colors
    It is better not to increase the minimum font size, but use an extension to set the default page zoom to prevent issues with overlapping text.

  • How to change the defualt work directory

    Hello
    I am using tomcat 6
    I have to use the work directory as D:/projects/jsp1.
    Currently it is /webapps/

    hi,
    Currently used defualt <tomcat home>/webapps folder for deploying archives to Installed Tomcat container
    i.e getFileHandler().append(getContainer().getConfiguration().getHome(), "webapps").
    This folder is specified in <home>/conf/server.xml under host tag there is attribute appBase and cargo should be able to get the directory from this configuration file.
          <Host name="localhost" debug="0" appBase="webapps"
           unpackWARs="true" autoDeploy="true">Change to ur Folder and try, Be Carefull while Modifying Configurations...

  • HT4623 I do not like the new iOS 7 operating system on my iPad.  I do not like the Safari works, I do not see a way to enter or search for a new web site.  Is there a way that I can go back to the older operating system?

    I do not like the new iOS 7 system on both my iPad 2 and iPhone 4S.   I can not like the way Safari works, I can not see a way to enter name to search for new web sites.  Is there a way I can go back to the old iOS 6.1.5 operating system on my devices?  Thank you.

    I can not see a way to enter name to search for new web sites
    Put your search terms in the combined URL and search bar at the top of the browser (exactly the same as you do in most modern desktop browsers such as Chrome, Safari, Explorer). There is no separate search box, just use the box where you enter web addresses.
    And no, you cannot downgrade.

  • Can not compile the jsp in Tomcat 4

    Hello anyone
    Now I use jdk1.4 and Tomcat 4.0.4, and put in the directory d:\j2sdk and d:\tomcat. Even I set the classpath as follow, I still compile jsp.
    SET CLASSPATH=.;D:\j2sdk\lib\tools.jar;D:\tomcat\common\lib\servlet.jar
    but at before, i can run it at Tomcat 3.2.
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:4: Class or interface declaration expected.
    import javax.servlet.*;
    ^
    D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:10: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.userCounter$jsp not found.
    public class userCounter$jsp extends HttpJspBase {
    ^
    2 errors, 1 warning
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)
    pls help, thank you very much!

    This is a new problem with jdk1.4 when compiling with tomcat.
    The solution is to ensure that any classes in WEB-INF/classes are in a package structure and the relevant jsp calls the same using the package name.
    best
    kev

  • Can you share a calendar and not share the attached to do list?

    I'm sharing a number of calendars with my o/h and I've got my to do lists linked in in iCal. I want to set up his to do list on his mac (so I can put lots of stuff on it, obviously) but when I open up to do's on his iCal, all my to do's are there ....
    Is there any way of not sharing to do's if you share calendars? I can't find anything on it.
    thanks
    Nicole

    I've done that and its a work around but the problem is I have home and work calendars and wanted to seperate out to do's for home and work....
    but thanks for the suggestion
    Nicole

Maybe you are looking for