RE: Application Data sharing -- store large object?

2005-04-11 Thread Stefan Frank
You should maybe take a look into the various caching-libraries available (ehcache, swarmcache, jboss-treecache etc.) - these libraries deal with cacheing, which is a little different from what the application/session-objects offer, as application and session have to be absolutely reliable. If you

Non-obsolete way of running Tomcat as a Windows Service?

2005-04-11 Thread Jon Skeet
The documentation for tomcat5.exe and tomcat5w.exe in 5.5 starts with: quote NOTICE This section of the documentation applies to procrun 1.0, and is now obsolete. /quote Now, it seems to work perfectly well, but I'm always wary about running things which are claimed to be obsolete. Is there a

RE: about Jakarta Slide commercial use

2005-04-11 Thread Peter Crowther
From: Yu Jie [mailto:[EMAIL PROTECTED] Though we know that Jakarta Slide is under the Apache License 2.0 , we are still not quite sure what to do with the situation of commercial use. DISCLAIMER: The following is personal opinion. I am not a lawyer. You should not rely on this advice.

Webdav issue with non ASCII characters

2005-04-11 Thread Fernando Salazar de Paz
I can PUT archives but I am not be able to read them anymore. For example: Archive:manualín.pdf In WebdavServlet::service protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

HELP Tomcat CGI

2005-04-11 Thread Scholtyssek Siegfried
Hello, I use the Apache Tomcat.5.0.16 on the SUNOS 5.8 UNIX With Tomcat we want execute cgi-scripts. So I modified all in web.xml and removed the file servlets-cgi.renametojar to servlets-cgi.jar If I start with Netscape the follow URL: http://localhost:8080/cgi-bin/test.pl so I get

RE: HELP Tomcat CGI

2005-04-11 Thread Raghupathy,Gurumoorthy
Why don't you run perl in apache and integrate it with tomcat ? Tomcat should not be used with CGI ( security issues ) Guru -Original Message- From: Scholtyssek Siegfried [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 09:29 To: tomcat-user@jakarta.apache.org Subject: HELP Tomcat CGI

problem with installing tomcat in linux

2005-04-11 Thread Shaik . ShabeenaImam
hi, I have a problem with installing tomcat in linux. i am getting the following error The BASEDIR environment variable is not defined This environment variable is needed to run this program can anybody help me out. thanx in advance, shabeena

RE: problem with installing tomcat in linux

2005-04-11 Thread Sir John Nueva
Did you set up CATALINA_HOME pointing to the tomcat folder? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 6:30 PM To: tomcat-user@jakarta.apache.org Subject: problem with installing tomcat in linux hi, I have a problem with

Re: problem with installing tomcat in linux

2005-04-11 Thread Cédric Buschini
hi, if errors occur when you try to start the server you have to set variable such as $CATALINA_HOME and $JAVA_HOME. I've do it adding in /etc/profile CATALINA_HOME=/path/to/bin JAVA_HOME=/path/to/jdkXX export CATALINA JAVA_HOME and it works [EMAIL PROTECTED] wrote: hi, I have a

Re: still not clear with connection pooling in tomcat

2005-04-11 Thread ajay kumar
Hi I also struggled for the Tomcat Connection Pooling problem for one week and i got the solution. write the follwing code snippets in respective files: -web.xml-- resource-ref res-ref-namejdbc/TestDB/res-ref-name

How to check whether session has expired or not

2005-04-11 Thread ajay kumar
Hi Friends I am developing e-commerce based web applications,I want to check whether user session has expired, so that i will display Your session has expired message to the user.So how to find out that session expiry. This is very important as i am doing e-commerce apllications.

Re: How to check whether session has expired or not

2005-04-11 Thread Trond G. Ziarkowski
Hi, there was a long discussion on this topic a while ago. Search the archives for 'detect expired session'. Trond ajay kumar wrote: Hi Friends I am developing e-commerce based web applications,I want to check whether user session has expired, so that i will display Your session has

Could not init service for worker

2005-04-11 Thread Spencer
Hi, Goal: To have apache forward connections for a name based virtual host to a Tomcat instance. No load balancing is fine for now. Current state: Both Apache and Tomcat work separatly. When I request a page that uses the connector I get a Internal Server Error (from Apache). I also get the

RE: Could not init service for worker

2005-04-11 Thread Raghupathy,Gurumoorthy
Send me the httpd.conf worker.properties and server.xml Regards Guru -Original Message- From: Spencer [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 12:02 To: tomcat-user@jakarta.apache.org Subject: Could not init service for worker Hi, Goal: To have apache forward connections for a

Filtering remote host access from web.xml

2005-04-11 Thread Fredrik Jonson
Hello, I want to limit access to a specific servlet based on the requesting clients host name and address. I'm aware of the RemoteHostValve, but as I understand the specification it can only be used by editing the server.xml file, and I would prefer to have a method to control it in the

Filtering remote host access in web.xml

2005-04-11 Thread Fredrik Jonson
Hello, I want to limit access to a specific servlet based on the requesting clients host name and address. I'm aware of the RemoteHostValve, but as I understand the specification it can only be used by editing the server.xml file, and I would prefer to have a method to control it in the

Re: problem with installing tomcat in linux

2005-04-11 Thread Shaik . ShabeenaImam
yes i did exported those env variables. but still i am getting the following error Cannot find ./catalina.sh This file is needed to run this program I have even checked for the file permission mode. and also tried these commands #dos2unix startup.sh ... Still i am not getting. hi,

RE: Filtering remote host access from web.xml

2005-04-11 Thread Raghupathy,Gurumoorthy
You can write a filter on the context and based on request.getRemoteAddr() do the processing Guru -Original Message- From: Fredrik Jonson [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 12:12 To: tomcat-user@jakarta.apache.org Subject: Filtering remote host access from

jsvc restart trouble

2005-04-11 Thread Trond G. Ziarkowski
Hi all, I'm using tomcat 5.5.7 with latest jsvc from cvs. In my development environment I frequently run into the java.lang.OutOfMemoryError: PermGen space because of many reloads of my app. To restart Tomcat I issue 'kill -s SIGHUP $PID'. This works well when Tomcat is running normally, but

server/webapps

2005-04-11 Thread Michal Kwiatek
Hello all, Is it possible to deploy an application from the server/webapps directory? I would like my application to be deployed in the same way as manager or admin application are deployed. Thanks in advance, Michal. - To

Webdav, WEB_INF

2005-04-11 Thread Rolotec AG new
Hi all When i connect to a webdav resource, the WEB-INF directory remains invisible. I'm running tomcat standalone. What do i have to do to make WEB-INF directory visible when mounting WEBDAV resources? Thank you for any help Patrick

Re: server/webapps

2005-04-11 Thread Tim Funk
Yes, but not through the admin or manager webapp. -Tim Michal Kwiatek wrote: Hello all, Is it possible to deploy an application from the server/webapps directory? I would like my application to be deployed in the same way as manager or admin application are deployed.

Re: Webdav, WEB_INF

2005-04-11 Thread Tim Funk
IIRC - you cannot see the WEB-INF directory using the webdav webapp. Its a constraint imposed by the servlet spec that any request to WEB-INF is not allowed. -Tim Patrick Sifneos (Rolotec AG new) wrote: Hi all When i connect to a webdav resource, the WEB-INF directory remains invisible. I'm

Fatal: Stack size too small. Use 'java -Xss' to increase default stack size.

2005-04-11 Thread Ronald Klop
Hello, My Tomcat logs this in catalina.out. Fatal: Stack size too small. Use 'java -Xss' to increase default stack size. I don't see a stack trace, so I can't figure out what is really going wrong here. My current setup is jdk 1.4.2_08 on linux 2.6.x with Tomcat 5.0.28. We are using these

RE: server/webapps

2005-04-11 Thread Michal Kwiatek
How, then? Michal. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 2:28 PM To: Tomcat Users List Subject: Re: server/webapps Yes, but not through the admin or manager webapp. -Tim Michal Kwiatek wrote: Hello all, Is it

RE: Webdav issue with non ASCII characters

2005-04-11 Thread Fernando Salazar de Paz
Internet Explorer uses UTF-8 to encode URLs and Tomcat tries ISO-8859-1 in decoding. The result is a wrong filename. String fileName = URLEncoder.encode(manualín.pdf, ISO-8859-1); *1 System.out.println(fileName+ produce +URLDecoder.decode(fileName, UTF-8)); fileName =

Re: Webdav, WEB_INF

2005-04-11 Thread Patrick [EMAIL PROTECTED] AG
Thanks for the Info Tim! This is too bad. That means, i have to install Apache abd run tomcat using Apache as Web-Server. It is then possible to see the WEB-INF directory! On 11.04.2005, at 14:28, Tim Funk wrote: IIRC - you cannot see the WEB-INF directory using the webdav webapp. Its a

RE: Webdav, WEB_INF

2005-04-11 Thread Raghupathy,Gurumoorthy
Yes .. You can use an Alias -Original Message- From: Patrick [EMAIL PROTECTED] AG [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 13:53 To: Tomcat Users List Subject: Re: Webdav, WEB_INF Thanks for the Info Tim! This is too bad. That means, i have to install Apache abd run tomcat using

Re: server/webapps

2005-04-11 Thread Tim Funk
You need to manually place a file in the conf/Catalina/localhost directory. (YMMV on the actual dir) The easiest way is to copy manager.xml to mywebapp.xml and make the appropriate tweaks. -TIm Michal Kwiatek wrote: How, then? Michal. -Original Message- From: Tim Funk

RE: server/webapps

2005-04-11 Thread Michal Kwiatek
It works.Thanks a lot. Michal. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 3:11 PM To: Tomcat Users List Subject: Re: server/webapps You need to manually place a file in the conf/Catalina/localhost directory. (YMMV on the actual

Re: DBCP Please Help Get Working Properly

2005-04-11 Thread David Smith
Ok, define 'no results'. In reality, the naming import isn't the only thing that changed. Your web.xml file *looks* like 2.3 spec from what I can see and you are using JSP 2.x spec syntax in your jsp. If you want the JSP 2.x spec features, you need to declare your web.xml file for servlet 2.4

Re: Webdav, WEB_INF

2005-04-11 Thread Patrick [EMAIL PROTECTED] AG
Yes what? Is it possible with tomcat standalone? On 11.04.2005, at 15:08, Raghupathy,Gurumoorthy wrote: Yes .. You can use an Alias -Original Message- From: Patrick [EMAIL PROTECTED] AG [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 13:53 To: Tomcat Users List Subject: Re: Webdav, WEB_INF

RE: Webdav, WEB_INF

2005-04-11 Thread Raghupathy,Gurumoorthy
With Apache HTTP server and WEBDAV module you can ... Not with tomcat standalone -Original Message- From: Patrick [EMAIL PROTECTED] AG [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 14:20 To: Tomcat Users List Subject: Re: Webdav, WEB_INF Yes what? Is it possible with tomcat

RE: DBCP Please Help Get Working Properly

2005-04-11 Thread Scott Purcell
Thank David for the below information. This makes some sense, and I will try and make the changes. But this of course leads to a follow-up question. Why isn't there any decent documentation to get the DBCP running in Tomcat. I am talking about a simple example, that explains container

Re: problem with installing tomcat in linux

2005-04-11 Thread Paul Puschmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: yes i did exported those env variables. but still i am getting the following error Cannot find ./catalina.sh This file is needed to run this program I have even checked for the file permission mode. and also tried

connection pooling with JTOpen Toolbox_tomcat 5.5.7

2005-04-11 Thread sudip shrestha
Using: tomcat 5.5.7, JTOpen 4.7 JDBC Driver for AS/400 DB2 The DBAdmin of the company I work for ends the subsystems at night time for the backup, so the connection dies during that time and when I try to reconnect to application server via my webapp in the morning, it throws me exception saying

Re: problem with installing tomcat in linux

2005-04-11 Thread Hassan Schroeder
[EMAIL PROTECTED] wrote: yes i did exported those env variables. but still i am getting the following error Cannot find ./catalina.sh This file is needed to run this program Executables, including shell scripts, are only found if they're in your PATH. Either add the $CATALINA_HOME/bin directory to

Problem : TOMCAT stops randomly

2005-04-11 Thread THOMAZON Fabien
Hi, ·We have an application on TOMCAT 4.1.27 and IIS 5.0 on Windows 2000. ·While arriving to some pages of the application (examples : scroll bar manipulation, direct access to the page, … ), TOMCAT stops randomly. In the TOMCAT logs, nothing is indicated. ·We have 2

Jjwvzlvaoytjjbsc

2005-04-11 Thread craigmcc
Mail transaction failed. Partial message is available. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

war file producing jsp problems

2005-04-11 Thread PGibbonsX
Hi There, i've build an app with jsp pages which use a bean and calls java classes. This works fine dandy, outside of a war file. However, i've placed the app within a war file under webapps, removed the original directories etc and restarted tomcat. Now when i load my jsp page, the

RE: Webdav issue with non ASCII characters

2005-04-11 Thread Fernando Salazar de Paz
Using URIEncoding parameter, at Server.xml, PUT and DELETE methods works ok. I am still having trouble with GET method. !-- Define a non-SSL HTTP/1.1 Connector on port 8080 -- Connector port=8080 maxThreads=150 minSpareThreads=25 maxSpareThreads=75

Re: war file producing jsp problems

2005-04-11 Thread David Smith
How are you declaring your web.xml file. If you are declaring with the servlet 2.3 DTD, you won't be able to use the ${} operators available in the JSP 2 spec. Use the 2.4 schema instead. ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee;

tomcat 5.5.9 installlation doesn't seem to work

2005-04-11 Thread Walter Lee
Hi, I downloaded the Tomcat 5.5.9 beta and unzipped it. I get a message saying that it failed to install Tomcat Service and gives me the option to abort it or ignore it. I chose ignore and it finished unzipping. Then it shows a progress bar about service being installed. When all this finished

Re: DBCP Please Help Get Working Properly

2005-04-11 Thread David Smith
Well yes it does make a lot of sense, but is more a question answered by design patterns. It's a little beyond the scope of Tomcat docs to address issues like separation of roles. Both Struts and Spring projects address issues like this with the Model-View-Controller (MVC) pattern and there

crossContext not working

2005-04-11 Thread Ron Crayton
I'm trying to forward a request from an app running in Tomcat 5.5.7 to an html document outside of the app's context. The html document is in the htdocs folder of Apache HTTP Server 2.0. My context.xml document for the app looks like this: ?xml version=1.0 encoding=UTF-8? Context

Re: tomcat 5.5.9 installlation doesn't seem to work

2005-04-11 Thread Parsons Technical Services
It appears you have two versions on your machine. And since you have not changed the defaults you cannot run both at the same time. Shut down the 5.0.28 version and try starting the 5.5.9 version. OR change the server xml to have the 5.5.9 listen on different ports. If the 5.0.28 is also

Re: war file producing jsp problems

2005-04-11 Thread PGibbonsX
thanks for your comment, that does the trick.. many thanks pg..

RE: Application Data sharing -- store large object?

2005-04-11 Thread Daxin Zuo
I means if it is good to put a large Object in the ServletContext. This Object contains a lot of complicated data structure, the data is dymanically used. In all the text books, when they tell the usage of ServletContext object, always use simple string, int, or simple bean. I heard before that

Problem with mod_jk 1.2.8 (and 1.2.10) and Tomcat 4.0.4

2005-04-11 Thread Laurent LE PRIEUR
Hello, I have a problem of ping pong between the connector mod_jk and tomcat 4.0.4 which entraine a significant load network. Sequence 1234 APACHE MOD_JK to TOMCAT Response AB (TOMCAT to APACHE MOD_JK) http://jakarta.apache.org/tomcat/connectors-doc-archive/jk2/common/AJPv13.html I manage to

Re: war file producing jsp problems

2005-04-11 Thread PGibbonsX
I must be going mad! I'm sure i had this working, maybe i was looking at the wrong page when i was testing it, but i just cannot get this to work, even with the ammended web.xml as below: any suggestions? ?xml version=1.0 encoding=ISO-8859-1? web-app version=2.4

Returning a different .jsp than the one the browser asked for...

2005-04-11 Thread Kurt Overberg
Gang, I've scoured the net looking for something that would help me do this- currently looking at Wrapping the HttpServletRequest, but not having much luck. Environment: tomcat 5.0.28 on linux, also using struts 1.1 I'm trying to make my system so that if a user asks for something like

RE: Webdav issue with non ASCII characters

2005-04-11 Thread Fernando Salazar de Paz
The problem arises with pdf files, for example. Although I am using IE (it uses UTF-8 in the encoding process), when I request a PDF file a new (second) request is made by Acrobat Reader. Acrobat Reader uses ISO-8859-1 and Tomcat will not be able to decode the uri properly. What is the reason for

RE: Webdav issue with non ASCII characters

2005-04-11 Thread Peter Crowther
From: Fernando Salazar de Paz [mailto:[EMAIL PROTECTED] when I request a PDF file a new (second) request is made by Acrobat Reader. Acrobat Reader uses ISO-8859-1 and Tomcat will not be able to decode the uri properly. What is the reason for the second request ? The Acrobat reader IE

Session object not the same in different JSP's

2005-04-11 Thread Adam Lipscombe
Folks, I have an odd problem the manifests intermittently with TC 5.0.27 and Struts 1.1. I am not sure if it's a TC problem or Struts. I think its TC, but apologies if this is not the correct forum. The problem is this: If validation errors are detected the app code stores them in the Struts

Re: Returning a different .jsp than the one the browser asked for...

2005-04-11 Thread Dakota Jack
I don't know if this is helpful, but if you have a front controller in your architecture, which would be normal,, this sort of behavior would be simple to code. Do you have a front controller? On Apr 11, 2005 9:43 AM, Kurt Overberg [EMAIL PROTECTED] wrote: Gang, I've scoured the net

Re: Session object not the same in different JSP's

2005-04-11 Thread Dakota Jack
Is there any chance that you are finding these results while running two instances of the same browser on the same client machine? On Apr 11, 2005 9:56 AM, Adam Lipscombe [EMAIL PROTECTED] wrote: Folks, I have an odd problem the manifests intermittently with TC 5.0.27 and Struts 1.1. I am

Wrapping a Request (was Re: Tomcat user 'roles' question)

2005-04-11 Thread Wendy Smoak
Bill Barker wrote: You could use a Valve, but it sounds like for what you want, you could simply wrap the HttpServletRequest in your Filter with a wrapper that overrides isUserInRole. Wrapping the request sounds like a good way to go, but I'm on Tomcat 4.1 and the HttpRequestWrapper appears to

Tomcat 5.0.19 restarted without explicit shutdown and startup

2005-04-11 Thread Richard Wang
Hello, We are running Tomcat (version 5.0.19) with Apache (version: 2.0.50) redirection on Windows 2000 (with latest fixes and patches). Last week, we observed that Tomcat unloaded and then reloaded our main application context without any obvious reasons. We have already searched

Re: Session object not the same in different JSP's

2005-04-11 Thread Wendy Smoak
From: Adam Lipscombe [EMAIL PROTECTED] Most of the time this works fine. However occasionally the session object that is used by the caller (i.e. the JSP) and the dialog are not the same instance. i.e. The ActionErrors Object is stored in session X but the modal dialog JSP uses session Y. How

Re: Wrapping a Request (was Re: Tomcat user 'roles' question)

2005-04-11 Thread Wendy Smoak
- Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, April 11, 2005 9:59 AM Subject: Wrapping a Request (was Re: Tomcat user 'roles' question) Bill Barker wrote: You could use a Valve, but it sounds like for what

Re: Wrapping a Request (was Re: Tomcat user 'roles' question)

2005-04-11 Thread Wendy Smoak
(Apologies for the repost a minute ago... wrong button.) From: Wendy Smoak [EMAIL PROTECTED] Wrapping the request sounds like a good way to go, but I'm on Tomcat 4.1 and the HttpRequestWrapper appears to be deprecated without suggesting a replacement:

META-INF/context.xml question

2005-04-11 Thread Scott Purcell
Hello, I am still configuring my Tomcat 5.5.7 on a PC. I am configuring a Context element and would like to put it in the META-INF/context.xml for my webapp. The docs say this would be fine. My question is, so I need anytype of doctype heading for this, since it is a xml file? Or do I just

RE: Application Data sharing -- store large object?

2005-04-11 Thread Daxin Zuo
Stefan, Thank you for your reply. It is very helpful. I may use a CACHE as you mentioned. I like to ask another question. 1) The object I am going to cache is large, and dynamically changed according to users actions. 2) Currently our program runs with Tomcat/Apache, it has to support

RE: META-INF/context.xml question

2005-04-11 Thread David Owens
Mine looks like this: ?xml version='1.0' encoding='utf-8'? Context displayName=My Web App docBase=myapp path=/myapp workDir=work/Catalina/localhost/myapp antiJARLocking=true antiResourceLocking=true swallowOutput=true ... /Context -Original

RequestDispatcher.forward() to doc located on HTTP Server

2005-04-11 Thread Ron Crayton
Is it possible to use Request.forward() to forward a request to an html document located on an HTTP Server? I'm using Tomcat 5.5.7 and Apache 2.0. I have a document setting in the htdocs folder of Apache 2.0 that I'm trying to forward to from an application deployed in Tomcat 5.5.7. I have

[ANN] Tomcat 5.5.9 voted stable

2005-04-11 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Tomcat 5.5.9 stable. This build contains numerous bug fixes, documentation updates, and other improvements. Please note that while all core features have been tested and voted stable, there is a known issue in this

Re: HELP Tomcat CGI

2005-04-11 Thread Mark Thomas
Should not is rather strong and a little misleading. What you need to keep in mind is the warning in the docs. quote CAUTION - CGI scripts are used to execute programs external to the Tomcat JVM. If you are using the Java SecurityManager this will bypass your security policy configuration in

Re: Tomcat 5.0.19 restarted without explicit shutdown and startup

2005-04-11 Thread Mark Thomas
Have a look at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment It describes all the circumstances where a 5.0.x Tomcat will do a redploy. Mark Richard Wang wrote: Hello, We are running Tomcat (version 5.0.19) with Apache (version:

Logging assistance.

2005-04-11 Thread Scott Purcell
Hello, I am trying to get the logging to work for a webapp I am working on. I am using Tomcat 5.5.7 and I am here: http://localhost/tomcat-docs/logging.html I followed the instructions but do not get what I assume is proper behavior. 1) created the log4j.properties file and placed under

Re: RequestDispatcher.forward() to doc located on HTTP Server

2005-04-11 Thread Mark Thomas
You might have better luck using a redirect. This should cause the client to request the alternate resource which Apache would then serve. Mark Ron Crayton wrote: Is it possible to use Request.forward() to forward a request to an html document located on an HTTP Server? I'm using Tomcat 5.5.7

Help needed with Tomcat 5.5.7 admin app (MBeanServer is not available)

2005-04-11 Thread Fritz Schneider
Simon, I had the same problem. Then I discovered that the admin app had to be installed under ${Catalina.home}/server/webapps rather than just ${Catalina.home}/webapps. Once I moved the directory to where the Context docBase said it was supposed to be, it started working. Fritz _

Re: [ANN] Tomcat 5.5.9 voted stable

2005-04-11 Thread Christoph Kutzinski
Yoav Shapira wrote: Please note that while all core features have been tested and voted stable, there is a known issue in this build related to the clustering module. The fix for this issue is available by itself at Bugzilla, and will be included in subsequent Tomcat releases. Again, this issue

Re: Returning a different .jsp than the one the browser asked for...

2005-04-11 Thread Kurt Overberg
I was kinda able to do what I needed by using a filter- thanks for your reply! /kurt Dakota Jack wrote: I don't know if this is helpful, but if you have a front controller in your architecture, which would be normal,, this sort of behavior would be simple to code. Do you have a front controller?

Re: Application Data sharing -- store large object?

2005-04-11 Thread Larry Meadors
Maybe I am missing something, but this sounds like a data model that should live in a database. That way, you could have your database layer (iBATIS or Hibernate) cahce it for you, and use standard APIs to get to the data. Larry On Apr 11, 2005 11:59 AM, Daxin Zuo [EMAIL PROTECTED] wrote:

Re: [ANN] Tomcat 5.5.9 voted stable

2005-04-11 Thread Remy Maucherat
On Apr 11, 2005 9:35 PM, Christoph Kutzinski [EMAIL PROTECTED] wrote: Yoav Shapira wrote: Please note that while all core features have been tested and voted stable, there is a known issue in this build related to the clustering module. The fix for this issue is available by itself at

RE: [ANN] Tomcat 5.5.9 voted stable

2005-04-11 Thread Richard Mixon (qwest)
Christoph Kutzinski wrote: Yoav Shapira wrote: Please note that while all core features have been tested and voted stable, there is a known issue in this build related to the clustering module. The fix for this issue is available by itself at Bugzilla, and will be included in subsequent

Re: Clean shutdown? Can sessions survive a jsvc stop/start ?

2005-04-11 Thread August Detlefsen
Where do you get the non-buggy version? The TC 5.5 release notes don't mention anything changing in jsvc since version 5.5.3. Is 5.5.9 now released? Does it include the jsvc fixes? --- Bill Barker [EMAIL PROTECTED] wrote: August Detlefsen [EMAIL PROTECTED] wrote in message

Re: Clean shutdown? Can sessions survive a jsvc stop/start ?

2005-04-11 Thread August Detlefsen
One mroe question: If you are using jsvc can you still use the $CATALINA_HOME/bin/[shutdown|startup].sh scripts to do manual tomcat restarts? --- August Detlefsen [EMAIL PROTECTED] wrote: Where do you get the non-buggy version? The TC 5.5 release notes don't mention anything changing in

Tomcat Cluster Sharing File System (NetApp)

2005-04-11 Thread Michael Marrotte
In the midst of architecting a new system and considering clustering Tomcat servers to share the same files from a NetApp mount point. Specifically, configuring multiple instances (server.xml) of Tomcat to share the same /usr/local/tomcat, webapps, etc. Does Catalina support this type (e.g.

test

2005-04-11 Thread luke
test -- ._ :| .| |.|/.|_ :|__.|_|.|\.|_ :0421 276 282. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: META-INF/context.xml question

2005-04-11 Thread luke
Hi, 11Apr2005 @ 12:57 Scott Purcell thusly spake My question is, so I need anytype of doctype heading for this, since it is a xml file? Or do I just create the context.xml in an editor, and start with my Context elements? Following is a version of a context.xml file that goes in

Getting Env Vars from Apache 2

2005-04-11 Thread Hoda Nadeem
I'm having trouble getting Apache environment variables through Tomcat 4.1, for example, I would like to get the mod_ssl additional environment variable SSL_CLIENT_CERT. How do I get that value on the requesting server from Apache? Thanks.

Specifying logging.properties file via system property doesn't work?

2005-04-11 Thread Jonathan Eric Miller
Until Tomcat 5.5.9 I was specifying my java.util.logging.config.file using a system property set using CATALINA_OPTS like the following. CATALINA_OPTS='-Djava.util.logging.config.file=/opt/jakarta-tomcat-dev/conf/logging.properties

Absosule path in appBase?

2005-04-11 Thread jesper
Hello. When using appBase with an absolute path (inside Host server=blaj.example.com ), i get error 400 no such host, when using webapp as appBase no problem. refer to this discussion http://www.codecomments.com/archive257-2005-3-414468.html regards

How to use Database persistence for tomcat clustering?

2005-04-11 Thread hang zhao
Hi, everyone I am trying some configuration with my small tomcat cluster (2 tomcats, 1 apache, connected with mod_jk2 as load balancer). The problem is that I want to use a shared database (Mysql) to do session replication instead of in-memory session replication. But to the best of my

logging to seperate log file per war file

2005-04-11 Thread quentin . compson
is this possible using context.xml or some other way? im using log4j but some output still goes to stdout (e.g System.out.println()). thx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

change to server.xml requires restart 5.5.4

2005-04-11 Thread quentin . compson
tomcat 5.5.4 on win2k server, jvm 1.4.x it seems that every time i make a change to the server.xml (db connection pools), i have to restart tomcat. i assume thats normal, but i was hoping maybe not to have to do it. or maybe 5.5.9 supports something like this? thx

Re: change to server.xml requires restart 5.5.4

2005-04-11 Thread Parsons Technical Services
I don't think that has changed, but I could be wrong. One thought is that unless you have a lot of apps using the DB you could move the resource to the context for the app. Then only the app would have to be restarted. But that begs the question, if you are changing the global db resource what

Re: still not clear with connection pooling in tomcat

2005-04-11 Thread Krishnakant Mane
hello Mr. Ajay Kumar, thanks a lot. I am using tomcat 5.0.25 and I have the context file in the conf/Catalina/localhost directory. in that file where should I put the code u provided in server.xml after the tag is over or before the tag is closed? thanks Krishnakant. Send instant messages to your