Hot deploying jsp tags

Hi does anybody out there no how to hot -deploy non ejb classes .Like jsp
          tags for example? It is extremely to code them without a hot deployment
          ability.
          Thanks in advance
          Jeff Anderson
          

Cameron,
          In general, what kind of "interesting bugs" and "design flaws" do you mean?
          I would expect that using any kind of cache can allow for bugs due to developers
          confusion... but are there inherent "bugs" (or design flaws) that are built into
          WL's Cache tag?
          Jack Lin
          Cameron Purdy wrote:
          > Install the latest SP. They are (relatively speaking) resource intensive.
          > However, properly implemented/used, this relative cost is close to 0.
          > (Instantiating a Java class and calling a few empty methods uses a couple
          > hundred clock cycles on a good JVM.) BTW Pooling is considerably more
          > expensive for simple objects than instantiating new ones. Also, due to
          > design flaws in the custom tag API, pooling JSP tags could lead to some
          > interesting bugs related to the lack of re-initialization.
          >
          > --
          >
          > Cameron Purdy
          > [email protected]
          > http://www.tangosol.com
          > WebLogic Consulting Available
          >
          > "Anthony Raiti" <[email protected]> wrote in message
          > news:39d4a35f$[email protected]..
          > We are researching JSP Tags as a method of seperating our creative and
          > coding efforts. Our research is showing that JSP tags is a resource hog and
          > noticed that none of the JSP Tags are being pooled. Docs that we have looked
          > at suggest that pooling does occur, but we do not see it happening. Is
          > anyone using this technology and if so how is the performance?
          

