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

Similar Messages

  • Why does applet send individual class requests?

    I have a jnlp applet that takes too long to load. It's signed war file is about 16 Mb size. Server access log shows the jar files are loaded successfully, relatively quickly followed by a ton of http GET requests for individual class files. These resource requests are not successful and returns with http response 404 - like the following:
    "GET /examples/lib/org/apache/log4j/Logger.class HTTP/1.1" 404 1069
    Weird thing is, the applet runs fine. above 'missing' resources are referenced and used just fine and there are no 'ClassNotFound' exception anywhere.
    Is this a class loader issue where the browser loader first looks for the class file on server before peering into the jars it has already loaded? or any other thing I am possibly overlooking?
    browser VM: jdk1.6.0_10; server vm: jdk1.6.0_03.
    Appreciate your help.
    Parag
    Edited by: pgokhale on Apr 14, 2008 2:20 AM

    I have a jnlp applet that takes too long to load. It's signed war file is about 16 Mb size. Server access log shows the jar files are loaded successfully, relatively quickly followed by a ton of http GET requests for individual class files. These resource requests are not successful and returns with http response 404 - like the following:
    "GET /examples/lib/org/apache/log4j/Logger.class HTTP/1.1" 404 1069
    Weird thing is, the applet runs fine. above 'missing' resources are referenced and used just fine and there are no 'ClassNotFound' exception anywhere.
    Is this a class loader issue where the browser loader first looks for the class file on server before peering into the jars it has already loaded? or any other thing I am possibly overlooking?
    browser VM: jdk1.6.0_10; server vm: jdk1.6.0_03.
    Appreciate your help.
    Parag
    Edited by: pgokhale on Apr 14, 2008 2:20 AM

  • Why java only can display GIF file not jpeg and BMP ??

    Did anyone know why java only can display GIF file not in jpeg and BMP ?? This is because the quality of GIS is not as good as Jpeg and BMP
    any code to load the display process ??
    thx guys !!!

    you can do jpegs but im not sure about bmps.
    The only thing ive noticed is that java cant support transparent jpegs, only transparent gifs
    Jim

  • HT203175 Why can most of my Original Files not be found ?

    Why can most of my Original Files not be found ?

    The "missing file" thing happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then say no when asked to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions. I can provide a step by step guide if you give me the two paths.
    In some cases iTunes may be able to repair itself if you go through the same steps and locate the lost track. It may then offer to attempt to automatically fix other broken links. Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes.
    tt2

  • Class file not detecting

    Hi All,
    I just set up IdM 7.0. I took the classes folder from my colleague's machine and pasted it in the WEB-INF folder in my local. (I am using tomcat).
    When I am running my application at one instance it calling a class, but I am getting the following message
    XPRESS exception:
    Class <package>.<classname> not found
    I have added entry in the environment variables also. What all I could do I believe I have done bhut still it is giving me this error. I even compiled the java file and created the class file in my system, but still it is not working ( though that will not be a problem because class files are machine independent). I even tried putting the whole path upto the class file, into the environment variable. But still this error is coming.
    Please help me.
    Regards
    Alex
    Edited by: AlexRaju on Apr 16, 2008 11:15 AM
    Edited by: AlexRaju on Apr 16, 2008 11:16 AM

    try clearing cache and restarting tomcat. If you post the code that you are using to call the methods it will help to find the issue.

  • Beginner: Can't convert a hello.class file into a jar file: HELP PLEASE!!!

    Hi, I created a hello.java file, converted into a hello.class file by using the java 2SDk compiler. The problem is that the hello.class file is in a directory I created: C:\JavaBuilder\hello.class
    I have a problem converting the hello class file into a jar file. I don't know which approach to take. I've looked at tutorials...but I keep getting more confused each time I view the tutorials on creating jar files. Please can someone help..by taking me through a step by step process. Please be explicit and do not leave or assume that I know any details because I'm a new born beginner. Thank you very much, I seriously appreciate it.

    Hi i did as you suggested, only with these exceptions:
    jar -cvf hello.jar C:\JavaBuilder\hello.class
    I did this and got the message: "adding : C:\JavaBuilder\hello.class (in=1150) (out=708) (deflated=38%)"
    The problem is that when I tried to execute the jar file...by typing: " java -jar hello.jar" I received the error message: "Failed to load Main-Class Manifest attribute from hello.jar" Is there any way to correct this problem? please help, thank you.

  • Beginner: Can't convert a hello.class file into a jar file. Please Help!!!

    Hi, I created a hello.java file, converted into a hello.class file by using the java 2SDk compiler. The problem is that the hello.class file is in a directory I created: C:\JavaBuilder\hello.class
    I have a problem converting the hello class file into a jar file. I don't know which approach to take. I've looked at tutorials...but I keep getting more confused each time I view the tutorials on creating jar files. Please can someone help..by taking me through a step by step process. Please be explicit and do not leave or assume that I know any details because I'm a new born beginner. Thank you very much, I seriously appreciate it.

    Hi!
    first of all, you should use an upper-case character for the first letter of your classes...
    To answer your question :
    1) you must create a directory named "meta-inf" in your directory "C:\JavaBuilder"
    2) then,you must create a file named "manifest.mf" in this directory
    it's like a property file and it must contain this :
    Main-Class: hello
    (don't forget to type <enter> after "hello")
    3) in the directory "C:\JavaBuilder", you can enter the following command :
    "jar cvfM hello.jar meta-inf\manifest.mf hello.class"
    (check jar.exe is in your path)
    4) you can run your jar by the command :
    "java -jar hello.jar"

  • Conversion of a .class file into a .jar file

    Conversion of a .class file into a .jar file
    How Will I convert a .class file into a .jar file.
    Pls answer ASAP.

    You don't.
    You add a .class file into a .jar file. You don't convert anything.
    Read the help page for jar for details.

  • Finding total number of class files present inside jar

    Is there any way to find the total numbef of class files present inside jar?
    Any link will be helpful.

    http://java.sun.com/j2se/1.4.2/docs/api/java/util/jar/JarFile.html#entries()
    You'll have to search through it.

  • I have taken pictures of items that are linked to a database that I am building.  How can I bypass importing into iPhoto and simply downloading the images as "files" not "photos" so I can access them with my database?  thanx.

    I have taken pictures with both my Sony camera and my iPhone of items that are linked to a database that I am building, as well as my website.  How can I bypass importing the images into iPhoto and simply downloading the images as "files" not "photos" so I can access them with my database?  thanx.

    If your Sony has a removable memory card you can use a card reader to copy the image files from to a folder on your Desktop and then move them anywhere you'd like.
    Since the iPhone doesn't have a removable memory card you can try using Image Capture to see if you can manually upload the files to a folder on the Desktop. 
    If you have to import the photos, which are image files, into iPhoto you can then export them out of iPhoto to the Desktop and go from there to your database.  Just because they are in iPhoto doesn't prevent you from using them elsewhere.
    OT

  • Whenever I try to log in to my Gmail account, the page redirects for a loooong time, then says that it won't load properly, and that the problem may be caused by not enabling cookies, but I have them enabled. Any idea what the problem might really be?

    Whenever I try to log in to my Gmail account, the page redirects for a loooong time, then says that it won't load properly, and that the problem may be caused by not enabling cookies, but I have them enabled. Any idea what the problem might really be?

    I did think about that and if I have to I will do that, however there are about 50 songs. I have closed and reopened iTunes several times and I am sure that I have the latest version. It fails right away but I can click on the cloud download icon and download the song that it failed on ... therefore it is not that song "or any one song" causing the issue. Any ideas?

  • 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>

  • 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.

  • .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

  • 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

Maybe you are looking for