Re: Scaliability question (locking on Vector)

2006-03-23 Thread Peter Rossbach
Hint: Checkout the source and grep for Vector find . -name *.java -exec grep Vector {} \; -print then you see we use vector but I also think you analyse must start with WebappClassLoader Regards Peter Am 24.03.2006 um 07:58 schrieb Clemens Eisserer: Hi again, Some rarely used (and old)

Re: Scaliability question (locking on Vector)

2006-03-23 Thread Clemens Eisserer
Hi again, > Some rarely used (and old) code is still using some vectors, but I > doubt you're using them (or your application is really doing odd > stuff). The two less unusual places are range requests for static > files, and WebappClassLoader.findResources. My code does not use Vectors nore does

Re[2]: Better Linux Distribution for production environment

2006-03-23 Thread Corobitsyn Roman
KE> I prefer Debian on all my production systems. It is very stable. I use KE> packages for only underlying components like openssl and custom compile my KE> Apache, Tomcat MySQL etc. KE> One of my systems has 2 processors, 4 gb RAM and lots of virtual hosts, jsps KE> and servlets on Debian and it

Re: SSL session timeout in Tomcat

2006-03-23 Thread Bill Barker
"Jordi Guitart Fernandez" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > How can I configure the SSL session timeout in Tomcat? > Currently, you can't. You just get the default value. If you want to open an enhancement request in BZ, feel free. If you include a code

RE: context path

