Log4j with AS 10g problems

I am trying to troubleshoot a log4j on AS 10g problem. An application that logs as configured in JDeveloper's embedded OC4J does not log properly when deployed to AS 10g. Using Enterprise Manager, I have found that some log messages are actually getting written to the "redirected output/errors" log file, but that these messages do not include the applications DEBUG level logger calls. I figure that this is because the log4j.properties file is not getting discovered by log4j even though it is in the WEB-INF/classes directory (standard location). So, to find out where log4j was looking and why it wasn't finding the log4j.properties file, I tried adding the log4j debug property (-Dlog4j.debug=true) to the Server Properties:Command Line Options:Java Options field in Enterprise Manager. After restarting the OC4J instance and hitting the app, I searched all log files for log4j's debug info and it doesn't appear anywhere. I tested this property in JDeveloper's embedded OC4J and it works as expected.
Can anyone offer advice on how to troubleshoot this series of log4j on AS 10g problems?
Thanks,
Jeff

Jeff:
We have a similar problem where log4j behaves differently in jdev(10.1.2) vs. OC4J standalone(10.1.2). The difference lies in our FileAppender output. In JDev, the file logging works properly. However, in OC4J standalone, the log file created is always a 0 byte file.
I know the logging is working because I'm sending it to the ConsoleAppender and see it in the redirected log.
Any idea what could be happening?
Thanks,
Mike

