Not sure how to configure Weblogic with log4j.xml

I tried something VERY similar to this. I wasn't sure where to put this code below. I figured in a Servlet environment, it should probably go in a Listener. I found an existing class inside of Spring that does exactly that: org.springframework.web.util.Log4jConfigListener
I put my log4j configuration file into an entry in the classpath and configured web.xml as follows:
<!-- Spring log4j parameters -->
        <context-param>
            <param-name>log4jConfigLocation</param-name>
            <param-value>classpath:gov/pa/dep/formu/resources/log4j.properties</param-value>
        </context-param>
        <context-param>
            <param-name>log4jRefreshInterval</param-name>
            <param-value>30000</param-value>
        </context-param>
        <!-- Spring Log4j config listener -->
     <listener>
          <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
     </listener>The server admin placed the actual log4j.properties file into an AppFileOverrides folder instead of under WEB-INF\classes. I don't know if this caused the problem or not. Since I also was using the DailyRollingFileAppender and running into problems LOSING my log entries each day because he file didn't get renamed, I followed Metalink BUG# 8459807, and used the datedFileAppender available at http://minaret.biz/tips/datedFileAppender.html.
When the application started, the server log showed that log4j was being configured but none of my logging statements were going into the logs. It wasn't until the server admin placed a copy of log4j.properties (a different log4j.properties with a rolling file appender) that the log statements started going into the file that was configured based on web.xml.
Surely, things can't be this difficult with log4j, and commons logging under WebLogic.
All I want is APPLICATION LEVEL LOGS that are specific to the day.
Can someone else elaborate on how they got this working?
thanks a bunch,
Eric

Hi,
The configuration wizard (config.sh) lets you create a WebLogic Domain, however and depending on others "Oracle Middleware" products installed on the same "Oracle Home" (directory where weblogic has been installed) the configuration wizard allows you create the new weblogic domain to support the others middleware products such as WebCenter.
When I say support It means that Configuration Wizard allows you to create the weblogic resources like JDBC connections, JMS services, and deploys all applications that integrates another product such as WebCenter.
I suggest create your domain with support for WebCenter and then from Admin Console create the JDBC resource to connect to other database such as JD Edwards database.
I hope this help.

