Java files not compiling

i have 3 java files that im trying to compile for my CS class:
IntCalc.java
IntCalcPanel.java
IntCalcGUI.java
the panel uses IntCalc for an object and the GUI uses the panel as an object.
i cannot compile the panel or the GUI in the command prompt because it says
IntegerCalculatorPanel.java:17: cannot find symbol
symbol : class IntegerCalculator
location: class IntegerCalculatorPanel
IntegerCalculator calc = new IntegerCalculator();
^
IntegerCalculatorPanel.java:17: cannot find symbol
symbol : class IntegerCalculator
location: class IntegerCalculatorPanel
IntegerCalculator calc = new IntegerCalculator();
^
2 errors
even though all three files are in the same directory
these files WILL compile if i use an IDE. i tried jGRASP and they compile and run fine.
what do i do to fix this?
(xp pro)

For classpath, you can shorten the word to "-cp", I
believe (it doesn't work on our Java at work, becauseNo, that will not work in this case!
-cp only works on the java command (to execute Java programs), not on javac (the compiler). Stupid, isn't it?
Make sure that your CLASSPATH environment variable is not set - that will make Java use the current directory as the default, and you won't have to type "-classpath ." every time.
If you're starting a serious project with lots of source files, I suggest you have a look at Ant to manage your build process.

Similar Messages

  • Problem - Scanner.java file not found

    Hello all, I've been having a problem with a Java installation on windows vista. I've installed both the Java 2 1.4.2_16 sdk, and the Java EE 5 update 3 sdk. However, neither install contains the Scanner.java file... On my desktop running XP, this is not the case. I've tried reinstalling but to no avail. My classpath is set correctly because my programs compile that import java.util.*; But when I create a scanner object I get the dreaded can't resolve symbol error, but only when I compile under vista... Any suggestions? Thanks in advance :)

    Scanner was implemented beginning with v1.5x, and comes in the JDK SE, not the EE.

  • Java File not Found Exceptions and other errors?

    Hello experts, an issue on our Portal has caught my attention. Every time the J2EE Engine is restarted, a large amount of errors are written on our Trace files. When looking at the trace files, I see that most errors are Java IO File not Found Exceptions. For example:
    [EXCEPTION]
    #1#java.io.FileNotFoundException: ./log/system/database.1.log (No such file or directory (errno:2))
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.archiveTask(ArchivingThread.java:77)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.run(ArchivingThread.java:40)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    #1.5 #0012799E98F6000F0000001800003A9E00044A5F2B9CCDEC#1207672520886#com.sap.engine.services.log_configurator.archive.ArchivingThread##com.sap.engine.services.log_configurator.archive.ArchivingThread######c3cfd920058911dd8ace0012799e98f6#SAPEngine_System_Thread[impl:5]_24##0#0#Error##Java###./log/system/server.1.log (No such file or directory (errno:2))
    [EXCEPTION]
    #1#java.io.FileNotFoundException: ./log/system/server.1.log (No such file or directory (errno:2))
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.archiveTask(ArchivingThread.java:77)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.run(ArchivingThread.java:40)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    #1.5 #0012799E98F6000F0000001900003A9E00044A5F2B9CE7BC#1207672520893#com.sap.engine.services.log_configurator.archive.ArchivingThread##com.sap.engine.services.log_configurator.archive.ArchivingThread######c3cfd920058911dd8ace0012799e98f6#SAPEngine_System_Thread[impl:5]_24##0#0#Error##Java###./log/system/security.1.log (No such file or directory (errno:2))
    [EXCEPTION]
    #1#java.io.FileNotFoundException: ./log/system/security.1.log (No such file or directory (errno:2))
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.archiveTask(ArchivingThread.java:77)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.run(ArchivingThread.java:40)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    #1.5 #0012799E98F6000F0000001D00003A9E00044A5F2BE5C172#1207672525667#com.sap.engine.services.log_configurator.archive.ArchivingThread##com.sap.engine.services.log_configurator.archive.ArchivingThread######c3cfd920058911dd8ace0012799e98f6#SAPEngine_System_Thread[impl:5]_24##0#0#Error##Java###./log/applications.1.log (No such file or directory (errno:2))
    [EXCEPTION]
    #1#java.io.FileNotFoundException: ./log/applications.1.log (No such file or directory (errno:2))
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.archiveTask(ArchivingThread.java:77)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.run(ArchivingThread.java:40)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    In summary, the system cannot find the files server.1.log, security.1.log, database.1.log and applications.1.log. I tried manually adding these files (I created them on my computer and left them empty) on the path written, but it did not work, for some reason they are deleted.
    Another error that is happening during restart of the engine is the following:
    #1.5 #0012799E98F6001B0000002000003A9E00044A5F2BCC28D7#1207672523990#com.sap.tc.logging##com.sap.tc.logging.APILogger.FileLog[setFormatter()]######c3c3f240058911dd9ed80012799e98f6#SAPEngine_System_Thread[impl:5]_10##0#0#Warning##Java###Attempting to change a formatter on active log ./log/system/httpaccess/responses.trc. reset() method must be called first.#1#java.lang.Exception: Attempting to change a formatter on active log ./log/system/httpaccess/responses.trc. reset() method must be called first.
         at com.sap.tc.logging.FileLog.setFormatter(FileLog.java:448)
         at com.sap.engine.services.log_configurator.admin.LogConfigurator.adjustConfiguration(LogConfigurator.java:795)
         at com.sap.engine.services.log_configurator.admin.LogConfigurator.applyConfiguration(LogConfigurator.java:1535)
         at com.sap.engine.services.log_configurator.LogConfiguratorContainer.prepareStart(LogConfiguratorContainer.java:545)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareLocal(StartTransaction.java:176)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:365)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:132)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:250)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:4450)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationsInitially(DeployServiceImpl.java:2610)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.clusterElementReady(DeployServiceImpl.java:2464)
         at com.sap.engine.services.deploy.server.ClusterServicesAdapter.containerStarted(ClusterServicesAdapter.java:42)
         at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.processEvent(ContainerEventListenerWrapper.java:144)
         at com.sap.engine.core.service630.container.AdminContainerEventListenerWrapper.processEvent(AdminContainerEventListenerWrapper.java:19)
         at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.run(ContainerEventListenerWrapper.java:102)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    Any ideas?

    Nothing really seemed to work when trying to solve this problem, just suddenly it stopped appearing. It might have been our installation of SPS 15, since it was around that time that the error went away.

  • Files not compiling

    Hello,
    RH 8 and outputting a CHM.
    When I generate CHM, I get an output message (in the Pod) that tells me 'the following files were not compiled.'
    I've checked the files and they seem fine to me. In essence, they are no different than the myriad files that compiled successfully.
    I know the ultimate solution will be to recreate the offenders...
    But, are there any ideas about the cause?
    An observation...things were generating fine until I output the same project as WebHelp. Post WebHelp, compilation has been wonky.
    Thanks.

    Hi all
    Not intending to tread on Colums toes here, but I think deeper investigation is warranted. Was this project inherited from another author or have you always been the sole author?
    Perhaps the .HTC files have a purpose you aren't currently aware of.
    I'd say make a backup copy of the .HTC files before you do anything. You may be destroying something that took eons for someone else to create.
    Just my $.02 worth. (Which means I think I owe you $250.00 given today's economy!)
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Applet java file not refreshing in browser

    I have an applet that I am updating and I am not seeing the corresponding update when I open the web page. I can manually download the java class file and look inside it and it definitely is the updated file. I have deleted the browser history. (I am running tests with Firefox 3, IE7, and Safari 4 public beta). Is there something else I need to do to make sure the browser pulls in the latest version of the class file referenced in the html?
    Here is the code:
    <HTML>
    <HEAD>
       <TITLE>A Simple Program</TITLE>
    </HEAD>
    <BODY>
       <CENTER>
          <APPLET CODE="SendRequest.class" WIDTH="500" HEIGHT="150">
          </APPLET>
       </CENTER>
    </BODY>
    </HTML>The applet refers to a hard coded URL to read through a urlconnection. It is always reading a file and showing content, but it is not showing the right file. If I change the name of the referenced file in the java program, it looks like the browser has cached the referred file, rather than throwing and error and saying the file doesn't exist.
    Here is the java
    import java.applet.*;
    import java.awt.*;
    import java.net.URLConnection;
    import java.net.URL;
    import org.w3c.dom.Document;
    import java.lang.String;
    import java.io.*;
    public class SendRequest extends Applet {
        @Override
        public void paint(Graphics g) {
            g.drawRect(0, 0, 499, 149);
            g.drawString(getResponseText(), 5, 70);
        public String getResponseText() {
            try {
                URL url = new URL("http://myserver.com/stats/logs/ex20090603000001-72.167.131.217.log");
                URLConnection urlconn = url.openConnection();
                BufferedReader in = new BufferedReader(
                                    new InputStreamReader(
                                    urlconn.getInputStream()));
                String inputLine;
                String htmlFile = "";
                try {
                    while ((inputLine = in.readLine()) != null)
                        htmlFile += inputLine;
                    in.close();
                    return htmlFile;
                } catch (Exception e) {
                    return "Can't get the string.";
            } catch (Exception e) {
                return "Problem accessing the response text.";
    }Any help would be appreciated. I heard that some files may cache more persistently than others, but I don't fully understand the details.
    Thanks,
    Jim

    Check this [document loader example|http://pscode.org/test/docload/] & follow the link to sandbox.html for tips on clearing the class cache. That relates specifically to caching a refused security certificate, but class caching is much the same. As an aside, getting a console can be tricky in modern times (unless the applet fails completely). It is handy to configure the [Java Control Panel|http://java.sun.com/docs/books/tutorial/information/player.jnlp] to pop the Java console on finding an applet (Advanced tab - Settings/Java Console/Show Console).
    Of course there are two better tools for testing applets, especially in regard to class caching. AppletViewer and Appleteer both make class refresh fairly easy. Appleteer is the better of the two. I can tell you that with confidence, since I wrote it. ;-)

  • Cold fusion files not compile by  the cfcompile utility

    Hi,
    I am trying to compile coldfusion file using cfcompile , but
    not find the compiled file in the output-directory.
    here some help about what i did:
    coldfusion mx 7 load on linux,
    and coldfusion files exist in the directory that exist in a
    directory that is mapped to coldfusion server .
    <cfset PathToExe="/opt/coldfusionmx7/bin/cfcompile.sh">
    <cfset webRoot = "/opt/coldfusionmx7/wwwroot">
    <cfset dirCompile = "/opt/coldfusionmx7/wwwroot/test/"
    >
    <cfset dirCompile1 =
    "/opt/coldfusionmx7/wwwroot/test/compile1/" >
    <cfexecute
    name="#PathToExe#"
    arguments="-deploy #webRoot# #dirCompile# #dirCompile1#"
    timeout="60">
    </cfexecute>
    there is no error occure after processing this file.
    but i do not get the concern output file.
    Please give some apposite help regarding this issue.
    Thanks in advance.
    Regards,
    Prashant

    It's in the CF Administrator, which is separate from the JRun Admin Console. You can often get to the CF Administrator with a URL like this:
    http://your_server/CFIDE/administrator/
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.
    Read this before you post:
    http://forums.adobe.com/thread/607238

  • Java files not supported n73

    Could someone help me, I have just got an N73 and have been trying to install some java games, some will go on but most say "Not Supported" also it does not support any sis files. is this just the model or have I got a problem. I also have an N70 and I can install all these file on to it without problems.

    04-Oct-200706:57 PM
    scoobyman wrote:
    Hi kismet54
    I have SmartMovie on my N95 and in the "Player" folder on PC there is S60 3rd .sisx file
    You may find that you have to set phone date some months in arrears if you get "error - certificate expired" to allow it to install.
    Hello buddy!
    It seems that every single application has to be dated back?

  • Java do not compile generics

    declaration:
    ListUtil.java
    public static <T, F extends T, E extends T> List<T> addAll(List<F> list1, List<E> list2) {
    List<T> ret = new ArrayList<T>();
    if (list1 != null) {
    for (F f : list1) {
    ret.add(f);
    if (list2 != null) {
    for (E e : list2) {
    ret.add(e);
    return ret;
    usage:
    List&lt;B&gt; bb = new ArrayList&lt;B&gt;();
    List&lt;C&gt; cc = new ArrayList&lt;C&gt;();
    List&lt;AAbstract&gt; ret = ListUtil.addAll(compounds, sensors);
    error:
    [javac] SensorInstanceMgmt.java:1113: <T,F,E>addAll(java.util.List<F>,java.util.List<E>) in util.ListUtil cannot be applied to (java.util.List<entity.B>,java.util.List<entity.C>)
    [javac] List<AAbstract> ret = ListUtil.addAll(compounds, sensors);
    It works in eclipse, but compiling by ant do not. I suspect some switch of javac - but do not know which.
    Of course eclipse and ant uses same javac, it has set same java, javac.target, javac.source as well.
    So why I compile with ant? I mention about ant but same situation will be with invoking javac from outside eclipse.
    Edited by: 802651 on 2010-10-14 23:19
    Edited by: 802651 on 2010-10-22 06:03

    Different compilers handle generics slightly differently. Sun's compiler tends to a bit dumb when it comes to inferred types. I suggest you try the following which may help, or get a clearer error message.
    List<AAbstract> ret = ListUtil.<AAbstract>addAll(compounds, sensors);
    BTW: what is wrong with the List.addAll() method?
    public static <T, F extends T, E extends T> List<T> addAll(List<F> list1, List<E> list2) {
        List<T> ret = new ArrayList<T>();
        if (list1 != null) ret.addAll(list1);
        if (list2 != null) ret.addAll(list2);
        return ret;
    }

  • Java File not found exception

    We get the followign when we navigate to the 'Peoplesoft' domain and then
    add a servlet and attempt to "persist".
    everything else seems to work fine.
    By navigating to the peolesoft domain, we open the default server
    and use "edit other domain" to pull up the console. then navigate to portal ->
    edit descriptors.
    OS is an Win2k Server.
    Thanks in advance for any help.
    ---- Error starts below ------
    java.io.FileNotFoundException: f:\bea\weblogic\wlserver6.1\config\peoplesoft\applications
    (Access is denied)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.(FileInputStream.java:64)
         at java.io.FileInputStream.(FileInputStream.java:95)
         at weblogic.utils.jars.RandomAccessJarFile.copyJarToJarDir(RandomAccessJarFile.java:272)
         at weblogic.utils.jars.RandomAccessJarFile.(RandomAccessJarFile.java:144)
         at weblogic.servlet.internal.dd.DescriptorLoader.persist(DescriptorLoader.java:598)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy79.persist(Unknown Source)
         at weblogic.management.console.actions.mbean.DoPersistTopLevelDescriptorAction.perform(DoPersistTopLevelDescriptorAction.java:78)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.actions.ActionException: An error occurred while attempting
    to persist 'WebDescriptor-5' - with nested exception:
    [java.io.FileNotFoundException: f:\bea\weblogic\wlserver6.1\config\peoplesoft\applications
    (Access is denied)]
         at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:68)
         at weblogic.management.console.actions.mbean.DoPersistTopLevelDescriptorAction.perform(DoPersistTopLevelDescriptorAction.java:80)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Current Date
    Fri Jun 20 14:16:52 CDT 2003
    Console Release Build
    Console Build
    Server Release Build
    6.1.2.0
    Server Build
    WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    All Server Product Versions
    WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02 #154529
    Server System Properties
    awt.toolkit = sun.awt.windows.WToolkit bea.home = F:\bea\weblogic file.encoding
    = Cp1252 file.encoding.pkg = sun.io file.separator = \ java.awt.fonts = java.awt.graphicsenv
    = sun.awt.Win32GraphicsEnvironment java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path = .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar java.class.version
    = 47.0 java.ext.dirs = F:\bea\weblogic\jdk131\jre\lib\ext java.home = F:\bea\weblogic\jdk131\jre
    java.io.tmpdir = C:\DOCUME~1\lackp\LOCALS~1\Temp\ java.library.path = F:\bea\weblogic\jdk131\bin;.;C:\WINNT\System32;C:\WINNT;.\bin;f:\oracle\ora92\bin;C:\Program
    Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program
    Files\Dell\OpenManage\Array Manager;C:\Program Files\Dell\OpenManage\oma\bin;C:\Program
    Files\Dell\OpenManage\OMSA\bin;C:\Program Files\Dell\OpenManage\LU\bin;C:\Program
    Files\Dell\OpenManage\RAC\MN;C:\Program Files\Dell\OpenManage\oldiags\bin;C:\PROGRA~1\CA\Common\SCANEN~1;C:\PROGRA~1\CA\eTrust\INOCUL~1;f:\bea\tuxedo\bin
    java.naming.factory.initial = weblogic.jndi.WLInitialContextFactory java.naming.factory.url.pkgs
    = weblogic.jndi.factories java.protocol.handler.pkgs = weblogic.utils|weblogic.utils|weblogic.net|weblogic.management|weblogic.net|weblogic.net
    java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition java.runtime.version
    = 1.3.1-b24 java.security.policy = =F:\bea\weblogic\wlserver6.1/lib/weblogic.policy
    java.specification.name = Java Platform API Specification java.specification.vendor
    = Sun Microsystems Inc. java.specification.version = 1.3 java.vendor = Sun Microsystems
    Inc. java.vendor.url = http://java.sun.com/ java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
    java.version = 1.3.1 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM)
    Client VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor
    = Sun Microsystems Inc. java.vm.specification.version = 1.0 java.vm.vendor = Sun
    Microsystems Inc. java.vm.version = 1.3.1-b24 javax.rmi.CORBA.PortableRemoteObjectClass
    = weblogic.iiop.PortableRemoteObjectDelegateImpl javax.rmi.CORBA.UtilClass = weblogic.iiop.UtilDelegateImpl
    javax.xml.parsers.DocumentBuilderFactory = weblogic.xml.jaxp.RegistryDocumentBuilderFactory
    javax.xml.parsers.SAXParserFactory = weblogic.xml.jaxp.RegistrySAXParserFactory
    javax.xml.transform.TransformerFactory = weblogic.xml.jaxp.RegistrySAXTransformerFactory
    jmx.implementation.name = JMX RI jmx.implementation.vendor = Sun Microsystems
    jmx.implementation.version = 1.0 jmx.specification.name = Java Management Extensions
    jmx.specification.vendor = Sun Microsystems jmx.specification.version = 1.0 Final
    Release line.separator = org.xml.sax.driver = weblogic.apache.xerces.parsers.SAXParser
    os.arch = x86 os.name = Windows 2000 os.version = 5.0 path.separator = ; sun.boot.class.path
    = F:\bea\weblogic\jdk131\jre\lib\rt.jar;F:\bea\weblogic\jdk131\jre\lib\i18n.jar;F:\bea\weblogic\jdk131\jre\lib\sunrsasign.jar;F:\bea\weblogic\jdk131\jre\classes
    sun.boot.library.path = F:\bea\weblogic\jdk131\jre\bin sun.cpu.endian = little
    sun.cpu.isalist = pentium i486 i386 sun.io.unicode.encoding = UnicodeLittle user.dir
    = F:\bea\weblogic\wlserver6.1 user.home = C:\Documents and Settings\lackp user.language
    = en user.name = lackp user.region = US user.timezone = America/Chicago weblogic.Domain
    = psglisadm weblogic.Name = psglissvr weblogic.ProductionModeEnabled = true weblogic.security.jaas.Configuration
    = weblogic.security.internal.ServerConfig weblogic.security.jaas.Policy = ./lib/Server.policy
    Request Info
    Protocol: HTTP/1.1
    ServerName: 127.0.0.1
    ServerPort: 7500
    Secure: false
    ContextPath: /console
    ServletPath: /common/error.jsp
    QueryString: MBean=psglisadm%3AApplication%3DPORTAL%2CLocation%3Dpsglissvr%2CName%3DWebDescriptor-5%2CType%3DWebDescriptor%2CWebAppComponent%3DPORTAL
    PathInfo: null
    PathTranslated: null
    RequestURI: /console/common/error.jsp
    AuthType: Basic
    ContentType: null
    CharacterEncoding: null
    Locale: en_US
    Method: GET
    Session: weblogic.servlet.internal.session.MemorySessionData@92f6
    RequestedSessionId: 2zcy822KqSaJQpWXGNL1nqUNyhuydJL83nKXQlVvxmElLHcP77pb!157731749!-1620044925!7500!9500!1056136434604
    RequestedSessionIdFromCookie: true
    RequestedSessionIdFromURL: false
    UserPrincipal: system
    RemoteUser: system
    RemoteAddr: 127.0.0.1
    RemoteHost: 127.0.0.1
    Parameters
    MBean = psglisadm:Application=PORTAL,Location=psglissvr,Name=WebDescriptor-5,Type=WebDescriptor,WebAppComponent=PORTAL
    Attributes
    wlinternalaction = weblogic.management.console.actions.internal.InternalActionContext@2229ca
    java.util.Locale = en_US weblogic.auth.status = 0 weblogic.httpd.user = system
    weblogic.management.console.catalog.Catalog = weblogic.management.console.catalog.XmlCatalog@34fa3c
    weblogic.management.console.helpers.BrowserHelper = User-Agent: Mozilla/4.0 (compatible;
    MSIE 6.0; Windows NT 5.0) IE: true Netscape: false Supported: true JavscriptHrefs:
    false TableCellClick: true DocumentReloadedOnResize: false DropdownStretchable:
    true CellSpacingBlank: false EmptyCellBlank: false ImgOnclickSupported: true TableBorderFancy:
    true PartialToWideTables: false DisabledControlSupported: true weblogic.management.console.helpers.DebugHelper
    = weblogic.management.console.helpers.DebugHelper@27a485 weblogic.management.console.helpers.UnitsHelper
    = weblogic.management.console.helpers.UnitsHelper@46fe47 weblogic.management.console.helpers.UrlHelper
    = weblogic.management.console.helpers.UrlHelper@65ce3c
    Headers
    Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Encoding
    = gzip, deflate Accept-Language = en-us Authorization = Basic c3lzdGVtOmdsaXN0ZWFtMDM=
    Connection = Keep-Alive Cookie = JSESSIONID=2zcy822KqSaJQpWXGNL1nqUNyhuydJL83nKXQlVvxmElLHcP77pb!157731749!-1620044925!7500!9500
    Host = 127.0.0.1:7500 Referer = http://127.0.0.1:7500/console/actions/mbean/MBeanDescriptorFramesetAction?isNew=false&sidebarFrameId=wl_console_frame_1056136434809&frameId=wl_console_frame_1056136434850&MBean=peoplesoft%3AApplication%3DPORTAL%2CName%3DPORTAL%2CType%3DWebAppComponent&bodyFrameId=wl_console_frame_1056136434811
    User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    BrowserInfo
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    IE: true
    Netscape: false
    Supported: true
    JavscriptHrefs: false
    TableCellClick: true
    DocumentReloadedOnResize: false
    DropdownStretchable: true
    CellSpacingBlank: false
    EmptyCellBlank: false
    ImgOnclickSupported: true
    TableBorderFancy: true
    PartialToWideTables: false
    DisabledControlSupported: true

    Editing other domains is a scenario fraught with peril, which is why it was
    deprecated and removed from the console. It looks to me that the error
    message sums up the problem, ther eis no applications directory in the
    peoplesoft domain? Have you tried creating that directory from the file
    system?
    cheers
    mbg
    "Dan" <[email protected]> wrote in message
    news:[email protected]...
    >
    We get the followign when we navigate to the 'Peoplesoft' domain and then
    add a servlet and attempt to "persist".
    everything else seems to work fine.
    By navigating to the peolesoft domain, we open the default server
    and use "edit other domain" to pull up the console. then navigate toportal ->
    edit descriptors.
    OS is an Win2k Server.
    Thanks in advance for any help.
    ---- Error starts below ------
    java.io.FileNotFoundException:f:\bea\weblogic\wlserver6.1\config\peoplesoft\applications
    (Access is denied)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.(FileInputStream.java:64)
    at java.io.FileInputStream.(FileInputStream.java:95)
    atweblogic.utils.jars.RandomAccessJarFile.copyJarToJarDir(RandomAccessJarFile.
    java:272)
    at weblogic.utils.jars.RandomAccessJarFile.(RandomAccessJarFile.java:144)
    atweblogic.servlet.internal.dd.DescriptorLoader.persist(DescriptorLoader.java:
    598)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:636)
    atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
    21)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy79.persist(Unknown Source)
    atweblogic.management.console.actions.mbean.DoPersistTopLevelDescriptorAction.
    perform(DoPersistTopLevelDescriptorAction.java:78)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doGet(ActionServl
    et.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.actions.ActionException: An error occurredwhile attempting
    to persist 'WebDescriptor-5' - with nested exception:
    [java.io.FileNotFoundException:f:\bea\weblogic\wlserver6.1\config\peoplesoft\applications
    (Access is denied)]
    at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:68)
    atweblogic.management.console.actions.mbean.DoPersistTopLevelDescriptorAction.
    perform(DoPersistTopLevelDescriptorAction.java:80)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doGet(ActionServl
    et.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Current Date
    Fri Jun 20 14:16:52 CDT 2003
    Console Release Build
    Console Build
    Server Release Build
    6.1.2.0
    Server Build
    WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    All Server Product Versions
    WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02 #154529
    Server System Properties
    awt.toolkit = sun.awt.windows.WToolkit bea.home = F:\bea\weblogicfile.encoding
    = Cp1252 file.encoding.pkg = sun.io file.separator = \ java.awt.fonts =java.awt.graphicsenv
    = sun.awt.Win32GraphicsEnvironment java.awt.printerjob =sun.awt.windows.WPrinterJob
    java.class.path = .;.\lib\weblogic_sp.jar;.\lib\weblogic.jarjava.class.version
    = 47.0 java.ext.dirs = F:\bea\weblogic\jdk131\jre\lib\ext java.home =F:\bea\weblogic\jdk131\jre
    java.io.tmpdir = C:\DOCUME~1\lackp\LOCALS~1\Temp\ java.library.path =F:\bea\weblogic\jdk131\bin;.;C:\WINNT\System32;C:\WINNT;.\bin;f:\oracle\ora9
    2\bin;C:\Program
    Files\Oracle\jre\1.3.1\bin;C:\ProgramFiles\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
    ;C:\Program
    Files\Dell\OpenManage\Array Manager;C:\ProgramFiles\Dell\OpenManage\oma\bin;C:\Program
    Files\Dell\OpenManage\OMSA\bin;C:\ProgramFiles\Dell\OpenManage\LU\bin;C:\Program
    Files\Dell\OpenManage\RAC\MN;C:\ProgramFiles\Dell\OpenManage\oldiags\bin;C:\PROGRA~1\CA\Common\SCANEN~1;C:\PROGRA~1
    \CA\eTrust\INOCUL~1;f:\bea\tuxedo\bin
    java.naming.factory.initial = weblogic.jndi.WLInitialContextFactoryjava.naming.factory.url.pkgs
    = weblogic.jndi.factories java.protocol.handler.pkgs =weblogic.utils|weblogic.utils|weblogic.net|weblogic.management|weblogic.net|
    weblogic.net
    java.runtime.name = Java(TM) 2 Runtime Environment, Standard Editionjava.runtime.version
    = 1.3.1-b24 java.security.policy ==F:\bea\weblogic\wlserver6.1/lib/weblogic.policy
    java.specification.name = Java Platform API Specificationjava.specification.vendor
    = Sun Microsystems Inc. java.specification.version = 1.3 java.vendor = SunMicrosystems
    Inc. java.vendor.url = http://java.sun.com/ java.vendor.url.bug =
    http://java.sun.com/cgi-bin/bugreport.cgi
    java.version = 1.3.1 java.vm.info = mixed mode java.vm.name = JavaHotSpot(TM)
    Client VM java.vm.specification.name = Java Virtual Machine Specificationjava.vm.specification.vendor
    = Sun Microsystems Inc. java.vm.specification.version = 1.0 java.vm.vendor= Sun
    Microsystems Inc. java.vm.version = 1.3.1-b24javax.rmi.CORBA.PortableRemoteObjectClass
    = weblogic.iiop.PortableRemoteObjectDelegateImpl javax.rmi.CORBA.UtilClass= weblogic.iiop.UtilDelegateImpl
    javax.xml.parsers.DocumentBuilderFactory =weblogic.xml.jaxp.RegistryDocumentBuilderFactory
    javax.xml.parsers.SAXParserFactory =weblogic.xml.jaxp.RegistrySAXParserFactory
    javax.xml.transform.TransformerFactory =weblogic.xml.jaxp.RegistrySAXTransformerFactory
    jmx.implementation.name = JMX RI jmx.implementation.vendor = SunMicrosystems
    jmx.implementation.version = 1.0 jmx.specification.name = Java ManagementExtensions
    jmx.specification.vendor = Sun Microsystems jmx.specification.version =1.0 Final
    Release line.separator = org.xml.sax.driver =weblogic.apache.xerces.parsers.SAXParser
    os.arch = x86 os.name = Windows 2000 os.version = 5.0 path.separator = ;sun.boot.class.path
    =F:\bea\weblogic\jdk131\jre\lib\rt.jar;F:\bea\weblogic\jdk131\jre\lib\i18n.ja
    r;F:\bea\weblogic\jdk131\jre\lib\sunrsasign.jar;F:\bea\weblogic\jdk131\jre\c
    lasses
    sun.boot.library.path = F:\bea\weblogic\jdk131\jre\bin sun.cpu.endian =little
    sun.cpu.isalist = pentium i486 i386 sun.io.unicode.encoding =UnicodeLittle user.dir
    = F:\bea\weblogic\wlserver6.1 user.home = C:\Documents and Settings\lackpuser.language
    = en user.name = lackp user.region = US user.timezone = America/Chicagoweblogic.Domain
    = psglisadm weblogic.Name = psglissvr weblogic.ProductionModeEnabled =true weblogic.security.jaas.Configuration
    = weblogic.security.internal.ServerConfig weblogic.security.jaas.Policy =./lib/Server.policy
    >
    >
    Request Info
    Protocol: HTTP/1.1
    ServerName: 127.0.0.1
    ServerPort: 7500
    Secure: false
    ContextPath: /console
    ServletPath: /common/error.jsp
    QueryString:MBean=psglisadm%3AApplication%3DPORTAL%2CLocation%3Dpsglissvr%2CName%3DWebDe
    scriptor-5%2CType%3DWebDescriptor%2CWebAppComponent%3DPORTAL
    PathInfo: null
    PathTranslated: null
    RequestURI: /console/common/error.jsp
    AuthType: Basic
    ContentType: null
    CharacterEncoding: null
    Locale: en_US
    Method: GET
    Session:weblogic.servlet.internal.session.MemorySessionData@92f6
    RequestedSessionId:2zcy822KqSaJQpWXGNL1nqUNyhuydJL83nKXQlVvxmElLHcP77pb!157731749!-1620044925!7
    500!9500!1056136434604
    RequestedSessionIdFromCookie: true
    RequestedSessionIdFromURL: false
    UserPrincipal: system
    RemoteUser: system
    RemoteAddr: 127.0.0.1
    RemoteHost: 127.0.0.1
    Parameters
    MBean =psglisadm:Application=PORTAL,Location=psglissvr,Name=WebDescriptor-5,Type=We
    bDescriptor,WebAppComponent=PORTAL
    >
    Attributes
    wlinternalaction =weblogic.management.console.actions.internal.InternalActionContext@2229ca
    java.util.Locale = en_US weblogic.auth.status = 0 weblogic.httpd.user =system
    weblogic.management.console.catalog.Catalog =weblogic.management.console.catalog.XmlCatalog@34fa3c
    weblogic.management.console.helpers.BrowserHelper = User-Agent:Mozilla/4.0 (compatible;
    MSIE 6.0; Windows NT 5.0) IE: true Netscape: false Supported: trueJavscriptHrefs:
    false TableCellClick: true DocumentReloadedOnResize: falseDropdownStretchable:
    true CellSpacingBlank: false EmptyCellBlank: false ImgOnclickSupported:true TableBorderFancy:
    true PartialToWideTables: false DisabledControlSupported: trueweblogic.management.console.helpers.DebugHelper
    = [email protected]nagement.console.helpers.UnitsHelper
    = [email protected]nagement.console.helpers.UrlHelper
    = weblogic.management.console.helpers.UrlHelper@65ce3c
    Headers
    Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*Accept-Encoding
    = gzip, deflate Accept-Language = en-us Authorization = Basicc3lzdGVtOmdsaXN0ZWFtMDM=
    Connection = Keep-Alive Cookie =JSESSIONID=2zcy822KqSaJQpWXGNL1nqUNyhuydJL83nKXQlVvxmElLHcP77pb!157731749!-1
    620044925!7500!9500
    Host = 127.0.0.1:7500 Referer =http://127.0.0.1:7500/console/actions/mbean/MBeanDescriptorFramesetAction?isNew=false&sidebarFrameId=wl_console_frame_1056136434809&frameId=wl_console_frame_1056136434850&MBean=peoplesoft%3AApplication%3DPORTAL%2CName%3DPORTAL%2CType%3DWebAppComponent&bodyFrameId=wl_console_frame_1056136434811
    User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    BrowserInfo
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT5.0)
    IE: true
    Netscape: false
    Supported: true
    JavscriptHrefs: false
    TableCellClick: true
    DocumentReloadedOnResize: false
    DropdownStretchable: true
    CellSpacingBlank: false
    EmptyCellBlank: false
    ImgOnclickSupported: true
    TableBorderFancy: true
    PartialToWideTables: false
    DisabledControlSupported: true

  • Java file not included .

    I have:
    import org.eclipse.swt.widgets.Shell;in my program. But this is showing a 'cannot resolve' error.
    I found that this file was actually in a winzip extractor,so I extracted it in the workspace folder .But it is still not accessible.
    I cannot figure out from where the program is importing it's file.
    What is the problem? Where does the folder "org/eclipse/swt/widgets" need to be ?

    It's in a jar. Probably SWT.jar. Include that in your library path, although I'm guessing you're using Eclipse, it usually has a class library specifically containing SWT dependencies. Read teh docs

  • Changes in server side java file not reflecting in Client side java code?

    Hi friends,
    iam using eclipse IDE, JBoss server, SWING GUI and Oracle DB
    ( looks like : SWINGGUI (Client) <--> EJB's (serverside) <---oracle )
    my problem is , when i make change in server side bean file, that changes are not reflecting in GUI programs.
    (for ex: iam adding settr and getter for a field and using that in GUI program. but its not identifying that setter or getter).
    please tell me what should i do for every change done to server side program, that should reflect / available to GUI?

    my problem is , when i make change in server side bean file, that changes are not reflecting in GUI programs.
    (for ex: iam adding settr and getter for a field and using that in GUI program. but its not identifying that setter or getter).what do you mean it's not "identifying" the methods?
    you have to call those methods you know
    are you getting NoSuchMethodError?
    please tell me what should i do for every change done to server side program, that should reflect / available to GUI?you haven't posted any code or error messages that might help us debug

  • Can Java reflect not only .Class file

    Hi' i'm newbie in this topic, i'm really appreciate if somebody can help me..cos i'm really stuck in here...
    My Problems are :
    1. i want to ask about this, can Java reflect from .java file?
    2. i'm using Eclipse IDE, i'm really interesting about how JTree or Package Explorer in Eclipse can always displaying update information about class structure? but .java files not compiled, how can? if Eclipse using reflection, .java files must be compiled first, correct me if i'm wrong?
    The fact is Eclipse don't have to compiled .java files to get the update information about class structure and displaying in JTree or package Explorer...how implement like this?
    what i mean like this :
    ex : if i type int x = 100; (not only int, it could be anything else..) at the working files, JTree or Package Explorer in Eclipse can always update the informasion about class structure, but .java files not compiled..
    i hope my question are easy to understand, i really need some help..
    Thanks a lot..

    hey, thanks for the answers, but i would like to ask :
    1) Eclipse performs background compilation of the Java sources, then performs reflection on those temporary classes++ if i'm using this way, how about the performance? seems that it will be compiled all the time right?
    2) Eclipse has access to the results of the Java source code parser, and can extract the information from the java syntax parser, before it gets to the compilation stage.++ how to implement this? what do you mean about java syntax parser?
    do you know where i can find any article about this?
    thanks a lot again...

  • Java Mapping - Not able to compile .Java file

    Hi Experts,
    I am working with a sample scenario which involves Java Mapping. For this I created MappingClass.java file, After compiling the .Java file .Jar file would be used for Java Mapping by using Imported Archives.
    After compiling the MappingClass.java file, I am getting the errors as below.
    --> Java errors after compilation
    C:\j2sdk1.4.2_13\bin>javac MappingClass.java
    MappingClass.java:4: package com.sap.aii.mapping.api does not exist
    import com.sap.aii.mapping.api.AbstractTrace;
                                   ^
    MappingClass.java:5: package com.sap.aii.mapping.api does not exist
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    --> End of java errors
    In the MappingClass.java file, I had given followed imports.
    import java.util.*;
    import com.sap.aii.mapping.api.AbstractTrace;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    Could some one please guide me to resolve this issue.
    Thanks in advance.
    ..Sree

    Hi
    I had copied " aii_map_api.jar " file in my Java Class path folder.. i.e " C:\j2sdk1.4.2_08\bin "     AND    " C:\j2sdk1.4.2_08\lib " folders too.. and even in C:\ i.e Root Drive also.
    After trying to Compile my java file (ex : MappingClass.java), still I am getting the errors.
    Errors shown as below.
    --> Errors
    C:\mytest>javac MappingClass.java
    MappingClass.java:2: package com.sap.aii.mapping.api does not exist
    import com.sap.aii.mapping.api.AbstractTrace;
                                   ^
    MappingClass.java:3: package com.sap.aii.mapping.api does not exist
    import com.sap.aii.mapping.api.StreamTransformationConstants;
                                   ^
    MappingClass.java:6: cannot resolve symbol
    symbol  : class AbstractTrace
    location: class MappingClass
        private static AbstractTrace trace = null;
                       ^
    MappingClass.java:12: cannot resolve symbol
    symbol  : class AbstractTrace
    location: class MappingClass
            trace = (AbstractTrace)inputparam.get(
                     ^
    MappingClass.java:13: cannot resolve symbol
    symbol  : variable StreamTransformationConstants
    location: class MappingClass
                       StreamTransformationConstants.MAPPING_TRACE );
                       ^
    5 errors
    --> End of Errors
    Could some one please guide me to resolve this issue.
    Thanks in advance.
    ..Sree

  • "Java file" & "Jsp file" compilation issues in Eclipse

    Hi,
    Eclipse
    Question 1:
    I have set the value for preference->java->Installed JREs as : j2re1.4.2_07 not to jdk
    When I write a java file, its compiling, how? From where its using "javac" exe file for compilation.
    Question 2:
    Whereas in prefrence->Tomcat->JVMSettings -> JRE(drop down box) set value as j2re.1.4.2_07
    When I write a jsp file as follows
    index.jsp
    <html>
    <body>
    <%java.util.Date d = new java.util.Date();%>
    Todays date is <%= d.getDate()%> and this jsp page worked!
    </body>
    </html>
    when i try to save this file & strat tomcat I got exception as follows:
    Exception:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    Please clear my doubts.
    Thanks,
    Hari

    Try going into your TOMCAT_HOME/conf/web.xml and look for this section:
    <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    <init-param>
    <param-name>logVerbosityLevel</param-name>
    <param-value>WARNING</param-value>
    </init-param>
    <init-param>
    <param-name>fork</param-name>
    <param-value>false</param-value>
    </init-param>
    <load-on-startup>3</load-on-startup>
    </servlet>
    Change the <param-value> for fork from false to true and see if that helps.
    Otherwise it's a problem with your JSP.

  • [weblogic-9.1] JSP 2.0 tag file gets compiled but not reloaded

    I am trying to use a JSP 2.0 tag file on weblogic 9.1. Everything works as expected until I reload the page after changing the tag file. Consider the following files, simple.jsp and simple.tag:
    h5. /simple.jsp
    &lt;%@ page language="java" %&gt;
    &lt;%@ taglib prefix="sandbox" tagdir="/WEB-INF/tags" %&gt;
    &lt;html&gt;
    &lt;body&gt;
    This output comes from the jsp.
    &lt;sandbox:simple&gt;
    &lt;/sandbox:simple&gt;
    &lt;/body&gt;
    &lt;/html&gt;h5. /WEB-INF/tags/simple.tag
    &lt;%@ tag language="java" %&gt;
    <div>This output comes from a tag file
    </div>The output of a call to simple.jsp is:
    <html><head>
    </head><body>
    This output comes from the JSP.
    <div>This output comes from a tag file</div>
    </body></html>So far, so good. Now I change the content of simple.tag to
    <%@ tag language="java" %>
    <div>This output comes from *simple.tag*<div>On a new call to simple.jsp,
    1. Weblogic notices that the file has been changed,
    2. generates the TagHandler .java file
    3. compiles the .java file
    But the new class file seems not to be loaded by weblogic; the resulting HTML does not change. It is not a browser cache issue, as I can see Javelin compilation errors. E.g., changing the tag file content to
    <%@ tag language="j" %>
    <div>This output comes from simple.tag</div>leads to the following (expected) error:
    Compilation of JSP File '/sandbox/simple.jsp' failed:
    simple.tag:1:18: "j" is not a valid setting for the language attribute.
    <%@ tag language="j" %>
    ^-^
    Changes to the .jsp file are reflected in the HTML output.
    Am I missing something? Is there any flag I have to set in my weblogic configuration?

    You are right in saying that decoding has nothing to
    do with rendering per se.I will go even further than Erik did, and dispute this statement.
    Consider that you are generating an <input> tag for a text field. Among other things, you have to generate a "name" attribute. Who decides what to put there? The renderer that actually created the markup.
    The "renderer" really does
    two completely different things. But both should
    nevertheless be separate from the component
    implementation itself. You could still have the
    renderer doing the decoding part, which arguably would
    rarely change, and somehow delegate the actual
    rendering to an implementation in a tag file.Whether you implement decoding in a separate class or inside the component, what request parameter name do you look for? It is not reasonable to assume that ALL possible renderers will choose the same parameter name ... hence, decoding and encoding are inextricably linked (the code doing the decoding has to know what kind of markup the code doing the encoding actually created). In JavaServer Faces, the current APIs create that linkage by requiring that the decode and encode be done by the same class (either the component, if you are not delegating, or the renderer if you are).
    Craig

Maybe you are looking for

  • Speed on 2 computers

    Hi, I have a strange problem: I have a desktop and a laptop and a new internetconnection. When I use the desktop, I get downloads of up to about 3 Mbyte per second. However, if I change the same ethernet cable from the desktop on the laptop, I only g

  • Plug in an iPod to update... I would, if I could!

    It cannot be coincidence that at the point I was installing updater 2006-03-23 my iPod became unrecognisable by my PC. I first got the "I can't mount iPod" and now get "Plug in an iPod to update"! It was working fine and now it's not. There seems to

  • How to create tab indexing for jtextBox

    Dear Forum i am user of jDeveloper. And working on JClient/Swing application. In "Jframe.java" i add various cotrols such as jTextbox,jCombobox ,jlabel etc. So how to create tab indexing for these controls. Girdher

  • CS3 printer profiles (icc & icm) have disappeared.

    I am running under XP SP3 with Photoshop CS3 version 10.0.1 with an Epson R2400. All of the profiles are present in windows/system32/spool/drivers/color, but are not listed in Photoshop's printer profile list. Everything was working fine as recently

  • Imported image as emitter

    Hello, I'd like to use an image sequence from outside Motion as an Emitter shape. When I bring in the images (rgba tiff mattes), and set the Emitter to "Image", Motion uses the entire frame as the source instead of the shapes within the image sequenc