Re: Deploying an application with its own xml file

2005-01-14 Thread Paul Taylor
In what way, do you mean path seperator or something else ? Within my context.xml im using forward slash (UNIX notation) for both and its the Windows one that is working Phillip Qin wrote: Windows and linux use different url. -Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED

Re: Deploying an application with its own xml file

2005-01-13 Thread Paul Taylor
Ok, it is working on my test (Windows) environment. But with same war deploying it to my Live environment(Linux) results in it creating myapp.xml as a directory rather than a file ! Ive doubled checked this and the behaviour is constant, anyone ever sdeen this? Paul Taylor wrote: Thanks now

Re: Multiple domain names to a single site

2005-01-13 Thread Paul Taylor
Still struggling perhaps I need to buy a book but Ive had a tentaive look at your options Parsons Technical Services wrote: Does the dnsmanager have a choice for redirection of an URL? It has lots of choices, you can change the dn server, and can use their own dnsmanager to chanage various

Re: Connections not released during reload

2005-01-13 Thread Antony Paul
Write a ServletContextLlistener and in its contextDestroyed() method use the shutdown() method of the DBCP pool to close connections. rgds Antony Paul On Thu, 13 Jan 2005 11:37:22 +0100, Bernhard Slominski [EMAIL PROTECTED] wrote: Hi, I'm using the following conmfiguration: - tomcat 5.0.28

Deploying an application with its own xml file

2005-01-12 Thread Paul Taylor
I have an application myapp.war and a corresponding xml file myapp.xml. Previously I was copying myapp.xml into tomcat/conf/catalina/localhost and manually unpacking my war. Now I realised I can put the war into tomcat/webapps and it will automatically deploy, but I then have to shutdown server

Re: Deploying an application with its own xml file

2005-01-12 Thread Paul Taylor
Thanks now working I had previously found the bit about META-INF but called the file myapp.xml not context.xml Phillip Qin wrote: Sotre your context.xml into META-INF. Pack your webapp as war. Then let catalina-ant task or Tomcat Manager to deploy your war. -Original Message- From: Paul

Multiple domain names to a single site

