Compiling error: "checking for mtc_init in -lmatc... no"

Hello
I'm trying to compile the elmer fem from svn via a selfmade PKBUILD.
I've got an error message:
"checking whether we are using the Microsoft C compiler... no
checking for mtc_init in -lmatc... no
configure: error: libmatc
==> FEHLER: Ein Fehler geschah in build().
    Breche ab ..."
Is here a dependency missing? Does anyone know which?
Thanks.

I'm having the same problem, albeit 18 months later. I am working with a tutorial from apress, which seems very high on Glassfish as a AppServer environment for learning EJB 3.0. I have the same error when I try to run the client application in the Sun Platform 9.0 Application Server's AppClient Module container , "... Error checking for persistence unit annotations in the main class..." and I think it has something to do with the fact that the AppClient is expecting "something" in the MANIFEST.MF file that actually isn't there... ( sigh ). " so close, and yet so far away.... "
--- andyj748

Similar Messages

  • Error checking for OS X updates

    hi,
    im getting this message when checking for updates (App Store)   " an error has occurred
    Could not load data from Apple's software update server "
    bootcamp assistant is giving me this message too "Could not download the software due to a network problem." when trying to download windows drivers..
    can´t find a solution.
    thanks.

    Cross reference
    error checking for OS X updates – MacRumors Forums (2015-04-05)

  • Appclient: Error checking for persistence unit annotations in the main clas

    what does this mean? i tried to launch my app client as follows:
    appclient -client foo.jar
    Oct 9, 2006 3:49:02 PM com.sun.enterprise.appclient.MainWithModuleSupport <init>
    WARNING: ACC003: Application threw an exception.
    java.lang.RuntimeException: Error checking for persistence unit annotations in the main class
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnnotation(StandAloneAppClientInfo.java:88)
    at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnnotations(AppClientInfo.java:342)
    at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersistenceUnit(AppClientInfo.java:311)
    at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo.java:164)
    at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(AppClientInfoFactory.java:136)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:287)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    Caused by: java.lang.NullPointerException
    at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
    at java.util.jar.JarFile.getInputStream(JarFile.java:382)
    at com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotation(AnnotationDetector.java:139)
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnnotation(StandAloneAppClientInfo.java:86)
    ... 6 more

    Hi, Did you find out what caused this as I have the same problem.
    :\Sun\EJB3\Chapter02-SessionSamples\SessionBeanSamples\archive>%GLASSFISH_HOME%
    bin/appclient.bat -client searchfacadeclient.jar
    006-11-08 12:52:48 com.sun.enterprise.deployment.annotation.impl.ModuleScanner
    etElements
    ARNING: Cannot load SearchFacadeTest reason : SearchFacadeTest
    006-11-08 12:52:48 com.sun.enterprise.appclient.MainWithModuleSupport <init>
    ARNING: ACC003: Application threw an exception.
    ava.lang.RuntimeException: Error checking for persistence unit annotations in t
    e main class
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnn
    tation(StandAloneAppClientInfo.java:88)
    at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnn
    tations(AppClientInfo.java:342)
    at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersiste
    ceUnit(AppClientInfo.java:311)
    at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo
    java:164)
    at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(
    ppClientInfoFactory.java:136)
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithMod
    leSupport.java:287)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    aused by: java.lang.NullPointerException
    at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
    at java.util.jar.JarFile.getInputStream(JarFile.java:382)
    at com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotat
    on(AnnotationDetector.java:139)
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnn
    tation(StandAloneAppClientInfo.java:86)
    ... 6 more
    xception in thread "main" java.lang.RuntimeException: java.lang.RuntimeExceptio
    : Error checking for persistence unit annotations in the main class
    at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithMod
    leSupport.java:364)
    at com.sun.enterprise.appclient.Main.main(Main.java:180)
    aused by: java.lang.RuntimeException: Error checking for persistence unit annot
    tions in the main class
    at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnn
    tation(StandAloneAppClientInfo.java:88)
    at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnn
    tations(AppClientInfo.java:342)
    at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersiste
    ceUnit(AppClientInfo.java:311)
    at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo
    java:164)
    at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(
    ppClientInfoFactory.java:136)

  • Error checking for persistence unit annotations in the main class

    Hi
    When I tried running the examples from the SUN JMS tutorials, I landed in a problem. I did the following changes...
    1. I created a new project in eclipse
    2. created the java class 'Producer.java' in a package..(the one in java tutorial is not in a package)
    3. copied the build.xml and made the the respective changes.
    I successfully created the jar file, but when I tried to run the the application
    appclient -client JMSProducer.jar eg.jms.P2PProducer.Producer queue 3it throws the following exception:
    Nov 29, 2006 3:40:33 PM com.sun.enterprise.deployment.annotation.impl.ModuleScan
    ner getElements
    WARNING: Cannot load ${main.class} reason : ${main.class}
    Nov 29, 2006 3:40:33 PM com.sun.enterprise.appclient.MainWithModuleSupport <init
    >
    WARNING: ACC003: Application threw an exception.
    java.lang.RuntimeException: Error checking for persistence unit annotations in t
    he main class
            at com.sun.enterprise.appclient.StandAloneAppClientInfo.classContainsAnn
    otation(StandAloneAppClientInfo.java:88)
            at com.sun.enterprise.appclient.AppClientInfo.mainClassContainsPURefcAnn
    otations(AppClientInfo.java:342)
            at com.sun.enterprise.appclient.AppClientInfo.appClientDependsOnPersiste
    nceUnit(AppClientInfo.java:311)
            at com.sun.enterprise.appclient.AppClientInfo.completeInit(AppClientInfo
    .java:164)
            at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppClientInfo(
    AppClientInfoFactory.java:136)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithMod
    uleSupport.java:287)
            at com.sun.enterprise.appclient.Main.main(Main.java:180)
    Caused by: java.lang.NullPointerException
            at java.util.zip.ZipFile.getInputStream(ZipFile.java:286)
            at java.util.jar.JarFile.getInputStream(JarFile.java:387)
            at com.sun.enterprise.deployment.util.AnnotationDetector.containsAnnotat
    ion(AnnotationDetector.java:139)I have spent so much time identifying the problem... can anyone point the error please?

    I'm having the same problem, albeit 18 months later. I am working with a tutorial from apress, which seems very high on Glassfish as a AppServer environment for learning EJB 3.0. I have the same error when I try to run the client application in the Sun Platform 9.0 Application Server's AppClient Module container , "... Error checking for persistence unit annotations in the main class..." and I think it has something to do with the fact that the AppClient is expecting "something" in the MANIFEST.MF file that actually isn't there... ( sigh ). " so close, and yet so far away.... "
    --- andyj748

  • Compile-time checking for Serializable

    Hi,
    For an object to be Serialized it must implement the Serializable interface. If any of the objects it stores as instance variables do not implement this interface then run-time exceptions will be thrown. Why can't there be a compile-time check for this? It seems fairly simple to me... Also, why don't the writeObject methods only accept objects that are Serializable? Just changing the method signature to public void writeObject(Serializable obj) throws... should be enough if compile-time checking were available.
    Am I being really stupid or are Sun?
    Dan.

    It would be impossible to reasonably check at compile time, because what if you had a variable of type Object? At runtime it might work because anything could be in there, but if you check at compile time, it would have to fail, because the compiler can't gurantee that the value will be serializable. Also, a non-serializable field wouldn't cause a problem at runtime if it's null, which is another condition the compiler cannot check.

  • To develop an error checker for consecutive values

    Thanks Doug. Your answer has given me further insight into the problem.
    However, I was wondering if it is possible to make an error checker for consecutive values of a particular variable.
    That is, the first value and second value might be 100 and 100.5 respectively, but the third value might be 110, which is a wrong value. How do I discard the 110 point from being plotted?
    Thanks.
    Choy

    Really difficult. How do you know the first two values aren't errors and
    the third one is correct. If you're getting these sorts of values fromn
    your A-D hardware, I'd suggest fixing the problem at the source.
    Regards,
    Alf Katz,
    [email protected]
    "leon2001" wrote in message
    news:[email protected]..
    > Thanks Doug. Your answer has given me further insight into the
    > problem.
    >
    > However, I was wondering if it is possible to make an error checker
    > for consecutive values of a particular variable.
    >
    > That is, the first value and second value might be 100 and 100.5
    > respectively, but the third value might be 110, which is a wrong
    > value. How do I discard the 110 point from being plotted?
    >
    > Thanks.
    >
    >
    > Choy

  • Adobearm.exe error Checking for updates

    I'm getting this error when Adobe Reader 10.1.1 checks for updates.  Since it checks automatically this pops up on it's own when you view a PDF.  It will also do it if you check for updates using the help menu.  Running Windows 7 Enterprise x64.  It's also happening on at least one other computer in our organization.  I've searched all over, but I'm not finding much on it.  I've even gone so far as to run procmon to see if I can see where it's trying to read that it's getting an access denied, but that didn't return anything helpful.  Any help is appreciated.

    1.  adobearm.exe does exist in the location the error states.  Interesting it shows an older date on it.  Not sure it's getting uninstalled with reader each time.  maybe I should delete the arm folder manually when I uninstall and try to reinstall?
    2. it has a valid digital signature from Adobe.
    3. 1.5.5.0
    4. I am admin, but UAC is on.  I had also tried running reader as admin, but it made no difference.
    5. Doesn't matter if you open stand alone pdf or in browser.  You will get the error either way.  Without the help menu in the browser I can't manually check for updates, but it appears to check automatically because it will error on it's own when viewing an online pdf.
    6. Yes double-clicking on a file you get the error.  It's not immediate though.  There is a delay before it automatically checks for updates it looks like.  Once it does you get the error.  I assume it's the checking for updates automatically that causes this anyway since it's the same error when I manually check for updates.  I supposed it could be a different problem that produces the same error.
    7. originally I installed it via the enterprise download package.  I customize the installer using "Adobe Customization Wizard X".  When I discovered the problem I rebuilt the package and reinstalled.  Didn't help.  I then reinstalled using the default Enterprise package with no customization.  Didn't help.  I then installed off the website.  Didn't help.

  • Compile Error on For All Of Rule

    Here is the rule:
    The Family Unit is valid if
    For All of the Application’s Family Members, the Family Member’s Country of Citizenship = “US”.
    the Application is a singleton entity. the Family Member is a non-singleton entity. A relationship exists between the two from Application to Family Member (1:M) of the Application's Family Members.
    the Family Member’s Country of Citizenship is defined as a variable thrugh the document.
    When compiling, the error message states it is expecting a relationship belonging to entity: global
    I thought that creating a singleton entity makes it equivalent to the global.
    Thanks,
    Terry

    I would second Jasmine's recommendation and add that everything you want to do can be achieved by ensuring the relationships with the correct cardinality ie 1:1.
    However, its important to add that whenever you see a 1:1 relationship, you have to ask yourself if you wouldn't be better off with a single entity instead of two. There are of course valid reasons for having separate entities, such as matching customer data, but you should always consider simplifying the model.
    1:1 relationships can be simply traversed using the For or ForScope operator (see my other answers to your queries).
    You can use the for operator to lift attributes across a to 1 relationship (often very useful)
    eg:
    The application’s end date = For(the application’s promotion, the promotion’s end date)You can use the for operator to compare attributes across a to 1 relationship
    eg:
    The application's processing fee is valid if
       For(the application’s promotion, The application’s processing fee > The promotion’s processing fee)You can use the scoped for operator to do more complex operations
    The application's processing fee is valid if
      For(the application’s promotion)
        The application’s processing fee > The promotion’s processing fee; and
        The promotion's code = the application's codeEdited by: frank.hampshire on Oct 15, 2010 9:52 AM
    Edited by: frank.hampshire on Oct 15, 2010 9:52 AM

  • Error check for multiple ranges input

    Hi,
    I have coded a report with the following select options:
    SELECT-OPTIONS:
       S_PONUM FOR EKKO-EBELN NO INTERVALS,
       S_PODAT FOR EKKO-BEDAT NO-EXTENSION,
       S_LCNUM FOR EIKP-VORNU NO-EXTENSION NO INTERVALS,
       S_VENDR FOR EKKO-LIFNR NO-EXTENSION NO INTERVALS.
    I want that a check should be applied at the selection screen level that at least one field should contain a value, i.e. report cannot be run with all blank selection fields.
    I am using this code:
    AT SELECTION-SCREEN.
    IF S_PONUM-LOW IS INITIAL AND
        S_PODAT-LOW IS INITIAL AND
        S_LCNUM-LOW IS INITIAL AND
        S_VENDR-LOW IS INITIAL.
        MESSAGE I007(ZSH_MSGC) WITH 'All selection fields cannot be blank'.
    ENDIF.
    This works fine, but the problem is that when entering multiple ranges for S_PONUM, when the button on the right of the field is clicked to input range values the message pops up. I want that the check should be applied on execute (F8). Any suggestions? Help is appreciated.
    Regards,

    Hello,
    check the sy-ucomm when the button on the right of the field is clicked keep the condition which i have kept it.
    before the if statement keep this condition also
    SELECT-OPTIONS:
    S_PONUM FOR EKKO-EBELN NO INTERVALS,
    S_PODAT FOR EKKO-BEDAT NO-EXTENSION,
    S_LCNUM FOR EIKP-VORNU NO-EXTENSION NO INTERVALS,
    S_VENDR FOR EKKO-LIFNR NO-EXTENSION NO INTERVALS.
    AT SELECTION-SCREEN.
    if sy-ucomm ne 'find the sy-ucomm'.
    IF S_PONUM-LOW IS INITIAL AND
    S_PODAT-LOW IS INITIAL AND
    S_LCNUM-LOW IS INITIAL AND
    S_VENDR-LOW IS INITIAL.
    MESSAGE  'All selection fields cannot be blank' type 'E'.
    ENDIF.
    endif.
    Edited by: Santosh Marupally on Apr 22, 2009 9:41 AM

  • Compile Error in Enhanced For Loop

    I'm learning generic collections and for practice wrote a simple class that uses a HashMap to store data. However, I'm getting a compile error for the code that accesses the HashMap. The error and code for my class follow.
    Can anyone help?
    Thanks...
    =====================
    The compile error:
    =====================
    MapDict.java:37: package Map does not exist for( Map.Entry entry : glossary.entrySet()  )                        ^1 error=======================
    The code for my class:
    =======================
    import java.util.Scanner;
    import java.util.HashMap;
    public class MapDict
         HashMap<String, String> glossary = new HashMap<String, String>();
         public void getEntries()
              Scanner sc = new Scanner( System.in ).useDelimiter("\n");
              String moreEntries = "y";
              String word        = "";
              String definition  = "";
              while ( moreEntries.toUpperCase().equals( "Y") )
                   System.out.print("Enter word: ");
                   word = sc.next();
                   System.out.print("Enter definition: ");
                   definition = sc.next();
                   glossary.put( word, definition);
                   System.out.print("Another glossary item? (y/n) ");
                   moreEntries = sc.next();
         public void displayEntries()
              System.out.println( glossary.size() );
              // Here is where the compile error occurs:
              for( Map.Entry entry : glossary.entrySet()  )
                   System.out.println( "\nWord: " + entry.getKey() + " Definition: " + entry.getValue() );
    }

    import java.util.Scanner;
    import java.util.HashMap;I don't see java.util.Map or java.util.Map.Entry listed here....

  • "asant build" for bookstore1 example in j2ee tutorial gives "compile error"

    Hello everybody,
    I am trying to run "asant build" command to build package for bookstore1 example given in j2ee tutorials.
    I installed my j2ee tutorial 1.4 in "c:\java\j2eetutorial14" and my example is in "c:\java\j2eetutorial\examples\web\bookstore1".
    My j2ee SDK with appliation server is installed in C:\sun\appserver.
    When i run the "asant build" command in "c:\java\j2eetutorial\examples\web\bookstore1" directory i get compile error with last few lines as follows.
    [javac] location: class servlets.ShowCartServlet
    [javac] } catch (BookNotFoundException ex) {
    [javac] ^
    [javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
    :136: cannot resolve symbol
    [javac] symbol : class ShoppingCartItem
    [javac] location: class servlets.ShowCartServlet
    [javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
    [javac] ^
    [javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
    :136: cannot resolve symbol
    [javac] symbol : class ShoppingCartItem
    [javac] location: class servlets.ShowCartServlet
    [javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
    [javac] ^
    [javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
    :137: cannot resolve symbol
    [javac] symbol : class BookDetails
    [javac] location: class servlets.ShowCartServlet
    [javac] bd = (BookDetails) item.getItem();
    [javac] ^
    [javac] 69 errors
    BUILD FAILED
    file:C:/Java/j2eetutorial14/examples/web/bookstore1/build.xml:68: Compile failed; see the compiler error output for details.
    Total time: 2 seconds
    Can some one please help me.
    thanks

    When i run the "asant build" command in
    "c:\java\j2eetutorial\examples\web\bookstore1"
    directory i get compile error with last few lines as
    follows.Did you package the bookstore common files as described in Chapter 3? My guess is that you didn't include bookstore.jar from <INSTALL>/j2eetutorial14/examples/build/web/bookstore/dist/.
    -Ian Evans
    Sun Microsystems
    J2EE Tutorial team

  • Newbie:  jsp compile error w/ tomcat 5.0.19

    Hello there, this is my first time try to write something in jsp/ servlets, and i encounter a minor installation problem:
    using mdk linux with j2sdk1.4.2 (locate at /usr/local/), tomcat is also locate at /usr/local.
    I am able to see HelloServlet.java, and HelloWorld.html at http://localhost:8080/servlet/HelloServlet
    and http://localhost:8080/testing/HelloWorld.html
    but i'm unable to see HelloWorld.jsp at http://localhost:880/HellowWorld.jsp (my HelloWorld.html and HellowWorld.jsp are locate at the same dir)
    here's are the things i added in my /etc/profile so far:
    CATALINA_HOME="/usr/local/Tomcat"
    export CATALINA_HOME
    JAVA_HOME="/usr/local/j2sdk1.4.2"
    export JAVA_HOME
    JavaPath="/usr/local/j2sdk1.4.2/bin"
    export JavaPath
    PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
    export PKG_CONFIG_PATH
    CLASSPATH=$CLASSPATH:/usr/local/Tomcat/common/lib/servlet-api.jar:/usr/local/Tomcat/
    common/lib/jsp-api.jar:/home/allen/programming/j2ee/:./
    export CLASSPATH
    when do java -verison, i see:
    [root@localhost local]# java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
    Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
    when start tomcat, i got:
    [root@localhost bin]# ./startup.sh
    Using CATALINA_BASE: /usr/local/Tomcat
    Using CATALINA_HOME: /usr/local/Tomcat
    Using CATALINA_TMPDIR: /usr/local/Tomcat/temp
    Using JAVA_HOME: /usr/local/j2sdk1.4.2
    i thought i did everything that was told, yet i can't see jsp page on my browser, while i can see servlets and html,
    thank you for your time in advance ^_^

    sorry, it was a typo, yea...it was for http://localhost:8080/testing/Hello.jsp
    this morning, i copied "tool.jar" from j2sdk1.4.2 to my /usr/local/tomcat/common/lib, restarted, fire it up again using "./catalina.sh" just to see where the problems came from, and here's where the compile error occue:
    Compile failed; see the compiler error output for details.
            at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:978)
            at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799)
            at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:387)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
            at java.lang.Thread.run(Thread.java:534)
    Mar 16, 2005 7:28:37 AM org.apache.jasper.compiler.Compiler generateClass
    SEVERE: Env: Compile: javaFileName=/usr/local/jakarta-tomcat-5.0.19/work/Catalina/localhost/_//org/apache/jsp/testing/Hello_jsp.java
        classpath=/usr/local/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/classes/:/usr/local/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/lib/catalina-root.jar:/usr/local/jakarta-tomcat-5.0.19/work/Catalina/localhost/_:/usr/local/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/classes/:/usr/local/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/lib/catalina-root.jar:/usr/local/jakarta-tomcat-5.0.19/shared/classes/:/usr/local/jakarta-tomcat-5.0.19/common/classes/:/usr/local/jakarta-tomcat-5.0.19/common/endorsed/xercesImpl.jar:/usr/local/jakarta-tomcat-5.0.19/common/endorsed/xmlParserAPIs.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/ant.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/commons-collections.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/commons-dbcp-1.1.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/commons-el.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/commons-pool-1.1.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/jasper-compiler.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/jasper-runtime.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/jmx.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/jsp-api.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/naming-common.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/naming-factory.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/naming-java.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/naming-resources.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/servlet-api.jar:/usr/local/jakarta-tomcat-5.0.19/common/lib/tools.jar:/usr/local/j2sdk1.4.2/lib/tools.jar:/usr/local/jakarta-tomcat-5.0.19/bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.19/bin/commons-logging-api.jar:/usr/local/j2sdk1.4.2/jre/lib/ext/sunjce_provider.jar:/usr/local/j2sdk1.4.2/jre/lib/ext/dnsns.jar:/usr/local/j2sdk1.4.2/jre/lib/ext/ldapsec.jar:/usr/local/j2sdk1.4.2/jre/lib/ext/localedata.jar
        cp=/usr/local/j2sdk1.4.2/lib/tools.jar:/usr/local/Tomcat/bin/bootstrap.jar:/usr/local/Tomcat/bin/commons-logging-api.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/classes
        cp=/usr/local/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/lib/catalina-root.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/work/Catalina/localhost/_
        cp=/usr/local/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/classes
        cp=/usr/local/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/lib/catalina-root.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/shared/classes
        cp=/usr/local/jakarta-tomcat-5.0.19/common/classes
        cp=/usr/local/jakarta-tomcat-5.0.19/common/endorsed/xercesImpl.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/endorsed/xmlParserAPIs.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/ant.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/commons-collections.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/commons-dbcp-1.1.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/commons-el.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/commons-pool-1.1.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/jasper-compiler.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/jasper-runtime.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/jmx.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/jsp-api.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/naming-common.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/naming-factory.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/naming-java.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/naming-resources.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/servlet-api.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/common/lib/tools.jar
        cp=/usr/local/j2sdk1.4.2/lib/tools.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/bin/bootstrap.jar
        cp=/usr/local/jakarta-tomcat-5.0.19/bin/commons-logging-api.jar
        cp=/usr/local/j2sdk1.4.2/jre/lib/ext/sunjce_provider.jar
        cp=/usr/local/j2sdk1.4.2/jre/lib/ext/dnsns.jar
        cp=/usr/local/j2sdk1.4.2/jre/lib/ext/ldapsec.jar
        cp=/usr/local/j2sdk1.4.2/jre/lib/ext/localedata.jar
        work dir=/usr/local/jakarta-tomcat-5.0.19/work/Catalina/localhost/_
        extension dir=/usr/local/j2sdk1.4.2/jre/lib/ext
        srcDir=/usr/local/jakarta-tomcat-5.0.19/work/Catalina/localhost/_
        include=org/apache/jsp/testing/Hello_jsp.java
    Mar 16, 2005 7:28:37 AM org.apache.jasper.compiler.Compiler generateClass
    SEVERE: Error compiling file: /usr/local/jakarta-tomcat-5.0.19/work/Catalina/localhost/_//org/apache/jsp/testing/Hello_jsp.java     [javac] Compiling 1 source file
        [javac] /usr/local/jakarta-tomcat-5.0.19/work/Catalina/localhost/_/org/apache/jsp/testing/Hello_jsp.java:48: cannot resolve symbol
        [javac] symbol  : class Data
        [javac] location: package util
        [javac]       out.print( new java.util.Data() );
        [javac]                               ^
        [javac] 1 error
    Mar 16, 2005 7:32:34 AM org.apache.jasper.compiler.Compiler generateClass
    looking over the compiler error, it seems to me tomcat is able to recongize /usr/local/j2sdk1.4 's location. which i assume it implied JAVA_HOME and CLASSPATH are setup correctly.
    Dunno why it just won't display jsp pages and kept saying compiler error...
    thank you for helping

  • Java compiler should check if wait() and notify()

    wait(), notify(), and notifyAll() methods should be called within a critical section, but the Java compiler does not check for this. It is usually during running that an Exception is thrown when the methods was not called within a critical section.
    To me, it seems that the compiler should check and enforce that wait(), notify() and notifyAll() be called within a critical section.

    I think I mis-understood you.
    Yes, you are right to say that because callNotify() was called within a critical section at some time, and may be called from other non-critical sections, so the compiler does not have means to keep trace of the calling stack.
    How about this:
    Because critical sections are always marked by the synchronized keyword, the compiler can actually keep count of the synchronized word and its corresponding braces, then when a wait(), or notify(), or notifyAll() call is made at certain point, the compiler just check for the nested synchronized cunt number, if it is non-zero, it will be syntaxically correct.
    Take the example of your code, I see that the proper point for
    public class Test {
      Object lock = new Object();
      public void lockObject() {
        synchronized (lock) {
          callNotify();                     // here the synchronized brace count is 1, so it is OK!
      private void callNotify() {
        lock.notify();               // here the synchronized brace count is 0,
                                            // but because it is a stand alone function, the compiler
                                            // can deliver warning information.
      public void dumbMethod() {
        callNotify();              // should deliver warning
      public static void main(String[] args) {
        Test t = new Test();
        t.lockObject();
        t.callNotify();                   // but here, the synchronized brace count is 0, so failure!
    }

  • Avitek medical records tutorial-- compilation errors

    I have downloaded and extracted the zip file to medrec_tutorial. when i try to run mybuild.xml i get 100 compilation errors as - cannot resolve symbol--
    Can anyone tell me what is the solution to this problem. Thanks

    I am getting the same errors. Please let me know if anyone has found a solution.
    thanks,
    -Won
    Here is a sampling of some of the errors:
    [wlcompile] symbol : class PatientWS
    [wlcompile] location: class com.bea.medrec.controller.PhysicianClientUtils
    [wlcompile] PatientWS patientWS = null;
    [wlcompile] ^
    [wlcompile] C:\medrec_tutorial\src\physicianEar\physSessionEjbs\com\bea\medrec\c
    ontroller\PhysicianClientUtils.java:168: cannot resolve symbol
    [wlcompile] symbol : class PatientWS
    [wlcompile] location: class com.bea.medrec.controller.PhysicianClientUtils
    [wlcompile] patientWS = new PatientWS();
    [wlcompile] ^
    [wlcompile] C:\medrec_tutorial\src\physicianEar\physSessionEjbs\com\bea\medrec\c
    ontroller\PhysicianClientUtils.java:192: cannot resolve symbol
    [wlcompile] symbol : class Prescription
    [wlcompile] location: class com.bea.medrec.controller.PhysicianClientUtils
    [wlcompile] Prescription rX = null;
    [wlcompile] ^
    [wlcompile] C:\medrec_tutorial\src\physicianEar\physSessionEjbs\com\bea\medrec\c
    ontroller\PhysicianClientUtils.java:195: cannot resolve symbol
    [wlcompile] symbol : class Prescription
    [wlcompile] location: class com.bea.medrec.controller.PhysicianClientUtils
    [wlcompile] rX = new Prescription(pRxWS.getPatientId(),
    [wlcompile] ^
    [wlcompile] C:\medrec_tutorial\src\physicianEar\physSessionEjbs\com\bea\medrec\c
    ontroller\PhysicianClientUtils.java:217: cannot resolve symbol
    [wlcompile] symbol : class PrescriptionWS
    [wlcompile] location: class com.bea.medrec.controller.PhysicianClientUtils
    [wlcompile] PrescriptionWS rXWS = null;
    [wlcompile] ^
    [wlcompile] C:\medrec_tutorial\src\physicianEar\physSessionEjbs\com\bea\medrec\c
    ontroller\PhysicianClientUtils.java:220: cannot resolve symbol
    [wlcompile] symbol : class PrescriptionWS
    [wlcompile] location: class com.bea.medrec.controller.PhysicianClientUtils
    [wlcompile] rXWS = new PrescriptionWS();
    [wlcompile] ^
    [wlcompile] C:\medrec_tutorial\src\physicianEar\physSessionEjbs\com\bea\medrec\c
    ontroller\PhysicianClientUtils.java:262: cannot resolve symbol
    [wlcompile] symbol : class PrescriptionWS
    [wlcompile] location: class com.bea.medrec.controller.PhysicianClientUtils
    [wlcompile] PrescriptionWS[] rxWS = null;
    [wlcompile] ^
    [wlcompile] 100 errors
    BUILD FAILED
    file:C:/medrec_tutorial/src/physicianEar/mybuild.xml:4: Compile failed; see the
    compiler error output for details.

  • P2 "Check for update failed unexpectedly"

    Hi
    I am implementing p2 update for my application (followed tutorial on https://blog.codecentric.de/en/2015/04/add-p2-update-functionality-to-an-efxclipse-application-eclipse-rcp-cookbook/)
    Application finds update (tells that there are updates for my product) but gives an error
    "Check for update failed unexpectedly". Thats all. Nothing more. How can I debug? I can not test under Eclipse. What should I do?
    Ubuntu 14.10, JDK 1.8-45, Mars Efxclipse 2.0.0
    By the way thank you very much Tom, for all answers you give. I really appreciate your help.

    There should be some more information, as the causing exception is included in the wrapping StatusException.
    To debug have a look at UpdateServiceImpl#checkUpdate() where the exception is raised.
    You could for example register a listener onException() to your UpdateService#checkUpdate() to get more information about the raised StatusException.

Maybe you are looking for

  • Newbie here i need help

    i just got the droid 2 and im all new to the phone and features i had a blackberry for two years and i was use to that but so far i like the droid i some what know how to do certain things. Now the only problem  idk how to do is connect the droid to

  • Blank display even though the power is on

    Got N73ME, after the LCD replacement my phone turned on but the display is blank. Can receive or make a call but can't see anything on the screen even though the backlight is also on.

  • Infopackage Language Selection

    Hello We have a number of infoobjects that have the langauge field in the datasource with selection ticked on. Example: 0PROFIT_CTR_TEXT However in our infopackage the language characteristic is not available as a selection. Regards M Could someone p

  • Another NoClassDefFoundError

    I'm new to java so I'm not sure whether this should be in the newbie forum. I'm using netbeans and I'm trying to write my first java application. My app compiles without any errors, but it won't run when double-clicked. Running the app from the comma

  • Flash video won't play in captivate project

    I'm learning adobe captivate... when i add a .flv file to my project, it just comes in as a grey box and doesn't play - i've added it as a progressive download video from my hard drive and i already am sure it's injected with metadata... help!!