RE: Tomcat and select multiple

2002-09-03 Thread Jay Gardner
On get or post should pass array of values with the name as the array identifier. The array values are loaded in the order in which they are found in your html. You can retrieve the array using Sting[] nameArray = getParameterValues(name); --Jay Gardner -Original Message- From: Josh G

RE: Problems with Tomcat 4.0.4 and IExplorer Pocket PC 2002

2002-09-03 Thread Cor Hofman
Hi, I do not know the examples you are talking about, but I do know that any Html page will not nescecarily render on the pocketpc, since the pocket pc explorer supports (only) HTML 3.2, so any fancy stuff will not work. This might result in pages that are (partially) not rendered on your

Re: Tomcat/Mysql/Woody

2002-09-03 Thread Luc Santeramo
At 15:10 03/09/2002 +1000, you wrote: On Mon, Sep 02, 2002 at 04:36:11PM +0200, Luc Santeramo wrote: ... this jsp displays, on the potato box : -- hé hé hé Revue d'histoire consacrée à la période de la Révolution française et de l'Empire. ...

RE: SSL in Tomcat

2002-09-03 Thread Tathagat (London)
CN is actually taken as the web server's name on which the site is running. This is kind of a check that the certificate is coming from the same server on which the site is running, because if it is coming from another server then it could be fraud. cheers Tathagat -Original Message-

Re: SSL in Tomcat

2002-09-03 Thread randie ursal
thanks Tathagat, but i was just wondering why on the keytool documentation the CN is having a value of the subjects full name...and not the web servers name. is this a documentation error on keytool on java? Tathagat (London) wrote: CN is actually taken as the web server's name on which the

RE: SSL in Tomcat

2002-09-03 Thread Tathagat (London)
Hello Randie, check this page out. http://mindprod.com/jglosskeytool.html cheers Tathagat -Original Message- From: randie ursal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 09:12 To: Tomcat Users List Subject: Re: SSL in Tomcat thanks Tathagat, but i was just wondering

SSL in Tomcat

2002-09-03 Thread randie ursal
hi, sorry for this off the list topic but i really need some idea. when i created my self-signed certificate using keytool to make SSL available in Tomcat i specify in my certificate information ex. keytool -genkey -dname CN=Mark Smith, OU=JavaSoft, O=Sun, L=Cupertino,

multiple certificate on Tomcat

2002-09-03 Thread randie ursal
just a follow up on my previous question. is it possible to have multiple certificate on Tomcat server, and still be able to make use both successfully? because i tried implementing it using the certificate generated by keytool. what happen is that only the first certificate on the default

Invalid command 'WebAppDeploy'

2002-09-03 Thread Antonio Vázquez
I tried to connect Apache and Tomcat 4.0.1 in SUSE Linux 6.4 The lines in the file httpd.conf are equal to the user guide: httpd.conf (last lines) # Tomcat 4.0.1 LoadModule webapp_module /usr/lib/apache/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy

global.jsa

2002-09-03 Thread neal
Is there such a thing as a global.jsa file in Tomcat? I first saw this concept (an idea taken from ASP's global.asa) implemented in JRUN. If there is a global.jsa, does anyone know of any docs on this? If not, is there an alternative? The reason I would want to use this is to instantiate,

RE: Tomcat/Mysql/Woody

2002-09-03 Thread Stefan Langer
Just an idea but maybe the font you are using on Woody is unable to display the special characters and replaces them instead with a '?'. Stefan Langer -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Tomcat Clustering.

2002-09-03 Thread David Cassidy
really your cookie shouldn't change. ie you should stay stuck to a given worker. But it's sounding at least as though we going in the right direction :) D Luminous Heart wrote: Ok. I made the modifications you suggested. As you saw in my workers file I have 3 tcs; tc13, extra13, and intra13.

RE: global.jsa

2002-09-03 Thread Barney Hamish
You can use the WEB-INF/web.xml to similar effect or you can also declare objects to have application scope, then you have a global object that you can access anywhere. Hamish -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:15 AM To:

