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

[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: 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.

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,

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

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

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 and

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

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 get

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: 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

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

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 have

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

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

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

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.

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:

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

RE: Hellp me Don't know whats the problem

2006-03-23 Thread Kasim
This is the code generating the problem html head titleSouthern Command/title jsp:useBean id=station class=stationname scope=page/ script function show(this_layer) { this_layer.style.visibility='visible'; } function hide(this_layer) { this_layer.style.visibility='hidden'; }

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 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: 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

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]

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:

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 jsp:useBean id=station class=pack1.stationname scope=page/ where pack1 is the new package HTH Vinu Kasim wrote: Yes -Original Message- From: Allistair Crossley [mailto:[EMAIL

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 users@tomcat.apache.org Gesendet: 23.03.06 13:21:08 An: Tomcat Users List

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: 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)

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: 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 encouraging

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

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: 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 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: 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:

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: 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

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: 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 http://httpd.apache.org/docs/1.3/mod/index.html -- Hassan Schroeder

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 session-timeout value in either the global conf/web.xml or the

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

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