How to view the tomcat errors in another file
hi friends,
i am starting tomcat by using startup.bat, in the console i can see the startupe messages, but when i execute the jsp page it throws some errors, because the window run fast i cannot see the previos errors.
how to redirect these errors in to a file ???
i tried using startup.bat > error.txt, but there it is not writing the errors.In tomcat logs also i cannot see the errrors.
can any one telll how to see this
thanks
vin
Tomcat uses the log4j API. You can put a log4j.properties file in your application classpath (WEB-INF/classes/log4j.properties) and in that properties file you can redirect tomcat log output to a file. The content could be like this:
log4j.properties:
# a default stdout console appender. When debugging from an IDE, this will end up in the output window
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n
# tomcat file log appender
log4j.appender.TA=org.apache.log4j.FileAppender
log4j.appender.TA.layout=org.apache.log4j.PatternLayout
log4j.appender.TA.layout.ConversionPattern=%d %p [%c] - %m%n
log4j.appender.TA.File=c:/log/tomcat.log
log4j.appender.TA.append=true
# configure the tomcat logger to use the tomcat file appender. Only warnings and higher are sent to the logfile
log4j.logger.org.apache=WARN, TA
Check out the log4j documentation for more details.
Edited by: gimbal2 on Feb 5, 2008 3:19 PM
Similar Messages
-
How to fix the VMWARE ERROR DOWNLOADING KICKSTART FILE ON Redhat linux 6.0
Hi Team,
While deploying RHEL6.0 i am getting error "VMWARE ERROR DOWNLOADING KICKSTART FILE ON Redhat linux 6.0" Please let me know how to fix this issues.
Thanks
vmware techtheoretically all I need to change would be
changed it to var handd = new hand();
change stage.addChild(hand); to stage.addChild(handd);
and the part im unsure on is
else
trace(fl_SecondsCounted + " sec");
hand.rotation = hand.rotation + 6;
fl_SecondsCounted--;
do I leave that part or change it to handd.rotation = handd.rotation + 6 -
How to view logical port error log
can anybody tell me how to view the logicalport error log
Usually in a distributed environment you would point the logical addresses to the http web server and port or to the load balancer, if you are just using a web server like OHS you can set all the logical addresses by running configure web server and select "Set the logical web address for the web applications to the web server"
If you want to see all the configuration in the Shared services registry then you can run <MIDDLEWARE_HOME>\user_projects\epmsystem1\bin\epmsys_registry.bat to generate a report and the web app configurations will be under LOGICAL_WEB_APP
Cheers
John
http://john-goodwin.blogspot.com/ -
Help, How to view the error log of oracle Job
Hi all,
I created a job in my database, which clears the archivelog. After the job is executed, it occurs error.Such as :
RMAN清理归档日志 1 问题 2010-3-19 下午03时11分00秒 GMT+08:00 PTDB 数据库实例 SYSTEM RMAN 脚本
How to view the error log of oracle Job?
Thank you.
Eric ZhouHello,
Besides some views (with the scheduler) that you can get on the link below:
http://download-west.oracle.com/docs/cd/B28359_01/server.111/b28310/scheduse002.htm#CHDGIDFD
You may use the LOG parameter with RMAN so as to generate a logfile on the server.
Also from EM DBConsole (starting with 10g) you may have the RMAN Backup Report.
Hope this help.
Best regards,
Jean-Valentin -
How to view the sql query?
hi,
how to view the sql query formed from the xml structure in the receiver jdbc?You can view SAP Note at
http://service.sap.com/notes
But you require SMP login ID for this which you should get from your company. The content of the notes are as follows:
Reason and Prerequisites
You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
When you want to use a parameter documented here, please be aware to which category it belongs!
Solution
The following list shows all available parameters of category 1 or 2. Please note:
Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
The default value of a parameter is always chosen that it does not change the standard functionality
JDBC Receiver Adapter Parameters
1. Parameter name: "logSQLStatement"
Parameter type: boolean
Parameter value: true for any string value, false only for empty string
Parameter value default: false (empty String)
Available with: SP9
Category: 2
Description:
When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
This should be used only during the test phase and not in productive scenarios.
Regards,
Prateek -
Hello, I've added pics to my ipod... but I dont know how to view them...
and another question... How could I delete those pics?.
please, write me an email : [email protected]
thxSorry I don't the answer BUT someone please respond to this guys question.I can't seem to find a way to view pictures on the nano or even upload them to the player.Throw some help this way if you could.
-
[SOLVED] How to view the *exact* name of the currently running kernel?
Perhaps this question will seem dumb, but here goes : I have two kernels installed :
[ruben@arch ~]$ yaourt -Q linux
core/linux 3.2.9-1 (base)
[ruben@arch ~]$ yaourt -Q linux-ck-kx
repo-ck/linux-ck-kx 3.2.11-1 (ck-kx)
Grub’s menu.lst is configured to boot linux-ck-kx :
# general configuration:
timeout 5
default 2
color light-blue/black light-cyan/blue
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/archroot ro
initrd /boot/kernel26.img
# (1) Arch Linux Fallback
title Arch Linux Fallback
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/archroot ro
initrd /boot/kernel26-fallback.img
# (2) Arch Linux CK-KX
title Arch Linux CK-KX
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro
initrd /boot/initramfs-linux-ck.img
# (3) Arch Linux CK-KX Fallback
title Arch Linux CK-KX Fallback
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro
initrd /boot/initramfs-linux-ck-fallback.img
And yet, I see no mention of *-ck-kx when issuing this comand :
[ruben@arch ~]$ uname -a
Linux arch 3.2.9-1-ARCH #1 SMP PREEMPT Thu Mar 1 09:31:13 CET 2012 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
It does not matter whether I change the default kernel line in /boot/grub/menu.lst : I can set it to “ 0 ” or “ 2 ” and reboot, and the output of “ uname -a ” will always be exactly the same as above ; no mention of *ck-kx even though I know it is running.
I searched the web on how to view the name of the running kernel, all results I found said to use uname, so is there another command I am missing here ? Or is it normal that both my kernels yield the same uname output ?
Just curious, because I was playing around with kexec, and when doing “ fake ” reboots, I was alternating between the normal ARCH-kernel and the ck-kx*kernel, and I wanted to be sure that it actually worked, so I checked everytime with uname, and since I saw no difference in the outputs, I assumed kexec wasn’t working like it should, so I did a “ real ” reboot, but same uname outputs… So I must be missing something…
Here are the kexec commands I used, just to be sure I am doing this properly :
[ruben@arch ~]$ sudo kexec -l --append="`cat /proc/cmdline`" --initrd=/boot/initramfs-linux-ck.img /boot/vmlinuz-linux-ck
[ruben@arch ~]$ sudo init 6
and :
[ruben@arch ~]$ sudo kexec -l --append="`cat /proc/cmdline`" --initrd=/boot/initramfs-linux.img /boot/vmlinuz-linux
[ruben@arch ~]$ sudo init 6
Thoughts ?
Last edited by Montague (2012-03-15 22:00:02)litemotiv wrote:
Hmm worksforme:
$ uname -r
3.2.11-1-ck
One question for you litemotiv : do you have two kernels currently installed on your system, like I do, or did you uninstall the ARCH-kernel ? I ask because I might try this :
$ sudo pacman -Rns linux
and reboot, and see what happens…
But before I do that, might as well try to debug it ;
t1nk3r3r wrote:I would point the finger at GRUB, or something occuring near boot-time.
https://wiki.archlinux.org/index.php/Boot_Debugging
So I tried the “ Heavy Debug ” option, rebooted, then issued “ dmesg > dmesg.txt ” ; here are the first few lines of that file :
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.9-1-ARCH (tobias@T-POWA-LX) (gcc version 4.6.2 20120120 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Mar 1 09:31:13 CET 2012
[ 0.000000] Command line: root=/dev/disk/by-label/archroot ro
and the complete dmesg output is here. I am no expert at reading debuggin output, but from the above, it seems like the default ARCH-kernel is being booted, even though my menu.lst hasn’t changed from my previous post (exept for the debugging options) :
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# (0) Arch Linux CK-KX
title Arch Linux CK-KX
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro rootdelay=5 panic=10 debug ignore_loglevel
initrd /boot/initramfs-linux-ck.img
# (1) Arch Linux CK-KX Fallback
title Arch Linux CK-KX Fallback
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro
initrd /boot/initramfs-linux-ck-fallback.img
I want the ck-kernel to boot, what it going on here ? Any more thoughts ? -
LCCS Screenshare-How to view the shared screen?
Hi all,
Im new to LCCS,doing lccs screen sharing application using Flash Builder 4.I have used session.streamManager.maxP2PStreamPublish = 20; session.streamManager.streamMulticast = true to publish my screen,How can i view the shared screen from another system?Do i need to use the subscriber in another system to view the shared screen?Can anyone plz help me...
.Thanks in Advance
DuvaHi Duva,
Have you tried using the Screen Sharing SampleApps? You can download them from our SDK Navigator. Within the "ScreenShareExample" folder has "ScreenSharePublisherExample.mxml" and "ScreenShareSubscriberExample.mxml" which I think might help
Here is the info from the Readme about these examples:
ScreenSharePublisherExample:This example shows how to publish one's screen and share with other subscribers in the same room who has its publisherID. When invoke this publisher, Adobe Screen Share Addin will appear and a sharing dialog will pop up for asking which application/view to share. Upon confirmation,
both streamID and publisherID will be displayed on the center textfields. Use the publisherID on the screenshare subscriber to see the screenshare. (Please verify account information and roomURL before using the publisher)
ScreenShareSubscriberExample:With right account information and roomURL, this application will connect to the first screen share publisher in the room (you don't need to specify the publisherID).
Here are some good pages with ScreenSharing info that you might find helpful as well:
http://learn.adobe.com/wiki/display/lccs/08+Audio%2C+WebCam%2C+and+Screen+Sharing
http://learn.adobe.com/wiki/display/lccs/8.3+Screen+Sharing
JG
LCCS Quality Engineering -
Hi,
I have loaded the data into an ODS from an External Flat file and executed the job. Can anyone guide me how to view the loaded data in the ODS ?
ThanksHi Madhu,
You can simply Goto Transaction LISTCUBE and give the ODS name -> Execute.
Regards
Hemant -
How to get the last error for while loop?
How to get the last error for while loop? I just want transfer the last error for while loop, but the program use the shift register shift all error every cycle.
What do you mean by "get" and "transfer"?
If the shift register is not what you want, use a plan tunnel instead.
Typically, programmers are interested in the first, not last, error.
Can you show us your code so we have a better idea what you are trying to?
LabVIEW Champion . Do more with less code and in less time . -
How to delete the runtime error in st22
Hi all,
How to delete the runtime error in ST22. I want to clear
the list of short dump in st22
is there any T.code or any table to clear?
thanks in advance
sundar.cHi
you cannot delete the dumps through any tcode.
All the dumps are stored in table called SNAP, If there are more dumps the table gets filled therefore u have to reorganize the table.
Run the report RSSNAPDL in SE38.
or
You have the default SAP background jobs, SAP_REORG_ABAPDUMPS which deletes the past dumps raised in the system.
Scheduling the jobs in regular is very important
For more information
http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7ede505211d189550000e829fbbd/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d8/a58b4275160d53e10000000a155106/frameset.htm
Regards
Bhaskar -
HOW TO SOLVE THE R6034 ERROR IN ITUNES INSTALATION
I need toknow how to solve the R6034 error in itunes instalation becouse y can´t buk up muy phone
How to solve this ?
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
-> int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal; -
How to view the Users in the Portal Activity Report
Hello,
Can anyone tell me how to view the Report of users who have logged in a specific time. For Example I would like to view the users who have logged in between 9.00 am and 9.15 am. Is it possible to view mentioning the country name?
Please explain me in detail how to view the Report.
Thnx in Advance
cheers,
Muralihi,
You can certainly do it for hourly basis but i am not sure whether it could be done quarter an hour basis. Also The portal nodes within a cluster can be in different time zones, yet the activity data from all nodes are aggregated together and reported together. To enable the reporting of hourly data from different time zones, portal activity reports display hourly data based on the GMT time zone.
Do see the documentation
http://help.sap.com/saphelp_nw04/helpdata/en/fb/144120ea5b4e9c9385d493a578d6c9/frameset.htm
Weblog :Portal SP9: Portal Activity Report
Regards,
Ganesh N -
How to View the Scheduler in ODI Console
Hi
In ODI Studio, we may Schedule a Scenario and also, we may view all Schedules process from the Agents (View Schedule option).
My colleagues are going to use ODI Console, but we cannot find out HOW to View the Schedule in ODI Console.
In Oracle documentation about FDMEE, we can read the following: If you want to cancel a specific instance of a schedule, use the ODI Studio or ODI Console... see the PDF document in attachment.
Regards
ClaudeTo display the schedule for one agent:
In Topology Navigator expand the Agents node in the Physical Architecture accordion.
Select the Physical Agent you want to update the schedule.
Right-click and select View Schedule.
The Schedule Editor appears, displaying the schedule for this agent.
Check: http://docs.oracle.com/cd/E17904_01/integrate.1111/e12643/running_executions.htm#ODIDG634
HTH -
Jasmine -
HOw to view the records in a structure qaqee ?
hi every one ,
we can view the tble through SE16
HOw to view the records in a structure qaqee ?
Thanks in advanceHello,
Please check the link
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/90/8d7301b1af11d194f600a0c929b3c3/content.htm
You can view the struture in SE11 t-code for its components.
Regards,
Shailesh
Maybe you are looking for
-
I am trying to do so on my macbook pro but it doesn't work. Am I missing something? Why would it be impossible?! It is quite absurd to be able to read a free textbook on iPads but not on macs. These textbooks have a nice potential (not only for educa
-
Changeing a site from Muse to Dreamweaver in business catalyst
HI guys, I have used various forums in the past to answer many questions about web design but never have I actualy asked a queastion - I really hope someone can help me please! (I can't seem to find a simple answer anywhere!)... So here goes... Being
-
I am currently using version Version: 7.0.09. I am trying to find where on SDN or other SAP site I can find a listing of the various support versions of Studio and what the plug-in versions are. As well I would like to find the SP updates I can apply
-
Table for Output condition record's data
Hi In which table are the values of an output condition record stored? Regards
-
DocPrintJob + Book + Landscape ????
Hi!!! I have an application that needs to manipulate events from de printer job. Then I'm using DocPrintJob for this. But I'm in trouble, because I need to print many pages (depending on the user's choice) in landscape. My code seems like this: DocFl