Refreshing JSP file for an exploded WAR without undeploying the WAR - 7210

The weblogic.Deployer utility with -activate option does redeploy my application. How do I prevent redeployment while refreshing. I'm using Weblogic 7.0.0.0.
          Thanks
          Senthil Kumar.S
          

Thanks mbg for your response.
          Our production environment does not support the option a. We use the
          option b approach.
          My config.xml looks like this for the webapplication
          <Application Deployed="true" Name="oas"
          Path="/tmp/senthil/oas3.7.1.5"
          StagedTargets="DOAS_MT_021_20501" TwoPhase="true">
          <WebAppComponent Name="oas" Targets="DOAS_MT_CLUSTER_1"
          URI="oas"/>
          </Application>
          I performed the following steps..
          1) Modified the following jsp file on the admin.
          /tmp/senthil/oas3.7.1.5/oas/customercare/contactus.jsp
          2) Ran the following command on the admin
          java weblogic.Deployer -adminurl t3://n.n.n.n:20501 -user system
          -password weblogic -name oas -activate customercare/contactus.jsp
          after running the command,
          I was able to identify the corresponding jsp file immediately updated
          on the managed instance under the stage folder. But the class file on
          the stage folder was not updated and neither the class file on the
          .wlnotdelete folder. I was using the pagecheckseconds on the
          weblogic.xml as -1.
          I stopped both the admin and manage, modified the pagecheckseconds to
          1 Hour and when I performed same steps as before, I was able to see
          the jsp file updated and also getting compiled (when accessed) and
          serving the updated content. Also the user session was kept intact.
          i.e. no interruption to the session. This was what I was expecting
          for. The strange thing is, it didn't wait for one hour to compile. It
          was compiling immediately when I accessed the modified jsp file. I'm
          not sure whether it would behave the same way if I put that value as 1
          day or some very big +ve value.
          I'm not sure whether I'm doing the right way. i.e. changing the
          pagecheckseconds to ve value. Also I'm not sure whether the ve value
          for the pagecheckseconds would create impact on performance.
          Thanks for your time.
          Senthil Kumar.S
          "Mark Griffith" <[email protected]> wrote in message news:<[email protected]>...
          > Ahh clarity. :D
          >
          > You can:
          >
          > a) deploy your exploded web app with -nostage option. Meaning nocopy, or in
          > otherwords "WLS when you deploy this Application to each server in the
          > cluster, don't copy the bits to each server, just deploy from this src".
          > What that means is that the path that maps to the directory of your webapp
          > must be accessible, or resolvable on each server that it is deployed to.
          >
          > java weblogic.Deploy .... -nostage -activate -source /myapps/mywebapp
          >
          > so that /myapps/mywebapp must be resolvable on each server that it is
          > deployed to. You can accomplish this via a shared network directory for
          > /myapps or you can copy and create /myapps your self on each of the
          > machines.
          >
          > b) deploy your exploded web app with -stage option. Meaning copy, or in
          > otherwords "WLS when you deploy this Application to each server in the
          > cluster, do copy the bits from my "source" to each server" In this case,
          > you will have to use refresh
          >
          > What command did you execute on with weblogic.Deployer
          >
          > Cheers
          > mbg
          >
          >
          >
          > "Senthil Kumar S" <[email protected]> wrote in
          > message news:[email protected]...
          > > Let me rephrase my requirement..
          > > My production environment is Weblogic 7.0.1 with a clustered environment
          > with exploded WAR.
          > > How do I refresh my jsp files with out undeploying my web application?
          > >
          > > When I tried by modifying the jsp file on the exploded directory on the
          > admin and ran the weblogic.Deployer utility, it successfully updated the
          > copy on the managed instance (I verified by checking the stage directory).
          > But the jsp was never recompiled on the managed instance and it was serving
          > old content.
          > >
          > > Thanks
          > > Senthil Kumar.S
          

