Where is logging configured?

Ok guys just put on to a new project and I am trying to find where the logging is configured.
I have a sessions.xml as follows
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE toplink-configuration PUBLIC "-//Oracle Corp.//DTD TopLink Sessions 9.0.4//EN" "sessions_9_0_4.dtd">
<toplink-configuration>
<session>
<name>Session</name>
<project-xml>META-INF/newApp.xml</project-xml>
<session-type>
<server-session/>
</session-type>
<enable-logging>false</enable-logging>
<logging-options>
<log-debug>false</log-debug>
</logging-options>
<login>
<type>oracle.toplink.sessions.DatabaseLogin</type>
<datasource>jdbc/newAppDS</datasource>
<uses-external-connection-pool>true</uses-external-connection-pool>
<uses-native-sequencing>true</uses-native-sequencing>
<sequence-preallocation-size>1</sequence-preallocation-size>
<uses-native-sql>true</uses-native-sql>
</login>
</session>
</toplink-configuration>
I also have an applpicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!--
- Application context definition for newAppDb on TopLink.
-->
<beans>
     <!-- ========================= RESOURCE DEFINITIONS ========================= -->
     <!-- TopLink SessionFactory -->
     <bean id="sessionFactory" class="org.springframework.orm.toplink.LocalSessionFactoryBean">
          <property name="configLocation" value="sessions.xml"/>
          <property name="databasePlatform">
               <bean class="oracle.toplink.platform.database.oracle.Oracle8Platform"/>
          </property>
          <property name="sessionLog">
               <bean class="oracle.toplink.logging.DefaultSessionLog"/>
          </property>
     </bean>
     <!-- JTA Transaction manager -->
     <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
     </bean>
     <!-- ========================= BUSINESS OBJECT DEFINITIONS ========================= -->
     <!--
     - SeedTestDb's central data access object: TopLink implementation.
-->
     <bean id="newAppDb" class="ie.gov.agriculture.seedtest.domain.newAppImpl">
          <property name="sessionFactory" ref="sessionFactory"/>
          <property name="ccsJndiName" value="jdbc/newAppDS"/>
     </bean>
</beans>
I have done a search across the project for logging but cannot find it.
I was expecting to come across something like.
<property name="toplink.logging.level" value="FINEST" />
but cant find it.
Any ideas please help, working on it for a long time now and thinking of quitting my job and opening up a bar on a beach in Spain!!!!

Don't head for the beach yet--but it sounds more attractive than sitting at a keyboard! ;-)
I see you're using the old DTD based sessions.xml. Reading DTD definitions is no fun so I opened up the TopLink 10.1.2/9.0.4 Sessions Editor (who's functionality was merged into the Workbench in 10.1.3) and created a new sessions.xml file. Then I turned on all the logging options. This is what I came up with when I saved:
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE toplink-configuration PUBLIC "-//Oracle Corp.//DTD TopLink Sessions 9.0.4//EN" "sessions_9_0_4.dtd">
<toplink-configuration>
   <session>
      <name>Session</name>
      <project-xml>DeploymentDescriptor.xml</project-xml>
      <session-type>
         <server-session/>
      </session-type>
      <login>
         <datasource>DATASOURCE</datasource>
      </login>
      <enable-logging>true</enable-logging>
      <logging-options>
         <log-debug>true</log-debug>
         <log-exceptions>true</log-exceptions>
         <log-exception-stacktrace>true</log-exception-stacktrace>
         <print-thread>true</print-thread>
         <print-session>true</print-session>
         <print-connection>true</print-connection>
         <print-date>true</print-date>
      </logging-options>
   </session>
