Tomcat Monitoring

2006-07-12 Thread Mr Alireza Fattahi
Hi, We are using Tomcat 5.5, please let us know if there are any monitoring tools that we can use with this server. We found Lambda Probe mentioned in the posts. Are there any built-in tools, or can we find some open sources for this issue?! ~Regards, ~~Alireza Fattahi

Re: Tomcat Monitoring

2006-07-12 Thread Leon Rosenberg
please define monitoring. which data do you want to get? do you want to monitor your production webapps status? monitor your hits? availability? leon On 7/12/06, Mr Alireza Fattahi [EMAIL PROTECTED] wrote: Hi, We are using Tomcat 5.5, please let us know if there are any monitoring tools that

Re: Tomcat Monitoring

2006-07-12 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Tomcat start new session

2006-07-12 Thread Juba
Hello, I am using Tomcat 5.5.17 and when I run my application I notice that Tomcat creates more than 1 session when an user log in my application. And when this happen I can't recover information about the users and the application's applets can't load correctly. My doubt is if I have to make some

Re: Accessing a servlet

2006-07-12 Thread Jon Wingfield
I would check in tomcat logs directory for reasons why the servlet is not available. One reason could be that classes should be in a package: http://tomcat.apache.org/faq/classnotfound.html HTH, Jon McRaven, Brian wrote: OK I did that and now my system is hanging which I guess could be an

isapi_redirect.dll Problem with Request Headers

2006-07-12 Thread Rene Czachs
Hi all, my Config: IIS 6.0, Tomcat 3.x, JBoss3.1, isapi_redirect.dll v1.2.6 My Problem: I'm setting some custom HTTP-Headers, the Request gets to tomcat through the isapi_redirect, and on the appserver-side suddenly all the custom headers are missing. 1) is this known behaviour/bug? 2) what

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
I made the servlet part of a package but I'm getting a Servlet not Found Exception. The actions I took to make the servlet part of a package are the following: 1 added package line to java code, recompiled 2 placed new class file in new subdirectory of WEB-INF/classes folder with same name of

Re: Accessing a servlet

2006-07-12 Thread Jon Wingfield
OK. The web.xml entries should probably be something like this: servlet servlet-namejust-a-little-test/servlet-name servlet-classfirstpack.JustAlittleTest/servlet-class /servlet servlet-mapping servlet-namejust-a-little-test/servlet-name url-pattern/some/useful/mapping/url-pattern

Re: Accessing a servlet

2006-07-12 Thread Pid
servlet servlet-nameTheServletName/servlet-name servlet-classpackage.ThisIsTheClassName/servlet-class /servlet servlet-mapping servlet-nameTheServletName/servlet-name url-pattern/a/path/to/theservlet/url-pattern /servlet-mapping servlet-name is used to link the definition to the

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
When I use this entry I get a request resource not found error. servlet servlet-nameJustALittleTest/servlet-name servlet-classfirstpack.JustALittleTest/servlet-class /servlet servlet-mapping servlet-nameJustALittleTest/servlet-name

RE: Simple question, but can't figure out answer

2006-07-12 Thread Mead, Jennifer L - VSCM
I already have that. I really don't understand but I bet it turns out to be something stupid (on my part). It is pretty frustrating but for now they get no images! Thanks for the reply. Jen -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006

Re: Simple question, but can't figure out answer

2006-07-12 Thread Andrew Miehs
On 12/07/2006, at 4:01 PM, Mead, Jennifer L - VSCM wrote: I already have that. I really don't understand but I bet it turns out to be something stupid (on my part). It is pretty frustrating but for now they get no images! Thanks for the reply. Jen Does http://server/images/myimage.gif

RE: Simple question, but can't figure out answer

2006-07-12 Thread Mead, Jennifer L - VSCM
Nope, where and what is it trying to display? -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 7:08 AM To: Tomcat Users List Subject: Re: Simple question, but can't figure out answer On 12/07/2006, at 4:01 PM, Mead, Jennifer L - VSCM

Re: Simple question, but can't figure out answer

2006-07-12 Thread Pid
Is tomcat actually configured to serve the image directory? Do you have your logging ramped up? Try enabling an AccessLogValve if you haven't already. Mead, Jennifer L - VSCM wrote: Nope, where and what is it trying to display? -Original Message- From: Andrew Miehs [mailto:[EMAIL

