Re: java servlets, jsp and python

2010-05-05 Thread Xie Xiaodong
n't found this topic in the documentation. > > Cheers! > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Tomcat scalability setting - need help please

2010-04-09 Thread Xie Xiaodong
gt; To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Error in start tomcat 5.5

2010-04-06 Thread Xie Xiaodong
#x27; while setting bean property 'dataSource'; nested > exception is org.springframework.beans.factory.BeanCreationException: > Error creating bean with name 'dataSource': Invocation of init method > failed; nested exception is javax.naming.NameNotFoundException: Name > jdbc is not bound in this Context > > at java.security.AccessController.doPrivileged(Native Method) > > ... 22 more > > Caused by: org.springframework.beans.factory.BeanCreationException: > Error creating bean with name 'dataSource': Invocation of init method > failed; nested exception is javax.naming.NameNotFoundException: Name > jdbc is not bound in this Context > > at java.security.AccessController.doPrivileged(Native Method) > > ... 23 more > > Caused by: javax.naming.NameNotFoundException: Name jdbc is not bound in > this Context > > at org.apache.naming.NamingContext.lookup(NamingContext.java:770) > > at org.apache.naming.NamingContext.lookup(NamingContext.java:140) > > at org.apache.naming.NamingContext.lookup(NamingContext.java:781) > > at org.apache.naming.NamingContext.lookup(NamingContext.java:140) > > at org.apache.naming.NamingContext.lookup(NamingContext.java:781) > > at org.apache.naming.NamingContext.lookup(NamingContext.java:153) > > at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137) > > at javax.naming.InitialContext.lookup(InitialContext.java:392) > > ... 24 more > > log4j:ERROR LogMananger.repositorySelector was null likely due to error > in class reloading, using NOPLoggerRepository. > > 06/04/2010 5:46:17 AM org.apache.coyote.http11.Http11BaseProtocol start > > INFO: Starting Coyote HTTP/1.1 on http-8080 > > 06/04/2010 5:46:17 AM org.apache.jk.common.ChannelSocket init > > INFO: JK: ajp13 listening on /0.0.0.0:8009 > > 06/04/2010 5:46:17 AM org.apache.jk.server.JkMain start > > INFO: Jk running ID=0 time=0/15 config=null > > 06/04/2010 5:46:17 AM org.apache.catalina.storeconfig.StoreLoader load > > INFO: Find registry server-registry.xml at classpath resource > > 06/04/2010 5:46:17 AM org.apache.catalina.startup.Catalina start > > INFO: Server startup in 7678 ms > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Access Log /Filter/?

2010-03-03 Thread Xie Xiaodong
Hello, Christopher, For log.debug() part, seems I misunderstood your meaning. Sorry about that, you are right. But I do not think it matters too much. :) On Wed, Mar 3, 2010 at 5:54 PM, Xie Xiaodong wrote: > Hello, > > > I think log.debug() method should first check current lo

Re: Access Log /Filter/?

2010-03-03 Thread Xie Xiaodong
ll get a > lot of "-" written in the log even when response bodies actually has > content. In this implementation, "%b" is equivalent to > "%{Content-Length}o". > > Counting bytes isn't that big of a deal, either. I'll submit a patch at > some point... maybe using a different pattern character. > > - -chris > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkuOjCAACgkQ9CaO5/Lv0PAAmgCgt9QVocFjXVNB3t4ib6fWOUIL > ++YAoKdpBuT1uhobAIxasRsdw/PaK00e > =zS1q > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Access Log /Filter/?