RE: Tomcat/Mysql/Woody

2002-09-03 Thread Luc Santeramo
At 10:15 03/09/2002 +0200, you wrote: Just an idea but maybe the font you are using on Woody is unable to display the special characters and replaces them instead with a '?'. actually, I use internet explorer to see the result of the query If I do the same query using phpmyadmin with apache, I

JDBC Realm - changing password

2002-09-03 Thread Alex Kachanov
OK, a user wants to change his password for the Tomcat protected folder. The protection is done using JDBCRealm (or MemoryRealm). The password is changed using a special servlet. OK, password is changed in the database, BUT, you have to restrat Tomcat or restart the context to make new

RE: global.jsa

2002-09-03 Thread neal
Thanks. No global.jsa, eeh? The web.xml is a good way to go if you have flat variables that you want placed into the application object ... but can you instantiate objects there? Can you specify scope of those objects or will it presume application scope? THanks. Neal -Original

Re: JDBC Realm - changing password

2002-09-03 Thread David Cassidy
to quote ... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html * Once a user has been authenticated, the user (and his or her associated roles) are cached within Tomcat for the duration of the user's login. (For FORM-based authentication, that means until the

RE: global.jsa

2002-09-03 Thread Barney Hamish
Why don't you just declare the object you want to use as having application scope? That way the first time you use it it will be initialized? Alternatively you can specify servlets that should be run on start-up in the web.xml if you want some kind of java daemon running. Hamish -Original

Re: JDBC Realm - changing password

2002-09-03 Thread Rosdi bin Kasim
Actually you will need to physically turn off your server, un-plug if from the wall, wait 5 minutes and then restart the server again... If that doesnt work.., try to turn off and on your proxy as well... because your proxy might be caching it Hahahaaa.. err.. sorry I am a bit

HA: JDBC Realm - changing password

2002-09-03 Thread Alex Kachanov
It looks as it is not working. I log into protected area as /m Then logout. Close all browser windows Change the password to qq Launch new browser Open the protected area Still /m is valid combination but /qq is not. Restart Tomcat Launch new browser

Re: HA: JDBC Realm - changing password

2002-09-03 Thread David Cassidy
do you have anyway to trace what actions are being performed on the database ? I know that MySQL will let you trace **every** call that is made so you can see all of the database statements. This would be rather useful in trying to find out when tomcat gets the data from the database ... I

OFF TOPIC: zope

2002-09-03 Thread Felipe Schnack
The Linux Journal gave Zope the best application server software prize. What do you think about that? I never had the chance to use it, I would like to hear what you think. http://www.linuxjournal.com/article.php?sid=6260 -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.:

RE: Best Connector for Apache 2x and Tomcat 4x

2002-09-03 Thread Turner, John
Apache 1.3 uses libexec, Apache 2 uses modules. John -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 31, 2002 1:04 AM To: Tomcat Users List Subject: Re: Best Connector for Apache 2x and Tomcat 4x Try replacing libexec/mod_jk.so with

Re: altering the request URI in a filter