Re: Simple question, but can't figure out answer

2006-07-12 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 No I am really confused Your server name is servername ... and looking at your perl code, you were trying to get to an image called icc-logo.gif http://servername/images/icc-logo.gif replace servername with the name of your server This

PS Old Gen filling up...

2006-07-12 Thread Darren Kukulka
Hi All, Got a situation here where PS Old Gen within the JVM heap is gradually filling up and locking to a point where GC will not release any of it and the application hangs. Running Tomcat 5.5.15 and SUN JDK 1.5_07. Machine is an 8GB dual Xeon processor Dell 2850. The JVM options

Re: Simple question, but can't figure out answer

2006-07-12 Thread David Smith
Hi. I've been lurking on this thread for a while this morning. Here's a few things you might want to consider 1. Your perl script to serve up images is pulling from /images according to what was posted. Given that perl probably isn't chrooted to the directory your webapp is in, the

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
If the url-pattern should be /firstpack/JustALittleTest then should the form on the JSP refer to action=firstpack.JustALittleTest or action=firstpack/JustALittleTest ? Brian -Original Message- From: McRaven, Brian Sent: Wednesday, July 12, 2006 9:55 AM To: Tomcat Users List; [EMAIL

Re: PS Old Gen filling up...

2006-07-12 Thread Edmon Begoli
Darren, Old Gen filling up is usually an indicator of a memory leak. Other possibility is that object creation is very fast and that garbage collector can not keep up. Since you are using parallel collector it is also a possibility that it needs some tweaking. The Recalcitrant Engineer (

RE: Simple question, but can't figure out answer

2006-07-12 Thread Mead, Jennifer L - VSCM
YES! It now works, and it was idiocy on my part. I had so many different images directories it was insane BUT NOT /usr/local/tomcat/webapps/ROOT/images/. I thought it had to be under the WEB-INF directory. Ahhh, sigh of relief. Thanks so much. I am staying on this list because it is a great

Context destroyed while paging results

2006-07-12 Thread Suba Suresh
I apologize upfront if this is not the right group. I did not know whether to post the question here or in lucene user list. I am using a servlet to display the search results for our search.Lucene recommends requery if there are more than one page of results. I had saved the earlier

org.apache.juli.FileHandler on Shared Tomcat Hosting?

2006-07-12 Thread Giesen Giesen
Has anyone had any luck using org.apache.juli.FileHandler on a shared Tomcat hosting provider? I isolated this to a trivial test application that logs perfectly on my dev system (to C:\apache-tomcat-5.5.17\logs), but on my shared hosting provider, the log files just don't show up. log4j works

Re: Accessing a servlet

2006-07-12 Thread Martin Gainty
check your ./WEB-INF/web.xml servlet servlet-nameFooServlet/servlet-name servlet-classFooServlet/servlet-class /servlet servlet-mapping servlet-nameFooServlet/servlet-name url-pattern/servlet/Foo/url-pattern /servlet-mapping reference to invoke is

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
OK so now I have this: action=JustALittleTest/firstpack/JustALittleTest For a web.xml of file of: servlet servlet-nameJustALittleTest/servlet-name servlet-classfirstpack.JustALittleTest/servlet-class /servlet servlet-mapping

Re: Accessing a servlet

2006-07-12 Thread Jon Wingfield
You've deployed this in the ROOT webapp? form action should be /firstpack/JustALittleTest McRaven, Brian wrote: OK so now I have this: action=JustALittleTest/firstpack/JustALittleTest For a web.xml of file of: servlet servlet-nameJustALittleTest/servlet-name

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
Yes, the forms are in the ROOT webapp. The firstpack is in the ROOT/WEB-INF/classes folder. Where should the firstpack go? Brian -Original Message- From: Jon Wingfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 11:30 AM To: Tomcat Users List Subject: Re: Accessing a

Re: PS Old Gen filling up...

2006-07-12 Thread Martin Gainty
Darren/Edmon- Can you turn on trace facilities for GC in the jvm.cfg? e.g. 1.3.1 1.4.1 -Xtgc2 -Dibm.dg.trc.print=st_verify -Xtgc34 -Dibm.dg.trc.print=st_compact_verbose,st_verify More info avilable at

Re: PS Old Gen filling up...

2006-07-12 Thread Edmon Begoli
Martin, I think Dibm.dg.trc.print are ibm specific settings. Since he is running 1.5.0_07 he can probably look at it in the real time using jstat and jmap without adding any extra params to the JVM startup. e.g. on Linux: jmap -heap `pgrep java' jstat -gcutil (or some other option) `pgrep

HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-12 Thread simon jones
Hi, can anyone help me with this one? Thanks! I've installed tomcat - no probs - manager works great as does the installation but I can't get the admin working, I know this has been posted before but I can't find a fix so I'm also providing as much information as possible with this post. When I

Re: PS Old Gen filling up...

2006-07-12 Thread Martin Gainty
Did'nt mean to give a version specific answer- Thanks for the clarification, M- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-12 Thread David Smith
Did you store the admin webapp in server/webapps where it belongs? Also check your logs. There should be an exception trace just before the place where this was marked as unavailable. --David simon jones wrote: Hi, can anyone help me with this one? Thanks! I've installed tomcat - no

Ant deploy to different timezone

2006-07-12 Thread Phill
I'm deploying an application using the ant deploy task from a server in one timezone to Tomcat on a server which is in a timezone one hour behind. When the war gets deployed on the remote server the difference in timezone is not taken into account and I end up with files dated in the

Re: Accessing a servlet

2006-07-12 Thread Jon Wingfield
ROOT/WEB-INF/classes/firstpack/JustALittleTest.class and JustALittleTest.java should have a package declaration of firstpack prior to compilation. McRaven, Brian wrote: Yes, the forms are in the ROOT webapp. The firstpack is in the ROOT/WEB-INF/classes folder. Where should the firstpack

Bug in c:url taglib

2006-07-12 Thread Martyn Hiemstra
Hi All I am having a problem with Tomcat 5.0.28. I designed a website a few months ago and I started working on it again. I cant remember what version Tomcat I designed it in but now I'm trying Tomcat 5.0.28. When I deploy my website everything deploys perfectly. When i view the page it's

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
I check out on all of that. I'm not sure if this is important but when I build the servlet there is an error that I get. It underlines my package and says that the package name was not one that it expected. It's not a warning its an error. I still get a class file out of the process. Does this

RE: Accessing a servlet

2006-07-12 Thread Lenandlar Singh
McRaven, Brian [EMAIL PROTECTED] wrote: I check out on all of that. I'm not sure if this is important but when I build the servlet there is an error that I get. It underlines my package and says that the package name was not one that it expected. Make sure your package declaration is

RE: Accessing a servlet

2006-07-12 Thread McRaven, Brian
I appreciate everyone's help here. I've been double checking my syntax. I created a new project with the old code with a package inserted into the project. My servlet now delivers a blank screen when it should redirect me to one of my other jsp's. So I'm getting my servlet recognized but it

Alias' and the like

2006-07-12 Thread dhay
Bump! Would really appreciate some help on this one... cheers, David - Forwarded by David Hay/Lex/Lexmark on 12/07/2006 13:29 - |-+ | | [EMAIL PROTECTED] | | || | | 11/07/2006

Re: Accessing a servlet

2006-07-12 Thread Martin Gainty
One more thing the packagename you use to implement your class needs to be reflected in the classes folder WEB-INF/classes so for example your class is called barServlet and your package is called foo the location should be $CATALINA_HOME/webapps/barServlet/WEB-INF/classes/foo/barServlet.class

Re: Alias' and the like

2006-07-12 Thread Martin Gainty
Hello Dave Option #2 allows you to access seemlingly disprate sites thru Virtual Hosts check out http://httpd.apache.org/docs/1.3/vhosts/examples.html#serverpath HTH Martin-- * This email message and any files transmitted with it

RE: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-12 Thread simon jones
Hi David, Ok looks as thought the files are in the correct place: cp -r admin /usr/local/jakarta/jakarta-tomcat-5.5.9/server/webapps There's nothing in tail -f /usr/local/jakarta/jakarta-tomcat-5.5.9/logs/tomcat.log When I do a tail and access the admin it doesn't do anything. DEBUG

Re: Alias' and the like

2006-07-12 Thread Mladen Turk
[EMAIL PROTECTED] wrote: Hi, I'd like to do JKMount /admin/* adminloadbalancer but need the alias for /admin to point to /services/admin. I would be very grateful if someone could explain the best option... Use mod_rewrite. You need to rewrite the incoming URL on the fly, right?

What are ciphers ?

2006-07-12 Thread Anandi Vyagrapuri
Hi, Can naybody tell me what ciphers are and what i ciphers i must use with SSL ? Thanks Anandi __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: What are ciphers ?

2006-07-12 Thread Mike Klein
A little googling will get you what you want. A cipher is a security algorithm (des, rc, etc.). Ciphertext is cleartext (plaintext) which has been encrypted using an algorithm (cipher) and a key. You can use ssl handshaking to see supported ciphers and java jsse has methods for dumping this

Re: What are ciphers ?

2006-07-12 Thread Mike Klein
D:\Projects\v4kernelopenssl ciphers DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA:EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DES-CBC3-SHA:DES-CBC3-MD5:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:AES128-SHA:RC2-CBC-MD5:DHE-DSS-RC4-SHA:RC4-SH

Re: Alias' and the like

2006-07-12 Thread Martin Gainty
This solution works if you're front-ending with Apache- I have seen CGI/Perl do this to specifically route incoming requests to CGI/Perl site 1 to their folder (and consequent access to site2 to Tomcat) Symlink is terminal specific setting up term access to symbols representing another folder

Re: Alias' and the like

2006-07-12 Thread dhay
We have to be able to run on Windows, so won't be able to use symlink. I'm going to take a look at mod_rewrite suggested by Mladen. cheers, David x54680 |-+ | | Martin Gainty | | | [EMAIL PROTECTED]| | |

Re: Alias' and the like

2006-07-12 Thread Brian Munroe
On 7/12/06, Martin Gainty [EMAIL PROTECTED] wrote: This solution works if you're front-ending with Apache- I have seen CGI/Perl do this to specifically route incoming requests to CGI/Perl site 1 to their folder (and consequent access to site2 to Tomcat) Do you have any configuration file

Adding classpaths and path mapping

2006-07-12 Thread Barrie Selack
I've been looking through the Tomcat docs (there are so many...) and I can't find the following two things. I am wondering if they are available? In Resin you can specify addition class paths for loading resources such as: classpath id='WEB-INF/properties'

Re: Alias' and the like

2006-07-12 Thread Martin Gainty
personally I caution against OS specific constructs to use Apache or Tomcat specific directives including mod-rewrite e.g. httpd.conf VirtualHost * ServerName /usr/local/tomcat/dev/webapps/bmtest/admin ServerAlias admin1 ... /VirtualHost Good Luck

mod_proxy_ajp with multiple ajp ports

2006-07-12 Thread Christopher Schultz
All, Please forgive me if this question has already been asked. With such a high volume, searching the archives has been arduous and I haven't found what I'm looking for. I'm used to using mod_jk where I can just do this: JkMount /my/path/*.whatever worker2 JkMount /my/path/*.whatever.else

Re: Alias' and the like

2006-07-12 Thread Brian Munroe
On 7/12/06, Martin Gainty [EMAIL PROTECTED] wrote: I'm about done with this thread, but I just gotta send one more e.g. httpd.conf VirtualHost * ServerName /usr/local/tomcat/dev/webapps/bmtest/admin ServerAlias admin1 ... /VirtualHost ServerAlias is for setting

Context, c:import, and request URI

2006-07-12 Thread Alessandro Vernet
I have two war deployed on Tomcat: war1 and war2. When a request comes from /war1/path1, a JSP in war1 runs and with the JSTL c:import [1] imports something from war2: c:import context=war2 url=/url2/ This works because crossContext [2] is set to true in the Tomcat configuration. Now the

Re: What are ciphers ?

2006-07-12 Thread Anandi Vyagrapuri
thanks for the description. That was helpful . I am trying to configure SSL with tomcat and get the following error .. I do not understand what i need to configure to get the correct ciphers to work with my certificate. The same certificate works fine with IIS.

Re: mod_proxy_ajp with multiple ajp ports

2006-07-12 Thread Bill Barker
I've seen some talk on [EMAIL PROTECTED] about implementing support for regexps in mod_proxy, but I don't think anything has happened yet. What you want is something like: RewriteRule /my/path/.*\.whatever\.else ajp://localhost:8285/my/path/$1.whatever.else [P] Check the documentation for