Re: JDBC/mySQL problem.

2004-03-25 Thread Parsons Technical Services
Kawthar, From what I understand the context is not available from outside Tomcat. If you are running this from an IDE or command line you are in a separate JVM form Tomcat. You have to be trying your code from a servlet, jsp or class within Tomcat to use the context. Doug - Original Message

Re: Permissions problem

2004-03-25 Thread Parsons Technical Services
Daniel, Do a chown -R tomcat (tomcat base directory) to set the owner to tomcat for all the directories and files under the tomcat directory. When tomcat starts it sets up temp file that are cleared and recreate. The error is saying that tomcat can't because the write permission on the directory

Re: No suitable driver

2004-03-25 Thread Parsons Technical Services
Todd, I assume you are running TC5? Please post your configs from the server.xml, web.xml, context.xml and code snippet you use to get a connection. Because you are getting a driver it is at least seeing some of your config. Are you using the correct drivers? Are they current? Are they

Re: Permissions problem

2004-03-25 Thread Daniel Gibby
I looked at the ant source myself: String userDirName = System.getProperty(user.dir); File userDir = new File(userDirName); tmpFile = fileUtils.createTempFile(files, , userDir); out = new PrintWriter(new

RE: RE : JSP suggestion

2004-03-25 Thread John Sidney-Woollett
Ralph Einfeldt said: Sorry, but that wouldn't help the original poster. He is searching for a way to include taglib definitions and imports that are used in the pages. Any kind of dynamic include or decorators wouldn't achieve that. Sorry, you're right, misread the original post. Had it in

corrupt files when uploading via webadministrationtool!!

2004-03-25 Thread Uddenhed, Marcus
Hi!! I got a huge problem that i need som help with. We recently moved our site from a webhotel to our own servers due to finacial reasons and when a user tries to upload a file via the webadmintool using IE they get corrupt files and a error message from tomcat stating so. the wierd thing is

problem : symbolic link with a jar file

2004-03-25 Thread Christophe LECONTE
Hi, I want to do a symbolic link with my file.jar, but I don't understand why I fail. I followed this instruction :http://jakarta.apache.org/tomcat/faq/misc.html#symlink , but I have this error : 2004-03-24 18:27:26 ContextConfig[/voicexmlpageserver] Exception processing JAR at resource path

Re: JDBC/mySQL problem.

2004-03-25 Thread Brian Brewer
What you are describing is not within the tomcat instance. Tomcat is a servlet engine. Every class you write within a webapp gets rewritten into the tomcat master servlet when its initialized (look in the work folder if you want proof) and has to operate within the master servlet instance.

Re: Permissions problem

2004-03-25 Thread Daniel Gibby
I would do a recursive chown, but some of my files need to have different permissions so that the mod_jk2 connector will work... Specifically, the jk2.socket and jk2.shm files. I have done recursive chown on other locations though, and it still doesn't seem to do it... Also, this problem

Re: JDBC/mySQL problem.

2004-03-25 Thread Kawthar Bt M Sulaiman
. I put my classes under %CATALINA_HOME%\webapps\ROOT\WEB-INF\classes\com\maxis\test\TestConnection.class I have my tomcat up and running when I ran java com.maxis.test.TestConnection. Isn't this class within Tomcat? How do I run my application without depending on servlet/jsp?

Re: Permissions problem

2004-03-25 Thread Brian Brewer
Have you recently switched to using Jikes as your compiler? If so, jikes is probably running as root or some other user and cannot save its temporary files within the tomcat folder structure. Try adding whichever user jikes runs under to the tomcat group and make sure the tomcat folder is

Re: JSP suggestion

2004-03-25 Thread Harry Mantheakis
Sorry, but that wouldn't help the original poster. Oh, Ralph, now you've gone and spoiled the fun. I was really enjoying this thread. He is searching for a way to include taglib definitions and imports that are used in the pages. Any kind of dynamic include or decorators wouldn't achieve

RE: Apache Tomcat JK - Connection Problem.

2004-03-25 Thread Cocalea, Eugen
Maybe the packets from one computer can't reach the other. Some firewall settings, maybe. Also, make sure Tomcat is running and listening on 8009 port (connector not commented out and so on) EC -Original Message- From: Steven Perry [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25,

RE: Tomcat 3.2.3 windows service

2004-03-25 Thread Cocalea, Eugen
Does it run as standalone? -Original Message- From: Dmitriy . [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 7:56 PM To: [EMAIL PROTECTED] Subject: Tomcat 3.2.3 windows service Hi I have Tomcat 3.2.3 and tried running it as a service on my Win2000 server and got the

Re: JDBC/mySQL problem.

2004-03-25 Thread Kawthar Bt M Sulaiman
I've created DBTest servlet. Inside init() method, it calls DatabaseOperation op = DatabaseOperation.newInstance(); And here's the error message I got: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class ' ' for connect URL 'null', cause: java.sql.SQLException: No

RE: tomcat certificate

2004-03-25 Thread Idoia Murua Belacortu
My server.xml file has: Connector port=8443 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 debug=0 scheme=https secure=true clientAuth=true sslProtocol=TLS keystoreFile

RE: Tomcat configuration

2004-03-25 Thread Cocalea, Eugen
The heapsize can be specified in the registry. Look for a key that should look like: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1] under it you should have something like this: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 4.1\Parameters] JVM