2002-09-03 Thread jfc
Martin Cooper wrote: -Original Message- From: jfc [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 1:51 AM To: Tomcat Users List Subject: Re: altering the request URI in a filter [snip] Hi, Thanks for the reply. How can I actually set the new value/s on the request? I

Re: JDBC Realm - changing password

2002-09-03 Thread Markus Znglein
are you shure, that your session is really got invalidated ? If you track sessions via cookies, make sure that your browser deletes the cookie on exit. it might be, that the cookie lifetime is not set to 0 cu MZ -Ursprüngliche Nachricht- Von: Alex Kachanov [EMAIL PROTECTED] An:

tomcat JDNI DB connection pool to Oracle

2002-09-03 Thread Isabel Lameda
Anabody could help me, i´ve been trying to do this for days I've been successfully making JDBC connections directly in my JSP DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); Connection con = DriverManager.getConnection(jdbc:oracle:oci8:+login+/+passwd+@+databas e) Now

RE: altering the request URI in a filter

2002-09-03 Thread Cox, Charlie
would RequestDispather.forward() work for you? you can use this from within your filter and it will not reinvoke the authentication. Charlie -Original Message- From: jfc [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 9:26 AM To: Tomcat Users List Subject: Re: altering

mod_jk for IBM AIX System

2002-09-03 Thread Manoj Kithany
Hi Experts! I am havig problems in Integrating my Apache(1.3) with Tomcat(4.0.4) on IBM AIX (5.1) System. It seems that it needs mod_jk.so file which is very difficult to get for IBM AIX System. Does anyone know how and from where to get that file? Can anyone forward me the file and the

http://server.ccl.net/cca/software/UNIX/apache/apacheRH7.0/README.html

2002-09-03 Thread Nitish Verma
GOMEZ Henri, Thanks for your posting. It helped me very much. You are a gem :) Cheers Nitish -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomcat goes out of memory

2002-09-03 Thread Shapira, Yoav
Hi, Increase memory. Add -Xmx256m to CATALINA_OPTS in $CATALINA_HOME/bin/catalina.sh for 256MB max memory. The default max memory is 64MB. If you still run out of memory, profile your app to figure out why... Yoav Shapira Millennium ChemInformatics -Original Message- From: # Lalit

RE: Best Connector for Apache 2x and Tomcat 4x

2002-09-03 Thread Raj Mettai
I followed the following documentation for Apache1.3 and Tomcat4, and it worked great, http://www.johnturner.com/howto/apache-tomcat-howto.html I wanted to know, that the only difference as for as Howto for Apache2 with tomcat4 is concerned is placing mod_jk.so in modules/ as apposed to

Re: Tomcat 4.1.x, JNDI, and Junit

2002-09-03 Thread Paul Landolt
Well, I've made some progress, but I'm still stuck. by adding a reference to the apache context factory, I've managed to get an initial context: System.setProperty(java.naming.factory.initial, org.apache.naming.java.javaURLContextFactory); However, I still cannot resolve

RE: Best Connector for Apache 2x and Tomcat 4x

2002-09-03 Thread Turner, John
The actual binary itself (mod_jk.so) is different. The mod_jk.so file for Apache 1.3 isn't compatible with Apache 2. Other than that, the only changes I can think of are modifying the Listener directive in server.xml so that it looks like this: Listener

Re: deploying war file and Document base ... does not exist

2002-09-03 Thread Jacob Kjome
I hadn't known about the config attribute. I haven't tried it yet, but I wonder if you can use the config attribute *instead* of the war and path attributes since the config attribute would point to a Context Configuration File (CCF) which would contain that information anyway? In fact, if

Re: deploying war file and Document base ... does not exist

2002-09-03 Thread Jacob Kjome
The only thing not portable is your assumption that the logs directory exists at the same level as the tempdir. You may have to create that directory instead of just assuming it is there and using it. Otherwise, it is a decent solution, although there are still reasons why getRealPath(/)

Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-03 Thread Pascal Forget
Hi All, Last January I wrote up a document on how to set up Apache 1.3 with mod_jk and tomcat 4.0.2 on Linux with load balancing. (see www.ubeans.com/tomcat). Last week I suceeded in setting up Apache 2.0.40 with mod_jk and Tomcat 4.1.9 beta on Linux. Is there any interest in this group for me

RE: need some idea

2002-09-03 Thread Steven Sporen
Depends on your session timeout and if the client closes his/her browser, normally since HTTP in not a connection orientated service it shouldn't be a problem (and since you're not restarting the http server the session information in memory is still valid) If the user closes the browser though

RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-03 Thread Mitchell, Edmund
FWIW, I think your original howto was one of the most useful tomcat docs I've ever come across, and the thought of a more up-to-date version can only be a Good Thing. 1 vote for: Please do the new how-to! Edmund -Original Message- From: Pascal Forget [mailto:[EMAIL PROTECTED]] Sent:

RE: need some idea