</toplink-configuration>Hope that helps.
--Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Where to put log-configuration.xml in a JSPDynPage application

    Hi,
    I have developed a JSPDynPage application with the SAP NetWeaver Developer Studio.
    So, the structure is:
    *dist
    ***PORTAL-INF
    *****classes
    *****jsp
    *****lib
    *****localization
    *****logger
    *****pagelet
    *****private
    *******classes
    *******lib
    *****srclib.api
    *****srclib.core
    *****taglib
    ***css
    ***images
    ***scripts
    I have put it in the "logger" repository.
    But it seems that it is not used ....
    Can somebody help me, please?
    Thanks,
    Fabien

    Hi Fabien,
    the log-configuration.xml works only on J2EE applications (and now you know the difference ); within the portal you can use the older logger.xml.
    See http://help.sap.com/saphelp_nw04/helpdata/en/e2/75a74046033913e10000000a155106/frameset.htm for details.
    Hope it helps
    Detlev

  • E-Commerce Catalog error and log configurator probelm?

    Hello,
    I am trying to browse a B2B shop (http://server:port/b2b/b2b/init.do) in CRM 5.0 and getting following error message:
    The catalog that you have selected is currently unavailable; try again later
    I am using CRM 5.0 System (IDES Client) and basically trying to setup a E-Commerce development environment.
    Following are the steps i have done so far for E-Commerce configuration:
    1. Configured ISADMIN (http://server:port/isauseradm/admin/xcm/init.do).
    1.1 Changed following params for Start->General Application Settings->Customer->isauseradm->isauseradmconfig:
    >> SSLEnabled: false
    >> appinfo: true
    >> show start.jsp: true
    >> AddUserToPartner: true
    >> AcceptExistingUser: true
    1.2 Created a new JCo connection under Start->Components->Customer->jco and entered my back end CRM System details and saved it as CRM_800_JCO. I also did Run Test which was successful.
    1.3 Created a new JCo connection under Start->Application Configurations->Customer and entered following params and saved it with name CRM_800_ISAUSERADMSTD:
    >> Base configuration: isauseradmStandard
    >> default configuration: X
    >> active configuration: X
    >> jcodata: CRM_800_JCO
    >> backendtype: crmdefault
    >> usertype: CRM_Standalone
    >> uidata: default
    2. Configured B2B (http://server:port/b2b/admin/xcm/init.do).
    2.1 Changed following params for Start->General Application Settings->Customer->b2b->b2bconfig:
    >> SSLEnabled: false
    >> appinfo: true
    >> show start.jsp: true
    2.2 Created a new JCo connection under Start->Components->Customer->jco and entered my backend CRM System details and saved it as CRM_800_JCO. I also did Run Test which was successful.
    2.3 Created a new JCo connection under Start->Application Configurations->Customer and entered following params and saved it with name CRM_800_B2BCRMSTD:
    >> Base configuration: b2bcrmstandard
    >> default configuration: X
    >> active configuration: X
    >> jcodata: CRM_800_JCO
    >> usertype: CRM_Standalone
    3. I was really not sure if ShopAdmin config is required or not but i did it. Configured SHOPADMIN (http://server:port/shopadmin/admin/xcm/init.do).
    3.1 Changed following params for Start->General Application Settings->Customer->shopadmin->shopadminconfig:
    >> SSLEnabled: false
    >> appinfo: true
    >> show start.jsp: true
    3.2 Created a new JCo connection under Start->Components->Customer->jco and entered my backend CRM System details and saved it as CRM_800_JCO. I also did Run Test which was successful.
    3.3 Created a new JCo connection under Start->Application Configurations->Customer and entered following params and saved it with name CRM_800_CRMSHOP:
    >> Base configuration: crmshop
    >> default configuration: X
    >> active configuration: X
    >> jcodata: CRM_800_JCO
    4. Restarted CRM J2EE.
    5. Setup TREX 7.0.
    5.1 From TREX Administration, created a new connection (Type A, i.e., using System Number and Application Server Host) for CRM System and also RFC Dest. (sm59) in CRM System.
    5.2 Restarted TREX and connected this connection.
    5.3 Following are the visible column values for this connection in TREX Administration:
    >> Connection Status: <connected>
    >> Configuration Satus: Green
    >> SAP System: CRM
    >> RFC Destination: TREX_DEFAULT
    >> Gateway: local
    >> RfcServer Instances: 1 (no automatic changes)
    >> TREXRfcServer Processes: 1
    >> Workprocesses: 6 (4 DIA, 2BGD)
    5.4 Did a RFC Connection test in CRM System using SM59 which was successful as well.
    5.5 Using Transaction SRMO (Retrieval : Search Server Relation Monitor) in CRM System changed the RFC Destination for Search server ID DRFUZZY (for both I and S type RFC Server destination action) to TREX_DEFAULT. Did a connection test for this and it was successful.
    6. Initiated Replication using transaction COMM_PCAT_IMS_INIT with following params:
    >> Product Catalog: PCSHOP
    >> Variant: VAR_EN
    >> Search Server Relation:  DRFUZZY
    >> Publishing Computer ID:
    >> Allows Parallel Processing:
    >> Publish Documents via HTTP:
    >> Transfer Document Content: X
    >> Package Size of Indexing: 5,000
    >> Processing Existing Indexes: Overwrite Index Only When OK
    >> Behavior when Error Messages Occur: Cancel Variant Replication
    7. Logged into ISADMIN User Config (http://server:port/isauseradm/useradmin/init.do) and created a new user using the option New User and New Contact Person with an existing company of type Sold-To Party and which belongs to the sales area that is linked with PCSHOP Product Catalog (from IDES data).
    Now, when i log into B2B Page (http://server:port/b2b/b2b/init.do) using the newly created user and click on the shop PC4BIZ_EN i get following error message:
    The catalog that you have selected is currently unavailable; try again later
    I also created a new Product Catalog and did the Initial Replication still getting the same above error message.
    Can anyone please tell me what am i missing or what mistake i have done?
    I even restarted CRM System, but the result is still the same.
    Also, how do i check the log files for B2B? I checked the E-Commerce Admin Console (http://server:port/b2b/admin/index.jsp) and clicked on the logging link, but i get the following message:
    Logging is now configured centrally in the J2EE Engine Visual Administrator (server service: Log Configurator)
    How exactly do i configure and what is the right path for B2B Logging in J2EE Visual Administrator? And where will the log files for B2B be stored on the server?
    I would really appreciate (and of course award points) for your help on this.
    thanks and regards,
    Vasu

    Thanks for the Note reference. I will go through it now and try to check the log files.
    And regarding the error message i don't think it could be because of The Catalog variant is not set right in the Shopadmin application as all the values in Shopadmin seem to be correct. Anyhow following are the current values selected for the custom Product Catalog I created:
    Shop Id: ZTEST
    General Information
    --> Usage
    > Business Scenario: Internet Sales B2B
    --> Authorizations
    > Authorization Group: <blank>
    --> User Administration
    > Partner Function Contact Person: 00000015
    > Country Group: <blank>
    --> Billing Documents
    > Display of Billing Documents: No Billing Documents
    --> Store Locator
    > Display Store Locator: <blank>
    Catalog
    --> Product Catalog
    > Catalog Search: <blank>
    > Catalog: ZTEST
    > Catalog Variant: VAR_EN
    > Catalog View: <blank>
    > Hide Internal Catalog: <blank>
    > Controlling Price Determination in the Catalog: via IPC
    > Profile group for pricing related attributes for exchange products: <blank>
    Transactions
    --> General
    > Allow transaction management for other business partners in hierarchy: <blank>
    > Large Documents: Display All Items
    > Document type can be chosen late: <blank>
    > Batch Processing Permitted: <blank>
    > Display product determination information: X
    --> Order
    > Choose Order Types: Order Type
    > Order Type: ISBB
    --> Order Template
    > Order Templates Allowed: X
    > Order Type: ISBB
    --> +Quotations
    > Creating a Quotation: No Quotation
    --> Contracts
    > Contract Determination: <blank>
    --> Contract Negotiations
    > Allow Contract Negotiations: <blank>
    Marketing
    --> Global Product Recommendation
    > Display Global Product Recommendation: <blank>
    --> Personalized Product Recommendation
    > Display Personalized Product Recommendation: <blank>
    --> +Product-Related Proposals +
    > Display Product-Related Proposals: <blank>
    --> +Campaigns +
    > Allow manual entry of campaigns: <blank>
    Auction
    --> Auction
    > Auctions allowed: <blank>
    Regarding the reason "The Catalog was not replicated properly and is hence unavailable on TREX", is there any way to verify this? When i ran Initial Replication (transaction COMM_PCAT_IMS_INIT with the values i said in my first post) everything was green.
    Also, how do i clear the Catalog Cache? Is it the same as clearing the Catalog Cache Statistics in E-Commerce Administration Console (http://server:port/b2b/admin/index.jsp)?
    Thanks and Regards,

  • FMS  - change directory where the log files are located?

    I want to change the logs files directory from:
    C:\Program Files (x86)\Adobe\Flash Media Server 3.5/logs
    to:
    D:\fmsLogs
    Please halp me to understand...
    in adobe in:
    Home / Flash Media Server  3.5 Configuration and Administration Guide / XML configuration files reference
    it says:
    in Logger.xml in Directory
    Specifies the directory where the log files are located.
    By default, the log files are located in the logs directory in the server installation directory.
    Example:
    <Directory>${LOGGER.LOGDIR}</Directory>
    what this meens: ${LOGGER.LOGDIR} ?
    in order to change the logs files directory from:
    C:\Program Files (x86)\Adobe\Flash Media Server 3.5/logs
    to:
    D:\fmsLogs
    do i need to write this:
    <Directory>D:\fmsLogs</Directory>
    or what do i neet to write?
    it is totaly not understandable from this example...
    big thanks for any halp
    cheinan

    You can change LOGGER.LOGDIR in fms.ini to your preferred location i.e. D:\fmsLogs and restart FMS.
    Now if you want to change for individual logs - you can change in Logger.xml - by default logger.xml will use value from fms.ini

  • Log-configuration.xml config does not show up in Visual Admin

    I have the following log-configuration.xml file created for a EAR project. When I deploy the file I cannot see the formatters/destinations/controllers in the log configurator.
    Please help.. thanks in advance
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
    <log-configuration>
         <log-formatters>
              <log-formatter
                   name="XBTR_SERVICE_EJB_Formatter"
                   pattern="[%s] %24d [%t] %l  %m"
                   type="TraceFormatter"/>
         </log-formatters>
         <log-destinations>
              <log-destination
                   count="1"
                   effective-severity="ALL"
                   limit="1000000"
                   name="XBTR_SERVICE_EJB_Destination"
                   pattern="./logs/applications/java/ejb/xBTRservice.log"
                   type="FileLog">
                   <formatter-ref
                        name="XBTR_SERVICE_EJB_Formatter"/>
              </log-destination>
         </log-destinations>
         <log-controllers>
              <log-controller
                   effective-severity="ALL"
                   maximum-severity="ALL"
                   minimum-severity="ALL"
                   name="XBTRService_Log_Controller">
                   <associated-destinations>
                        <destination-ref
                             association-type="LOG"
                             name="XBTR_SERVICE_EJB_Destination"/>
                   </associated-destinations>
              </log-controller>
         </log-controllers>
    </log-configuration>

    Hi Rajeshkr,
    Sorry, i am kinda new to web dynpro and sap in general so i may need you to be more explicit
    I am not quite sure what this part means or how to check "...has been deployed successfully in the deploy node of the visual Node and check for the Log Configuratior Node and check for your deployed application...."
    What i did do is go to the server to and search the entire directory structure for the log-configuration.xml but could not find it. Also, the config cannot be seen via the log-configurator in visual administration engine which its supposed too i think. and lastly the behavoiur i set in the log-configuration.xml is not reflected in the defaultTrace
    Then i saw this post so i went to check the EAR file in my workspace and found that it was just like Manik described.
    Maybe u could check this link where i posted more about my problem Log-Configuration.xml Problems
    I would love to award points if it helps

  • Log configuring

    hi,
    I see logs in
    Cluster Topology > Application Server: oc4j.asd.com > Log Files >
    I see there all reqests and responces to my web-service.
    BUT they all just from my mashine, where server installed and
    there are no any info about requests from other mashines even if they ware success.
    where I should configure it?

    user468979,
    Here are the results of my Internet search. Maybe you will find something helpful:
    http://tinyurl.com/a2wst
    Good Luck,
    Avi.

  • BPEL Admin:   Server / Log tab: Where this log is generated?

    Hi All
    There is a log configuration tab on BPEL Admin (where you can configure log for apache axis for instance), but I can´t locate where this log is beeing generated, can you help me please?
    I have already checked log files on:
    {OracleHome}/bpel/domains/xxx/log
    {OracleHome}/j2ee/bpel/log
    {OracleHome}/opmn/logs
    Thanks

    Hi Afonso
    I´m trying to catch some log for Apache Axis or something related to SOAP messages, WSIF or WebServices call.
    I have two BPEL process (lets say A and B).
    Process A call process B using dynamic partner links (setting the EndpointReference at runtime).
    I have also two BPEL servers installations: let´s say 1 and 2.
    If I deploy these two process on the server 1, everything works fine.
    If I deploy the process on the server 2, I get this error:
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
    We are trying to find out what is the diference between server 1 and server 2, as we believe they should be igual (both are 10.1.3.3.0).
    And now I believe I have just found another BPEL Bug, because the log configuration on BPEL Admin seen to not work!
    []´s

  • Log-Configuration.xml Problems

    Hi, I have been trying to use log-configuration.xml but it seems like i cannot get it to work at all.
    From what i understand, once i deploy my application, i should be able to edit the config via the Visual Administrator. However, after i deploy my app, i am still unable to see it with visual administrator. furthermore, i cannot find the file anywhere on the sever. Also, my settings are not reflected in the behaviour of the defaultTrace.
    Am i suppose to be able to find the "log-configuration.xml" file in the server if i have done the correct steps? If so, what are the likely mistakes i have made? I am at my wits end, anyone can help me?
    Just to add, this post seems to describe exactly my situation except i have no idea how to "manually" correct it... log-configuration.xml outside META-INF due to NWDS
    TIA!
    Ah Beng
    Message was edited by: ah beng

    Hi Rajeshkr,
    Sorry, i am kinda new to web dynpro and sap in general so i may need you to be more explicit
    I am not quite sure what this part means or how to check "...has been deployed successfully in the deploy node of the visual Node and check for the Log Configuratior Node and check for your deployed application...."
    What i did do is go to the server to and search the entire directory structure for the log-configuration.xml but could not find it. Also, the config cannot be seen via the log-configurator in visual administration engine which its supposed too i think. and lastly the behavoiur i set in the log-configuration.xml is not reflected in the defaultTrace
    Then i saw this post so i went to check the EAR file in my workspace and found that it was just like Manik described.
    Maybe u could check this link where i posted more about my problem Log-Configuration.xml Problems
    I would love to award points if it helps

  • Problem loading log-configuration.xml

    Dear Experts!
    I am developing J2EE application. I created file log-configuration.xml using SAP NetWeaver Developer Studio and put it into META-INF directory in ear file. If I use SDM to deploy ear, it displays message that deployment is successful. But Logging categories and trace locations are not created (I checked it using Visual Administrator -> Log Configurator). When I run my application it writes messages to defaultTrace instead of destination described in log-configuration.xml.
    I checked logs of J2EE server and logs of SDM. No error messages.
    Where is my mistake? Any ideas are welcome.
    WBR,
    Anton

    Hi Anton,
    Last week I was trying to explore more on the Logging and Tracing concept and I followed these documents.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f361cbea-0c01-0010-a3a0-8948bebb0a23
    /people/sap.user72/blog/2004/11/10/log-configuration-for-a-web-dynpro-application
    The Logging categories and trace locations are created and I was able to see the application specific logs in the specified location.
    Also try to create a blank .log file on the server and then try running your application.
    Regards,
    Rekha Malavathu

  • Can not find Save botton in log configure.

    Hi,
    I want to change the log severity level from some application. I went to log configuration and I clicked the button for "change on selected node". However, I could not find any "Save" or "Apply" button. When I exit the page, system showed me "you will lost the unsaved data". Does anybody know how to save it? Thank you.

    Hi,
    Which SP level you are on? If you are on NW04 SPS12 or NW04s SPS02 or below upgrade that to NW04 SP 13 of the J2EE Engine 6.40 or NW04s SPS 03 of the J2EE Engine 6.40s or higher level.
    If it is not possible due to any reason apply sap.com_tclmwebadminlog_configwd.sda
    by following  the note 656711.
    Reward points for useful answers
    Regards,
    Phani

  • How to log to a file using the log-configuration.xml?

    Hello *,
    I created following log-configuration.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
    <log-configuration>
         <log-formatters>
              <log-formatter name="DefaultFormatter" pattern="%25d %-60l %s: %m" type="TraceFormatter"/>
         </log-formatters>
         <log-destinations>
              <log-destination count="10" effective-severity="ALL" limit="1000000" name="DefaultDestination" pattern="FDLB_GUI.%g.trc" type="FileLog">
                   <formatter-ref name="DefaultFormatter"/>
              </log-destination>
         </log-destinations>
         <log-controllers>
              <log-controller effective-severity="ALL" maximum-severity="FATAL" minimum-severity="DEBUG" name="DefaultController">
                   <associated-destinations>
                        <destination-ref association-type="LOG" name="DefaultDestination"/>
                   </associated-destinations>
              </log-controller>
         </log-controllers>
    </log-configuration>
    From a Web Dynpro view I want to use the log-controller. I'm using the default logger:
    Logging location.
      private static final com.sap.tc.logging.Location logger =
        com.sap.tc.logging.Location.getLocation(EinstiegView.class);
    In the wdInit method I want to log a simple message:
      public void wdDoInit()
        //@@begin wdDoInit()
        logger.setEffectiveSeverity(com.sap.tc.logging.Severity.ALL);
        logger.fatalT("test logging to new file logger");
        //@@end wdDoInit()
    I see the message in the defaultTrace.0.log, but my own log file doesn't appear.
    How to address the log-controller of my log-configuration.xml?
    Thanks in advance,
    Jürgen Dufner

    Hi,
    I guess the follwing part of your log-configuration is wrong:
    <log-controller
    effective-severity="ALL"
    maximum-severity="FATAL" m
    nimum-severity="DEBUG"
    name="DefaultController">
    Try to change in log-configuration the value for name in <log-controller> to the start sequence of the packages to be logged. E.g., all our packages should start with com.yourcompanyname.projectname
    To log all messages from classes in these packages make the name = com.yourcompanyname.projectname.
    Hope that helps,
    Regards, Astrid
    Therefore I list

  • Java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator

    I have installed this NWDS 2.0.12. When I click on the icon from desktop, I see a splash screen for a second and then immediately an error message saying 'Problem during startup. Check the .log file in .metadata folder of your workspace.'
    Following is the log file
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Jun 29, 2006 16:09:37.302
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NoClassDefFoundError: com/sap/tc/logging/Configurator
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.getConstructor(Class.java:1027)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:709)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
         at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:185)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
         at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:130)
         at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
         at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
         at org.eclipse.core.internal.runtime.InternalPlatform.loaderGetRunnable(InternalPlatform.java:578)
         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:324)
         at org.eclipse.core.internal.boot.InternalBootLoader.getRunnable(InternalBootLoader.java:471)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:854)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         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:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:784)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    Can somebody help me to resolve this? What should be the potential cause for the error?

    java.lang.NoClassDefFoundError: <b>com/sap/tc/logging/Configurator</b>
    Either a missing jar or the classpath is not defined right.

  • Logging configuration problem

    Hi all
    I am working with JRun4. My problem is logging.
    logging mechanism can send messages to these destinations:
    1) The console screen
    2) The Log file.
    In both cases , logging information is obtained. but The console screen shows information which i print by System.out.println() , and The log file shows information which is Event generated. I want to store information in a file , which is given by System.out.printlln().
    I have done entries in jrun.xml as
    <service class="jrunx.logger.LoggerService" name="LoggerService">
    <attribute name="format">{server.date} {log.level}{log.exception}</attribute>
    <attribute name="errorEnabled">true</attribute>
    <attribute name="warningEnabled">true</attribute>
    <attribute name="infoEnabled">true</attribute>
    <attribute name="debugEnabled">false</attribute>
    <attribute name="metricsEnabled">true</attribute>
    <attribute name="metricsLogFrequency">60</attribute>
    <attribute name="metricsFormat">Web threads(busy/total): {jrpp.busyTh}/{jrpp.totalTh} Sessions: {sessions} Total Memory={totalMemory} Free={freeMemory}</attribute>
    <service class="jrunx.logger.ThreadedLogEventHandler" name="ThreadedLogEventHandler" >
    <service class="jrunx.logger.ConsoleLogEventHandler" name=":service=ConsoleLogEventHandler"/>
    <service class="jrunx.logger.FileLogEventHandler" name="FileLogEventHandler">
    <attribute name="filename">{jrun.rootdir}/logs/{jrun.server.name}-event.log</attribute>
    <attribute name="rotationSize">200k</attribute>
    <attribute name="rotationFiles">3</attribute>
    <attribute name="closeDelay">5000</attribute>
    <attribute name="deleteOnExit">false</attribute>
    </service>
    </service>
    </service>
    what should i do for this?
    Please guide me.

    You should put it in the root of your classes (Ex: with JBuilder is
    $projecthome/classes)
    Alexp wrote:
    Hi !
    I have a problem with the logging configuration.
    What is the right place for the log4j.properties file?
    Thanks a lot for cooperation,
    Alex.

  • Pi 7.1 ehp1 log-configuration.xml, howto create/edit in NWDS?

    Hello,
    In NWDS 2.0 You have a special mode in NWDS  to edit the file. You get tabs with Log Formatter, Log Destination, Log Controller and Source.
    How does it work in NWDS 7.1 EHP1?
    The log-configuration shipped with the example module is packed inside the sample adapter module jar. This seems not right? It should be in the ear?
    In nwds I create an ear, and then use the nwpacktool to repack it as an sda to be able to deploy with jspm. There is a firewall so I can't deploy from nwds.
    I'm building an adapter module. It works fine besides that the logcontroller doesn't display in the nwa, and I can't set the log levels.
    I've tried placing the log-configuration.xml both in the META-INF of the jar and the META-INF of the ear but it still doesn't work.
    Thanks for your help.
    Best regards
    Otto Frost

    Hello,
    The NWDS 7.1 EHP1 doesn't recognize the file in the META-INF.
    In 7.11 the log-configuration.xml isn't used anymore according to SAP.
    When the module is started the tracing location is displayed in the log-configurator automagically.
    My module wasn't started after deployment.
    To start it I had to go into the NWA - Operation Management -
    Systems - Start&Stop - Java EE applications - myPiModule
    It was stopped, but started up when I clicked the "Logs" link.
    After this it is visible in the tracing locations in the nwa log configurator.
    Best regards
    Otto Frost

  • Log-configuration.xml How to use it

    I am trting to use the logging xcapabilities by usinmg log-configuration.xml but is unable to do so by simply configuring it. If I do using using coding i.e by adding in code location and filelog in code I am able to log. But instead of it I am more intrested to use log-configuration.xml. So please provide me with exact steps that need to be done for configuraing it rightly with category defined as well and using a fileLog as an example.

    I am trting to use the logging xcapabilities by usinmg log-configuration.xml but is unable to do so by simply configuring it. If I do using using coding i.e by adding in code location and filelog in code I am able to log. But instead of it I am more intrested to use log-configuration.xml. So please provide me with exact steps that need to be done for configuraing it rightly with category defined as well and using a fileLog as an example.

