Re: Configuring Tomcat5/Apache2/JK2 for load balancing??

2003-03-28 Thread Bill Barker
Yeah, well, you wanted to live life on the bleeding edge ;-). You can expect a little blood loss. As John has pointed out (to you and countless others on the list :), the Jk* Apache directives don't work with mod_jk2. The configuration is done with the jk2.properties file (which isn't really a

Re: Threads in Servlet2.3 container

2003-03-28 Thread Maksimenko Alexander
Actually, that's yes and yes. A single thread is used to process a single HTTP request (including all the filters on the filter chain, the ultimate call to the servlet, and any recursive calls via a RequestDispatcher). Quotes are from Servlet 2.4 PFD2, but it's the same in 2.3: *

Re: MBeanException on init new Realm class

2003-03-28 Thread Bill Barker
It's sparsely documented (and AFAIK only at all for 4.1.18), but it comes up on this list like clockwork ;-). You need to do a better search on the archives. You need to create an mbeans-descriptors.xml file (in your case, just copy the JDBCRealm stuff and change the name), usually in the same

RE: [OT] destructive / negative / pathology testing *help, help!*

2003-03-28 Thread Ralph Einfeldt
You might also have a look at http://www.owasp.org/ That site has some information on common security errors in webapplications and also some testtools that you can use to check your site. -Original Message- From: Henning Heil [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27,

Error while adding another servlet to web.xml

2003-03-28 Thread Mattias Carlehäll
Hi. If I try to add more than one servlet to my web.xml file I get an error while starting up tomcat. I have tried to make my other servlet very plain but still I get errors. Unfortunately I can't se the entire error either, and I don't se it in the log files either. This is my web.xml file:

RE: Need help with tomcat running as service with ajp13

2003-03-28 Thread Mark Prins
I reverted to using the org.apache.catalina.connector.http.HttpConnector instead of the org.apache.coyote.tomcat4.CoyoteConnector, now it works just fine. This sounds eerily familiar. The box I am running on is a dual processor box too. Thanks for your info. What else have you tried to

Re: Error while adding another servlet to web.xml

2003-03-28 Thread Tomas Wredendal
Mattias Carlehäll wrote: Hi. If I try to add more than one servlet to my web.xml file I get an error while starting up tomcat. I have tried to make my other servlet very plain but still I get errors. Unfortunately I can't se the entire error either, and I don't se it in the log files either.

Re: Error while adding another servlet to web.xml

2003-03-28 Thread Mattias Carlehäll
Thanks, solved it :) (Is this an ok mail to send?) -Original Message- From: Tomas Wredendal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Date: Fri, 28 Mar 2003 10:38:29 +0100 Subject: Re: Error while adding another servlet to web.xml Mattias Carlehäll wrote: Hi. If I try

Possible values in web.xml - Reference??

2003-03-28 Thread johannes . fiala
Hi there, Is there any reference available with samples what can be stored in web.xml and how to access the property? In the examples context I found the following entries in web.xml: env-entry env-entry-namename3/env-entry-name env-entry-value1/env-entry-value

Tomcat server.xml context-specific configuration

2003-03-28 Thread johannes . fiala
Hi there, Since I got no replies to any of my inquiries regarding the use of context-specific information in server.xml, it seems as if nobody else uses this configuration property? What is the recommended place to put context-specific parameters into? e.g. Context crossContext=true debug=0

Re: MOD JK2

2003-03-28 Thread Jonas Eriksson
Well rigt now i'm using mod warp to get it to work at all. But i need to get jk2 to work... It looks like this: [shm] file=/usr/local/logs/shm.file size=1048576 [channel.socket:localhost:8009] port=8009 host=127.0.0.1 [channel.un:/usr/local/tomcat/work/jk2.socket] tomcatId=localhost:8009

RE: Configuring Tomcat5/Apache2/JK2 for load balancing??

