Can the servlet/jsp engine be brought down

Hello,
          Can the servlet/jsp engine be scheduled for a "in-house patch" not affecting
          the EJB Container? That means the jsp/servlet engine is brought down.
          (HotDeploy is a development feature). Does any version of WebLogic provide
          any way to do this?
          It is a single VM and I suppose that this is not possible. Just thinking out
          loud!!
          Thanks
          Gaurav
          

Sorry, but there's no way to apply a hot-patch to the server. Good idea, but
          very tricky to implement!
          If you were using a cluster with session-replication, you can cycle the
          servers one at a time. The other servers will pick up where the
          downed-server was working. You can then apply the patch, and bring up the
          server again. Give it a few minutes (an hour to be safe!) to replicate from
          the running server, then cycle the other server safely.
          Alex
          "Gaurav Khanna" <[email protected]> wrote in message
          news:3c7c1256$[email protected]..
          > Hello,
          >
          > Can the servlet/jsp engine be scheduled for a "in-house patch" not
          affecting
          > the EJB Container? That means the jsp/servlet engine is brought down.
          > (HotDeploy is a development feature). Does any version of WebLogic provide
          > any way to do this?
          > It is a single VM and I suppose that this is not possible. Just thinking
          out
          > loud!!
          >
          > Thanks
          > Gaurav
          >
          >
          >
          >
          

