Did you check the Java heap?
What is the max heap defined.
It would be good to add gc logging.
Yuval Perlov
www.r-u-on.com
On May 16, 2008, at 6:38 AM, [EMAIL PROTECTED] wrote:
Hi,
We are running Tomcat 5.5 on a powerful VM Server. MS Sql Server is
also
on the VM. It is fronted by an
Dear Johnny and all,
thanks for the hint, that's was the problem (File to URL conversion, I
mean). In fact I built URL object from string and so I had a mix between
slash and backslash style, (something like file://C:\Program
Files\...)... now I build a File and then I get the URL from it
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
When under load (heavy but not excessive) we suddenly find
tomcat dies, without any error messages we can find.
I assume you've done the really obvious thing of checking the code for
constructs of the form:
if (some involved condition the
Hi Philip
Philip Wigg-2 wrote:
jk-8300 - Max threads: 200 Current thread count: 200 Current thread
busy: 199 Max processing time: 1667835 ms Processing time: 20958.227 s
Request count: 131357 Error count: 586 Bytes received: 0.00 MB Bytes
sent: 11208.42 MB
Stage Time B Sent B Recv
Hi All,
I am using the embedded tomcat in my application and I want to change
the tomcat-users.xml file dynamically.
Initially, I am setting that Realm to embedded tomcat by using the
setRealm() method.
Later on, I add the new users and changed the roles of the existing
users and again
Hi,
You could use a J2EE monitoring solution such as FusionReactor:
http://www.fusion-reactor.com/ http://www.fusion-reactor.com/
We have a Demo on our site and you can get lots of feedback including JDBC
monitoring. Not to mention the overhead per request is sub millisecond.
Regards,
D
All,
Please let me know how a web server manages Request and Reply? How
the Web servers maintain the Request queue? How would the Web servers make
sure reply are sent to intendended or appropriate requests?
Thanks in advance.
Regards,
Sandeep
Hi,
I just fiddled around with the source of
org.apache.jasper.compiler.Validator
I dimly remember that in Tomcat 5.x, after editing and rebuilding some
of Tomcat's classes, I just needed to drop the resulting .class file at
some special location and it was loaded instead of the .class file in
Hi guys,
I'm just a bit puzzled, maybe one of you can shed some light:
We're running Tomcat 5.5 here having created a JDBC-realm holding our
users their credentials:
RealmclassName=org.apache.catalina.realm.JDBCRealm
connectionPassword=somePassword
Gregor Schneider wrote:
Hi guys,
I'm just a bit puzzled, maybe one of you can shed some light:
We're running Tomcat 5.5 here having created a JDBC-realm holding our
users their credentials:
The DDL of the MySQL-Tables shows like
However, we've just discovered that Tomcat doesn't care at all
| Yes, I'm sorry, I did put my package name in there so it does look like
| wrapperClass=my.class.MyWrapper.
| It does read though my.class.MyWrapper.java, does that make a
difference?
Yes, the class name does not include .java -- you should remove it.
| Can anyone tell me what I'm doing wrong?
Hi Paul.
thanks a lot, that's the reason why.
I'm wondering what those guys from MySQL thought when introducing this
feature...
Anyways, thanks again!
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @
When you think about how many people would be asking how to make them
case-insensitive versus how many need to perform case-sensitive
searching, it makes sense to me.
Todd Boyd
Web Programmer
-Original Message-
From: Gregor Schneider [mailto:[EMAIL PROTECTED]
8 snip!
I'm wondering
Hi Dave,
Thanks for the link. Will try it out.
Regards,
Amit
DaveyS wrote:
Hi,
You could use a J2EE monitoring solution such as FusionReactor:
http://www.fusion-reactor.com/ http://www.fusion-reactor.com/
We have a Demo on our site and you can get lots of feedback including JDBC
there are many ways of doing it,
one is 100% embedded, where you create all the components programmatically,
another one is to distribute a regular tomcat,
and you can use a hybrid model
Filip
Frank Neslon wrote:
Hello,
So I had the idea that I would like to deploy my application with Tomcat
what is it that doesn't work?
Filip
bizio wrote:
Hi guys.
This is my first post here.
I have a problem with log4j in one of two mine webapps: the first
log4j.properties looks like
# Conventions used in code
# + Only few logging statements are at level INFO, just to log user activity
# + RPC
tomcat uses the common-digester code to parse server.xml,
you can see several classes called
XXXRuleSet.java, and those are the rules for how server.xml turns into
java objects
Filip
Ramesh Narayanan (ramesnar) wrote:
Hi folks
Has anyone ventured into modifying the
you have specified some_user multiple times, it should only have 1
entry per username.
?xml version='1.0' encoding='utf-8'?
tomcat-users
role rolename=tomcat/
role rolename=role1/
role rolename=manager/
role rolename=admin/
user username=some_user password=some_user123
Hi,
was just browsing through tomcat code, and the following is just a
mystery to me -StandardSession.fireSessionsEvent(type,data):
public void fireSessionEvent(String type, Object data) {
if (listeners.size() 1)
return;
SessionEvent event = new
Thanks Filip for the intructions.
Chary
On Thu, May 15, 2008 at 6:46 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED]
wrote:
ant download
ant
ant -f extras.xml
ant -f dist.xml release
Filip
Vishwa Chary wrote:
Thanks John,
This one from SVN works correctly. The one I downloaded as
just put them in the lib directory,
you can see the class loader definitions in conf/catalina.properties
Filip
Markus Schönhaber wrote:
Hi,
I just fiddled around with the source of
org.apache.jasper.compiler.Validator
I dimly remember that in Tomcat 5.x, after editing and rebuilding some
of
realms have a lifecycle, so you would need to start it
Filip
Satyanarayana Bobba wrote:
Hi All,
I am using the embedded tomcat in my application and I want to change
the tomcat-users.xml file dynamically.
Initially, I am setting that Realm to embedded tomcat by using the
setRealm()
Leon Rosenberg wrote:
Hi,
was just browsing through tomcat code, and the following is just a
mystery to me -StandardSession.fireSessionsEvent(type,data):
public void fireSessionEvent(String type, Object data) {
if (listeners.size() 1)
return;
SessionEvent event
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
goober_nut wrote:
| Is it possible to package up your own wrapper inside a war file which
| you can deploy to other Tomcat servers without putting it in Tomcat 5.5 -
| shared/lib or server/lib or Tomcat 6 lib/?
That depends on exactly which
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sandeep,
Sandeep setty wrote:
| Please let me know how a web server manages Request and Reply? How
| the Web servers maintain the Request queue? How would the Web servers make
| sure reply are sent to intendended or appropriate requests?
This is
Hi,
I am searching how to implement a MBean for a class that I implemented,
which add some new funcionality to Tomcat. But I dont know deploy this
MBean from the source of tomcat. I know how work MBean, but not how to
within of Tomcat! Even I try to do something like change a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
Gregor Schneider wrote:
| thanks a lot, that's the reason why.
|
| I'm wondering what those guys from MySQL thought when introducing this
| feature...
Try this:
ALTER TABLE users
~ MODIFY COLUMN user_name VARCHAR(40) BINARY
;
No need to
Folks,
For some reason, the cgi perl script that I run via IE/Firefox does not
render the output immediately, but waits until it has big chunk of the
HTML. Does this have anything to do with the tomcat/cgi setup or header or
something, or perl mod defaults?
It works fine on a Apache/CGI/Perl
-Original Message-
From: Liang Xiao Zhu [mailto:[EMAIL PROTECTED]
Subject: JMX MBean
I am searching how to implement a MBean for a class that I
implemented, which add some new funcionality to Tomcat.
Don't suppose you'd care to tell us what version of Tomcat you're using?
If
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shabu,
Shabu Khan wrote:
| For some reason, the cgi perl script that I run via IE/Firefox does not
| render the output immediately, but waits until it has big chunk of the
| HTML. Does this have anything to do with the tomcat/cgi setup or
header
Thanks Chris.
I don't see any 'buffer setting tweaks' in the code, from the command line
there is no delay it works just like a regular perl/shell script.
This is a code written by someone back in 2000, I ported it to Perl 5.8.5
from Perl 5.005 and to the new Kernel (Linux 2.6), the output
Evan Siegel wrote:
Hi. Just joined your list.
I would like to have a bibliography of sites and books and whatever other
resources there are for people interested in using Tomcat for server-side
website programming.
I don't know; I've only ever used the online resources at
Evan Siegel wrote:
...
Please be gentle.
BTW, nobody will jump on you for asking for resources where you can
start educating yourself!! We just get frustrated with people who don't
try to find information on their own, and then ask here for working code...
D
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shabu,
Shabu Khan wrote:
| Earlier with Apache, I was able to see the output as it ran, just like
from
| the command line on the browser ...
Well, using Apache out in front of both your web application /and/ CGI
scripts certainly is an option, if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Evan,
(For future posts, please start a new thread instead of hitting REPLY to
an existing post).
Evan Siegel wrote:
| I would like to have a bibliography of sites and books and whatever
| other resources there are for people interested in using
Sorry to take so long getting back to you and thanks for the post.. others pointed out this is probably an axis problem so I have been searching the archives of the axis mailing list for clues.
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
You should upgrade this if possible.
goober_nut wrote:
Is it possible to package up your own wrapper inside a war file which
you can deploy to other Tomcat servers without putting it in Tomcat 5.5 -
shared/lib or server/lib or Tomcat 6 lib/?
Not for deployment as a war file; I'm pretty certain that the class is not
being
would the Perl module itself have a new buffer rate that you could determine?
-Original Message-
From: Shabu Khan [mailto:[EMAIL PROTECTED]
Sent: Friday, May 16, 2008 1:25 PM
To: Tomcat Users List
Subject: Re: CGI/HTML
Thanks Chris.
I don't see any 'buffer setting tweaks' in the code,
Just to add to what David and Chris have already written:
TC also works fine on Mac OS X (being a flavor of Unix).
If you want a development environment, Eclipse is a great bargain
(free!), and there is a free plugin for TC.
The MyEclipse addon is low-cost and useful (at least to me). Once
Hi there (just joined too), my two cents would be to check out the Netbeans IDE
and website.
The tutorials are great for one. And the software bundles w/
IDE/glassfish/tomcat/soa etc are
a great way to get started. And everything is all set to go (integration wise)
through a decent installer.
Hi Caldarale,
Yes, I use the current version of Tomcat. Thanks for your link, but I
want to know how to implement MBean, because according the web you gave,
I have to add my MBean to the mbeans-descriptor.xml and also the folder
where is contained.
For example, if I want to implement the
Hi,
I would like to know, how I can refuse the connections when they are in
the selector pool, just for waiting thread to manage connections.
I use Tomcat 6 and also using NIO paradigm! and I dont know how to do that.
Thanks in advance!!!
Now I'm ok.
I've re-deployed the second webapps and now log4j logs everything.
Thanks.
Fab
Filip Hanik - Dev Lists wrote:
what is it that doesn't work?
Filip
bizio wrote:
Hi guys.
This is my first post here.
I have a problem with log4j in one of two mine webapps: the first
is this related to tomcat, or just generic java/nio?
Filip
ubekhet wrote:
Hi,
I would like to know, how I can refuse the connections when they are
in the selector pool, just for waiting thread to manage connections.
I use Tomcat 6 and also using NIO paradigm! and I dont know how to do
that.
Gregor,
You can use WHERE x LIKE condition to perform a case-sensitive search
without modifying the structure of the table(s) involved by using the
BINARY keyword.
SELECT * FROM `foo` WHERE `bar` LIKE BINARY 'tesT' will not pull the
record test or Test, but only matches the record tesT.
Todd
Hi Filip,
Is related java nio, and in this case as I use Tomcat with NIO paradigm,
is the same.
Thanks
Filip Hanik - Dev Lists wrote:
is this related to tomcat, or just generic java/nio?
Filip
ubekhet wrote:
Hi,
I would like to know, how I can refuse the connections when they are
in
Filip Hanik - Dev Lists wrote:
just put them in the lib directory,
Yes, thanks for confirming it.
I have obviously made (more than once) some stupid mistake. I have no
idea what I did wrong. But since it works as it should now, after
starting from scratch, I'll blame my aluminum foil deflector
I'm still not sure what you're asking, but if you are writing your own
NIO code, then you can cancel/close a connection that is in the selector
pool at any point in time. Just get it out of the selector pool, and
close it.
Filip
ubekhet wrote:
Hi Filip,
Is related java nio, and in this
Hi,
I get
java.io.InvalidClassException
when I send a serialized class from an application
launched by Eclipse to a JSP page, compiled by the
server.
I thought that serialVersionUID was strictly a
function of members, signatures, etc - but that
doesn't appear to be the case.
A workaround is
It is also affected by the compiler version.
It is most advisable to add serialVersionUID
Yuval Perlov
www.r-u-on.com
On May 17, 2008, at 7:16 AM, Dola Woolfe wrote:
Hi,
I get
java.io.InvalidClassException
when I send a serialized class from an application
launched by Eclipse to a JSP
50 matches
Mail list logo