Updating Classes Running in Tomcat

I am running some JSP's which are using classes. Then I make a change to the class on another machine and recompile the class.
After this I copy over the existing classes onto the Tomcat server.
What I have noticed though is that Tomcat is still using the old classes. I have tried stopping Tomcat and restarting it, which does solve the problem.
Is there any way that I can update the classes without stopping and re-starting Tomcat?
Reason being is that there may be users currently connected to the web server and stopping it will stop them!

Some servlet engines support updating classes on the fly and some do not. The ones that do support that usually have a configuration option that allows you to turn it on and off, or to apply it only to certain servlets or directories. I don't know about whether Tomcat supports updating classes on the fly, but if it does you should find some configuration options for it.

Similar Messages

  • TableView - How to update a running balance column after any other column in the view is re-sorted

    To keep this simple and to illustrate a problem that I am trying to solve let's say we have
    a domain class that contains an income per day.
    This class has two persistent properties - populated from a database table - date and income.
    And there is one transient property - running balance - that shows the accumulated income
    starting from the first record. This property is not persisted and it is used only to show
    the running/accumulated income in a table view.
    This domain object is shown in a table view with three columns:
         - date
         - income
         - running balance
    The first two columns - date and income - are sortable. When the user clicks on the column
    heading these can will be sorted in ascending or descending order. The running balance
    column needs to reflect this change and be correctly updated.
    So the question is : how would you implement the running balance update after the data in
    the table has been updated by the user?
    Take 1)
    =============
    The obvious approach is to use "setOnSort" method to consume the SortEvent event and re-sort the
    data but the sort-event does not contain any useful information that would tell from which column
    the sort event originated.
    Take 2)
    =============
    Found a possible solution:
         - TableView.getSortOrder() returns a list that defines the order in which TableColumn instances are sorted after the user clicked one or more column headings.
         - TableColumn.getSortType() returns the sort type - ascending/descending.
         - This info can be used in the TableView.setOnSort() event handler to re-sort the data and update the balance at the same time.
    Take 3)
    =============
    When the TableView.setOnSort() event handler is called the data is already sorted therefore the only thing that needs to be done is to update the running balance.

    I  think I understand what you're trying to do. If I've missed it, apologies, but I think this will provide you with something you can work from anyway.
    I would listen to the data instead of watching specifically for sorting. This will be much more robust if you add new functionality later (such as adding and removing rows, editing the data that's there, etc).
    Specifically, for the runningBalance column, create a cellValueFactory that provides a DoubleBinding; this binding should listen for changes to the data and compute the value by running through the table's items up to the point of the item for which it's displaying the value. (Hope you can untangle that sentence.)
    Example. The important part is the cellValueFactory for the cumulativeAmountCol. I guess I should mention that you shouldn't try this exact approach with very large tables as the performance might be pretty bad (computations of the order of n x m on changing data, where n is the number of rows in the table and m is the number of visible rows in the table).
    import java.text.DateFormat;
    import java.text.NumberFormat;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Random;
    import javafx.application.Application;
    import javafx.beans.Observable;
    import javafx.beans.binding.DoubleBinding;
    import javafx.beans.property.DoubleProperty;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleDoubleProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.beans.value.ObservableValue;
    import javafx.collections.FXCollections;
    import javafx.scene.Scene;
    import javafx.scene.control.TableCell;
    import javafx.scene.control.TableColumn;
    import javafx.scene.control.TableColumn.CellDataFeatures;
    import javafx.scene.control.TableView;
    import javafx.scene.control.cell.PropertyValueFactory;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    public class CumulativeTableColumnExample extends Application {
      private final static int NUM_ITEMS = 20 ;
    @Override
      public void start(Stage primaryStage) {
      final TableView<LineItem> table = new TableView<>();
      // using the extractor here makes sure the table item list fires a list changed event if any amounts change
      // this enables the cumulative amount column to keep up to date when the amount in a different row changes.
      table.setItems(FXCollections.observableList(createRandomData(), new Callback<LineItem, Observable[]>() {
          @Override
          public Observable[] call(LineItem item) {
            return new Observable[] {item.amountProperty()};
      final TableColumn<LineItem, Date> dateCol = new TableColumn<>("Date");
      final TableColumn<LineItem, Number> amountCol = new TableColumn<>("Amount");
      final TableColumn<LineItem, Number> cumulativeAmountCol = new TableColumn<>("Cumulative Amount");
      table.getColumns().addAll(Arrays.asList(dateCol, amountCol, cumulativeAmountCol));
      dateCol.setCellValueFactory(new PropertyValueFactory<LineItem, Date>("date"));
        amountCol.setCellValueFactory(new PropertyValueFactory<LineItem, Number>("amount"));
        cumulativeAmountCol.setCellValueFactory(new PropertyValueFactory<LineItem, Number>("amount"));
        cumulativeAmountCol.setSortable(false); // otherwise bad things might happen
      final DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT);
      dateCol.setCellFactory(new Callback<TableColumn<LineItem, Date>, TableCell<LineItem, Date>>() {
          @Override
          public TableCell<LineItem, Date> call(TableColumn<LineItem, Date> col) {
            return new TableCell<LineItem, Date>() {
              @Override
              public void updateItem(Date date, boolean empty) {
                super.updateItem(date, empty);
                if (empty) {
                  setText(null);
                } else {
                  setText(dateFormat.format(date));
      cumulativeAmountCol.setCellValueFactory(new Callback<CellDataFeatures<LineItem, Number>, ObservableValue<Number>> () {
          @Override
          public ObservableValue<Number> call(CellDataFeatures<LineItem, Number> cellData) {
            final LineItem currentItem = cellData.getValue() ;
            DoubleBinding value = new DoubleBinding() {
                super.bind(table.getItems());
              @Override
              protected double computeValue() {
                double total = 0 ;
                LineItem item = null ;
                for (Iterator<LineItem> iterator = table.getItems().iterator(); iterator.hasNext() && item != currentItem; ) {
                  item = iterator.next() ;
                  total = total + item.getAmount() ;
                return total ;
            return value;
        final NumberFormat currencyFormat = NumberFormat.getCurrencyInstance();
      // generics hell.. can't wait for lambdas...
      final Callback<TableColumn<LineItem, Number>, TableCell<LineItem, Number>> currencyCellFactory = new Callback<TableColumn<LineItem, Number>, TableCell<LineItem, Number>>() {
          @Override
          public TableCell<LineItem, Number> call(TableColumn<LineItem, Number> column) {
            return new TableCell<LineItem, Number>() {
              @Override
              public void updateItem(Number amount, boolean empty) {
                if (empty) {
                  setText(null) ;
                } else {
                  setText(currencyFormat.format(amount));
        amountCol.setCellFactory(currencyCellFactory);
        cumulativeAmountCol.setCellFactory(currencyCellFactory);
        BorderPane root = new BorderPane();
      root.setCenter(table);
      primaryStage.setScene(new Scene(root, 600, 400));
      primaryStage.show();
      public List<LineItem> createRandomData() {
        Random rng = new Random();
        List<LineItem> items = new ArrayList<>();
        for (int i=0; i<NUM_ITEMS; i++) {
          Calendar cal = Calendar.getInstance();
          cal.add(Calendar.DAY_OF_YEAR, rng.nextInt(365)-365);
          double amount = (rng.nextInt(90000)+10000)/100.0 ;
          items.add(new LineItem(cal.getTime(), amount));
        return items ;
      public static void main(String[] args) {
      launch(args);
    public static class LineItem {
        private final ObjectProperty<Date> date ;
        private final DoubleProperty amount ;
        public LineItem(Date date, double amount) {
          this.date = new SimpleObjectProperty<>(this, "date", date);
          this.amount = new SimpleDoubleProperty(this, "amount", amount);
        public final ObjectProperty<Date> dateProperty() {
          return date;
        public final Date getDate() {
          return date.get();
        public final void setDate(Date date) {
          this.date.set(date);
        public final DoubleProperty amountProperty() {
          return amount ;
        public final double getAmount() {
          return amount.get();
        public final void setAmount(double amount) {
          this.amount.set(amount);

  • Help needed get JSF final release running on tomcat 5

    Hi there,
    I know my topic seems to be a easy thing which is often discusseb but I tell you it's not. And after searching the forum an the web... it's driving me crazy I want to make some development and tests but I can' get my stuff running on tomcat 5 and jsf final release.
    This is my last error message... seems like tomcat don't know anything about jsf...
    my directories---------------------------
    my webbapp
    -- WEB-INF
    classes
    lib
    scr
    web.xml
    faces-config.xml
    WEB-INF
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-logging.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    standard.jar
    web.xml ------------------------------------------------------------------------
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>MyWeb</display-name>
    <description>
    FElix
    </description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <!-- ############# Faces Servlet ############# -->
    <servlet>
    <servlet-name>JavaServer Faces Servlet</servlet-name>
    <servlet-class>
    javax.faces.webapp.FacesServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- ############# Mapping ############### -->
    <servlet-mapping>
    <servlet-name>JavaServer Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <listener>
    <listener-class>
    com.sun.faces.config.ConfigureListener
    </listener-class>
    </listener>
    </web-app>
    faces-config.xml---------------------------------
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
    <navigation-rule>
    <from-view-id>/eingabe.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/ausgabe.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <managed-bean>
    <managed-bean-name>Square</managed-bean-name>
    <managed-bean-class>src.com.edu.jsf.bean.SquareBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </faces-config>
    ERROR - MESSAGE
    org.apache.jasper.JasperException: /eingabe.jsp(19,3) No tag "input_number" defined in tag library imported with prefix "h"
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:83)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:402)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
    org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1346)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1598)
    org.apache.jasper.compiler.Parser.parseBody(Parser.java:1827)
    org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1100)
    org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1405)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1598)
    org.apache.jasper.compiler.Parser.parseBody(Parser.java:1827)
    org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1100)
    org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1405)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1598)
    org.apache.jasper.compiler.Parser.parse(Parser.java:171)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:258)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:139)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:142)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    I really stuck so any help is appriciated...
    I also tried to put the jars in the common/lib
    but still not working...
    I tried to get it running with jwsdp ... but same s*** ...
    best regards
    Felix

    thanks....
    this means... everything was working and I better should have read the notes...
    I went back.... installed jwsdp1.3 and everything was fine...
    so I will give it a try... change the classes and at this time i use the right tags...
    but this will also work for the tomcat downloaded from the apache.org site?
    I only need the jar files in the jsf-1.0/lib file and the latest jstl-jars ---
    thanks again
    reagards felix

  • Does WAR updates JSP timestamps on Tomcat?

    I answered another forum post with an answer that I'm not certain is correct.
    For the sake of argument, if you have a Tomcat-based website up and running, and Tomcat has compiled the JSPs on that site, subsequent changes to any included files are not recognized unless Tomcat is forced to recompile the parent JSP. This is usually by updating the timestamp on the parent.
    It is possible to deploy a WAR file to a live copy of Tomcat, that is, you don't need to restart it.
    If the WAR file has say, hello.jsp and hello.jsp has the same timestamp as the currently used version, does deploying the WAR file cause Tomcat to think the new hello.jsp is a change to the original, and therefore must be recompiled?
    I realize this is actually fairly easy to test, but I'm hoping someone knows the answer offhand?

    On deploying the WAR Tomcat unpacks the WAR, thus when accessing the JSP it does not see that the actual JSP file has been replaced (as you stated the timestamp on that is identical).
    Therefore there are only 2 scenarios in which Tomcat would recompile the JSP on call:
    1) when/if Tomcat is configured to discard compiled JSPs on reloading a web application (this might be theoretical. I don't know if Tomcat offers that option)
    2) when/if Tomcat discards compiled JSPs when redeploying a webapp.
    This of course changes your question to: does Tomcat delete compiled JSPs when redeploying a webapp :)

  • [svn:bz-4.0.0_fixes] 21088: Update readme. txt for tomcat authentication to include setup instructions for Tomcat 7.

    Revision: 21088
    Revision: 21088
    Author:   [email protected]
    Date:     2011-04-15 09:50:24 -0700 (Fri, 15 Apr 2011)
    Log Message:
    Update readme.txt for tomcat authentication to include setup instructions for Tomcat 7.
    checkintests: not run. not code change.
    Modified Paths:
        blazeds/branches/4.0.0_fixes/resources/security/tomcat/readme.txt

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Integration of a web application running on tomcat

    Hi all experts,
    I want to integrate a web application running Apache Tomcat/5.5.20.
    it's login page(jsp  page) have two input box uid and pwd.Login Application
    calls a servlet in Apache Tomcat/5.5.20 web.xml.
    For Accessing the loging page url is http://2.2.3.2:8080/uportal/Login
    I tried with app integrator
    URL Template  <System.protocol>://<System.server>:<System.port><System.uri>?<Authentication>
    URL Template fragment for User Mapping is
    login=<MappedUser>&passwd=<MappedPassword>
    But its giving error
    description The server encountered an internal error () that prevented it from fulfilling this request.
    java.lang.NullPointerException
         ubq.base.UEncryptionService.encrypt(UEncryptionService.java:29)
         ubq.base.UUserManager.loginUser(UUserManager.java:25)
         ubq.base.ULoginServlet.doPost(ULoginServlet.java:106)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Can any body help me ,My problem is that i cant change any code in backend application.
    Thanks in advance.
    Regd,
    Sanjay

    Hi Sanjay,
    Does the Tomcat is in the local System?
    If it is in local system try to run the application using
    <serverhost>://localhost:8080/......
    else for remote server
    Its always safe to add an entry (alias name) in drivers/hosts file with the ip address of the server like
    2.2.3.2     myLocalServer
    Now try to run and see.
    Thanks,
    Swathi
    PS:points are welcome:-)

  • My Mac wont let me download anything, even software updates. it runs the whole download then restarts but tells me an error has occurred

    My Mac wont let me download anything, even software updates. it runs the whole download then restarts but tells me an error has occurred.
    Please help! Nothing will download and i have a loading bar on start up!!!
    The mac hasn't ever given me any problems, it has been since plugging my new iphone 4s into it,
    As i havent had internet at my home for quite some time i dont know whether the fact the iphone was at a much newer version than the mac it confused itself????? help me please!?

    Hi there,
    If you go to the Apple equivalent of: Appdata\Roaming\Apple Computer\iTunes\iPhone Software Updates (sorry am a mere PC user )
    If there is a file titled iphone1,22.1_5F136Restore then try deleting it and then running iTunes without your iPhone attached.
    Go to the menu and select Help/Software Updates which should then notify you that there are updates and allow you to download them in advance of restoring.
    Hopefully this will download the update. Once completed attach the iPhone and restore.
    Hopefully this might sort your issue out.
    Ciao

  • How can I remove a file on server w/ my JSP app running on Tomcat 7 ?

    First of all, I'm posting here because I found it the closest to java web development in the forums listing.
    How can I remove a file on the server side with my JSP app running on Tomcat 7 ? I did it in a JSE app by changing permissions, but how can I do it for a simple JSP app ?
    My code is
    public static void excluirArquivos(String nomeArquivoExcluido) {
              File arquivoExcluido = new File (nomeArquivoExcluido);
              arquivoExcluido.setWritable(true, true);
              SecurityManager sm = new SecurityManager();
              try {
                   sm.checkDelete(arquivoExcluido.getAbsolutePath());
                   System.gc();
                   if (arquivoExcluido.delete()) System.out.println("File '" + nomeArquivoExcluido + "' successfully removed.");
                   else System.out.println("File '" + nomeArquivoExcluido + "' wasn't removed somehow.");
              } catch (SecurityException se) {
                   System.out.println("File '" + nomeArquivoExcluido + "' can't be excluded. There is no permissions.");
         }And it always falls on the catch statement.

    899238 wrote:
    How can I remove a file on the server side with my JSP app running on Tomcat 7 ? I did it in a JSE app by changing permissions, but how can I do it for a simple JSP app ?1. make sure that the JVM has the (filesystem) rights to be able to remove said file
    2. make sure the file is in fact not locked (for example, opened by another process)
    3. use File.delete()
    There is no guarantee that you can delete a file, you can only make an attempt. There can be any number of reasons, most if not all of them not related to code, that the deletion of a file does not work.

  • TS1967 In the past, when I updated iTunes, some items would be 'lost'. I quit updating, still running 10.6 i do keep my files on an external hard drive, which I plug in before starting iTunes. If I leave the drive off, and update, would that keep me from

    In the past, when I updated iTunes, some items would be 'lost'. I quit updating, still running 10.6. I do keep my files on an external hard drive, which I plug in before starting iTunes. If I leave the drive off, and update, would that keep me from losing any files? Also, does anyone know how to search the iTunes store by price? I'm particularly interested in movies and audiobooks... Thanks

    iTunes does not have provision for automatically storing one kind of media on a separate drive, so you have some basic decisions to make first.  Do you want these movies to still appear in your iTunes library, or are you content with browsing filenames on a drive in Finder when you want to look for one?  The second's the easiest thing because then you don't have to have an external drive permanently turned on and attached to your computer (wired or wireless).  To do that you literelly only need to drag your movies folder to an archive drive and delete movies from iTunes.  To watch them again you can add it back to iTunes while holding down the option key so the movie is used from its location on the external drive.
    There's ways to move the movies to an external drive while keeping them in iTunes but the external drive iwll always have to be turned on and connected to the computer or you will see a bunch of broken link exclamation marks.
    Realize what you are talking about is not "backup".  Backup (which you should do) is putting a second or more copy of items on external drives for the day when your internal drive fails and everything on it is lost, inclduing all your home photos and perhaps things that have been pulled from the iTunes Store and can no longer be re-downloaded.

  • Safari quits -- blank page for 3 seconds after apple update -- cannot run

    I have a G-4 version 10.4.7. This apple runs good -- but, yesterday I received a standard update files from apple and did an update -- afterwards, my "safari" stopped running.
    Safari will open up for about 3 seconds and disappear. The template is there for about 3 seconds and doesn't allow me to type in anything in the search area. This all happened after a routine up-date from apple (not sure if this is the cause or not).
    Any ideas on how to get the sarafi up and running again? States "application quit unexpectedly.: mac os x and othe applications are not affected. click reopen -- then happens all over again. Any simple ways to solve this?

    Hello Nantucket Whaler, Welcome to Discussions
    ( a distance from the Gray Lady ; )
    Did you do permissions repair with the disk utility before and after the install do you follow these guidelines for installing os updates:
    1. Backup your data. If unsure what is the best method of backing up your data to keep it safe, be sure to start your own topic here and many posters will be glad to find the best method for your needs.
    2. Turn off Energy Saver and any automatic software updating mechanism from Quicktime, to Software Update, to third party updates.
    3. Dismount (if a data storage peripheral) and disconnect third party peripherals.
    4. Verify all your software including drivers for third party devices are known to work with the update in question, or needs the update.
    If it does not need the update to run stop right here, and keep on using the version of the operating system you are running.
    5. Do not update if your system is slow or unhealthy. Troubleshoot any system issues you may have with fonts, cache, or preferences before updating.
    6. Make sure all Apple Applications are stored in the Applications folder (except Applications Mac OS 9 for Classic applications).
    7. Repair permissions with Applications -> Utilities -> Disk Utility.
    8. Apply the right update for your machine. Use Apple menu -> About This Mac to determine if you have a G3, G4, G5 (PowerPC, also known as PPC), or Intel. Here are the updates by platform:
    Above from a.brodys Topic: Now that 10.4.6 is out, let's review the upgrade steps.
    It applies to 10.4.7 as well.
    The fix may be to " Following these steps and reinstall the 10.4.7 Combo up, make sure it is the right one for your computer ppc vs. intel.
    However first:
    Go to the home folder/~Library/Logs/Crash reporter/ Safari locate the most recent crash log starts from the date and next date indicatse a second log please post only 1, the last on is usually the latest check the dates, copy and paste the enire log here in a post.
    Then do a repair permissions-> with Disk Utility -> Applications/Utililies folder .
    Eme

  • Cannot get windows update to run after hard drive install and recovery

    I cannot get windows update to run after a new shdd 1 tb was installed.
    I have a pavilion dv7 4083cl. My recovery set did not work so I used the OEM set.
    Any help would be appreciated

    Hello kjdsynz,
    Have you taken a look at the HD & SSD manual?  Did the recovery fail?  If you take a look at this page for help with that.
    Please let me know if this has helped.
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • How do I run two tomcat on one webserver

    How Do I configure webserver to run two tomcat server.
    thanks

    make sure u have two seperate directories for tomcat.
    then edit one of the server.xml file and change the following port numbers 8080,8443,8009,8082 and 8081 to which ever port number u wish the second tomcat to run.
    For load balancing and fail safe settings, u will have to look at the documentation as this involves further settings to take care of
    good luck

  • Loading updated classes dynamically

    Hi,
    I have some classes in the classpath which I am modifying and using them in the
    weblogic. I have to restart the weblogic if those updated classes are to be loaded.
    Is there any way by which weblogic can automatically take those classes whenever
    they are accessed .
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TIA
    Ashwani Kalra
    http://www.geocities.com/ashwani_kalra/
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    I believe the same is true for 5.1. Just include all supporting
    classes to your ejb-jar. What's the problem?
    Regards,
    Slava Imeshev
    "Kiran Nalamk" <[email protected]> wrote in message
    news:3c4e2e0d$[email protected]..
    >
    Hai,
    I am also facing same problem with Wl5.1 can you help me on Wl5.1also what
    we need to do. Thanx in advance.
    Kiran Nallam
    "Slava Imeshev" <[email protected]> wrote:
    Hi Ashwani,
    All classes that are in the system class path are loaded by the
    system classloader and, as the result, can not be reloaded by
    weblogic. You need to compose your deployment properly.
    Remove classes you want to be reloaded from the classpath
    and include them into your deployments instead.
    Regards,
    Slava Imeshev
    "Ashwani" <[email protected]> wrote in message
    news:3c47d920$[email protected]..
    Hi,
    I have some classes in the classpath which I am modifying and usingthem
    in the
    weblogic. I have to restart the weblogic if those updated classes areto
    be loaded.
    Is there any way by which weblogic can automatically take those classeswhenever
    they are accessed .
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TIA
    Ashwani Kalra
    http://www.geocities.com/ashwani_kalra/
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Camera Raw Update Error "Another instance of Updater is running" CS5

    Hey, tried to open Raw files in cs5 today on a Rebel t3i I just got. Recieved error saying I needed to update raw plugin, knew it was gonna have to be done eventually. Been using a 50D for a long time without a problem.
    When I go to update the plugin I immediately get the error stating another instance of the updater is running. Can't be true. Nothing in task manager, restarted program and computer, no other users on this computer...what the hell?
    Live chat was useless, any ideas here?
    Edit: Also just tried to install ACR 6.4 since that's the minimum requirement for this new camera...same error!

    Thanks for updating the forum; hopefully someone else may benefit from your findings.
    I can't imagine how you connected that Hotfix with the Adobe updater issue - the two seem in totally different realms.  However you did it, good job!
    -Noel

  • Script update when running

    Oracle SQL Developer version 1.1.2.25 BUILD MAIN-25.79
    Running under WinXP
    Issue description:
    It is currently not possible to update the script that is currently running.

    open the sql file dialog
    type a select that take some time to execute
    you cannot update the running file in the mean time, text is locked

Maybe you are looking for