How to disable default logging for workshop web services

Hi there,
We have created a web service using WL Workshop that we want to deploy to a production server. The problem is that the destination server is not using a default log4j library for the server, but each application initiates its own library.
When we try to deploy the web service onto the production server, we are getting an error of a log4j/Appender class not found. We can solve the problem by adding any log4j library to the class path at the beginning, but that will cause compatilibity problems with existing applications.
Is there any way to disable the default web services logging? It looks like the knex library is trying to instantiate this class at deployment. Any way we can disable that option?
Thanks

Thanks David for your reply,
That is indeed what I am trying to do: to add all required libraries within my web-inf folder.
But it seems that the server itself expects the log4j library to be loaded when the server is initiated. It looks to me that some server-level listener for the web services is starting together with the domain and tries to access the log4j library. This library is not found because it is inside the web-inf folder of my application.
I do not see any error while starting the server. The error only appears when trying to deploy the application (ear) with the web service. It seems that I am forgetting something, but unless I include the log4j.jar in the classpath when I start the server, i will not be able to avoid the error.
Suggestions and tests are much welcome.
thanks!

Similar Messages

  • Mapping DTO to XML Schema for Workshop Web Service

    I have a number of DTOs that my application uses. This application
    needs to consume a number of document style web services created in
    workshop. When I generate the proxies for this web service, it creates
    Java beans for the XML schema types defined in the web service.
    Is there a way to get the workshop stubs to map my DTOs to XML schema?
    If not, what is the best way to do this mapping? Thanks.
    Mike

    I have a number of DTOs that my application uses. This application
    needs to consume a number of document style web services created in
    workshop. When I generate the proxies for this web service, it creates
    Java beans for the XML schema types defined in the web service.
    Is there a way to get the workshop stubs to map my DTOs to XML schema?
    If not, what is the best way to do this mapping? Thanks.
    Mike

  • Disabling transactions from WLI Workshop Web Service application?

    I need to disable the transactions from a Workshop generated Web Service for WLI (Workshop 8.1.6).
    I can accomplish this by changing and repackaging the builded EAR-package by altering the ejb-jar.xml:s in the .workshop directory and setting the transactions from Required to NotSupported. It would be much more convenient, if I could do that change from the Workshop.
    Actual question: is there a way to disable transactions from a Web Service in Workshop? I have not found any place to change this property.

    Hi
    You have 2 options.
    As you mentioned you can modify the generated ejb descriptors. Unfortunately this attribute is not exposed as a property in the workshop, so you cannot change there.
    Other option is to suspend the transaction created by workshop so that your webservice functionality or any control called within that won't be part of the workshop transaction.
    More info at http://forums.bea.com/bea/message.jspa?messageID=600045134&tstart=0
    Thanks
    Vimala

  • How to remove user authentication for SAP Web Service?

    Hi there,
    I am using SAP Web Services in my flex application. Every time wsdl url is called, the username\password window pops up. I want to remove this.
    I searched in the forum and based on the discussions, I tried giving the user name password under Web Service Administration using SOAMANAGER, by selecting No Authentication option. But this did not work. I still get that pop up.
    I also tried giving the credentials in SICF, under Logon Data tab of the service. This too failed. I kept getting the pop up.
    Can someone pls let me know how can I remove this? If username password in mandatory to be passed, I can create a temporary username which will be used to access all of my webservices and use it. But I want to remove this authentication part when I am using the flex application ang calling the web service url from within it.
    Appreciate your help.....
    -Deepak

    Hi,
    It is a little bit tricky, because the interface has changed several times in different releases. I know that it is possible without authentification.
    I remember that i defined somewhere the default client, the username and password in the ERP system to use by this web service.
    Maybe it helps if you try the old transactions WSADMIN, WSCONFIG or WSADMIN2 ?
    Sorry that I cannot help you more. I hope it helps.
    Best regards,
    Joern

  • How to create Listening Channel for XML/web services repsonse

    Hi , I am new to B2B 11g, wish to ask tht,
    I followed the B2B tutorial by using Generic File and it working fine. However,
    if I wish to receive XML from trading partner thought web server, how should i configure the listening channel, which protocol should I use.
    And may any1 kindly reference me to any link or info?
    Thanks you.

    however..if remote partner going to send me thought web services and not thought folder, should I do anything on my B2B? did i need to specific any extra listening channel?No. No additional configuration is required for receiving files over HTTP. Just ask your TP to post files over one of the below URL's -
    http://hostname:soa_server_port/b2b/httpReceiver or http://hostname:soa_server_port/b2b/transportServlet
    If you just want to test your B2B whether it is properly configured then best way is to have another B2B setup (may be a new domain) which will mock your TP setup. From that B2B setup send message to your B2B over HTTP (on any of above URL's) and see if gets processed successfully.
    If you just want to test whether your B2B is ready to accept messages over HTTP, then access the above URL's through browser and make sure that you see below message -
    "B2B Server is ready to accept HTTP messages from the Trading Partner"
    Regards,
    Anuj

  • Log for J2EE Web Services?

    Hi All,
    My SAP Web Application Server has some Web Services.
    The Web Services are being run from the same server (Web Dynpro/Java Projects).
    Is there a <b>built in</b> log which holds data of the calls?
    Info like request/response, HTTP codes etc...
    My J2EE version is 6.14, soon will be upgraded to 6.19.
    Regards,
    Omri

    Thanks for the answers.
    I've found <a href="http://help.sap.com/saphelp_nw04/helpdata/en/60/aec0b110a940d09e7a296c09af27bf/frameset.htm">this</a> in help.sap.com.
    I did the config in 'Log Configurator' and log file should be
    ./log/services/webservices/runtime/sap.com_WS/Hello.trc
    I changed the severity to 'ALL' and run the service a few times (through Web Service Navigator & a Web Dynpro application)
    I looked for 'Hello*.trc' files but I couldn't find any.
    So what is the correct way to configure it?
    I've checked the 'regular' config files (DefaultTrace, applications etc) but they don't contain the data I need.
    Regards,
    Omri

  • How to make high traffic for a Web Service?

    Hi there,
    I have build a simple Web Service and I would like to test its delay under high traffic environment.
    I have also built a client that consumes the Web Service. I want to run the client about 100 times simultaneously.
    Is this possible? And if it is, then could you tell me a way on how to run them?
    I have deployed the Web Service in the Sun Application Server 8.2.
    Thanks in advance.

    SSZ wrote:
    Yes.But couldn't understand where to start.In that case use the magic wand.
    Ask specific questions, Many of your posts have an underlying tone , that of you not having read any documentation of bothered to research anything yourself I havent got the time to tell you how if you havent got the time to tell me what you have read , what you grasp and what you do not grasp.

  • Cannot change the default directory for the web services

    When I change the default directory the drive letter always changes back to the drive letter the project was loaded from.
    Software version Labview 2009.

    Did you change the default page within your code?  Everytime you start the vi, it will revert to that page.
    When you change the default directory (if it is a control on the Front Panel), did you right click the control and select save as default?
    Otherwise, each time you re-open the VI, it will revert to the actual default value, which was the previous directory.

  • Dynamic destinations for adaptive web service in webdynpro for java

    Hi,
    Please advice me on how to create dynamic destination for adaptive web service model in webdynpro for java.
    Regards,
    Patana

    Hi,
    If this is the case, then use the HTTP destination for this.
    What you need to do is:
    1. Create one HTTP destination in visual administrator at services-> Destinations. Provide HTTP url of the your web service and the security options.
    2. Specify this HTTP destination in the code before executing web service model.
    Write following code for that:
    wdContext.current<node name>Element().modelobject()._setHTTPDestination(<Specify HTTP destination name>);
    Then execute your web service model.
    Now, whenever you want to change the server on which your web service is running, make change in the HTTP Destination in visual administrator.
    Refer this link,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Regards,
    Sunaina Reddy T

  • How to enable logging for the Web Proxy

    Hi,
    Does anyone know how to enable logging for the Web Proxy feature under "Web" in Server Admin?

    Aren't the web proxy hits logged in the standard apache logs? /var/log/httpd/access_log

  • Disabling commons logging for specific application

    Hi
    Is there some possiblity to disable default logging (commons) on glassfish? I have configured log4j and the default commons logging polluts my logs...
    Regards

    For those items that are to be disabled, you could add a new style class to each cell control to indicate it's disabled. You could use a formatter function:
    addStyleClass : {
        parts : [ 'isRecordLocked' ],
        formatter : function(isRecordLocked) {
            return isRecordLocked ? "disabledStyle" : "";
    where 'isRecordLocked' is the indicator in your data whether your record is locked, and 'disabledStyle' is the custom CSS class which caters for a disabled look of your cell.
    If you need to suppress any press events for the locked records, you could do it in the same way.

  • How to change default approval for ResourceAuthorizerApproval ?

    Hi,
    I'am new in OIM and I follow documentation where I found some predefined workflows. I'd like to use them.
    Could you tell me, step by step, how to change default approval for ResourceAuthorizerApproval (only for my new defined resource).
    I'm using OIM 11g and Design Console 11.1.1.3.0.2.0

    Ok, I made new tamplate (copy of existing one), there I changed Template Level Approval Process and set allowed resources. It seems to be ok :)
    If there are other solutions please share with me
    Thanks
    M.

  • How to set default values for boolean columns

    I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
    I've tried to set default value at column level:
    <Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
    Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
    <Default>TRUE</Default>
    </Field>
    and at content type level:
    <FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
    But in any case, when i create a new item with this content type, default value is applied.
    Can anyone tell how to set default values for boolean columns?
    Thanks in advance,
    Regards,
    Sergio

    In the field definition you can set
    <Default>1</Default>
    or
    <Default>0</Default>
    How to set the default value Null?

  • 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

  • Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?

    Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?
    Thanks in Advance

    I don't think there is a way for Edge Code. I'm not sure about Reflow.
    Why don't you just upgrade? That will stop the notifications.
    Randy

Maybe you are looking for

  • Installing development tools

    I went through the process of installing the development tools package from the Install CD last night, but don't really see anything different in my programs list. Should something extra have been installed there, or did this just install the gcc, gd

  • Why does my screen flicker every 10-15 seconds?

    Why does my screen flicker every 10-15 seconds?

  • Form tag height cont.

    Can anyone please tell me why these two pages are being rendered so differently in IE than in FF and Safari?? The issue is the search box form tag on the right side of the dark teal nav bar in the header area. If I take that out, the spacing is fine

  • Use of ORA_FFI in client

    Hi, I am migrating forms6 to forms9i, I need to use ora-ffi's funcionality in client side (windows), my IAS server is in Linux. How can I use a similar tool like Webutil for this purpose. I will appreciate your help.

  • Servers/VMs per pool

    Is there a best practice document out there with recommendations/hard limits for the number of servers that should be in a pool or number of vms that should be in a specific pool? I'm trying to determine how many servers per pool I should go with as