Similar Messages

  • How do you convert .AVI files for using in iMovie without losing the original clip time and date

    Hi everyone! does anyone know how to convert .AVI files for using in iMovie without losing the original clip time and date? Handbrake, MPEG Streamclip and Evon all replace the original timecode with the date of modification. This is very frustrating when you are trying to keep the chronology right. I know that if you upload the files to iMovie from one device the chronology isn't a problem, but I'm adding video files from a couple of iPhones and a couple of camcorders. any help much appeciated.
    paul

    Hi everyone! does anyone know how to convert .AVI files for using in iMovie without losing the original clip time and date? Handbrake, MPEG Streamclip and Evon all replace the original timecode with the date of modification. This is very frustrating when you are trying to keep the chronology right. I know that if you upload the files to iMovie from one device the chronology isn't a problem, but I'm adding video files from a couple of iPhones and a couple of camcorders. any help much appeciated.
    paul

  • Compile jsp file for long time

    Hi All,
    I'm applying patch on EBS 11.5.9, now it's compiling jsp file for about 1hours.
    Below is the log file,
    enumerating jsps...13577
    updating dependency...13
    parsing jsp...13
    writing deplist...13577
    initializing compilation:
    eliminating children...10257 (-3320)
    searching uncompiled...13 (10 were stale)
    translating and compiling:
    searching untranslated...13
    translating jsps...
    Please advise.
    Thanks,
    Kevin

    I'm applying patch on EBS 11.5.9, now it's compiling jsp file for about 1hours.
    Below is the log file,What is the command you use to compile JSP file?
    It is normal for compiling JSP files to run for more than 1 hour, which depends on the hardware resources you have. So, I would suggest you wait and see if the job completes successfully.
    Thanks,
    Hussein

  • Include a jsp file for editing without compiling

    I am having trouble finding code to do this.
    I want to be able to edit a jsp file through my browser. I am to get everthing working except, the including of the jsp file itself. I have tried all the different types of includes, but they all compile the file. I want to be able to edit the source.
    Can anybody help me with this?
    Thanks
    Mossybreen

    I'm not totally clear on what you're trying to do.
    If you just want to be able to edit JSP source code and save it back to the file, you could probably create a page with a form that reads the file, dumps the text into a textarea, then writes it back to the file when you submit, although, personally, I wouldn't leave anything that dangerous on a public server in a million years. You'd be better off setting up WebDAV access or sFTP or something if you really need to edit your source code remotely. There's also a product from Macromedia called Contribute that allows you to do this, and there's another company that makes an applet that creates a WYSIWYG HTML editor in your browser. Unfortunately I can't remember the name, but it was pretty far from perfect anyway.

  • Which folder i have to put my .jsp file for web report?

    for web report(not the paper report) i put my .jsp files in the
    \reports\j2ee\reports_ids\web
    folder
    this is for the DS(Developer Suite)
    i'm trying to move this file to different machine where AS(Application Server)
    is installed.
    but couldn't find above path. where do i have to put .jsp file for
    web report?
    or do i have to modify in the registry? if so, where?
    Thanks

    Hello,
    Take a look to the thread :
    where to add new jsp reports directory location in path
    "...You have to keep jsp files under document root that is OH/j2ee/OC4J_BI_Forms/applications/reports/web directory. You can create sufbolders under this directory and keep jsp files. ..."
    Regards

  • Finding jsp file for the OA framework

    hi all,
    i working in the OA framework, and i need to do some changes in the application and i need to get the jsp files for the shopping carts, i connected to the server through ftp.
    from the about link in the shopping cart it says that the OA_HTML found in the path /u01/applcrp2/crp2comn/html/ but i coudn't find the jsp files for the shopping cart, i also need to locate the java classes for this files
    any help please, is there any documentation on this issue - the location of the files in the OA framework in the server.
    urgent please any tipes
    Mahdi

    Oracle guys - maybe it's time for a "sticky" post at the top of the forum entitled This is not the right forum for asking OA Framework questions.
    The OA Framework Forum is [url http://forums.oracle.com/forums/forum.jspa?forumID=210]here
    I am going to become the top poster on this forum just responding to these ;)
    John

  • How to add more than one JSP file for a single JSPDYNPage component

    Hello Everyone,
                           I am creating one portal application which involves JSPDYNPage component, while creating this component one JSP file is also created. But i want one more JSP file for my application ...i.e- for the same JSPDYNPage component. can anybody tell me how to create one more JSP for the same component.
    Thanks
    Chetan Deshpande

    Hi Pooja,
                 I tried the way u said, but when i try to create it(i.e- right click on pagelet folder & then new---> other......the way u said.) it asks for JSP file name but finish button is disabled even after entering the JSP file name.....is it that i am doing something wrong....please guide me for this & one more thing it asks for folder name also ...where to store that file....but when i try to enter anything.It doesn't show or doesn't allow me to do so
    Thanks
    Chetan

  • Where do I put config files for a webapp (war file)?

    To my understanding a war file is supposed to be dropped in. It's isn't intended to be unzipped by the person installing the webapp. Inside my web app I have some xml files I access to get configuration information for how the servlet works. This xml file is intended to be edited by the sysadmin using the webapp. So, it's obvious I can't put my xml file inside my war file otherwise they'd have to unzip it to edit it. So my question is, where do I put it? What is the normal place to put stuff like this for a webapp?
    Example:
    I make a servlet (or jsp/custom tags) that generates an explorer-like directory tree. It reads the tree folders and files from an xml file. So one sysadmin might make a tree that looks like this:
    Fruit
    |-apples
    | |-Gala
    |-oranges
    |-pears
    another sysadmin might make a tree that looks like this:
    Bookstore
    |-Technical Books
    | |- JSP to go
    |-Children's Books
    |-Dr Seuss
    And these are defined in the xml file.
    It's driving me crazy because I want to make my webapp deployable in a war file. Since I have to unzip it right now, the war file is useless.
    Thanks,
    David

    I don't have the answer, but I understand your pain. I was trying to figure this out last year before my company went out of business and made this problem go away.
    The issue is that you want to have a user install your webapp by deploying the war file and configure the app without unzipping the war file. If you can start the webapp first, why not just put the default or empty configuration file somewhere in your webapp director structure and write an administration servlet or JSP to configure it.
    If you must configure the application before it can start up, the following might apply.
    The obvious approach would be to install a properties or xml file separately from the war file and let the user edit that file. The problem is that your servlets and jsps need to be able to find it at run time. This is problematic because the current directory for relative paths seems to vary from one server to another. If I remember correctly, on Windows NT running Tomcat, current directory points to C:\jakarta-tomcat-x.x.x\bin. When running Websphere, it points to C:\WINNT. You can figure this out for the server your user is going to be running and have them put the file in one of those places. But I don't like putting my application files in places like that.
    I can't remember at the moment how it works in other servers, but at least in Tomcat you might put the configuration file in the webapps directory with your war file. Then you could have your servlet do a getServletContext().getRealPath() or something like that and back up the path one level to get to the file.
    At one point I thought it would be nice to put the path to the configuration file in the system environment, but we couldn't find any way in Java to get access to it.
    Will.

  • Alternate deployment descriptor for an exploded war (web.xml/weblogic.xml)

    Hi.
    I believe this is a simple question: Am i able to deploy an exploded war directory using an alternate deployment descriptor (web.xml outside the directory structure of my application)? According to the docs, I can do it for an ear, but I'm not sure if it can be done for an war.
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81b/deployment/concepts.html#1001945
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/config_xml/Application.html#AltDescriptorPath
    Thanks in advance.
    Best regards,
    Daniel.

    Or should i use a deployment plan?
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/deployment/config.html#wp1057141

  • Using a .JSP file for the webservice

    Hello,
    I am using a .JSP file to view my webservice, just like in this tutorial: http://otn.oracle.com/tech/webservices/htdocs/series/news/content.html
    But when I try to run my JSP file i get this error:
    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/InternAdressen-InternAdresProj-context-root/internadres.jsp
    Exception:
    java.lang.NoClassDefFoundError: _InternAdres
         java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String, byte[], int, int, java.security.ProtectionDomain)
              native code
         java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain)
              ClassLoader.java:493
    and a lot more of errors like this. Can you help me?

    It didn't work. I still get this error:
    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/InternAdressen-InternAdresProj-context-root/internadres.jsp
    Exception:
    java.lang.NoClassDefFoundError: _InternAdres
         java.lang.Class java.lang.ClassLoader.defineClass0(java.lang.String, byte[], int, int, java.security.ProtectionDomain)
              native code
         java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain)
              ClassLoader.java:493
         java.lang.Class java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource)
              SecureClassLoader.java:111
         java.lang.Class oracle.jsp.app.JspClassLoader.loadClass(java.lang.String, boolean)
              JspClassLoader.java:682
         java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
              ClassLoader.java:255
         oracle.jsp.runtimev2.JspPageInstFacade oracle.jsp.runtimev2.JspPageInfo.getInstFacade(oracle.jsp.provider.JspClassProvider, javax.servlet.http.HttpServletRequest)
              JspPageInfo.java:160
         oracle.jsp.runtimev2.JspPageInstFacade oracle.jsp.runtimev2.JspPageTable.getInstFacade(javax.servlet.htt[i]Long postings are being truncated to ~1 kB at this time.

  • How to create a movie file of java 3D animation without altering the code?

    Is there a way to create a movie file of a Java 3D animation without altering the source code of the Java 3D animation program???
    Because as what I observed, most of the forum recommends extracting the bufferedimages of the animation. And, then using the bufferedimages to do a movie file. In this way, I will need to add in new code in the animation program in order to extract the bufferedimages.
    So, is there an alternative way?
    My objective is write a program to create movie file of any Java 3D animation.
    Pls advise me. Thanks a million.

    I'm curious as to why FRAPS will record java3d and
    not a java2d app? is there something that Java3d
    sets that makes it recognizable by fraps? or?? could
    someone or messengers ( =D!) explain this for me?Seems that only in JDK 5.0 or later, does the 2D api automatically use a DirectX or OpenGL rendering pipeline (if available).
    Further, these automatic pipelines accelerate polygons and the like, but not low level Graphics2D bit blitting operations.
    There are JOGL apis that allow better control over acceleration, and are considered 'thread safe' (single threaded) whereas DirectX pipelines are not.
    Interesting demos of this here:
    https://jogl-demos.dev.java.net/applettest.html
    and
    http://www.hardcorepawn.com/RandomGL/
    Fraps (commercial) and Taksi (opensource) will reveal that you are actually using acceleration, since they intercept the pipeline at the openGL (and DirectX) level.

  • How do I save an adobe photoshop cc file for photoshop touch and still retain the layers?

    I want to continue working on my .psd image in my wacom cintiq companion hybrid, but it only has touch and when I open the photoshop file there, the layers compress. What do I saw it as so this doesn't happen?

    I am not sure whether this is what you are looking for but:
    Cmd+Opt+Shift+E will add a composite (flattened) layer without affecting the layers that created it.

  • Looking for sample ANT files for building workshop webservice app outside the IDE

    Hi,
    I am currently planning to use Workshop for implementing a webservice application.
    I am looking for any sample ANT files that would enable me to build and deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

    Hi Raj,
    Yup, I did see that sample file. However, it only demontrate how to build an
    EAR file. I am also looking for samples of how to generate the client JAR (using
    proxy to gain access to the webservice) and also how to deploy the web service
    EAR file to the server.
    I tried to use the ANT tag "clientgen" referencing the generated EAR file. It
    complainted of the missing WAR file. I checked the content of the EAR file and
    found no WAR file generated.
    I am also looking for a better way of accessing the webservice more generically
    instead of going through the proxy which is quite coupled to a specific app server.
    Please provide examples.
    Regards,
    Bao Nguyen
    "Raj Alagumalai" <[email protected]> wrote:
    Hello Bao,
    Please refer to my post "Ant script for building EAR "dated August 21
    2003.
    I have attached a sample which does this.
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1285&utag=
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Bao Nguyen" <[email protected]> wrote in message
    news:3f61477e$[email protected]..
    Hi,
    I am currently planning to use Workshop for implementing a webserviceapplication.
    I am looking for any sample ANT files that would enable me to buildand
    deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

  • How do I collect and organize files into a new folder without breaking the links to my media?

    I'm new to premiere pro, and learned that I probably should have figured out where to organize all of my files from the beginning, but in the post production phase, I have a bunch of audio and image files sitting all over my desktop, and I'm afraid that if I move them, I'll break the links to all of my media. Files I edited in CS6 Photoshop and Audition are of special concern (considering they get automatically routed to my desktop).
    Does anyone know how I can collect all of the files and media that were imported into my project, and and archive them into a folder without breaking the project's links to the original media? Perhaps there's a way to copy all of the files and move them into that folder, so that when I move the originals, I'll still maintain all of the links in the copied version?
    I tried using the project manager tool, but received an "unknown error message" each time I ran it. 
    Any organizational insight would be much appreciated!     

    Read Bill Hunt on ONE project setup idea http://forums.adobe.com/thread/919388?tstart=0
    Also read Metadata contained in folder http://forums.adobe.com/thread/1015001?tstart=0
    -and http://helpx.adobe.com/premiere-pro/using/transferring-importing-files.html

  • Encore cs4 files for creating dvd? where are the stored?

    Hi,
    I am in trouble.
    I have been working on project in Adobe Prem cs4 dragged it into encore.. all ok.
    made dvd.(some links I did didn't work...my learning)
    made dvd
    missed 3 seconds of footage.
    sorted in A prem. all gd in encore.
    remade dvd ( 4 hours to make)
    1 item had no sound.
    sorted in encore (2nd sound track instead of 1st) easy....
    remade dvd( 4 hours to make).
    computer took 20 minutes to show screen when turned on..
    It runs out of memory and i am looking for the place where secret files may be stored...maybe the ones that do the transcoding? or ones creating the dvd...maybe thats the cause???
    now i have 1.17MBof memory on my C: drive (300GB)
    xp service pack 3
    2.4 GHz 3.50 GB RAM
    2 external hard drives have Auto saves from Adobe Prem)
    I have deleted all the previous rendering which I thought was eating up the memory...)
    now i don't know what to do..
    absolutely desperate..
    What can I dump, so i can make the dvd and finish this project...
    Despeserate need a fresh brain to assist... it is all getting too technical//
    Cheers

    no typo... when i put mouse over C: that is what it said.. I minimsed Encore and Prem , as they were non responsive on every action for a minute or two... then closed, then uninstalled cs2 and then got 13 GB not enough to defrag( it did say it couldn't defrag a few files??? , which i do often.. enough to open them, tread very carefully, then burn the dvd. Preview was too slow to check, so luckily...well i checked all had sound, all footage was ok, all links worked and burnt. It took 4 hours to transcode, but it worked. Then I made 20 copies using encore...so with patience, assistance from the world I am back on track, but would love to clear the computer up so it can be defraged correctly and i have some speed back, and put my personal stuff back on, Pre project...CHEERS
    I use 2 external hardrive. 1 x 500GB Western Digital just USB, and 2nd one is Freeagent 300GB with power supply USB.
    My computer has only Software on it and is XPservice pack3  2.4 GHZ  3.50GB RAM. ASUS That is about all the techo stuff i know, ...wondered if graphics card could cause these problems??? it has been suggested???? what should i have??
    Cheers

Maybe you are looking for

  • Unable to Start Instance during hetrogenius system copy

    Hi, i am doing heterogeneous  system copy from source windows 2003 & MSS-2005 to Target RHEL 5.5 & Oracle 10.2.0.4. It stopped in Start instance phase. Here is log of sapinst.log Starting SAP-Collector Daemon 18:59:20 13.01.2011   LOG: Effective User

  • How to find out the port of CORBA on OAS

    Hi everyone, I am using OAS 4.0.8 on Solaris 5.6. From the manager, I can get port number for name service and ORB port respectively. However I still get this error: Communication error: Failure to access http://208.178.96.174:42/ows-bin/rmproxy.ior;

  • Automatic Payment F110, Using currency other than the currency of invoice.

    I want know if it is possible to make automatic payment by F110, paying through a currency other than the currency of the invoice? Using the f-53 transaction i know that is possible, but i must use the F110, because I generate a file to send to the B

  • Script logic error - Invalid object name 'tblStatus'

    Hi all, Running BPC 5.1 SP5 on SQL 2005. Has anyone ever seen this error message before? I only get the error message when choosing the run-time option in the package, to honor work status settings. This problem just appeared in the last few days, an

  • Safari 6.0.4 is compressing all web sites and images from both sides

    My MBP 13: (mid 09, 8 gb ram, OS X Mtn Lion v OS X 10.8.3 (12D78) I much prefer Safari but about a month ago Safari started showing compressed screens of website or other info. (I tried to post a screenshot here but couldn't figure out how to do it,