2002-09-03 Thread Jim Urban
Why don't you try it and see? :) I think it will depend upon the OS your server is running and how your network is configured. You will need to provide more information. Jim Urban - [EMAIL PROTECTED] Park City Solutions Inc. Clinical Connectivity Suite Product Manager Suite 295 500 Park

Re: need some idea

2002-09-03 Thread randie ursal
how do i set session timeout on tomcat? Steven Sporen wrote: Depends on your session timeout and if the client closes his/her browser, normally since HTTP in not a connection orientated service it shouldn't be a problem (and since you're not restarting the http server the session information in

Can't find resource for bundle java.util.PropertyResourceBundle exception

2002-09-03 Thread rsequeira
Anyone has an idea what could be the cause of the following exception: Can't find resource for bundle java.util.PropertyResourceBundle, key dispatcher.includeException It arises when I run a jsp. Thanks RS -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Re: Can't find resource for bundle java.util.PropertyResourceBundleexception

2002-09-03 Thread randie ursal
place your resources on the default directories where tomcat look for them.. example in the WEB-INF/classes directory of your wepapplication. hope this helps. randie [EMAIL PROTECTED] wrote: Anyone has an idea what could be the cause of the following exception: Can't find resource for

Re: Can't find resource for bundle java.util.PropertyResourceBundle exception

2002-09-03 Thread Randy Secrist
Your property resource bundle needs to: 1) Have a .properties extention. 2) Be in either the WEB-INF/classes, or WEB-INF/lib directories. 3) Can optionally be in the common/classes, or common/lib directories 4) If you place it in a lib directory, it must be included in a .jar file. Good

Re: tomcat JDNI DB connection pool to Oracle

2002-09-03 Thread Simon T
I am running ok with tomcat 4.1.9 using the oracle thin driver. Tomcat 4.1 JNDI datasource examples doc say - Use of the OCI driver should simply involve a changing thin to oci in the URL string. nameurl/name valuejdbc:oracle:thin:[EMAIL PROTECTED]:1521:mysid/value Your url in server.xml is

Re: tomcat JDNI DB connection pool to Oracle

2002-09-03 Thread Vance Christiaanse
Isabel, Your ResourceParams element contains parameter nameurl/name valuejdbc:oracle:oci8@homebank/value /parameter but for 4.0.x url should be driverName. (url is a much clearer name!) (See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html) Also, you

mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8

2002-09-03 Thread Shah, Kishor (Kishor)
Friends, I am unable to compile the mod_jk for Tomact 4.0.4 / Apache 2.0 on Solaris 8 platform. I have both Tomat and Apache up and running. I have downloaded and untarred the connector source into ${basedir}/jakarta-tomcat-connectors-4.0.4-src. The mod_jk page from

file upload problem tomcat behind apache