Maybe you are looking for

  • Installment Plans

    Hi All,            Actually I am working on FICA: Installment plans. There are 3 standard datasources for the Installment plan. 0FC_IPL_HEAD_01--- Installment Plan Header Data for Business Warehouse 0FC_IPL_ITEM_01 --- Installment Plan Items for Busi

  • A photo has been found in the iPhoto Library that was not imported

    Every time I open iPhoto, I receive this error. I've already read through the posts on here that state to "simply go to the iPhoto library folder and delete.... " and so on an so forth.... My problem? I don't have an iPhoto Library folder in my Pictu

  • Mass deletion of Batch specific unit of measure

    Dear Experts, How to delete the batch specific unit of measure in the material master maintained in the additional data -unit of measure and proportional / production unit of measure in mass . We have some 1000 material for which we want to remove th

  • Jumanji web browser very slow when trying to open a new website

    Duckduckgo and pwmt.org work just fine but everything else I tried just does not open. What can be the couse of this issue? Why would one website work just fine and another just refuse to open at all? Last edited by khajvah (2014-11-10 19:55:25)

  • Change Chatacter Set

    Hi Experts, I just installed oracle 10g on RHEL 4.0 ; Now i try to import the data i am getting this message import done in US7ASCII character set and AL16UTF16 NCHAR character set import server uses WE8ISO8859P1 character set (possible charset conve