Re: Reading Address Book

2002-06-13 Thread RNivas
Ravi, I want something so that user no need to export in any formay. In some cases user may be slow...i might not be aware of exporting idea. I want to run some code (JavaScript) to read the address book. RNivas - Original Message - From: Ravishankar S [EMAIL PROTECTED] To: Tomcat

about importing the existing certificate.

2002-06-13 Thread KeigoTanaka
hi. I want to use Tomcat SSL standalone, and I have a certificate for the apache + mod_ssl generated by openssl and verified by verisign. Can it use the existing certificate ? I'm using Tomcat 3.3 and JDK-1.3.1 and I also tried J2SDK-1.4. If it can, please tell me how can I do it or some

restarting tomcat programatically

2002-06-13 Thread Ankit
hi, i am trying to restart tomcat from my web application. Is there anyway i can do it programmatically? Does Tomcat provide any class to allow restart(I know about org.apache.tomcat.startup.Tomcat, i have tried this, It does not work b,coz once VM dies it does not call start)? Thanx in

Re: flush=false not working?

2002-06-13 Thread Craig R. McClanahan
On Wed, 12 Jun 2002, Jim Michael wrote: Date: Wed, 12 Jun 2002 13:14:05 -0500 From: Jim Michael [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: flush=false not working? Thanks... that totally sucks! I found at least five web sites that

browser image caching problem

2002-06-13 Thread William Shulman
All- For some reason, Tomcat seems to be preventing my browser from caching images. Has anyone had this problem or know how to fix it? thanks in advance -will -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: restarting tomcat programatically

2002-06-13 Thread Marek, Tomas
Try to call shell/DOS script (startup.bat/sh) from Java. tom -Original Message- From: Ankit [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 8:36 AM To: [EMAIL PROTECTED] Subject: restarting tomcat programatically hi, i am trying to restart tomcat from my web application. Is

RE: Authenticating against Microsoft ActiveDirectory

2002-06-13 Thread Alberto Bolchini
Me too I would really love to see a little more detail about how you did this if you don't mind. Much thanks, Michael Teter --- Don Sauer [EMAIL PROTECTED] wrote: You can script your JSP/servlets to do this with application code -- another way would be in the server.xml to configure

Solaris 2.6

2002-06-13 Thread Matthew Oatham
Hi, I have installed Tomcat 4.0.3 (jakarta-tomcat-4.0.3.tar.gz) on Solaris 2.6. When running shutdown.sh the following exception is thrown: Bootstrap: Class loader creation threw exception java.lang.NoClassDefFoundError: java/util/ArrayList at

Multiple IP addresses

2002-06-13 Thread Matthew Oatham
Hi, I am running Tomcat on a machine with multiple IP addresses, how do I tell Tomcat which of these addresses it should be running on? Do I add the IP address to the connector tag in server.xml? i.e.: Connector className=org.apache.catalina.connector.http.HttpConnector

Re: restarting tomcat programatically

2002-06-13 Thread Ravishankar S
u can execute DOS/shell scripts like this Runtime rt = new Runtime(); Process p = rt.exec(command); int status=p.exitValue(); status is 0 if command executes successfully but i don't know if it is really necessary to start the server from an application.. ravi - Original Message

Re: Authenticating against Microsoft ActiveDirectory

2002-06-13 Thread @Basebeans.com
Subject: Re: Authenticating against Microsoft ActiveDirectory From: Vic C. [EMAIL PROTECTED] === Another way is to have create a view in MS SQL against the Active Directory. Then use that SQL table for JDBC relms. Vic Alberto Bolchini wrote: Me too I would really love to see a little more

Re: Announce: Upcoming Struts training in NYC on 8/2.

2002-06-13 Thread @Basebeans.com
Subject: Re: Announce: Upcoming Struts training in NYC on 8/2. From: Vic C. [EMAIL PROTECTED] === Upcoming Struts training in NYC on 8/2. http://www.basebeans.com/classReservation.jsp More info on MVC-programmers mail list as the data approaches. August 2nd at 7:45 AM in NYC at the

Must I restart Tomcat every time I install a new app?

2002-06-13 Thread Luca Ventura
Hello everybody! I have installed Tomcat 4 as plug-in of IIS to support JSP/SErvlets, following the instructions indicated at URL: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html All works fine but every time I modify the file uriworkermap.properties to add or remove an

Changing Default Websites???

2002-06-13 Thread S W
Hi Everyone, I've configured TomCat to run off port 80, however I'm not sure how I change the website so that it starts up my website instead of the default examples/jsp/index.html page. I've checked the server.xml and web.xml configuration files but still no luck. Any help would be greatly

RE: Reading Address Book

2002-06-13 Thread Ilya Khandamirov
Are you asking on how to write your own nimda virus or something in that art? Funny question, but this isn't the right mailing list for that, i think. Regards, Ilya -Original Message- From: RNivas [mailto:[EMAIL PROTECTED]] Sent: Montag, 24. Juni 2002 08:25 To: Tomcat Users List

RE: Changing Default Websites???

2002-06-13 Thread Garling, Matthew
Hi S W, Take a look in the tomcat.conf file. There you will find the following entries: ApJServMount default /root and ApJServMount /examples /root. You need to change these to whatever paths you want or require. good luck. -Original Message- From: S W

Security - Attack

2002-06-13 Thread Laura
Hi all, well I have, in my opinion, a very interesting question. Last week we went in a production enviroment: we have apache + tomcat with an important web application xxx (http.conf has JkMount /xxx worker). Well, this morning I have discovered that somebody has tried to attack my server:

AW: Multiple IP addresses

2002-06-13 Thread Sven Woltmann
Yes, that's exactly what to do. You can also configure different Tomcat services on different IP addresses if you want. Sven -Ursprüngliche Nachricht- Von: Matthew Oatham [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. Juni 2002 09:13 An: '[EMAIL PROTECTED]' Betreff:

RE: Security - Attack

2002-06-13 Thread Stuart Stephen
I think they are code red attacks. These shouldn't be anything to worry about on a Tomcat server if I am correct in my thinking. They only affect IIS. -Original Message- From: Laura [mailto:[EMAIL PROTECTED]] Sent: 13 June 2002 09:35 To: Tomcat Users List Subject: Security - Attack Hi

Trouble Compiling mod_webapp

2002-06-13 Thread Bruce Wright
I have apache 2.0.36 compiled and installed on RedHat 7.3 I'm using the following two source archives: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/webapp/release/v1.2.0/src/apr_APACHE_2_0_35.tar.gz

Restart a single Tomcat service out of several running services?

2002-06-13 Thread Sven Woltmann
Hi, Our server runs several Tomcat services for different websites. Every time I change a Java class for my my applications, I must restart Tomcat. All my websites are then down for up to 30 seconds, even the ones that don't use the changed classes. Is it possible to only restart one of the

Re: Reading Address Book

2002-06-13 Thread RNivas
Oh No not at all. Let me tell you my exact problem. My Web based Application running on Tomcat+WinNT4.0. Application is having facility to email document to the other users(This is same like 'Email This' on some other portal also). Right now sender (Register User) of document type full address

Re: Reading Address Book

2002-06-13 Thread David Cassidy
Lets see if I understand ... You have registered users of your application. When your user (lets call him fred) comes to your site and wants to send a message to his friend (bill) he clicks on EMAIL THIS You want a form that has fred's address book, so that fred only need click on 'bill' to

Re: Security - Attack

2002-06-13 Thread David Cassidy
It's the usual muppet that has been infected... Apart from cloging up your logs they do nothing on an apache server :) Of course if you are daft enough to run IIS .. :- D Stuart Stephen wrote: I think they are code red attacks. These shouldn't be anything to worry about on a Tomcat

R: Client session problems when MSIE is run within Outlook

2002-06-13 Thread Alessio Fiore
Hi Jeff, just for information, the problem is caused by a bug (?) of MSIE: that occurs when you have access to your application clicking on a hyperlink (for example if you have a custom local homepage with links to your frequently used applications/sites, or you click on a hyperlink in an outlook

Other question

2002-06-13 Thread Laura
Hi all, thanks for your reply (Security - Attack): you are telling me that I shouldn't worry because Apache is secure. (I hope it) I have one other question: If Tomcat shouts down for some cause, how can I know it? For example, Apache has a PID and so you can control if the apache process,

Re: Other question

2002-06-13 Thread David Cassidy
Laura, there are at least 2 ways... have a look in the ps list - there should be mention of a process running with a name that includes Tomcat (?!!!) The other way - far better as it actually tests that the system is working ... use wget or curl - use your fave and make an access to your

Re: Other question

2002-06-13 Thread Ravishankar S
hi Laura, when tomcat runs an instance of java is always running..try ps -ax | grep 'java*' it should give a bunch of java instances depending on the no of threadshere's what my redhat 6.2 said 21619 pts/3S 0:14 /usr/java/jdk1.3.1/bin/i386/native_threads/java -clas 21664 pts/3

Re: Other question

2002-06-13 Thread David Cassidy
Hey Ravi, Try doing ps auxwwwf it'll give you alot more detail the ps -ax won't let you actually see what java is running David Ravishankar S wrote: hi Laura, when tomcat runs an instance of java is always running..try ps -ax | grep 'java*' it should give a bunch of java instances

AW: Other question

2002-06-13 Thread Ralph Einfeldt
One solution is to look at the open ports. Onother is to look at the process tree. How to do that, depends on your operation system. E.g.: if tomcat is configured to use port 8007 under linux you can use something like that: lsof -i :8007 -Ursprüngliche Nachricht- Von: Laura

RE: REMOVING EXAMPLES AND WEBDAV PERMANENTLY

2002-06-13 Thread John Niven
-Original Message- From: Charles Sanders [mailto:[EMAIL PROTECTED]] Sent: 12 June 2002 21:59 To: Tomcat Users List (E-mail) Subject:REMOVING EXAMPLES AND WEBDAV PERMANENTLY I need some help with getting the paths to

Re: Other question

2002-06-13 Thread Ravishankar S
ah yes another intresting cmd... nmap localhost or nmap IP gives u http-proxy 8080 jserv 8007 this of course is in linux...i dn't know if it's available in solaris...and also i believe it has some export restrictions ravi - Original Message - From: David Cassidy [EMAIL PROTECTED]

Where is workers.properties???

2002-06-13 Thread Luca Zancan
Hi everybody, I'm an absolute beginner with Tomcat and I'm installing Tomcat 4.0.3 on a Linux RedHat 7.2 (kernel 2.4.7-10). I'm trying to use AJP connector 1.3 to make Tomcat work with Apache 1.3.24. Tomcat works great in standalone mode: no problems (Ive tested with http:/192.168.254.1:8080)

How good is Tomcat to Attacks

2002-06-13 Thread AMRAN121
Hi All I was reading the security attack posting and I was very interested to know also; 1) How good is Tomcat to attacks? 2) Is their a web site which rates web servers on how robust a server is to attacks? 3)Is it possible to attack tomcat if you have Apache as the web server on one

