measure memory

2004-04-07 Thread Salvatierra, Mauricio h \(M.H.\)
Hi people. I need measure the memory use for my application in the tomcat 4.1.12. Some 
body know how do.
  Thanks and sorry mi inglish

Saludos !!
SALVATIERRA, Mauricio Hugo
Information Technology 
Ford Argentina S.C.A.  
Phono/Fax: 54-11-4756-8750 
mailto: [EMAIL PROTECTED]
Visit our page: http//www.ford.com.ar/


STRICTLY CONFIDENTIAL. The contents of this e-mail and any attachments are strictly 
confidential and property of Ford Argentina S.C.A. They may not be used or disclosed 
by someone who is not a named recipient. If you have received this e-mail in error 
please notify the sender by replying to this email inserting the word "Misdirected" as 
the message and delete the present message.




-Original Message-
From: Mark Nye [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 09:53
To: 'Tomcat Users List'
Subject: RE: JK2 connector built and installed but is there something
wrong?


Hi,
  I had a similar problem.  The line for the uri has to have a directory
that is under $TOMCAT_HOME/webapps.  

[uri:/jsp-examples/*] would require the directory
$TOMCAT_HOME/webapps/jsp-examples.  As Drew said you can try
servlets-examples instead of jsp-examples.  Those directories are under the
webapps folder by default.

Mark

-Original Message-
From: Hamilton, Andrew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 8:28 AM
To: Tomcat Users List
Subject: RE: JK2 connector built and installed but is there something wrong?

try doing this

[uri:/jsp-examples/*]
worker=ajp13:localhost:8009

There is no examples structure.  You can also try servlets-examples.

Drew

-Original Message-
From: Kevin Struckhoff [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 7:22 PM
To: [EMAIL PROTECTED]
Subject: JK2 connector built and installed but is there something wrong?


After downloading the source and building it, I
finally have mod_jk2 at least loaded into Apache Web
Server 2.0.48.

However, in the docs, it says to add these 2
directives to workers2.properties:

[uri:/examples/*]
worker=ajp13:localhost:8009

When I send the browser to http://localhost/examples/,
I get a -404 error (not found).

What am I missing? Apache starts up just fine.

TIA.

=
Thanks.

Kevin

-- Enjoy Life, Drink and Code Java!

__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



measure memory

2004-04-07 Thread Salvatierra, Mauricio h \(M.H.\)
  Hi people. I need measure the memory use for my application in the tomcat 4.1.12. 
Some body know how do.
  Thanks and sorry mi inglish

Saludos !!
SALVATIERRA, Mauricio Hugo
Information Technology 
Ford Argentina S.C.A.  
Phono/Fax: 54-11-4756-8750 
mailto: [EMAIL PROTECTED]
Visit our page: http//www.ford.com.ar/


STRICTLY CONFIDENTIAL. The contents of this e-mail and any attachments are strictly 
confidential and property of Ford Argentina S.C.A. They may not be used or disclosed 
by someone who is not a named recipient. If you have received this e-mail in error 
please notify the sender by replying to this email inserting the word "Misdirected" as 
the message and delete the present message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to filter out HTTP requests, or limit requests

2004-03-31 Thread Salvatierra, Mauricio h (M.H.)
  Hi, sorry mi english. You probe "ServletFilter" tecnology ?

Saludos !!
SALVATIERRA, Mauricio Hugo
Information Technology 
Ford Argentina S.C.A.  
Phono/Fax: 54-11-4756-8750 
mailto: [EMAIL PROTECTED]
Visit our page: http//www.ford.com.ar/


STRICTLY CONFIDENTIAL. The contents of this e-mail and any attachments are strictly 
confidential and property of Ford Argentina S.C.A. They may not be used or disclosed 
by someone who is not a named recipient. If you have received this e-mail in error 
please notify the sender by replying to this email inserting the word "Misdirected" as 
the message and delete the present message.




-Original Message-
From: lrnobs [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 16:57
To: Tomcat Users List
Subject: How to filter out HTTP requests, or limit requests


I have a new web server running Tomcat and serving jsp pages on a RedHat9
box.

I am new to web technologies and have been reviewing the access logs daily.
I find several attempts in the logs to run root.exe, cmd.exe, and various
scripts.  What I have seen so far appear to be attempts against IIS which I
am not running.  But with each request the server has to respond with 404
and 500 codes and reply traffic of various sizes.  I saw one posting on
Google where repeated requests for "default.ida" shut down the site because
of the reply traffic.

I could find on Google that for Apache a file called htaccess could have
commands to trap requests but elsewhere it said that Tomcat doesn't use
htaccess, but I can't find what it does instead.

So I am hoping Tomcat has a method to let me trap strings like "default.ida"
or "root.exe" and just drop them to a black hole before the server is
requested to service the request.

I was also wondering if in the same method or another I could specifically
list html, jsp, and graphics that I will service and drop all others.

Thanks,

Larry Nobs




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Connection pool in cayenne

2004-03-26 Thread Salvatierra, Mauricio h (M.H.)
  Hi people. I using a connection pool in cayenne and have the next error...

  ORA-00020: maximum number of processes...

  Any idea how resolve this problem. Thanks


Saludos !!
SALVATIERRA, Mauricio Hugo
Information Technology 
Ford Argentina S.C.A.  
Phono/Fax: 54-11-4756-8750 
mailto: [EMAIL PROTECTED]
Visit our page: http//www.ford.com.ar/


STRICTLY CONFIDENTIAL. The contents of this e-mail and any attachments are strictly 
confidential and property of Ford Argentina S.C.A. They may not be used or disclosed 
by someone who is not a named recipient. If you have received this e-mail in error 
please notify the sender by replying to this email inserting the word "Misdirected" as 
the message and delete the present message.




-Original Message-
From: Tony Requist [mailto:[EMAIL PROTECTED]
Sent: Friday, March 26, 2004 14:44
To: Tomcat Users List
Subject: RE: Using PersistentValve for session replication



> I want to store session information in a database to be shared
> between a set
> of servers in a "load balancing without session affinity" configuration.

Lacking input from others, I will answer part of my own question to possibly
help somebody else.

The result is that with a day of work it is possible to use PersistentValve
and PersistentManager to produce "load balancing without session
affinity" -- but you have to overcome some Tomcat issues in the code along
the way.  My assumption is while the code is there, it has not been use
seriously and therefore is not shaken down.

I found and fixed (or worked around) a couple of Tomcat bugs along the way.
If a Tomcat developer is interested in these, I would be glad to give more
details:

* JDBCStore read and writes the database multiple times in load() and
save().  Adding "break;" in a couple strategic places fixes this

* As far as I can tell, the "checkInterval" attribute within
PersistentManager does not work at all

* PersistentValve loads the session for all requests, even static content
(things like *.css, *.js, *.gif).  While this is not wrong, it does not work
well.  I hacked around it, but there could be a clean solution

* Session data is always written out, even when it doesn't change.  I added
a mechanism based on hashCode() to avoid this

* Deserialization errors are not handled correctly

* I could not get the logging to work so I added my own (this might just be
my problem)

- tony



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Out of memory

2004-03-25 Thread Salvatierra, Mauricio h (M.H.)
Hi people. I new in this list and sorry my english. My problem is..

"... Unable to compile class for JSP ... The system is out of resources"

Somebody has any idea. Thanks.

Saludos !!
SALVATIERRA, Mauricio Hugo
Information Technology 
Ford Argentina S.C.A.  
Phono/Fax: 54-11-4756-8750 
mailto: [EMAIL PROTECTED]
Visit our page: http//www.ford.com.ar/


STRICTLY CONFIDENTIAL. The contents of this e-mail and any attachments are strictly 
confidential and property of Ford Argentina S.C.A. They may not be used or disclosed 
by someone who is not a named recipient. If you have received this e-mail in error 
please notify the sender by replying to this email inserting the word "Misdirected" as 
the message and delete the present message.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]