Similar Messages

  • TS3212 Having problems downloading. OS is LINEX and I'm not sure how to load itunes with it.

    Having problems downloading. OS is LINEX and I'm not sure how to load itunes with it.

    Agreed. No native linux support. The only ways you could run iTunes with a primary linux system would be to a) dual boot, b) virtualize Windows with VirtualBox, VMware, etc., or c) attempt to run iTunes in Wine (which doesn't usually work very well). Dual boot would give you the benefit of complete support and usage of hardware and software, but virtualizing is a bit more convenient, since you would not have to reboot your linux host.

  • How to configure WebLogic with WebCenter¿?

    Hi,
    I have created 2 machines:
    - WebCenter in Oracle Linux with a database.
    - WebLogic Server in Oracle Linux too.
    From WebLogic Server I have to connect with WebCenter database, and I am not sure how to do it.
    I have tried to do it with:
    <WL_HOME>/common/bin/config.sh
    And I selected to create a new domain or create from an existing template (wls.jar), but with two options the wizard doesn't show me the JDBC configurations options.
    So, from WebLogic Server Admin Web in the Domain Structure there is JDBC, from here I think I can do it.
    But here is my doubt, if I want to work with JD Edwards EnterpriseOne too, the JDBC should be the JDE's database or webcenter's database¿?
    NOTE:
    with config.sh, after select the option "Create a new WebLogic domain" I need to select Domain Source, in the "Generate a domain configured automatically to support the following products", I only can select this:
    - WebLogic Advanced Web Services Extensions
    - Basic WebLogic Server is checked.
    But I haven't other options as:
    - Oracle WebCenter Spaces
    - Oracle EnterpriseManager
    - Oracle Portlet Producer
    etc
    Why I can see these options? Because I think that the new domain should be configurated to interact with WebCenter elements.
    Thanks and regards,
    Mónica.

    Hi,
    The configuration wizard (config.sh) lets you create a WebLogic Domain, however and depending on others "Oracle Middleware" products installed on the same "Oracle Home" (directory where weblogic has been installed) the configuration wizard allows you create the new weblogic domain to support the others middleware products such as WebCenter.
    When I say support It means that Configuration Wizard allows you to create the weblogic resources like JDBC connections, JMS services, and deploys all applications that integrates another product such as WebCenter.
    I suggest create your domain with support for WebCenter and then from Admin Console create the JDBC resource to connect to other database such as JD Edwards database.
    I hope this help.

  • Still not sure how to share files with my friend's Windows PC?

    I went through all the help pages concerning this, but it doesn't seem to help any. On our house internet connection, both our computers use the same IP address. I tried connecting directly to his computer using ethernet cable, but his computer never showed up. Our workgroup name should be the same, his is WORKGROUP but I'm not sure how to officially make mine that. I went to Network in System Preferences and clicked on Advanced... then went to the WINS tab and it has workgroup in the workgroup box, does this mean my computer is using that workgroup name? I'm at a loss and would like to share files with my friend's computer.

    Desidarius wrote:
    I went through all the help pages concerning this, but it doesn't seem to help any. On our house internet connection, both our computers use the same IP address.
    Do you have a router?
    If not then sharing files will not be easy.
    I tried connecting directly to his computer using ethernet cable, but his computer never showed up. Our workgroup name should be the same, his is WORKGROUP but I'm not sure how to officially make mine that. I went to Network in System Preferences and clicked on Advanced... then went to the WINS tab and it has workgroup in the workgroup box, does this mean my computer is using that workgroup name? I'm at a loss and would like to share files with my friend's computer.
    The add the Mac to the WORKGROUP
    Applications > Utilities > Directory Access
    Select SMB/CIFS
    Click Configure
    Change Workgroup to match the Windows Workgroup.

  • I have an iPhone 4 which is synced with a non apple laptop and wish to sync it with my new iMac.  I have backed the phone up with the laptop and am not sure how to sync it with the iMac without loosing any contacts, emails or photos from my phone.

    I have an iphone 4 which is currently synced with a non apple laptop and I wish to sync it with my new imac.  I have just backed the phone up on my laptop but am not sure what I need to do now.  I do not want to loose any contacts, emails or photos from my phone when I change sync computers.  Can anyone assist with a step by step guide as to how to achieve this oucome?  Thanks in advance.

    Have you read this?
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/HT4527
    The Apple web site has lots of other guidance, for example if you are migrating from Windows to Mac, read this.
    Switch 101: Migrate your Windows files or system to your Mac
    http://support.apple.com/kb/HT2518

  • Not sure how to produce alerts with KPI's

    Hi experts,
    I'm trying to reflect RUEI alerts to EM Incident Manager but failed.
    Now I have:
    enabled RUEI reporter to access EM database
    defined KPI (or used default KPI's)
    defined alert schedule
    I think maybe it's because the KPI or the alert schedule is not properly defined.
    So I'd like to ask if there is a sample or what to show how to define KPI and link alerts to KPI.

    Refer the following docs to setup notification and monitor KPI's/SLA reporting from RUEI.
    Configuration Assistant: Enterprise Manager 12c Cloud Control Incident Management Rules and Notifications Methods (Search Helper) (Doc ID 1541634.2)
    Monitoring KPI and SLA Alert Reporting:
    http://docs.oracle.com/cd/E24628_01/install.121/e24215/bussapps_apm.htm#CHDGCCIH
    HTH
    Mani

  • I just purchased the Microsoft Surface pro3. I need to download another instance of the software I'm not sure how to do that with a second install

    Is it possible to download two instances of the creative cloud software? Specifically Dreamweaver and Photoshop? I need them on my surface Pro3. Also will I be able to use them when I'm not on the network?

    yes and yes.
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Configuring php5 with enable XML on OAS 10.1.3.x

    My requirement is to enable XML on OAS 10.1.3.5.
    I am not sure how to configure it, so I stated using separate PHP5.2 to configure with XML enable on the server. After installation, when I am starting the opmn services I am getting below error. I think the error with platform. Which means current OS version is 64bit and php5.2 stage is 32bit version I guess.
    OAS_HOME=/u20/app/MSRV1P/apmsrv1p/oracle/product/OAS
    URL : http://nacisdell277.us.oracle.com:10330/phpinfo.php
    I used below command to configure :
    ./configure prefix=$ORACLE_HOME/php with-config-file-path=$ORACLE_HOME/Apache/Apache/conf --with-apxs=$ORACLE_HOME/Apache/Apache/bin/apxs
    with-oci8=instantclient,/u20/app/MSRV1P/apmsrv1p/oracle/product/instantclient_10_2 with-config-file-path=/u20/app/MSRV1P/apmsrv1p/oracle/product/OAS/Apache/Apache/php5--enable-sigchild enable-xml enable-simplexml enable-libxml enable-dom enable-simplexml enable-xml enable-xmlreader enable-xmlwriter enable-simplexml –with-xsl -with-zlib with-xml --with-libxml-dir
    Error :
    /u20/app/MSRV1P/apmsrv1p/oracle/product/OAS/Apache/Apache/bin/apachectl startssl: execing httpd
    Syntax error on line 247 of /u20/app/MSRV1P/apmsrv1p/oracle/product/OAS/Apache/Apache/conf/httpd.conf:
    Cannot load /u20/app/MSRV1P/apmsrv1p/oracle/product/OAS/Apache/Apache/libexec/libphp5.so into server: /u20/app/MSRV1P/apmsrv1p/oracle/product/OAS/Apache/Apache/libexec/libphp5.so: wrong ELF class: ELFCLASS64
    I checked in the Metalink for “configuring php5 with enable XML on OAS 10.1.3.x” but I couldn’t find anything.
    Please advise me on this.
    Thanks

    Hello;
    You can try installing glibc-devel to fix this.
    However on my version :
    Application Server Control Release 10.1.2.3.0 - PHP 5 does not seem to work. The conflict on mine is that PHP 4 came wrapped in the Oracle install and they don't play well together.
    Make sure your httpd.conf does not have this in it :
    LoadModule php4_module libexec/libphp4.soI'm NOT advising you to remove it if its there, I'm merely pointing to a possible conflict.
    Best Regards
    mseberg
    Later
    Glad you don't have the same version as me. Hard to find anything on this, found these ( Not exact matches )
    http://php.net/manual/en/oci8.installation.php ( Search for ELF )
    http://enlinea.creaelicita.cl/guia/oci8.setup.html
    http://docs.oracle.com/cd/E17390_01/doc.650/e17370.pdf
    Found this in the pdf : ( Similar )
    If the following error is received:
    *ERROR* - obssocookie: could not dlopen()
    /opt/netpoint/AccessServerSDK//oblix/lib/libobaccess.so:
    /opt/netpoint/AccessServerSDK//oblix/lib/libobaccess.so: wrong ELF class:
    ELFCLASS32
    This indicates that the 32-bit version of the Access Gate SDK was installed instead of
    the required 64-bit version. Edited by: mseberg on Feb 4, 2012 5:53 AM
    Still later
    Another thought is the PHP forum :
    PHP
    Also you need the 32bit Instant Client to be able run PHP. See http://blogs.oracle.com/opal/entry/using_php_oci8_with_32-bit_php
    Same OS message :
    ORA-03106: fatal two-task communication protocol error
    Edited by: mseberg on Feb 4, 2012 7:03 PM
    Rogue Notes from my Fusion Middleware on Red Hat 5 64 bit
    I downloaded php-5.3.5.tar.gz from http://www.php.net/downloads.php.
    Download the OCI headers http://www.oracle.com/technetwork/middleware/ias/ociheaders-134541.tar
    environment
    export ORACLE_HOME=/u01/app/oracle/product/fmw/oracle_pfrd
    export ORACLE_INSTANCE=/u01/app/oracle/product/fmw/fr_inst
    export CONFIG_FILE_PATH=$ORACLE_INSTANCE/config/OHS/ohs1
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/ohs/lib:$LD_LIBRARY_PATH
    Configure with Oracle Database (OCI8) support:
    ./configure with-apxs2=$ORACLE_HOME/ohs/bin/apxs prefix=$ORACLE_HOME with-config-file-path=$CONFIG_FILE_PATH with-oci8=$ORACLE_HOME --disable-rpath
    httpd.conf
    # And for PHP 5.x use:
    AddType application/x-httpd-php .php .phtml
    Edited by: mseberg on Feb 4, 2012 7:19 PM
    Edited by: mseberg on Feb 5, 2012 11:48 AM

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • Can I use the same plan that I have for my iphone 4s with my new ipad? or do I have to buy a new data plan for my new ipad?  I would love to use my new ipad away from home but not sure how to use it?

    Can I use the same plan that I have for my iphone 4s with my new ipad? or do I have to buy a new data plan for my new ipad?  I would love to use my new ipad away from home but not sure how to use it?  I am on Telus mobility with my iphone 4s.

    See the answer on the same question you asked a few minutes ago.

  • Can anyone help me figure out how to sync my ipod with my purchased music?  I have used several computer and at one point synced my ipod with a computer that only had about half of my music.  My other computers are no longer working.  Not sure how to get

    Can anyone help me figure out how to sync my ipod with my purchased music?  I have used several computer and at one point synced my ipod with a computer that only had about half of my music.  My other computers are no longer working.  Not sure how to get my purchased music back onto my ipod?

    Hi kimcinma!
    Your previous purchases are saved on iCloud even if you bought them on another computer. If you can't find them on your current computer, you might need to unhide them. Go to iTunes preferences, and click on Store Preferences. Then click the box for "show iTunes in the Cloud purchases". Then click on OK, and everything you've ever bought from iTunes on that Apple ID will show up in your library. You will need to download them from iCloud first before you can synch them to your iPod Classic. To do this, click on the little cloud with the arrow in it next to your song, and it will download to your computer. When you have the music that you want downloaded, plug in your iPod and synch away. Hope this helps!
    Sandygirl

  • How do I set up my airport express to make a connection with my Hp? I already have it set up for my mac laptop just not sure how to set it up so that theres also a connection with my Hp

    how do I set up my airport to make a connection with my Hp? I already have it set up for my mac laptop just not sure how to set it up so that theres also a connection with my Hp

    I set up my new HP Descjet 3054A . I had a problem becouse Apple give me CD as a driver. The thing was that CD wasn good for this printer becouse it was old software:) I had to go to Apple store so the specialist had to download me he wright driver. Becouse I didnt wannet to screw this up . When he downloaded driver I fired it up at house and thingworks perfect. The thing is when you download all the software from HP side . Then you have to connect your MAC to printer via USB . Fallow the instructions it should works. Worked for me. Good Luck!

  • Downloaded yosemite continuity is not working with my iPhone 6.  Both on same wifi network and iCloud account.. not sure how to set it up any help is appreciated

    downloaded yosemite continuity is not working with my iPhone 6.  Both on same wifi network and iCloud account.. not sure how to set it up any help is appreciated

    Connect your iPhone, iPad, iPod touch, and Mac using Continuity

  • Re: SKYPE...I keep getting this & not sure how to resolve it..."Firefox doesn't know how to open this address, because the protocol (skype) isn't associated with any program."

    I am trying to set up skype on my dell desktop with Windows 7 and when I attempt to make a call I get this message...not sure how to correct it.Please help.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • I have a 27inch iMac with snow leopard and 1 user, and a 24 inch (older) upgraded to yosemite and 5 users. I want to wipe the 27 inch and transfer everything on the 24 to it. I do have time capsule 3tb but not sure how to do it

    I have a 27inch iMac with snow leopard and 1 user, and a 24 inch (older) upgraded to yosemite and 5 users. I want to wipe the 27 inch and transfer everything on the 24 to it. I do have time capsule 3tb but not sure how to do it

    Move your content to a new Mac - Apple Support

Maybe you are looking for

  • Short dump in J1iex while display

    Hi I have come across a short dump while displaying an invoice number (Using tcode J1iex) which was already posted. Dump says there is a conversion error . Screen name.............. "SAPLJ1IEX" Screen number............ 0200 Screen field.............

  • Date validation in ABAP Webdynpro.

    Hi,     I have created a field for date in my table and binded it with a field of a data dictionary table . The problem is when the user enters the year , whether one , two or three digits it automatically sets the remaining digits and the year is a

  • Claim lock for dead process  in a trace file

    Has anyone seen messages like this in a trace file? Any clues on whats causing it? claim lock for dead process][lp 0x39dc41d50][p 0x39e626f70.7242][hist x49514951] [claim lock for dead process][lp 0x39de15308][p 0x39e626aa0.7179][hist x49514951] [cla

  • My photoshop elements 11 has stopped sharing..

    Please I need some help here! I have checked what settings I know about to make sure just one or the other is the default email client but it won't work. I could most definately have missed some setting that needs changed but don't know which one app

  • Customize daily email alerts for low storage on drive on server

    Hey, Hi, All, Thanks for the fantastic discussions, information, advice here. Great stuff. We have a server that sends email alerts for low storage on the file server. And we like those. But it is alerting us to low storage on the TimeMachine drive.