Re: How good is Tomcat to Attacks

2002-06-13 Thread David Cassidy
it's really one of those 'what type of attack' questions. Tomcat / Apache / IIS / IPlanet / etc are all open to attack ( some -IIS- more than others :-^) ) You can for example generate a DOS attack that will take down any/all of them. You can try various buffer overflow attacks to take down

Re: Where is workers.properties???

2002-06-13 Thread zibie
My question is: where is the workers.properties file??? Is it not generated automatically??? I've downloaded a binary version of mod_jk (mod_jk-01.so) and therefore I've not compiled it: I've simply copied it in /usr/local/apache/libexec/mod_jk.so... AFAIK workers.properties is not create

Re: Other question

2002-06-13 Thread zibie
I have one other question: If Tomcat shouts down for some cause, how can I know it? I think the best method is (on linux systems) # netstat -a -n | grep LISTEN if tomcat work ok, you'll get: tcp0 0 0.0.0.0:80010.0.0.0:* LISTEN tcp0 0 127.0.0.1:8005

Fw: Reading Address Book

2002-06-13 Thread RNivas
Dear David you bang on target. How do application can read fred's address book of Microsoft Outlook. As Fred click on Email this. There should be one pop with email addresses from Microsoft Outlook or Outlook Express not from data base. My application do not have the address of