2005-01-11 Thread Paul Taylor
servers or is it more complicated to that for example I could map mycompany.net to redirect to mycompany.com. Also is it possible for myapp.com to go straight to the relvent application (http://mycompany.host/myapp) rather than the root application (http://mycompany.host/) Thanks Paul

Re: Multiple domain names to a single site

2005-01-11 Thread Paul Taylor
Could anyone get me started on this please ? Paul Taylor wrote: I have three domains mycompany.com mycompany.net myapp.com I have setup a website with a hosting provider using Tomcat 5 which contains the ROOT application and myapp application so currently if user goes to http://mycompany.host

Re: Multiple domain names to a single site

2005-01-11 Thread Paul Taylor
Parsons Technical Services wrote: You will be working with the host entries in the server.xmlFrom how I read this you want mycompany..com and .net pointing at the same app. You can do this either at the dns level or in the host entry with an alias. As for master slave the master will be the

Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-10 Thread Paul Taylor
Ok, Well I decided to try kgbinternet.com instead and its exactly what I wanted. You have complete control over configuration and Ive encoutered no problems so far, and its considerably cheaper. Mark Benussi wrote: H Paul, Yes in terms of the logging and connection pooling I had that problem

Preventing directory listings in WebApplication

2005-01-10 Thread Paul Taylor
Hi How exactly do I stop the user going into directory containing jsps and listing all the jsps within it as a directory listing. I dont mind them specifying a particular jsp and going straight to that but I would / to map to the default page for the particular some section. i.e myapp/section1

Re: Preventing directory listings in WebApplication

2005-01-10 Thread Paul Taylor
-file 4308 welcome-fileindex.jsp/welcome-file 4308 welcome-filestart.jsp/welcome-file - 4309/welcome-file-list 4310 !-- On Mon, 2005-01-10 at 11:03, Paul Taylor wrote: Hi Are these exclusive options. I can disable the listings but cant get the default pages

Re: how to deploy using war file on tomcat 5

2005-01-07 Thread Paul Taylor
For this to work if you havent already you must have also configured your Tomcat Manager Application with a valid user and password if you havent already.Acess to documentation here http://localhost:8080/manager/manager-howto.html Mike Fowler wrote: Sandeep - The ant deploy task you need is

Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-07 Thread Paul Taylor
checking out http://www.servlets.com/isps/ and deciding on someone else to try. Paul Mark Benussi wrote: Let me know how you get on Paul, and feel free to let them know I referred you ; ) As a tip I would recommend the following: If you have any custom XMl with external DTD then ask them to make sure

Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
my application. I am based in the UK so a UK/English Speaking host would be preferable. Could anyone recommend a hostthat provides this straight forward deployment facilities. Thanks paul - To unsubscribe, e-mail: [EMAIL

Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
Thanks, it loooks quite good but have you actually used it ? Guy Katz wrote: you have http://www.webconexion.net based @ the uk. -Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 04, 2005 4:32 PM To: Tomcat Users List Subject: Please recommend a Low Cost

Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
I tried nameonthenet.co.uk and it cant find it and nameonthenet.com is up for sale Mark Benussi wrote: Paul, I use a company called name on the net who work out at £100 a year. They support WAR deployment in a pure sense (my only comment would be they provide a Tomcat 5 container). Support

Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
unsure of how important Java Hosting is, also based in US. Paul Taylor wrote: Hi I have a Tomcat 4 Application ready to deploy as a WAR. It uses database pooling to connect to a MYSQL database. I recently selected a Tomcat hosting platform to deploy my application but the deployment is non

Re: Please recommend a Low Cost Tomcat Hosting platform

2005-01-04 Thread Paul Taylor
Yeah, they have been mentioned before but I sent them an email a couple of weeks ago regarding some questions about hosting and they never got back to me. Guy Katz wrote: www.javaservlethosting.com is also considered one of the best out there. -Original Message- From: Paul Taylor

error to install Tomcat

2004-12-28 Thread Paul Viteri
Can somebody help me? I installed the jdk 1.5 in whitebox 3.0 but to install tomcat the follow message was showed: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lan/Object Thanks Paul ___ Saludos, Paul Viteri

Re: Compile and Deploy JSPs - Tomcat 4.0

2004-12-23 Thread Antony Paul
Paul On Thu, 23 Dec 2004 07:47:14 +0200, Abhay Hiwarkar [EMAIL PROTECTED] wrote: Harry, I decompiled all the class files and checked for CLASS NAME. They are same as provided in web.xml. servlet servlet-nameclient/servlet-name servlet-classclient/servlet-class /servlet Still not able

Re: Gurus! JCE and classloader question

2004-12-23 Thread Antony Paul
Which JCE provider you are using ? rgds Antony Paul On Tue, 21 Dec 2004 20:06:40 +0100, Lionel Pasquier [EMAIL PROTECTED] wrote: Hello again! Any guru around to solve my problem please? :-) Lionel Pasquier wrote: Hello, I have a trouble with using a JCE and multiple contexts

Re: Gurus! JCE and classloader question

2004-12-23 Thread Antony Paul
Where you put the provider jar file ?. WEB-INF/lib ?. Try putting it in shared/lib or common/lib if the same jar file is used by multiple applications. rgds Antony Paul On Thu, 23 Dec 2004 15:01:04 +0530, Antony Paul [EMAIL PROTECTED] wrote: Which JCE provider you are using ? rgds Antony

Re: Gurus! JCE and classloader question

2004-12-23 Thread Antony Paul
May be there are two jar files or unzipped class files of the same class. Check for it also. rgds Antony Paul On Thu, 23 Dec 2004 16:22:33 +0100, Lionel Pasquier [EMAIL PROTECTED] wrote: Well, I tried to put the library in common/lib (and I think also for a different try, in shared/lib

[OT] Java developer friendly Linux distro

2004-12-21 Thread Antony Paul
Hi all, Which distro (free) is most friendly for Java development. I need J2SE 1.4.2 to work on it plus Eclipse 3.x(Linux dont have a good text editor in which I can run Ant builds). I also need a good GUI so that others will be attracted to it. rgds Antony Paul

Re: Compile and Deploy JSPs - Tomcat 4.0

2004-12-20 Thread Antony Paul
this topic is discussed previously and you can find details in the archives. rgds Antony Paul On Tue, 21 Dec 2004 09:21:00 +0200, Abhay Hiwarkar [EMAIL PROTECTED] wrote: Hi, I have around 120 JSP files and want to avoid deploying them with the source-code. Using JSPC utility, I am able

Re: New Babie query - pls pls help me

2004-12-13 Thread Antony Paul
You need to create a mapping in web.xml to invoke the servlet. Look at the elements servlet and servlet-mapping elements in the example/WEB-INF/web.xml. Create a similar one and restart Tomcat. rgds Antony Paul On Mon, 13 Dec 2004 21:09:07 +0800, Manisha Sathe [EMAIL PROTECTED] wrote: Hi

Re: Problems with deployment process using Eclipse + Ant + Tomcat

2004-12-01 Thread Paul Christmann
probably be better off just doing this as dependencies instead: target name=deploy depends=init, build, war, deploy_tomcat, email/ I hope that helps, -- PC Paul Christmann Prior Artisans, LLC mailto:[EMAIL PROTECTED] 504-587-9072

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
on your requirements. Servlet Filters would probably be much easier. As for the java imports, importing a class and importing a source file are 2 totally different actions. -Tim Anderson, M. Paul wrote: Sorry for another question...I am using Tomcat 4.1 ... Is there a way to know which

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 10:17 AM To: Tomcat Users List Subject: RE: org.apache.catalina.connector.Request I am creating a custom realm because I want to take advantage of Tomcat's implementation to prevent users from accessing some

org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
Can anyone tell me which jar file the org.apache.catalina.connector.Request class is in? I can't find it to add it to my project to allow me to compile my custom realm. Thanks a lot!! - To unsubscribe, e-mail: [EMAIL

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
Never mind...I realize now it's in Tomcat 5 and I'm still using Tomcat 4. -Original Message- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 3:12 PM To: Tomcat Users List Subject: org.apache.catalina.connector.Request Can anyone tell me which jar

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
access to a Response object but I can't seem to get at this very easily. I find it odd that in Java the imports in a base class do not carry over into a derived class...this is not like c++ as I am use to. -Original Message- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] Sent: Monday

Logging and Deployment best practices

2004-11-23 Thread Paul Christmann
the Service? Or should I hardwire some other location for the logs? + Or use the logging functionality of Tomcat via Logger elements? If so - how do I manage deploying the same webapp to different context paths? + Some other alternative? Thanks for any insights, -- PC Paul Christmann Prior

Re: Logging and Deployment best practices

2004-11-23 Thread Paul Christmann
to read the log4j documentation. I want to stay away from programmatic configuration of log4j, and just use property files. Using an environment variable gives me the flexibility I need. Thanks for your answers! -- PC Paul Christmann Prior Artisans, LLC mailto:[EMAIL PROTECTED] 504-587

Re: Logging and Deployment best practices

2004-11-23 Thread Paul Christmann
Shapira, Yoav writes: Loggers are gone in Tomcat 5.5. One gentle suggestion: Is it possible make a note of that in the server configuration documentation? I was reading http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/logger.html and was just getting interested in them before reading a

Re: Logging and Deployment best practices

2004-11-23 Thread Paul Christmann
Phillip Qin writes: Hi, I don't think the log will go to system32 directory. Try something like this log4j.appender.file.File=${catalina.home}/logs/lciponline_debug.txt It will when I just do this, though: log4j.appender.file.File=lciponline_debug.txt Using the environment variable was

5.0.28 Service Shutdown problem on Windows

2004-11-16 Thread Paul Christmann
to [EMAIL PROTECTED], which seems too generic for that type of error message). -- PC Paul Christmann Prior Artisans, LLC mailto:[EMAIL PROTECTED] 504-587-9072 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: 5.0.28 Service Shutdown problem on Windows

2004-11-16 Thread Paul Christmann
for Tomcat 5.0.28. The issue was first reported in an early 5.0 version, fixed for 5.0.16 or 5.0.19, and now apparently has re-appeared. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Paul Christmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 3:53 PM

Re: Deploying a war in TC4

2004-11-12 Thread Paul Taylor
-on-startup /servlet servlet-mapping servlet-nameController/servlet-name url-pattern/controller/url-pattern /servlet-mapping /web-app Is there anything I can do here which might make a difference. Paul Taylor wrote: Thanks I use a File() constructor because the same class is used

Re: Use of Referer header

2004-11-11 Thread Paul Taylor
Ok, I misunderstood what it did. It seems to work ok on both IE and Firefox always returning a value when navigating from a page but being null when accessing the page directly because there is no referer. So Ive just coded my page like to only show a back link when actually come from another

Re: Preventing users getting accessing to directory contents in Tomcat

2004-11-10 Thread Paul Taylor
Shapira http://www.yoavshapira.com -Original Message- From: Paul Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 7:00 AM To: Tomcat Users List Subject: Preventing users getting accessing to directory contents in Tomcat Under tomcat 4 my jsps are held in a subdiir

Re: Preventing users getting accessing to directory contents in Tomcat

2004-11-10 Thread Paul Taylor
. Then use a servlet to validate the incoming parameters and then forward to the JSP. -Tim Paul Taylor wrote: Thanks works a treat Is there a similar way to prevent the user typing in the url of a partciuar jsp or image and stop them being taken it. Ive looked at security-constraints but this seems

How do default to get website to go straight to my webapp ?

2004-11-10 Thread Paul Taylor
How do you default to get website to go straight to my webapp ? I have a web application called testapp and in web.xml I have welcome-file-list welcome-filejsp/overview.jsp/welcome-file /welcome-file-list Going to http://localhost:8080/testapp takes the user to

Re: How do default to get website to go straight to my webapp ?

2004-11-10 Thread Paul Taylor
Thanks for the quick prompt reply. Is this normal to do, it feels like I am messing up the standard config and would the end result be that the url would display as localhost/overview.jsp rather than localhost/testapp/overview.jsp Would it be better to replace ROOT app with a mini app. For

Re: How do default to get website to go straight to my webapp ?

2004-11-10 Thread Paul Taylor
Ok, ive done the section so that I can add an extra application at a later stage if I need to. You say in your post index.xml do you mean index.jsp or web.xml I've created a new index.jsp which provides the user with a hyperlink to testapp but I dont know if I can make the new page

Re: How do default to get website to go straight to my webapp ?

2004-11-10 Thread Paul Taylor
Ok FYI, done it added head meta http-equiv=refresh content=1; URL=../testapp/overview/startup.jsp/ /head to index.jsp Paul Taylor wrote: I've created a new index.jsp which provides the user with a hyperlink to testapp but I dont know if I can make the new page automatically go to testapp

Re: Preventing users getting accessing to directory contents in Tomcat

2004-11-10 Thread Paul Taylor
requests. Code you JSP to look for the request method. If the method is NOT POST, then redirect them to some error page. (Or the start page) For example, in JSTL (but not verified) c:if test='${POST ne pageContext.request.method}' c:redirect url=start.jsp / /c:if -Tim Paul Taylor wrote: Point

Use of Referer header

2004-11-10 Thread Paul Taylor
I have a WebPage which can be called from two different webpages, and I wanted it to have a back button. Originally I had the calling pages passing a parameter to tell the called page what called it. Then someone pointed out %=request.getHeader(REFERER)% to m. This works much better. But I

Preventing users getting accessing to directory contents in Tomcat

2004-11-09 Thread Paul Taylor
Under tomcat 4 my jsps are held in a subdiir called jsp which contains further subdirectories What do I put into web.xml to stop requests such as http//localhost:8080/myapp/jsp or http//localhost:8080/myapp/jsp/info listing the contents of the directory.

Re: Tell me the steps to configure Tomcat

2004-11-06 Thread Antony Paul
What you did ? What OS you are using ?. What you downloaded ? Version ? File type zip or exe ?. rgds Antony Paul On Sat, 6 Nov 2004 18:38:45 +0530, inr [EMAIL PROTECTED] wrote: Hai all, I am new to Tomcat and i am struggling in configuring it . can anyone help me to configure

Deploying a war in TC4

2004-11-05 Thread Paul Taylor
Hi I was originally deploying an application in Tomcat 4 using the exploded directory structure. Ive now created a war and tried to deploy that instead. First attempt it didnt do anything I then changed docbase from appname to appname.war in server.xml and on starting tomcat it tried to deploy

Re: Deploying a war in TC4

2004-11-05 Thread Paul Taylor
Thanks I use a File() constructor because the same class is used in a standalone situation Ive checked my server.xml and it already seems to have unpacking set. !-- Define the default virtual host -- Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true should my

authentication in virtual host redirecting to wrong index.jsp

2004-11-05 Thread Paul Summers
I've just setup a new website as a subdomain of my primary website. My server setup contains Apache fronting Tomcat 4.x on a Unix server. I'm directing all traffic that goes to the Apache webserver to the Tomcat server and setting up my subdomains in the server.xml file. This all works fine except

Tomcat 4.1 not starting, how do I track error (database pooling)

2004-11-04 Thread Paul Taylor
Hi having written an application that ran fine on Tomcat 5 I am having to regress it to run on Tomcat 4.1 running on Windows. part of the deployment involves setting up database pooling. First of all I deployed my application war only and started Tomcat using catalina start this worked ok, but

Re: Tomcat 4.1 not starting, how do I track error (database pooling)

2004-11-04 Thread Paul Taylor
Thanks very much all working, the problem was I had removed docbase paramter not hinking it was needed because the code was hosted directly under webapps. BTW username is correct in TC4. My context is privileged just because I copied it from somehwere else without knowing what it meant, no

[OT] Using Tomcat certificate for signing applet

2004-11-03 Thread Antony Paul
Hi all, Can I use the same SSL certificate used by tomcat to sign an Applet ? rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SSL on tomcat breaks file download

2004-11-02 Thread Dobson Paul L Contr OO-ALC/LGFBR
this or how to fix it? Thanks a million in advance. --Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SSL on tomcat breaks file download

2004-11-02 Thread Dobson Paul L Contr OO-ALC/LGFBR
Worked perfectly! Thank you. Paul Dobson, F-16 Programmer/Analyst Viranim Technologies, Inc OO-ALC/LGFBR (801) 755-3679 [EMAIL PROTECTED] -Original Message- From: Edouard Dalla-Costa [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 10:34 AM To: Tomcat Users List Subject

Re: how do I unsubscribe from this mailing list?

2004-11-01 Thread Antony Paul
You will get a mail asking for confirmation whether you want to unsuscribe. Send an empty reply for it. rgds Antony Paul On Mon, 1 Nov 2004 09:31:04 -, Adrian Harrison [EMAIL PROTECTED] wrote: can anyone please tell me how to? sent an email to this address but still receiving tomcat

Return Custom Error Page from Realm

2004-10-29 Thread Anderson, M. Paul
I've created a derived realm that performs a custom authentication scheme. I'd like to be return a custom error page when the user has attempted to login to the system 3 times and failed. The user will be locked out until a sys admin allows them back in. Since I'm obviously doing the

Does DIGEST work in Tomcat 4.1.24?

2004-10-27 Thread Anderson, M. Paul
Looking at RealmBase, it doesn't seem as if DIGEST authentication can ever work: public Principal authenticate(String username, String clientDigest, String nOnce, String nc, String cnonce, String qop, String realm, String md5a2) { String md5a1 =

RE: [OFF-TOPIC] Validated Environment (FDA)

2004-10-25 Thread Kaiser, Paul
I haven't seen the paperwork but my understanding is that our web infrastructure is validated. Environments include Tomcat 4 and 5 among other things. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 10:25 AM To: Tomcat Users List

Re: Unable to find a javac compiler error

2004-10-19 Thread Antony Paul
Tomcat needs the tools.jar(For Sun JDK) in Tomcat classpath. Usually this is placed in the TOMCAT_HOME\common\lib directory. If it is not there then copy it to there from JAVA_HOME\lib directory. Restart Tomcat and try the JSP page. rgds Antony Paul On Mon, 18 Oct 2004 17:38:07 +0200, Andrea

Re: Cannot connect to remote server

2004-10-19 Thread Antony Paul
Which version of Java you are using. Tomcat 5.5 requires JDK 5. Or you need to download an extra package from jakarta. rgds Antony Paul On Wed, 20 Oct 2004 01:11:34 +1000, Robert Mark Bram [EMAIL PROTECTED] wrote: Hi All! I am using RH9 with Tomcat 5.5.3 I have installed Tomcat

RE: shutdown problems tomcat 5.0.28

2004-10-19 Thread Kaiser, Paul
be appreciated. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 4:45 AM To: Tomcat Users List Subject: RE: shutdown problems tomcat 5.0.28 Thanks for the advice. I have tried a number of new things with no success. 1. I

stop task do not release jar files

2004-10-18 Thread Antony Paul
Hi all, Repost due to typ error. I use Ant stop task to stop the context and delete the files in the application context folder. But it is unable to delete the jar files. Tomcat 4.1.30 rgds Antony Paul - To unsubscribe, e

Re: [tomcat] tomcat not running

2004-10-18 Thread Antony Paul
servlet.jar in WEB-INF\lib ? This jar is not needed there. Also go to Tomcat installation directory. There will be one webapps directory. Check it contains a ROOT folder. rgds Antony Paul On Mon, 18 Oct 2004 06:34:13 +0100 (BST), George A [EMAIL PROTECTED] wrote: hello all, i hope i have

stop task do not release jar files

2004-10-17 Thread Antony Paul
Hi all, I use Anto stop task to stop the context and delete the files in the application context folder. But it is unable to delete the jar files. Tomcat 4.1.30 rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED

Apache giving source code of JSP in win2k

2004-10-15 Thread Antony Paul
Hi, I am having Apache in from of Tomcat. Mapped all .jsp tom Tomcat. But if I type index.JSP Apache will give the source code. How to prevent it. rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
Can someone help me get started building my own custom realm? I can't seem to locate which jar file this class is in. Also, once I create the Realm in, say for example, package my.realm.package, where do I place the class files so that the custom realm can be accessed from Tomcat? Thanks!

Re: using the Standard jdk 1.4 logging with Tomcat 5

2004-10-15 Thread Paul Taylor
Spoke to someone else who had the same problem. As far as I can see this is a bug in Tomcat, it is unable to find the custom formatter unless anyone knows different Ill raise this as a bug. Paul Taylor wrote: Did you specify your own formatter in your properties file ? Ive changed my code from

RE: org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
THANK YOU!~ -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 11:30 AM To: [EMAIL PROTECTED] Subject: Re: org.apache.catalina.Realm IIRC, it is in $CATALINA_HOME/server/lib/catalina.jar, and that is where you would put your implementation,

RE: org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
Is there somewhere I can find the implementation of the JDBCRealm class? Looking at the Realm how-to I don't get a lot of information about sequence of calls, what methods are overridable, etc. Can anyone point me to the implementation of this class? -Original Message- From: Larry

RE: org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
Thanks again! -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 12:02 PM To: Tomcat Users List Subject: RE: org.apache.catalina.Realm Hi, Or follow any of the links that say CVS Repositories on the apache.org pages, which will take you

Re: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Antony Paul
Do you mean Apache dont have any security holes. I dont know about hacking a system. But in terms of security Tomcat is far better than Apache since it dont have any security vulnerabilities. rgds Antony Paul On Thu, 14 Oct 2004 04:41:53 -0400 (EDT), Alex [EMAIL PROTECTED] wrote: From

Re: Tomcat email system or analogs for it

2004-10-14 Thread Antony Paul
Resources How to in tomcat-docs for an example. rgds Antony Paul On Thu, 14 Oct 2004 14:09:09 +0300, aleksej [EMAIL PROTECTED] wrote: Hi! I am wondering, how to send emails from Tomcat? As I understand, Tomcat has'nt native J2EE JavaMail API support. Then what kind of libraries I should use to get

Re: How to redirect http to https automatically?

2004-10-14 Thread Antony Paul
Is it possible to switch from https to http using this kind of configuration ? I tried with NONE for user constraint but it still remains in https. rgds Antony Paul On Thu, 14 Oct 2004 08:40:31 -0700, David Wall [EMAIL PROTECTED] wrote: This is part of the servlet specs. In your WEB-INF

Re: Listeners

2004-10-13 Thread Antony Paul
I could'nt find anything wrong with the listener element. Perhaps it is caused by something else. Remove all other elements than listener and try to see the error. Also post the full error log. rgds Antony Paul On Wed, 13 Oct 2004 01:14:15 -0700, Ray Madigan [EMAIL PROTECTED] wrote: The top

[OT]Setting default value for form input type

2004-10-12 Thread Antony Paul
Hi, Is there any way to set the default value for the file field when the form is loaded ?. rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Setting no-cache headers for javascript

2004-10-08 Thread Antony Paul
Using filter to set the headers works. Thanks for the help. rgds Antony Paul On Thu, 7 Oct 2004 19:20:18 +0530, Antony Paul [EMAIL PROTECTED] wrote: Ok. I will test by adding a header using a Filter to all js requests. I thought I have to interpret every js request and read the file from

[OT] Setting no-cache headers for javascript

2004-10-07 Thread Antony Paul
Hi all, How to add no-cache header to a javascript file which is set in the html as script src=scripts/hello.js/script. This comes in an HTML page. I set the meta tags for cache control. But no use. Uses IE 6.0, Tomcat 4.1.30. rgds Anto Paul

Re: [OT] Setting no-cache headers for javascript

2004-10-07 Thread Antony Paul
I used JSP. How to use filter ? rgds Antony Paul On Thu, 07 Oct 2004 04:44:28 -0700, Hassan Schroeder [EMAIL PROTECTED] wrote: Antony Paul wrote: How to add no-cache header to a javascript file which is set in the html as script src=scripts/hello.js/script. Either make your

Re: [OT] Setting no-cache headers for javascript

2004-10-07 Thread Antony Paul
Ok. I will test by adding a header using a Filter to all js requests. I thought I have to interpret every js request and read the file from dist and deliver it. Thanks rgds Antony Paul On Thu, 7 Oct 2004 09:40:28 -0400, Phillip Qin [EMAIL PROTECTED] wrote: Read servlet spec or books. In short

Re: using the Standard jdk 1.4 logging with Tomcat 5

2004-10-07 Thread Paul Taylor
logging with java.util.logging.config.file property and config file. - Jukka - Paul Taylor wrote: Hi in a previous non Tomcat project I wrote some classes that used the java.util.logging library that comes with java 1.4 quite successfully. I am now trying to use the same classes with Toimcat

RE: Using Digested Passwords and DIGEST Authentication at the sam e time.

2004-10-07 Thread Anderson, M. Paul
As I am knew to Tomcat I will ask you to excuse my ignorance. I have just realized (and I am asking those with the necessary experience to verify this) that when you talk about DIGEST authentication there are really two separate and distinct forms of it: 1. Indicate to the BROWSER to digest the

Authentication Mechanisms

2004-10-06 Thread Anderson, M. Paul
What mechanisms do you developers typically use for preventing unauthorized access to a web application? I'm trying to determine the best approach for my web app. Here are the basic guidelines I need to follow: 1. We must limit access to the site to registered users. 2. We currently use BASIC

RE: How to make Apache direct Servlet to Tomcat

2004-10-05 Thread Lee, Paul NYC
:/examples/*] group=lb [uri:/www/*] group=lb [uri:/jdbcRowset/*] group=lb [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: Thank you. -Original Message- From: Lee, Paul NYC [mailto:[EMAIL PROTECTED] Sent: Friday

DIGEST Authentication in Tomcat 4 vs Tomcat 5

2004-10-05 Thread Anderson, M. Paul
Can anyone point me to information concerning whether or not DIGEST authentication works in Tomcat 4 and/or Tomcat 5? I have only found conflicting information on the web as well as in several books. Is there a tutorial out there somewhere that would help me set this up? I have seen comments

mod_rewrite pass rewrited URL to mod_jk how ?

2004-10-02 Thread Antony Paul
JkOptions +ForwardURICompat or JkOptions +ForwardURICompatUnparsed are of no use. rgds Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mod_rewrite pass rewrited URL to mod_jk how ?

2004-10-02 Thread Antony Paul
Using PT flag only helped me to pass the relevant request to Tomcat. I found it at http://helma.org/docs/howtos/mod_jk/. rgds Antony Paul On Sat, 2 Oct 2004 13:57:35 +0200, Mark Lowe [EMAIL PROTECTED] wrote: You can rewrite urls as you would without jk .. JK only cares about urls that match

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
When I try to remove the uri's in the worker2.properties and set up the mappings in my httpd.conf I get the Apache web page saying I've successfully installed Apache for both virtual hosts. Thanks, Paul -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED] Sent: Friday

mod_jk configuration question

2004-10-01 Thread Anto Paul
Context path= docBase=ROOT debug=0/ /Host Both connectors should connect to respective hosts context. When I tested this all JSP requests are going to the localhost. rgds Anto Paul -- To strive,to seek,to find and not to yield

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
Thanks Charlie for you help. I tried what you suggested and now http://orbt.at.ufl.edu is accessing the ORB webapp properly. However, http://edist.at.ufl.edu renders an 'Internal Server Error' and I now have an HTTP1.1 500 error in my apache log file. My httpd.conf and workers2.properties file

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
OK...I've got it working but am getting errors in my Apache error log: [error] uriEnv.init() map to invalid worker /* apj13:localhost:8209 [error] uriEnv.init() map to invalid worker /* apj13:localhost:8209 [error] uriEnv.init() map to invalid worker /* apj13:localhost:8209

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
/apache-2.0.50/modules/libjkjni.so Thanks, Paul -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:36 AM To: Tomcat Users List Subject: RE: JK2 2.0.4 This is working because of your workers2.properties not the httpd.conf as your port

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
Thanks Matt. By deleting the Virtual Host and all directive within in the httpd.conf remedied the errors I was getting in the Apache log file. All is working now! Thanks everybody for your help. Have a great weekend. Paul -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED

RE: JK2 2.0.4

2004-10-01 Thread Paul D. Hester
the worker [ajp13:localhost:8409] channel=channel.socket:localhost:8409 [ajp13:localhost:8209] channel=channel.socket:localhost:8209 [uri:orbt.at.ufl.edu/*] group=ajp13:localhost:8409 [uri:edist.at.ufl.edu/*] group=ajp13:localhost:8209 Thanks again Matt and Charlie, Paul

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Lee, Paul NYC
Hi, It should be done the same way you redirected jsp requests to tomcat. It needs to be mapped in your jk (or jk2) properties file. Post the relevant parts of your properties file if you're not sure why it doesn't work. -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED]

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Lee, Paul NYC
attention. The Apache2/conf/wrokers2.property is attached. The Tomcat/conf/jk2.property is empty, all lines are commented. in the httpd.conf I added: LoadModule jk2_module modules/mod_jk2-2.0.43.so the .so files are in apache2/modules Thanks -Original Message- From: Lee, Paul NYC [mailto

<    1   2   3   4   5   6   7   8   9   10   >