2006-03-23 Thread Caldarale, Charles R
> From: Konstantin L Kouptsov [mailto:[EMAIL PROTECTED] > Subject: context path > > in > C:\Program Files\Apache Software Foundation\Tomcat > 5.5\conf\Catalina\localhost\ > I created a file context.xml with the following contents: > >path="/myapp" reloadable="true" docBase="D:\myapp\we

Re: context path

2006-03-23 Thread Konstantin L Kouptsov
Tim Lucia wrote: Try D:/myapp/web -- It works for me. Generally speaking, / always works for directory path separation in anything Java-esque. \ is the escape character, and so for \ to work, you often have to double it up, i.e., \\. Yes, thank you for the answer. Actually from the errors i

RE: context path

2006-03-23 Thread Tim Lucia
Try D:/myapp/web -- It works for me. Generally speaking, / always works for directory path separation in anything Java-esque. \ is the escape character, and so for \ to work, you often have to double it up, i.e., \\. -Original Message- From: Konstantin L Kouptsov [mailto:[EMAIL PROTECTED

Re: context path

2006-03-23 Thread Konstantin L Kouptsov
Never mind. Typo in the path. Konstantin L Kouptsov wrote: Question: I do not want to put my application into the standard webapps directory, but rather I prefer to put it on D: disk (with lots of space). Also, I want to be able to access the application locally. So, I did what's said in

context path

2006-03-23 Thread Konstantin L Kouptsov
Question: I do not want to put my application into the standard webapps directory, but rather I prefer to put it on D: disk (with lots of space). Also, I want to be able to access the application locally. So, I did what's said in the docs: in C:\Program Files\Apache Software Foundation\Tomcat

Re: Connector Installation - Resolved

2006-03-23 Thread Scott Gravenhorst
This is now resolved. The problem was that the binary mod_jk.so I downloaded from the tomcat website did not work. I went to USENET forum alt.apache.configuration and someone there suggested I download the source and compile it. While that was not the easiest thing (I had a vanilla Apache webser

Re: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Shankar Unni
Paul Hamer wrote: Just checked: the same problem occurs with Tomcat 5.5.15. Definitely smells like a bug. Can you package a small *self-contained* example (preferably a fully self-contained webapp example with such a minimal set of files) and post a bug in ASF Bugzilla? That's http://issue

Re: Scaliability question (locking on Vector)

2006-03-23 Thread Remy Maucherat
On 3/23/06, Clemens Eisserer <[EMAIL PROTECTED]> wrote: > under Tomcat 5.5.12 I see tons of uncontended thin locks on instances > of java.lang.Vector, none of the beeing ever contended. Some rarely used (and old) code is still using some vectors, but I doubt you're using them (or your application

Re: mod_jk failover loadbalancing doesn't recognize hung tomcat

2006-03-23 Thread Vidya TR
Hi, Thank you very much for the response. In my properties I have three prepost_timeout properties set up. I changed the loadbalancer.prepost_timeout from 5 to 5000 but this still did not help. Meaning loadbalancer worker still did not recognize a hung app server nodeA. worker.loadbalancer.pre

Scaliability question (locking on Vector)

2006-03-23 Thread Clemens Eisserer
Hello, I just recently discovered the JRA-Tool from Bea which is capable to display the type and the count of locking on objects of different classes. (It basically shows the name of the class the object which has been locked on was an instance of). I found some parts of my application that caus

Re: mod_jk failover loadbalancing doesn't recognize hung tomcat

2006-03-23 Thread Vidya TR
Hi, Thank you for the response. I tried setting the acceptCount to 10 on the nodeA which is main node. But even after more that 10 simultaneous user request it did not failover to my nodeB. This is what I did : Thank you, Vidya -- View this message in context: http://www.nabble.com/ques

Re: Classloader question

2006-03-23 Thread Boris Unckel
Hello Francis, VARIN, FRANCIS A. wrote: As mentioned above, we have used this class for several years in WAS. In that case, the jar that contains the factory resides at the EAR level and can instantiate classes that live in the associated WAR files just fine. The problem only exists in Tomca

Re: Run Tomcat in W2k3 as service

2006-03-23 Thread Nic Daniau
You may need to reconfigure the service. Have a look to my post from a few min ago on "*running two instances of tomcat*" you can also update the service using e.g. %CATALINA_HOME%\bin\tomcat5.exe //US//Tomcat5 --Description "My updated description" HTH Nic On 23/03/06, David Kerber <[EMAIL P

Re: running two instances of tomcat

2006-03-23 Thread Nic Daniau
OK here we go. What was said above is true but it's not all about the service, therefore the service.bat script is not enough to resolve the problem. If you read the nsi install script from the source, you can see everything that it does, and the setup of the service is just one thing. The tested p

Classloader question

2006-03-23 Thread VARIN, FRANCIS A.
A little background: We are currently in the process of developing an application that will be managed by Tomcat. We have several Java EE applications that have been running with WebSphere for approximately 5 years. Those applications include some classes that form a hom

Re: multiple Tomcat realm

2006-03-23 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Is there any way we can have multiple Tomcat realm? or any > other suggestions? Not without writing a custom realm. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Tomcat and Called Programs

2006-03-23 Thread Michael McQuade
Hi Folks This is related to a question I posted on Monday, regarding Tomcat displaying a Page Slowly. Upon further research, I have found my problem. Now Im wondering if its a Tomcat issue. Heres the problem. I was getting a slow response of approx 6 seconds to build an Html pag

RE: Question on jar file size

2006-03-23 Thread Caldarale, Charles R
> From: Christopher Molnar [mailto:[EMAIL PROTECTED] > Subject: Re: Question on jar file size > > Reason I am asking is we have a web app that is run on laptops and > then synced with a main server daily. I am wondering if it is better > to (as the thing grows) to break it up into smaller jar

RE: SSL session timeout in Tomcat

2006-03-23 Thread Caldarale, Charles R
> From: Jordi Guitart Fernandez [mailto:[EMAIL PROTECTED] > Subject: SSL session timeout in Tomcat > > How can I configure the SSL session timeout in Tomcat? There's nothing unique about SSL sessions in this reqard. Set the value in either the global conf/web.xml or the WEB-INF/web.xml of your

Re: RES: question regarding alias for context

2006-03-23 Thread Hassan Schroeder
On 3/23/06, Alan Honczar <[EMAIL PROTECTED]> wrote: > I think that it will be the way, because mod_rewrite is available for Apache2 > and latest... mod_rewrite is available from Apache 1.2 on, actually -- Hassan Schroeder --

Re: RES: question regarding alias for context

2006-03-23 Thread Hassan Schroeder
On 3/23/06, Lothar Krenzien <[EMAIL PROTECTED]> wrote: > > Please be aware of the difference between *redirect* and *forward* > ... > To do a transparently forwarding you need a web server like Apache or IIS. That's simply not true; see the 'crossContext' attribute of the Context element in the To

url rewriting for directory listings in default servlet

2006-03-23 Thread Thomas Chille
Hi, i wanna list directory entries with german special chars like ä, ü, ö. this chars were not urlencodiert from the DefaultServlet. my machins LANG is de_DE an i start tomcat with -Duser.language=de -Duser.region=DE. what i am doing wrong? thanks, thomas ---

Re: mod_jk failover loadbalancing doesn't recognize hung tomcat

2006-03-23 Thread Mladen Turk
Vidya TR wrote: Hi, This is the first time I am posting a question here on this site. Is this the approach to post a question? In which case how long does it usually take to have a response to the question. Did you even dare to look at the: http://tomcat.apache.org/connectors-doc/config/wor

RES: RES: question regarding alias for context

2006-03-23 Thread Alan Honczar
You are very right, I could do this within my app in context A, but I would have to keep and maintain context A for forwarding... If I change the context A, I will do a permanent solution by writing a JSP that changes the client variable that defines the context name that forms the URL (affecti

Re: Run Tomcat in W2k3 as service

2006-03-23 Thread David Kerber
Ryan Daly wrote: On Thu, 2006-03-23 at 08:52 -0500, David Kerber wrote: I believe you need the permission level which allows you to run as a service, in order to change one. IIRC, this means either power user or administrator permissions. I'm having the service log on as "tomcat".

Re: Run Tomcat in W2k3 as service

2006-03-23 Thread Ryan Daly
On Thu, 2006-03-23 at 08:52 -0500, David Kerber wrote: > I believe you need the permission level which allows you to run as a > service, in order to change one. IIRC, this means either power user or > administrator permissions. I'm having the service log on as "tomcat". Are you saying the user

RE: Redeploying war file kills context xml

2006-03-23 Thread Jim Freeby
We handle the same issue by creating a context.template, which has variables and we use ANT to perform the following steps: 1) Copy context.template to META-INF/context.xml 2) Replace the variables with variables defined in the build.properties file 3) Create the war with the ne

Re: mod_jk failover loadbalancing doesn't recognize hung tomcat

2006-03-23 Thread Filip Hanik - Dev Lists
no response usually means that no one knows the answer, or the person that does know the answer has not read your post. What I would suggest is to decrease the acceptCount on your connector, that way, if all threads are busy, it will not accept any new connections and maybe then mod_jk will fail

Re: mod_jk failover loadbalancing doesn't recognize hung tomcat

2006-03-23 Thread Vidya TR
Hi, This is the first time I am posting a question here on this site. Is this the approach to post a question? In which case how long does it usually take to have a response to the question. Thank you, Vidya -- View this message in context: http://www.nabble.com/mod_jk-failover-loadbalancing-

RE: Bootstrap class - Interface bind - Problem there again.

2006-03-23 Thread Torsten Krah
Hello. Investigated a little bit, got some information but dont know how to trace more. I've made a Thread trace before and after i call my webapp, this was the difference: trace diff begin ### "RMI Reaper" prio=5 tid=0x002b07f7f3f0 nid=6339 in Object.

Re: RES: question regarding alias for context

2006-03-23 Thread Lothar Krenzien
Please be aware of the difference between *redirect* and *forward* ( http://www.javapractices.com/Topic181.cjp ). With the java UrlRewriteFilter package ( http://tuckey.org/urlrewrite/ ) you can only do a *redirect* between different contexts. To do a transparently forwarding you need a web ser

RE: Better Linux Distribution for production environment

2006-03-23 Thread KEREM ERKAN
I prefer Debian on all my production systems. It is very stable. I use packages for only underlying components like openssl and custom compile my Apache, Tomcat MySQL etc. One of my systems has 2 processors, 4 gb RAM and lots of virtual hosts, jsps and servlets on Debian and it works like a charm.

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Allistair Crossley
Except it doesn't :) It works for me. <% com.Qas qas1 = new com.Qas(); com.qas.Qas qas2 = new com.qas.Qas(); out.println(qas1.test()); out.println(qas2.test()); %> I think it's your JAR. Rename your JAR to .ZIP and examine how its packaged t

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Paul Hamer
Hi Allistair, You're missing one vital part :-) You've got only 1 class: com.qas.Qas The problem should occur when you add a second class called: com.Qas Now try com.qas.Qas qas = new com.qas.Qas(); in your JSP again. Regards, Paul Hamer management & development [EMAIL PROTECTED] toHAVE

Re: Better Linux Distribution for production environment

2006-03-23 Thread Alex Turner
I used to use RedHat, but switched to SuSe as the package selection was more up to date. RedHat seems to lag seriously behind current versions of software, and many third party apps require the latest and greatest, which RedHat often doesn't provide in it's enterprise solution. Is RedHat tested b

RES: question regarding alias for context

2006-03-23 Thread Alan Honczar
Yes, Apache 1.3.29. I will try to find those rules. Thank you very much. -Mensagem original- De: Allistair Crossley [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 23 de março de 2006 11:12 Para: Tomcat Users List Assunto: RE: question regarding alias for context I would have thought

Re: Better Linux Distribution for production environment

2006-03-23 Thread Barry Roberts
On Thu, Mar 23, 2006 at 03:32:35AM -0800, korbben wrote: > > Thanks Peter, we have most experience in Fedora Core 1b, but is it a good > distribution for production ? Because of its age, I would say there are better alternatives. > We use Fedora only for intranet server, but now for a extranet s

RE: question regarding alias for context

2006-03-23 Thread Allistair Crossley
I would have thought some Apache [RewriteRule]s would do the trick. Do you use an Apache web server in front of Tomcat (you seem to suggest so with (c)) Allistair -Original Message- From: Alan Honczar [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 14:06 To: Tomcat Users List Subject: RES

RES: question regarding alias for context

2006-03-23 Thread Alan Honczar
Sorry the persistence, but as I still did not found a way of doing that I am reposting and trying to explain myself better. The problem is that my clients are POS based applications and the URL used is fixed. Part of the POSs are pointing to context A and the others to context B because of dif

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Allistair Crossley
I cannot reproduce this issue in 5.5.16 I created a class qas at com.qas Resulting in a fully qualified class name of com.qas.qas Which in a JSP I instantiated with com.qas.qas qas = new com.qas.qas(); No issue. I then refactored to com.qas.Qas And re-tested again without issue. Perhaps

Re: Run Tomcat in W2k3 as service

2006-03-23 Thread David Kerber
Ryan Daly wrote: On Wed, 2006-03-22 at 19:34 -0500, Tim Lucia wrote: You can specify parameters on the various tabs under the servicew app (the tray monitor). You probably want "Startup" in this case, so it would go alongside the "start" option. I did try that. However, each time I

RE: Run Tomcat in W2k3 as service

2006-03-23 Thread Ryan Daly
On Wed, 2006-03-22 at 19:34 -0500, Tim Lucia wrote: > You can specify parameters on the various tabs under the servicew app (the > tray monitor). You probably want "Startup" in this case, so it would go > alongside the "start" option. I did try that. However, each time I put something there, it

Re: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread David Kerber
Allistair Crossley wrote: Tomcat is just adhering to the Sun Java specification naming conventions. Packages should be lowercase. If Eclipse allows it, it's being "nice" to you in the same way that IE is "nice" about rendering invalid HTML. It's better Tomcat forces you to correct your bad nami

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Allistair Crossley
Yes, apologies, that does indeed look suspect. -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 13:40 To: Tomcat Users List Subject: RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package > From: Allistair Crossley [mailto:[EMAIL

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Peter Crowther
> From: Allistair Crossley [mailto:[EMAIL PROTECTED] > Tomcat is just adhering to the Sun Java specification naming > conventions. Packages should be lowercase. The OP's described package names *are* all lower-case, and the class names are uppercase. - Peter

SSL session timeout in Tomcat

2006-03-23 Thread Jordi Guitart Fernandez
Hello, How can I configure the SSL session timeout in Tomcat? Thanks Jordi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Allistair Crossley
Tomcat is just adhering to the Sun Java specification naming conventions. Packages should be lowercase. If Eclipse allows it, it's being "nice" to you in the same way that IE is "nice" about rendering invalid HTML. It's better Tomcat forces you to correct your bad naming conventions than encouragi

RE: Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Paul Hamer
Hi again, Just checked: the same problem occurs with Tomcat 5.5.15. Regards, Paul Hamer management & development [EMAIL PROTECTED] toHAVE websolutions www.tohave.nl [EMAIL PROTECTED] -Original Message- From: Paul Hamer [mailto:[EMAIL PROTECTED] Sent: Thursday, 23 March 2006 13:59 To:

Re: Unable to Configure SSL on Tomcat on AIX

2006-03-23 Thread Markus Schönhaber
anil abraham wrote: > Hi Markus, > The Tomcat log is as folows: > What does this Indicate. It indicates that there is something going badly wrong when Tomcat tries to set up the Connector. Are you using a Sun VM as the lines like > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) m

Tomcat 5.5.16 Bug? messes up when a class has the same name as a package

2006-03-23 Thread Paul Hamer
Hi, I just updated to Tomcat 5.5.16 about 2 days after it was released. Yesterday I walked into what seems to be a bug. I'm not sure whether Tomcat 5.5.15 had this problem as well. I am sure, however, that Tomcat 4.0.6 did *not* have this problem. I've got the following class/package structure:

Re: error calling servlet (in Tomcat)

2006-03-23 Thread Lothar Krenzien
That's right. I also didn'nt realised it . I've copied it from another servlet which indeed has a custon superclass. Thanks for all the help ;) > -Ursprüngliche Nachricht- > Von: "Tomcat Users List" > Gesendet: 23.03.06 13:21:08 > An: "Tomcat Users List" > Betreff: Re: error calling se

Re: Hellp me Don't know whats the problem

2006-03-23 Thread Vinu Varghese
Hi, Put your bean class in a package rather than putting it in the default package and access it like where pack1 is the new package HTH Vinu Kasim wrote: Yes -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 5:34 PM To: Tomcat U

Re: Question on jar file size

2006-03-23 Thread Christopher Molnar
Reason I am asking is we have a web app that is run on laptops and then synced with a main server daily. I am wondering if it is better to (as the thing grows) to break it up into smaller jar files or continue to leave it as one file. I am currently right at 700KB. -Chris (who is doing a ma

RE: Redeploying war file kills context xml

2006-03-23 Thread Tim Lucia
In a previous life, we actually wrote an installer, of which a good part of the effort involved merging the existing (old) context file and the new one, just to preserve settings customized by the customer. (It worked similarly on the web.xml) I too think it would be a nice feature if certain set

Re: Better Linux Distribution for production environment

2006-03-23 Thread Stas Ostapenko
Hi ! I have a similar question. I see that Solaris 10 becoming open. So, it's +1 candidate to use as Linux or BSD alternative. Due both Solaris and Java from Sun, can one hope for extra performance, etc ? Is it really make sense to use Solaris for application server ? I'll wonder if there are no b

Re: error calling servlet (in Tomcat)

2006-03-23 Thread Markus Schönhaber
Vinu Varghese wrote: > Remove the super.doGet call Very good! I didn't notice this one. Regards mks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Question on jar file size

2006-03-23 Thread Allistair Crossley
I don't think so, you may find performance issues I suppose in terms of time to load classes, and memory limitations will constrain you, but theoretically I don't believe so. Xalan is 3MB which is one of the largest we use. Allistair. -Original Message- From: Christopher Molnar [mailto

RE: Hellp me Don't know whats the problem

2006-03-23 Thread Allistair Crossley
Show me your page directive import -Original Message- From: Kasim [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 12:22 To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem Yes -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursda

Question on jar file size

2006-03-23 Thread Christopher Molnar
Probably a stupid newbi question, but worth asking anyways. Are there limitations on the size of a JAR file in a web app? Are there any recommended limitations? Thanks, -Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

RE: Hellp me Don't know whats the problem

2006-03-23 Thread Kasim
Yes -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 5:34 PM To: Tomcat Users List Subject: RE: Hellp me Don't know whats the problem Does your WEB-INF/classes folder have the class stationname.class i.e in the default package? And th

Re: error calling servlet (in Tomcat)

2006-03-23 Thread Vinu Varghese
Remove the super.doGet call Lothar Krenzien wrote: I used the IDE (eclipse) wizard to override the HTTPServlet methods. So initially the methods were 'protected' but because of the described problems I changed it to 'public'. So I think that the methods are truly overriden instead of crea

RE: Hellp me Don't know whats the problem

2006-03-23 Thread Allistair Crossley
Does your WEB-INF/classes folder have the class stationname.class i.e in the default package? And then is it imported with a page directive in the JSP? -Original Message- From: Kasim [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 12:04 To: Tomcat Users List Subject: RE: Hellp me Don't

Re: Better Linux Distribution for production environment

2006-03-23 Thread Oded Arbel
On Thursday, 23 בMarch 2006 13:32, korbben wrote: > Thanks Peter, we have most experience in Fedora Core 1b, but is it a > good distribution for production ? > We use Fedora only for intranet server, but now for a extranet > server, whith maximal security and stability, Fedora is recommended ? As

RE: Hellp me Don't know whats the problem

2006-03-23 Thread Kasim
This is the code generating the problem Southern Command function show(this_layer) { this_layer.style.visibility='visible'; } function hide(this_layer) { this_layer.style.visibility='hidden'; } function make_bold(x) { x.style.fontSize='11px'; } function make_norm

RE: Hellp me Don't know whats the problem

2006-03-23 Thread Allistair Crossley
Looks like you about probaably using the useBean tag incorrectly. Can you post how you use stationname? Allistair -Original Message- From: Kasim [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 11:25 To: Tomcat Users List Subject: Hellp me Don't know whats the problem I am facing followi

RE: Better Linux Distribution for production environment

2006-03-23 Thread korbben
Thanks Peter, we have most experience in Fedora Core 1b, but is it a good distribution for production ? We use Fedora only for intranet server, but now for a extranet server, whith maximal security and stability, Fedora is recommended ? -- View this message in context: http://www.nabble.com/Bette

Hellp me Don't know whats the problem

2006-03-23 Thread Kasim
I am facing following problem while executing my project. Please suggest me the solution.I am using Tomcat 5.0 and Mysql in backend Here stationname is a bean type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exce

RE: Better Linux Distribution for production environment

2006-03-23 Thread Peter Crowther
> From: korbben [mailto:[EMAIL PROTECTED] > Which Linux distribution can i choose for production > environment ? My recommendation would be 'the one you already have most experience with or where you know the most people who can support you'. Distro wars are common; but I've not yet found any d

Re: error calling servlet (in Tomcat)

2006-03-23 Thread Lothar Krenzien
I used the IDE (eclipse) wizard to override the HTTPServlet methods. So initially the methods were 'protected' but because of the described problems I changed it to 'public'. So I think that the methods are truly overriden instead of creating a new method. In the debugger I can see that my

Better Linux Distribution for production environment

2006-03-23 Thread korbben
Hi all, Which Linux distribution can i choose for production environment ? (server: 4go ram, 1 processor, Apache, MySql, Tomcat with 20 webapps). Thanks. Korbben. -- View this message in context: http://www.nabble.com/Better-Linux-Distribution-for-production-environment-t1329639.html#a3549917 Se

Re: Check if file exists in WEB-INF folder

2006-03-23 Thread Rapthor
It works! Thanks. -- View this message in context: http://www.nabble.com/Check-if-file-exists-in-WEB-INF-folder-t1329073.html#a3549945 Sent from the Tomcat - User forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: error calling servlet (in Tomcat)

2006-03-23 Thread Markus Schönhaber
Lothar Krenzien wrote: > Hi, > > I've developed several servlets (with Tomcat) in the past without any > problems. But now I've a servlet which makes me confusing. When I call the > servlet url from a browser I get only error 405 ("HTTP method GET is not > supported by this URL"). Because I don't

RE: error calling servlet (in Tomcat)

2006-03-23 Thread MW Janssen
i think its the .de.ini -Oorspronkelijk bericht- Van: Lothar Krenzien [mailto:[EMAIL PROTECTED] Verzonden: donderdag 23 maart 2006 11:35 Aan: Tomcat Users List Onderwerp: error calling servlet (in Tomcat) Hi, I've developed several servlets (with Tomcat) in the past without any proble

Re: Unable to Configure SSL on Tomcat on AIX

2006-03-23 Thread anil abraham
Hi Markus, The Tomcat log is as folows: What does this Indicate. Mar 23, 2006 2:50:28 PM org.apache.catalina.startup.Catalina load SEVERE: Catalina.start LifecycleException: Protocol handler instantiation failed: java.lang.NullPointe rException at org.apache.coyote.tomcat5.CoyoteConne

error calling servlet (in Tomcat)

2006-03-23 Thread Lothar Krenzien
Hi, I've developed several servlets (with Tomcat) in the past without any problems. But now I've a servlet which makes me confusing. When I call the servlet url from a browser I get only error 405 ("HTTP method GET is not supported by this URL"). Because I don't have any idea about the reason

Re: Check if file exists in WEB-INF folder

2006-03-23 Thread Antonio Petrelli
Antonio Petrelli ha scritto: Rapthor ha scritto: Hello, I intent to check whether a jsp file exists or not in my WebApplication. Doing it this way doesn't work: if (new File("WEB-INF/jsp/test.jsp").exists()) return true; Is there a way to ge

Re: Check if file exists in WEB-INF folder

2006-03-23 Thread Antonio Petrelli
Rapthor ha scritto: Hello, I intent to check whether a jsp file exists or not in my WebApplication. Doing it this way doesn't work: if (new File("WEB-INF/jsp/test.jsp").exists()) return true; Is there a way to get the WebApplication's path

Check if file exists in WEB-INF folder

2006-03-23 Thread Rapthor
Hello, I intent to check whether a jsp file exists or not in my WebApplication. Doing it this way doesn't work: if (new File("WEB-INF/jsp/test.jsp").exists()) return true; Is there a way to get the WebApplication's path that I can specify an

Re: return (HexUtils.convert(md.digest())) in RealmBase

2006-03-23 Thread Alessandro Colantoni
Hi ! I'm lost. Sorry. I don't understand when you say >I can guarantee that >MessageDigest.digest(), which returns an array of bytes, will NOT return an >array of bytes every time that can be transmitted on a URL i.e. is a printable >string. I will try to explain better what I have done I have an

RE: [Tomcat-Struts]Action Servlet Is not available

2006-03-23 Thread Allistair Crossley
The ActionServlet in my experience with Struts indicates that your webapp could not be started by Tomcat. As the previous poster says, you ought to examine the logs as there is bound to be a stack trace for the root cause. Cheers, Allistair -Original Message- From: Vijaya S [mailto:[EMAI

Re: [Tomcat-Struts]Action Servlet Is not available

2006-03-23 Thread Antonio Petrelli
Vijaya S ha scritto: Hi, Deployment went through fine but I get a 'Servlet Not Available error' while executing the application. Remember, first check the log, then write to the mailing list... Antonio - To unsubscribe, e-mai

Re: SSL handshake times out on Tomcat 5.5

2006-03-23 Thread Markus Schönhaber
Aust, Christian wrote: > although I've read all the docs and FAQs I could find, I can't get Tomcat > 5.5.15 to do SSL on Windows with SUN JDK 1.5. > > I've imported the keys according to the docs, starting with the root CA > cert and going all the way up until the cert that matches my key request.

[Tomcat-Struts]Action Servlet Is not available

2006-03-23 Thread Vijaya S
Hi, I have an environment where the development version is 5.0.28 and the production version of tomcat is 5.5.4. Recently I deployed a web application to the production server. Deployment went through fine but I get a 'Servlet Not Available error' while executing the application. What can be the

Re: Would like to track googlebots, or spiders from site

2006-03-23 Thread Bruno Georges
Hi Scott I used a robots list in the past in combination with mod_rewrite on apache => RewriteMap which lookup a list I got from http://fantomaster.com/fa_SE-LIST.html and other sources. This is very useful for cloacking :-) Anyway there different approach to it. Here are few ideas a) You could al