My server still taking old class file

Hi,
I have got a J2EE application.
In that I have to modify a Java file.
I made the required changes and check it in the local test environment and find that it is working fine and the changes are reflecting in my application.
Then I copied the class file in the main server and deploy the server(i m using oracle9i server) .
After successful depletion ''THE CHANGES WERE NOT REFLECTED IN THE APPLICATION ".
I found the latest class file is copied in the application(checked the class file using D-Complier).
MY PROBLEM IS : WHY THE SERVER IS NOT TAKING THE LATEST CLASS FILE ??
IS THERE ANY PROBLEM OF WEB-CACHING ??
kindly advise how can i rectify it.
keep smiling.....
Debasis

The last response is correct. You have to stop the server and start it again to reflect the changes in the class file. Only the JSP files can be changed dynamically while server is running as the container compiles it if there is any change in the file. All other files need a server restart.
Thanks

Similar Messages

  • Tomcat Web-server uses old .class files

    Hi Friends,
    My Tomcat webserver uses old .class files. The problem persists even if I delete old class files. The new ones are formed but then if i again recompile, the new-old ones are used :)
    Am I doing something wrong????
    Please suggest!!

    I have experienced this problem before as well. Tomcat seems to cache compiled class files for better speed. To get Tomcat to reload class files that I've recently recompiled here is what I do:
    1. Go into the Tomcat server administration area (http://localhost/admin)
    2. Choose the context that is using the classes that you want to reload (from Service / Host)
    3. Make sure reloadable is set to true
    3. Click save, and then commit changes
    Hope this helps, but if there is a better way to get Tomcat to use the most recent class files I would love to hear it!

  • How to clear old class files cached in JVM

    JVM stores old class files in its cache even after the corresponding files have been deleted from the database. This causes a conflict if a new file is saved with the same name as one that was deleted earlier causing old data to be fetched and not the new one.
    am using the following line of code to load the class file :
    Class.forName(className, false, this.getClass().getClassLoader())
    please help
    Thanks - N

    Why are you trying to do that?
    Dynamic Classloading(reloading) has a meaing only on "application container" like WAS.
    Not appropriate for normal applcation.
    Focus on enhancing your application logic and algorithm rather than wasting your brain on difficult and meaningless things. Applying some flexible design patterns wouldn't suffice?
    Anyway, Sun provides wonderful and simple custom classloader sample.
    http://java.sun.com/developer/onlineTraining/Security/Fundamentals/magercises/ClassLoader/help.html
    Anayzing tomcat source(which is downloadable) is another approach.
    Edited by: Dion_Cho on Nov 26, 2007 5:18 PM
    Typo...

  • Caching of old class files

    Ok, I have a problem with oracle which appears to be that it is caching an old version of a class file. I get a class not found exception but the thing is the package that the error message is refering to doesn't even exist anymore and isn't refrenced in my code. I've verified that the class's being deployed aren't old versions as well and tried restarting the server as well as redployments of my application. Does anyone know where this caching maybe occuring? I know this happens sometimes in weblogic and you have to go in and manually delete the compiled class files from a weblogic directory.

    Hi,
    The caching of classes happens in the application-deployments/<you_application_name> folder. Just delete this folder and start OC4J.
    Regards.

  • Java plugin is hitting server to much for class files

    Hi,
    I am moving a jar plugin from the microsoft JVM to Sun JVM. It seems that while the file does run ok I am getting multiple hits to a handler.class file in multiple packages. As you see below:
    network: Connecting http://128.1.1.152:8001/cis/media/processor/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/media/processor/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/com/sun/media/processor/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/com/sun/media/processor/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/processor/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/processor/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/media/processor/unknown/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/media/processor/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/unknown/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/media/content/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/javax/media/content/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/javax/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/com/sun/media/content/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/com/sun/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/content/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/media/content/unknown/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/media/content/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/javax/media/content/unknown/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/javax/media/content/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/media/content/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/javax/media/content/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/javax/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/com/sun/media/content/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/com/sun/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/content/raw/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/content/raw/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/media/content/unknown/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/media/content/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/javax/media/content/unknown/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/javax/media/content/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/media/protocol/file/DataSource.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/media/protocol/file/DataSource.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/javax/media/protocol/file/DataSource.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/javax/media/protocol/file/DataSource.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/media/processor/audio/x_wav/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/media/processor/audio/x_wav/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/audio/x_wav/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/audio/x_wav/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/com/sun/media/processor/audio/x_wav/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/com/sun/media/processor/audio/x_wav/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/processor/audio/x_wav/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/com/ibm/media/processor/audio/x_wav/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/media/processor/unknown/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/media/processor/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/unknown/Handler.class with proxy=DIRECT
    network: Connecting http://128.1.1.152:8001/cis/javax/media/processor/unknown/Handler.class with cookie "company.appmodeCookie=crs; JSESSIONID=HjON7z0BRKgbRQxE3FfpNSktTFuz1QoEeElcz6AJ1GmQMaQh9Vxj"
    Can anyonetell me what I need to do to improve the performance of my plugin in this case. Is a parameter not set?
    Thanks,
    Marc

    If you are using the JDK 1.6 plugin, then you can set the "codebase_lookup" property to false to avoid these calls. Documented in
    http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/special_attributes.html#specialattributes
    If you're using JDK 1.5 or below, well, tough luck.

  • Java running old class file

    When I make a change to a Swing program and compile, it runs the old version, as if the changes were never made. Any ideas?
    I make a new directory and copy the java file, re-compile and it works...but I don't want to have to do that every time.
    Dan

    If you have like
    class1.java
    class2.java
    class3.java
    class1.class
    class2.class
    class3.class
    then make changes to class1.java and class2.java, then run javac class1.java, it will see that class2.class exists so it won't bother to recompile class2.java, either delete all the classes or do javac *.java
    Shish

  • Firefox still read old library file (.js) even if it updated

    Hi support team,
    Sometime when i used Firefox to test my site as local host browser.
    Firefox did not update my library file even if I saved the document. For the example, when I changed jquery file.js and then I saved it. And after that, I executed the HTML page again, Firefox still read my old code of Jquery. I dont know why but this problem happened many times. I also tested my site in other browsers such as IE and Chrome. And they worked fine, so I assumed that this may be a bug of the firefox. Please be noted that My firefox version is 22.0.
    My work around solution is I need to created the new file which may have different and or different location. and then let import the file from the new source instead.
    Please kindly let me know, if you have the solution for this case.
    Best Regards,
    Pornpoj H.

    Firefox sometimes is a little too aggressive in reusing cached files. You can bypass those by reloading with Ctrl+Shift+r. Does that help with jQuery?

  • Jar file downloaded still the old version

    If I update a new jar file in the web server, The jar file being downloaded by a remote pc is still the old jar file even if the java plugin cache has been deleted. In my source below, I have already specified applet option as plugin.
    Below is the source code for applet caching:
    Hope someone could help thanks
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width="0" height="0" align="baseline" codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    <PARAM NAME=<%=IboReserved.SCREEN_BUILDER%> VALUE="com.weserv.ibo.gui.InternetBanking">
    <PARAM NAME="trxcode" VALUE="0">
    <PARAM NAME="langind" VALUE="en">
    <PARAM NAME="country" VALUE="US">
    <PARAM NAME="code" VALUE="McpgApplet.class">
    <PARAM NAME="codebase" VALUE="http://mcpgdev.bancnet.net/apps">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    <PARAM NAME="cache_archive" VALUE="<%= appletArchive %>">
    <PARAM NAME="cache_version" VALUE="<%= appletVersion %>">
    <PARAM NAME="cache_option" VALUE="Plugin">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.3"
    width="0" height="0" align="baseline"
    code="McpgApplet" name="mcpgApplet" codebase="http://mcpgdev.bancnet.net/apps"
    pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html">
    <NOEMBED>
    </COMMENT> No Java 2 support for APPLET!! </NOEMBED>
    </EMBED>
    </OBJECT>

    download the zip file unzip it under windows install the drivers you need upgrading
    thats what I did and it updated my video card driver so windows stopped crashing

  • (newbie) Question about replacing .class files and web.xml file

    I'm new to servlets and I have two quick questions...
    Do I absolutely need a web.xml file to define all my servlets, or can I simply place .class files into the WEB-INF directory and expect them to run?
    If my application server (for example Tomcat) is running and I replace a servlet .class file, do I need to restart the server for the new .class file to take effect?
    ...or are both of these questions specific to the application server I'm using?

    Hi,
    From an article I read:
    With Tomcat 3.x, by default servlet container was set up to allow invoking a servet through a common mapping under the /servlet/ directory.
    A servlet could be accessed by simply using an url like this one:
    http://[domain]:[port]/[context]/servlet/[servlet full qualified name].
    The mapping was set inside the web application descriptor (web.xml), located under $TOMCAT_HOME/conf.
    With Tomcat 4.x the Jakarta developers have decided to stop allowing this by default. The <servlet-mapping> tag that sets this mapping up, has been commented inside the default web application descriptor (web.xml), located under $CATALINA_HOME/conf:
    <!-- The mapping for the invoker servlet -->
    <!--
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    -->
    A developer can simply map all the servlet inside the web application descriptor of its own web application (that is highly suggested), or simply uncomment that mapping (that is highly discouraged).
    It is important to notice that the /servlet/ isn't part of Servlet 2.3 specifications so there are no guarantee that the container will support that. So, if the developer decides to uncomment that mapping, the application will loose portabiliy.
    And declangallagher, I will use caution in future :-)

  • Overwrite class files

    Hi all;
    I have a question about the class files. Let's say that I have some errors when I compile the code. I make the corrections and recompile the code again. However, for some reason the new class files are not overwriting the previous ones.
    Therefore every time I compile the code I have to go to the file manager and delete the old class files.
    I am sure this a very basic problem. Has anybody got an idea. Is is because of the class path?
    Thanks in advance

    Thats queer... if the class is an applet then it could be that the JVM has not loaded the updated version. I know that when I make applets, I have to close all the internet windows usually to shut down the java plugin console and jvm. Then I recompile with my changes and then reload the applet, it's a slow process, but it works.
    In the case of a regualar Java program I'd suggest checking out settings in Windows, as javac.exe replaces without notice or conformation on its own. Or maybe the files are going somewhere else? Anyways, that sounds more like a Windows setting thing if it's doing it with an application.

  • Where do these class files go?

    I downloaded a library of code that I'd like to use in my program. It came packaged as some .java files and some .class files. Many of the .class files don't have corresponding .java files. I assume this is because they did not want us to see the source code. Can I still use these class files? I put them in the bin folder of my project (I'm using eclipse) but the code still can't recognize the objects from that class.
    I found this: http://stackoverflow.com/questions/661110/how-do-i-include-class-files-in-my-project-in-eclipse-java
    and I think I did correctly what they said to do. I moved the files to a new folder called lib, and then added lib to the buildpath as a class folder, but Eclipse can't find it.
    Edited by: JFactor2004 on May 19, 2010 11:06 AM

    Need to be under the folder in the package (i.e. com.org.blah....)
    You can also decompile any class file to see what are in there
    use JAD ecplise plug-in or JD (for java >5)

  • Including a class file into classpath at runtime.

    Hi all,
    I need to include a class file into classpath for at runtime. But the problem is tht this class file is produced by some other application n i nedd it to make the connection.(Actully i m trying to make SSL connection with other server whc requires the class file generated frm tht server must be in to classapth of the JVM.) How can i achieve this?
    I am trying to find out the ways to include the class file into classpath through Java pgm. But will it be done in case web application , if yes thn how?
    Thnx in advance
    ~Gaurav

    I would also like to add that we created another test class : Test.java in the same directory as the TestAccessClass.java and compiled this alone :
    javac -classpath ../../../../jars/ Test.java
    and it compiled fine without any errors !!
    This class also had the same single statement :
    String testVar = TestClass.getString(null);
    Sathya

  • Why tomcat is still looking for old jar files?

    Please help me it is a very serious problem.
    I updated one of the jar files used by the project. I am using a new method that is available only in the new library. I removed the old jar files in my local system, and everything worked fine. Then I commit those files to the subversion, which is in the testing server, and then I created the war file. The war is successfully created, then I deployed to the tomcat. But, now there is an error in the portion I am using the method that is only available in the new jar files.
    One of the error when I go to that portion is:
    1. No Such Method Exists
    The other errors on log files are:
    1.
    WARNING: Failed to open JAR
    java.util.zip.ZipException: No such file or directory
    2.
    validateJarFile(tomcat/webapps/ROOT/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spe
    c 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Please help me, I have tried every other way to solve this. I have tried removing all the old jar files there were, and replacing with the new one. I have tried creating a war file and ftping to the testing server.
    I problem is still there and it is because the testing server's tomcat is still looking for old jar files. I used Netbeans and add jar files as usual method.

    Check the contents of your WAR file that you are deploying on the testing server to see if it contains the JAR that you can't find.
    More than likely you are building your WAR file and your new JAR file is not being included in the build.

  • TB v. 24.0: Changed ISP's; ~ new email in Server Settings & Outgoing Server & all Address Books and Contacts; TB still showing old email ID for Fwd & Rply

    TB v. 24.0, Win 7 Pro. Changed ISP's. I use Outlook 2007; wife uses TB, same box. Changed TB username & e-mail address in Server Settings & Outgoing Server & set as Default. Changed e-mail address in all address books and Contact lists. Now TB still showing old e-mail address in <From> when Reply or Forward. This is confusing recipients, who have been sending their replies off to a now-nonexistent account. Checked Windows Contacts - empty. Checked my Outlook 2007 - all Contacts changed appropriately. How do I kill that old e-mail address in TB when it isn't even listed any more - except when we try to Reply or Forward?

    When you got the new email address and changed ISP's, you needed to create a new mail account for that new existing email address.
    When a mail account is created there are many preferences setup to be able to manage and run that mail account. Trying to track down and modify all of those within the either the config editor or prefs.js is not only time consuming, but you could easily cause further problems if any error is made.
    So I suggest you fix the original account by reentering all the old data. Then create a new mail account for the new exisitng mail address.
    * File > New> Existing mail account.
    or
    * 3bar menu icon > New Message > Existing Mail account.
    when you have both mail accounts in your left folder pane, you can choose to move any wanted emails from the older mail account into suitable folders in Local Folders. This will save a copy of emails.
    Then you can delete the old account, leaving saved emails in Local Folders and only one new mail account.
    To remove mail account:
    * Tools > Account sEttings
    * select old mail account
    * click on 'Account Actions'
    * select 'Remove Account'
    * click on OK

  • Ola Hallengren maintenance solution TSQL script not deleting old backup files from my local SQL server

    I have looked on Ola's site (https://ola.hallengren.com/frequently-asked-questions.html) and I did see this:
    DatabaseBackup is not deleting old backup files. What could the problem be?
    Verify that the SQL Server and SQL Server Agent service accounts have full control of the backup directory.
    If that directory is a network share, verify that the SQL Server and SQL Server Agent service accounts have full control of the network share.
    If you are using a proxy account, verify that the account is a member of the sysadmin server role and that it has full control of the backup directory and network share.
    Verify that the file is not locked in the file system; for example, a backup or antivirus software could be locking the file.
    DatabaseBackup has been designed not to delete transaction log backups that are newer than the most recent full or differential backup. This could explain why transaction log backups are not being deleted.
    I followed these instructions and then I right clicked the "sp_delete_backuphistory" job under "SQL Server Agent > Jobs" folder and clicked the "Start job at step ..." option. The job successfully ran, but my .bak backup
    files were still on located on my separate drive partition I use specifically for these backups. 
    The SQL Server and the SQL Server Agent are both using the same AD account. 
    Would any of you SQL gurus out there know how to resolve this?
    Thank you 

    The sp_delete_backuphistory job only deletes the historical info from the backup & restore tables in the msdb database. It does not do anything to the files on disk.
    https://msdn.microsoft.com/en-us/library/ms188328.aspx
    The code to actually purge the backup files from disk is inside the DatabaseBackup stored procedure. It is controlled by using the @CleanupTime parameter for that stored proc. Verify the value for that parameter is low enough to delete your files on disk. The
    value is in hours, and I believe the default is 48 hours. The SQL agent job name usually starts with "DatabaseBackup...".

Maybe you are looking for

  • How to print multiple footers for each page in RTF template xml report.

    Hi, How to print multiple footers for each page in RTF template xml report. i am able to print ( two sets ) ... up to last page ( one template ) and for last page ( another template). i want to change the footer information based on the group value p

  • I hate to say - DISATISFIED WITH with CUSTOMER CARE RESPONSE and VERIZON in all for first time.

    I am currently on National 900 plan on Motorola Droid. I switched from AT&T primarily because I love to use data on mobile. Verizon provided me the unlimited plan. I was a very happy customer with Verizon untill now. Scenario - Today, I called up Ver

  • Issue passing variable into shell script

    Please see terminal session. -  calling pwd, unset, or echo alleviate the issue. - running the script 'plain' also exihibit an issue - calling 'cat test.sh' causes an issue I can repeat the issue on OSX 10.5.8 On Ubuntu, two a's always print out with

  • 2 External Drives, 2 Catalogs?

    I have a large number of photos that I store along with my LR catalog on an external hard drive.  The drive was getting full so I purchased another drive to move my older files to.  What would be the best way to handle the LR catalog (currently just

  • HP Photosmart D5300 printer

    Pictures from computer are printing on office paper not photo =(