Log4j does not find properties file (but its in the classes directory)

I am using eclipse, I have created a log4j object:
     private static Logger logger = Logger.getLogger(Http.class.getName());When I try to run the test case, I get:
log4j:WARN No appenders could be found for logger (com.cable.comcast.nsec.common.Http).
log4j:WARN Please initialize the log4j system properly.I usually run into this problem when the log4j.properties file is not in the 'classes' directory, but this time it is.
atlantis@atlantis-laptop:~/workspace/ArborAPI$ cat .classpath | grep output
        <classpathentry kind="output" path="classes"/>
atlantis@atlantis-laptop:~/workspace/ArborAPI$ ls -la classes/
total 16
drwxr-xr-x 3 atlantis atlantis 4096 2008-02-06 16:44 .
drwxr-xr-x 7 atlantis atlantis 4096 2008-02-06 17:08 ..
drwxr-xr-x 3 atlantis atlantis 4096 2008-02-06 16:35 com
-rw-r--r-- 1 atlantis atlantis 2603 2008-02-06 16:44 log4j.propertiesAm I missing something?

Sorry I was really busy the last few days. Thank you for your answers!
I probably should have left out all the specifics of what the software was that I was packaging, because I think what I was really asking did not come across clearly. What I really wanted to know is:
Why do I have to provide the "-I /usr/include/headers_dir" compiler option for some libraries but not for others, although the header files for each lie in a level 1 subdir of /usr/include?
I thought that maybe there was some kind of index of installed libraries that I didn't know about, which I could have updated from within PKGBUILD (so I guess that's why I included it originally). Seems to me now, though, that this is not the case.
I did put in some google time (but not lots b/c 1. hard to google and 2. busy) to find an answer, but to no avail and it's not really top priority right now (and quite honestly never will be, since there is the -I option), so I guess it'll have to wait, unless someone knows...
---EDIT---
So, right after I posted this (stupid me) I had a little think and I finally understand, whats happening.
1. Headers are not found without specifying the directory they are in.
2. I need the -I option because easykf headers are not well formed.
Thanks a lot!
Last edited by maximax (2013-09-27 00:26:03)

