Logging doesn't work from my Struts portlet

I've got a Struts portlet that uses (or tried to use) Log4J logging. I don't get any logging - not even .log file creation. When the OC4J instance starts up it gives a warning about not having the Log4J system initialized properly. I have a log4j.properties in my WEB-INF/classes directory so I don't understand why it gives this warning, though.
Is Struts overriding Log4J logging with its commons-logging.jar?
I also don't get an application.log file which the portlet should create in the applications-deployment/ directory.
Has anyone run into this with a Struts portlet?

I should have mentioned that I'm deploying my Struts Portlet in a local OC4J (with PDK support) and using it as a provider to a remote Oracle Portal. For some reason OC4J doesn't recognize the log4j.properties that is in my WEB-INF/classes directory.
I've also got a TAR opened with Oracle Tech. support and when they deployed my .ear file to a Portal they get an application.log file which I do not get. There must be something on my local OC4J that prevents any logging (neither the application.log or the log4j .log file gets created on my local OC4J).
Here are the messages that I get when I start OC4J:
[java] Sep 2, 2005 11:41:38 AM org.apache.struts.util.PropertyMessageResources <init>
[java] INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
[java] Sep 2, 2005 11:41:38 AM org.apache.struts.util.PropertyMessageResources <init>
[java] INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
[java] Sep 2, 2005 11:41:38 AM org.apache.struts.util.PropertyMessageResources <init>
[java] INFO: Initializing, config='oracle.portal.sample.v2.devguide.struts.messages', returnNull=true
[java] 05/09/02 11:41:39 log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
[java] 05/09/02 11:41:39 log4j:WARN Please initialize the log4j system properly.
[java] 05/09/02 11:41:40 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized

Similar Messages

  • Skill Search works fine from search center, but it doesn't work from Lync client

    My environment consists of Lync Server 2013 and SharePoint Server 2013.
    I configured skill search and it works fine from search center, but it doesn't work from Lync client. An error appears says"error occurred during the search, please try again".
    I configured these URLs in my client policy
    set-csclientpolicy -identity global -spsearchinternalurl http://<Sharepoint Server>/_vti_bin/search.asmx
    set-csclientpolicy -identity global -spsearchcenterinternalurl http://<Sharepoint Server>/searchcenter/pages/peopleresults.aspx
    I checked these URLs from the browser and they work fine.
    I disabled anonymous access to _vti_bin, but no change then i checked lync log but i didn't find any error then i used Wireshark and found that when Lync client contacts Sharepoint, Sharepoint responded to it with internal server error http 500
    Please advice for what to do

    Hi,
    Thanks For your sharing.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Autoreaction doesn't work from client 000 but works from other clients

    Autoreaction doesn't work from client 000.
    More details coming.   Having trouble getting the thread to post.

    We set up a new local auto-reaction.   This is not a central auto-reaction.  The auto-reaction writes a
    message to the UNIX system log /var/adm/messages when a "Security"
    alert i.e. - Logon, RFCLogon, TransactionStart, etc.  occurs.
    The RZ20 alerts are being properly generated and can be seen in both
    the CEN system and the local system. On the local system if I view
    all alerts for the MTE using transaction RZ20 and select one of the
    alerts and choose Edit -> Nodes ( MTE ) -> Start methods -> Start auto-
    reaction method. The auto-reaction writes the message to the UNIX
    system log. If I execute the same procedure in client 000 nothing is
    written to the UNIX system log.
    I've also tried triggering a new alert and running SAPMSSY8 from SE38
    while the alert is still in status ACTION_REQUIRED. If I do this from
    client 010, an entry is written to the unix system log. If I do this
    from client 000, nothing is written to the unix system log. In both
    cases, the status of the alert changes from ACTION_REQUIRED to ACTIVE.
    Since the System Cyclic program ( SAPMSSY6 ) that triggers SAPMSSY8
    always runs in client 000, the auto-reaction never writes the messages
    to the UNIX system log.
    I have been working on this issue for days.  There are several posts and notes relevant to a similar situation with e-mail alerts that are not working from client 000 because SAPCONNECT is not set up in client 000.   However, this auto-reaction does not send an e-mail, so SAPCONNECT set-up should not be necessary.   I've searched Service Marketplace and could not find any notes that resolved the problem either.  
    I've also checked CCMS Self-Monitoring and cannot find any alerts or errors relevant to this problem.
    Does anyone know why the auto-reaction only works from a client other than client 000?
    Best regards,
    Dave

  • HT5945 Java has updated again today, i use a jave plug in to run my virtual software to access my work from home, today i have an error message saying security will not allow access to my website that i use to log in to work from, this is a JREdetection e

    Java has updated again today,
    i use a java plug in to run my virtual software to access my work from home,
    today i have an error message saying that security will not allow access to my website
    i use to log in to work from, this is a JREdetection error,
    my system runs off java and citrix, i tried chrome,firefox and safari - same issue, if my system cannot detect java it wont run, it runs on plug ins.
    How to i change my sec settings to allow access to this website, as i can only see that i can add apps not web addresses?

    If you get an error that says can't backup, try moving the existing backup file to a safe location and thry again. again. You can find the location of the backup file here:
    iPhone and iPod touch: About backups

  • SDK function FindText doesn't work from Acrobat X

    I have written this question more than one time in this forum, but Adobe developers do not reply.
    See the object. Other details it is possible to find in the following discussions:
    http://forums.adobe.com/thread/826756
    http://forums.adobe.com/message/3762837
    https://forums.adobe.com/thread/1032471
    https://forums.adobe.com/message/6080063
    https://forums.adobe.com/message/4646354
    https://forums.adobe.com/message/6531764
    If Adobe developers want to solve this problem, I am available for any trial or details (also source code that it works with Acrobat 9 and it doesn't work from Acrobat X).
    Regards

    This is a place for developers to help each other. If you want to contact developer support (of course, you will not reach actual developers of the product), you can pay to raise a support case. I can tell you their first question: does it work with Acrobat XI? There will be no fixes for Acrobat X.

  • HT4847 Why is the "done" button inactive when I try to downgrade my iCloud storage plan to 5GB free? Doesn't work from iOS device or macBook system preferences. I didn't sign up for a $40 plan.

    Why is the "done" button inactive when I try to downgrade my iCloud storage plan to 5GB free? Doesn't work from iOS device or macBook system preferences. I didn't sign up for a $40 plan.

    I found the solution .,,,
    1) click on your current plan and press done your payment details will appear .
    2) the first section is your plan and there is a botton "change" click on it
    3) it will take you back to the upgrade options
    4) press on the downgrade options
    5) choose the 5 GB and the done botton will be enabled
    6) click on it  you'll back to the step number 2 , here read carefully you'll see that your changes will take effect after the current plan expired with the date.

  • Where should I change the adapter? It doesn't work from the start.

    where should I change the adapter? It doesn't work from the start. But there is no apple store in our city.

    The phone does not charge when linking with adaptor. But it is OK when linking PC using USB instead. I do not know why, but I am just sure there is something wrong with the adaptor.

  • [SOLVED] KDE Start New Session doesn't work from lock screen

    On my laptop, if I lock the KDE 4 session and then click Switch Users > Start New Session, I get a login screen and can log in as a different user. All good.
    If I do the same thing on my desktop, it doesn't work. When I click Switch Users > Start New Session, it doesn't start a new session or switch VTs. Instead, I just get reprompted for the existing user's password.
    Both machines are running fully updated Arch. Anyone know how I can troubleshoot this? The only difference I can think of between the laptop and desktop is that the desktop has nomodeset specified as a kernel boot parameter. (It won't boot without it.) Could this be interfering with automatic VT switching? Manual VT switching (e.g. Ctrl+Alt+F1) works fine.
    Last edited by Rob_H (2014-12-27 14:28:06)

    Little more detail. Checking the journal, I can see Xorg is failing to start on display :1. If I compare Xorg.0.log with Xorg.1.log, it appears that it's not finding the proprietary NVIDIA driver in the second case. Don't know why it would be any different for :1, though. See?
    Xorg.0.log (good):
    [ 10.219] (II) LoadModule: "glx"
    [ 10.220] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 10.293] (II) Module glx: vendor="NVIDIA Corporation"
    [ 10.293] compiled for 4.0.2, module version = 1.0.0
    [ 10.293] Module class: X.Org Server Extension
    [ 10.294] (II) NVIDIA GLX Module 343.36 Mon Dec 1 15:50:02 PST 2014
    [ 10.294] (II) Applying OutputClass "nvidia" to /dev/dri/card0
    [ 10.294] loading driver: nvidia
    [ 10.294] (==) Matched nvidia as autoconfigured driver 0
    [ 10.294] (==) Matched nouveau as autoconfigured driver 1
    [ 10.294] (==) Matched nv as autoconfigured driver 2
    [ 10.294] (==) Matched nouveau as autoconfigured driver 3
    [ 10.294] (==) Matched nv as autoconfigured driver 4
    [ 10.294] (==) Matched modesetting as autoconfigured driver 5
    [ 10.294] (==) Matched fbdev as autoconfigured driver 6
    [ 10.294] (==) Matched vesa as autoconfigured driver 7
    [ 10.294] (==) Assigned the driver to the xf86ConfigLayout
    [ 10.294] (II) LoadModule: "nvidia"
    [ 10.294] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 10.300] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 10.300] compiled for 4.0.2, module version = 1.0.0
    [ 10.300] Module class: X.Org Video Driver
    Xorg.1.log (bad):
    [ 2153.825] (II) LoadModule: "glx"
    [ 2153.825] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 2153.833] (II) Module glx: vendor="NVIDIA Corporation"
    [ 2153.833] compiled for 4.0.2, module version = 1.0.0
    [ 2153.833] Module class: X.Org Server Extension
    [ 2153.833] (II) NVIDIA GLX Module 343.36 Mon Dec 1 15:50:02 PST 2014
    [ 2153.833] (==) Matched nouveau as autoconfigured driver 0
    [ 2153.833] (==) Matched nv as autoconfigured driver 1
    [ 2153.833] (==) Matched modesetting as autoconfigured driver 2
    [ 2153.833] (==) Matched fbdev as autoconfigured driver 3
    [ 2153.833] (==) Matched vesa as autoconfigured driver 4
    [ 2153.833] (==) Assigned the driver to the xf86ConfigLayout
    [ 2153.833] (II) LoadModule: "nouveau"
    [ 2153.833] (WW) Warning, couldn't open module nouveau
    Any idea what would cause it to work for :0 but fail for :1?

  • My keyboard doesn't work from the login screen, but when I login as a guest user it works fine (minus the brightness buttons, playback buttons, etc.).

    I've already switched out the batteries and the keyboard works fine, so I fear it might be some sort of bug? All the methods of restarting or resetting certain settings can only be done from the login screen or from within an account, when the keyboard doesn't work, and the guest options are limited to non existent.

    Try doing a SMC reset, you may need to do this 2-3 times as sometimes the reset doesn't always "take" the first time. To do a SMC reset, shut down the computer, unplug the power cord from the wall and computer, wait 15-20 seconds and restart normally and test. If after 2-3 resets it still does not work test another keyboard. If that keyboard works then this indicates your keyboard has failed and needs to be replaced.

  • GetURL doesn't work from

    I have designed a CD-ROM program. Flash player 8 and Action
    Script 2.
    1) The main folder is His_Lat_2008. In it there are three
    folders: Movies, Graphics, Pages.
    2) I used a template that has a navigation bar created in
    flash
    3) I have an Index.html page on the root folder
    (His_Lat_2008). The index page has a gif graphic. There is also an
    enter button on this page.
    4) All other pages contain a swf movie
    WORKS FINE
    Button 1 on navigation bar links to home, which is the
    Index.html
    here is the code
    on (release) {
    getURL("C:\\My Documents\\Hisp_Lat_2008\\Index.html",
    "_self");
    DOESN'T WORK
    Button 2 is linked to an html page under the folder Pages.
    on (release) {
    getURL("History.html", "_self"); I ALSO TRIED
    getURL(/Pages/History.html", "_self")
    button 3 -5 are the same as button 2.
    When the program opens, I see the main page (Index.html). But
    when I click to other buttons (under folder Page), none works.
    However, when I'm using the page 2 or 3, I can move within these
    pages and go back to home page (Index.html), but I cannot come back
    to pages 2 or 3.
    What is the problem with my getURL?
    Please help

    Thanks.
    It did work using the entire string:
    on (release) {
    getURL("C:\\My
    Documents\\Hisp_Lat_2008\\Pages\\History.html", "_self");
    However, in previous projects I didn't use the entire string.
    Just the name of the html page would do it.
    Thanks for replying to my message.

  • Get-DfsrBacklog cmdlet doesn't work from remote computer (pssession)

    Hi there!
    I try to manage our Server 2012 R2 boxes from a Windows 7 remote machine using PowerShell. For some reason the cmdlet "Get-DFSRbacklog" seems not working remotly. The same cmdlet work when logging in locally to the server(s) with the
    same credentials. UAC is turned off on the target machines and i have local admin permissions on this servers using my domain account.
    What i do is:
    Enter-PSSession <servername>
    Get-DfsrBacklog -SourceComputerName <servername> -DestinationComputerName <servername>
    Then i receive the following error:
    Get-DfsrBacklog : Could not retrieve the backlog information. Replication group: "*" Replicated folder: "*" Source
    computer: <servername> Destination computer: <servername> Confirm that you are running in an elevated Windows PowerShell
    session and are a member of the local Administrators group on the destination computer. The destination computer must
    also be accessible over the network, and have the DFSR service running. This cmdlet does not support WMI calls for the
    following or earlier operating systems: Windows Server 2012. Details: WinRM cannot process the request. The following
    error with errorcode 0x8009030e occurred while using Kerberos authentication: A specified logon session does not
    exist. It may already have been terminated.
     Possible causes are:
      -The user name or password specified are invalid.
      -Kerberos is used when no authentication method and no user name are specified.
      -Kerberos accepts domain user names, but not local user names.
      -The Service Principal Name (SPN) for the remote computer name and port does not exist.
      -The client and remote computers are in different domains and there is no trust between the two domains.
     After checking for the above issues, try the following:
      -Check the Event Viewer for events related to authentication.
      -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or
    use HTTPS transport.
     Note that computers in the TrustedHosts list might not be authenticated.
       -For more information about WinRM configuration, run the following command: winrm help config.
        + CategoryInfo          : ProtocolError: (zursf1003:String) [Get-DfsrBacklog], DfsrException
        + FullyQualifiedErrorId : Get-DfsrBacklog.CimException,Microsoft.DistributedFileSystemReplication.Commands.GetDfsr
       BacklogCommand
    Any ideas?

    This article
    suggests that you're logged into your Win7 management machine with local credentials. You should try the Get-DfsrBacklog command with domain credentials:
    Client is in a domain: Attempting to connect to a remote server by using implicit credentials that are the local administrator's credentials on the client. Instead, use domain credentials that are recognized by the domain of the target server, or right-click
    the server entry in the Servers tile, click Manage As, and then specify credentials of an administrator on the target server.
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • Printing doesn't work from remote computer.

    I used to be able to print from my windows laptop to my linux printer.
    I recently upgraded stuff to get a new xorg and am now having problems.
    Printing works fine locally.  Here's the debug log from cups.
    I see httpgets getting nothing, but I don't know how to find out why.
    How can I track down the problem?
    d [29/Aug/2006:08:49:16 -0700] copy_attribute(0x824f038, 0x80963a0[job-sheets-supported,4,42])
    D [29/Aug/2006:08:49:16 -0700] ProcessIPPRequest: 5 status_code=0
    d [29/Aug/2006:08:49:16 -0700] ProcessIPPRequest: Adding fd 5 to OutputSet...
    d [29/Aug/2006:08:49:16 -0700] WriteClient: Removing fd 5 from OutputSet...
    d [29/Aug/2006:08:49:16 -0700] ReadClient: 5, used=0, file=-1
    D [29/Aug/2006:08:49:16 -0700] ReadClient: 5 POST / HTTP/1.1
    d [29/Aug/2006:08:49:16 -0700] decode_auth(0xb7ba6008): Authorization string = ""
    d [29/Aug/2006:08:49:16 -0700] decode_auth: 5 username=""
    d [29/Aug/2006:08:49:16 -0700] IsAuthorized: con->uri = "/"
    d [29/Aug/2006:08:49:16 -0700] FindBest: uri = "/"...
    d [29/Aug/2006:08:49:16 -0700] FindBest: Location / Limit 7f
    d [29/Aug/2006:08:49:16 -0700] FindBest: Location /admin Limit 7f
    d [29/Aug/2006:08:49:16 -0700] FindBest: best = "/"
    d [29/Aug/2006:08:49:16 -0700] IsAuthorized: auth = 0, satisfy=0...
    d [29/Aug/2006:08:49:16 -0700] POST /
    d [29/Aug/2006:08:49:16 -0700] CONTENT_TYPE = application/ipp
    d [29/Aug/2006:08:49:16 -0700] ReadClient: 5 con->data_encoding = length, con->data_remaining = 131, con->file = -1
    d [29/Aug/2006:08:49:16 -0700] ProcessIPPRequest(0xb7ba6008[5]): operation_id = 4005
    d [29/Aug/2006:08:49:16 -0700] get_printers(0xb7ba6008[5], 1)
    D [29/Aug/2006:08:49:16 -0700] ProcessIPPRequest: 5 status_code=0
    d [29/Aug/2006:08:49:16 -0700] ProcessIPPRequest: Adding fd 5 to OutputSet...
    d [29/Aug/2006:08:49:16 -0700] WriteClient: Removing fd 5 from OutputSet...
    d [29/Aug/2006:08:49:16 -0700] ReadClient: 5, used=0, file=-1
    d [29/Aug/2006:08:49:16 -0700] ReadClient: httpGets returned EOF...
    D [29/Aug/2006:08:49:16 -0700] CloseClient: 5
    d [29/Aug/2006:08:49:16 -0700] CloseClient: Removing fd 5 from InputSet and OutputSet...
       THanks.

    Cups has done their usual great job of upgrading, breaking things, and not mentioning it.
    What version of cups.  1.2.0 broke samba, though that was fixed.
    Also, the new default cupsd.conf only allows printing from local host.  In addition to the advice given above you can increase the debug level, changing LogLevel from info to debug2.
    Samba logs might also be helpful. 
    FWIW, we have an Arch box doing some print serving, but I haven't upgraded it in awhile.  (I upgrade on test machines first, and saw that there were some problems with cups, so I've left it alone--also on production machines, there's a lot of truth to the adage, "If it ain't broke, don't fix it."
    One thing to try, in regards to troubleshooting, is to go into cupsd.conf and allow All in the <Location> directive and see if that helps.  If it fixes the problem, you can then tighten it up.  (Also put allow before deny.)  I ~think~ (I only have on box with a brand new cupsd.conf--on the others, I'm using pre 1.2.0 configs, and on the new one, I've already edited it so I don't have a sample) that by default, it puts allow first, has allow from localhost, and so by default, everything else is denied.
    Is the Windows box using ipp or samba.  That is, did you add the printer to the Windows machine with \servernameprintername?
    Good luck--Cups came by its nickname of C(an't)U(sually)P(rint) S(tuff--or other, more vulgar words) honestly.  Gotta love their manpages too, it's the only one I've come across where they mention an option without telling what it does---their lpadmin page lists the -x option with no explanation--for the curious, -x will delete a printer.
    Sorry, I get to talking about cups and I have to rant.

  • Wifi suddenly doesn't work from time to time (OSX 10.9.5)

    Hello everyone,
    I am having this problem a while now and I have tried many different fixes, which all didn't help me.
    My Problem is that sometimes my MBPr (Late 2013) just stops the WiFi connectivity. Sometimes it works and sometimes it doesn't. It's completely random and extremely annoying. When I connect to any other WiFi network, it's the same thing. OS X doesn't give me some real error either. It just says that I am supposed to go nearer to the source of signal, which is nonsense, since the router is directly besides my MacBook. Furthermore, since this problem is independent from the used network, it has to be a problem of the laptop.
    Funnily, after a while, WiFi works like nothing happened.
    Do you guys have any idea?

    I do not know whether or not it will address your issue, but I would reset the SMC. Since it is the same problem on other networks, it appears the problem is related to your computer.
    Barry

  • Import doesn't work from compact flash card

    Trying to import photos directly from memory card into LR. Tried 2 ways. First, using a memory card reader, LR did not react to the presence of the card in the reader, even though the reader showed as a drive in My Computer. Secondly, tried connecting directly from my camera (Nikon D200) --- a windows window came up asking how to handle images, but LR was not on the list, and the LR import function (window) did not pop up. Any ideas how to get the LR import pop up to pop? Thanks.

    From reading the posts to this thread (and others), I tried a hunch and went to the LR directory on C: drive and found the executable for adobe downloader. I double-clicked on the .exe file, and "installed" this program. This placed the camera icon in the right taskbar, and then tried to download images from the same card into LR. As soon as I did that, LR's import photos dialog box popped up ... so it works now. Not sure why the adobe downloader did not get installed when I installed the LR program.
    Another question now. I've got the properties of the downloader set that it will install itself in my right taskbar everytime I boot up. Is there any way to get the downloader initializes whenever I need up ... so that I don't have unnecessary things getting installed at boot? I see I can disable after it gets loaded at boot ... but would prefer to not have it install and then allow me to initialize when I am ready to use it.

  • Web SAPconsole doesn't work from remote host

    Hi,
    we have a SAPconsole server (Win XP EN, SP2, last windows update). win a full SAPgui 6.40 comp 5 with SP23.
    SAPconsole with a telnet server works fine in local and in remote hosts.
    Web SAPconsole works fine in local but when I try from a remote host such a PC with IE6 with right url we stay in wait status forever... no error message ora other warning.
    Have you have any idea ?

    Hello Ganimede Dignan,
    although I do not know if XP (which version?) is officially supported it should work, please remember that XP probably has a (crippled: max 10 connections) IIS5 on it and win2003 comes with a IIS6. Since you stated that it works locally it must be something with you IIS, network or firewall security settings.
    Please upgrade your web/sapconsole to the latest patch for 640 since there are known concurrency issues for the patches < 25.
    Regards,
      Fekke

Maybe you are looking for

  • How can I listen to radio (firefox) and play a game at the same time

    Samsung S5 / lollipop When I listen to radio and switch to another window, the radio stops playing.

  • HD DVD's

    I have a friend who just purchased a Mac Mini and is only into iMovie editing. But he was curious, and so was I; can you burn HD DVD's on any newer Mac? I heard, when I bought my G5, you can burn HD DVD's and DVDSP4 has the option of burning an HD DV

  • Just some easy Hows and whats for macs

    Hey I am wondering why the delete key doesnt delete something when i am in folder view. like if i am in applications and i want to delete something i am forced to drag it to the trash. ... and when i press return or enter it only then allows me to re

  • Errors  FRM-40505 and ORA-03114 after cancel a query in a form

    I have a Form (i'm working with 10g, i.e., Web) with property "interaction mode=non-blocking", and after execute the query, it pops-up the cancel query window, but when cancelled, the connection with the database is dropped. Someone knows why it happ

  • Connection Reset Error with Database Polling

    Hi, I am using DB adapter for polling records from the database. After polling I am doing physical delete for the records that have been polled. The polled record has a column for scheduledDateTime which is used to do scheduling for the process, usin