Re: how to caculate the PV,ip,PU according to the tomcat log

2011-02-24 Thread maven apache
TO *Christopher Schultz*: 2011/2/23 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > To whom it may concern, > > On 2/18/2011 7:38 PM, maven apache wrote: > > how to caculate the PV,ip,PU according to the tomcat log? > > Good question. What

how to caculate the PV,ip,PU according to the tomcat log

2011-02-18 Thread maven apache
Hi: how to caculate the PV,ip,PU according to the tomcat log? I have export the tomcat log to db. This is the db structure: +---+---+--+--++-+--+--++-+-+--+---+ | Id| hostip| username

Re: how does the tomcat log generated? log4j?

2010-12-26 Thread maven apache
2010/12/26 André Warnier > maven apache wrote: > >> 2010/12/25 André Warnier >> >> The logging page which I pointed you to, does not say that Tomcat uses >>> log4j. >>> It says that you /can/ configure Tomcat to use log4j, instead of the >

Re: how does the tomcat log generated? log4j?

2010-12-26 Thread maven apache
2010/12/26 Pid > On 25/12/2010 04:37, maven apache wrote: > > Hi: > > I wonder how is the tomcat log generated,I mean the log like this; > > > > localhost_access_log.2010-12-20.txt > > > > I want to export the logs to db. Some one suggestio

Re: how does the tomcat log generated? log4j?

2010-12-26 Thread maven apache
ough having Tomcat writing logs directly to a database may cause performance problem,it is another way. My boss will decide it :) > > > > maven apache wrote: > >> Perhaps I’m not making myself clear,in fact I want to do some processing >> work to the the logs created by the acc

Re: how does the tomcat log generated? log4j?

2010-12-26 Thread maven apache
Thanks,I will have a try. 2010/12/25 Konstantin Kolinko > 2010/12/25 maven apache : > > Perhaps I’m not making myself clear,in fact I want to do some processing > > work to the the logs created by the access log > > valve< > http://tomcat.apache.org/tomca

Re: how does the tomcat log generated? log4j?

2010-12-25 Thread maven apache
tform. > > Assuming you are using Tomcat 6.0.x, the on-line documentation for logging > is here : > > http://tomcat.apache.org/tomcat-6.0-doc/logging.html > > Maybe read it first, and then come back if you have a specific question ? > (But then try to specify the question

how does the tomcat log generated? log4j?

2010-12-24 Thread maven apache
Hi: I wonder how is the tomcat log generated,I mean the log like this; localhost_access_log.2010-12-20.txt I want to export the logs to db. Some one suggestion I directly add one Appender if tomcat also uses log4j to generate the logs and I

Re: tomcat log format disable the ipv6 format

2010-10-29 Thread maven apache
http://osdir.com/ml/users-tomcat.apache.org/2010-05/msg00315.html >From this thread, I want to set the connect address format to :0:0:0:0 however I can not find this attribute at: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html 2010/10/29 Mark Thomas > On 29/10/2010 13:06,

Re: tomcat log format disable the ipv6 format

2010-10-29 Thread maven apache
2010/10/29 Mark Thomas > On 29/10/2010 12:24, maven apache wrote: > > Here are three log exmaples: > > > > 127.0.0.1 - - [17/Sep/2010:14:03:07 +0800] "GET /docs/logging.html > > HTTP/1.1" 200 24040 "http://localhost:8000/docs/manager-howto.html";

tomcat log format disable the ipv6 format

2010-10-29 Thread maven apache
Here are three log exmaples: 127.0.0.1 - - [17/Sep/2010:14:03:07 +0800] "GET /docs/logging.html HTTP/1.1" 200 24040 "http://localhost:8000/docs/manager-howto.html"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)" 0:0:0:0:0:0:0:1 - - [26/Oct/2010:09:53:30 +0800] "GET

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread maven apache
Ok, it works, thanks for all of you . :) 2010/3/5 Caldarale, Charles R > > From: maven apache [mailto:apachemav...@gmail.com] > > Subject: Re: can not start tomcat and the jre_home var error > > > > > Did you remove the XML comment markers from around the list? > &

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread maven apache
2010/3/4 Caldarale, Charles R > > From: maven apache [mailto:apachemav...@gmail.com] > > Subject: Re: can not start tomcat and the jre_home var error > > > > I have config the manager by adding " > > > > Did you remove the XML comment markers from aro

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread maven apache
I have config the manager by adding " Then I found that I can not enter the manager page by a 403 error. I restart the tomcat many times, and I am sure I enter the correct username and password. However I always got the 403 error page.

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread maven apache
2010/3/4 Markus Schönhaber > 04.03.2010 15:01, maven apache: > > > 2010/3/4 Caldarale, Charles R > > > >>> From: maven apache [mailto:apachemav...@gmail.com] > >>> Subject: Re: can not start tomcat and the jre_home var error > >>> > >

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread maven apache
2010/3/4 Caldarale, Charles R > > From: maven apache [mailto:apachemav...@gmail.com] > > Subject: Re: can not start tomcat and the jre_home var error > > > > In the terminal , I enter this the bin directory and run " sudo > > ./startup.sh" > >

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread maven apache
2010/3/4 Markus Schönhaber > 04.03.2010 14:44, maven apache: > > > The tomcat directory is " /home/kk/ProgramFiles/apache-tomcat-6.0.24' > > In the terminal , I enter this the bin directory and run " sudo > > ./startup.sh" > > Why d

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread maven apache
2010/3/4 David Smith > On 3/4/2010 8:00 AM, maven apache wrote: > > Hi: > > I am using Ubuntu9.10. I have install jdk1.6 in > /home/kk/ProgramFiles/jdk1.6 > > , also I have set up a permanent environment variable JAVA_HOME which > link > > to the jdk direct