2003-03-28 Thread Kwong Chong
Hi, JkWorkersFile or JkMount are mod_jk directives, you need to use the equivalent mod_jk2 directives, something like : (jkmount equiv) [uri:/*.jsp] worker=lb:LB (jkworkersfile equiv) JkSet config:file /{path}/workers2.properties Kwong. -Original Message- From: Kevin Hartig

Re: Tomcat server.xml context-specific configuration

2003-03-28 Thread johannes . fiala
Hi there, Here's what I found so far: 1.) I found that the more modern way of accessing scalar environment attributes seems to be JNDI. 2.) JNDI environment entries can be stored in web.xml 3.) web.xml file: env-entry env-entry-nametestvaluewebxml/env-entry-name

minimal config

2003-03-28 Thread Vano Beridze
Hello I have tomcat 4.1.18 I need to know if there is a possibility to have only one (my application's) context running in tomcat. I commented out all other contexts (admin,manager) from my $TOMCAT_HOME/conf/server.xml, but as I can see from logs those apps are still running. I don't need those

Classpath resources

2003-03-28 Thread José Moreira
Hello im trying to load xml resources from classpath, related to the Ibatis.com db layer ... the file ''com/ibatis/db/sqlmapconfig.xml''is loaded using ResourceAsStream ... the 'com/ibatis/db/Users.xml' xml file is referenced by sqlmapconfig.xml : sql-map

Http Session Replication : State of the Art

2003-03-28 Thread jerome moliere
Hi all, searching through the archives of this mailing list, like using our friend google, point me to a single web page (article on theServerSide.com) and this solution is not part from the Jakarta project (uses Javagroups + add-on library with a custom Context Manager

Tomcat context ...: list

2003-03-28 Thread graghupathy
Hello, Can anyone give me a way where I can have a list of all the context present in my tomcat 4.1.18 in my .jsp code ??? Thanks Guru - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Http Session Replication : State of the Art

2003-03-28 Thread Roberts, Eric
Try http://www.filip.net/tomcat-clustering.html Session replication is a standard feature of Tomcat 5. -Original Message- From: jerome moliere [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 13:06 To: [EMAIL PROTECTED] Subject: Http Session Replication : State of the Art Hi all,

jni_connect.dll

2003-03-28 Thread Murtaza Bhaloo
hello i want to install tomcat version 3.2.4 .cannot locate jni_connect.dll pls let me know where to get this file from i am using win2000 server and IIS waiting for your earliest reply thanks and regards murtaza

SV: MOD JK2

2003-03-28 Thread Jonas Eriksson
That sucks, because then I have to change my httpd.conf for every virtual host and that is a log and every of them uses diffret servlets, and I can't not just forward everything to Tomcat either. I'am looking for something like this to mod_jk2 that I saw mod_jk was supporting JkOptions

Re: Http Session Replication : State of the Art

2003-03-28 Thread jerome moliere
Roberts, Eric wrote: Try http://www.filip.net/tomcat-clustering.html i know this site but google ignored this page ? it uses the same component than the one I tried... Session replication is a standard feature of Tomcat 5. Oho nice news!!! I will download install the pre release soon...

Limiting access to mapped resources using jk2, IIS 5.0, and Tomcat 4.1.20

2003-03-28 Thread John Klancer
I have setup IIS with isapi_redirector2.dll to map all requests to www.server.com/foo to my Tomcat server running ajp13 (using jk2) on port 8009. This works well. However, Tomcat (4.1.20) is running a servlet with access to sensitive data, so I want to make sure not just anyone can access /foo. As

Re: Tomcat server.xml context-specific configuration

2003-03-28 Thread Andoni
I like putting everything possible into servlet.xml even though that means restarting tomcat. The advantage to me (and it is purely personal preference) is that then I can look at one file and see straight away everything that is going on with my system. I don't understand people who break up

Re: Tomcat server.xml context-specific configuration

2003-03-28 Thread johannes . fiala
Hi Andoni, I've got to manage tomcat in production with 99% availabilty, so I cannot afford a stop/start of Tomcat just to perform a minor update or bugfix. I want Tomcat in general run continuously. So I have to avoid server.xml and its neighbourhood (/webapps/*.xml) where possible to

Catching ServletExceptions through filter

2003-03-28 Thread Philipp Leusmann
Hi, is it possible to catch thrown ServletExceptions through a filter to generate a custom output? Or, is there a way to define servlets which are processed if, for instance an Error 500 is produced? Thanks, Philipp - To

RE: Catching ServletExceptions through filter

2003-03-28 Thread graghupathy
error-page error-code500/error-code location/general_error.html/location /error-page error-page error-code404/error-code location/general_error.html/location /error-page somthing like this in your web.xml -Original Message- From: Philipp

Re: Catching ServletExceptions through filter

2003-03-28 Thread Tim Funk
You *might* be able to get away with this: public void doFilter(...) { try { ... chain.doFilter(request, response); ... } catch(ServletException e){ ... RequestDispatcher rd = request.getRequestDispatcher(/WEB-INF/moreCowbell.jsp);

In process with IIS and external application

2003-03-28 Thread Amit Bhargava
Hi, I am a real newbie to Tomcat and its world. I have an application that has Tomcat 3.3 bundled with itself. If I run Tomcat that is bundled from its location, I can access the application from the browser. In short the application is running outprocess.

RE: EASY Question about Tomcat Instances.

2003-03-28 Thread Shapira, Yoav
Howdy, That's correct. One JVM = one instance, no matter how many connectors / ports that instance is listening on. That's the conventional definition. Yoav Shapira Millennium ChemInformatics -Original Message- From: stev sutherland [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27,

RE: Possible values in web.xml - Reference??

2003-03-28 Thread Shapira, Yoav
Howdy, Read the Servlet Specification, v2.3, the accompanying JavaDocs. They define everything that can go in web.xml in detail. For env-entry specifically, you will also want to read the tomcat JNDI how-to that's part of the documentation. Yoav Shapira Millennium ChemInformatics

RE: EASY Question about Tomcat Instances.

2003-03-28 Thread p niemandt
Yip: Once instance, but ... Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port value=8443/ ... listening on port 8443 Regards, Paul On Fri, 2003-03-28 at 13:41, Shapira, Yoav wrote: Howdy, That's correct. One JVM = one instance,

SSL client auth - Realms

2003-03-28 Thread Janne Ruuttunen
Hello all. I'm running tomcat-4.1.42-LE-jdk14 on linux, using SSL with client authentication, and a web app that has an additional form-based regular JDBC Realm authentication with a username and a password. I would like to remove this extra authentication step, and just use the client

Log file archiving on Windows

2003-03-28 Thread mapease
Hello again, Does anyone know how to get Tomcat to archive the log files when running as a Windows service? When I run it on a Linux system, it automatically archives the localhost_log file daily. Did I miss something in the setup? (I used the defaults in both installations) Thanks, Mark

Memory Woes

2003-03-28 Thread mapease
Hello, Has anyone had any memory issues when running Tomcat in a production environment where it stays up for weeks? I have a webapp that is fairly intense, using the Struts framework (which is great, by the way!) with streaming data to sockets and database logging to mySQL. I have several of

RE: Log file archiving on Windows

2003-03-28 Thread Shapira, Yoav
Howdy, What do you mean by archive ? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 8:29 AM To: [EMAIL PROTECTED] Subject: Log file archiving on Windows Hello again, Does anyone know how to get

RE: Memory Woes

2003-03-28 Thread Shapira, Yoav
Howdy, You need to keep profiling until you find memory leaks and fix them, or redesign your app to use less memory, or increase the amount available to the JVM, or restart tomcat more frequently, or some combination of the above. Yoav Shapira Millennium ChemInformatics -Original

please help unsubscribe

2003-03-28 Thread Andrew Leung
i tried to email [EMAIL PROTECTED] twice already but still receiving emails. please help unsubscribe me from the list. thanks andrew

Re: Memory Woes

2003-03-28 Thread Tim Funk
Also make sure your not compiling JSP pages. -Tim Shapira, Yoav wrote: Howdy, You need to keep profiling until you find memory leaks and fix them, or redesign your app to use less memory, or increase the amount available to the JVM, or restart tomcat more frequently, or some combination of the

RE: Possible values in web.xml - Reference??

2003-03-28 Thread Rhodes, Phil
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Is there any reference available with samples what can be stored in web.xml and how to access the property? In the examples context I found the following entries in web.xml: env-entry env-entry-namename3/env-entry-name

DBCP + Oracle + Blob

2003-03-28 Thread [EMAIL PROTECTED]
Hi, I have some problems with DBCP in Tomcat 4.1.24 to save something in a BLOB field in Oracle. Usually I write this code String ls_sql_I = select blobField from table1; Statement stmt = myConnection.getStatement(); ResultSet rs = prst.executeQuery(); rs.next(); BLOB blob

Re: DBCP + Oracle + Blob

2003-03-28 Thread Tim Funk
I think this is more for commons-user but heres a try: ((DelegatingResultSet)rs).getDelegate() should give you the underlying ResultSet. -Tim [EMAIL PROTECTED] wrote: Hi, I have some problems with DBCP in Tomcat 4.1.24 to save something in a BLOB field in Oracle. Usually I write this code

Please Help - HttpSessionBindingListener.valueUnbound() not called

2003-03-28 Thread David Thielen
Hi; I have an object that implements HttpSessionBindingListener. It calls valueBound fine. But it never calls valueUnbound. Not when it times out and not when Tomcat is closed. I am running 4.1.18. Any ideas? thanks - dave -

JDBCRealm Timeout

2003-03-28 Thread Raible, Matt
I have an issue where my db connection (to Oracle 9i) times out after 90 minutes of inactivity due to a firewall. I've found a workaround by scheduling a cron job that pings my datasource. However, it only pings my connection pool, but my JDBCRealm. For my connection pool, my JDBC Driver is:

RE: Possible values in web.xml - Reference??

2003-03-28 Thread johannes . fiala
Hi Phil, if you make changes to web.xml env-entries and stop/start the application using the manager app, do your changes show up? My changes didn't show up, only after a complete restart of the Tomcat Container. thx Johannes Rhodes, Phil [EMAIL PROTECTED] 28.03.2003 15:26 Please respond

Re-reading of web.xml during a reload with manager app

2003-03-28 Thread johannes . fiala
hi there, in the Manager App howto, paragraph on Reload an existing Application the following is quoted: NOTE: The /WEB-INF/web.xml web application configuration file is not reread on a reload. If you have made changes to your web.xml file you must stop then start the web application.

connection pool

2003-03-28 Thread Salina Cheung
Hi, When tomcat reloads class files, it also reinitialize the context and the connection pool. But if there are users hitting the site, the connections dont get closed property. These connections still connects to the DB server, but not usable in the newly intialized connection pool. I tried

error-page for ServletException not working?

2003-03-28 Thread C F
Hello, I'm using Tomcat 4.1, PostgreSQL 7.3.2 (in Cygwin) and Struts 1.1 on Windows 2000. I just decided to check out the declarative excpetion handling in the web.xml, but it doesn't seem to be doing anything for me. What I did as a test, was start up the whole application as normal, then

Applet access a text file

2003-03-28 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

RE: connection pool

2003-03-28 Thread Raible, Matt
I've seen this same issue and I'm interested in a solution as well. Thanks, Matt -Original Message- From: Salina Cheung [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:00 AM To: [EMAIL PROTECTED] Subject: connection pool Hi, When tomcat reloads class files, it

Re: minimal config

2003-03-28 Thread Jean-Francois Arcand
Vano Beridze wrote: Hello I have tomcat 4.1.18 I need to know if there is a possibility to have only one (my application's) context running in tomcat. I commented out all other contexts (admin,manager) from my $TOMCAT_HOME/conf/server.xml, but as I can see from logs those apps are still

Please help : Urgent : Tomcat 4.1.18 start problem

2003-03-28 Thread Selvaraj N
Hi, I am trying to use the following command on unix to start Tomcat 4.1.18 server. But, when I use the same command to start Tomcat 4.0.3, it starts fine. /opt/java/bin/java -Djava.endorsed.dirs=/opt/tomcat/bin:/opt/tomcat/common/lib -classpath

RE: Possible values in web.xml - Reference??

2003-03-28 Thread Rhodes, Phil
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] if you make changes to web.xml env-entries and stop/start the application using the manager app, do your changes show up? My changes didn't show up, only after a complete restart of the Tomcat Container. Hmmm... I don't know. I don't use the

Re: MBeanException on init new Realm class

2003-03-28 Thread G. Wade Johnson
Thanks for the response. (Apparently, all of the list archives are _not_ created equal.shrug/) I've attempted this change and ended up with another problem. Now I exception with: ServerLifecycleListener: createMBeans: MBeanException java.lang.ClassCastException at

Re: Memory Woes

2003-03-28 Thread Tim Funk
From the Release notes (for versions older than 4.1.19): JAVAC leaking memory: The Java compiler leaks memory each time a class is compiled. Web applications containing hundreds of JSP files

RE: Xvfb and tomcat - how?

2003-03-28 Thread Oliver Meyn
I'm bemused to report that my problems were (of course) a result of my own mistakes. The NoClassDefFound error was not the cewolf faq problem of missing X but rather an actual missing jar! On top of that JkMount wasn't configured to properly intercept calls to cewolf*. Things are now working

Re: Problem with Session Clustering

2003-03-28 Thread jerome moliere
Filip Hanik wrote: Looks like you got some funky shit going on, yes it seems :) listener local:tcp://localhost:4001 are you running your cluster on one or two machines? for tests ,just on one machine... if it works I will bench with 2 machines... can you send your server.xml files

tomcat 4.1.18 NT service

2003-03-28 Thread Andrew Garnett
All, The tomcat-4.1.18.exe installs perfectly as a service on my NT 4 box, starts up tomcat service happily, and immediately responds on port 8080 with the example servlets. Then within a minute or two, it stops responding completely - just hangs with no output anywhere. If I startup using the

Re: tomcat 4.1.18 NT service

2003-03-28 Thread Larry Meadors
Did you look in the logs? [EMAIL PROTECTED] 03/28/03 10:14 AM All, The tomcat-4.1.18.exe installs perfectly as a service on my NT 4 box, starts up tomcat service happily, and immediately responds on port 8080 with the example servlets. Then within a minute or two, it stops responding completely

Re: DBCP + Oracle + Blob

2003-03-28 Thread [EMAIL PROTECTED]
The method getDelegate() is not present in the current release of commons-dbcp; i find only the apidocs of the version 2.0, but not the code Marco I think this is more for commons-user but heres a try: ((DelegatingResultSet)rs).getDelegate() should give you the underlying ResultSet. -Tim

Single sign on problem!!

2003-03-28 Thread Madhavi Thottempudi
Hi there! I am trying to use Single sign on feature of tomcat and got stuck. My problem is - even after configuring my webapps (all running under tomcat) for single sign-on, when i change to a different app, it is asking me to authenticate again. I must be missing something that ties all these

Anygood Howto on Multiple Virtual Hosts Apache, mod_jk and Tomcat

2003-03-28 Thread Richie Chauhan
Hi All, With the help of everyone here - I have managed to tie together all the bits and pieces to get apache mod_jk tomcat to work together. What I am now having problems with however is the following: I have 1 box running Solaris 9 with 3 ip addresses 192.161.1.3 jupiter (actual hostname)

Re: DBCP + Oracle + Blob

2003-03-28 Thread Tim Funk
Aha! It was aded a long time ago but dbcp hasn't done a release since. I do see a struts tags - so the struts project might be distributing a stable version which has this change.

APPLET using Text File

2003-03-28 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

Re: APPLET using Text File

2003-03-28 Thread jerome moliere
Alberto A C A S Magalhães wrote: ** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor

Trouble with ant install command and ResourceLink

2003-03-28 Thread johannes . fiala
hi there, In my /webapps/myapp.xml I'm using a ResourceLink: ResourceLink name=jdbc/mydb global=MyDatabase/ I'm using the manager app via ant to test my application. After calling ant remove ant install it tells me the context has been installed OK. However, it seems as if the

RE: APPLET using Text File

2003-03-28 Thread Alberto A C A S Magalhães
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta

RE: Anygood Howto on Multiple Virtual Hosts Apache, mod_jk andTo mcat

2003-03-28 Thread Raible, Matt
http://raibledesigns.com/tomcat/index.html Step 6: Configuring Private JVMs. HTH, Matt -Original Message- From: Richie Chauhan [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 10:31 AM To: Tomcat Subject: Anygood Howto on Multiple Virtual Hosts Apache, mod_jk and Tomcat

Living without a Context - deploying an application using manager app

2003-03-28 Thread johannes . fiala
hi there, here are my findings after some experimentation with the ant deploy task of the manager app. *) a complete application can be easily built into a WAR file using ant *) this WAR file can be easily deployed using ant deploy task *) once deployed onto the server, the application is

Fw: Living without a Context - deploying an application using manager app

2003-03-28 Thread johannes . fiala
additionaly, an application deployed using the manager app currently returns null if you use servletcontext.getRealPath(); so it's context seems to be quite obfuscated... Does anybody else have the same phenomenon? thx Johannes - Forwarded by Johannes Fiala/Johannes Fiala on 28.03.2003

RE: APPLET using Text File

2003-03-28 Thread Anecito, Anthony (HQP)
Hi Alberto, I have been working with Applets since 1995 (don't laugh) and never had an issue with reading a file from the directory of the (Web or App) server the Applet was downloaded from. Just know that there are security issues involved if you try to read files not in the same directory (or

Re: Living without a Context - deploying an application using manager app

2003-03-28 Thread Jacob Kjome
What do you mean Living without a Context? Do you mean living without a Tomcat Context ... entry? All you have to do is add META-INF/context.xml (the name context.xml is important so don't name it something else) to your .war file. context.xml is the context configuration file for the context

server-side redirects in web.xml

2003-03-28 Thread Rob Helmer
Hello, I'm sure this is a FAQ, but I can't find a good example of this - I would like to do a server-side redirect on a per-application basis ( e.g. the web.xml ). Basically, I just want : http://server/url/ To be redirected to : http://server/ It needs to be transparent to the user, they

RE: server-side redirects in web.xml

2003-03-28 Thread Filip Hanik
a redirect by definition send a new url back to the browser. what you are looking for sounds like url rewriting or proxying like in Apache Filip -Original Message- From: Rob Helmer [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 11:36 AM To: [EMAIL PROTECTED] Subject:

Binary RPMS

2003-03-28 Thread Alberto J. Chinique
Does anyone know if/when new RPMs for Tomcat 4.1.24, and modjk2 2.02 will be released on the jakarta site? Alberto --- Alberto J. Chinique Network Engineer LEROS Technologies Corporation 9990 Lee Highway Suite 500 Fairfax, VA 22030

Re: server-side redirects in web.xml

2003-03-28 Thread Erik Price
I'm sure this is a FAQ, but I can't find a good example of this - I would like to do a server-side redirect on a per-application basis ( e.g. the web.xml ). Basically, I just want : http://server/url/ To be redirected to : http://server/ It needs to be transparent to the user, they should

Re: server-side redirects in web.xml

2003-03-28 Thread Rob Helmer
On Fri, Mar 28, 2003 at 02:44:04PM -0500, Erik Price wrote: I'm sure this is a FAQ, but I can't find a good example of this - I would like to do a server-side redirect on a per-application basis ( e.g. the web.xml ). You can always fudge it by manipulating the URL with JavaScript/frames.

mutual SSL authentication

2003-03-28 Thread Mark W. Webb
How can I set up SSL on tomcat 4.1 that will allow the server and client to authenticate each other? from what I can tell, it looks like the SSL-HOWTO only addresses server authentication. I have this set up on apache, would I be better off just running tomcat on top of apache? thanks...

best practices on rotating tomcat logs

2003-03-28 Thread klute
Hi All, i run tomcat behind apache via mod_jk. currently i define a timestamped Logger for each Context in my server.xml: Logger className=org.apache.catalina.logger.FileLogger prefix=mycontextA. suffix=.txt timestamp=true/ and a logger for my engine in which all the

Re: best practices on rotating tomcat logs

2003-03-28 Thread jerome moliere
I am wondering if this is pretty much what other people do and if there is a better way of doing it. i just found that apache can rotate its logs with its bin/rotatelogs where you can specify the rotation interval. does tomcat have a similar functionality? i searched for rotate in Tomcat's

Custom Jasper settings

2003-03-28 Thread Massimo Ferrari
Hi, I will set some Custom Jasper properties in my web application. I've defined the following in my web.xml servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namelogVerbosityLevel/param-name

command line way to get version of tomcat?

2003-03-28 Thread rob . mclain
Hi All, Is there a command I can issue in Unix that would display the version of Tomcat that is installed on the machine? Thanks, Rob McLain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Tomcat 3.2.1 on startup cannot load servlet name: jsp

2003-03-28 Thread torechia
I am a new user of tomcat and just installed 3.2.1 on windows 98 and am having problems when I try to access localhost:8080 on internet explorer. - I get error The page cannot be displayed When I startup Tomcat I get cannot load servlet name: jsp on the dos console . I assume this is related

Re: Tomcat 3.2.1 on startup cannot load servlet name: jsp

2003-03-28 Thread Jacob Kjome
As a new user of Tomcat, I would suggest dumping Tomcat-3.2.1 and using the latest Tomcat-4.1.24. You will save yourself lots of headaches and you will find that people can actually provide support for you on the list. I ignore most questions about 3.x.x because I haven't used it for a couple

Tomcat 4.1.24- do not follow symbolic link- works fine in 4.0.6

2003-03-28 Thread Ajay Agrawal
Hi, I have installed Tomcat 4.1.24 and having problem with symbolic link. It does not recognise symbolic link directory. Lets say I have created a symbolic link directory test in webapps/ROOT = and trying to access page by http://server:8080/test give me error desciption The requested

Re: MBeanException on init new Realm class - FIXED

2003-03-28 Thread G. Wade Johnson
I found the solution to my final problem on this. For the CryptJDBCRealm class, the mbean-descriptor is exactly the same as the one for JDBCRealm except for two attributes: name and type. mbean name=CryptJDBCRealm className=org.apache.catalina.mbeans.ClassNameMBean

RE: Tomcat 4.1.24- do not follow symbolic link- works fine in4.0 .6

2003-03-28 Thread Raible, Matt
Context path= docBase=ROOT debug=0 Resources className=org.apache.naming.resources.FileDirContext allowLinking=true caseSensitive=true / ... -Original Message- From: Ajay Agrawal [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 2:38 PM To: Tomcat Users List

RE: Tomcat 4.1.24- do not follow symbolic link- works finein4.0 .6

2003-03-28 Thread Raible, Matt
In server.xml - where you define the context for your application or at the global level next to similar Resources entries. HTH, Matt -Original Message- From: Ajay Agrawal [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:16 PM To: Raible, Matt Subject: RE: Tomcat 4.1.24- do

Re: Tomcat 3.2.1 on startup cannot load servlet name: jsp

2003-03-28 Thread torechia
Thanks, I installed 4.1.24 and it is working much better! --Terry - Original Message - From: Jacob Kjome [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 28, 2003 4:26 PM Subject: Re: Tomcat 3.2.1 on startup cannot load servlet name: jsp As a new user of

Multiple databases for basic auth

2003-03-28 Thread Michael D. Kirkpatrick
I am running Tomcat 4.1. I have successfully configured the default basic auth to work with MSSQL 2000. I have multiple clients. Each one wants their own User database to administer for themselves. That is fine, but I can't seem to configure Tomcat to respect a different User Database for each

RE: Multiple databases for basic auth

2003-03-28 Thread Longley, Andrew
Michael, I am in a very similar position to you, and I don't have any help, but I wanted to indicate that you're not alone. Our app uses a properties file which is put into the classpath. There are new mechanisms for using properties files, but we've been doing it this way since Tomcat 3.2 and

Re: Multiple databases for basic auth

2003-03-28 Thread Larry Meadors
Are you talking about using a different realm for each context, or using different sets of users inside a single context? If you have multiple contexts, you can use a different realm in each one by adding the realm tag inside the context tag in the server.xml file. If you have a single context,

RE: Multiple databases for basic auth

2003-03-28 Thread Goehring, Chuck Mr., RCI - San Diego
Michael, If you do anonymous authentication and write a filter or valve that does the authentication, you could do your own login screen and whatever you want in that area. Chuck -Original Message- From: Michael D. Kirkpatrick [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:05

RE: Tomcat and IIS ( PROBLEM SOLVED )

2003-03-28 Thread jsp
Yes your right, I unfortunately I have to keep asp for that reason. Anyway I solved the problem I was ranting about yesterday very easily I, made the top file an asp page in INETPUB. And did a response redirect to my webapps folder in tomcat to the jsp. I got the referrer after all, not the

mod_jk2 logic check

2003-03-28 Thread Richard Anderson
I have apache 2.0.43 and tomcat 4.1.24. I've set up mod_jk2. Here is my understanding of how things should work. I need this logic double check. My webapp is locate in webapps/ccpd I restart tomcat and/or tomcat automaticly finds the webapp ccpd and maps a default contect to it.

Re: Multiple databases for basic auth

2003-03-28 Thread Craig R. McClanahan
On Fri, 28 Mar 2003, Michael D. Kirkpatrick wrote: Date: Fri, 28 Mar 2003 17:04:37 -0600 From: Michael D. Kirkpatrick [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Multiple databases for basic auth I am running Tomcat 4.1. I have

Re: Creating an HTML file with the correct codebase and archivevalue parameters for a jar in the /WEB-INF/lib directory

2003-03-28 Thread Susan Hoddinott
Thanks. Do you have the servlet spec reference link where this is explained? - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 28, 2003 11:51 AM Subject: Re: Creating an HTML file with the correct codebase and

Configuring Tomcat to use a JDBC Realm

2003-03-28 Thread Dean A. Hoover
I am attempting to use JDBC Realm as described in the Apress book by James Goodwill. My os is RH 8.0. I'm using MySQL 4.0.12 and Connector/J 3.06. I am using Tomcat 4.0.6. I set up a tomcatusers database and a test user as per the book. I dropped mysql-connector-java-3.0.6-stable-bin.jar into

Tomcat buffer size problem?

2003-03-28 Thread Willy Lin
Hi: I have an application in a WAR file. I have no problem with it running under Tomcat 4.0.6. However when I deployed it to Tomcat 4.1.21, I got the following error: org.apache.jasper.JasperException: /home/top_nav.jsp(0,0) Invalid buffer size at

RE: Problem with Session Clustering

2003-03-28 Thread Filip Hanik
what does your other server.xml look like, are you changing the TCP listen port? it multicasting working on your machine? Filip -Original Message- From: jerome moliere [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:20 AM To: Filip Hanik Cc: Tomcat Users List Subject: Re:

Re: Creating an HTML file with the correct codebase and archivevalueparameters for a jar in the /WEB-INF/lib directory

2003-03-28 Thread Tim Funk
Java(TM) Servlet API Specification (Specification) Version: 2.3 SRV.9.5 Directory Structure http://java.sun.com/products/servlet/download.html -Tim Susan Hoddinott wrote: Thanks. Do you have the servlet spec reference link where this is explained? - Original Message - From: Craig R.

  1   2   >