Log4j works in local tomcat, not in the remote one.

hi,
actually i have this in log4j.properties:
log4j.appender.R.File=${catalina.home}/log/logging.logand it works in local tomcat but it doesn't on remote one.
I have to get it to work on a remote server. I doesn't know where catalina.home is set on the remote server and i don't have a shell to check it out.
I can only see the WEB-INF dir under public_html directory.
I tried already:
log4j.appender.R.File=/public_html/logging.logbut no luck. No files created.
Is there a way to point to WEB-INF dir, that is the only dir of tomcat i can see in the remote ftp?
Something like ${WEB-INF} ?
Thanks in advance.

we ran into a similar problem at work yesterday with no logging appearing when adding a log4j config file to an application but logging appearing in the server config when it wasn't there.
Answer: the app server (JBoss in this case) uses log4j itself and the 2 config files were in conflict so nothing was logged at all.
Removing the application specific config cured the problem.
You probably have something similar going on, with the remote server having its own log4j logging already in place and conflicting with yours.
You might have to switch to another logging system or get in contact with the server admins and have them set things up so the server generates your logs where you can access them.

Similar Messages

  • Applet works on local Apache, not over the web

    I have tried the following applet (where ShowMultiApplet() writes a standard applet tag - that works on local but again, not on the server):
    index.html
    <html>
    <head>
      <title>Test Applet</title>
         <script src="js/app.js" type="text/javascript"></script>
    </head>
    <body>
      <center>
      <script type="text/javascript">ShowMultiApplet();</script>
      </center>
    </body>
    </html>On my local Apache2.2 with complete success. However, when I upload the same files onto a web server I get:
    java.lang.NoClassDefFoundError at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculatePadding(GroupLayout.java:2518)
    I have tried org.jdesktop.layout structure in an external jar (using archive="lib/swing-layout-1.0.jar") and, most recently, in the same jar as the applet. Nothing works! :(
    What processes are different between the local apache and the web server and why does it only affect the layout classes, not my own? Is it a recurring problem with swing-layout?
    Any help is good help! :)
    Message was edited by:
    javaMunkey

    Exception in thread "Thread-3" java.lang.NoClassDefFoundError
         at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculatePadding(GroupLayout.java:2518)
         at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1257)
         at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1259)
         at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1259)
         at org.jdesktop.layout.GroupLayout.resetAutopadding(GroupLayout.java:800)
         at org.jdesktop.layout.GroupLayout.layoutContainer(GroupLayout.java:676)
         at java.awt.Container.layout(Unknown Source)
         at java.awt.Container.doLayout(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validate(Unknown Source)
         at sun.plugin.util.GrayBoxPainter.getGrayBoxPanel(Unknown Source)
         at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source)
         at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source)
         at sun.plugin.util.GrayBoxPainter.access$000(Unknown Source)
         at sun.plugin.util.GrayBoxPainter$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NoClassDefFoundError
         at org.jdesktop.layout.GroupLayout$ContainerAutopaddingSpring.calculatePadding(GroupLayout.java:2518)
         at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1257)
         at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1259)
         at org.jdesktop.layout.GroupLayout$Group.calculateAutopadding(GroupLayout.java:1259)
         at org.jdesktop.layout.GroupLayout.resetAutopadding(GroupLayout.java:800)
         at org.jdesktop.layout.GroupLayout.layoutContainer(GroupLayout.java:676)
         at java.awt.Container.layout(Unknown Source)
         at java.awt.Container.doLayout(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validateTree(Unknown Source)
         at java.awt.Container.validate(Unknown Source)
         at sun.plugin.util.GrayBoxPainter.suspendPainting(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • Slideshow works on local but not remote server?

    Slideshow works on local but not remote server? The site is patriceclarkson.com.

    When I compare your:
    http://www.warpd.ca/SpryAssets/SpryWidget.js
    to this one:
    http://labs.adobe.com/technologies/spry/ui/includes/SpryWidget.js
    I do not see the same file. Try uploading the correct file and check again.
    Xav

  • Password works for login but not for the Adobe CC Desktop application

    Password works for login but not for the Adobe CC Desktop application

    Please refer to http://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    ou can try deleting OPM.DB from steps below and try again.
    Mac OS: You can locate the OPM.db file in the \User\\Library\Application Support\Adobe\OOBE folder. To access the hidden user Library folder, see Access hidden user library files | Mac OS 10.7 Lion. - http://helpx.adobe.com/x-productkb/global/access-hidden-user-library-f iles.html
    Windows: You can locate the OPM.db file in the :\Users\\AppData\Local\Adobe\OOBE folder.  To view the hidden AppData folder, see Show hidden files, folders, filename extensions | Windows XP, Vista, Windows 7. -http://helpx.adobe.com/x-productkb/global/show-hidden-files-folders-ex tensions.html
    3) update to the latest version of the Creative Cloud app.
    Also we would like few more details:
    When has this issue started occurring, was this after installation of any specific adobe product.
    On which platform are you seeing this.
    Also we would like to know if after above steps this issue occurs ever again in future.
    You can refer to http://forums.adobe.com/thread/1239510
    Regards,
    Rajshree

  • My home button is not working but apple will not honor the limited warranty

    My home button on my ipod touch is not working but Apple will not honor the limited warranty because the corner glass is craked.  I have been using it cracked for months.  What is my legal recourse.  I think it is unfair!!!!!!

    tracy252 wrote:
    My home button on my ipod touch is not working but Apple will not honor the limited warranty because the corner glass is craked.  I have been using it cracked for months.  What is my legal recourse.  I think it is unfair!!!!!!
    Hire a lawyer.

  • My iphone 4s is working but I can not see the screen.

    my iphone 4s is working but I can not see the screen. What is going on?

    Possibly backlight died, if you look at it closely in bright light can you see a "Shadow" of the screen image?
    First, back up your phone
    http://support.apple.com/kb/HT1766
    Then, restore the OS from scratch
    http://support.apple.com/kb/HT1414
    If that doesn't work, you'll need to have the phone serviced
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne

  • HT201335 I have a MacBook Air that was bought April 5, 2011. It seems it should be supported for Airplay mirroring but I can't get it to work and I do not have the icon on my bar. Any suggestions?

    I have a MacBook Air that was bought April 5, 2011. It seems it should be supported for Airplay mirroring but I can't get it to work and I do not have the icon on my bar. Any suggestions?

    Welcome to the Apple community.
    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). It also requires the computer to be using wi-fi.

  • Flash work in preview but not in the browser!?

    Hi there:)
    I have a .swf file in a table in Dreamweaver. When I preview it in place and in Safari, it plays. When I upload eveything, it is not in any browser on the server.. any ideas?
    Thanks!
    V

    Hi John!
    Yes, sorry about that.. here it is.
    http://farmingtonfarm.com/appraisal.html
    Thanks for your help!!
    v
    Date: Thu, 8 Apr 2010 18:52:05 -0600
    From: [email protected]
    To: [email protected]
    Subject: flash work in preview but not in the browser!?
    Can't really help without a link to the site. Can you provide one?
    >

  • Ever since I installed MAVERICK, nothing now works, Flash Player won't run, printer works but scanner will not and the computer runs so slow.  Any help anywhere?

    Ever since I installed MAVERICK, nothing now works, Flash Player won't run, printer works but scanner will not and the computer runs so slow.  Any help anywhere?

    wqn02h, first thing I would do is use Disk utility to repair permissions. Once this is done. Make sure you have the latest versions of the software you use. Also, check the manufacter of your printer/scanner for updated software. If they don't have updated software there are 3rd party alternatives that will work.
    Paul

  • I have iPhone4 with updated software 6.0.1. Voice nevigation for map is not working. I could not see the voice options in setting/mapp.

    I have iPhone4 with updated software 6.0.1. Voice nevigation for map is not working. I could not see the voice options in setting/mapp.

    Voice navigation is not available for the iPhone 4

  • Windows could not start the remote services on local computer

    windows could not start the remote services on local computer 
    1075: the dependency service does not exist or has been marked for deletion

    Hi,
    On which system you are facing this issue?
    Can you ping to the remote system\server successfully?
    Initially it seems that this occur due to services issue on system. Might possible that the remote Services component is not installed or is disabled. For that you can add the remote Services component by using the Add/Remove Programs tool in Control Panel
    before attempting to start the service. If the service is already installed then check whether it is started properly. Additional check the relayed service for Remote and verify.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • When I try to upload a file it goes through the correct proceedure, but does not change the remote file i.e.Index.htm

    Hi
    I have an uploading problem to the server. The problem is when I try to upload a file it goes through the correct proceedure,
    but does not change the remote file i.e.Index.htm, or three stages1.htm.
    My Localroot folder is C:\Gods Plan Web\
    The site map layout is C:\Gods Plan Web\Index.htm
    The folder for the remote site is /public_html/
    Should the local root folder mirror the remote site, i.e./public_html/
    if this is so, what should I put into the
    (a) Local Root Folder box?
    (b) site map layout box?
    The FTP is performing well other than changing the intended file.

    You should be uploading only the contents of your local root to the public_html folder (remote root).
    The index.html you use as your site's home page needs to be in your site root. If you look at your Files window in DW, you should have something like the following...
    Site - Whatever you named your site
         index.html
         images
         pages
              page1.html
              page2.html
    If you have any folder between Site - and the index.html page, like...
    Site - Whatever you named your site
         mywebsite
              index.html
    It will upload to the public_html while still in that folder, so to find your page online, you would need to type something like...
    www.mydomain.com/mywebsite
    public_html should NOT appear within your local files and if it existed there, would cause a redundancy if uploaded. You would need to type www.yourdomain.com/public_html to see the uploaded pages.
    If you could post a screen shot of your expanded Files window while connected to the server (just connect and click the Expand button in Files, don't drill down into any of the directories), we may be able to see the issue.

  • Bugreport: Seed updates all languages, not only the selected one

    I just encountered a "Bug" when seeding a multilingual translation.
    It looks as if SEED would insert only values for the chosen language mapping (good!), but in case of an update overwrite the values in all languages, not only the chosen one.
    I know it is not that bad, but causes some irregular statistics after seeding.
    e.g. my applications main language is "eo", language mappings for "en", "de", "es".
    When i change a single text (e.g. button label) in the main app and do a seed for "en" i get "3 existing attributes updated and may require translation" (because there are 3 languages...). when i do a seed for "de" right afterwards i get "0 existing attributes updated and may require translation".
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

    Apparently you have more choice than you are aware of. Thunderbird has three ways to sear messages.
    I am guessing from what you say that you want to '''find''' (Ctrl + Shift + F) instead of '''global search''' (Ctrl+K) or '''quick filter''' (Ctrl + Shift + K)
    Note that global search offers options
    <img alt="" src="https://support.cdn.mozilla.net/media/uploads/images/2014-08-25-16-49-59-21b72c.png" height="106" width="217">
    First your messages
    Then the internet
    Then people in your address book
    ''Yes I know your a mac user, but they tell me macs have a CTRL key these days an you do not need to use3 command''

  • HT1725 For about three weeks I haven't been able to download any apps, not even the free ones.   My apple id billing information says that my security code on the back of my credit card is invalid. I called apple support and they told me to go to the expr

    For about three weeks I haven't been able to download any apps, not even the free ones.   My apple id billing information says that my security code on the back of my credit card is invalid. I called apple support and they told me to go to the express lane website but I still cant find a fix for my problem. If you could help me out that would be superb!!!!

    Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorisations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • How do I add multiple songs to an existing playlist from the (no longer called) Library? Highlighting multiple songs and clicking the "Add to" button will only add the with the little arrow, not all the highlighted ones!

    How do I add multiple songs to an existing playlist from the (no longer called) Library? Highlighting multiple songs and clicking the "Add to" button will only add the one with the little arrow, not all the highlighted ones! I am using the "new" iTunes.

    For the moment there isn't a way for us end-users to control what is "matched" or "uploaded." That is purely a result of Apple's server-side algorithms.
    To re-add multiple songs at once simply highlight all the songs you want to re-add, then right-click (or Control+click) the list and choose "add to iCloud."

Maybe you are looking for

  • Report for Production Dept.

    Hi All, I am looking for a report that would tell me the planned quantity (based on production order) and instock of the RM so that the planning guys can decide whether to purchase the RM or not? Does anyone have a report made for this requirement??

  • 4 Simple Flash Questions that Are Stumping Me!

    What is the Frame Rate for Web Animations Q1. I am making an animation which will be played on the web. What is the default frame rate (fps) of Flash CS5? And what is the frame rate of for web? Q2. My animation needs to be 30 seconds long. So at 15 f

  • Update version 1.4

    I'd like to know what the updates are in version 1.4 I tried searching for information on the changes in version 1.4 but had difficulty finding any information. Are there any new features? Bugs fixed? I mean it would be nice to know what's different.

  • What is the best training option for developers moving from LabVIEW 7 to 2010?

    We have a group of developers who have been using LabVIEW 7.1 for 5+ years, and will be upgrading to LabVIEW 2010.  We're looking for some training that will help them get up to speed on the differences they'll encounter.  Since these developers are

  • Ipod vid wont appear in sources list and just wont work.Help!

    my ipod video wont appear in sources list and wont play music,it has the apple support symbol thing on it.ive restarted my computer,it wont appear when i try to restore it and i need it fixed by sunday feb.19.HELP ME HELP ME HELP ME HELP ME HELP ME!!