How do I configure logging for Jena Adapter?

The software I'm developing uses the jdk logger, and sends the output to a log file. I'd like to send log messages from the Jena adapter to the same location. Also, what are the names of the logged components, and how can you adjust the log levels?

Those are internal logs. Behind the scene, Jena Adaptor is using apache commons logging.
To disable those verbose logging output, you can set the following JVM properties.
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.defaultlog=warn
Thanks,
Zhe Wu

Similar Messages

  • How to have Secure Connection for File Adapter.Pls help

    Hi All,
    For File to File Scenario
    How to have Secure Connection for File Adapter.
    Pls send links/blogs explaining this scenario.
    Regards

    hi rich
    go through these links
    FTPs connection failed - error ".. certificate rejected by ChainVerifier"
    Re: What is SFTP, FTI channels
    http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    FTPS implementation question.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
    Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
    /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
    File adapter
    thanks
    Kunaal

  • How to get change log for z-fields in VBAk(Sales order)

    Hi All,
    Please help me in this.
    My requirement is get the change log for z-fields in sales order.
    In the sales order header level we have one tab Additioanl data.
    In this we have z-fields, if we change any of the field value, it is accepting the same and updating in data base as well.
    But it is not appearing in change log<. I.e. Environment->changes.
    How to get the change log for the z-fields.
    In data element level enable the check box of change document.
    Please help me in this.
    Thanks in advance
    Jaya,G

    Hi Jaya,
    For this you need to do some coding. Here is a link which tells you, step by step procedure how to activate Change log for the Z tables.
    THe Object that you need to use for Sales Document   is VERKBELEG
    [https://wiki.sdn.sap.com/wiki/display/ABAP/Maintaining%20Change%20Log%20for%20Database%20Tables]
    Hope this helps..
    This is Primarily a Technical Consultant Job. Take his help before you make any changes.
    Thnks
    Srini

  • How to set "Configuration Variant" for a sales order item using function

    Hello All,
    I use function module 'SD_SALES_DOCU_MAINTAIN'  to create Customer Indep. Requirements but how to set "Configuration Variant" for a sales order item.
    Is their any idea or sample code?

    Hi Zhijun zhang,
    <u>http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm</u>
    <u>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</u>
    A variant is simply an SAP report where the parameters for running the report have been set by the user and then saved with unique name. This allows future retrieval and execution of the report faster without reentering the parameters. As a convention the variant name should start with with the digits 50 so searchs for LHU variants is easier and quicker.
    The first link will guide you by screen shot wise.
    Award points if it adds information.
    Thanks
    Mohan

  • How Do I Configure SSL for RAC Installation.

    Experts,
    Requesting your inputs on configuring SSL for my RAC environment.
    - Oracle DB version is 11.2.0.2
    - RAC is with two nodes.
    - Two nodes are : rac1.oracle.com and rac2.oracle.com
    - RAC setup has SCAN feature configured. SCAN FQDN : racscan.oracle.com
    - All clients talk to RAC DB using SCAN feature as shown below.
    client applications -> racscan.oracle.com ---> rac1.oracle.com
    ---> rac2.oracle.com
    - tnsnames.ora file on both RAC instances has hostname as "racscan.oracle.com" instead of their individual phyiscal host names.
    How do I configure SSL for RAC:
    1. Do I need to generate certificate request for individual hostnames or only for SCAN hostname ?.
    2. If I generate a certificate based on SCAN hostname, how does SSL work since SCAN hostname is not a phyiscal host name ?
    3. What is recommended strategy for configuring SSL for RAC environment ?
    Thanks

    The documentation on the creation of Oracle Wallets is not specific to RAC, and the RAC SCAN instructions for TCPS are very vague on the specific requirements for the certificates required in the wallets for proper operation. I too am struggling to get it to work. Does anyone have a more technical guide to the specific configuration of the certificates needed and what specific configuration file changes need to be made?
    Also, the self signed documentation is getting REALLY old. Oracle, please stop giving instructions that demonstrate irresponsibility and show the proper method of certificate requesting and importing to wallets.
    Edited by: user11338513 on Mar 21, 2012 2:23 PM

  • How to configure logging for Utils buildFacesMessage

    hi
    Please consider this example application created using JDeveloper 11.1.1.3.0
    at http://www.consideringred.com/files/oracle/2010/UtilsBuildFacesMessageLoggingApp-v0.01.zip
    (note, there is no ErrorHandlerClass configured in DataBindings.cpx)
    Running the trySomeFailingMethod.jspx page and entering a value starting with "err" will result in an exception being thrown and a message shown.
    For such scenario the "IntegratedWebLogicServer - Log" panel shows
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: unable to work with [err not ok value] as pFirstParam
    utilsbuildfacesmessageloggingapp.model.exception.MyRuntimeException: unable to work with [err not ok value] as pFirstParam
         at utilsbuildfacesmessageloggingapp.model.MyServiceImpl.someFailingMethod(MyServiceImpl.java:27)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: unable to work with [err not ok value] as pFirstParam
    utilsbuildfacesmessageloggingapp.model.exception.MyRuntimeException: unable to work with [err not ok value] as pFirstParam
         at utilsbuildfacesmessageloggingapp.model.MyServiceImpl.someFailingMethod(MyServiceImpl.java:27)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
    question:
    - (q1) How do I configure this "Utils buildFacesMessage" to avoid (or change) the logging of the exception (stacktrace) on the "IntegratedWebLogicServer - Log" panel?
    many thanks
    Jan Vervecken

    Thanks for your reply Timo.
    Yes, indeed, that is basically "logger" configuration in
    [...]\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\config\fmwconfig\servers\DefaultServer\logging.xml
    But an important part of my question (q1), which is not very clear, is how to determine what to configure, in this case "oracle.adf.controller.faces.lifecycle.Utils".
    But reviewing the log_handler configuration in logging.xml pointed me to ...
    [...]\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer-diagnostic.log
    ... which has more detailed information about which code is logging the message
    [DefaultServer] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IjULgG87y0YjLpyGOA1Ckc_900002a,0] [APP: UtilsBuildFacesMessageLoggingApp] [dcid: 4a36ca961f645018:-3ebf9ae5:12bd7e7fe26:-8000-0000000000000174] ADF: Adding the following JSF error message: unable to work with [err not ok value] as pFirstParam[[
    utilsbuildfacesmessageloggingapp.model.exception.MyRuntimeException: unable to work with [err not ok value] as pFirstParam
         at utilsbuildfacesmessageloggingapp.model.MyServiceImpl.someFailingMethod(MyServiceImpl.java:27)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [...]So, configuring a logger for "oracle.adf.controller.faces.lifecycle.Utils" works, but there does not seem to be level that just logs the exception message without the stack-trace. It would have been convenient to have a better overview of the (other) log messages without it being cluttered with large stack-traces.
    regards
    Jan Vervecken

  • How to set DEBUG severity for File adapter in J2SE AE

    Hi,
    Can anyone help me in setting the severity level to DEBUG for file adapter?
    I have tried to set in logging.properties file as given below,
    formatter[Trace]         = TraceFormatter
    formatter[Trace].pattern =%24d [%t] %-6s %l - %m
    log[Trace] = FileLog
    log[Trace].pattern     = swb_%g.log
    log[Trace].limit     = 2000000
    log[Trace].cnt          = 5
    log[Trace].formatter     = formatter[Trace]
    com.sap.aii.messaging.adapter.severity = DEBUG
    logging components
    #com.sap.aii.axis.logs = +log[Trace]
    #com.sap.aii.axis.severity = DEBUG
    #org.apache.axis.logs = +log[Trace]
    #org.apache.axis.severity = DEBUG
    Please correct me if I have did anything wrong and sugest me hot to set the DEBUG level as soon as possible.
    Best Regards,
    Soorya

    Hi Sejoon,
    when we changed the host of XI server in one of our projects one of the things we had to change was the exchange profile entries
    http://server:port/exchangeProfile/index.html
    to see how your adapter engine is configured
    http://server:port/sld
    SLD -> Content Maintenance
    then
    Subset: landscape description
    Class: XI Adapter Framework
    buth check the exchange profile entries first
    Regards,
    michal

  • FINEST debug logs for ftp adapter

    Hi All,
    How do I turn on the FINEST debug level for ftp adapter in SOA application.
    Thanks

    Not sure you can do it just for file but
    login to EM and navigate to SOA -> soa_infra
    right-click on soa_infra and select logs -> log configuration
    expand oracle.soa
    you will see
    oracle.soa.adapter
    set this to the level you desire
    cheers
    James

  • Error: while configuring logs for changes in infotype data

    Hi All,
    I am configuring the following Tables for maintain logs for changes in infotype data.
    V_T585A, V_T585B and V_T585C
    While configuring V_T585B, when i input * in 'field name' column it gives me an warning message " All data fields in **** infotype 31 will be deleted.
    Please let me know, what does this warning message means?
    Also, How is the report RPUAUD00 read?
    Regards
    Simran

    Hi Simran,
    you are not suppose to give the IT 0031-Reference Personnel Numbers in these tables. why because this will done at the time of Employee hiring only and we don't change this. if you change you will lost the old data in the IT.
    Normally we assign only the IT which we change frequently for the master data. example like 0 1 2 7 8 9 27 582 - 589 2001 2006.
    if you are configuring today means from today on-wards any changes had made to these IT's you can see in the report. before changes will not be seen. in the report you have to choose either long-term document / short-term document and remaining fields as per the requirement.
    Regards,
    Praneeth kumar

  • Configuration Steps for Decentralized Adapter Engine

    Hi all,
    What all configuration steps are required to make Adapter Engine as
    Decentralized AE.
    I have made required changes in SLD DataSupplier in Visual Administrator.
    what more configurations have to be done? On SAP XI Server and Decentralized
    Adapter Engine.
    With regards
    Prasad

    Prasad,
    After configuring SLD data supplier in Visual Admin, you need to the following
    1) Configure the gateway service for the central integration server on adapter engine host.
    2) Perform Initial adapter engine cache refresh
    3) Trigger data transfer to SLD
    4) Check the connection parameters in exchangeProfile
    5) Create HTTP destination pmistore in java environment
    you have to go through all these tests for decentralized adapter engine. If you have XI configuration guide, it has all these steps in detail for you to configure
    --Archana

  • How to do a count(*) with Jena Adapter?

    Hi, I am trying to do a count(*). I know it's not part of the SPARQL 1.0 standard, but it is supported in ARQ, and presumably by the Jena Adapter too then?
    Other examples I have been able to find do an iteration over the resultset to get a count, but that is not acceptable since I have millions of triples. In my tests it took 15 seconds to return the count by using iteration. Oracle Semantic is advertised as scaling to "hundreds of millions of triples"; so how do I do a simple count(*) aggregation?
    Below is the code I tried. It works with a regular jena default model, returning the expected result of "2", but the result is empty if I use the Oracle Jena adapter.
    import oracle.spatial.rdf.client.jena.ModelOracleSem;
    import oracle.spatial.rdf.client.jena.Oracle;
    import com.hp.hpl.jena.graph.Node;
    import com.hp.hpl.jena.graph.Triple;
    import com.hp.hpl.jena.query.Query;
    import com.hp.hpl.jena.query.QueryExecution;
    import com.hp.hpl.jena.query.QueryExecutionFactory;
    import com.hp.hpl.jena.query.QueryFactory;
    import com.hp.hpl.jena.query.ResultSet;
    import com.hp.hpl.jena.query.ResultSetFormatter;
    import com.hp.hpl.jena.rdf.model.Model;
    public class OracleJenaAdapterCountTest {
         public static void main(String[] args) throws Exception {
              String szJdbcURL = "jdbc:oracle:thin:@dragon12:1521:mydb";
              String szUser = "mydb";
              String szPasswd = "yeahright";
              String szModelName = "kp_mydb_model";
              Oracle oracle = new Oracle(szJdbcURL, szUser, szPasswd);
              Model model = ModelOracleSem.createOracleSemModel(oracle,
              szModelName);
              // this one works
              //Model model = ModelFactory.createDefaultModel();
              model.getGraph().add(
                        Triple.create(Node.createURI("http://example.com/John"),
                                  Node.createURI("http://example.com/fatherOf"),
                                  Node.createURI("http://example.com/Mary")));
              model.getGraph().add(
                        Triple.create(Node.createURI("http://example.com/John"),
                                  Node.createURI("http://example.com/fatherOf"),
                                  Node.createURI("http://example.com/Bob")));
              Query query = QueryFactory
                        .create("select (count(*) as ?count) {?f <http://example.com/fatherOf> ?k .}");
              QueryExecution qexec = QueryExecutionFactory.create(query, model);
              ResultSet results = qexec.execSelect();
              ResultSetFormatter.out(System.out, results, query);
              model.close();
              oracle.dispose();
    }

    Hi,
    Which version of Jena/Jena Adapter are you using?
    I am a bit surprised that your query did not throw out an exception. I need to set Syntax.syntaxARQ
    in the query creation, as follows. (Without it, I got com.hp.hpl.jena.query.QueryParseException when
    executing the same code.)
    Query query = QueryFactory
    .create("select (count(*) as ?count) {?f <http://example.com/fatherOf> ?k .}",
    Syntax.syntaxARQ);
    Once I have the above change, I did get the right count.
    | count |
    =========
    | 2 |
    The above query is not the most efficient one in terms of getting the count. Because we have to select out all projection and send the data from the database to the Java client. If you are using the latest Jena Adapter, you can use the count_only which will instruct the underlying query to return the count directly from the database.
    Query query = QueryFactory
    .create("PREFIX ORACLE_SEM_FS_NS: <http://oracle.com/semtech#count_only> select ?count {?f <http://example.com/fatherOf> ?k .}",
    Syntax.syntaxARQ);
    Cheers,
    Zhe Wu

  • How can I configure labview for communication with Modbus I/O?

    i read a article about configureing Labview for communication with modbus I/O in NI developer zone, but it was written for Labview 6, how can I configure it with labview 7. it seems there are some difference. Thanks!

    In both LabVIEW 6 and 7, you connect to modbus using Lookout Protocol Drivers (LPD) and then communicate to LPD using the tag engine of LabVIEW DSC or through DataSocket.

  • Added additional user. How do I configure password for this user?

    Have two different accounts. Second accound added but don't understand how to cinfigure password for this account.

    A bit confused by your query, so can you clarify a few points.
    re: added additional user
    You do not add additional users to Thunderbird, so I presume you mean you have tried to create another mail account for someone else in your own profile.
    You do not configure passwords for other peoples email addresses as that would be a privacy issue and only they should do it.
    Lets start at the begining.
    If more than one person is using a computer, they should have their own User Account which they access via a password they choose. This gives them their own desktop view and access to programs installed on computer, such as Thunderbird.
    Thunderbird will be available for them to use.
    When you run it for the first time in their User Account, it will create a Profile in their User Account.
    Thunderbird will also then ask you to create a mail account in that Profile.
    The details you enter will ask for Name. email address and a password.
    That password is the same password they use to access their email in their webmail account using a browser, so only they should know that password and they should not divulge it to anyone - however in some cases, eg: spouses, they may know each others password.
    You can choose whether Thunderbird remembers the password or not before creating the account, but the password would still be required to configure the mail account.
    This method means that no one can see that persons emails nor access their password details because they do not know the password to the computer User Account.
    If you have only the one admin User Account which several people use, then anyone has access to anything on that computer. This may be fine if eg; spouses share the computer, but it is not a practise that should be used in any other environment.
    If you have mail accounts created in the same Thunderbird profile, then all mail and passwords are freely available for anyone to see and this may not be desired.
    Some people use only the one User Account, but they have their own Profile created in Thunderbird.
    When Thunderbird was initially run, it created a defult Profile, but you can add additional Profiles using the Profile Manager.
    The mail account is created in that Profile and then they can apply a Master Password in Thunderbird.
    This means that anyone can still see anyone's emails as on startup as anyone can select any Profile.
    But, the access to passwords is locked and removal of Master Password will remove all stored paswords to safe guard privacy.
    Some info on Master Passwords:
    * http://kb.mozillazine.org/Master_password
    Some info on creating additional Profiles using Profile Manager:
    * http://kb.mozillazine.org/Profile_Manager

  • How do i configure REGISTRY for enterprise services

    Hi,
    Please let me know how to Configure Registry for enterprise services in  SAP Discover system V2.
    Regards,
    Naveen

    I'm afraid it's a bit more complicated than adding a server into the list in Step 3 :)
    When a DirectAccess client is connecting into a corporate network that is IPv4 (I assume yours is, most are), it can reach into your IPv4 servers because the DA server is doing NAT64/DNS64 translations, turning all of your DirectAccess IPv6 packets into
    IPv4 packets before they head inside the network. But even though this happens in the background without you really knowing about it, the key thing there is that all DirectAccess traffic is IPv6. This means the clients can only be contacted via IPv6. If you
    have IPv6 inside your network, then you can route outbound fairly easily to your DA client computers. If you are all IPv4 inside as most companies are, then you have to either roll IPv6 out inside your network, at least partially, or you have to utilize ISATAP
    inside your network in order to create a sort of "virtual IPv6 cloud" that runs on top of your IPv4 internal network. This enables your internal management systems (like the BMC servers and helpdesk computers for RDP access outbound) to have a connection
    into the IPv6 world, which then enables them some routing capability to get out to the IPv6-connected DA clients. In addition to this IPv6 or ISATAP setup, you also need to configure WFAS rules on the DA clients so that they will allow this traffic.
    There is some info on setting up ISATAP here: http://blogs.technet.com/b/jasonjones/archive/2013/04/19/limiting-isatap-services-to-directaccess-manage-out-clients.aspx
    Otherwise one of the chapters in this book is also dedicated to the setup of a selective ISATAP environment, to be used for the purposes of DirectAccess outward management: https://www.packtpub.com/virtualization-and-cloud/microsoft-directaccess-best-practices-and-troubleshooting

  • How long does "Configuring sync for MobileMe" take?

    After getting used to my 3GS I took the next step to sync with my MacBkPro via MobileMe. I have gotten all the way through the process to "Find my iPhone" and the wheel is going around saying "Configuring sync for MobileMe" for about 20 minutes. How long should it take? Is it related to the number of Contacts I have in my iPhone which is also synced to my server at work and has 100's of contacts. How long should I wait and how do I abort?

    Same sort of thing going on here.
    What ended up happening?

Maybe you are looking for

  • IOS 7.0.2 Upgrade on iPad4

    After upgrading to iOS 7.02 the iPad is a loop and never gets out of Config. questions. It was rebuild on last Backup on iTunes (latest release) on an iMac. No error messages at all, also rebuild looks fine. When rebooting the iPad, always starts wit

  • Startup database with bad tablespace

    Hi, for a mistake delete a physical tablespace file and now my database not startup. how can i drop that bad tablespace and put my database ok thanks

  • Aperture and sRAW (Canon 50D)

    Does anyone know of a reason why Aperture seems to not fully support the sRAW format? My personal experience has shown me that bringing an sRAW (7.1 mp) file from my Canon 50D into Aperture will result in a much noisier image. Several of the RAW Fine

  • Just updated via the creative cloud app and now lightroom won't even load.

    As the title states: I've just updated via creative cloud app, ran lightroom from the standard shortcut on m desktop and got 5.7. Exited that and tried to run from the new shortcut. No load. Thought it might be to do with still having 5.7 installed,

  • Bouncing Single Tracks from Garage Band

    I have a recording i did with multiple tracks and I just want to export one section of the song. I've used other programs where you can set up parameters of where the export starts and where it ends. For some reason, I cannot figure out how to do thi