Re: JDBC/mySQL problem.

2004-03-25 Thread Kawthar Bt M Sulaiman
Wait.. it's working now... I played around with my server.xml file and change the path to empty () and it's working! --Kawthar [EMAIL PROTECTED] 25/03/2004 05:27:54 PM I've created DBTest servlet. Inside init() method, it calls DatabaseOperation op = DatabaseOperation.newInstance();

Re: problem with tomcat 4.1.30, apache 2...

2004-03-25 Thread staf wagemakers
one thing I find frustrating about mod_jk is the logging code: it only reports the errocode, not the strerror. You got 101 as errno, it's possible to convert this code to human readable string with a small c program: tsterror.c: #include error.h #include string.h int main () {

Re: Getting Context Parameters from server.xml

2004-03-25 Thread Jon Wingfield
If you had String name = config.getInitParameter(companyName); it might work ;) HTH, Jon Michael Jones wrote: Hello- I'm trying to store some values in my server.xml and then get them with my Servlet. I followed the instructions at:

RE: Getting Context Parameters from server.xml

2004-03-25 Thread Schalk
Why not set your context param in your webapps web.xml? Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.com

Connection Pool setup.

2004-03-25 Thread Gordon Luk
Hi All, May be I missing understand the DBCP configuration. Anyone could help ? I want my connection pool are Max 100 connection, 10 conn. At start-up, max idle 10, when idle for 10 min then kill it. Something like that. Thanks. Regards, Gordon Luk --- Outgoing mail is certified

Re: Getting Context Parameters from server.xml

2004-03-25 Thread Jon Wingfield
Oops. Sent too soon. That code would only work if your parameters were set up in you web.xml not server.xml ie context-param param-namecompanyName/param-name param-valueMyCompany/param-value /context-param The original code was looking up the servlet's init parameter, which should

RE: Connection Pool setup.

