I can't pass the unit test when compile from apache-solr-3.3.0-src

2011-07-28 Thread Bing Yu
I just goto apache-solr-3.3.0/solr and run 'ant test'

I find that the junit test will always fail, and told me ’BUILD FAILED‘

but if I type 'ant dist', I can get a apache-solr-3.3-SNAPSHOT.war
with no warning.

Is it a problem just me?

my server:Centos 5.6 64bit/apache-ant-1.8.2 /junit and jdk (both
jrocket and sun jdk1.6 fails)


how often do you boys restart your tomcat?

2011-07-26 Thread Bing Yu
I find that, if I do not restart the master's tomcat for some days,
the load average will keep rising to a high level, solr become slow
and unstable, so I add a crontab to restart the tomcat everyday.

do you boys restart your tomcat ? and is there any way to avoid restart tomcat?


Re: how often do you boys restart your tomcat?

2011-07-26 Thread Bing Yu
I want to let system do the job instead of system adminm, beause I'm lazy ~ ^__^

But I just want a better way to fix the problem. restart server will
cause some other problem like I need to rebuild the changes happened
during the restart.

2011/7/27 Dave Hall dave.h...@skwashd.com:
 On 27/07/11 11:42, Bing Yu wrote:

 do you boys restart your tomcat ? and is there any way to avoid restart
 tomcat?

 Our female sysadmin takes care of managing our server.