2010-03-02 Thread Xie Xiaodong
t; Xie, > > On 3/2/2010 3:58 PM, Xie Xiaodong wrote: > > public class AccessLogFilter > > extends FilterBase { > > For the most part, you've just replaced the invoke() method with a > doFilter() method and introduced init(), which calls start(). Then, you >

Re: Access Log /Filter/?

2010-03-02 Thread Xie Xiaodong
return new ByteSentElement(true); case 'B': return new ByteSentElement(false); case 'D': return new ElapsedTimeElement(true); case 'h': return new HostElement(); case 'H': return new P

Re: Access Log /Filter/?

2010-03-02 Thread Xie Xiaodong
ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Xie, > > On 2/26/2010 4:33 PM, Xie Xiaodong wrote: > > No, there is no AccessLogFilter in Tomcat 7 for now. I've got my > > version of AccessLogFilter during Google Summer

Re: Access Log /Filter/?

2010-02-26 Thread Xie Xiaodong
://enigmail.mozdev.org/ > > iEYEARECAAYFAkuIOB8ACgkQ9CaO5/Lv0PCS4ACfQxM/Oe2/4frguG3iKUbY2VmX > FEgAn0N7e0FbuvNV5aNt2kSt3SedGCdV > =vqsC > -END PGP SIGNATURE- > > --------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Character encoding for POST x-www-form-urlencoding (a success story)

2010-02-12 Thread Xie Xiaodong
havior! > > So, score 1 for standards, at least in this instance. > > - -chris > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkt11PoACgkQ9CaO5/Lv0PC+OACgtobt70NWFxYJzcRt5r0zXlaN > tYEAn0ZYnB/oehIoZR0NUs7Q/4mOux7x > =U0Wt > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Memory analysis after 'OutOfMemoryError PermGen space' error induced by redeployments

2009-06-23 Thread Xie Xiaodong
r...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > Viele Grüße > Timo Meinen > > -- > ------- > mindmatters GmbH & Co. KG > Neuer Kamp 30 > 20357 Hamburg - St. Pauli > > Fon: +49 40 4840593 0 > Fax: +49 40 4840593 9 > Website: www.mindmatters.de > > Handelsregister: Amtsgericht Hamburg | HRA 97304 | UID DE225251880 > Persönl. haftende Gesellschafterin: mindmatters Verwaltungsgesellschaft mbH > Amtsgericht Hamburg | HRB 84595 | Geschäftsführer: Frank Schmitz > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: xml validation on -- good idea or not?

2009-05-20 Thread Xie Xiaodong
lly do? > > I am using Tomcat 5.5.23. > > - Julian > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Trouble parsing datetime strings

2009-05-11 Thread Xie Xiaodong
declared in the > processing method, NOT at the class level. > > Maybe I should move the declaration of the SimpleDateFormat into the > processing method? Or synchronize the date parse? > > > I'm kind of lost here; any help appreciated!! > > Dave > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Performance with many small requests

2009-05-07 Thread Xie Xiaodong
> stepping on each other's feet? (parallel execution) > - if you need them to work at the same time, what is the cost of > coordinating each other so that >they do not interfere with the other? (synchronization issues) > In many ways multi-threading is not much different, and you should be > asking yourself the same type of questions. > > André-John > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: After deployment to tomcat: entity class not found

2009-05-07 Thread Xie Xiaodong
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1390) > at > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359) > ... 41 more > Caused by: java.lang.ClassNotFoundException: MyClass > > > Has anyone encountered this problem lately ? Thanks for your comments. > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Tomcat Configuration in Eclipse

2009-05-04 Thread Xie Xiaodong
>>>>> >>>> et n'aura >>> >>>> pas n'importe quel effet légalement obligatoire. Étant donné >>>>> >>>> que les email >>> >>>> peuvent facilement être sujets à la manipulation, nous ne pouvons >>>>> >>>> accepter >>> >>>> aucune responsabilité pour le contenu fourni. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> From: ados1...@gmail.com >>>>>> Date: Mon, 4 May 2009 07:17:17 -0600 >>>>>> Subject: Tomcat Configuration in Eclipse >>>>>> To: users@tomcat.apache.org >>>>>> >>>>>> Hi, >>>>>> I am trying to configure TOMCAT Webserver in Eclipse and am not >>>>>> >>>>> able to >>> >>>> do >>>>> >>>>>> that. Guidance on the matter would be highly appreciated. >>>>>> >>>>>> Also, how can I access local jsp page which is on the WebApps >>>>>> >>>>> folder in >>> >>>> Webserver from Browser ? >>>>>> >>>>>> Thanks, >>>>>> Ados >>>>>> >>>>> _ >>>>> Hotmail® has ever-growing storage! Don’t worry about storage >>>>> >>>> limits. >>> >>>> >>>>> >>> http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009 >>> >>>> >>>> >>> >>> >>> >>> >> > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: Application-specific jar files with Tomcat v6.0

2009-05-01 Thread Xie Xiaodong
wrong. > I suppose that it be a very common issue and have been heavily discussed. > Why it is still there? > > I would be very grateful if I can get an answer. In addition, other users > may also have experienced the same issue. > > > Thanks, > -- > shiping.c...@csiro.au<mailto:shiping.c...@csiro.au> > > > > > > -- Sincerely yours and Best Regards, Xie Xiaodong

Re: help on tomcat 5.0 log (stdout) setup or redirection

2009-04-30 Thread Xie Xiaodong
> > anybody can help? > > Many thanks, > Hao > -- Sincerely yours and Best Regards, Xie Xiaodong