2004-03-25 Thread D'Alessandro, Arthur
May help if you post your resource snipplet (replacing any host /user/passwd info) -Original Message- From: Gordon Luk [mailto:[EMAIL PROTECTED] Sent: Thu Mar 25 05:30:56 2004 To: Tomcat Users List Subject:Connection Pool setup. Hi All, May be I missing understand

Re: Connection Pool setup.

2004-03-25 Thread Peter Rossbach
That easy, look at the DBCP Documentation http://jakarta.apache.org/commons/dbcp/configuration.html and used the following Resource name=jdbc/EmployeeDatabase auth=Container type=javax.sql.DataSource / ResourceParams name=jdbc/EmployeeDatabase

Re: Problem in Welcome-file-list and security

2004-03-25 Thread shanmugampl
My very first page is the login screen. If i have specified security constraints, then how can i show the login screen as the first screen. The request should actually go to a secured screen, and this will bring up the login screen. Thats the reason, i require the first page to be secured. Is

RE: Getting Context Parameters from server.xml

2004-03-25 Thread Bodycombe, Andrew
I think you want to use getServletContext().getInitParameter(companyName); There is a difference between a servlet init parameter (defined in web.xml) and a servlet context init parameter (defined in the context.xml or server.xml file) -Original Message- From: Jon Wingfield To: Tomcat

Re: JDBC/mySQL problem.

2004-03-25 Thread Parsons Technical Services
Congratulation. Now you get to enjoy the fruits of your labor. Although it might be with a few more grey hairs or in my case a few less hairs. I was in the middle of sending you a reply when this showed up. No matter it's working. That's what's important. I think I'll go back to sleep. -

context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
Hello all, Let me first say that I am using Tomcat 4.1.30 and have an existing application that is working properly. I decided that I would like to explore putting the context element for my web application in a myWebapp/META-INF/context.xml file instead of in my server.xml file. The existing

Re: context.xml - what's the secret?

2004-03-25 Thread Parsons Technical Services
Are you using a war file? - Original Message - From: White, Joshua A (HTSC, CASD) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:45 AM Subject: context.xml - what's the secret? Hello all, Let me first say that I am using Tomcat 4.1.30 and have an existing

RE: context.xml - what's the secret?

2004-03-25 Thread Adam Fowler
Try putting it in WEB-INF instead of META-INF Adam. -Original Message- From: White, Joshua A (HTSC, CASD) [mailto:[EMAIL PROTECTED] Sent: 25 March 2004 12:45 To: '[EMAIL PROTECTED]' Subject: context.xml - what's the secret? Hello all, Let me first say that I am using Tomcat 4.1.30

https problem with IE6 on Apache2/jk2/tomcat5.0.19

2004-03-25 Thread Yrjö Hirvonen
I was able to create mht-files with IE6 on Apache2/Tomcat4.1.24 on https- jk2 connection. I use formbased authentication and produce pages with JSP. Pages include also dynamic chartfiles which are located in directories demanding authentication. I replaced Tomcat with version 5.1.19 and

RE: context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
No, I am not currently using a war file. The ant deploy task is copying the updated files directly to the webapps directory. Joshua -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:52 AM To: Tomcat Users List Subject: Re:

RE: context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
Adam, I will certainly give that a try... Joshua -Original Message- From: Adam Fowler [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:55 AM To: 'Tomcat Users List' Subject: RE: context.xml - what's the secret? Try putting it in WEB-INF instead of META-INF Adam.

Re: context.xml - what's the secret?

2004-03-25 Thread Chong Yu Meng
Hi Joshua, If you're using a war file, then you should place the Context fragment inside META-INF then deploy it. If you have already deployed the web application (that is, it is either already expanded inside your web application directory, or the directory was manually created and your

Re: web.xml

2004-03-25 Thread Tim Funk
no (excluding system memory, jvm memory, and file system memory constraints) -Tim Schalk wrote: Hi there Is there a limit to how large the web.xml can be? i.e. The amount of servlet and servlet-mappings etc. - To

Re: auth-method query

2004-03-25 Thread Tim Funk
You can't. If your not authenticated - then getAuthType() can't be filled in -Tim Koes, Derrick wrote: I wish to programmatically check for the auth-method using Tomcat 4.1.18. The HttpServletRequest class provides a getAuthType method, but this is only good for an authentication request. How

JNDI Realm Problem

2004-03-25 Thread Chong Yu Meng
Hello, all ! I've got a really strange problem that is probably caused by my eyesight. I followed the JNDI Real HowTo on the Jakarta site, and I setup the necessary LDIF file and put the necessary entries inside server.xml. After struggling with various typo errors and configuration mistakes

RE: context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
No luck. I am using the ant install task to install the war. I have tried naming the context fragment both context.xml and myAppName.xml. Any other ideas? Joshua -Original Message- From: Chong Yu Meng [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 8:03 AM To: Tomcat Users

post data through form based authentication example?

2004-03-25 Thread Martin Alley
Hi, Has any one got an example of a servlet secured with form based authentication, where the request to the servlet is posted, from outside the secured area? My actual situation is I already have a web application with form based auth working fine, but I have a problem when the user is at a web

RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-25 Thread Hertenstein Alain
Ok thanks for the info. I finally did it with a filter and it worked. Regards Alain -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Bill Barker Envoyé : jeudi, 25. mars 2004 04:29 À : [EMAIL PROTECTED] Objet : Re: URL redirect problem, even with 'RequestDispatcher'

RE: Server.xml - Connector configuration problem

2004-03-25 Thread Shapira, Yoav
Hi, Actually I have 512MB RAM plus 756MB page size(virtual memory). 1.So i can use -Xmx 512m right? Not unless you want threashing. 2.what is this -XX:NewRatio?does this help? Read the docs. Experiment. Yoav Shapira This e-mail, including any attachments, is a confidential business

RE: Where is the stratum package?

2004-03-25 Thread Shapira, Yoav
Hi, Stratum is a jakarta turbine (http://jakarta.apache.org/turbine/) package. Yoav Shapira Millennium Research Informatics -Original Message- From: Alex Chen [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 10:15 PM To: Tomcat Users List Subject: Where is the stratum package?

Problem using form login auth

2004-03-25 Thread Simone - Dev
Hello All, I've a strange problem using the form login coupled with JDBCRealm. This the web.xml I'm using web-app security-constraint display-nameExample Security Constraint/display-name web-resource-collection web-resource-nameProtected Area/web-resource-name

RE: TC V4.1.29 Coyote Connector / minProcessors maxProcessors / Confusion

2004-03-25 Thread Shapira, Yoav
Hi, This suggested to me that with minProcessors=1 and maxProcessors=2, the server would allow 2 concurrent connections. Yup. Seems maximum_concurrent_connections=(maxProcessors - minProcessors), a slightly different relationship than I gathered from the docs. I was hoping someone could

Connection Pool

2004-03-25 Thread armalai
Environement: Tomcat4.x ,Windows 2000 , Oracle9i I'm using 75 concurrent users to hit my application using Jmeter. After 5 hours i'm getting this below error. ERROR: Cannot get a connection, pool exhausted 1.Can you please give me an idea to tune up my settings? 2.This is something sue to

No context configured when switching to Coyote/Http1.1...

2004-03-25 Thread Kevin Seal
Hi everyone, I'm using Tomcat 4.1.30 and have been trying to switch from the deprecated Http connector to Coyote/Http1.1. However, when I change the Service's connector to Coyote I get an HTTP 500 (No context configured to process this request) back from my server whenever I try to access a

Out of memory

2004-03-25 Thread Salvatierra, Mauricio h (M.H.)
Hi people. I new in this list and sorry my english. My problem is.. ... Unable to compile class for JSP ... The system is out of resources Somebody has any idea. Thanks. Saludos !! SALVATIERRA, Mauricio Hugo Information Technology Ford Argentina S.C.A.

RE: Tomcat mixing different log4j FileAppenders

2004-03-25 Thread Shapira, Yoav
Hi, How are you configuring log4j? Where is log4j.jar? Yoav Shapira Millennium Research Informatics -Original Message- From: Angelov, Rossen [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 7:45 PM To: 'Tomcat Users List' Subject: Tomcat mixing different log4j FileAppenders

RE: Out of memory

2004-03-25 Thread Shapira, Yoav
Hi, Sure: set -Xmx higher in $CATALINA_HOME/bin/catalina.sh ;) See the doc for JAVA_OPTS in that file for details. You should investigate what's taking up your system resources by using a profiler. Yoav Shapira Millennium Research Informatics -Original Message- From: Salvatierra,

R: Problem using form login auth

2004-03-25 Thread Simone - Dev
Forgot to tell I tryed also without JDBCRealm but the more usual Memory and I'm using tomcat 5.0.18 Simone - Simone Chiaretta http://www.piyosailing.com/S www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic Life is short,

Re: context.xml - what's the secret?

2004-03-25 Thread Parsons Technical Services
Will not work on TC4 in the war. That's why I asked earlier. It will on TC5. When you deploy look in the logs or look in $Catalina_Home/conf/Catalina/localhost and see if there is a yourappname.xml there. If not then TC is not seeing your context.xml . If it is you may try setting up a

R: Problem using form login auth

2004-03-25 Thread Simone - Dev
Last thing that may help activating the debug to 99 in the configuration of the JDBCRealm I see Username simone successfully authenticated also when the rolename is not inside the one allowed for the application - Simone Chiaretta http://www.piyosailing.com/S

Re: problem with tomcat 4.1.30, apache 2...

2004-03-25 Thread Dionisio Ruiz de Zarate
i test the tomcat and apache in the tomcat ad apache have been instaled machine. when i restart the tomcat appears in the catalina.out log file this (if you can help me): 24-mar-2004 13:35:51 org.apache.coyote.http11.Http11Protocol destroy INFO: Stoping http11 protocol on 8080

Re: Problem using form login auth

2004-03-25 Thread Tim Funk
What's there to solve? 403 is the HTTP response for not authorized. There is a large difference between authenticated and authorized. You can set up a customized 403 error page for catching unauthorized requests (using web.xml) -Tim Simone - Dev wrote: Hello All, I've a strange problem

Re: context.xml - what's the secret?

2004-03-25 Thread Chong Yu Meng
Ok, this may sound like a rather obvious question, but how are you using the Ant task to install ? Are you using the deployer, or a custom ant task ? Also, when you deploy your web application, does it copy the context XML into $CATALINA_HOME/conf/Catalina/localhost ? If it does not, then I

Re: Connection Pool

2004-03-25 Thread Parsons Technical Services
Sounds like a leak in you program. Check to make sure the connection, resultset and statement are being closed. A work around is to add: parameter nameremoveAbandoned/name valuetrue/value /parameter parameter nameremoveAbandonedTimeout/name

interesting result from Monitor

2004-03-25 Thread Peter Lin
the last few days I've been playing with the new Tomcat Monitor. I plan to do more tests in a more scientific way next week. I thought others might find this interesting. Here is my setup server: redhat 9 1gb ram athlon 1.8ghz jdk1.4.2 ibm jdk1.4.2 sun client: gateway laptop 1gb ram

R: Problem using form login auth

2004-03-25 Thread Simone - Dev
Ops... Ur right This is the same behvour with all application provided with tomcat, too... I never noticed, I alway thought that having the wrong role would have been as having a wrong password. Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced

[OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Chong Yu Meng
Hi all ! The amount of traffic I'm getting for my Tomcat tutorial has shot up in recent days, and though I'm very happy with the response, I'm also more than a little worried about my bandwidth bill at the end of the month. Because I am currently unemployed, I'm not sure how long I can keep

Re: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Peter Lin
why not just add them to Tomcat's resource page? Apache's cvs server allows commiters to make their homepage, so that's potentially an option. Not sure about the policy on that. if it generated enough traffic, it might cause eyes to roll. peter lin Chong Yu Meng [EMAIL PROTECTED] wrote:

ssi and #exec

2004-03-25 Thread Malcolm Warren
I need SSI in Tomcat as I have legacy .shtmls in the Search Engines, but for obvious reasons am alarmed at the possibilities provided by SSI #exec, which can run any system command. It's not an enormous problem for us, because nobody is writing any web pages or programmes on our machine except

Write my own Realm - HOWTO ?

2004-03-25 Thread Tom Bednarz
Im using Tomcat 5.0.19. I need to extend the JDBC Realm a little bit, precisly I need to have my own implementation of authenticate(..). In the Realm Configuration HOW-TO is a incomplete Link (FIXME) to information how to do this. Could anybody please point me to that link? Basically I want

clustering/replication tomcat 5

2004-03-25 Thread pablo
Hi folks, I am looking for a step by step on how to do tomcat clustering/replication . I am unable to find anything decent on the web nor in my books (being that they are still tomcat 4 specific ). If anybody has a quick down and dirty on these procedures please let me know. -Pablo

RE: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Shapira, Yoav
Hi, Technically, we can host this on jakarta.apache.org/tomcat. The network traffic numbers you quote would be a tiny fraction of what our servers receive. However: - You won't have direct write access to the docs: you'll have to send a message to tomcat-dev. Someone (most likely me ;)) would

setting crosscontext attribute to true in auto-deployed webapp??

2004-03-25 Thread Phillip Rhodes
Hello all, I have a quick question concerning the crosscontext attribute. I have two webapps that need to work together, via one app obtaining the ServletContext for the other. I understand that I need to set the crosscontext attribute of the Context to 'true' in order for getContext() to work

Re: post data through form based authentication example?

2004-03-25 Thread Adam Hardy
Martin, I would check your problem again. That is not the normal behaviour of the container-managed login. It will cache the original request during the login and send it on to the originally requested URL. Adam On 03/25/2004 02:45 PM Martin Alley wrote: Hi, Has any one got an example of a

RE: setting crosscontext attribute to true in auto-deployed webapp??

2004-03-25 Thread Shapira, Yoav
Hi, That's what the DefaultContext server.xml element is for. Yoav Shapira Millennium Research Informatics -Original Message- From: Phillip Rhodes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:14 AM To: [EMAIL PROTECTED] Subject: setting crosscontext attribute to true in

Re: Write my own Realm - HOWTO ?

2004-03-25 Thread Adam Hardy
Tom, FIXME means it needs to be written... :) (Although I may be wrong there - perhaps someone will jump in) I should imagine that the original class for the JDBC realm would be a fine basis to start from. You should jar it up and put it in tomcat's common/lib directory. Adam On 03/25/2004

Re: setting crosscontext attribute to true in auto-deployed webapp??

2004-03-25 Thread Phillip Rhodes
Hi, That's what the DefaultContext server.xml element is for. Ah, thank you, Yoav! That's exactly what I needed. TTYL, Phillip R. -- When the 1st Amendment no longer protects your voice. And when the 4th Amendment no longer protects your privacy or your stuff. Thank God we have the 2nd

need for deployment strategy without terminating user sessions

2004-03-25 Thread Hubbert, Thomas
Hi, I need some help on how to deploy applications on tomcat without terminating all the user sessions (by stopping and restarting the application). At the moment I can't see how this could be possible (not even with the help of session replication). Is there any feature in tomcat or modjk which

Re: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Chong Yu Meng
Hi Yoav ! Shapira, Yoav wrote: Hi, Technically, we can host this on jakarta.apache.org/tomcat. The network traffic numbers you quote would be a tiny fraction of what our servers receive. However: - You won't have direct write access to the docs: you'll have to send a message to tomcat-dev.

RE: context.xml - what's the secret?

2004-03-25 Thread White, Joshua A (HTSC, CASD)
No problem. I am using the org.apache.catalina.ant.InstallTask ant task. As far as I know, this task does not copy the context XML into $CATALINA_HOME/conf/Catalina/localhost. Should it be doing this? In fact, the $CATALINA_HOME/conf/Catalina directory does not exist. Suggestions?

RE: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Shapira, Yoav
Hi, My one remaining concern is future maintenance of the documents: what we host we have to maintain. It's enough work maintaining the tomcat documentation current as it is right now. But maybe if we place your documentation as part of the FAQ (e.g. here:

RE: post data through form based authentication example?

2004-03-25 Thread Martin Alley
Hi Adam, That's encouraging. I'm actually using struts in this app too. I'll do some debugging and see where I get. Thanks for now Martin -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 25 March 2004 15:10 To: Tomcat Users List Subject: Re: post data through form

Re: context.xml - what's the secret?

2004-03-25 Thread Chong Yu Meng
Hi Joshua, There's your answer right there. Yes, the directory *has* to exist. In fact, when you install Tomcat (the full version, not sure about LE, though), you should see admin.xml and manager.xml inside that directory. You are using Tomcat 5, right ? If the directory does not exist, you

test

2004-03-25 Thread Michael Lehnen
* Automatisch erzeugte Unterschrift Automatically generated signature * BEI ANRUF MORD??? Nein, nicht Mord wie bei Alfred Hitchcock, sondern die elektronische Akte IHRES Kunden öffnet sich innerhalb von

RE: Possible thread crossing

2004-03-25 Thread Denise Mangano
Thanks for the replies. This is the process involved in my webapp: At the bottom of my form I have: input type=hidden name=serialNumber value=123456789 The action of this form calls the following control jsp: %@ page import=com.beans.clients.Validator % jsp:useBean id=formValidator

Where I can find the apache 2.0.x and tomcat 4.1.2x debian packages ?

2004-03-25 Thread Salvador Santander Gutiérrez
Where I can find the apache 2.0.x and tomcat 4.1.2x debian packages ? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Connection Pool

2004-03-25 Thread Tom K
Armalai, This is some of the parameters I noted you didn't have, BUT, they are from the Tomcat 5, so check the docs. Just by looking at the verbiage of the tags, they look like they might be helpful. Tom Kochanowicz !-- Maximum number of idle dB connections to retain in pool.

Re: need for deployment strategy without terminating user sessions

2004-03-25 Thread Tim Funk
Tomcat should be saving all session data to a serializable file. So you can persist session across an application restart. You can also (in tomcat 5) - use the clustering capability. You can use JDBC to persist sessions. OR You can not put stuff critical to a session and persist in another

Re: Possible thread crossing

2004-03-25 Thread David Rees
Denise Mangano wrote, On 3/25/2004 8:04 AM: If the form data is not valid it calls Retry.jsp which I have tried two ways: 1) input type=hidden name=serialNumber value=%=formValidator.getSerialNumber()% 2) input type=hidden name=serialNumber value=123456789 If the form data is completely valid then

Re: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Tim Funk
The drawback (which is a good drawback!) is the tomcat4 and tomcat5 links below contain many files and can easily grow to many more as it becomes more comprehensive. ( http://cymulacrum.net/writings/tomcat5/book1.html and http://cymulacrum.net/writings/tomcat4/book1.html ) The docs are not

RE: Tomcat 3.2.3 windows service

2004-03-25 Thread Dmitriy .
Yes, it does... From: Cocalea, Eugen [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Tomcat 3.2.3 windows service Date: Thu, 25 Mar 2004 11:25:35 +0200 Does it run as standalone? -Original Message- From: Dmitriy .

RE: Possible thread crossing

2004-03-25 Thread Denise Mangano
It would appear so, but the strange thing is that I have been using the same program since July of last year. I recently rebuilt my server and changed versions of RH, Apache and Tomcat - but my web pages and java programs were all restored from back up. This is what's boggling my mind - nothing

RE: Possible thread crossing

2004-03-25 Thread Ralph Einfeldt
So far so good, but how is the serial number stored in the validator bean ? If the id is stored in an instance variable it may be possible that 2 concurrent request in the same session to any form that uses this bean might cause problems. (It is possible to change the value between

session replication

2004-03-25 Thread pablo
Hello , I am running tomcat 5 and I am trying to figure out how to configure session replication . Unfortunately the Filip Hanik website that has all that good info either no longer exists or it has moved. Any help on getting the How to would be greatly appreciated. -Pablo

Re: Possible thread crossing

2004-03-25 Thread David Rees
Denise Mangano wrote, On 3/25/2004 8:45 AM: It would appear so, but the strange thing is that I have been using the same program since July of last year. I recently rebuilt my server and changed versions of RH, Apache and Tomcat - but my web pages and java programs were all restored from back up.

RE: session replication

2004-03-25 Thread Shapira, Yoav
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Yoav Shapira Millennium Research Informatics -Original Message- From: pablo [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 11:46 AM To: [EMAIL PROTECTED] Subject: session replication Hello , I am

RE: Possible thread crossing

2004-03-25 Thread Ralph Einfeldt
You have basically this options: - The error was introduced by the update of the underlying software - The error was there before and somehow just didn't show That is shows up after the update may be coincidence. Or it just show because the new system is faster/slower than before. From

RE: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Shapira, Yoav
Hi, Here is my preference ... Copy the content of http://cymulacrum.net/writings/tomcat5/book1.html and http://cymulacrum.net/writings/tomcat4/book1.html to the Wiki. The FAQ does already links to these 2 documents: http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links and

RE: Possible thread crossing

2004-03-25 Thread Denise Mangano
Ralph, In the bean there is an instance variable: private static String serialNumber=; And it is set using the regular set method: public void setserialNumber(String sn) { serialNumber = sn; } The purpose of the serial number is to identify which client the information being

Re: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Tim Funk
Don't know. (I guess it might be nice to take snapshots occasionally.) -Tim Shapira, Yoav wrote: BTW, do we backup the wiki every now and then? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Possible thread crossing

2004-03-25 Thread Ralph Einfeldt
Ha ! Gotcha ! That's no instance variable It's a class variable It is shared by all instances of the bean !!! change it to: private String serialNumber=; -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 6:14 PM To: Tomcat

RE: Tomcat mixing different log4j FileAppenders

2004-03-25 Thread Angelov, Rossen
Log4J.jar is in extensions directory in java1.4/jre/lib It is configured in a way that any application that uses our java1.4 installation can have access to this extensions directory. In this case Tomcat is started with first setting JAVA_HOME to use the same java1.4 installation. Here are the

RE: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Shapira, Yoav
Hi, I'll ask on [EMAIL PROTECTED] and see if someone knows there. I wouldn't want to lose stuff posted on the wiki if someone is a bit careless when editing. Yoav Shapira Millennium Research Informatics -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, March

RE: Possible thread crossing

2004-03-25 Thread Shapira, Yoav
Hi, Why is the serialNumber field static? Yoav Shapira Millennium Research Informatics -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 12:14 PM To: Tomcat Users List Subject: RE: Possible thread crossing Ralph, In the bean there is an

Re: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Chong Yu Meng
Hi Tim ! Tim Funk wrote: The drawback (which is a good drawback!) is the tomcat4 and tomcat5 links below contain many files and can easily grow to many more as it becomes more comprehensive. Thanks, Tim ! The docs are not FAQ worthy but definitely worth linking to from the FAQ. Well, the

RE: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Shapira, Yoav
Hi, I think we need more people writing docs for Tomcat. Though installation and basic configuration is covered quite well, and there is a LOT of stuff out there on Apache connectors, some advanced stuff, like writing your own realms or JNDI realms, or even the recent discussions about JNDI

RE: session replication

2004-03-25 Thread Erin O'Neill
Here's an interesting thing -- I just make the change of adding to /etc/profile: the JAVA_HOME CATALINA_HOME, restarted tomcat and the JSP example that normally fails works. If I reload the page and it fails with the compiler not found error but if I go back and reclick it works (this is

  1   2   >