Similar Messages

  • How to update zero to a column value when record does not exist in table but should display the column value when it exists in table?

    Hello Everyone,
    How to update zero to a column value when record does not exist in table  but should display the column value when it exists in table
    Regards
    Regards Gautam S

    As per my understanding...
    You Would like to see this 
    Code:
    SELECT COALESCE(Salary,0) from Employee;
    Regards
    Shivaprasad S
    Please mark as answer if helpful
    Shiv

  • Finder does not "find" specific file on my seagate external

    I am new to Mac. (1 week). I have a seagate 1.5 TB external drive I used with my windows system. The drive just contains music, photos and PDF files. My new Mac recognizes the drive but when I go to search for a particular file using finder, it does not find it. I have to look through everything to find the file. Being a Mac newbie, it's likely something I'm missing.

    You may need to add the external drive to Spotlight for indexing http://support.apple.com/kb/ht2409

  • ITunes does not detect my iTouch, but its listed as a camera in my computer

    iTunes does not recognize my iTouch when its connected, but its listed in "my computer" as a digital camera. I've tried all of the support options lusted here: http://support.apple.com/kb/TS1363?viewlocale=en_US
    but they arent working. This is the diagnostics report I'm getting from iTunes. Oh, and the Apple Mobdile Devise Support software won't uninstall either:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Microsoft Windows 7 x64 Ultimate Edition Service Pack 1 (Build 7601)
    BIOSTAR Group TA890FXE
    iTunes 10.5.2.11
    QuickTime 7.7.1
    FairPlay 1.13.37
    Apple Application Support 2.1.6
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.97
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 00C9B11C03813F40
    Current user is an administrator.
    The current local date and time is 2011-12-12 23:24:33.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Advanced Micro Devices, Inc., AMD Radeon HD 6900 Series
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Device Connectivity Tests ****
    iPodService 10.5.2.11 (x64) is currently running.
    iTunesHelper 10.5.2.11 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Standard Enhanced PCI to USB Host Controller.  Device is working properly.
    Standard OpenHCD USB Host Controller.  Device is working properly.
    Standard OpenHCD USB Host Controller.  Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    VIA 1394 OHCI Compliant Host Controller.  Device is working properly.
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.

    What computer OS are you using. Here are links for iTunes not recognizing the iPhone in different OS.
    Apple:  http://support.apple.com/kb/TS1591
    Windows:  http://support.apple.com/kb/TS1538

  • Finder search does not find all files

    Hi,
    I am doing a search in Finder and files missing from the results.
    I am searching for "silverlight" in "This Mac" in the "File Name". The results give me one file "Silverlight.plugin" in the following folder "Macintosh HD/Library/Internet Plug-Ins".
    However there is also another folder in "Macintosh HD/Library/Application Support/Microsoft" with name "Silverlight".
    Also there is another folder in "Macintosh HD/Users/[USERNAME]/Library/Application Support/Microsoft" with name "Silverlight".
    Why finder does not find in search these files/folders? Any idea?
    Thanks

    this happens because system files are not included in default finder searches. I'm not sure why it even found the first file. you may have started the search from inside the main library folder somewhere.
    anyway, to include system files in a search do the following
    in finder enter command+f to start a finder search. click on "Kind", hold the mouse button, scroll and click on "other". in the resulting popup select "system files" and include them in the search. then all instances of Silverlight will be found.

  • PLEASE HELP. How do you access properties files in WEB-INF  and classes directory

    We have a war file that needs to access properties files that are in the WEB-INF directory
    of the war file. We also need to load one of the properties files from the classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjar and a
    war and the libraries both the ejbjar (with a manifest setting the classpath ) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path "WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO properties files
    have been extracted into their appropriate places ( not even those we throw into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves

    The file doesn't have to be extracted from the war. For example, you can place
    test.properties into your app WEB-INF and write a simple JSP to see how it
    works:
    <%
    InputStream in = application.getResourceAsStream("/WEB-INF/test.properties");
    %>
    It will return you a zip inputstream if you deployed your application as a .war.
    Christian Hargraves <[email protected]> wrote:
    I try this, but I get a NullPointerException. The file never actually gets extracted
    from the war. Under tomcat and resin this works great ( that's why I am having all
    of the trouble i am having ), but there are absolutely no properties files in the
    extracted directories for WebLogic deploys. only:
    WEB-INF/some_tmp_dir/WEB-INF/lib
    and then some dynamically generated jor file with all of the classes that would normally
    go in WEB-INF/classes ( all except the properties, of course, which are no where
    to be found. ).
    There has to be some kind of setting I am missing. Please don't make me seperate
    these properties files from the war/ear and then put the path to these properties
    files in the CLASSPATH, changing one step to three steps to deploy!!
    I have found a documented bug where you can't even put the properties files in a
    jar file and that bug will never be fixed for WebLogic 6.1.
    "Dimitri I. Rakitine" <[email protected]> wrote:
    To access files in WEB-INF you can use ServletContext.getResourceXXX("/WEB-INF/filename")
    Christian Hargraves <[email protected]> wrote:
    We have a war file that needs to access properties files that are in theWEB-INF directory
    of the war file. We also need to load one of the properties files fromthe classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjarand a
    war and the libraries both the ejbjar (with a manifest setting the classpath) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path"WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO propertiesfiles
    have been extracted into their appropriate places ( not even those wethrow into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves--
    Dimitri
    Dimitri

  • Openaena does not find internet servers, but does find favorites

    Hi all,
    when i start openarena and then choose mulitplayer -> internet I get the message "No response from master server"
    Strangely, when I uncheck all boxes (only humans, hide private etc) and hit refresh, I do get a list of servers. When I then re-check the bottem 2 checkboxes I still get a list of servers.
    I don't get it. Does anybody know what causes this serverlist to sometimes to not show up?
    Best regards,
    Cedric
    First try, when openarena does find 73 servers, but does give the message "no response from master server":
    -- Common Initialization Complete ---
    IP: 127.0.0.1
    IP: 192.168.31.100
    IP6: ::1
    IP6: fe80::223:4dff:fe95:c997%wlan0
    Opening IP6 socket: [::]:27960
    Opening IP socket: 0.0.0.0:27960
    Requesting servers from master dpmaster.deathmask.net...
    CL_ServersResponsePacket
    73 servers parsed (total 73)
    ----- CL_Shutdown -----
    Closing SDL audio device...
    SDL audio device shut down.
    RE_Shutdown( 1 )
    Second attemmpt, after unchecking the bottom 2 checkboxes i get a list of servers:
    -- Common Initialization Complete ---
    IP: 127.0.0.1
    IP: 192.168.31.100
    IP6: ::1
    IP6: fe80::223:4dff:fe95:c997%wlan0
    Opening IP6 socket: [::]:27960
    Opening IP socket: 0.0.0.0:27960
    Requesting servers from master dpmaster.deathmask.net...
    CL_ServersResponsePacket
    72 servers parsed (total 72)
    Sys_StringToSockaddr: Error resolving dpmaster.deathmask.net: Name or service not known
    CL_GlobalServers_f: Error: could not resolve address of master dpmaster.deathmask.net
    Sys_StringToSockaddr: Error resolving dpmaster.deathmask.net: Name or service not known
    CL_GlobalServers_f: Error: could not resolve address of master dpmaster.deathmask.net
    ----- CL_Shutdown -----

    The alternate method would be something like this (see link below).  There are different instructions for bridging your modem depending on which dsl modem you have.  You'd just have to google for them.  You won't be able to login to the dsl modem after you bridge using the 192.168.1.254, but if for some reason you wanted to.......you'd just have to press and hold the reset button on the dsl modem for around 10 seconds with a ballpoint pen to take it out of bridge mode.  Of course you would have to put it back in to bridge mode if you wish to continue with this setup.
    After you put your AT&T dsl modem in to bridge mode, you more or less use the default factory settings on the WRT120 except for the following:
    1. Change connection type to PPPoE
    2. Enter your AT&T dsl account's user name and password
    3  Set MTU to manual and enter 1492
    4. Make sure "keep alive" for 30 seconds is enabled
    5. Change your wireless security to WPA or preferably WPA2 and use a strong password
    6. Change your router's password....don't use admin.  
    7. Connect wan to wan (internet port to internet port) on dsl modem and your WRT120n
    and you should have internet with no problems.  If it won't connect to internet, just unplug both the dsl modem and the WRT120 for 30 seconds and reboot your computer and plug the dsl modem and WRT120 back in.  If your wireless signal fluctuates, you can try changing the channel on the WRT120.
    Here is a program called inSSIDer that helps you determine what wireless channels that other people are using in your proximity so you can find a channel that is available (not in use).
    http://www.metageek.net/products/inssider/?utm_expid=190328-1&utm_referrer=http%3A%2F%2Fwww.google.c...
    The dsl modem bridge link:
    http://www.no-ip.com/support/guides/routers/bridging_your_dsl_modem.html

  • HT1391 How can I find a lost iPad if it does not show on iCloud, but I have the serial number?

    My iPad is missing, but it does not show on iCloud. Apple.com shows the serial number, but it is not on iCloud. Any options?

    Hi nstancioff,
    Please refer to this KB arttcle.
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html
    regards,
    Abhijit

  • Find does not find any files in Bridge 2.1.1.9

    I ran Edit > Find in Bridge 2.1.1.9 while a folder with files was selected.
    I searched for 1, I also tried *1*.
    It is finding no files, even though under Content a file with a 1 in it is sitting in there. It says Indexing, then No Items to Display.
    I even tried typing in the entire file name and it cannot find it.
    I did this as a test after searching by keyword reveled no files, yet one was in the folder. Filter DOES work. I tried adding the folder to the indexing option in windows.
    I am running Windows Vista.
    Another problem I have is in Preview sometimes the last window I was in is showing in the background, behind a picture.
    Thanks!

    Thanks for responding.<br /><br />I tried using very simple terms as you suggested with 0 results. It seems to go and index the folders, then comes back with no results. I tried re-indexing in windows and including the photo folders in the index, I also tried purging the adobe bridge index and increasing the size of it.<br /><br />Does bridge always use the index file to 'Find', and when 'Include Non-Indexed Files' is selected, it simply indexes the other folders then searches that index and returns the results? I ask this because for files in the D: drive, it keeps reindexing the same folders it already indexed the last time I tried to 'Find' in non-indexed files.<br /><br />Bridge sometimes gets stuck indexing a folder and keeps the file handle open even after I close bridge. I have to use 'OpenedFilesView' to release the file.<br /><br />The cache is located in the default folder on the C: in the appropriate users folder. I have 20GB of free space on that drive, and over 100gb free space on D:.<br /><br />A little more info:<br />The photo files are on an internal HDD D:\folder, formated as NTFS. They are primarily .jpg and .nef.<br />Bridge is installed on internal HDD C:<default folder>, also NTFS.<br /><br />I tried 'Find' using simple terms on a .jpg on the desktop, and it was found.<br />Windows Vista is installed on C:<br /><br />For some reason

  • ITunes 10.6.3 not importing mp3 files but will play the mp3 files

    Hi
    I recently updated my iTunes to v10.6.3 on my mac. However, I cant seem to add new music to my iTunes library. Dropping and dragging doesnt work even though the '+' curser appears and importing music using command + O doesnt work either. There is no indication of the music being analysed or anything.
    However, when I click on an mp3 file it opens and plays in iTunes but will not be added to the library. If I click on the mp3 file again from finder, it will play in iTunes from the last point..
    Does anyone have any ideas of wrong? Its frustrating me because I need to sync music to my iPhone and I cant
    Thanks

    Ye playing the file should automatically add it to iTunes but its not since I updated iTunes.
    The music plays and I can see the the time bar in the window on the top of iTunes but the file is not located in the iTunes library or anywhere in iTunes so I cant right click it.
    At the moment the mp3 file is on my desktop. Normally dropping and dragging it into iTunes adds it into my 'iTunes' folder in the 'Music' folder.. but this is not happening. I've tried manually adding the file into the 'iTunes' folder using the appropriate folder titles etc.. but iTunes will not detect the new mp3's. Wierd!!
    I think I might just have to re-install iTunes

  • Save as/Save does not point to file open location for the file

    Hi,
    Working with large number of files it's imperative that I can rely on the software's ability to know where open files are located on disk, so that when needed I can save all open files to their original locations. Unfortunately CS6 wil save all open files to the location of the last saved file!
    Even after a power out, or CS6 crash, all the recovered files will point to the directory last document was saved to!!
    This means that if I have 10 open files from 10 different folders, they will all be saved to one folder, in which maximum one of the 10 files have been opened from and I will not know where they are if I follow their original file location (e.g from Lightroom import from camera).
    This generates a very time consuming manual workaround, in which I must file-by-file open the correct folder in Save as dialogue.
    Using "Save As to Original Foder" has no meaning selected or de-selected.
    I don't know of any other software that suppresses original file location in save/save as...
    How do I disable this unproductive and illogical malfunction?
    Morten

    Okay, doing what you outlined, I'm getting the same result.  It's acting like the file you open is a new file that hasn't been saved, and that always defaults to the last saved location.  I'm not saying it should be like this, but I think it is default behavior.  Only advice I can offer is to put in a feature request:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    The squeeky wheel gets the oil, so let them know.

  • My ipod does not sync with itunes but still have the charging icon.

    My ipod 4th Gen does not sync with itunes. However, the charging icon is there. I even check in My Computer and there is no iPod icon there. So, my iPod charges when i connect it with the usb prot but does not sync. Help me!! 

    Start:
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    or
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • I tunes does not play mp3 file, but quick time does. why?

    I have download mp3 files from internet and some of them i tunes doesn't not see and play. I tried to play it with quick time- good, not problem. But i want to add it to my i pod. How can i do it? How can i play it with i tunes? maybe i need some codecs? please help me

    It could be you're not adding the files the right way. In more seldom cases:
    [Topic : MP3 Scan+Repair - an ID3 tag evaluator for the Mac|http://discussions.apple.com/thread.jspa?threadID=2020936]
    MP3 Scan+Repair (including sources): [http://triq.net/mac/mp3-validator-mac-os-x]

  • Java ME SDK 3.0 does not run sample files, but WTK 2.5.2 does

    Hi guys,
    I have following problem: I am using the Java ME SDK 3.0 and I am trying to run some sample MIDlets. For example this very basic HelloMIDlet which can be found here http://developers.sun.com/mobility/midp/articles/wtoolkit/src/HelloMIDlet.java
    Build runs successfully, but if I try to run it, the emulator appears, but nothing happens. Here is a warning from the logfile:
    Starting emulator in execution mode
    Installing suite from: http://127.0.0.1:3607/HelloMIDlet.jad
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\javame-sdk\3.0\work\0\appdb\_delete_notify.dat
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\javame-sdk\3.0\work\0\appdb\_ch_suite.raw
    bdj-run:
    cdc-run:
    profiler.check:
    open-profiler:
    run:
    BUILD SUCCESSFUL (total time: 20 seconds)The exact same source code used with the WTK 2.5.2 builds and runs without a problem. Any ideas what the problem is?
    Thanks a lot,
    iobytrap

    1. Start ME SDK
    2. File -> New Project -> MIDP Application
    3. Select Project Name AND(!) check "Create Hello Midlet". Click "Next"
    4. Select Device "DefaultCldcPhone1"; other as Default; Click Finish
    5. Change body of the HelloMidlet.java according to http://developers.sun.com/mobility/midp/articles/wtoolkit/src/HelloMIDlet.java
    //As you described
    6. Click F6 (Run Main Project)
    As a result: "BUILD SUCCESSFUL"; ME SDK open with "Hello,World".
    So, all works. Please provide step by step scenario if you see problem yet. Also tell me please version of java.
    Regards,
    Mikhail.

  • I got a new home dock station and it does not play my music while its in the dock. my neighbor has the same phone and hers works fine in my dock station.wondering why?

    I got a new dock station and it will not play any of my music while my iphone 3gs is docked. my neighbor has the same exact phone and hers plays fine..what could be the problem?

    Try This...
    Close All Open Apps...  Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

Maybe you are looking for

  • Why is the print output including spaces between every letter?

    All printed output has spaces between each letter. Example: A l l p r i n t e d o u t p u t h a s s p a c e s b e t w e e n e a c h l e t t e r .

  • Connection fails if server and clients are in different subnets

    Hello, our Volume License Manager (v2.1) is running in another subnets than the clients (All machines are running under Windows XP-SP2 without Domains or ADS, just workgroups). The server is in subnet A (192.168.42.0/24), all clients are located in a

  • Tag Libraries in JSP

    Hi Guru's, Where can I get more information about these <i><TD class=<b>"prtlHeaderNotch"</b> i</i>. I know these are taglibraries which are referenced in jsp using this <%@ taglib uri="prt:taglib:tlhtmlb" prefix="hbj" %>. But I am looking for docume

  • Bluetooth Drivers Not Working in XP

    I've got bootcamp loaded and dual booting my new Black MacBook between OSX and XP SP2. Bluetooth "seems" to work ok in OSX, but my WM5 phone doesn't exactly play nice with OSX. The problem is that I have several unrecognized devices in device manager

  • Multiple Computers Won't Recognize Iphone

    My Iphone 5s is not recognized by my Macbook Pro any of other the computers in my house (a Dell laptop and HP desktop). I have tried to use multiple USB cords, it's all the same. When I plug in my Iphone it usually (not always though) begins charging