Similar Messages

  • How can the servlet engine create objects of interfaces?help

    hello,
    I have this basic fundamental query...when using servlets i noticed that so many methods in the HttpServlet class take as arguments objects of the type "Interface"..where as basic principle in java is u cant instantiate interfaces...interfaces r mere templates which u implement by ur own custom classes.
    For example the doGet method recieves from the servlet engine(servlet container) two arguments which r HttpServletResponse object and HttpServletRequest object..and u use these further to make use of the methods of the inmterfaces..which again is a mystery to me...why?
    here is why:-
    since HttpServletResponse and HttpServletRequest r interfaces..they cant be instantiated...and now that the sevlet engine provides objects of these interfaces...how come u r able to to use the methods of these interfaces...for r they not empty methods?..
    example how r u able to make the sendRedirect() method of HttpServletResponse interface work...is this method not an empty method?
    there r several interfaces...whose objects r being used and passed in this similar fashion....(for example there r many methods that return an enumeration...which is used as if it were an ordinary class that can be instantiated..and whose methods r non empty emthods)
    please help me resolve this mystery
    sheeba

    Don't call me "u". The word is "you". Likewise "are" and not "r".
    The servlet engine creates objects of concrete classes that implement those interfaces. If you want to find the names of those classes in your particular server, you could use for examplereq.getClass().getName()

  • How to find the servlet, jsp version available for SunOne 7 webserver

    hi ,
    I am looking for a command that can say the version of servlet, JSP container in Sun One7 webserver.
    as in weblogic we can do by command
    java weblogic.version -verbose
    is similar type of command is available for SunOne 7 web server

    Hi,
    Ask BASIS person to check the JMS driver which is installed on XI through visual admin.
    Thnx
    Chirag

  • Can the old music player be brought back???, Can the old music player be brought back???

    The new music player is not upto the mark and lagging.....it crashes also...
    Can the old music player be brouht  back???

    Hi davidfromsummerfield, 
    Welcome to the Apple Support Communities!
    In iTunes 11 you can make the MiniPlayer very small. You can customize it to just show album artwork, just show the songs up next, just show the controls bar, or a combination of the three. Please use the following article as a reference. 
    iTunes 11 for Mac: Customize the iTunes window
    Have a great day, 
    Joe

  • Retrieve a session outside the servlet/JSP

    Hi,
    I know that we usually use the following code to retrieve the session:
    HttpSession session = request.getSession();
    but what if we don't have the request.
    In my case I want to access the session to save some information before going to my tierP (JSPs + Action beans, ...) to be able to retrieve them after.
    Is the only way to do so would be to pass the session in param to my TierB ?
    Thanks for your help!

    I guess I also have to mention that I don't have access to a database... our databases are on our old mainframe (Cobol), then we are only connecting to the mainframe to get all the info we need, but once on the Java side I need to keep some information in my TierB if possible.
    For more details, I receive 1-9 questions from the mainframe everytime I link to it, but I don't want the TierP to deal with all those questions, then I would like to save them in the session in the TierB and always pass only 1 question to the TierP. When I get back to the TierB, I have to check if there are questions left, if not, link back to the Cobol side, if so, just pass the next question.
    This is a very small summary, but I think that you should have the main idea.
    Thanks again!

  • Can the servlet access ejb by ejb's local home?

    if yes, what is required?

    I have a similar problem. I have a ServiceLocator that looks up HomeInterfaces (Local and Remote) for SEJB's and EEJB's. But it only works for RemoteHomeInterfaces. My guess is that you can only access these local interfaces if you're in the same VM. JBoss uses another VM than your client. I'm still looking for a solutions for my problem but i'm not sure if it's worth it.

  • Can the Picture Frame change rate slow down?

    Twenty seconds is *way* too fast but appears to be the slowest it goes. Ideally something like twenty *minutes* is what I'm after.

    Yes, I saw that slideshow feature in Photos so was disappointed to find that the Picture Frame feature is simply the very same thing! While I would agree with Apple that 20 sec is probably ok for a slideshow, where the user is concentrating on the screen and actively *watching* it, a picture frame is entirely different, it's just glanced at occassionally. A picture frame that flashes up a different shot every 20 secs is very distracting.
    I suppose there is the solution of using lots of duplicates of each shot in an album to extend the time each is on screen, but even a 10 minute duration would need 30 copies of every image!
    Thanks again, I'm back to the App store now [even that is not straightforward - trying to find a photo app that is not all about adding tacky effects shouldn't be so hard. ]

  • Tomcat can't get the specified jsp-page.

    there are three jsp-page : Step1.jsp Step2.jsp Step3.jsp
    Step2.jsp and Step3.jsp are placed at the same folder,but Step3.jsp is placed at the different folder.
    Step1.jsp's content :
    request.getRequestDispatcher("/CH4/Step2.jsp").forward(request,response);
    Step2.jsp's content :
    <form name="form1" action="Step3.jsp" method="post">
    <input type="submit" name="submit" value="submit">
    </form>
    Step3.jsp's content :
    <c:out value="can you see this page " />
    the expectent procedure is : Step1 -> Step2 ->Step3
    but there is error : The requested resource (/CH4/MyJspCode/Step3.jsp) is not available.
    how to currect it ?

    The action on your form will be relative to step1.jsp
    So it will look for step3.jsp in the same folder as step1.jsp.
    This is because:
    The request was for step1.jsp
    The action attribute is a relative reference, not absolute, and thus is relative to the requested url - step1.jsp
    Although it was forwarded to step2.jsp, the browser knows nothing of this, and thus uses step1.jsp as its base.
    You can change this by including a base tag on the page.
    You can also give an absolute reference to the servlet/jsp but that involves harcoding the context name into the URL.

  • Prossesing request/reponse before they are forwarded to the servlet

    Untill today we have been using tomcat and weblogic 5.1 together but now
              we want to use weblogics servlet/jsp engine.
              The problem is that we have developed an Interceptor class that is
              processing the request/response before it is forwarded to the servlet
              itself. In this Interceptor class a lot of stuff is added to the
              request/response. I cant find any information on how to do this in
              weblogics servlet/jsp engine. Any thoughts/idea's on how to do that ?
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              Caput ApS Phone +45 33 12 24 42 Tommy Holm
              Nygade 6 Fax +45 33 91 24 42 Developer
              DK-1456 Kbh http://www.caput.com [email protected]
              

    Hi,
              You can write a preprocess servlet that adds anything you need to
              the req. res. and forwards it to the servlet.
              Angelovici Amos
              "Tommy Holm" <[email protected]> wrote in message
              news:[email protected]..
              > Untill today we have been using tomcat and weblogic 5.1 together but now
              > we want to use weblogics servlet/jsp engine.
              > The problem is that we have developed an Interceptor class that is
              > processing the request/response before it is forwarded to the servlet
              > itself. In this Interceptor class a lot of stuff is added to the
              > request/response. I cant find any information on how to do this in
              > weblogics servlet/jsp engine. Any thoughts/idea's on how to do that ?
              > --
              > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              > Caput ApS Phone +45 33 12 24 42 Tommy Holm
              > Nygade 6 Fax +45 33 91 24 42 Developer
              > DK-1456 Kbh http://www.caput.com [email protected]
              

  • Servlet/JSP question

    Hello guys I have just been reading the HeadFirst Servlet/JSP book from O'REILLY.
    I have used it as a workbook just to see how the framework are use. After ending this book I have planned to do some stuff by my self. I'm precisely in the last chapters of the book right now so I thought about headed toward the Servlet/JSP API. Well in there I found out that the information about JSP were all just about stuff which concerned the Container. I didn't find anything about the syntax used in JSP, the EL syntax nor how the JSTL 1.1 tags looks like! And there where nothing about the DD.
    So I'm wondering were I could fins this information, and why they aren't reserved in the JSP API?
    Another question, when was the JSP2.0/Servlet2.4 specification released?

    Which edition of the book were you reading? It should have covered EL and JSP syntax right?
    Servlet2.4/JSP2.0 has been around for at least 5 years. Can't remember the exact date, but the specification was finalised November 2003.
    The JSP API is from the programming perspective. Tag library documentation is seperate.
    Useful links for you:
    [JSP reference |http://java.sun.com/products/jsp/docs.html] - JSP tags and EL.
    [JSTL Apis|http://java.sun.com/products/jsp/jstl/reference/api/index.html] THE reference for JSTL. Don't be afraid of the JSTL specifications. They are quite readable, and document all the JSTL tags fully. I refer to them constantly.
    Cheers,
    evnafets

  • How to -only- invoke a Servlet/JSP

    Hi,
    I would like to invoke a Servlet or JSP inside a standalone application WITHOUT opening a stream. When I use url.openConnection() or con.connect() the servlet/JSP is not executed, I must also do "ObjectInputStream o = new ObjectInputStream(con.getInputStream());" in order to get the servlet/jsp executed.
    I just want to invoke the servlet/JSP, because I use the returned data for nothing.
    Thanks

    If you openConnection, you might also have to get the output stream from the servlet to make it work properly. (Otherwise, the server, or proxies in-between, might consider that the client has decided it doesn't want the page after all, and may stop requesting it.)
    A cheap way to request a page but get less data back would be..
    conn.setRequestMethod("HEAD");HEAD is exactly like GET, except it doesn't return the body (just the headers, hence the name.) Not entirely sure if it works on Java.
    Failing that, you should be able to just open the input stream, and close it again straight away.

  • Disable tomcat servlet & jsp examples

    Running apache 2.0.63 on my nw65sp8 server, using it to host my web
    page. Server is also running tomcat 4.1 for misc other things such as
    GW webaccess.
    I'm wondering what I need to do to 'disable' the servlet & jsp examples
    from being available from my webpage.
    IE, so if I go to the following urls, nothing happens:
    http://my_web_page/examples/servlets/index.html
    http://my_web_page/examples/jsp/index.html
    https://my_web_page/examples/servlets/index.html
    https://my_web_page/examples/jsp/index.html
    Thanks,
    Stevo

    Nevermind, got it.
    In the portion of my httpd.conf where I'm loading the jk_module stuff
    (IIRC I had to put this stuff in for webaccess), I rem'd out the line
    to jkmount the examples.
    Stevo

  • How to keep the servlet java code the JSP engine generated?

    Hello there!
              I am using some JSP in a web application, and would like to take a llok
              at the servlet java files th weblogic JSP engine generated.
              In my weblogic.properties file I have the following line:
              "# Set up WebLogic JSP properties
              weblogic.httpd.register.*.jsp=weblogic.servlet.JSPServlet
              weblogic.httpd.initArgs.*.jsp=\
              pageCheckSeconds=1,\
              compileCommand=F:/VisualCafeEE/bin/sj.exe,\
              workingDir=F:/weblogic/myserver/classfiles,\
              verbose=true,\
              keepgenerated=true"
              However, the only things I can find are the class files compiled from
              the servlet java files.
              Any suggestions?
              Thanks.
              Jeff.
              

    Moerover, if you follow the example web.xml Weblogic provides
              (http://www.weblogic.com/docs51/classdocs/sample_web_xml.html), the parser
              would complaint big time.
              The <servlet> and <context-param> tags have to be switched.
              Jeff
              "John J. Feigal" wrote:
              > I'm not sure why, but specifying keepgenerated=true in weblogic.properties
              > did not do the job for us.
              >
              > We had to add the following to our application's web.xml file:
              >
              > <!-- keepgenerated initArg to JSPServlet -->
              > <context-param>
              > <param-name>weblogic.jsp.keepgenerated</param-name>
              > <param-value>true</param-value>
              > </context-param>
              >
              > --
              > John J. Feigal Voice (651)766-8787 (main)
              > Sr. Technical Consultant (651)766-7249 (direct)
              > Ensodex, Inc. Fax (651)766-8792
              > 4105 N. Lexington Ave., Suite 150 email [email protected]
              > Arden Hills, MN 55126 WebSite http://www.ensodex.com
              >
              > "Jong Lee" <[email protected]> wrote in message
              > news:[email protected]...
              > >
              > > You have the init arg "keepgenerated" tunred on in weblogic.properties.
              > > The java file should be kept in the same directory of your jsp file.
              > >
              > > You can also use "jspc" to generate the java source.
              > > i.e:
              > > "java weblogic.jspc -keepgenerated yourjspfile"
              > >
              > >
              > >
              > >
              > >
              > > Jeff Wang <[email protected]> wrote:
              > > >Hello there!
              > > >
              > > >I am using some JSP in a web application, and would like to take a llok
              > > >at the servlet java files th weblogic JSP engine generated.
              > > >
              > > >In my weblogic.properties file I have the following line:
              > > >
              > > >"# Set up WebLogic JSP properties
              > > >weblogic.httpd.register.*.jsp=weblogic.servlet.JSPServlet
              > > >weblogic.httpd.initArgs.*.jsp=\
              > > > pageCheckSeconds=1,\
              > > > compileCommand=F:/VisualCafeEE/bin/sj.exe,\
              > > > workingDir=F:/weblogic/myserver/classfiles,\
              > > > verbose=true,\
              > > > keepgenerated=true"
              > > >
              > > >However, the only things I can find are the class files compiled from
              > > >the servlet java files.
              > > >
              > > >Any suggestions?
              > > >
              > > >Thanks.
              > > >
              > > >Jeff.
              > > >
              > >
              

  • How can I know which has brought down the database SI or SA

    Hi to all,
    Hi
    Sorry about this simple question but i am little bit confused.
    Suppose if i used Shutdown immediate and i use Shutdown abort then how can i know which brought down my database Shutdown immediate(SI) or Shutdown abort(SA)
    Please help me !!!!!

    Hi,
    Ofcourse shutdown abort will execute...
    See the output from alert log
    Tue Jun 01 11:54:17 2010
    Shutting down instance (immediate)
    Stopping background process SMCO
    Tue Jun 01 11:54:35 2010
    Shutting down instance: further logons disabled
    Tue Jun 01 11:54:39 2010
    Shutting down instance (abort)
    License high water mark = 125
    USER (ospid: 5436): terminating the instance
    Instance terminated by USER, pid = 5436
    Tue Jun 01 11:54:42 2010
    Instance shutdown complete
    Thanks,
    Ajikumar G
    Expertise in Oracle Apps...

  • Can't see my Servlet/JSP outputs

    {color:#0000ff}Hello there Java gurus,
    I'm really excited about Java but there seems to be something i'm missing out that is slowing me down. I understand the logic behind the Servlet and JSP technologies - having context root in the webapps subdirectory of the Apache Tomcat, placing other directories like servlets, WEB-INF, classes etc in their respective places and copying .class, .xml, and .html into the proper directory of webapps subdirectories- but still I can't execute properly to view the outputs of even the simplest Servlet and JSP codes.
    When I tried compiling my Servlet Java file to produce a .class file, it gave an error of "javax.servlet does not exist". What can I do again to make me execute my Servlets, because there's truely no javax.servlet in the Java subdirectory of my Program Files.
    Thanks in advance for making this guy smile.
    ***Smiles***{color}

    Ednut wrote:
    Thanks cutton_m for the response, but if you can be clearer on how to get the .jar files or any other file that'd help, i'd be happier. My jakarta-tomcat-5.0.25is successfully installed, and I really don't understand what u mean by j2ee libraries coming with the tomcat's container.
    You need the jars in your classpath.
    The jars came with the J2EE container - in your case tomcat.
    Just what should I do to get the output of my Servlets/JSP codes viewable?Get to build first would be a start.

Maybe you are looking for

  • Where can I get an additional power source for my MacBook Pro?

    I am travelling to Europe next week and will be travelling on the road quite often. I would like to get some work done during that time. My laptop battery will inevitably run out of power during that time and I would like to carry an additional power

  • How to transfer stuff from Iphone 3gs to new laptop....

    I had an old laptop with all the same info as on my Iphone 3gs. That laptop crashed so I got a new one. I wanT to transfer stuff from my Iphone to the laptop itself. Only I don't know how to do that. It's a windows 7 laptop.  Thanks to all. Cheerio! 

  • Apple Lossless & iPod 3G

    Hello, although there's already the iPod Video I wanna buy an iPod 3G cause of its better technical specifications. (In the moment I own an iPod Photo) My problem is that I only have Apple Lossless files and I do not know whether iPod 3G can play the

  • IDisk syncing error driving me crazy!

    Every time my iDisk syncs, it fails and I get an error message saying that a file can't be found. I know I deleted that file a few days ago. I looked on all my other computers and searched spotlight and can't find anything. I deleted some of the pref

  • Combination of barrel + pin cushion distortion in an old lens...

    I have several precious 35mm Kodachrome slides that were shot with an early 80's vintage Nikon 24mm f/2.8 lens, that had a                 combination of barrel and pin cushion distortion at the same time.  In two important shots, the edge of the fra