How can I get rid of tomcat's redirect to its own ip address?

2002-06-13 Thread Michael K.
We want to use a reverse proxy server (relay server) to shield the actual IIS/Tomcat server from direct internet access (- two physical server, one for reverse proxy and the other for IIS/Tomcat). But the IIS/Tomcat redirects requests to its own ip, which is not accessible through the

RE: Security - Attack

2002-06-13 Thread Cato, Christopher
You should do what I did. For Code Red and similar exploits, create a bunch of mod_rewrite filters (in httpd.conf - for Apache) that redirects all those requests to www.microsoft.com instead. After all, they ARE responsible, aren't they? :) -Original Message- From: Stuart Stephen

RE: Tomcat not redirecting request from HTTP to HTTPS

2002-06-13 Thread Donie Kelly
I found the problem... Put the following somewhere in your code System.setProperty(java.protocol.handler.pkgs, com.sun.net.ssl.internal.www.protocol); Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); http redirects now work. Maybe these packages should be installed by

AW: Security - Attack

2002-06-13 Thread Ralph Einfeldt
I have doubts that the viruses will follow the redirect. I prefer to to answer with a 400/403/406 (still will be logged) or 204 (No log entry). I also have doubts that this is legal, so be carefull what you do. -Ursprüngliche Nachricht- Von: Cato, Christopher [mailto:[EMAIL

RE: Security - Attack

2002-06-13 Thread Cato, Christopher
Gaah it doesn't matter. I have strong doubts about Microsoft being legal also. Anyways, t'was on a home machine that got hammered by viruses all the time. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: den 13 juni 2002 14:01 To: Tomcat Users List Subject:

Tomcat and an xml file for repository of texts

2002-06-13 Thread Sébastien Dui
Hi, I'm actually developping a web application for the european market, translated in a couple of different languages. In order to allow the translators and content writers access the designers layouts without modifying it, I'm thinking about making an xml file acting as a

Re: Tomcat and an xml file for repository of texts

2002-06-13 Thread peter lin
that would depend on how it's going to be used. If you're talking about a content management system which has multi-lingual support, you're not going to need super fast response time. On the otherhand, if it's a portal like site which support multiple languages, then you're better off using

Re: Reading Address Book

2002-06-13 Thread RNivas
Dear David you bang on target. How do application can read fred's address book of Microsoft Outlook. As Fred click on Email this. There should be one pop with email addresses from Microsoft Outlook or Outlook Express not from data base. My application do not have the address of Bill in

RE: Security - Attack

2002-06-13 Thread Jean Christophe Rousseau
I prefer to to answer with a 400/403/406 (still will be logged) or 204 (No log entry). For my part I chose not to answer at all this kind of requests and shut down the socket connexion. (I had this problem while testing a home made web server). Christophe -- To unsubscribe, e-mail:

RE: Tomcat and an xml file for repository of texts

2002-06-13 Thread Sébastien Dui
It's a 'somethink like a' portal application. Do you think that the performance bottle neck would happen with the disk issue (reading the same file over and over...) or with the XML treatment (I'm thinking about using Xerces) ? Maybe caching the XML repository in memory could help ? Regards,

Re: Security - Attack

2002-06-13 Thread peter lin
apache and tomcat aren't vulnerable, but putting up a firewall to block the IP might be a good idea. For my own server I zone alarm pro, which will block IP trying this exact type of exploit. peter Laura wrote: Hi all, well I have, in my opinion, a very interesting question. Last

changing default home page

2002-06-13 Thread Altug B. Altintas
How can i change Tomcat's default home page ? Now it looks at a.. /path/to/tomcat/webapps/ROOT/index.html Regards Altug. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

AW: Security - Attack

2002-06-13 Thread Ralph Einfeldt
On which level did you implement this ? - apache/iis configuration - tomcat configuration - tomcat filter/valve Or where else ? -Ursprüngliche Nachricht- Von: Jean Christophe Rousseau [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. Juni 2002 14:21 An: Tomcat Users List

RE: changing default home page

2002-06-13 Thread andre . powroznik
ROOT is the default application (/) and it can be changed in conf/server.xml. Search your files for the node : welcome-file-list. It may be defined in the web.xml of ROOT or in conf/web.xml. -Original Message- From: Altug B. Altintas [mailto:[EMAIL PROTECTED]] Sent: 13 June 2002 14:31

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Martin Jacobson
anthony.dodd wrote: Hi I've posted a solution see Generic DataSource Resource Factory Available. JDBC Data Source on the tomcat user maillist. Tony Yes, but... Like many others on this list, I too have been unable to get the std JNDI DataSource thingy working; as an interim

Re: Debugging

2002-06-13 Thread Larry Meadors
if u have some fancy IDE... What!?! No, no, no. Go to www.netbeans.org, and download netbeans. It is free, has an excellent JPDA debugger, is free, works great with cvs, is free, has some really excellent (free) plugins (xml editing, database explorer, junit integration, etc...), and it is

AW: Security - Attack

2002-06-13 Thread Ralph Einfeldt
Blocking the IP can be a dangerous thing: - If there are several people behind a proxy, you will disable all. - If the attacking pc has a provider wih dynamic IP's it dousn't help at all, it will just diable all user users that get this IP in the future. - It makes you vulnerable to dos

RE: changing default home page

2002-06-13 Thread Garling, Matthew
This is not true for every version of Tomcat though. I believe Andre is refering to 4.0.3 and 4.1.X. In 3.2.X and 3.3.X you need to change/alter the following entries: ApJServMount default /root and ApJServMount /examples /root. in the file tomcat.conf. -Original

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Neil Milne
I'm using the JNDI Datasource setup fine with Tomcat 4.0.3 and Sybase. In server.xml I have: Resource name=jdbc/db auth=Container type=javax.sql.ConnectionPoolDataSource/ ResourceParams name=jdbc/db parameter namedriverClassName/name valuecom.sybase.jdbc2.jdbc.SybDriver/value /parameter

RE: Security - Attack

2002-06-13 Thread Jim Urban
create a bunch of mod_rewrite filters (in httpd.conf - for Apache) that redirects all those requests to www.microsoft.com Can you provide an example? Jim -Original Message- From: Cato, Christopher [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 6:38 AM To: 'Tomcat Users List'

Re: AW: Security - Attack

2002-06-13 Thread peter lin
it's my home system, so I don't care if some one I don't know gets blocked. For production system it would be better to just filter as some one else said earlier. I run both tomcat and orion, so neither are vulnerable, but I rather not clean up logs every week because of stupid IIS exploits.

Re: Security - Attack

2002-06-13 Thread Tim Funk
Warning: this may start flame war - but its my opinion. What is the purpose of detecting and trying to prevent these attacks? If someone code reds (or similar) you - they get a 404 error. Why waste the extra processing power and extra config maintenance on something that does no harm. When

RE: Security - Attack

2002-06-13 Thread andre . powroznik
Moreover, 99.99 % of these request come from standard WNT / W2K users who started their IIS service to test what it can be and who never stopped it. They are not likely to clean their computer because they don't know they are infected... -Original Message- From: Tim Funk [mailto:[EMAIL

RE: changing default home page

2002-06-13 Thread Dennis van den Berg
You probably have something like this: Context path= docBase=ROOT debug=0/ In your server.xml This means if a user does not specify anything after /path/to/tomcat it takes ROOT as the default webapp. Furthermore you can specify welcome-pages for each webapp in your web.xml's (see the DTD).

RE: Security - Attack

2002-06-13 Thread Cato, Christopher
a simple purpose - since it's my home machine, i did it just for fun. Since M$ allowed Code Red and similar viruses to thrive on Windows systems, while saying that Windows is perfectly secure, why not try a redirect to their systems. At least I got a laugh out of it. christopher - a bored guy.

RE: Reading Address Book

2002-06-13 Thread Douglas, Rory
Title: RE: Reading Address Book Hi there If you are running Exchange Server, you can access Contacts stored in address lists on the server via LDAP (assuming the Exchange Server has the LDAP protocol enabled). I'm not sure that you can get at the addresses in a user's personal Address Book

RE: Security - Attack

2002-06-13 Thread Mike Millson
I think it makes sense to filter these out. They're easy to identify by looking for the .exe extension. I think its less demanding on the server to do a redirect than it is to display an error page and write an entry to the log file. Why should I let my log files fill up w/ garbage? And what

Multiple Processes for Tomcat

2002-06-13 Thread Ravi Verma
Dear Friends, How can configure Tomcat so that it starts multiple processes instead of just one? I have heavy load and a single process can attach to more than 3 Gig of memory. If I could spawn multiple processes for a single Tomcat instance, I could use more memory. Apache has similar

RE: Security - Attack

2002-06-13 Thread Jim Urban
Warning: this may start flame war - but its my opinion. Don't worry, you are entitled to your opinion and I'll defend your right to express it (I may not agree, but that doesn't matter). What is the purpose of detecting and trying to prevent these attacks? I didn't plan to do it, I just wanted

AW: Security - Attack

2002-06-13 Thread Ralph Einfeldt
I wouldn't say that they do no harm: - They mess up your statistics If you don't change your configuration it's not possible to distinguish the 404 from the viruses from others that might indicated errors in your site. (I always get nervous if a server has a 'file not found' count 0)

RE: restarting tomcat programatically

2002-06-13 Thread Shapira, Yoav
Howdy, If your own webapp is running on the tomcat instance you're trying to restart, then HUH? ;) One VM can always restart another, as others have proposed. So you can have a command line program, shell scripts, another webapp running on another tomcat instance, etc. Alternatively, look at

Java version

2002-06-13 Thread Matthew Oatham
Hi, I've downloaded Tomcat 4.0.3 for Solaris 2.6 but not sure it's starting up correctly, when I run shutdown.sh I get a Java exception. My first thought is the JVM version does anyone know which version Tomcat 4.0.3 needs? I'm using 1.1.3. Many thanks Matt. -- To unsubscribe, e-mail:

RE: Java version

2002-06-13 Thread Heap, John
do you mean jvm 1.1.3 or 1.3.1 ? if the former I suspect thats the problem. John. -Original Message- From: Matthew Oatham [mailto:[EMAIL PROTECTED]] Sent: 13 June 2002 14:34 To: '[EMAIL PROTECTED]' Subject: Java version Hi, I've downloaded Tomcat 4.0.3 for Solaris 2.6 but not sure

RE: Tomcat4.1.2 shutdown error

2002-06-13 Thread Shapira, Yoav
Howdy, I actually disagree with the interpretation of the error: if you try to shutdown tomcat when it's not running, you'll get a ConnectionRefused exception from when it tries to connect to the shutdown port. But I don't have an answer to the original question ;) Is Remy watching this thread?

mod_jk and Mapping configuration error

2002-06-13 Thread Alex Short
I can't for the life of me figure out my problem. I have apache running all peachy, and added in mod_jk to service *.jsp to tomcat. I'm trying to first get a single Virtual host working with this config, and my webroot is /opt/web/www.ialex.net In my VirtualHost i have my JkMount JkMount

RE: Java version

2002-06-13 Thread Matthew Oatham
Yea I've got 1.1.3 just read in RUNNING.txt that 1.2 at the least is required. Thanks. -Original Message- From: Heap, John [mailto:[EMAIL PROTECTED]] Sent: 13 June 2002 14:30 To: 'Tomcat Users List' Subject: RE: Java version do you mean jvm 1.1.3 or 1.3.1 ? if the former I suspect

RE: Simple j_security_check example not working

2002-06-13 Thread Jaspreet.Singh
Replying to my own message .. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8976 Don't know if it applies in my situation .. Jas -- Jaspreet Singh Application Solutions Developer The Ultimate People Company Phone/Fax: 0113 20 10 641/666 Mobile: 07866 260204 Web: www.upco.co.uk

Re: Java version

2002-06-13 Thread kf platypus
I might be wrong but wouldn't you need at least a 1.2 jvm for the servlet/jsp architecture. I'm pretty sure others will agree. Give that a whirl. 1.3.1 is the latest fully supported JVM. From: Matthew Oatham [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL

Re: Security - Attack

2002-06-13 Thread Laura
Hi all, thanks for your help. What do you suggest me to do? Whe you say :So it makes some sense to change the configuration for apache, what do you mean? Laura - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June

RE: Solaris 2.6

2002-06-13 Thread Shapira, Yoav
Howdy, Simple test: go to your $JAVA_HOME/jre/lib, do jar tvf rt.jar | grep ArrayList if you're running 1.3.1, you should see two lines, one for java/util/ArrayList and one for java/util/Arrays$ArrayList. If they're not there, you're not using 1.3.1. ;) I think I saw an earlier post from you

RE: Scheduling Servlet

2002-06-13 Thread Shapira, Yoav
Howdy, Check out Flux (a stand-alone commercial product), or maybe Turbine Fulcrum which has a scheduling service and is free (under the apache license). Yoav Shapira Millennium ChemInformatics -Original Message- From: Adrian [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002

Re: flush=false not working?

2002-06-13 Thread Jim Michael
What would you propose a servlet container do when a page has three different includes, each of which wants to set the same header to some different value? Remember that, as far as the client is concerned, this is a single request, so there is no such thing as a last modified timestamp for only

Re: Security - Attack

2002-06-13 Thread peter lin
Everyone has their preference, but the reason I do it is because of maintenance. I can think of other reasons why a person may want to filter the traffic. 1. keep weblog clean 2. reduce bandwidth usage There are lots of ways to filter out the stuff for weblog analysis, so writing a filter

Re: Where is workers.properties???

2002-06-13 Thread Luca Zancan
Thank you very much, I've downloaded jakarta-tomcat-connectors...src.tar.gz and now I'll try to setup it. (first I'll read all the documentation I've found in the jk/doc subdiretory) Thanks again. Luca zibie wrote: My question is: where is the workers.properties file??? Is it not

RE: REMOVING EXAMPLES AND WEBDAV PERMANENTLY

2002-06-13 Thread Charles Sanders
Thanks John - After removing them from the webapps directory they no longer are installed. Thanks again. Charles -Original Message- From: John Niven Sent: Thursday, June 13, 2002 5:08 AM To: 'Tomcat Users List' Subject: RE: REMOVING EXAMPLES AND WEBDAV PERMANENTLY

RE: Security - Attack

2002-06-13 Thread Cato, Christopher
Basically do one of these: 1) ignore the code red lines 2) read up on mod_rewrite and write a couple of filters. documentation is at the www.apache.org site -Original Message- From: Laura [mailto:[EMAIL PROTECTED]] Sent: den 13 juni 2002 15:35 To: Tomcat Users List Subject: Re:

jakarta-servlet error

2002-06-13 Thread Heap, John
hi all, Setup. w2k sp2; Apache 2.0.36; Tomcat 4.0.3 or 4.0.4-b3; jakarta-tomcat-connectors 4.0.2-01 or 4.0.4-b3. (apache using OpenSSL) using the mod_jk.dll connector, type ajp13 Tomcat works fine as a standalone but when attempting to access *.jsp through apache it returns the error, Error

Re: Restart a single Tomcat service out of several running services?

2002-06-13 Thread Adam Pfeiffer
Here is what you do: First, follow the directions in Manager App HOW-TO included with the tomcat documentation. Once this is done, you can use the manager app reload function to reload the web app. This also refreshes any newly compiled classes (e.g. javabeans) that you may have included in

Re: Reading Address Book

2002-06-13 Thread Douglas, Rory
Title: Re: Reading Address Book Sorry about the HTML in my last post!! Hi there If you are running Exchange Server, you can access Contacts stored in address lists on the server via LDAP (assuming the Exchange Server has the LDAP protocol enabled). I'm not sure that you can get at the

Coyote, tomcat4 and apache, catalina.Connector not found

2002-06-13 Thread Regis Muller
Im trying to connect tomcat4 and apache with coyote and when I launch tomcat here is what I get: java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/apache/catalina/Connector at java.lang.ClassLoader.defineClass0(Native Method) at

Re: mod_jk and Mapping configuration error

2002-06-13 Thread pjcrump
Alex, What version of Tomcat are you using? Also, I'm trying to resolve an issue I have (mod_jk not working). Do you have a procedure on how to get mod_jk working? Thanks.. Quoting Alex Short [EMAIL PROTECTED]: I can't for the life of me figure out my problem. I have apache running all

Re: browser image caching problem

2002-06-13 Thread Eric Everman
I wouldn't think this is a Tomcat problem - Is it possible that your pages are setting one or all of the nocache headers? O'Reilly has a commonly used JSP tag that includes this in a page. Does the same browser cache images from other sites? Eric Everman At 01:45 AM 6/13/2002, you wrote:

Re: Other question

2002-06-13 Thread Rick Fincher
Hi Laura, Tomcat actually does have a pid. It is a java application. Under Solaris if you do a ps -elf |grep nativ you will see a listing beginning with your JAVA_HOME and ending with ../bin/sparc/nativ_t. That's the pid of the java virtual machine. If you have multiple java apps running

Re: Other question

2002-06-13 Thread Rick Fincher
Under Solaris you have to use /usr/ucb/ps -ax |grep 'java*' to use the Berkeley version of ps. This gives a nice listing of the command line flags too. Rick - Original Message - hi Laura, when tomcat runs an instance of java is always running..try ps -ax | grep 'java*' it

Re: browser image caching problem

2002-06-13 Thread William Shulman
My browser is caching images from other pages. Also, I reduced my test case to just requesting an image file directly from tomcat and watching tomcat serve it over and over again. -will Eric Everman writes: I wouldn't think this is a Tomcat problem - Is it possible that your pages are

Re: Other question

2002-06-13 Thread Tim Funk
For what its worth - I created (and use) a LifecycleListener that runs on startup which logs the process ID into a file called tomcat.pid. Which is created by a shell script called writepid.sh. Below is all the code to get this to work. This code also assumes your current working directory is

RE: Trouble Compiling mod_webapp

2002-06-13 Thread Turner, John
I got the same error last week. I fixed it by getting and installing APR from CVS according to the mod_webapp README.txt. Also make sure that the apxs your install is finding is the Apache 2 apxs...if this is a machine that also has Apache 1.x, the buildconf script may be picking up the Apache

mapping upper-case to lower !

2002-06-13 Thread Walid Al-Abbadi
hi again, i use Tomcat4.0.3 with Apache2.0.36 on win2k.. i have a silly problem .. if i have a page WORK.jsp [capital letters] and i try to request it by http://localhost/work.jsp [small letters] .. i got an 404 error : The requested resource is not available (/work.jsp). i must

RE: mapping upper-case to lower !

2002-06-13 Thread Marek, Tomas
Just rename your .jsp files using non-capital letters. -Original Message- From: Walid Al-Abbadi [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 5:27 PM To: [EMAIL PROTECTED] Subject: mapping upper-case to lower ! hi again, i use Tomcat4.0.3 with Apache2.0.36 on win2k..

Re: mapping upper-case to lower !

2002-06-13 Thread Walid Al-Abbadi
i know that easy solution .. but i want a general one to my application , so any user can type Capital/small letters to request the page without any limitation on only using small letters ! Marek, Tomas writes: Just rename your .jsp files using non-capital letters. -Original

RE: JNDIRealm authentication

2002-06-13 Thread Ryan
Josh, It depsnds on your LDAP server, if you are running openldap, look at you slapd.conf file and you should see a rootpw entry, which is what you should use for you connectionPassword. Ryan --- Josh Fenlason [EMAIL PROTECTED] wrote: Does anyone know what the value of connectionPassword, in

front controller pattern and security

2002-06-13 Thread John Gregg
Hi all. I've been thinking about how the j2ee front controller pattern (used by Struts et al.) does/does not take advantage of url-based authorization constraints in web.xml. I want to avoid having to check roles in my own code as much as possible. At first I thought I could declare a URL like

  1   2   3   >