2002-09-03 Thread Branko Kannenberg
Hi there ! I have a web application which can process uploaded files (mutipart formdata). If I connect to tomcat directly (http connector) everything is fine, I can upload files without problems so far. Now I have connected tomcat 4.0.4 to apache 2.0.40 with connector mod_jk2 (using the

Controlling load on a a machine with multiple tomcat instances

2002-09-03 Thread Donie Kelly
Hi all We are deploying multiple applications on single machine using multiple tomcat instances. There are multiple machines with the same copy of each application on each machine. The whole cluster is hardware load balanced. The problem is the individual machines are not that powerful (Sun

Reflecting on Tomcat DataSources

2002-09-03 Thread Vance Christiaanse
Tomcat fans, The list of ResourceParams you can specify for an environment resource is different between Tomcat 4.0.x and 4.1.x. Below is some servlet code you can run to get an idea of exactly what parameters you can set for your DataSource. Vance

RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8

2002-09-03 Thread Turner, John
From /some/path/to/connector/src/jk/native, try this: [root@localhost]# ./configure --with-apxs=/some/path/to/apache2/bin/apxs --with-java-home=${JAVA_HOME} [root@localhost]# make This should dump mod_jk.so binaries for Apache 1.3 and Apache 2.0 in their respective directories, apache-1.3 and

RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8

2002-09-03 Thread Shah, Kishor (Kishor)
John, Thanks for a qucik reply. Unfortunately, there is no 'configure' in the native dir or under jk tree. All I have under native are the following dirs/files: host:/var/downloads/jakarta-tomcat-connectors-4.0.4-src/jk/native/_# ls Makefile.am build.xml domino

RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-03 Thread Andy Eastham
Pascal, On the grounds that this is probably the most FAQ on this list, I think it would be fantastic. Thanks in anticipation! Andy -Original Message- From: Pascal Forget [mailto:[EMAIL PROTECTED]] Sent: 03 September 2002 15:29 To: [EMAIL PROTECTED] Subject: Apache 2.0.40 +

ssl config question

2002-09-03 Thread Steven Garrett
Hi All, I'm relatively new to administering Tomcat. I'm trying to get my application to work over SSL. I've uncommented all the appropriate connectors, created a key using keytool. However, I still can't get to my application over port 443 or 8443. Am I missing something? Thanks in advance

RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8

2002-09-03 Thread Turner, John
Check out README.configure, I neglected to mention that you need to run buildconf.sh first. John -Original Message- From: Shah, Kishor (Kishor) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:28 PM To: 'Tomcat Users List' Subject: RE: mod_jk for Tomact

RE: ssl config question

2002-09-03 Thread Turner, John
Please be more specific. Error messages? Anything in the log files? What happens, exactly, when you try to access your application? John Turner [EMAIL PROTECTED] -Original Message- From: Steven Garrett [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:31 PM To:

RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-03 Thread Donie Kelly
I'll love to see one as I'll probably need it in the future Donie -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED]] Sent: 03 September 2002 17:30 To: Tomcat Users List Subject: RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing Pascal, On the grounds that

RE: ssl config question

2002-09-03 Thread Steven Garrett
Sorry, I'm using IE version 6.0 All it's saying is my page can't be displayed. And there isn't anything significant in the log files, as far as I can tell. Is there a way to start Tomcat with more verbose logging? All it says is starting background thread. I hope this is more helpful,

Re: altering the request URI in a filter

2002-09-03 Thread jfc
Cox, Charlie wrote: would RequestDispather.forward() work for you? you can use this from within your filter and it will not reinvoke the authentication. Charlie -Original Message- From: jfc [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 9:26 AM To: Tomcat Users List

RE: ssl config question

2002-09-03 Thread Turner, John
Well, you definitely won't find your application on 443, unless you are running Tomcat as root (ok for development, I guess, but not wise for development). Applications need root to bind to ports under 1024. So, that leaves 8443. Just for confirmation's sake, did you follow the SSL HOWTO?

RE: ssl config question

2002-09-03 Thread Turner, John
Oops, that's a typo. It should say running Tomcat as root is unwise for production. :) That's what I get for trying to increase my Project Dolphin average! LOL John -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:46 PM To:

Re: altering the request URI in a filter

2002-09-03 Thread jfc
jfc wrote: Cox, Charlie wrote: would RequestDispather.forward() work for you? you can use this from within your filter and it will not reinvoke the authentication. Charlie -Original Message- From: jfc [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 9:26 AM To:

RE: ssl config question

2002-09-03 Thread Steven Garrett
Yes, I did install jsse and I did follow the directions on the tomcat homepage for configuring ssl. I'll turn the logging on and see what comes of it...I'll be back :) Steve -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 12:49 PM To:

RE: altering the request URI in a filter

2002-09-03 Thread Cox, Charlie
I'm getting java.lang.IllegalStateException: Cannot forward after response has been committed ... etc At the end of my filter's doFilter method I am doing the following: if(stripped){ RequestDispatcher rd = request.getRequestDispatcher(requestURI);

need some idea

2002-09-03 Thread randie ursal
hi, i'm trying to get a some explanation/idea about this... what will happen if for example a client access my webserver then i would disconnect the network cable for about 10 minswhat will happen if i connect it again an continue accessing? would i have a new session or what other

web application configuration in Apache+tomcat setup

2002-09-03 Thread Raj Mettai
Hi all, I have my web application running under tomcat path / localhost:8080/, but once I have configured Apache to tomcat the examples application works great localhost/examples but my application defined on path = / (localhost/) is not working, actually apache is looking under /htdocs for

Re: deploying war file and Document base ... does not exist

2002-09-03 Thread Daniel Kehoe
On Tue, 03 Sep 2002 09:42:58 -0500, Jacob Kjome [EMAIL PROTECTED] said: BTW, you say that there is no delploy task? Well, there certainly is Jake, I meant there is no deploy option in the Tomcat Web Application Manager, the web GUI interface at the link Tomcat Manager at

Re: HELP!! tomcat 4.0.4 shutdown problem

2002-09-03 Thread Anand Parikh
I checked for temp files in $CATALINA_HOME/work and $CATALINA_HOME/temp dirs, but there are none. I also tried killing the tomcat processes but they restart. I am stuck... any help is very welcome. Thanks, Anand I am using Tomcat 4.0.4 with JDK 1.3 on Debian Linux 2.2.6. Tomcat starts OK

problem using sendRedirect() in a servlet jsp:include'd into a jsp page

2002-09-03 Thread prhodes
Hi all, I'm having a little problem... I have a jsp page, lookup.jsp, that jsp:include's a servlet, LookupServlet. The jsp page is mainly just to jsp:include the static html content, and the servlet does all the processing involved in the application... the problem is, I want to move to a page

General HTML/jsp question, any one

2002-09-03 Thread Dinesh Khetarpal
I have an html page generated dynamically by jsp, this page has input field and value=A string which has in it. I should generate the page converting to quot; but I don't and html assumes string ends early. Do you know a method to overcome this or utilities which will convert the string to xml

RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8

2002-09-03 Thread Shah, Kishor (Kishor)
All, I was successful in creating mod_jk.so. Here's what I had just in case someone finds this useful: To make needed the following packages: 1) gcc 2.95.3 2) libtool 1.4 (I downloaded the src and made per gabriele's suggestions) 3) autoconf 2.53 4) automake 1.6 5) m4 1.4 6) Perl 5.005_003 7)

