.Class file not updating

Hi all,
I am working on an applet that requires the use of a .class file. So, when I make changes to test.java, I want the changes to move over to test.class, however they are not moving over there. In a sense, my .class file is outdated and is not updating when I save my .java file or run it (as an applet). How can I get this file to update?
-Christ_guard

Christ_Guard wrote:
No, build automatically is on, and manually building does not work either.Then put aside the IDE and work with a text editor, javac and the jar tool until you figure out what you are doing. Obviously you are doing something wrong in your compiling and/or deploying steps and it's not productive for anyone, including you, to have us sitting around playing guessing games as to what might be the problem.
Also from your initial post it is clear that you don't understand the life-cycle of a Java program. Your java file is source, it has nothing to do with what happens at runtime. It is only the compiled class file that is important.
See http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html
If you are on a different OS then choose the applicable one here http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html

Similar Messages

  • External Class files not updating when "Delete ASO Files" executed

    I've got an external .as file in the same folder as my flash file. In the process of writing the code, whenever I make a change and then test the movie, the flash movie is obviously still looking at the OLD information. I tried using the "Delete ASO Files" on the menu, to no avail.
    I can' find these ASO files anywhere on my computer. ARE they hidden?
    Aha! I tried something else. I quit flash,restarted and ran the same script with no changes. It returned the data correctly, but then gave me this unpleasant message:
    256 levels of recursion were exceeded in one action list.
    This is probably an infinite loop.
    Further execution of actions has been disabled in this movie.
    There are no loops of any kind in the code, which is below.  Thanks in advance for your assistance.
    //This is the Person.as file:
    class Person {
    public var HomName:String = "unknown";
    public var HomEmail:String = "unknown";
    public var HomPhone:String = "unknown";
    public var HomSaveFreq:Number = 0;
    public var HomSavePeriod:String = "unknown";
    //constructor//
    function Person(sn:String, se:String, sp:String, ss:Number, ssp:String) {
      HomName = sn;
      HomEmail = se;
      HomPhone = sp;
      HomSaveFreq = ss;
      HomSavePeriod = ssp;
    //functions for getting and setting all properties
    function get myName():String {
      return HomName;
    function get myEmail():String {
      return myEmail;
    function get myPhone():String {
      return myPhone;
    function get myHomSaveFreq():Number {
      return myHomSaveFreq;
    function get myPeriod():String {
      return myPeriod;
    function set myName(sn:String):Void {
      HomName = sn;
    function set myEmail(sn:String):Void {
      HomEmail = sn;
    function set myPhone(sn:String):Void {
      HomPhone = sn;
    function set myHomSaveFreq(sn:Number):Void {
      HomSaveFreq = sn;
    function set myPeriod(sn:String):Void {
      HomSavePeriod = sn;
    //this is the flash movie code
    var Client:Person = new Person("Terry,[email protected],323-232-3232,6,day");
    trace(Client.myName);
    trace(Client.myEmail);
    trace(Client.myPhone);
    trace(Client.myHomSaveFreq);
    trace(Client.myPeriod);
    stop();

    I don't have an anonymous ftp site, but its so simple, lets keep it simple.
    1. Create a new Flash file, AS 2.0 and paste this snippet in frame 1 script panel
    var Client:Person = new Person("Terry,[email protected],323-232-3232,6,day");
    trace(Client.myName);
    trace(Client.myEmail);
    trace(Client.myPhone);
    trace(Client.myHomSaveFreq);
    trace(Client.myPeriod);
    stop();
    2. make a text file and put the following code in it, and name the file Person.as
    class Person {
    public var HomName:String = "unknown";
    public var HomEmail:String = "unknown";
    public var HomPhone:String = "unknown";
    public var HomSaveFreq:Number = 0;
    public var HomSavePeriod:String = "unknown";
    //constructor//
    function Person(sn:String, se:String, sp:String, ss:Number, ssp:String) {
      HomName = sn;
      HomEmail = se;
      HomPhone = sp;
      HomSaveFreq = ss;
      HomSavePeriod = ssp;
    //functions for getting and setting all properties
    function get myName():String {
      return HomName;
    function get myEmail():String {
      return myEmail;
    function get myPhone():String {
      return myPhone;
    function get myHomSaveFreq():Number {
      return myHomSaveFreq;
    function get myPeriod():String {
      return myPeriod;
    function set myName(sn:String):Void {
      HomName = sn;
    function set myEmail(sn:String):Void {
      HomEmail = sn;
    function set myPhone(sn:String):Void {
      HomPhone = sn;
    function set myHomSaveFreq(sn:Number):Void {
      HomSaveFreq = sn;
    function set myPeriod(sn:String):Void {
      HomSavePeriod = sn;
    //: <)McFrisco

  • Incopy files not updating

    Having a problem with Incopy files not updating after designers on Indesign prepare packages on second round of revisions.
    First, the designers create an Indesign file and prepare a newly created Incopy package. The editors are able to open the package for the first time. Editors make changes then repackage for designers. Designer then open package from editors and make necessary changes and then repackage back to the editors. At this point, the editors receive a message to replace when opening package. The files open but it doesn't update all the changes that was originally made to it. It as if it is still using the original assignments from the first newly created package. Also, all the assignments have "?" in the assignment window in Incopy. We are unable to figure out how to update the "?" in Incopy or relink or what ever we need to do at this point.
    Several things we checked.
    1. Unstuffing the package contents from the designers shows all updated file dates. So we know the package contains the newest updated assignment files.
    2. If the designers rename the file names on all the assignments in the assignment folder, then repackage. The files open on Incopy with updated changes. But not if the file name remains the same. Also, if the assignment files are all renamed, it doesn't ask to replace anything on Incopy.
    At this point. Our only solution is to rename all the assignment files and repackage. But we shouldn't have to be doing this, especially since it adds time to the designers to repackage the files.
    Designers using Indesign CS 3 on Mac OS 10.6.4.
    Editors using Incopy CS 3 on PC Windows.
    Any help would be greatly appreciated.

    When the InCopy user opens the assignment package for the first time, it unpacks (it's really like a .zip file) into a folder on their hard drive called InCopy Assignments. The folder is located in My Documents on a PC and in the Home > Documents folder on a Mac.
    Every unpacked InCopy assignment package goes into a subfolder within this InCopy Assignments parent folder. Each package's folder is named after the *assignment* name (not the name of the package itself, which is usually the same but not always). So if the assignment name is Chapter1.inca, then the subfolder name will be Chapter1.
    When the InCopy user repackages it for the designer, it packages a *copy* of this subfolder. This is the subfolder that Bob is suggesting they delete, after sending off the packaged InDesign file. That's a good idea.
    If you can't rely on your editors to do that ... many are very leery of throwing anything away ... then your designers should *rename the assignment* in their Assignments panel before creating an InCopy package for the second or third or whatever time. They can just double-click the assignment in the panel, the Assignment Options dialog box opens, and they can change the name from say "Chapter1" to "Chapter1-v2". They click okay, they choose Package for InCopy, and send it off.
    When the editor gets this file and double-clicks it, it unpacks into a different subfolder than before: Chapter1-v2, leaving the Chapter1 subfolder intact. So you avoid the prob of duplicate assignments on the InCopy user's hard drive.
    FWIW this was much more of a glitch with CS3. Not sure what Adobe did differently, but assignment packages are much more intelligent in CS4 and CS5.
    AM

  • Updated Class files not generated

    Hi ,
    I am using Eclipse SDK Version: 3.2.2 and have configured with my project and weblogic server. When the application is running in debug mode if necessary making some fix and when i use ctrl+b the new class file should be generated and immediately the application should refer to the new class file without expecting to restart the weblogic server.
    But that's not happening, when i do a ctrl+b the class files are cleaned and new class files are not getting generated,moreover this cleaning is also consuming lot of time.
    Can some body help me to resolve this , so that i can save lot of time in restarting the server for every small fix too.
    Regards
    Sathya

    Hi ,
    I am using Eclipse SDK Version: 3.2.2 and have configured with my project and weblogic server. When the application is running in debug mode if necessary making some fix and when i use ctrl+b the new class file should be generated and immediately the application should refer to the new class file without expecting to restart the weblogic server.
    But that's not happening, when i do a ctrl+b the class files are cleaned and new class files are not getting generated,moreover this cleaning is also consuming lot of time.
    Can some body help me to resolve this , so that i can save lot of time in restarting the server for every small fix too.
    Regards
    Sathya

  • Library files not updating

    Hi,
    I have successfully used library files in my web pages for
    years using a past version of Dreamweaver.
    I have just started using Dreamweaver MX 2004, and whenever I
    update a library file (that has already been inserted in an html
    file) the html file is not updated. I started a new web site from
    scratch, so am using only files that have been created by this
    version of Dreamweaver.
    In other words, updating the library file only updates the
    library file itself, and doesn't alter the html document that has
    the library file inserted into it. This pretty much means that the
    library file functionality in Dreamweaver MX 2004 is useless.
    Was there a bug fix for this that I needed to get?
    Cheers

    Try this -
    Use Site Manager to export this site definition to a place
    you can find.
    Then REMOVE this site definition. Then IMPORT the one you
    just exported.
    Does it work now?
    If it does not, can you confirm that your Library items are
    in a folder
    named "Library" and that this folder is in the root level of
    the local site?
    Also, are you uploading the local files after you have
    changed the Library
    item?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "chuckee" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi there,
    > yes I am using 7.0.1.
    > I've attached the code of the page that has the Library
    file inserted in
    > it
    > (support.htm).
    > Below, I have also attached the library file -
    header.lbi - (notice how it
    > has
    > two links that I added to it later, that did not update
    the file that it
    > was
    > inserted in, after I saved the library file).
    >
    >
    > SUPPORT.HTM
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    > "
    http://www.w3.org/TR/html4/loose.dtd">
    > <html>
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    > <title>SMTP2Go - Signup</title>
    > <style type="text/css">
    > <!--
    > .style1 {font-size: 12px}
    > -->
    > </style>
    > <link href="style.css" rel="stylesheet"
    type="text/css">
    > <style type="text/css">
    > <!--
    > .style2 {font-size: 12}
    > -->
    > </style>
    > </head>
    >
    > <body>
    > <table width="80%" border="0" align="center">
    > <tr>
    > <td><div align="right"><!--
    #BeginLibraryItem "/header.lbi" -->
    > <div align="right">
    > <p>Log In</p>
    > </div>
    > <table width="100%" border="0" cellspacing="2"
    cellpadding="0">
    > <tr>
    > <td width="16%">Home</td>
    > <td width="23%">How It Works </td>
    > <td width="21%">Sign Up </td>
    > <td width="18%">FAQ</td>
    > <td width="22%">Support</td>
    > </tr>
    > </table>
    > <!-- #EndLibraryItem --></div>
    > <form name="support" method="post"
    action="supportresponse.php">
    > </p>
    > <table width="65%" border="0" align="center">
    > <tr>
    > <td colspan="2"><p>We welcome all feedback
    to do with SMTP2Go,
    > and
    > any questions you may have.</p>
    > <p> </p></td>
    > </tr>
    > <tr>
    > <td width="28%">Name:</td>
    > <td width="72%"><input name="name" type="text"
    id="name">
    > </td>
    > </tr>
    > <tr>
    > <td> Email Address: </td>
    > <td><input name="email" type="text"
    id="email">
    > </td>
    > </tr>
    > <tr>
    > <td valign="top"><span
    class="style2">Message::</span></td>
    > <td><textarea name="message" cols="45" rows="6"
    > id="message"></textarea>
    > <br> </td>
    > </tr>
    > <tr>
    > <td> </td>
    > <td><input type="submit" name="Submit"
    value="Send"></td>
    > </tr>
    > </table>
    > <p> </p>
    > </form>
    > </td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >
    >
    > HEADER.LBI
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    > <div align="right">
    > <p>Log In</p>
    > </div>
    > <table width="100%" border="0" cellspacing="2"
    cellpadding="0">
    > <tr>
    > <td width="16%">Home </td>
    > <td width="23%">How It Works</td>
    > <td width="21%"><a href="signup.htm">Sign
    Up</a> </td>
    > <td width="18%">FAQ</td>
    > <td width="22%"><a
    href="support.htm">Support</a></td>
    > </tr>
    > </table>
    >

  • Why is U51 blocking individual class files not in jars but U45 accepted them?

    Let me answer the "why do you need individual class files?" question first. We have a rather large applet based application with a current client-side minimum jar download size of 1.8 MB. If we put ALL of our class files into jars, that size will probably double. Most users only use a small portion of the class files for their particular tasks. Which of the class files they use depends upon the tasks they perform. Having ALL users download ALL the classes, albeit compressed in jars, is extremely time consuming and a major problem after application updates due to the large number of users and the network load it would cause.
    Jar file manifest:
    Permissions: all-permissions
    Codebase: *
    Application-Name: MyApplication
    Application-Library-Allowable-Codebase: *
    Caller-Allowable-Codebase: *
    Trusted-Library: true
    We have 11 directories with one containing the applet and main client application code. The other 10 directories contain class files relating to the various sub-applications in the system. The system has a third-party runtime jar file, too.
    We have a private network and servers for our business so the exposure is small. This is a screen-scraping, reformattring application that does no real data processing so doesn't need the same security as a true data processing application. Since we are not open to the Internet and of limited security risk, we chose to keep a more simplified structure.
    This all worked under 1.7.0_45. I read the security guide and it was my understanding that these attributes in the manifest would also work for U51. Apparently not. Looking at the guides, now, it appears they have been changed sometime last year regarding mixed-code to mean jars with certificates and jars without certificates. The support for individual class files appears to have been removed. If this is true, then there should have been a beta of the U51 code because the rules seem to have been changed since the last release or there is a new bug.

    This is exactly my same problem. My app (and applet) is about 5 MB if I consider all the classes and libraries used by the app. (I mean 5MB is the size of the jar file). I can't ask customers to download 5 MB every time they want to access the program.
    We need java ask code signing for the principal applet but then we must have the possibility to run single class files as needed.
    Help us all please.
    Thanks Paolo

  • Css files not updating in localhost (XAMPP test server)

    I've got an issue with a web page I'm developing where the .css files that I attach to the pages will not update on my local host.  I can make a copy of the file with a different name and link it to the page.  However, if I name any file a name that I've already used then the CSS reverts to whatever was on the original documents.  This is making my php page testing a pain when I view the page in a browser.  The problem doesn't seem to occur for my other websites, and completely goes away when I select "none" in the testing server options.  I'm using XAMPP to run my localhost testing server.  I'm using Dreamweaver CS4 on a Vista machine.  Any ideas?  If nothing else it would be nice to know how to delete the old files that are stuck in the testing server directory.

    Strange thing...  I turned it off and walked away for a few hours.  Upon my return I found the issue resolved.  I blame the shoe elves.  Thanks, you little guys!

  • Ant tools: converter java card -  class file  not belonging to the package!

    Hi
    I have another problem with converter. Could you help me please again if you have the time?
    I have created a directory when I save the class files generated by javac. After That , I use convert in this way:
    <convert
    JCA="true"
    EXP="true"
    CAP="true"
    packagename="testUn/classes/testUn"
    packageaid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00"
    majorminorversion="1.0"
    verbose = "true">
    <AppletNameAID
    appletname="testUn.classes.testUn.PorteAppUn"
    aid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00:0x00"/>
    <classpath refid="classpath"/>
    </convert>
    Here is the answer of the computer:
    [echo] Generation of the CAP,JCA and EXP files...
    [convert] Java Card Ant Tasks, Version 1.0
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [convert] Java Card 2.2.2 Class File Converter, Version 1.3
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] parsing /home/ehoudart/app-manager/VersionZero/src/testUn/classes/testUn/PorteAppUn.class
    [convert] converting testUn.PorteAppUn
    [*convert] error: class PorteAppUn does not belong to package testUn.classes.testUn.*
    [convert] conversion completed with 1 errors and 0 warnings.
    I do not understand why this unique applet class file does not belong to its own package. Is someone an idea?
    Thanks very much in advance for your answer.

    Here is a complete example build.xml (I think I have posted this before).
    <?xml version="1.0" encoding="UTF-8" ?>
    <project default="convert" name="javacard-starter">
      <!-- Build specific properties -->
      <property name="target.classes" location="${basedir}/target/classes" />
      <property name="target.javacard" location="${basedir}/target/javacard" />
      <property name="source.java" location="${basedir}/src/main/java" />
      <!-- Must point to the folder containing the JAR files from the JCDK -->
      <property name="javacard.libs" location="${basedir}/lib" />
      <!-- Must point to the folder containing the JAR file from the JCDK ant task -->
      <property name="javacard.ant-task" location="${basedir}/lib" />
      <!-- Must point to the folder containing the API export files from the JCDK -->
      <property name="javacard.export" location="${basedir}/src/main/export" />
      <property name="verbose" value="true" />
      <property name="noverify" value="false" />
      <!-- Path for JC tasks -->
      <path id="classpath">
        <fileset dir="${javacard.ant-task}">
          <include name="*.jar" />
        </fileset>
        <fileset dir="${javacard.libs}">
          <include name="*.jar" />
        </fileset>
      </path>
      <!-- set the export path to the Java Card export files -->
      <path id="export" description="set the export file path">
        <fileset dir="${javacard.export}">
          <include name="**/*.exp" />
        </fileset>
        <pathelement path="${javacard.export}" />
        <pathelement path="${target.classes}" />
        <pathelement path="${target.javacard}" />
      </path>
      <!-- Definitions for tasks for Java Card tools -->
      <taskdef name="capgen" classname="com.sun.javacard.ant.tasks.CapgenTask" classpathref="classpath" />
      <taskdef name="deploycap" classname="com.sun.javacard.ant.tasks.DeployCapTask" classpathref="classpath" />
      <taskdef name="convert" classname="com.sun.javacard.ant.tasks.ConverterTask" classpathref="classpath" />
      <taskdef name="verifyexport" classname="com.sun.javacard.ant.tasks.VerifyExpTask" classpathref="classpath" />
      <taskdef name="verifycap" classname="com.sun.javacard.ant.tasks.VerifyCapTask" classpathref="classpath" />
      <taskdef name="verifyrevision" classname="com.sun.javacard.ant.tasks.VerifyRevTask" classpathref="classpath" />
      <typedef name="appletnameaid" classname="com.sun.javacard.ant.types.AppletNameAID" classpathref="classpath" />
      <typedef name="jcainputfile" classname="com.sun.javacard.ant.types.JCAInputFile" classpathref="classpath" />
      <target name="init">
        <mkdir dir="${target.classes}" />
        <mkdir dir="${target.javacard}" />
      </target>
      <target name="clean">
        <delete dir="${target.classes}" />
        <delete dir="${target.javacard}" />
        <delete dir="${javacard.eeprom}" />
      </target>
      <target name="compile" depends="init" description="Compile source code to class files">
        <!-- Compile the java code from ${src} to ${classes} -->
        <javac debug="yes" optimize="no" srcdir="${source.java}" destdir="${target.classes}" source="1.5" target="1.5">
          <classpath refid="classpath" />
        </javac>
      </target>
      <target name="convert" depends="compile" description="Convert class files to cap files">
              <convert packagename="chaining" packageaid="0xF0:0x00:0x00:0x01:0x00:0x01" majorminorversion="1.0" classdir="${target.classes}" outputdirectory="${target.classes}" jca="true" exp="true" cap="true" debug="true" verbose="${verbose}" noverify="${noverify}">
                   <appletnameaid aid="0xF0:0x00:0x00:0x01:0x00:0x01:0x00:0x01" appletname="chaining.ChainingApplet" />
                   <exportpath refid="export" />
                   <classpath refid="classpath" />
              </convert>
      </target>
      <target name="copy-debug">
        <mkdir dir="${target.debug}" />
        <echo>Copying cap files</echo>
        <copy flatten="true" todir="${target.debug}" verbose="true">
          <fileset dir="${target.classes}" includes="**/*.cap" />
          <fileset dir="${target.classes}" includes="**/*.exp" />
          <fileset dir="${target.classes}" includes="**/*.jca" />
        </copy>
      </target>
      <target name="all" depends="clean, convert" />
    </project>

  • Psd files not updating edited smart objects (PS CC as of 6/3/14)

    I created a master PSD file and added four different TIF files as 'linked' (not embedded) Smart Objects.  If I edit these linked files (they open when double-clicked, or 'Edit Contents') make changes and then save & close the edited master TIF files, the main PSD file does not reflect the edited changes. If I double click the Smart Object, it opens and shows my edits, but to save & close still does not update the master PSD file.   I do this all the time without issue, so I am perplexed.  Even if I right-click the smart object and select "Update All Modified Content" nothing changes.  Closing the file, restarting Photoshop- nothing updates the main PSD file with the changes to the edited TIF files... EXCEPT if I 'replace contents' with the same file: then it updates the PSD.
    Any ideas?

    I was actually just working in Illlustrator. Selecting the vector object and then select PS and Paste. I'm then asked if I want this to be a smart object. I select yes and it adds the object as a smart object layer. If I double click the layer it opens it in Illustrator, I make a change, save it and close it. Then back to PS and the smart object doesn't update.
    I haven't used Place Embedded or Place Linked. I don't understand what those functions do. It's just not how I'm use to working.
    Actually I have a large PSD doc. Inside it is a group of objects that I have turned into a Smart object. Inside that (by double clicking) is an AI file that is also a smart object. When I open that up to make a change it won't update once I save and close.
    I have tried a coulpe of test with placed Linked and Embedded objects and I can't get those to work either. So what ever the change was. So far not really liking it.

  • String.format()   error (works in a class file , not in jsp)

    Hello all,
    I am using Java 5 and am trying to use the String.format() method in a jsp but am getting the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 5 in the jsp file: /ajax.jsp
    Generated servlet error:
    C:\Documents and Settings\gforte\.netbeans\5.0beta2\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\agi\org\apache\jsp\ajax_jsp.java:50: cannot find symbol
    symbol : method format(java.lang.String,java.util.Date,java.util.Date)
    location: class java.lang.String
    String dateString = String.format("%tb%td",date,date);
    ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:246)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
    Apache Tomcat/5.5.9
    The code I am using is working fine in a class file but wont work in my jsp.
    <%@page import="java.util.*,java.lang.String"%>        
    Date date = new Date();
    String dateString = String.format("%tb%td",date,date);
    System.out.println(dateString);Any ideas?

    I get excactly the same problem.
    If compile the the JSP in Netbeans it works fine, however when Tomcat attempts to compile it into a servlet at runtime, I get the same error as described.
    This is the line in JSP that fails:
    <code>Some more text <%= String.format("%s","Bizarre") %> </code>However this one works OK:
    <code>Some more text <%= "Bizarre".substring(3) %> </code>Its almost as if Tomcat is compiling under JDK 1.4.2 or something but I don't have any other JDK or JRE installed; only 1.5.
    I suspect it may be a Tomcat setting that's causing a 1.4 code compliance.
    In Netbeans, if I go to the project properties -> Sources, at the bottom is the "Source Level" drop down list. If I change this to 1.4 and clean and build the whole project I get the same error when the jsp (or any class with this construct) is compiled by NetBeans.
    Note: I am using the Netbeans 5.0 and Tomcat and 5.5.9 co-bundle which I downloded from the Sun website.
    Can anyone help?
    Heres the splurge from the browser output:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 55 in the jsp file: /login.jsp
    Generated servlet error:
    C:\Documents and Settings\Peter\.netbeans\5.0\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\SuperStruts\org\apache\jsp\login_jsp.java:105: cannot find symbol
    symbol  : method format(java.lang.String,java.lang.String)
    location: class java.lang.String
          out.print( String.format("%s","Bizarre") );
                           ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:246)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    Note also that when I run this JSP page:
    <%@page import="java.util.*"%>
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%
            Properties p = System.getProperties();
            Enumeration keys = p.keys();
            Object key;
            while (keys.hasMoreElements()) {
                key = keys.nextElement();
                out.println("key: " + key + " - " + p.getProperty((String)key) + "<br/>");
    %>     ... I get this browser output:
    key: java.runtime.name - Java(TM) 2 Runtime Environment, Standard Edition
    key: sun.boot.library.path - C:\Program Files\Java\jdk1.5.0_06\jre\bin
    key: java.vm.version - 1.5.0_06-b05
    key: shared.loader - ${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
    key: java.vm.vendor - Sun Microsystems Inc.
    key: java.vendor.url - http://java.sun.com/
    key: path.separator - ;
    key: tomcat.util.buf.StringCache.byte.enabled - true
    key: java.vm.name - Java HotSpot(TM) Client VM
    key: file.encoding.pkg - sun.io
    key: user.country - GB
    key: sun.os.patch.level - Service Pack 2
    key: java.vm.specification.name - Java Virtual Machine Specification
    key: user.dir - C:\Program Files\netbeans-5.0\enterprise2\jakarta-tomcat-5.5.9\bin
    key: java.runtime.version - 1.5.0_06-b05
    key: java.awt.graphicsenv - sun.awt.Win32GraphicsEnvironment
    key: java.endorsed.dirs -
    key: os.arch - x86
    key: java.io.tmpdir - C:\Documents and Settings\Peter\.netbeans\5.0\jakarta-tomcat-5.5.9_base\temp
    key: line.separator -
    key: java.vm.specification.vendor - Sun Microsystems Inc.
    key: java.naming.factory.url.pkgs - org.apache.naming
    key: java.util.logging.manager - org.apache.juli.ClassLoaderLogManager
    key: user.variant -
    key: os.name - Windows XP
    key: sun.jnu.encoding - Cp1252
    key: java.library.path - C:\Program Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\10.2.0\db_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\CVSNT\
    key: java.specification.name - Java Platform API Specification
    key: java.class.version - 49.0
    key: sun.management.compiler - HotSpot Client Compiler
    key: os.version - 5.1
    key: user.home - C:\Documents and Settings\Peter
    key: catalina.useNaming - true
    key: user.timezone - Europe/London
    key: java.awt.printerjob - sun.awt.windows.WPrinterJob
    key: file.encoding - Cp1252
    key: java.specification.version - 1.5
    key: catalina.home - C:\Program Files\netbeans-5.0\enterprise2\jakarta-tomcat-5.5.9
    key: java.class.path - C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar;C:\Program Files\netbeans-5.0\enterprise2\jakarta-tomcat-5.5.9\bin\bootstrap.jar
    key: user.name - Peter
    key: java.naming.factory.initial - org.apache.naming.java.javaURLContextFactory
    key: package.definition - sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
    key: java.vm.specification.version - 1.0
    key: java.home - C:\Program Files\Java\jdk1.5.0_06\jre
    key: sun.arch.data.model - 32
    key: user.language - en
    key: java.specification.vendor - Sun Microsystems Inc.
    key: awt.toolkit - sun.awt.windows.WToolkit
    key: java.vm.info - mixed mode
    key: java.version - 1.5.0_06
    key: java.ext.dirs - C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext
    key: sun.boot.class.path - C:\Program Files\Java\jdk1.5.0_06\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\jce.jar;C:\Program Files\Java\jdk1.5.0_06\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.5.0_06\jre\classes
    key: server.loader - ${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar
    key: java.vendor - Sun Microsystems Inc.
    key: catalina.base - C:\Documents and Settings\Peter\.netbeans\5.0\jakarta-tomcat-5.5.9_base
    key: file.separator - \
    key: java.vendor.url.bug - http://java.sun.com/cgi-bin/bugreport.cgi
    key: common.loader - ${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/lib/*.jar
    key: sun.io.unicode.encoding - UnicodeLittle
    key: sun.cpu.endian - little
    key: package.access - sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
    key: sun.desktop - windows
    key: sun.cpu.isalist - demonstrating (I think) that the correct JDK and JDK are in use by Tomcat.

  • CSS files not updating correctly

    I'm having some trouble with the css files that are uploaded throught the application builder. When uploading an update to an existing css file, the file is not updated in the browser. Even after closing all browser windows and deleting the temporary internet files the new version is not loaded. I've even tried deleting the file from the app builder and holding the control key down when refreshing the browser and it still loads as if one existed. We currently have 3 seperate server environments and it works fine on 2 out of the 3...could this be a setting on the application server when the file is fetched from the database? It is currently calling:
    wwv_flow_file_mgr.get_file?p_security_group_id=721404936311769&p_fname=iPRACA.css
    I know the correct file is being uploaded to the database because when I view the detailed report in the application builder and click on the file name, the updated version is displayed in the text area. But, when I click on the download icon and open the css file to view, it is still the old version.
    I'm currently using APEX version 2.3 and OAS 10.1.2
    Any help would be greatly appreciated.

    Hi YodaHart,
    What happens when you rename your css?
    Does it work then?
    I also guess it's the Oracle AS. However we should investigate further on what you're thinking.
    If you query WWV_FLOW_FILE_OBJECTS$ you still see the files while you don't see them in APEX anymore? If yes, I would create another table as select of the WWV_FLOW_FILE_OBJECTS$ table, just to have a backup. If the files aren't used anymore, you should be save by deleting the corresponding old records (for ex through SQLPLUS). After all, these are files you uploaded...
    Thanks,
    Dimitri

  • Files not updating from default.dwt

    NONE of my pages are updating from the template that I
    created them from. To create them I did the following:
    File>New>Templates>Site Name>Template
    Name>Create...
    Then I'd save the file to whatever I was creating..... such
    as, index.htm
    I have done this for 6 new pages....
    Then I change the links on the template and have it and when
    I'm asked if I want to update ALL of the pages that were created
    based on that template I answer yes... (obviously)..
    But.... the pages do NOT update. it even says so in the
    "Update Pages Dialog Box". it says that NO Pages were updated?
    Why is that and what possible cause could there be.
    I have a Dreamweaver manual and have defined the site about a
    dozen times (after removing it first) and I have dome so RIGHT TO
    THE BOOK..... but the dang template will NOT update the sites pages
    created from it........grrrr..........
    Any suggestions? Thanks for any replies.....
    HEK

    Here are seven common mistakes that will result in changes
    not propagating
    from Template to child -
    1. Rename the Templates folder
    2. Move the Templates folder to some other folder level in
    the site other
    than root level
    3. Move a template out of the Templates folder.
    4. Make changes to an editable region of the template (which
    will not
    propagate)
    5. Assume that template changes can be uploaded to the server
    without also
    uploading the changed local files
    6. Corrupt the site cache so that the link between template
    and child page
    is broken
    7, Improperly create your child pages by simply opening the
    template,
    adding page specific content, and resaving the template with
    an *.html
    extension rather that its *.dwt extension. (you can tell if
    this is the case
    by looking at the code on a child page - if you see anything
    like <!--
    TemplateBeginEditable... then this is what you have done)
    The 6th problem can be repaired by using SITE | Advanced >
    Recreate Site
    Cache, and the six others can be fixed by just not doing
    them. Have you
    done any of those?
    Or, read this -
    http://www.adobe.com/go/dd83ba8b
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "gramma_hek" <[email protected]> wrote in
    message
    news:[email protected]...
    > NONE of my pages are updating from the template that I
    created them from.
    > To
    > create them I did the following:
    >
    > File>New>Templates>Site Name>Template
    Name>Create...
    >
    > Then I'd save the file to whatever I was creating.....
    such as, index.htm
    >
    > I have done this for 6 new pages....
    >
    > Then I change the links on the template and have it and
    when I'm asked if
    > I
    > want to update ALL of the pages that were created based
    on that template I
    > answer yes... (obviously)..
    >
    > But.... the pages do NOT update. it even says so in the
    "Update Pages
    > Dialog
    > Box". it says that NO Pages were updated?
    >
    > Why is that and what possible cause could there be.
    >
    > I have a Dreamweaver manual and have defined the site
    about a dozen times
    > (after removing it first) and I have dome so RIGHT TO
    THE BOOK..... but
    > the
    > dang template will NOT update the sites pages created
    from
    > it........grrrr..........
    >
    > Any suggestions? Thanks for any replies.....
    >
    > HEK
    >
    >
    >
    >
    >
    >

  • WSA Webroot Malware Category DAT files Not Updating

    I have two wsa's that have not updated their webroot dat files since may 16th. I have tried a manual update and it still has not updated. I am not sure if any new updates have been released and availalbe. Is there a way I can verify what the most recent dat files are??

    Did you ever resolve this issue. I have the webroot failing to update aswell. Will log a TAC case, but checking to see if you have had any progress?
    Ben

  • Linked Images/Files not Updating to Remote Versions

    Recently, I've noticed that when I go to upload a new page to our company intranet, any linked images or files do NOT update to the linked versions when they are uploaded --- they are still pointing to the versions on my local drive, so all users see a broken image or are linked to a broken file. I am putting/checking in dependent folders, and the images/files are successfully loaded to the intranet.
    I'm able to fix the issue by manually locating the remote versions of the image/file and inserting it into my .html by hand, but obviously I would prefer to be able to do this automatically. This only started happening recently, as I never had trouble automatically updating links. As far as I know, no settings have changed.
    This is for CS5. Any ideas? Let me know if there are any relevant settings or info I can provide.

    Sounds like you have not created a Site Definition in DW. If you're working within a properly defined local site folder, DW correctly manages paths & assets for you. 
    Nancy O.

  • Dreamweaver Template files not updating other files

    I took over a website and the site uses Dreamweaver Templates.  I'm not too familiar with the way that Templates works.  Anyway, the nav (links at bottom of website) need to be updated.  I updated the secondary.dwt file within the Templates folder.  I uploaded it, but it's not updating the pages on the website that use this template file.  Please help! 

    When you update the template from within DW, you should get a dialog asking if you want to update all of the files that use the template. When you click "OK" everything is updated across the site.
    If you updated the template outside of the defined site, it won't update anything and you may have a bit of work on your hands.
    In DW, you should have a Files tab with a drop down menu. The drop down menu should have all of your defined sites. Choose the site you are working on and a list of the files in that site will appear. Choose the template and make your changes and it will ask if you want to update everything else.

Maybe you are looking for

  • How do I get my phone to show me when making a call?

    I have a personal I-phone that my wife now uses because I have a company I-phone now.   My wife has added her apple id to the i-phone but when she calls me her names does not show up but mine.  It is like I am calling myself.  How do I get this resol

  • Error:System not assigned to a host

    Hi, I am trying to download maintenance stk SRM 7.0 SPS 5.0, via solman, but I am getting the error called  "Error:System not assigned to a host" in the stage where solman looks for OS/DB dependent files. When I go back and check the entries in SMSY,

  • IMAQ Quantify rseults with use of image mask are not of the right regeons

    I'm using the IMAQ quantify VI from labview to analize a binairy image. This binairy image is an 8bit image that consists only of pixels with the value 0 or 1. The places of the binairy  image where the pixels have the value 0, mean that a correspond

  • Questions about DVD burner

    So I'm shopping for a DVD burner and I see this: "System Requirements Mac 256MB RAM Mac Intel and Power Mac G4 500 Mhz" My computer is 400 Mhz so I can't buy this ? Another burner says: "system requirement: Mac OS 10.3.9 / Linux-based system / Win 20

  • Cannot access a website, from one interface, that is hosted behind a different interface; on same appliance

    Hello, I’m working with a network that has been setup with a wireless interface for wifi, an inside interface for a staff lan and of course the outside interface. There is a webserver hosting a website on the inside of the staff network/subnet. For t