Similar Messages

  • Developer 5 with oracle 10g problem

    the problem is that i can only run one instance from form5
    that is mean if i have hrms system i can only run it one time form my pc and other pc and if i want run it i have to close the running one any idea

    Hi,
    I have an application in - Front end tools : Oracle
    Forms/Reports 4.5. RPT, SQL, and PROC(all are in
    CUI-character user interface)
    tabase : Oracle 7.3.4.
    I have a plan for migrating database to 10g keeping
    front-end as it is.
    Is there any compatibility issue with forms 4.5(CUI)
    with oracle 10g.
    Regards
    JIJUCharacter interface?? you mean Forms 3 not 4.5??
    It will not work, you cannot directly migrate Oracle 7.3.4 to 10g, you need to migrate it first to 8.1.6 and than to 10g.
    Even if you succeed in your database migration your front end version will not work.
    Tony

  • Nexus 5548 with FET-10G problem

    hi,
    i have single 5548 NX-OS 5.0.2N1(1) version connected to single fex 2232 via 4 X FET-10G. on the 5548 it is the first ports, at the 2232 it is at the last 8 ports.
    after configuring appropriate FEX configuration i cannot see any link between them. when i am changing from FET to SFP-10G i get a link.
    what could be the problem ?, do i need specific configuration ?
    thanks,
    Avi.

    Hi,
    Yes, you need to configure the 5548 ports as " switchport mode fex-fabric " before you connect the FET SFP's in the ports.
    The FET is supported on N5k only when connected to the uplink of a FEX, however, the SFP will be non accepted
    if the port on the 5k is not configured with:
    "switchport mode fex-fabric"
    Could you make sure that you have that configuration and that check again?
    HTH,Please rate if it does.
    Cheers,
    -amit singh

  • Forms/Designer 10g - problem with attached libraries

    I've problem with forms with attached libraries. All of libraries have removed paths. I can run all forms without any problem on my local application server from Forms Builder 9i or Designer 9i. I added all paths in registry FORMS90_PATH. WORKINGDIRECTORY in formsweb.cfg is blank.
    Unfortunately I can't do it with Developer 10g on second workstation. I added all paths in registry FORMS_PATH. WORKINGDIRECTORY in formsweb.cfg is blank too. When form is running I get ORA-06508. I can't store all files (fmb, fmx, pll, plx etc.) in one folder because I've to use CVS. In this case I can't set any folder in WORKINGDIRECTORY.

    Assuming Forms 10.1.2.x, FMX, MMX, PLX, and OLB files are found based on the value of FORMS_PATH which is set in default.env and not the Registry. This applies to runtime only. The Builder uses the Registry.
    Understand that "runtime" refers to any time a form is displayed in a browser, regardless of whether is was started from the Builder or Application Server.
    Also, be aware that if you have FMX, MMX, or PLX files which were created in older versions they must be recompiled using the 10.1.2 compiler.

  • Log4J with Weblogic Server 10

    Hi,
    We are migrating an EJB application from Weblogic 8.1 to Weblogic 10.0
    In the current configuration, we simply include the following in the server startup script, so as to specify the log4j configuration file, and this takes care of the logging part.
    -Dlog4j.configuration=file:<complete file name>
    The same thing doesn't work with WL 10. Is there any other (special) way of using Log4j with WL 10?
    Note that inside the code, we use commons-logging to get hold of the logger as follows:-
    org.apache.commons.logging.LogFactory.getLog(class)
    I would be grateful for any help on this.
    Thanks in advance.
    Regards,
    Neelesh

    Tricky questions.. this problem needs more analysing. I see that you are on R27.6.0, we've come with a few updates to that one. Download the latest greatest and see if that works things out: http://www.oracle.com/technology/software/products/jrockit/index.html. If not, then report this issue to JRockit support (see how to below)!
    Best Regards,
    Tuva
    JRockit PM
    How to report to JRockit support:
    You must register and file the issue on Metalink, http://metalink.oracle.com. Note that you must have purchased support to continue.
    If you have problems during the registration or filing you can call our support +1.800.223.1711* or 1-800-633-0738 directly.
    In case you have not purchased support call 1.800.833.3536* for support sales.
    More information on our support site: http://www.oracle.com/support/index.html.
    *) US numbers - for global technical support contacts see: http://www.oracle.com/support/contact.html

  • I am trying to connect oracle develper suit form with oracle 10g database

    i am trying to connect oracle develper suit form with oracle 10g database
    but when i pass username and password
    this message apperars
    ORA-12560:TNS:protocol adapter error
    every time even i try to connect Report or Designer each time same problem
    making no connection .
    can any body help can help me to reslove this prblem
    Arshad khan

    Duplicate thread:
    Re: connection problem

  • SunOneAppServ with Oracle 10g vers. 10.1.0.3.0

    Hello,
    I'm using two different versions of SunOneAppServer,
    Sun Java System Application Server Enterprise Edition 8.1_02(build b19-p08) and
    Sun Java System Application Server 7 2004Q2UR2.
    These two instances of Application Servers work over two different databases, Oracle 8 and Oracle 10g vers. 10.1.0.3.0.
    When working with Oracle 10 I get locks over some records during transactions and that transactions don't run correctly so the records remain locked and all following transactions go on waiting indefinitely or until I kill the session using toad.
    Looking at the query locking the record it seems to me it's a query done by the application server.
    Using the same software and making the same operation over the database with Oracle 8 this doesn't happen.
    Does anyone has the same problem or knows how to solve it?
    A collegue of mines told me that these versions of application servers doesn't support Oracle 10g. Is it true?

    Both versions of the appserver below will work with Oracle 10g.
    There is not enough details as to asist with your problem, but it could well be a change in semantics for locking in 10g that is causing your issue

  • Oracle 11g compatibility with oracle 10g and 9i?

    Hi All
    I have some queries on 11g compatibility.
    Is oracle 11g client compatible with oracle 10g client which is already installed on desktop?
    If yes any changes to be done and where?
    Is oracle 11g compatible with oracle 10g/9i on the same server where 10g/9i are installed?
    Regards

    Thanks Justin Thats right ...
    Problem elaboration is as follows
    We currently have an application which requires oracle 10g(10.2.0.3) client to connect to database from user desktops. As
    part of new application development the oracle 11g clients need to be installed on all the user deskotps.
    The complete application software along with oracle client 11g has to be roled out on these desktop as part of
    implementaion of new application besides the existing application(The application software is packaged along with oracle
    10g client).
    We would like to understand if there is any software provided by oracle using which we can switch between different oracle
    versions while accessing the respective applications simultaneously. Also are there any known bugs/issues in running
    oracle 10g client and oracle 11g client together on the same user desktops with different oracle homes?

  • Jdeveloper 10g with oracle 10g database

    i am evaluating jdeveloper 10g with the oracle database 10g. i am trying to invoke the oracle databse results in the applet. the applet code has been compiled successfully.but when i am trying to execute the applet the error found is 'no suitable driver'.
    how do i can resolve this problem.

    This is not a sales forum. As I already said you should contact an Oracle sales person which can answer your question. There are possible migration paths which will save you some money (against buying all new licences).
    I don't say that you have to upgrade to 12c. You can develop applications using the older technology using jdev 10g together with OAS 10g and Oracle DB 10g.
    If you want to use newer technology (jsf2.0...) you have to update as these are not available in 10g. The question if you need to update to 11g or 12c (jdev) you have to answer yourself and may ask the salesperson too. 12c is the latest technology and the question is if you need the latest. 11g if the jdev version which is used internally by Oracle and is on the marked quite some time.
    Timo

  • Symantec Antivirus with Oracle 10g

    Hi,
    I have successfully installed Oracle 10g personal database and developer suite in windows xp with 512 MB RAM and 2.66 Ghz processor.
    The problem is that when I start my PC, it takes 2 min. to boot completely and the Symantec antivirus can not be enabled for a longer time (more than 10 min.)
    Please tell me about the solution or any configuration settings.
    Thanks & regards
    Ghazi Shahnawaz.
    email: [email protected]

    Thanks Justin Thats right ...
    Problem elaboration is as follows
    We currently have an application which requires oracle 10g(10.2.0.3) client to connect to database from user desktops. As
    part of new application development the oracle 11g clients need to be installed on all the user deskotps.
    The complete application software along with oracle client 11g has to be roled out on these desktop as part of
    implementaion of new application besides the existing application(The application software is packaged along with oracle
    10g client).
    We would like to understand if there is any software provided by oracle using which we can switch between different oracle
    versions while accessing the respective applications simultaneously. Also are there any known bugs/issues in running
    oracle 10g client and oracle 11g client together on the same user desktops with different oracle homes?

  • Oracle Developer 6 applications with database 10g

    Hello,
    My all applications are developed and running in Oracle Developer 6 with database 9i. But now i want to use
    database 10g with these Oracle Developer 6 build applications.
    Already compiled files (with dev 6 and DB 9i) are runing with database 10g quite nicely,but when i try to
    recomplie the source files of these applications with 10g database i got the fowlloing error.
    ORA-00600: internal error code, arguments: [17069], [45468896], [], [], [], [], [], []
    After it i open these Oracle Developer 6 applications source files with Oracle Developer 6i and use 10g database,
    compile and run very easly.
    I think it is old version problem .But my development team dont want update all applications to new version (6i or other) yet.
    Is there any solution to use Oracle Developer 6 applications with database 10g ?
    Thanx.

    The general rule is "Ora-00600s (and 7445s, 3113s) are to be reported to Support". Look in Metalink to see whether any one else has reported it, based on the first argument. If so, there may be a workaround or a patch.
    Since you are asking this generically without database version, patch level or operating system, I assume you are using the unsupported free download and do not have access to Metalink. In that context
    1) What is the problem:
    The problem is your request (QSL, PL/SQL, Java) is hitting a bug or abusing a part of the Oracle software in an unexpected way. ORA-00600 is simply one of the 'unexpected and unhandled exceptions'.
    2) Required action:
    Since it is unexpected and unhandled, there are several ways to proceed:
    - Search the net for the first argument (ktspgetmyb-1) to see whether someone has a workaround
    - Reproduce and Simplify your offending code until you find your own workaround.
    Often this happens with some sql statement
    serache for metaling ORA-00600 log

  • How to connect Forms 6i & Reports 6i with oracle 10g R2?

    Hey everybody,
    I need your help in connecting both Forms 6i & Reports 6i with Oracle 10g Release 2 db, MS Access(2003, 2007) and SQL database(Microsoft Visual Studio 2008). I am a newbie. I have installed all of them on my HP notebook, with Windows 7 Ultimate(32 bit OS) installed. I want to generate forms & reports by accessing data from above mentioned databases. Please provide me with the configuration steps.
    Thanks in advance...!

    Welcome to the forum ;-)
    Please be sure to review the following:
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    First, I think it would be a good idea if we can understand why you have chosen to use a nearly new operating system yet install Oracle products that are 10 years old (i.e. Forms/Reports 6i) on it. In general, this is not a good idea. Although running such an old version on Win7 can be made to work, the possibility of having problems is likely. If you are infact new to the product, using a configuration where you are likely to have problems may not be a good starting place. Also, you should be aware that Forms/Reports 6i was desupported several years ago. Documentation and other information is gradually being replaced by newer information, so resources for this old version are going away. The latest version of Forms/Reports is part of Fusion Middleware 11R2 (version 11.1.2.0) and requires WebLogic Server 10.3.5 (or 10.3.6) in order to be installed.
    Second, if you decide to stick with F/R 6i, are you planning to run the applications you create in a browser or as a client/server application? This information is important because how you connect to a database will slightly differ depending on which option you choose. Also, if you want to connect to non-Oracle data sources you can use ODBC for client/server or Oracle Transparent Gateway. However, if you plan to deploy the applications using a browser, Gateway is your only option for connecting to non-Oracle datasources. As for connecting to MS Access, I believe ODBC is your only option, so web deployment may not be an option.
    http://docs.oracle.com/cd/B19306_01/gateways.102/b14270/ch1.htm
    There are many other references available. Try a Google search.
    As for connecting to an Oracle database, this is generally easy. For the Builder(s) and client/server runtime to connect, add the db information to the tnsnames.ora found in the Oracle Home (installation directory) \network\admin. If you are unfamiliar with what goes in the file you can copy the entries created for your database. The db will have a similar file found in a similar place in its installation directory (Oracle Home). For example, you might find something like this:
    ORCL =
    (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = YOURSERVER.COM)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    )Simply copy this information to the end of your tnsnames.ora found where Forms/Reports is installed then restart any running Forms or Builders.

  • NoSuchFieldError: conversion with Oracle 10g?

    I'm getting the following after re-running some code that worked with 9i, but doesn't with 10g. It's on a simple XMLType.createXML(Connection, Document) call. I'm using the new ojdbc14.jar that came with the Oracle10g bundle. Any ideas?
    java.lang.NoSuchFieldError: conversion
         at oracle.xdb.XMLType.<init>(XMLType.java:617)
         at oracle.xdb.XMLType.createXML(XMLType.java:706)
         at oracle.xdb.XMLType.createXML(XMLType.java:1112)
         at com.aa.rpt.apps.bsa.automation.util.BSASQLController.updatePNR(BSASQLController.java:142)
         at com.aa.rpt.apps.bsa.automation.PNRDataPopulator.run(PNRDataPopulator.java:78)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
         at java.lang.Thread.run(Unknown Source)

    yes. but using the new xdb.jar and xmlparserv2.jar that came with the 10g bundle seems to have solved my problem.

  • IAS 65. with Oracle 10g

    Hi,
    Are there any known issues when running iAS 6.5 with Oracle 10g?
    Thanks!

    It has been more than a year since iAS6.5 has been EOLd. I do not think iAS 6.5 has been tested with Oracle 10g. But having said that, I don't think there should be any problems if you use the proper driver and do not use any new features introduced in 10g. There is also a possibility that this will not be a supported configuration if you see any issues.
    I would also like to mention that you should start planning your migration to Sun Java Application Server 8.x as soon as possible.
    Good Luck

  • Forms6i connectivity with oracle 10g Lite Edition

    Dear Sir,
    how to connect forms6i with oracle 10g lite edition
    Can you tell me the step by step procedure?
    Regards
    Mukesh Sharma

    Hello,
    look at this thread: connecting form 6i  to oracle database 10G express edition
    and this one: Re: Forms 6i on Oracle 10g UTF8 - Problem solved
    If my answer is helpful, please click on helpful/correct. :)