Similar Messages

  • Hot deploy jsp

    Can JSP modifications be hot deployed to app in production without restarting the server?
    Seenu.

    If you are deploying in exploded mode then u might be able to do this. If you are deploying an EAR file, then u can't.
    Kunal Mittal

  • JSP hot deploy

              I am having trouble hot deploying JSPs. What i mean by this is that when i make
              a change in the JSp and refresh the browser to see the output i still see the
              old output. I am using weblogic 8.1
              Could anyone help me out as to why this is happening?
              regards
              Ajay
              

              Ajay,
              Take a look at pageCheckSeconds in your weblogic.xml.
              More info can be found at http://e-docs.bea.com/wls/docs81/webapp/weblogic_xml.html.
              Good luck!
              Steve Bennett
              "Ajay Takoo" <[email protected]> wrote:
              >
              >I am having trouble hot deploying JSPs. What i mean by this is that when
              >i make
              >a change in the JSp and refresh the browser to see the output i still
              >see the
              >old output. I am using weblogic 8.1
              >
              >Could anyone help me out as to why this is happening?
              >
              >regards
              >Ajay
              

  • Delpoying JSP Tags on Resin

    Hi there,
    Can any one help me, guiding in Deploying JSP Tags on Resin .. where to place class files, JSP files , xml file and tld files.
    Thanks in advance,
    Naveen

    Hi, I've deployed mine on Resin, it was the exact same as Tomcat, except for the fact that it's faster and I didn't need to restart my Context :)
    I put the jar in the /WEB-INF/lib folder
    the tld in the /WEB-INF/tlds folder
    and the jsps in the doc root.
    It should be the same no matter which app-server you use.

  • Previous unanswered Hot deploy of non EJB, non JSP classes

              Subject to my last post I've since seen my questions has appeared twice on this
              newsgroup, March 2001, and Nov 2000 and no responses to it those times. Aren't
              there BEA engineers reading this newsgroup who would know the answer to that question?
              http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=3776&utag=
              http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=5171&utag=
              

              Firstly I already did call BEA support before coming here, this is my last resort.
              I can't get a definitive answer from support. They were the ones that actually
              suggested to me that I post here in the first place. I did search the BEA edocs
              and couldn't find anything on it.
              Secondly, I am using WL 6.1 SP1, and in the thread just beneath this one, which
              I referred to directly in my opening post on this thread, I do mention this in
              the opening paragraph, in fact I give considerable detail.
              Thirdly, I never implied there was an onus on any BEA engineer to answer anything
              here. What I did mean was that given that they do read these posts and they do
              answer posts, I was merely a bit concerned that as I'm third person to ask, it
              would be strange to still get no response given that they answer other questions.
              I mean if they don't know, then who does? It's a real simple yes/no answer, it
              would take 5 seconds.
              Paul
              Robert Patrick <[email protected]> wrote:
              >
              >
              >The answer is simple -- move to WLS 6.x and use enterprise applications
              >(or web applications or an EJB jar file)
              >to package everything up into a single deployment unit and hot deploy
              >the whole deployment unit. WLS 5.1 and
              >earlier do not support hot deployment of non-servlet/non-JSP/non-EJB
              >classes.
              >
              >Mike Reiche wrote:
              >
              >> You can always call BEA Support - 1.888.232.7878 to get the help you
              >need. This
              >> newsgroup is not official BEA Support. It is out of the goodness of
              >their hearts
              >> that BEA engineers help people out here.
              >>
              >> I don't really think you wanted everyone that read your email and didn't
              >know
              >> if such a feature was available, to send you an email saying 'No, I
              >don't know
              >> if such a feature is available'. That's why there were zero responses.
              >>
              >> None of the posts you listed mention what version of WL. That makes
              >a difference.
              >> Also read the online documentation at edocs.bea.com, search for 'hot
              >deploy'.
              >>
              >> Mike Reiche
              >>
              >> "Paul H" <[email protected]> wrote:
              >> >
              >> >Subject to my last post I've since seen my questions has appeared
              >twice
              >> >on this
              >> >newsgroup, March 2001, and Nov 2000 and no responses to it those times.
              >> >Aren't
              >> >there BEA engineers reading this newsgroup who would know the answer
              >> >to that question?
              >> >
              >> >http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=3776&utag=
              >> >
              >> >http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=5171&utag=
              >
              >
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >The answer is simple -- move to WLS 6.x and use enterprise applications
              >(or web applications or an EJB jar file) to package everything up into
              >a single deployment unit and hot deploy the whole deployment unit. 
              >WLS 5.1 and earlier do not support hot deployment of non-servlet/non-JSP/non-EJB
              >classes.
              ><p>Mike Reiche wrote:
              ><blockquote TYPE=CITE>You can always call BEA Support - 1.888.232.7878
              >to get the help you need.  This
              ><br>newsgroup is not official BEA Support. It is out of the goodness
              >of
              >their hearts
              ><br>that BEA engineers help people out here.
              ><p>I don't really think you wanted everyone that read your email and
              >didn't
              >know
              ><br>if such a feature was available, to send you an email saying 'No,
              >I
              >don't know
              ><br>if such a feature is available'. That's why there were zero responses.
              ><p>None of the posts you listed mention what version of WL. That makes
              >a difference.
              ><br> Also read the online documentation at edocs.bea.com, search
              >for
              >'hot deploy'.
              ><p>Mike Reiche
              ><p>"Paul H" <[email protected]> wrote:
              ><br>>
              ><br>>Subject to my last post I've since seen my questions has appeared
              >twice
              ><br>>on this
              ><br>>newsgroup, March 2001, and Nov 2000 and no responses to it those
              >times.
              ><br>>Aren't
              ><br>>there BEA engineers reading this newsgroup who would know the answer
              ><br>>to that question?
              ><br>>
              ><br>>http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=3776&utag=
              ><br>>
              ><br>>http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jsp&item=5171&utag=</blockquote>
              ></html>
              >
              >
              

  • Problems trying to "hot-deploy" class files in iPlanet. Want to deploy a compiled class (i.e. servlet, jsp) without having to bounce the server. Known issue in iPlanet? How can I get around?

    Currently iPlanet is not allowing us to hot deploy a modified class file(i.e., servlet) as it advertises. It doesn't seem to have a problem with jsp's however. But everytime we modify a servlet(say in an emergency), and wish to deploy, we still have to bounce the KJS. We would like to avoid this if possible. How? I heard this might be a known issue in iPlanet.

    I apologize but this is a clarification of this problem. We are having a problem dynamically reloading java classes that are referenced by jsp's and servlets. The problem DOES NOT exist when trying to reload jsps or servlets themselves. We would like to reload these classes without having to restart the processes. Any thoughts would be helpful. Thanks.

  • Hot deployment of class files (non-EJB)

     

    Also posting to the servlet newsgroup.
    "Craig Ambrose" <[email protected]> wrote in message
    news:[email protected]..
    >
    I am using WebLogic 6.1 and am interested in using auto-deployment indevelopment
    mode of JSPs and class files that those JSPs rely on. I have a simpleWebLogic
    application that gets deployed using the exploded directory format andwhen I
    modify the JSPs or the class files that they use everything reloadsproperly and
    a newly modified class file will be reloaded the next time the pageutilizing
    the Java class is requested.
    I have a much more complicated application (the one I am really doing workon)
    and I can't get the hot deploy of the class files to take effect. The JSPswill
    reload but I can't seem to cause the class loader to reload any changedclass
    files. If I use the WebLogic Console and un-deploy and then re-deploy theapplication
    then the class files will be reloaded, but I thought that wasn't necessaryfor
    hot deployment. This complex application stores many things in the HTTPsession
    context. I am wondering if that has an effect on the class loader fordependant
    class files.
    I'm pretty sure it is not a configuration issue as I have it working forthe simple
    application. I have the application deployed under the.\config\<domainname>\applications
    directory and am using the exploded directory format with the class filesalso
    exploded in the WEB-INF\classes directory.
    Any insights on dependancies of the hot depployment would be helpful.

  • Servlet Hot-Deploy with a WebApp

    Hi everybody,
    Does anybody know something about hot deployment of servlets in a web
    application (.war) ?
    I tried many things (setting reloadCheckSecs in properties, in web.xml,
    hot-deploy from console...) but nothing really worked.
    So I have to register a servlet for hot deployment in the properties, but
    then it doesn't belong to the application.
    Thanx,
    Markus.

    Are u saying that WARs are redeployed automatically but not individual servlets,
    or neither?
    Thanks.
    Viresh Garg wrote:
    Currently the automatic hot deployment of a servlet/JSP from exploaded WAR is
    broken. We are in the process of fixing it for next release. You have to
    redeploy your web application right now, for the change to take place.
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    "M. Hammer" wrote:
    Hi everybody,
    Does anybody know something about hot deployment of servlets in a web
    application (.war) ?
    I tried many things (setting reloadCheckSecs in properties, in web.xml,
    hot-deploy from console...) but nothing really worked.
    So I have to register a servlet for hot deployment in the properties, but
    then it doesn't belong to the application.
    Thanx,
    Markus.

  • Hot deployment while running...

    Hi there!
    Does any body have experience HotDeployment while end user are using the application?
    For my self I got a real problem with HttpSession. After hot deployment all
    sessions are invalidate!! I mean "request.getSession(false)" return false. I
    have already carefully read documentation and pointed out that object store in
    session must be serializable. OK it's done. Now what else should I check?
    Thanks!

    redeploying will invalidate a servlet session. this is not a bug, but rather the intended
    behavior.
    if all you want to do is update content (jsp's, html, gif, jpeg, etc) you can use the
    refresh tool.
    it is a light-weight operation, instead of the heavyweight redeploy.
    to use it, please run the command:
    java weblogic.management.tools.WebAppComponentRefreshTool
    (this tool is compatible with 6.0 and 6.1)
    tracey
    "Thierry Giguère" wrote:
    Hi there!
    Does any body have experience HotDeployment while end user are using the application?
    For my self I got a real problem with HttpSession. After hot deployment all
    sessions are invalidate!! I mean "request.getSession(false)" return false. I
    have already carefully read documentation and pointed out that object store in
    session must be serializable. OK it's done. Now what else should I check?
    Thanks!

  • Auto Deployment versus Hot Deployment

    Hi,
    Can anyone one please tell me what the real difference is between auto deployment versus hot deployment in WLS 8.1 SP4 as I am confused after reading the documentation.
    Can they both be individually enabled or disabled?
    Can I just disable Auto deployment and only use Hot deployment (or is hot deployment another name for manual deployment).
    I know in Jrun that you can add hot-deploy directories in Jrun console, where now when a developers put a new WAR file or an updated WAR file - the server automatically deploys/redeploys it at that moment (this hot deploy directory could be any directory on the server or even on a different NTFS drive on same server).
    Can this be achieved with WLS 8.1?
    Thanks
    J

    AutoDeployment automatically deploy/redeploy or undeploy the application when the application is put or removed from the applications folder under the wls domain directory. It is only available in Admin Server while it is running in development mode (default mode). It is not available if the Admin Server is running in Production mode.
    Hot deployment deals with updating the application modules like ejb or war inside an ear without redeploying the complete application. This is dependent on the classloader structure of the given application. So if a ear has a webapp and a ejb with default classloader structure, then only the webapp can be hot redeployed without complete application redeploy. It can be used for apps deployed on both Admin and Managed servers and is available for both production and development mode.
    Autodeployment is mainly to save the developer from running the deploy command every time while the app is being developed iteratively. Just copying the updated application in the applications folder will redeploy the app on the Admin server.
    Hot deployment is mainly used to update the individual modules or jsps/servlets/classes in a module without redeploying the complete app.

  • I can't use JSP tags lib in IWS6

    I was trying to use JSP tags lib but the web server doesn't find the *.tld file. Some messages are shown:
    25/Jun/2002:19:40:28] info ( 5604): JSP: JSP1x compiler threw exception
    org.apache.jasper.compiler.CompileException: /local/iplanet/docs/menu_principal.jsp(1,0) Unable to open taglibrary http://apache.org/taglibs/dbtags : Could not locate TLD http://apache.org/taglibs/dbtags
    at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:707)
    at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:110)
    at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:218)
    at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
    at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
    at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
    [25/Jun/2002:19:40:28] warning ( 5604): Internal error: Failed to get GenericServlet. (uri=/menu_principal.jsp,SCRIPT_NAME=/menu_principal.jsp)
    I have some doubts about how to work with JSP Tags in iws6. What should I do to get this work?
    The tag lib is gotten from jakarta project and I'd like to know which steps i have to follow.
    Thank you very much

    Hi,
    What you have to do is this:
    - Include the jar file in the WEB-INF/lib
    - Include the tld file in a directory under WEB-INF, for example tlds
    - Create a mapping in the deployment descriptor (web.xml), to make the taglib available, something like this:
    <taglib>
    <taglib-uri>http://jakarta.apache.org/taglibs/io</taglib-uri>
    <taglib-location>/WEB-INF/tlds/io.tld</taglib-location>
    </taglib>
    Then in the jsp, you have to invoke it like this:
    <%@ taglib uri="http://jakarta.apache.org/taglibs/io" prefix="io" %>
    <io:http url="http://mustang:4004/NASApp/fortune/fortune" action="GET"/>
    Hope this helps
    Juan

  • Collaborative Development / Hot Deployment?

    We are a small development team (5-7 people) and have a need to develop collaboratively because each of us is working on small parts of a large application, and we have code dependencies upon eachother. We are looking for suggestions on how to develop collaboratively.
    We have attempted to use 9iAS to develop on - but every time we change any class files, we have to restart the OC4J container for them to be recognized error free. JDeveloper is out of the question because our current PC's cannot handle it (PII ~ 350mhz, 256RAM) and we cannot get new PC's for another year. We have attempted to run a standalone instance of OC4J on the server, but that still requires restarting the instance anytime classes are changed.
    Does anyone have any suggestions for collaborative development? Does anyone know of an environment that has a working hot deployment feature? We are not developing any EJB's, it is strictly a JSP/Servlet solution with Data Access classes for database interaction.

    Semi-speculation on my part follows:
              My understanding of "hot deployment" is that if a new ear file was placed in
              the applications directory it wouldn't supercede the old ear file until it
              was manually deployed. It may however get staged to managed servers but not
              actually deployed. i.e moved but not available.
              -Brett
              "Josh Garcia" <[email protected]> wrote in message
              news:3e1deefc$[email protected]..
              >
              > As I understand, hot deployment should ONLY occur when server(s) are in
              development
              > mode. Are there any cases where hot deployment can occur even when
              servers are
              > in production mode?
              >
              > A little more detail:
              >
              > We are running a WLS 7 SP1 cluster, and, even though our administration
              and managed
              > servers are all in production mode, our EAR is automatically deployed to
              managed
              > servers when placed in the 'applications' directory. Should this be the
              case?
              > I thought that I had to physically redeploy through the console if I was
              in prduction
              > mode.
              >
              > Josh
              

  • Hot deployment and JMX

    Hi,
    I need to know how classes are loaded in hot deployment. my problem is that I'm using a JMX server that has some MBeans registered into it, but when I redeploy an application, and the JMX server is recreated as are the MBeans, the JMX agent clearly points to the old instances of the MBeans instead of the redployed ones. It seems that only restarting the OC4J would fix the pointers.
    Is there any way to fix this? or do I have to restart the server every time I deploy an application?

    What option are you using for deployment ? Are you choosing re-deploy ? We recommend Oracle9iAS install in a test/production environment when
    the application has stabilized.
    Also if you are in a development mode and constantly changing your applications you should consider deploying your apps in standalone OC4J. You can choose to do open-expanded directory deployment.
    If you are using OC4J standalone:
    1) you can replace the EAR file in applications directory and it redeploys
    2) you can replace a Servlet class and change the time stamp on web.xml and it redeploys the srvlets
    3) It automatically redeploys the JSP files
    4) If your EJBs are changed, replace your EJBs and change the timestamp on application.xml and it redeploys
    Some of these options are disabled in OC4J embedded in Oracle9iAS to provide a stable environment for production applications.
    If you still have problems in hot-deployment in OC4J please send me a test case at [email protected]
    thanks
    Debu

  • Hot deploying web applications

              Hi,
              Is there a concept of hot-deploying whole web apps?
              I know that servlets and ejb's can be hot-deployed,
              but can context-paths be mapped to web apps without
              having to change the weblogic properties file and
              restarting the server?
              Thanks,
              j.joseph benavidez
              [email protected]
              

    We currently do not support hot deployment of war files. You can, hot
              deploy servlets and JSP.
              We plan to offer this functionality in a future release.
              Thanks,
              Michael
              Michael Girdley
              Product Manager, WebLogic Server & Express
              BEA Systems Inc
              Joseph Benavidez <[email protected]> wrote in message
              news:[email protected]..
              >
              >
              > Hi,
              >
              > Is there a concept of hot-deploying whole web apps?
              > I know that servlets and ejb's can be hot-deployed,
              > but can context-paths be mapped to web apps without
              > having to change the weblogic properties file and
              > restarting the server?
              >
              > Thanks,
              > j.joseph benavidez
              > [email protected]
              

  • The JSP Tag Exception

    I have a Struts V 1.1 application that uses Tiles Pluginn also. I have a layout file in which I have Header, Left Navigation Body, and footer. The body is tiles:insert page ="....". In the body I have a fmt:parseDate tag. If the date format in that tag is invalid the JSP somehow does not redirect to the error page. I do have the error page directive as <%@ page errorPage="/error.jsp" %>. It just shows ServletException right in the jsp text redered on a client browser. I have no clue why it would not process the error page JSP directive. Any help is appreciated

    It's complaining with a NoClassDefFoundError.
    Most likely you have something in your $CLASSPATH that depends on a
    class in your WEB-INF/lib. I'd start by removing anything you've added
    to the $CLASSPATH.
    Not sure why it's working when TwoPhase is false. There should not be
    any difference. Difficult to say without more info.
    You might find this eworld presentation helpful:
    https://www.bea-eworld2004.com/published/1144/1144_woollen_AG.pdf
    -- Rob
    Shyam wrote:
    Hi,
    I am seeing this strange problem - When I deploy an application using the weblogic
    console, it sets the attribute "TwoPhase" to "true" and I get a servlet exception
    which looks like one of the jsp tag classes isn't found in classpath.(I have tried
    putting the required jar in the web-inf/lib folder & had tried using the Manifest.mf
    classpath entry of the "war" file too). The same "ear" file gets deployed fine
    if I set this "TwoPhase" to "false". I will appreciate if anyone can explain what
    going on with this attribute and why weblogic doesn't seem to be able to find
    the class in one case but not in the other.
    The error message is something like this
    javax.servlet.ServletException: org/displaytag/tags/TableTag
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:452)
    Thanks,
    Shyam.

Maybe you are looking for