Re: Webdav and security

2003-08-26 Thread Pike
Hi Duncan check this http://www.mail-archive.com/[EMAIL PROTECTED]/ msg101208.html see the tags specified there ? if i get it right, you dont want to open the methods GET and POST for everyone, and after that, you want to restrict all methods (PUT,DELETE,PROPFIND,etc) to a certain role does th

Re: TOMCAT User

2003-08-26 Thread Filip Hanik
Mensagemyes, look it up in the HttpServletRequest API, I think it is something like getUserPrincipal() Filip - Original Message - From: Oscar (Eccox) To: Tomcat Users List Sent: Tuesday, August 26, 2003 2:38 PM Subject: TOMCAT User Hi, Is there any attribute on the REQU

Re: newbie - finding class files

2003-08-26 Thread Pike
Hi thanks for your response (sorry about the repeated post - my mistake) What's wrong with putting them in CATALINA_HOME/common/lib? well, nothing. it just sounds very ugly, having the same jar files running twice in one tomcat, once in server/lib and once in common/lib. is this how its _normally

RE: how to make a scheduled event on tomcat

2003-08-26 Thread Kevin Williams
Or if you're on a linux environment, just use crontab by itself. I've heard there's something similar in the windows environment as well. On Tue, 2003-08-26 at 13:25, Shapira, Yoav wrote: > > Howdy, > Like JCrontab? http://jcrontab.sourceforge.net/index.shtml ;) > > Yoav Shapira > Millennium Ch

RE: newbie - finding class files

2003-08-26 Thread Stuart MacPherson
What's wrong with putting them in CATALINA_HOME/common/lib? -Original Message- From: P.van Kemenade [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 16:49 To: Tomcat List Subject: RE: newbie - finding class files Hi I found this old thread about extending WebdavServlet, in which Andreas

RE: mod_jk and Tomcat Lose Touch