Maybe you are looking for

  • Multiple logins on one account...

    Is there any way to have multiple login/passwords connect to the same account in the Room Console? Is the login/password tied to a particular account URL? Or can I setup two accounts to access the same account URL? thanks -sandy

  • External display and "clam shell" closed lid mode = "Input Not Supported"

    I have an Acer AL2016W 20" monitor hooked up to my again Powerbook due to it having a cracked screen. It is working just fine right now, in 1680x1050, when the screen is open. Citing this article, http://support.apple.com/kb/HT3131 I should be able t

  • Email setup not working, Help needed!!!!!!

    Hi, I recently got a Blackberry Curve. My Text and Web tarrif was activated yesterday so I got a text telling me I can now set up my email account. Upon trying to set up my hotmail account for my Blackberry,  I got as far as entering email address an

  • Question about using SessionScope in a BoundAttribute ( Jdev 10.1.2 / UIX )

    Hi All, We have an older application that was written using ADF UIX and JDeveloper 10.1.2.1. I am trying to pass a value from the SessionScope map to a javascript routine using a boundAttribute on the "onClick" attribute of a <link> tag. Here is the

  • How to transfer classification data (class type 001) in ecc to crm

    Hi. dear    I have a problem in transfering classification data (class type 001). we use classification data in material (mm01) in ecc, class type is 001, but now I have to transfer the classification data to crm. i had downloaded the CLASS,ATTRIBUTE