Problem with logging in webservices

I need one tech help for the team.
We are using log4j for logging purpose.
Actually we have one web application which is already developed and using log4j for logging purpose.
And as an enhancement , we are having Webservices project on the application.
We are using same log4j for logging the webservices details also.But we use different properties file to include different file names.
The application is developed using j2ee technologies and the server used is JBOSS-Apache tomcat server
The problem we are facing is the writing to log file by the main application and webservices application becoming inconsistent,for eg: sometimes both are writing properly ,sometimes,webservices writes and not the main application...it stops logging and viceversa..but if we repeat the same,we are able to get the same kind of inconsistencies without any change...
if u know about log4j please let me know.

What do you mean main application and webservice? I guess your main application is webservice client and both of them have different process and try to share to use same log file. In this case, the client can waiting for webservice method call, set enough timeout for that.
or translate Exception from webservice to your main aplication, and let main application to control the log file.
Or for Log4j in XML it can define different output at same time, just define one for main application and one for main application

Similar Messages

  • Problem with logging in to BW after installation finished

    Hi all,
    I've a problem with logging in to my BW after i've finished installing it.
    First, i'd add that my system is a standalone server. the GUI and the Froentend are already installed on the server. I'm trying to login the BW from the server.
    After i'm starting my BW server from the R3 Management Console I'm trying to login my system and i get dump even before i'm getting the Log-In screen of SAP BW.
    the dump i'm getting is "DBIF_RSQL_INVALID_REQUEST".
    I've no idea what to do, i am stuck in that situation for 1 week, couldn't find any information about it. I've tried to read logs and couldn't find something specific.
    Someone suggested it's a connection problem, but couldn't help more than that.
    Any help or suggestion is mostly welcomed,
    Thank you all in advance,
    Yoav.

    Hi again,
    I've increased the virtual memeory, but it didn't help. Doesn't seem to be memory or space problem but more like a connection problem (to the SQL server - which is located at same computer where i'm tryinf to run the BW).
    And to your answer: I'm using SAP Gui 6.4
    Any more suggestions?
    Thank you,
    Yoav.

  • Help intermittent problem with logging in

    Help i have intermittent problem with logging in, sometimes it just comes up with the desktop without any icons or dock and i have to restart the server so i can log on properly, but it doesn't happen all the time, any ideas would be appreciated???

    The clients login window just shakes and won't login. I did find one thing that helps some of my Mac Lab woes.
    Some students get a dock that only has 3 icons. These students also will have saving and printing problems when they get this default dock.
    I think some of the problems occur when the student gets over quota, some preference files get corrupted.
    1. Student will login.
    2. Open the student's home folder. Then open Library and Preferences.
    3. Find the file com.apple.homesync.plist and delete it.
    4. Empty Safari Cache and the user's Trash Can and make sure they are not over quota.
    5. Logout and login.
    This will fix some problems, but not the problem when students can't login at all.

  • Problem with logging

    Hi, I have a problem with logging into PSN. When I want to log into in there comes an error which is NW-31456-9. I have something like that for 1 day. Anyone know how to fix this? I tried manual settings for my internet but it doesn't work.

    Did some more debugging. The application is an application running under the Glassfish 2.1.1 application server. The logger is configured in a Lifecycle module and accessed in an EJB module. Here is what I found.
    With JDK 1.6.0_05, the logger that I get in the Lifecycle module is the same logger instance that I get within the EJB where I am logging. In the EJB, I get all of the handlers and print out the information and all is correct and the logging works with the handler.
    Change the symbolic link to point to JDK 1.6.0_22 and the logger that I get in the Lifecycle module is not the same logger instance that I get within the EJB where I am logging. This time in the EJB, the logger's level is "null" and there is no handler associated with the logger. So that is why it is not logging. What I don't understand is why the logger instance is retrieved in the EJB is not the same logger instance in the Lifecycle module.
    Any ideas will be greatly appreciated.

  • Problem with logging in to apex application builder listener

    I have problem with my settings and am posting this in hope that someone else out there had similar problem and solved it!
    I am trying to use reverseproxy to access to our db through apex listener.
    It's been all set-up and I can login to the application it self either through proxy or no proxy using the listener.
    But when I try to login to apex application builder I cannot do it through proxy(with no proxy, it works).
    It just refreshes the login page when I click login....
    I tried to upgrade the listener to the latest v1.1(using 1.0.2) but it causes my tomcat to crash...
    So solution i am looking for is how to make logging in work through proxy..
    In the firebug it is showing that below and few other request status as 302 moved temporariry
    http://myserver:8080/testsin/apex/wwv_flow.accept
    Where as with no proxy it is saying Found.....
    Any thoughts??
    Thanks
    Sin K

    Hello Sin K,
    so proxy and Tomcat are located on different machines as well? Is the proxy able to commuicate with the Tomcat on the configured internal ports and is the proxy able to lookup the hostname you configured for the Tomcat?
    For the connector, the proxyName and proxyPort should be the parameters the client uses to call APEX. So if your clients should call via http://proxyserver:8080/testsin/apex the settings would be
    proxyName=proxyserver
    proxyPort=8080Reason for this is that applications (e.g. the APEX Listener) generate there URL references with these parameters.
    But does your proxy actually serve on port 8080? And is that port accessible by clients? Do clients accept cookies from that server?
    In my case, there is only one 302 which redirects to http://host:port/apex/f?p=4500:1000:sessionid which is correct.
    If you look into your first post request in firebug, what's in the request header?
    -Udo

  • Problem with logging in Creative Cloud account

    Hi, I have a problem with my Creative Cloud account. It seems like I logged out about a week ago and when I tried to log in again just now I didn't succed as the program said I have logged out of the system. My password is correct, I even changed it, it still does not work. I can log in on the internet though and my subscribtion is paid, I have no idea what to do. Please. Help.

    Sign Out When Sign In http://forums.adobe.com/thread/1450581?tstart=0 may help
    -and http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html
    -and 'looping' https://forums.adobe.com/thread/1504792

  • Problem with logs in DB13

    Hello!
    I have problems with clearing logs via transaction DB13.
    When I start this operation for the first time after starting SAP system this job is finished successfully.
    But then I have error in this job:
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000033, user ID SAP*)
    Format "X_PAPER" not defined for printer "$LOCL"
    Execute logical command BRCONNECT On host SAP-TSC
    Parameters: -u / -jid CLNUP20140505004009 -c -f cleanup
    External communication error at program start (see system log)
    SAPXPG_START_XPG_LONG: sy-subrc ne 0
    destination = %_TCPIP_%1
    SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.006
    SXPG_COMMAND_EXECUTE(LONG)
    <timestamp> = 20140505004031
    COMMANDNAME = BRCONNECT
    ADDITIONAL_PARAMETERS = -u / -jid CLNUP20140505004009 -c -f cleanup
    LONG_PARAMS
    OPERATINGSYSTEM = ANYOS
    TARGETSYSTEM = SAP-TSC
    DESTINATION
    SY-SUBRC =  902
    SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: x_error
    Job cancelled after system exception ERROR_MESSAGE
    And i have to restart the SAP for using DB13.
    Why it's happening?
    P.s. Yes, i changed SAPSR3 passwords via brtools and brconnect.
    Thank you for answering.

    Hello Janos,
    I checked SAPDBHOST parameter in DEFAULT.PFL:
    SAPDBHOST = SAP-TSC
    BRCONNECT is located in the directory with appropriate user rights.
    Also I checked developer traces:dev_rd
    LOCATION    SAP-Gateway on host SAP-TSC / sapgw00
    *  ERROR       timeout during allocate
    *  TIME        Wen May 07 16:08:10 2014
    *  RELEASE     720
    *  COMPONENT   SAP-Gateway
    *  VERSION     2
    *  RC          242
    *  MODULE      gwr3cpic.c
    *  LINE        6070
    *  DETAIL      no connect of TP sapxpg from host SAP-TSC.localdomain after 20
    *              sec
    *  COUNTER     11
    But i can't understand why rebooting sap system the first clearing logs finish successfully, but then i have errors.

  • Problem with log in app store

    on my laptop I have a problem to log in, from the start
    fisrt massage is about connection to the iTunes - I ahve the latest version
    and the other masseg is that the center is not avialable and cannot make connection?
    does anyone have an answer for this problem?
    thank you in advance

    this is the first massage
    One Moment Please.
    Connecting to the iTunes Store.
    Loading
    If iTunes doesn't open, click the iTunes application icon in your Dock or Windows Task Bar. To download iTunes, please click here.

  • Graphics Problems with Log in screen and iPhoto

    I have been having some problems with my brand new MacBook Pro. The graphic card seems to be going broken sometimes and it seems to be happening more often.
    MacBook Pro 1
    First I bought a new mac to replace my old one, i restored it from a Time Machine back up. When my MacBook Pro went to sleep the screen turns black and you click and the screen blocks up and more of the screen unblocks as you move the mouse, I never experience this problem with my old MBP. So I took it back to the shop where they gave me a brand new one, they said it was clearly a graphics problem.
    MacBook Pro 2
    I installed the time machine back up straight away and I experience the same problem again and a few days later a iPhoto problem happens again lots of times. Examples of what happens are in the video pasted below.
    Link - http://dl.dropbox.com/u/32131902/Mac%20Problems.m4v
    Does Anyone Know The Problem?

    MacBook Pro 2 is the replacement they gave me

  • Problem with Log and transfer using AVCHD

    Hello,
    I was wondering if I can get help. I use a Canon Vixia HF S200 and FCP Version 6.0.6
    I have produced projects on my MacBook Pro 2.33 Ghz Intel Core 2 using this process before with no problems in the past. This problem just started and I dont know what has changed. When I open the Log and Transfer (LT) window I can see and hear all my video from the AVCHD folder in my harddrive just fine, I can scrub with no prob.... But when I add clip to Queue I get an red circle with exclamation on my status.
    I have changed the settings on the preferences to Apple intermediate Codec and the audio to plain stereo.. no luck there, the video still will not transfer to my bin.
    I have made sure that the toggle Queue state was the little arrow instead of the paused icon...no luck there either... i got a message that says clip queued transferring but nothing is happening.
    I will appreciate your help!
    Also I didn't mean to tread jack earlier, please accept my apologies, if anybody saw that...

    OK!!!!! This seriously cost me 1 day of my life that I'll never get back!!! lol
    So I was able to bring the footage in on to Imovie...Yes, I was that desperate...deadlines do that!
    Edited the entire project there...kinda sucked...
    Then I had the bright idea that if I was able to bring the videos in to Imovie, on my local HD...than something may be wrong with my scratch disk that I use on FC...its a USB disk, specs =slow.
    So I changed the scratch disk and yes "Davi S" for good measure I also deleted the Pref files.
    So it working again...here I go editing on FC after I edited the entire project on Imovie...
    Thanks for all your help!

  • Problem with log in to App store

    Hi, I have Macbook Pro 2010 and it was hurt in accident and I lost top case with screen. I want to use it with external screen. I bought USB WiFi and everything works, but I can't log into App Store.
    I have still got "an error has occurred". I think the reason is I don't have build-in ethernet or wifi card only USB WiFi. Any solution? I was trying everything - help.

    No, account works well, because I can log into iTunes and App Store works well on iPad and iPhone.
    I've read a lot. I'm sure the reason is no airport ethernet card. My problem is I don't know how to force to work App Store with my USB WiFi. I deleted /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist and this doesn't worked.

  • Problem with logging in to Apex administration

    Please disregard the question, it was mistake in the address.
    When I try to log in to Apex administration (http://<server>:8080/apex_admin, I get a dialog box requiring
    a user name and password
    The dialog box has Windows security in the header and says:
    The server <server> at XDB requires a username and password.
    Fields for username and password are provided.
    It's not clear to me what this message refers to, XDB database schema or Apex or system. I tried all combinations but without success.
    Logging in to application administration (http://<server>:8080/apex) works without problems.
    Apex is running on Oracle 11.1.
    This behavior was first encountered on Windows 7, but the same happens if I log in to the server (running Windows XP) via remote desktop and use localhost as the server name.
    Has anyone experienced this?
    Edited by: em120109 on Jun 17, 2010 2:49 PM

    Hello Sin K,
    so proxy and Tomcat are located on different machines as well? Is the proxy able to commuicate with the Tomcat on the configured internal ports and is the proxy able to lookup the hostname you configured for the Tomcat?
    For the connector, the proxyName and proxyPort should be the parameters the client uses to call APEX. So if your clients should call via http://proxyserver:8080/testsin/apex the settings would be
    proxyName=proxyserver
    proxyPort=8080Reason for this is that applications (e.g. the APEX Listener) generate there URL references with these parameters.
    But does your proxy actually serve on port 8080? And is that port accessible by clients? Do clients accept cookies from that server?
    In my case, there is only one 302 which redirects to http://host:port/apex/f?p=4500:1000:sessionid which is correct.
    If you look into your first post request in firebug, what's in the request header?
    -Udo

  • Report Conversion Tool - problem with logging in table OBJ_G_MIGRATION

    Hello Community-Members,
    since several days I am searching different BO-Communities for a solution, but I didn't find any threats about my problem.
    I am new to BO XI R3.1 and I want to convert deski-reports with the report conversion tool.
    I tried it directly on the server-machine and all is ok (report is converted inclusive the logging in the audit-table OBJ_G_MIGRATION).
    When I try it on my client-machine, the conversion is made successfully, but there is no result in the audit-table.
    On the client-machine, I use the same connection like on the server machine and on both machines, I am logged on (in the report conversion tool) with the "Administrator"-user.
    Has anyone an idea? Could it be a problem of user-rights in the Oracle-DB?
    kind regards
    Guenny

    Hello Denis,
    thank you for your reply.
    From my client machine I can successfully test the connection to the Audit-DB. With non BO-Tools like "SQL Tools1.4.1" I can also connect to that DB.
    After your reply I have tested once again and I have found something else strange.
    If I convert a deski-report, and the conversion-status is "not converted", the Audit-DB is written (for example: error-text = "document cannot be read" / workaround = "remove protection password if set").
    But when I convert the same report together with an other report, which will result in "partially converted", nothing is written to the Audit-DB (same effect as when I convert only reports with status "partially convertet").
    regards
    Guenny

  • [SOLVED]Problem with logging in after system upgrade

    Hi,
    I'm encountering some problem after rebooting my machine just after last upgrade. Few minutes ago I was sure I found the source of the problem when system hang on "Reached target Graphical Interface" message. Reason - nvidia drivers had to be replaced with legacy version (https://www.archlinux.org/news/nvidia-340xx-and-nvidia/). But it didn't help. Also it made things a little bit worse. Because now my system uses nvidia-340xx and it seems drivers are fine but when login screen of lightdm should appear screens stay blank... and nothing happens. I simply can't do anything.
    What I noticed is also xfce4-session was upgraded (4.10.1.3->4.10.1-5) and maybe this is the separate problem? but I can't downgrade this package as some time ago I removed all contents of /var/cache/pacman/pkg.
    What I have is arch on pendrive so I can chroot into existing system.
    Any ideas?
    Last edited by jakub (2014-10-08 22:09:02)

    I found something similar to line
    (EE) Mar 07 14:05:07 NVIDIA(0): WAIT: (E, 0, 0x837d, 0)
    these values are not exact as I'm too tired now to rewrite the real ones from screen 
    maybe I should install some older nvidia drivers (these 340xx are broken somehow I think). Unfortunately I don't have my /pkg content anymore.
    Where can I download packages like nvidia-340.32-1-x86_64.pkg.tar.xz from? (according to pacman.log I had this version back in July and it was working fine I think).
    I could also start X with Nouveau drivers but not xfce (anyway I would like to install old nvidia drivers back)
    Last edited by jakub (2014-10-08 22:03:11)

  • Problem with logging in log files.

    HI,
    Our's is a client/server application.
    In our application there are so many clients.
    They each have separate page(web page).
    When a client download any file from their site it logs(client name, time, file name etc.) into a common log file(access.log) and a client specific log file(access.client_name).
    Logging in common file(access.log) is performing well.
    Logging in client specific log file works for some clients and don't work for some clients.
    For example there is a client called 'candy'.
    Some times it logs in the log file, access.candy
    some times it don't log.
    Tell me wht is the problem.
    If you want more information regarding my problem, I will send.
    Please give me some solution.
    Thank you.............

    Third Party Client: ((__null) != m_lock && 0 == (*__error())) Can't create semaphore lock
    There seems to be something wrong with a handling (m_lock = method of lock) of semaphore mechanism-- It appears to be a program issue, which is either on your local machine or a remote Web site' page(s).
    'semaphore' Apple definition (quotation from ADC) :
    A programming technique for coordinating activities in which multiple processes compete for the same kernel resources. Semaphores are commonly used to share a common memory space and to share access to files. Semaphores are one of the techniques for interprocess communication in BSD.
    In short, it is a flag to terminate a task/thread efficiently without fail prior to another task/thread starts-- a synchronization mechanism among cooperating threads/tasks. (You might need to have some understanding of the basic concepts of locks and semaphores.)
    I would test any suspect applications to uninstall temporarily to see if the erratic events are displayed on Console. Perhaps, vlc player?
    Fumiaki
    Tokyo

Maybe you are looking for

  • Remote and Universal Dock

    Hi guys, There's been a few discussion already on the remote and universal dock. Is it difficult for Apple to enable the display of the Ipod screen to the TV-out? You can gain a huge amount of functionality on the Ipod if you can actually see where y

  • Error while running InstallOracleProfile script

    good evening every one, i have installed odac for VS 2010,while running the InstallOracleProfile script the following error occurs can any one help me in solving this problem.im using windows os. the error as follows Connected. ------ Running 'C:\Use

  • Position Control - HR or Finance?

    It is believed that HR should manages the org structure and control the increases/decreases in positions.  Since Finance is managing the Budgets how do the increases, decreases or movement of positions monitored and reflected in the financial budgets

  • Download CS6 Master Collection using Request / Response code - Is Legit?

    I purchased a download copy of Adobe CS6 Master Collection and am wondering now if it is legit. It's instructions go like this. Download from mediafire.com something called "Adobe CS6 Licence PREACTIVATION.rar" Unpack it and run "Adobe CS6 Licence PR

  • Alright, can someone explain to me how to re-download Adobe Photoshop?

    I was given a wacom tablet, and an adobe photoshop back in 2007. I adored it. That computer crashed, and I figured out how to redownload it on my laptop... that has, since then, also broken. I was looking into how to redownload it once again onto my