at the
shared classes in the same directory as mysite.com.
How I can solve this problem? I tried to add some more Context under
my host, but it don't work.
--
Mladen Adamovic
http://home.blic.net/adamm
http://www.shortopedia.com
http://www.froola.com
/index.jsp works :).
thanx x10
--
Mladen Adamovic
http://home.blic.net/adamm
http://www.shortopedia.com
http://www.froola.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mladen Adamovic
http://home.blic.net/adamm
http://www.shortopedia.com
http://www.froola.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi!
I tried to find good free web statistics program for Tomcat.
AKA Log Analyzer.
I'm running standalone Tomcat (without Apache).
Any recommandation?
I would prefer Java solution.
I know about AwStats, but so far it don't work properly. Probably I
would be able to configure it properly but
I tried to find decent free web statistics program for Tomcat. (AKA Log
Analyzer).
I'm running standalone Tomcat (without Apache) on Linux.
I would prefer Java solution, but perl/c++/python might be ok.
I googled for 2 hours but I haven't found any Java solution.
Any recommendation?
I know
Leon Rosenberg wrote:
do you want a log analyzer or live load statistics?
Hi Leon,
Live load statistics might mean also memory and processor usage of the
server.
I will understand your question as : do you want live or croned program?
Since web stat program could be live or cached (using cron
Antonio Petrelli wrote:
If they all use the same version of Struts, there is no problem
(though I am not sure about it :-) ). But think about the chance to
have different versions of Struts in different webapps: it will lead
to a complete classloader mess!
Now I know why is Tomcat hosting
Leon Rosenberg wrote:
No, I mean things like number of request for each servlet, total
number of time this servlet spent processing, number of errors, avg
request duration for last 5m,15m,1h,1d,1week... whatever.
In fact I might become interested in those information.
Average/max duration of
Leon Rosenberg wrote:
http://anotheria.net:8180/moskitodemo/
However, enough said. Try it out, tell me what you think :-)
I've got connection refused ;)
P.S. Moskito is open source. I'm creating a downloadable distribution
right now, which will contain the core system, logging add-on for
Allen Williams wrote:
I can't find anywhere that I can download a jar of
this package,
but isn't it supposed to be in one of the standard .jar's anyway? What
would have lost it?
Using CATALINA_BASE: /var/lib/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
It seems that you are using
on Linux systems
Author : Mladen Adamovic ([EMAIL PROTECTED]) home page:
http://home.blic.net/adamm
try:
po = os.popen('locate .jar', 'r')
except IOError:
exit(0)
arg1= sys.argv[1]
print 'Working for : ' + arg1
sys.stderr.close()
line = po.readline()
while line:
# print line,# trailing
/catalina.sh or
catalina.bat (on Windows) file.
Add parametars like -Xms300m -Xmx500m or something. This means that
Tomcat will use 300MB of memory when it started and it might take up to
500MB if needed.
--
Mladen Adamovic
http://home.blic.net/adamm http://www.shortopedia.com
http://www.froola.com
. If Tomcat server don't
respond it means it is down and other computer send SMS via jSMS or
whatever. Sounds easy.
--
Mladen Adamovic
http://home.blic.net/adamm http://www.shortopedia.com
http://www.froola.com http://www.online-utility.org
. Is
there a distribution of jsvc that will compile and work with this
hardware/software configuration?
You should try with the latest version. If it doesn't work and you don't
get more help from this mailing list, try with
jakarta-common-dev mailing list or jsvc-dev if that exists.
--
Mladen Adamovic
English better and learn how to describe your problems
more clearly.
--
Mladen Adamovic
http://home.blic.net/adamm http://www.shortopedia.com
http://www.froola.com http://www.online-utility.org
-
To start a new topic, e
comments and unnecessary burden here) and I will try to look at it.
--
Mladen Adamovic
http://home.blic.net/adamm http://www.shortopedia.com
http://www.froola.com http://www.online-utility.org
-
To start a new topic, e-mail
for me.
--
Mladen Adamovic
http://www.online-utility.org http://www.shortopedia.com
http://www.froola.com http://www.gift-idea4u.com
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
]folder=20050104154634840
http://www.turro.org/xp/[EMAIL PROTECTED]@[EMAIL PROTECTED]folder=20050104154634840
I asked for something better before on this list, but no recomendation :).
--
Mladen Adamovic
http://www.online-utility.org http://www.shortopedia.com
http://www.froola.com http
replication and improve your app
performances.
--
Mladen Adamovic
http://www.online-utility.org
http://www.cheapvps.info
http://www.vpsreview.com
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
of performance improvement would multiple
JVM/Tomcat installations provide? Are there any benchmarks available?
--
Mladen Adamovic
http://www.online-utility.org http://www.shortopedia.com
http://www.froola.com http://www.gift-idea4u.com
Leon Rosenberg wrote:
Teoreticly, your servers should be faster if you configure 4 Tomcat
instances (4 JVMs) to do round robin.
You should be able to improve performances almost 4x.
could you explain why??
Isn't Tomcat and JVM still single threaded?
Single thread = single processor usage
thread level
parallelism in operating system.
AFAIK
--
Mladen Adamovic
http://www.online-utility.org http://www.shortopedia.com
http://www.froola.com http://www.gift-idea4u.com
-
To start a new topic, e-mail: users
.
It is important. Where is your bottleneck?
There is a big difference between getting tomcat to serve static
content and making your servlet do long running SQL jobs.
Or to have i.e. extremely large Lucene database or some other slow
algorithm.
--
Mladen Adamovic
http://www.online-utility.org http
. One JVM instance is (still) single operating
system thread IMHO. At least it was in 1.4.2 on Linux and Windows and I
haven't heard they improve it on 1.5.0.
Otherwise ps aux should show process java few times.
--
Mladen Adamovic
http://www.online-utility.org http://www.shortopedia.com
{
proces = Runtime.getRuntime().exec(cmdopt, null, new
File(tempDirectory));
} catch (IOException ex) {
ex.printStackTrace();
}
snip
It is rough idea but it should be helpful.
--
Mladen Adamovic
http://www.online-utility.org http://www.shortopedia.com
?
--
Mladen Adamovic
http://www.online-utility.org http://www.shortopedia.com
http://www.froola.com http://www.gift-idea4u.com
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
Please see
http://java.sun.com/developer/technicalArticles/Programming/linux/
Java on linux has been natively multithreaded since 1.3
Uops,
I haven't known.
Thank you all for your information (to Alex Turner, Leon Rosenberg,
Darryl Milles).
I was mistaken about this.
Alex Turner wrote:
Please also note that having a max threads of 750 is pretty much
gaurtenteed
to cause your system to grind to a halt under high load. (Most linux
systems I've seen buckle somewhere around a load average of 75 or so,
which
means 75 threads waiting for CPU time).
You mean 75
2) could you make other backup server to measure load with Apache
benchmark (ab).
--
Mladen Adamovic
http://www.online-utility.org http://www.shortopedia.com
http://www.froola.com http://www.gift-idea4u.com
-
To start
=// get image from the database
response.setContentType(image/jpeg);
ServletOutputStream stream = response.getOutputStream();
stream.write(mybytes);
Right?
Andrea Salvi (or whoever who started this discussion), please
post code you will use :).
--
Mladen Adamovic
http://www.online
in the program.
You have somewhere probably int i=1; or similar and you don't use it any
further.
--
Mladen Adamovic
http://www.online-utility.org http://www.shortopedia.com
http://www.froola.com http://www.gift-idea4u.com
-
To start
.
--
Mladen Adamovic
http://www.online-utility.org
http://www.cheapvps.info
http://www.vpsreview.com
Leon Rosenberg wrote:
I use WordNetProcessor in many JSP files and it seems if I use it in
static way using
%! static WordNetProcessor wordNetProcessor=new WordNetProcessor(); %
it won't lock many files.
then your WordNetProcessor class is probably buggy. Maybe you should
show us your code to
I've put System.gc() in one place in the code and I'm seeing that lsof
| wc -l shows that my web application uses less file descriptors as
time go on :)
I hope the server won't run out of available file descriptors in the future.
Also, I've put in /etc/profile.local the line ulimit -n 8192,
Darryl Miles wrote:
Also, I've put in /etc/profile.local the line ulimit -n 8192,
hoping it will help.
WARNING: If you are unix the JVM uses the select() then increasing the
ulimit above the default 1024 maybe dangerous.
Is it dangerous in Linux also?
--
Mladen Adamovic
http
I prepared one bash script which aim is to reboot the computer if its
web server is down for approx. 30 minutes.
I think that bash script might be useful for others on this list, so I'm
posting it here.
But, I'm not sure what is the best way to run that script.
I'm using Suse 9.3 on the server.
BufferedReader(...);
and doesn't do br.close()
that file descriptor will be automatically closed on garbage collection,
when the object isn't in use any longer, right?
--
Mladen Adamovic
http://www.online-utility.org
http://www.cheapvps.info
http://www.vpsreview.com
Tracy Nelson wrote:
If you haven't used Eclipse before, you also might want to give NetBeans
(www.netbeans.org) a look. It comes with Tomcat 5.5.17 installed by
default, all configured and ready to go.
I also use Netbeans for web development although I prefer Eclipse.
Netbeans works with
38 matches
Mail list logo