RE: altering the request URI in a filter

2002-09-03 Thread Martin Cooper
OK, I'm confused now. Your original question was about how you could alter the request URI in a filter. Now, however, you seem to be asking about how you can alter the request URI in a Struts Action class or in your own version of the Struts RequestProcessor. What are you really trying to do? If

RE: problem using sendRedirect() in a servlet jsp:include'd into a jsp page

2002-09-03 Thread Sexton, George
A couple of things: 1) Generally, you cannot do a send redirect if you have already written something to the output stream. 2) Unlike ASP, sendRedirect() does not terminate processing of the current servlet, or JSP Page. You need to explicitly put a RETURN statement in. In your case,

Question about beans and memory...

2002-09-03 Thread Michael Nicholson
So, let's say I have a bean with a whole bunch of fields/variables/objects in it. You know, like some strings, some ResultSets (very short lived), some ints, etc. Ok, so I finish with my bean. I don't need it anymore. So, I remove it from the session (where it lives) and null it out

Failover and Sessions

2002-09-03 Thread Jim Urban
We have a client who is interested in running a cluster of Tomcat servers. Since our applications are mission critical healthcare systems, one of the primary concerns is fail over. We need to set up Tomcat to handle this scenario: A user logs on to server A and establishes session. User uses the

Re: Question about beans and memory...

2002-09-03 Thread Will Hartung
Imaging your Bean as being a branch of a tree and all of the stuff inside of it their own little branches. When you remove your bean from the session, you just snipped the branch off the tree. Anything within that branch that is still connected to the trunk of the tree through some other method,

RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8

2002-09-03 Thread Manoj Kithany
Hi Kishore, THANKS for sharing this info. with others. I tried to DOwnload libtools and it created a DIrectory /libtools-1.3.3 Where do I need to put this direcorty and its files...? How to configuer libtool? When I use ./buildconf.sh, it stiill gives errors regarding Libtool? How do i tell

RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8

2002-09-03 Thread Turner, John
libtool is a utility like any other. It should be in your path. The same goes for autoconf, etc. Libtool, autoconf, and other software are critical for successfully compiling open source projects from source. I realize it's confusing, since the documentation doesn't typically explain why

RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8

2002-09-03 Thread Manoj Kithany
Hi John, Thanks for the info. I ahve installed libtool - how to configure and tell ./buildtool.sh script that I have libtool in /libtool-1.3.3 directory? Thanks again! Manoj G. Kithany From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users

Re: Question about beans and memory...

2002-09-03 Thread Michael Nicholson
Thanks... that's what I hoped... so now I just have to make sure I don't grow any unnecessary branches to stuff...:) or buy a weed wacker to get rid of it all :-D - Original Message - From: Will Hartung [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, September

RE: mod_jk for Tomact 4.0.4/Apache 2.0 on Solaris 8

2002-09-03 Thread Shah, Kishor (Kishor)
Manoj, I download the extract into /opt/downloads or /var/downloads. I had downloaded the .gz extract. If you extract .gz then you can do the following: gzip -d libtool-1.4.tar.gz tar xvf libtool-1.4.tar You will now have the dirs extracted into libtool-1.4 cd libtool-1.4 Read the INSTALL

RE: global.jsa

2002-09-03 Thread neal
Interesting. I was aware of the application scope option which is cool ... but not exactly what I was looking for. Running a servlet onStartup is an intriquing suggestion though. I didn't know you could do thatI think that's what I'm looking for! :) Cool...I'm going to read more about

bug in response.sendRedirect with WARP?

2002-09-03 Thread Will Glass-Husain
Hi, I have found an apparent bug with Tomcat 4.0.1 and the WARP connector. When my JSP page calls response.sendRedirect() through the Apache webapp (WARP) Engine, nothing happens. (I do this when given a bad login, for example). When I access the page through Tomcat directly (port 8080)

error accessing a context-param from web.xml

2002-09-03 Thread Michael R. Schwab
Hi, I am fairly new to using Tomcat. I am attempting to use a centralized location to define the MySQL access configuration info. It is my understanding that the /WEB-INF/web.xml is the best location to store this info. I have defined a set of JDBC parameters such as the driver info shown

Re: Question about beans and memory...

2002-09-03 Thread Ben Souther
There are some exeptions to this. One that I'm aware of is a database connection. When in doubt, explicitly destroy all created items. - Original Message - From: Michael Nicholson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, September 03, 2002 2:56 PM

RE: global.jsa

2002-09-03 Thread micael
Try Jason Hunter's book on servlets, Java Servlet Programming, pp. 43 ff. At 01:56 AM 9/3/2002 -0700, you wrote: Thanks. No global.jsa, eeh? The web.xml is a good way to go if you have flat variables that you want placed into the application object ... but can you instantiate objects there?

Container Based Security/Authentication and Forced Login/Logoff

2002-09-03 Thread Andreas Schildbach
Hello! I am using Container Based Security with the Tomcat 4.1.9 beta. Current I have Form based Authentication configured. I'd like to allow the user to authenticate before he tries to access a resource that is protected by security contraints in web.xml. == Is it possible for a Servlet/JSP

RE: global.jsa

2002-09-03 Thread micael
Why don't you look at a struts application? They exist, and all applications with Tomcat do this. At 11:42 AM 9/3/2002 -0700, you wrote: Interesting. I was aware of the application scope option which is cool ... but not exactly what I was looking for. Running a servlet onStartup is an

RE: ssl config question

2002-09-03 Thread Steven Garrett
ok, so this is what I see in the logs. It looks to me like the app gets loaded but can't accept requests. Is this a fair assessment or am I totally wrong (which is the more likely case). All suggestions/help are appreciated. To recap the problem. I can see the application using port 8080,

possible bug

2002-09-03 Thread peter lin
I've encountered some behavior in tomcat 4.0.3 which might be a bug, but I am not sure. I'm hoping some one else has seen this behavior before. I looked at the servlet 2.3 spec and the section on requestdispatching states: SRV.8.2 Using a Request Dispatcher To use a request dispatcher, a

RE: mod_jk for Tomact 4.0.4/Apache 2.0

2002-09-03 Thread Manoj Kithany
Hi Kishore, I installed libtools and it is giving errors when I install automake1.6, autoconf2.53 and m41.4. It says /bin/sh/makeinfo - NOT FOUND! Do you know from where can I get makeinfo? It is not there in GNU site? Thanks! Manoj G. Kithany From: Shah, Kishor (Kishor) [EMAIL

RE: mod_jk for Tomact 4.0.4/Apache 2.0

2002-09-03 Thread Shah, Kishor (Kishor)
Manoj, I did not have this problem, nor do I have that file on the system. However, this may be related to which make you are using. I am not using Sun's make but GNU make 3.79.1. You can download the source and make it for your platform. Kishor -Original Message- From: Manoj

RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-03 Thread Milhomem, Marcus
Hi, I used your howto and it worked fine, congratulations, you wrote a really good howto, but I didn´t do the loadbalancing thing. There is only one thing that I didn´t understood, the jkMout, can you explain it to me please? When I put JKMount /*.jsp loadbalancer I was mounting the

Re: DB2 DataSources and Tomcat 4.0.4

2002-09-03 Thread Rick Yoesting
Vance, I did a little more digging and discovered that the JSP snippet I sent previously works using Class.forName() for both app and net drivers, but curiously enough Class.forName().newInstance() throws an SQLException when using the app driver, but not the net driver. Using the app

Re: altering the request URI in a filter

2002-09-03 Thread jfc
Cox, Charlie wrote: I'm getting java.lang.IllegalStateException: Cannot forward after response has been committed ... etc At the end of my filter's doFilter method I am doing the following: if(stripped){ RequestDispatcher rd = request.getRequestDispatcher(requestURI);

Re: DB2 DataSources and Tomcat 4.0.4

2002-09-03 Thread Vance Christiaanse
Rick, I think your results are relevant to my situation and I thank you very much for trying the experiment. You are the first person to say what I've been saying, which is the DB2 app driver doesn't work with DataSources with Tomcat 4.0.4! The 4.0.x DataSource code tries to do something

Re: altering the request URI in a filter

2002-09-03 Thread jfc
Martin Cooper wrote: OK, I'm confused now. Your original question was about how you could alter the request URI in a filter. Now, however, you seem to be asking about how you can alter the request URI in a Struts Action class or in your own version of the Struts RequestProcessor. What are you

Re: altering the request URI in a filter

2002-09-03 Thread jfc
Martin Cooper wrote: OK, I'm confused now. Your original question was about how you could alter the request URI in a filter. Now, however, you seem to be asking about how you can alter the request URI in a Struts Action class or in your own version of the Struts RequestProcessor. What are you

Problem with apache and tomcat

2002-09-03 Thread Rafael Angarita
Hi, I'm having a problem with tomcat and apache, the main symptom is apache gets too slow and the website does not respond almost any request. It looks like tomcat is not responding fast enough the apache requests or tomcat is not closing the sockets (that's why they appear in

m4 Error (RE: mod_jk for Tomact 4.0.4/Apache 2.0)

2002-09-03 Thread Manoj Kithany
Hi Kishore, I am still having problms. WHen I try to install m4 it shows following Errors/Warnings cd . makeinfo m4.texinfo m4.texinfo:282: warning: `.' or `,' must follow cross reference, not f. m4.texinfo:352: warning: `.' or `,' must

question about localhost

2002-09-03 Thread jeffxjf
Hi, Sir, I used Tomcat3.2 as my web server. before I installing rogers hi-speed internet, I can use it when I type in http://localhost:8080/, and now I installed rogers hi-speed internet , when I try to use it typing in http://localhost:8080/;, it dosen't work, there is tips say can't find

  1   2   >