can not start tomcat and the jre_home var error

2010-03-04 Thread maven apache
Hi: I am using Ubuntu9.10. I have install jdk1.6 in /home/kk/ProgramFiles/jdk1.6 , also I have set up a permanent environment variable JAVA_HOME which link to the jdk directory. I just downloaded apache-tomcat-6.0.24.tar.gz and extact it to "/home/kk/ProgramFiles/apache-tomcat-6.0.24", since the JA

Re: Feature request: startup.bat: -title option needed

2009-12-29 Thread maven apache
; set TOMCAT_TITLE=Server1/Server2/Server3/... > before running startup.bat, it's a trick, but it is not an official > solution, and it's not suitable for creating a windows shortcut (pass TITLE > via command line option) > > > > maven apache wrote: > > > &g

Re: Feature request: startup.bat: -title option needed

2009-12-29 Thread maven apache
ute > set TOMCAT_TITLE=Server1/Server2/Server3/... > before running startup.bat, it's a trick, but it is not an official > solution, and it's not suitable for creating a windows shortcut (pass TITLE > via command line option) > > > > maven apache wrote: > > >

Re: Feature request: startup.bat: -title option needed

2009-12-29 Thread maven apache
2009/12/30 LiuYan 刘研 > > When running muitiple tomcat instances in same windows OS, the title of all > tomcat/DOS window are all "Tomcat", it's a little hard to distinguish which > window is which tomcat. > Not exactly sure what you are meaning. Did you mean that you have installed more than one

Re: remote debug

2009-11-13 Thread maven apache
I am a litter confusing. If I deploy by myself,that to say I copy the "F:\mavenTest\MT-Parent\MT-web\targetMT-web.war" to the tomcat install directory: C:\tomcat6.0\webapp, what does the eclipse debugger do ? Without the IDE debugger I also can visit my page by " http://localhost:9000/MT-web/helloS

Re: remote debug

2009-11-13 Thread maven apache
2009/11/13 Pid > On 13/11/2009 02:33, maven apache wrote: > >> 2009/11/12 Christopher Schultz >> >> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> To whom it may concern, >>> >>> On 11/11/2009 8:33 PM, maven apac

Re: remote debug

2009-11-12 Thread maven apache
2009/11/12 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > To whom it may concern, > > On 11/11/2009 8:33 PM, maven apache wrote: > > Thanks for your attention. > > Actually I did not modify the catalina.bat directly , I create a new bat &

Re: remote debug

2009-11-11 Thread maven apache
2009/11/12 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > To whom it may concern, > > On 11/11/2009 9:52 AM, maven apache wrote: > > So I start to config remot debug in tomcat . > > How do you start Tomcat? Using bin\startup.bat? >

Re: remote debug

2009-11-11 Thread maven apache
> > > Please read the following: > > http://catb.org/~esr/faqs/smart-questions.html Fine , I organized the problem I asked again: 1 related to maven. My project is created by eclipse IDE(through the m2eclipse), and managed by maven. It contains three modules: module MT-server, MT-io and MT-weba

Re: remote debug

2009-11-11 Thread maven apache
2009/11/11 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > To whom it may concern, > > On 11/10/2009 2:18 AM, maven apache wrote: > > hi: > > I am so sorry to ask this problem again but I do can not make it work. I > > have seen the

remote debug

2009-11-09 Thread maven apache
hi: I am so sorry to ask this problem again but I do can not make it work. I have seen the faq, and the doc pages,also I go to the goole to search but .. I am using tomcat6.0.zip,and my project is managed by maven,so the web module I do not know how to debug,although I know how to debug a comm

Re: remote debug

2009-11-04 Thread maven apache
2009/11/5 Caldarale, Charles R > > From: maven apache [mailto:apachemav...@gmail.com] > > Subject: Re: remote debug > > > > In a word,I have two choice: > > 1 use the tomcat.zip of version 5.5 or 6.x. > > 2 use the tomcat.exe of version 6.x? > > The

Re: remote debug

2009-11-04 Thread maven apache
2009/11/5 Caldarale, Charles R > > From: maven apache [mailto:apachemav...@gmail.com] > > Subject: Re: remote debug > > > > > > %CATALINA_HOME%\bin\tomcat6w.exe //ES//tomcat6 > > > > > > One of the above two statements is wrong. Which version >

Re: remote debug

2009-11-04 Thread maven apache
2009/11/4 Caldarale, Charles R > > From: maven apache [mailto:apachemav...@gmail.com] > > Subject: remote debug > > > > my web container is tomcat of version of 5.5 > > > > %CATALINA_HOME%\bin\tomcat6w.exe //ES//tomcat6 > > One of the above two stateme

remote debug

2009-11-04 Thread maven apache
Hi: I have a project and want to use the remote debug manner,my web container is tomcat of version of 5.5,I have seen the faq in wiki of tomcat. I follow the instruction: -- %CATALINA_HOME%\bin\tomcat6w.exe //ES//tomcat6 Select the Java tab in the properties dialog box, Add the following

tomcat shut down normally

2009-07-05 Thread maven apache
Hi all:I am working with a web service using the tomcat,however I met some problems recently. The tomcat shut down when my application work wrongly. I intend to call some command in my web application by the Runtime class,and I create a new class which extends the Thread to get the Error stream,if