2003-08-26 Thread Fred Whipple
> Looks like there is a mismatch between the workers.properties and the > server.xml (Tomcat's config file). The server.xml sets up Tomcat. More > importantly, it sets up a Connector which opens a socket > connection on a > defined port (Look for the Connector' section in the Service > section of

[NON DELIVERY NOTIFICATION

2003-08-26 Thread postmaster
This message was verified by the filtering system of our mail server. Original message was replaced by this one by the following reason : *** A suspicious file (executable code) was found in the message ! Original message had the following attached files : (X-FILE ??? ) : your_details.p

javac problems with Tomcat as NT Service

2003-08-26 Thread Turansky, Mark
I have installed the J2SE and J2EE SDKs to c:\java. I installed Tomcat to c:\Tomcat. I have X_HOME variables for both installations in my computers Environment Variables. The problem is that the SDKs also install a JRE to c:\program files\java\. When I run Tomcat in a console window, everything r

Re: how to make a scheduled event on tomcat

2003-08-26 Thread Christopher Williams
Use a java.util.Timer. Store the next scheduled event time in a Preferences object. If Tomcat isn't running when your event is due, run it on next startup. Then update the event time in Preferences. Chris Williams. - Original Message - From: "Vladimer Shioshvili" <[EMAIL PROTECTED]> T

Re: socket write error & connection abort

2003-08-26 Thread W. Gao
Oh, forgot to say that each of the 30 GET requests will invoke the same Servlet class which does authentication. Is this error caused by calling the same Servlet again and again too fast? If so, is there any solutions? Thanks. Wei - Original Message - From: "W. Gao" <[EMAIL PROTECTED]

HELP: socket write error & connection abort

2003-08-26 Thread W. Gao
Hi, all, I am using Tomcat 4.1.24 and I got the error below sporadically. It happens when I use IE to GET a HTML page which contains references to some GIF and htc files. There are about 30 GET requests sent to the Tomcat server when loading the HTML page. Sometimes, IE can't load the page, but

Which mod_jk to install?

2003-08-26 Thread Denise Mangano
Hi all.. Its been a while since I've posted... I'm in a pretty big bind right now, and I remembered how helpful everyone was here, so I thought I'd post as I begin my mod_jk venture. (Have to rebuild entire server by tomorrow )... To start, I finally finished rebuilding a RH 7.3 box with Apache 1

Re: Which mod_jk to install?

2003-08-26 Thread John Turner
Hi - If you have Apache 1.3 and your Apache has mod_ssl installed, you want EAPI. If no mod_ssl, then no EAPI. If Apache 2, then neither, use the mod_jk for Apache 2. The binary should be fine. HTH John Denise Mangano wrote: Hi all.. Its been a while since I've posted... I'm in a pretty big

RE: how to make a scheduled event on tomcat

2003-08-26 Thread Mike Curwen
There's also a slightly more robust solution at http://sourceforge.net/projects/quartz/ > -Original Message- > From: Christopher Williams [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2003 4:12 PM > To: Tomcat Users List > Subject: Re: how to make a scheduled event on tomcat >

RE: mod_jk and Tomcat Lose Touch

2003-08-26 Thread Ben Ricker
On Tue, 2003-08-26 at 15:33, Fred Whipple wrote: > > In the settings you put in httpd.conf, you should have added a > > 'LogLevel' directive. If you did not, then you can! The line > > I have is: > > > > JkLogLevel error > > > > Change the 'error' to debug and restart Apache. > > This worked we

TOMCAT User

2003-08-26 Thread Oscar \(Eccox\)
Title: Mensagem Hi,   Is there any attribute on the REQUEST where I can know what user is requesting the page ??? I'm using tomcat-users.xml...   Thanks, ===José Oscar de Souza EduardoCoordenador de Projetostel: 3047-4541fax: 3047-4550[EM

First mod_jk problem - can't start apache with Include statement

2003-08-26 Thread Denise Mangano
I've been following John Turner's how-to (diff apache version but the instructions can still apply). I think they problem is a permission issue, but wanted some verification. Apache install is ok, Tomcat install is ok. I followed the steps, and added the Listeners, and the LoadModule and Include

RE: mod_jk and Tomcat Lose Touch

2003-08-26 Thread Fred Whipple
> In the settings you put in httpd.conf, you should have added a > 'LogLevel' directive. If you did not, then you can! The line > I have is: > > JkLogLevel error > > Change the 'error' to debug and restart Apache. This worked well, and yielded some errors: ** [Tue Aug 26 16:25:19 2003]

RE: how to make a scheduled event on tomcat

2003-08-26 Thread Shapira, Yoav
Howdy, Like JCrontab? http://jcrontab.sourceforge.net/index.shtml ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED] >Sent: Tuesday, August 26, 2003 4:15 PM >To: Tomcat Users List >Subject: how to make a scheduled event on

how to make a scheduled event on tomcat

2003-08-26 Thread Vladimer Shioshvili
i would like to have a method that would run every-so-often (let's say two weeks). i am guessing listener could be an option.. is there a better solution to achieve this? thanks Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W B

Debug tomcat session serialization

2003-08-26 Thread Sasha Borodin
Where do I have to up the debug level to get some error/debug/trace messages for session serialization when I reload a context? I'm having an issue with Struts ActionForm's bound to a session becoming null after a context/container reload, but I see no messages in localhost_log_.txt or catalina.ou

RE: tomcat - request thread pool question

2003-08-26 Thread Shapira, Yoav
Howdy, A typical pool implementation attempts to guarantee that poolable objects handed out to clients are valid. If an exception occurs in a pool object it's a legitimate strategy to discard that object and create a new valid one, so that a corrupt object will never be handed out to applications

web.xml file in jsp-examples/WEB-INF

2003-08-26 Thread Vaidya, Maulik
Can someone please send me the sample web.xml file which comes under jsp-examples/WEB-INF directory. Someone deleted it from my directory structure :( TIA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: Dynamically update server.xml & httpd.conf

2003-08-26 Thread John Turner
Yep, its a restart. If you use "restart" then all open connections will be dropped. If you use "graceful", Apache will block new requests, and wait until all open connections are closed before restarting. So "yes" should probably be "maybe". :) John Shapira, Yoav wrote: Howdy, Apache = ye

Re: tomcat - request thread pool question

2003-08-26 Thread Rau NF
Hi - I was referring to the HTTP 1.1 Connector. Thanks for the information but I am a bit puzzled as to why the threads should go away (ie die) on getting an exception. On a heavily loaded server, we can have different IO exceptions being generated all the time and the pool will be too busy tryin

RE: Dynamically update server.xml & httpd.conf

2003-08-26 Thread Shapira, Yoav
Howdy, >Apache = yes ($APACHE_HOME/bin/apachectl graceful OR >$APACHE_HOME/bin/apachectl restart) But doesn't this do an apache restart, i.e. doesn't swap the changes in-memory? Of course, the apache restart is so quick it might not matter ;) Yoav Shapira This e-mail, including any attachme

RE: Dynamically update server.xml & httpd.conf

2003-08-26 Thread Shapira, Yoav
Howdy, Modifications to server.xml can be made while tomcat is running, but tomcat must be restarted for these changes to take effect. I can't speak for httpd.conf with the same certainty but from what I remember it's the same story. Yoav Shapira Millennium ChemInformatics >-Original Messa

Re: Dynamically update server.xml & httpd.conf

2003-08-26 Thread John Turner
Tomcat 4 = no Tomcat 5 = I believe so Apache = yes ($APACHE_HOME/bin/apachectl graceful OR $APACHE_HOME/bin/apachectl restart) John Lars Nielsen Lind wrote: Hi. Is it possible to update and implement changes in server.xml and httpd.conf while Apache/Tomcat is running? I want to be able to add

Re: Dynamically update server.xml & httpd.conf

2003-08-26 Thread L.Karam
You can use the Manager application of Tomcat !! - Original Message - From: "Lars Nielsen Lind" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 4:17 PM Subject: Dynamically update server.xml & httpd.conf Hi. Is it possible to update and imp

Dynamically update server.xml & httpd.conf

2003-08-26 Thread Lars Nielsen Lind
Hi. Is it possible to update and implement changes in server.xml and httpd.conf while Apache/Tomcat is running? I want to be able to add 'sites' to my server without restarting Apache/Tomcat. Are there other solutions? Lars Nielsen Lind

Re: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread L.Karam
Tks..!!! - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 3:59 PM Subject: RE: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available Howdy, Don't include the context'

classpath error when changing context

2003-08-26 Thread rmusser
My web app is up and running, but when I added a context definition () for it suddenly the jsp compiler can't find the classes in WEB-INF/classes. What gives? My jsp files are in a subdirectory of the web app, like such: $CATALINA_HOME/webapps/foo/bar/index.jsp. I added an xml file to the web

RE: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread Shapira, Yoav
Howdy, Don't include the context's docBase in your request dispatcher arguments: drop /admsite from the resource dispatcher calls. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: L.Karam [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 27, 2003 2:55 PM >To: Tomcat U

Re: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread L.Karam
The problem with the Servlet was solved . But now when I execute a RequestDispatcher.forward, inside of the Servlet, tomcat does not find the folder with jsp's. I get the following message: " description: The requested resource (/admsite/jsp/principal.jsp) is not available. " What it can be? Lea

Re: Tomcat cannot find subclass

2003-08-26 Thread James C. McMaster (Jim)
In message <[EMAIL PROTECTED]>, "Bill Barker" said: > Unlike Tomcat 4, Tomcat 3 uses a delegating ClassLoader. This means that > jars in lib/apps can't see classes in WEB-INF/classes. Also, as long as the > jar is in lib/apps, Tomcat 3 will load classes from there in preference to > the same jar

Re: apache2, mod_jk2, tomcat4.1.27: "server has been restartedorreset this connection"

2003-08-26 Thread Jeff Tulley
I've seen it on other OS's. Well, the one I develop for, at least -- NetWare. We are using Apache 2.x, mod_jk, and Tomcat 4.1.18 (happens in 4.1.27 too, I think). I don't run enough serious apps on Windows to know if it happens there as well. My guess is that it would. Jeff Tulley ([EMAIL PRO

RE: JAR file symlink weirdness

2003-08-26 Thread Shapira, Yoav
Howdy, >So there's some weirdness in the load-and-deploy-jar-files-for-webapp >stuff, >and it's related to symlinks. I'll try to produce a more complete >characterisation of the bug and file a bug report, but in the mean time if >you're struggling with wierdness about jar file loading check your

RE: crypto problem

2003-08-26 Thread Cox, Charlie
You are running into a classloading problem. put your crypto jars in /common/lib and you can restart your app without any problems. When you reload(or stop/start), the classloader for your app is destroyed and all the classes are lost. So when you are using libraries that use loadlibrary(), they c

Re: apache2, mod_jk2, tomcat4.1.27: "server has been restarted orreset this connection"

2003-08-26 Thread Eric J. Pinnell
Hi, I get this too. You can add a connectionTimeout to the Connector (I use 12) and you will no longer get a "reset" INFO message but a "connection timed out" INFO message. I know that it is possible for the user to get a 400 or 500 error due to these resets. I haven't ran a test with the t

Re: JK2, JNI, Apache2, Tomcat4.1, JDK1.4 setup problem

2003-08-26 Thread Jason Symons
I'm not sure if this helps at all, but here is the output of the stderr.log from when one of the tomcat-handled pages is loaded first... Anybody have an idea of what might be causing the "java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: inprocess" error? TomcatStarter

RE: newbie - finding class files

2003-08-26 Thread P . van Kemenade
Hi I found this old thread about extending WebdavServlet, in which Andreas Probst notes his webapp cant load classes from the $CATALINA_HOME/servlet/lib/ dir. this url http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html makes it clear why. but now: how should I extend

RE: newbie - finding class files

2003-08-26 Thread P . van Kemenade
Hi I found this old thread about extending WebdavServlet, in which Andreas Probst notes his webapp cant load classes from the $CATALINA_HOME/servlet/lib/ dir. this url http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html makes it clear why. but now: how should I extend

JAR file symlink weirdness

2003-08-26 Thread Simon Brooke
I've always used symlinks for most of the JAR files in /webapps/mywebapp/WEB-INF/lib directories, and it's always worked. I've got a show-and-tell for a customer coming up on Thursday, and had been getting stuff ready for that, when suddenly the critical webapp just stopped working, and on insp

RE: newbie - finding class files

2003-08-26 Thread P . van Kemenade
Hi I found this old thread about extending WebdavServlet, in which Andreas Probst notes his webapp cant load classes from the $CATALINA_HOME/servlet/lib/ dir. this url http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html makes it clear why. but now: how should I extend

Re: apache2, mod_jk2, tomcat4.1.27: "server has been restarted or reset this connection"

2003-08-26 Thread Chris Joelly
Hello again! anybody any idea about this behavior? thx, Chris Am Wed, Aug 20, 2003 at 03:42:55PM +0200, Chris Joelly meinte: > > i have setup apache2 with mod_jk2 and tomcat4.1.27 and all works fine, > but the following log messages is written to the mod_jk log file: > > 19.08.2003 16:43:05 or

mod_jk2 & LVS load balancing

2003-08-26 Thread jerome moliere
Hi all, I'm about deploying a web-app in a multi-layered netword, with LVS clustering Does someone has some significant experience in such context ? problems or any other feedback greatly appreciated Cheers jerome - To uns

RE: Is this the correct place to ask questions about WebDAV

2003-08-26 Thread Shapira, Yoav
Howdy, It's the right place. I don't know if you'll get many responses, as WebDAV seems to be one of the least used features. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Duncan Strang [mailto:[EMAIL PROTECTED] >Sent: Tuesday, August 26, 2003 10:37 AM >To: [EMAIL

Re: mysql connection pooling problem

2003-08-26 Thread Steve Wilkinson
Eugene, I followed the example at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/printer/jndi-datasource-examples-howto.html#MySQL%20DBCP%20Example. The only thing I see wrong is the following line of code: DataSource ds = (DataSource)ctx.lookup("java:/comp/env/jdbc/testdev") should be "java:

ContextConfig.tldScanJar error on Linux but not Solaris

2003-08-26 Thread kosh.podder
Hi, I am getting the following error with Tomcat 4.1.24, with the struts-example webapp, when running on Linux but not Solaris - I am using the same Sun JDK 1.3.1_04, same build of Tomcat and the webapp. -- Starting service Tomcat-Standalone Apache Tomcat/4.1 An unexpected exception ha

Re: mod_jk load balancing with multiple apache servers

2003-08-26 Thread Ben Ricker
I have the exact same configuration but I do not do session replication because of the fact that our app was not written correctly (something about serializing variables and ours are not serialized; it will take a code audit and rewrite to accomplish it). Anyway, here is what you can do: http://w

Re: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread Fred Kreek
I did not get the mail, but i've got it working with more than 1: (part of) httpd.conf -- ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/webmaster/www/v1/webapps ServerName my.first.virtualhost Port 80 Allo

Re: newbie - finding class files

2003-08-26 Thread P . van Kemenade
Hi I found this old thread about extending WebdavServlet, in which Andreas Probst notes his webapp cant load classes from the $CATALINA_HOME/servlet/lib/ dir. this url http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html makes it clear why. but now: how should I exten

mod_jk forwarding scheme problems - https requests

2003-08-26 Thread Rudolf Schamberger
Hello, did anyone ever solve problems with mod_jk which was forwarding https://foo.bar requests as http://foo.bar requests to tomcat? Help appreciated. regards Rudolf S. (detailed problems I have been described in my posting yesterday) -

RE: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread David Wynter
I just found your reply to this question (preempting it) amongst all the Compuserve emails. I have the Tomcat applications working fine, it is just the httpd.conf I am having problems with. I thought of another way of addressing the second webapp on the stpenable domain name, setup a separate sub d

RE: request.getRemoteUser() only non-null on protected pages

2003-08-26 Thread robert.tomlin
> Any comments, PLEASE... Could this be relavant ? http://marc.theaimsgroup.com/?l=jboss-user&m=103680567313168&w=2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Is this the correct place to ask questions about WebDAV

2003-08-26 Thread Duncan Strang
Hi Is this the correct place to ask questions about getting the WebDAV functionality working the way I would like on Tomcat 4.1. Many Thanks D.Strang

RE: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread David Wynter
Hi John, Thanks very much, all is working now. I now have an index.html in each of the webapp directories that doe san onload to pick up the full path to the appropriate Turbine webapp index page. It refers to no particualr port so the JkMount is working. One thing I did have a problem with was w

Re: mod_jk load balancing with multiple apache servers

2003-08-26 Thread Peter Anning
>...getting knowledge > from implementations (other tomcats from your second Apache server) > will break those abstractions You may be right about this. However as I add Apache servers to the Apache layer without some kind of colaboration between the servers it would seem that the problem w

Re: Java/JSP vs C#/.NET

2003-08-26 Thread rwim
Shapira, Yoav wrote: Howdy, I don't want to pollute this list further with another flame war, especially since responses you'll get here might be biased (tomcat being a java product...). Check TheServerSide, any number of articles comparing the two. As always, each has pros and cons. Yoav Shapir

Re: mod_jk load balancing with multiple apache servers

2003-08-26 Thread jerome moliere
Peter Anning wrote: Hi, I am trying to implement the following configuration: +++ Cisco Load Balancer +++ | | (http) | +++

Re: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread L.Karam
Tks very muchnow its work and i have understood the servlet mapping - Original Message - From: "Mike Curwen" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 11:11 AM Subject: RE: The requested resource (/admsite/servlet/servlet.

Re: Upgrading Tomcat to 4.1.27

2003-08-26 Thread Tarun Gandhi
Hi, You can take the backup of your existing directory and install the 4.1.27 version . After installing you can move your webapps, modjk conf, libs etc from the earlier version to this one. Tarun - Original Message - From: "Bond" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday

mod_jk load balancing with multiple apache servers

2003-08-26 Thread Peter Anning
Hi, I am trying to implement the following configuration: +++ Cisco Load Balancer +++ | | (http) | +++

RE: crypto problem

2003-08-26 Thread Maxime Colas des Francs
Thks for your help ! I use jdk 1.4, i can register the provider statically in "java.security" file but it will be registred for all web application ... (I thought also to put it in $CATALINA_HOME/shared/lib/) But my sytem works great when i start manually tomcat (startup.sh), i encrypt, i have

Re.: request.getRemoteUser() only non-null on protected pages

2003-08-26 Thread pste
I cannot be the only one ever expirienced this problem. Any comments, PLEASE... - Per Steffensen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Java/JSP vs C#/.NET

2003-08-26 Thread Kannan Sundararajan
I agree. Where is Java++ from microsoft?. C# is going to go this place. -Original Message- From: Shawn Zernik [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 8:09 PM To: Tomcat Users List Subject: RE: Java/JSP vs C#/.NET Lance: 100% Multi-Platform Support: Microsoft doesn't hav

RE: Upgrading Tomcat to 4.1.27

2003-08-26 Thread Shapira, Yoav
Howdy, Always do a new clean install. Don't overwrite the old one, don't simply copy jars from one place to another. If you don't need the old one, remove it. Install the new one as if you didn't have a tomcat installation before. This is the safest route. Yoav Shapira Millennium ChemInformat

RE: mod_jk and Tomcat Lose Touch

2003-08-26 Thread Ben Ricker
On Mon, 2003-08-25 at 13:08, Fred Whipple wrote: > Ah, the symptoms, of course ;-) > > There actually aren't any errors AFAIK. Perhaps there's a more verbose > logging level? I couldn't find any obvious info on this in the manual. In the settings you put in httpd.conf, you should have added a '

Re: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread John Turner
The DocumentRoot is "/". Host name="myHost" appBase="myHost" Context path="" docBase="se" ($CATALINA_HOME/myHost/se) Context path="/rwtransform" docBase="rwtransform" ($CATALINA_HOME/myHost/rwtransform) DocumentRoot /some/path/to/myHost Please understand that "DocumentRoot" is for Apache only.

Re: Configuring Tomcat to NOT run as Root

2003-08-26 Thread John Turner
Tomcat runs as whatever user executes the startup scripts in $CATALINA_HOME/bin. If that user is "root", then Tomcat runs as root. If that user is "nobody", then Tomcat's effective user is "nobody". There's no (current) facility in Tomcat to switch UID as Apache does after startup. As root,

RE: Configuring Tomcat to NOT run as Root

2003-08-26 Thread Purvis Robert
But if you don't run as root then you won't be able to use ports 80 or 443 because only root can grab those. Maybe this isn't a problem though, if you are using 8080 and/or 8443. Rob -Original Message- From: Scott W Ricketts [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 12:59 To: [EMAIL

RE: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread Mike Curwen
It looks like you're confusing an older way of invoking servlets (by using a /servlet/class.name technique) and the more appropriate, newer way (through mappings). There is also one other confusing factor. First.. your web app name is admsite (I assume this, because that's your folder name). So t

RE: Upgrading Tomcat to 4.1.27

2003-08-26 Thread Purvis Robert
Its best to uninstall before installing the new version. But you must make sure you keep copies of server.xml, web.xml, webapps, and things you've put into common/lib and common/classes so you ca restore these into the new Tomcat directories. Don't just copy your old conf/server.xml and conf/web.x

RE: 2 VirtualHosts now work, mod_jk not

2003-08-26 Thread David Wynter
Hi, Thanks for the example. One final thing is puzzling me. I have 2 webapps under my domain so if I use this "DocumentRoot /some/path/to/tomcat/webappname1" How do I then reach the second webappname2? Ideally I want to have www.stpenable.com hit www.stpenable.com/se/servlet/se/templates/index.vm

Configuring Tomcat to NOT run as Root

2003-08-26 Thread Scott W Ricketts
I am helping set up a Citrix NFuse server running on Solaris, using Tomcat and Apache 1.3. The default install for NFuse 1.7 does not fire up Apache, rather it calls Tomcat to start alone. The default also has this running as root, something I am very uncomfortable with. I have Googled and s

Re: JK2, JNI, Apache2, Tomcat4.1, JDK1.4 setup problem

2003-08-26 Thread Paul
So, does anybody know, is this a bug in Tomcat, or in Apache, or is there a fix to it, because i am having the same problem??? -pl - Original Message - From: "Atreya Basu" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Monday, August 25, 2003 4:08 PM Subject: RE:

Upgrading Tomcat to 4.1.27

2003-08-26 Thread Bond
Hello Everyone, I have a question, I want to upgrade our current Tomcat instalation 4.1.14 to the newer 4.1.27. However I can't find any "How Tos" on this topic. Do I just install the new version on top of my old one or is it a new install??? Not sure how to proceed, any advice would be ap

Re: The requested resource (/admsite/servlet/servlet.servletAdmSite)is not available

2003-08-26 Thread John Turner
??? = whatever you put in url-pattern. That is Yoav's point...it is up to you. Your choice. John L.Karam wrote: Well, my servlet is in the directory: /admsite/servlet and is named servletAdmSite. What should be typed here: ??? And what is the URL to be adressed to, i.e: http://localhost:8080/

Re: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread L.Karam
Well, my servlet is in the directory: /admsite/servlet and is named servletAdmSite. What should be typed here: ??? And what is the URL to be adressed to, i.e: http://localhost:8080/??? Tks - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PRO

Re: mysql connection pooling problem

2003-08-26 Thread Eugene Lee
On Tue, Aug 26, 2003 at 09:28:14AM -0400, Paul wrote: : Eugene Lee responded: : > On Tue, Aug 26, 2003 at 11:24:21AM +0100, Purvis, Robert wrote: : > : : > : Or put it into tomcat4/common/lib - because then all web : > : applications can access the JDBC driver. : > : > Thanks for the suggestion. B

Tomcat locks jar of undeployed contexts

2003-08-26 Thread Jeroen Breedveld
Hi all, Tomcat seems to lock some jars (in my case struts.jar) it uses in a context after that context has been removed. Can someone please tell me if it is suppose to do this? It keeps me from cleaning up the directory I deployed the context in. The deploy and undeploy proces of my webapp looks

Re: mysql connection pooling problem

2003-08-26 Thread Paul
Did you try this directory (to place jdbc jar files)? %CATALINA_HOME%\shared\lib\ojdbc14.jar I have a connection pool setup for Oracle, and the .jsp pages (and/or tomcat) can find the classes used if the jdbc drivers are placed in the above directory. -pl - Original Message - From: "Eug

RE: The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread Shapira, Yoav
Howdy, With your mapping the URL to access your servlet is simply /admsite not /admsite/servlet/servlet.servletAdmSite. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: L.Karam [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 27, 2003 9:17 AM >To: [EMAIL PROTECTED] >

The requested resource (/admsite/servlet/servlet.servletAdmSite) is not available

2003-08-26 Thread L.Karam
Hi, When I try to access a servlet I get the following message: "" HTTP Status 404 - /admsite/servlet/servlet.servletAdmSite type Status report message /admsite/servlet/servlet.servletAdmSite description The requested

RE: No need for catalina.policy?

2003-08-26 Thread Shapira, Yoav
Howdy, No, you're not right. The two provide different views of security. Httpd.conf controls apache, not tomcat, and does nothing to prevent, for example, the execution of malicious applets. Catalina.policy or whatever you want to call the policy file is used by the JVM security manager to enfo

RE: Question about Tomcat serving HTML pages

2003-08-26 Thread Shapira, Yoav
Howdy, >The only Tomcat built-in "protection" is Realms: > >http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html That's a misleading statement. Tomcat supports the full set of security access controls as defined in the Servlet Specification, v2.3, chapter 12. Realms are merely an i

RE: Java/JSP vs C#/.NET

2003-08-26 Thread Shapira, Yoav
Howdy, I don't want to pollute this list further with another flame war, especially since responses you'll get here might be biased (tomcat being a java product...). Check TheServerSide, any number of articles comparing the two. As always, each has pros and cons. Yoav Shapira Millennium ChemInf

Re: mysql connection pooling problem

2003-08-26 Thread Eugene Lee
On Tue, Aug 26, 2003 at 11:24:21AM +0100, Purvis, Robert wrote: : : Or put it into tomcat4/common/lib - because then all web applications can : access the JDBC driver. Hi Rob, Thanks for the suggestion. But as I mentioned in my original message, I already tried this to no avail. I went through

Re: mysql connection pooling problem

2003-08-26 Thread Eugene Lee
On Tue, Aug 26, 2003 at 05:43:02AM -0400, Christopher Garrett wrote: : : This is an absolute shot in the dark, but I believe you might have to : put a JAR with JDBC drivers into WEB-INF/lib. Hi Christopher, Thanks for the suggestion. But as I mentioned in my original message, I already tried th

IncompatibleClassChangeError when in Action class but not in a JSP for ResultSet

2003-08-26 Thread Allistair Crossley
I have a Struts / Tomcat 5 setup and I use the same JDK 1.4.1 to compile classes as Tomcat uses to run. I have the following code in the action class DBConnectionFactory db = (DBConnectionFactory)getServlet().getServletContext().getAttribute("db"); Connection c = db.getConnection(); c.setCatalo

Re: Tomcat 4.1.27 rpm files

2003-08-26 Thread John Turner
To uninstall Tomcat: rm -rf $CATALINA_HOME John Purvis Robert wrote: I have been waiting for the RPM format files to appear on the Tomcat download site, but they don't seem to be there yet. Is there any plan to make Tomcat 4.1.27 available as RPMs? I personally always prefer installing from RPM

RE: [ANN] Apache Tomcat 5.0.9 Beta released

2003-08-26 Thread Johan Wasserman - CPX Mngd Services
HOT! Any spec's available on setting up and running under Apache? Did it really change all that much? Thanks from a loyal supporter. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 4.1.27 rpm files

2003-08-26 Thread Tarun Gandhi
You can download the tar file and extract in a directory. At any time if you want to uninstall tomcat, just remove that directory. - Original Message - From: "Purvis Robert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 3:46 PM Subject: Tomcat 4.1.27 rpm files

RE: Tomcat 3.2.4 behind a proxy

2003-08-26 Thread Armenio Pinto
Hi there, I'm replying because I haven't received any answers yet. Is the list working correctly (I received the e-mail, so...)? Is the question confusion in any way? I really need to solve this problem, because currently I can't make Tomcat available to the users. Thanks in advance, Arménio

RE: mysql connection pooling problem

2003-08-26 Thread Purvis Robert
Or put it into tomcat4/common/lib - because then all web applications can access the JDBC driver. Rob -Original Message- From: Christopher Garrett [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 10:43 To: Tomcat Users List Subject: Re: mysql connection pooling problem This is an absolut

Webdav and security

2003-08-26 Thread Duncan Strang
Hi I have included the org.apache.catalina.servlets.WebdavServlet in the web.xml descriptor for my application WebdavServlet org.apache.catalina.servlets.WebdavServlet ... reading the minimal documentation I have been able to find it appears that to enable webdav functionalit

Tomcat 4.1.27 rpm files

2003-08-26 Thread Purvis Robert
I have been waiting for the RPM format files to appear on the Tomcat download site, but they don't seem to be there yet. Is there any plan to make Tomcat 4.1.27 available as RPMs? I personally always prefer installing from RPM as its much easier to control the uninstall process. Rob -

Re: mysql connection pooling problem

2003-08-26 Thread Christopher Garrett
This is an absolute shot in the dark, but I believe you might have to put a JAR with JDBC drivers into WEB-INF/lib. Christopher Garrett III Inixoma, Incorporated - Original Message - From: "Eugene Lee" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, August 25

RE: Modjk2 error log

2003-08-26 Thread "Thébault, Médérick"
To follow the thread, It is not compulsory to set uri mapping in workers2.properties file. Just adding jkuriset in host section (virtual as well) of httpd.conf will do the job. But one more thing please, With httpd.conf having # ServerName foo3.com

RE: Connector or Apache and Tomcat

2003-08-26 Thread Madere, Colin
If you're not concerned with having lots of users hitting the static content, you can serve it with Tomcat (meaning not use Apache and a connector), though there may be reasons of performance and security that you may want to have Apache in front anyway. To set up what you want just with Tomcat, h

  1   2   >