tomcat + sysdeo plugin + eclipse 3.1

2005-09-28 Thread Jilles van Gurp
I'm not sure this is the right place for this question but I assume more tomcat users use the sysdeo plugin to launch tomcat. The issue is that my WEB-INF/classes directory of my web application is not on the classpath if I launch tomcat using the sysdeo plugin. This used to work fine but for

Re: tomcat + sysdeo plugin + eclipse 3.1

2005-09-28 Thread Jilles van Gurp
Jilles van Gurp wrote: I'm not sure this is the right place for this question but I assume more tomcat users use the sysdeo plugin to launch tomcat. The issue is that my WEB-INF/classes directory of my web application is not on the classpath if I launch tomcat using the sysdeo plugin. This

Tomcat related help required

2005-09-28 Thread Santosh Asbe
Hi Nix, Please check my reply below. Thanks. Santosh From: Nikola Milutinovic [EMAIL PROTECTED] Date: Sep 27, 2005 9:13 PM Subject: Re: (WAS) Generic Types support in Tomcat? To: Tomcat Users List tomcat-user@jakarta.apache.org Santosh Asbe wrote: Hi all, Hi. First of all, it is very

RE: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Markus Hapke
HI Ramnish, Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk I dit it, but that doesn't make it work too! I can reach the javac command from a MS-Command line, so the compiler is available. Why Tomcat can't see it? Thanx , Markus --- Ursprüngliche Nachricht ---

RE: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Markus Hapke
Hi Jan and all Others, i changed the JAVA_HOME, but still facing the same problem: Perhaps JAVA_HOME does not point to the JDK How can I test what Tomcat tries to read when it calls the javac command? thanx in advance , Markus --- Ursprüngliche Nachricht --- Von: Jan Fredrik Fallsen [EMAIL

Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Anto Paul
On 9/28/05, Markus Hapke [EMAIL PROTECTED] wrote: Hi Jan and all Others, i changed the JAVA_HOME, but still facing the same problem: Perhaps JAVA_HOME does not point to the JDK How can I test what Tomcat tries to read when it calls the javac command? Edit startup.bat and put the

Re: Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread mail
We're sorry, you have reached an email address at YahooGropus, not YahooGroups. Your message has not been delivered to the Yahoo Group intended. Please re-send your email to the correct address. We apologize for the inconvenience. YahooGropus Staff

Re: Problems setting up Webdav folder on Tomcat 5.5

2005-09-28 Thread David Goodenough
On Monday 26 September 2005 19:32, David Goodenough wrote: On Monday 26 September 2005 16:51, David Goodenough wrote: I am trying to set up a webdav application on a machine running Tomcat 5.5. The effect I want to create is that anyone can use http://machine/app/folder to read files,

pointing to a folder outside tomcat webapps

2005-09-28 Thread [EMAIL PROTECTED]
I'd like pointing a foder outside webapps tomcat folder. I know that with Context path=/myPath docBase=c://myFolder reloadable=true/ in server.xml i can do it. I'd like to use that tag in META-INF/context.xmlwithout using server.xml. But It allows just one context tag on context.xml. So any

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread Arup Vidyerthy
Look up allowLinking = true in google. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 September 2005 10:42 To: tomcat-user Subject: pointing to a folder outside tomcat webapps I'd like pointing a foder outside webapps tomcat folder. I know that with

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Darryl L. Pierce
Leon Rosenberg wrote: Aehm, without looking deeper into context initialization, just a short guess: what about making your configuration objects a singleton with public static CLASSNAME getInstance() or provide a factory for them? Because the class in question is created by Spring's

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread [EMAIL PROTECTED]
I kwnow that. I want to use the file META-INF/context.xml inside the application for pointing to another resource. I do not want use server.xml! -- Initial Header --- From : Arup Vidyerthy [EMAIL PROTECTED] To : Tomcat Users List tomcat-user@jakarta.apache.org Cc

how to turn off session cookies

2005-09-28 Thread Fredrik Wendt
One-liner: How do you turn session cookies off, server side? Hi! Nowadays it's illegal to use cookies on web sites in sweden, without informing the visitor that it's done and why, what cookie is etc. Since I don't have any use of a session nor am interested in adding a page saying we use

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread Arup Vidyerthy
You can just place the a empty context xml in your $tomcat_home/conf directory. That's what we do and it works across all contexts... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 September 2005 10:55 To: tomcat-user Subject: RE: pointing to a folder

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread Arup Vidyerthy
OK, You place the context.xml inside $tomcat_home/conf. Contents of that file is something like this: !-- The contents of this file will be loaded for each web application -- Context allowLinking=true !-- Default set of monitored resources -- WatchedResourceWEB-INF/web.xml/WatchedResource

Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Jilles van Gurp
Could you check if relative to your jdk directory there is a lib\tools.jar? This is where the class files for the javac compiler are located and this file is not found by tomcat at the expected location. Anyway, I recommend reinstalling the java development kit and using the default settings.

Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Markus Hapke
Hello All, now it works ! when runing tomcat_root\bin\startup.bat instead of tomcat_root\\bin\tomcat5w.exe //ES//Tomcat5 and then pressing START. For what the tomcat5w.exe should be used ? Markus --- Ursprüngliche Nachricht --- Von: Jilles van Gurp [EMAIL PROTECTED] An: Tomcat

Re: how to turn off session cookies

2005-09-28 Thread Anto Paul
On 9/28/05, Fredrik Wendt [EMAIL PROTECTED] wrote: One-liner: How do you turn session cookies off, server side? Context/ element has an attribute cookies. set it to false to turn off session cookies. See http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Hi! Nowadays it's

RE: how to turn off session cookies

2005-09-28 Thread Johan Wallinder
Maybee OT, but is using URL rewriting considered as cookie? /Johan -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: den 28 september 2005 13:12 To: Tomcat Users List Subject: Re: how to turn off session cookies On 9/28/05, Fredrik Wendt [EMAIL PROTECTED] wrote:

re: https to web server, http from proxy to tomcat

2005-09-28 Thread Joost de Heer
[EMAIL PROTECTED] said: We are currently using an nsapi plugin module for our proxy component. As far as I know, it does not support reverse-proxy setup. Since we are using the standard Sun One Web Server, I am not familiar with reverse proxy. For SUN ONE webserver you can download a reverse

Re: https to web server, http from proxy to tomcat

2005-09-28 Thread Tim Funk
There is also a reverse proxy implemented as a webapp which can be used as its own webapp or easily embedded inyour own webapp. (Courtesy of the Google SoC) http://j2ep.sourceforge.net/ -Tim Joost de Heer wrote: [EMAIL PROTECTED] said: We are currently using an nsapi plugin module for our

Re: saving files in webapp folder from deletion?

2005-09-28 Thread Thomas Corte
Hello, Pham Tran Quoc Viet wrote: Create x outside of webapps and create a soft link within webapps that points to x. Then, within server.xml add the following lines: Context docBase=absolute path to x soft link path=link name allowLinking=true/ That's it. Everytime the soft link is hit,

Re: saving files in webapp folder from deletion?

2005-09-28 Thread Anto Paul
Read this thread lately. May be antiResourceLocking is what you are lokking for. It is an attribute of Context element. On 9/28/05, Thomas Corte [EMAIL PROTECTED] wrote: Hello, Pham Tran Quoc Viet wrote: Create x outside of webapps and create a soft link within webapps that points to x.

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread [EMAIL PROTECTED]
my problem is that i do not want put anything of my application inside tomcat configuration files... Exists context.xml in META-INF that is specific for an application but I can define there just one context. I need more than one context. Hot to do it? -- Initial Header ---

Re: saving files in webapp folder from deletion?

2005-09-28 Thread Thomas Corte
Hello, Anto Paul wrote: Read this thread lately. May be antiResourceLocking is what you are lokking for. I'm afraid not, since it is only useful to prevent files from being locked (to make sure they can be deleted on undeploy). Actually, I'm somewhat looking for the exact opposite, namely a

Re: saving files in webapp folder from deletion?

2005-09-28 Thread [EMAIL PROTECTED]
u should save all your file in a folder outside webapps using a context tag in server.xml. so when u deploy nobody will touch your saved files. -- Initial Header --- From : Thomas Corte [EMAIL PROTECTED] To : Tomcat Users List tomcat-user@jakarta.apache.org Cc

Session sharing not working - Which is the best strategy?

2005-09-28 Thread starki78
We have a web-application that uses a implemented logging mechanism where the valid-user is stored in the session. Now there shall come another web-application that shall be used with the user that was authenticated before. I know that session sharing is not allowed but what else could I do?.

Re: Session sharing not working - Which is the best strategy?

2005-09-28 Thread Ritchie Gillam
I have seen some forums in which the suggestion is to store the userid and session id in a database table upon leaving the first application and then retrieving that session_id for the same user upon entering the 2nd application. If you don't have this record in the database table then force

Capturing User Passwords

2005-09-28 Thread [EMAIL PROTECTED]
I am trying to find a way of capturing a user's password so that I can have the user login to one of my web applications (which acts as a client), and pass it to a second application (which acts as the server). I know that I can retrieve the user from the ServletRequest using

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread Arup Vidyerthy
Using META-INF/context.xml, I don't think you can define other application. I might be wrong though but I seriously doubt if you can define other applications from another applications context.xml file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28

Re: What to put into JAVA_HOME on Windows xp

2005-09-28 Thread Giuseppe Briotti
== Date: Wed, 28 Sep 2005 12:47:07 +0200 (MEST) From: Markus Hapke [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: What to put into JAVA_HOME on Windows xp == Hello All, now it works ! when runing

Re: Capturing User Passwords

2005-09-28 Thread Giuseppe Briotti
== Date: Wed, 28 Sep 2005 14:29:04 +0100 From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Subject: Capturing User Passwords == I am trying to find a way of capturing a user's password so that I can have the

RE: Capturing User Passwords

2005-09-28 Thread Perry, Greg \(UK - London\)
Thanks - but I did try using single sign-on and got that working correctly with trial applications. However, I need to explicitly supply the password in the call to my second application. Again, any help would be greatly appreciated. -Original Message- From: Giuseppe Briotti

RE: pointing to a folder outside tomcat webapps

2005-09-28 Thread [EMAIL PROTECTED]
That's why I ask u in this mailing list.Probably there is a way of settiming more META-INF/context.xml...Probably managing the application in module. Ant idea? -- Initial Header --- From : Arup Vidyerthy [EMAIL PROTECTED] To : Tomcat Users List

Multiple tomcat services?

2005-09-28 Thread Jens Nordberg
Hi, I'm trying to install multiple tomcats on my machine, which works quite well except for one thing. When I'm installing the second instance of Tomcat, I get the following error: Failed to install Tomcat5 service. Check your settings and permissions. Ignore and continue anyway (not

RE: Multiple tomcat services?

2005-09-28 Thread Arup Vidyerthy
Install it under a different name -Original Message- From: Jens Nordberg [mailto:[EMAIL PROTECTED] Sent: 28 September 2005 15:13 To: tomcat-user@jakarta.apache.org Subject: Multiple tomcat services? Hi, I'm trying to install multiple tomcats on my machine, which works quite well except

Re: saving files in webapp folder from deletion?

2005-09-28 Thread Leon Rosenberg
I think in the time you invested in this thread you could easily have written a servlet which delivers the data from anywhere, so you don't need to save it in the context. :-) regards Leon - To unsubscribe, e-mail: [EMAIL

RE: Multiple tomcat services?

2005-09-28 Thread Jens Nordberg
How do you mean? The install program for Tomcat 5.5.9 doesn't allow me to change the name, or does it? As far as I can tell, I can only specify install directory, HTTP port, user name, password and jre. /Jens -Original Message- From: Arup Vidyerthy [mailto:[EMAIL PROTECTED] Sent: den 28

RE: Multiple tomcat services?

2005-09-28 Thread Hardik Tank
Jens, Uncheck the 'Service' option while installing. Windows does not allow to have two services with same name. So, don't install as Service. Rgds, Hardik Tank --- Jens Nordberg [EMAIL PROTECTED] wrote: How do you mean? The install program for Tomcat 5.5.9 doesn't allow me to change the

RE: Multiple tomcat services?

2005-09-28 Thread Arup Vidyerthy
If you look at $tomcat_home/bin directory you should see a file call service.bat. Using that file you should be able to install a tomcat service under different names. -Original Message- From: Jens Nordberg [mailto:[EMAIL PROTECTED] Sent: 28 September 2005 15:25 To: Tomcat Users List

Running Perl script from tomcat ( no apache ) on windows

2005-09-28 Thread alebu
Hi! How to run Perl script from tomcat ( no apache ) on windows? It is required for AW Stats, which uses perl for generating response. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Leon Rosenberg
still, spring can use the same factory. If not, use a container that can use factories :-) If nothing works, the hack would be: class MyObjectInstanceHolder{ private static MyObject instance; public set/getInstance... } ? regards leon On 9/28/05, Darryl L. Pierce [EMAIL PROTECTED] wrote:

Vexing Problem with Tomcat connector

2005-09-28 Thread [EMAIL PROTECTED]
Hello, I have a website that I am migrating to a new server. Server is Redhat ES3 2.4.21-20.0.1.ELsmp. Server version: Apache/2.0.46 I have jakarta-tomcat-5.5.9 installed and working properly on the new server. It is perfectly accessible from the legacy web server. On the Website on the new

Re: Running Perl script from tomcat ( no apache ) on windows

2005-09-28 Thread Markus Schönhaber
Am Mittwoch, 28. September 2005 16:34 schrieb alebu: Hi! How to run Perl script from tomcat ( no apache ) on windows? It is required for AW Stats, which uses perl for generating response. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html Regards mks

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Mark
I have done something like this. The Factory and Singleton design patters work perfectly for this type of thing. If you create an abstraction layer, then there should be no problems On 9/28/05, Leon Rosenberg [EMAIL PROTECTED] wrote: still, spring can use the same factory. If not, use a

byte serving PDF with Tomcat 5.0.27

2005-09-28 Thread Maceno, Shawn
Hello all, I'm running Tomcat 5.0.27 on Linux, and need to know if this version of Tomcat supports byte serving and how to determine if it's working. If anyone can provide any help, I'd greatly appreciate it! Thank you, Shawn Maceno

can't see the my application (alovmap)

2005-09-28 Thread Hugo Osorio
Hi everybody, i need help from you I am trying to install a webapp in Tomcat (AlovMap) , I have set up some others apps on it, but this time i dont know what is happening... i am using FreeBSD 4.11-STABLE with Tomcat 5.0.29 The application is a map server called Alov Map (http://alov.org) It

Re: Running Perl script from tomcat ( no apache ) on windows

2005-09-28 Thread Jilles van Gurp
alebu wrote: Hi! How to run Perl script from tomcat ( no apache ) on windows? It is required for AW Stats, which uses perl for generating response. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Question about tomcat startup ConcurrentModificationException

2005-09-28 Thread Maurice Yarrow
Hello Jilles So I have downloaded the mx4j-2.1.1.tar and untarred it, but since there is no exact match for jmx.jar in the mx4j distribution I zipinfo'd and sorted: the original tomcat/bin/jmx.tar (235 classes) mx4j.jar (285 classes) When diff'd, mostly a good

Re: byte serving PDF with Tomcat 5.0.27

2005-09-28 Thread Jilles van Gurp
Sure, just set the content-type and stream some bytes. As far as I know this applies to all versions of tomcat too. Jilles Maceno, Shawn wrote: Hello all, I'm running Tomcat 5.0.27 on Linux, and need to know if this version of Tomcat supports byte serving and how to determine if it's

Re: Flexible way of defining application variables in text format?

2005-09-28 Thread Leon Rosenberg
database. using props files you have to bounce the app to get changes to take effect unless you write your own properties loader that runs as a thread, or checks file timestamps, etc. imo, its all too messy, db based config is far superior now how exactly writing a thread which polls the

How to disable the internet DTD lookup in Tomcat ?

2005-09-28 Thread Cels M.
Hi, I've been trying to disable the DVD lookup in Tomcat. Even if this seems to be a common requirement, I was unable to find something related to it in the docs. Does anyone know how to disable it (or create a XML catalog to redirect a public ID to a local one? Thanks in advance,

Re: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-28 Thread Paul Singleton
NoKideen wrote: is there anybody know how to do this ? Running Tomcat as Non-Root under Linux listen for port 80 Ask your Linux admin to disable the privileged port nonsense, which only has value on a multiaccess server, and which alwasy undermines security by unnecessarily encouraging running

PHP / JSP on Tomcat.

2005-09-28 Thread Lalit Batra
Hi! Is it a good Idea to have PHP enabled on tomcat ? As Tomcat is for Java/JSP. Sorry if the question is very basic. I am not too sure if running PHP is a good option on Tomcat. thanks, Lalit - To unsubscribe, e-mail: [EMAIL

Re: byte serving PDF with Tomcat 5.0.27

2005-09-28 Thread Shawn Maceno
Thanks for the quick reply. I think I need a little more hand-holding on this one, not being the Tomcat genius... Can you provide some kind of example that shows where the content-type setting is and what it needs to be? Thanks again, Shawn Maceno On Wed, 2005-09-28 at 18:52 +0200, Jilles van

Virtual hosts and Threads

2005-09-28 Thread Mahesh S Kudva
Hi All I have setup virtual hosts for 3 apps with virtual hosts config as follows. These virtual hosts are first handled by Apache and mod_jk. My apps have scheduler and automated mailing services. Host name=vhost.domain.com debug=0 appBase=”deploy” unpackWARs=true

Disabling session cookies

2005-09-28 Thread William Holloway
Hello all, I'm trying to force a particular web application to use url-rewritting in place of session cookies to manage the session on Tomcat 5.0.28. I have, per the documentation, set the cookies=false attribute of the Context container for that application. However, the cookie is still

Re: PHP / JSP on Tomcat.

2005-09-28 Thread Hassan Schroeder
Lalit Batra wrote: Is it a good Idea to have PHP enabled on tomcat ? In my limited experience using the PHP4 servlet, some errors cause the whole JVM process to exit, so good idea depends on how badly you want to run PHP applications :-) Personally, I just run Apache on a different IP

RemoteAddrValve not working for admin and manger apps

2005-09-28 Thread Tom . Guthrie
Hello: Sorry if this has been addressed already but I am having difficulty adding remote host valves to my manager and admin web apps in Tomcat 5.0.30 on Win2K . Adding a valve to manager.xml or simply uncommenting the example remote host valve for the admin web app in the admin.xml does not

Realms and certificates

2005-09-28 Thread James Rome
None of the standard realms do certificates properly. For example, o.a.c.authenticator.SSLAuthenticator.java does not check to see if a certificate has been revoked. The LDAP realm compares the presented certificate to the one in the LDAP which puts a burden on the LDAP to unpublish revoked

RE: byte serving PDF with Tomcat 5.0.27

2005-09-28 Thread GB Developer
It's not so much a tomcat setting (it's not something you configure), as it is writing the correct type of servlet. I googled for [servlet binary content] and the first two links looked decent. -Original Message- From: Shawn Maceno [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: byte serving PDF with Tomcat 5.0.27

2005-09-28 Thread Ralf Schneider
Am Mittwoch, 28. September 2005 20:58 schrieb Shawn Maceno: Thanks for the quick reply. I think I need a little more hand-holding on this one, not being the Tomcat genius... Can you provide some kind of example that shows where the content-type setting is and what it needs to be? Have a

Re: saving files in webapp folder from deletion?

2005-09-28 Thread Thomas Corte
Hi, Leon Rosenberg wrote: I think in the time you invested in this thread you could easily have written a servlet which delivers the data from anywhere, so you don't need to save it in the context. You are absolutely right, however I don't like to reinvent the wheel and therefore tend to

Re: saving files in webapp folder from deletion?

2005-09-28 Thread Leon Rosenberg
On 9/28/05, Thomas Corte [EMAIL PROTECTED] wrote: Hi, Leon Rosenberg wrote: I think in the time you invested in this thread you could easily have written a servlet which delivers the data from anywhere, so you don't need to save it in the context. You are absolutely right, however I

Possible Security Bug

2005-09-28 Thread John Caron
I have a _possible_ bug involving security in Tomcat 5.0.28. I dont see it in the bug database, although it may be described in a way that I didnt search for. I would prefer to send it privately in case its real. If thats not feasible, I will post it here. Or is there a way to put it in the

Re: Manager webapp and virtual hosts

2005-09-28 Thread Dan Baggott
Mikolaj, Hi. Sorry to bother you but I saw this posting on the Tomcat list and was wondering if you were able to successfully set up what you describe? I have mod_jk working fine and I'm now trying to do exactly what you mentioned: my1.domain.com (apache + mod_jk) ===

Re: Possible Security Bug

2005-09-28 Thread Mark Thomas
John Caron wrote: I have a _possible_ bug involving security in Tomcat 5.0.28. I dont see it in the bug database, although it may be described in a way that I didnt search for. I would prefer to send it privately in case its real. If thats not feasible, I will post it here. Or is there a way

Re: Virtual hosts and Threads

2005-09-28 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old

Re: Vexing Problem with Tomcat connector

2005-09-28 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old

Session Attribute Management

2005-09-28 Thread Vernon
Hi, all, In my application, a session attribute is needed to let the application function properly. So, I have a filter to verify whether this attribute is set or not in the session. The doFilter method of the filter is something like the following: public void doFilter(ServletRequest

Re: Running Tomcat as Non-Root under Linux listen for port 80

2005-09-28 Thread Shankar Unni
NoKideen wrote: is there anybody know how to do this ? Running Tomcat as Non-Root under Linux listen for port 80 Google is your friend: http://www.google.com/search?q=linux+port+80+non-root - To unsubscribe, e-mail:

OT: RE: Generic Types support in Tomcat?

2005-09-28 Thread kooto (sent by Nabble.com)
Seak, Teng-Fong wrote: ... Well, after many many hours' search (seems like not a hot subject), I finally came to this mail archive. ... Well, my reply is a little off topic for this thread. But I followed through this thread of discussion, I just want to let you know that

Re: Capturing User Passwords

2005-09-28 Thread Aaron Loucks
You could modify the FormAuthenticator class and have it cache the password. I believe it's in the org.apache.catalina.authenticator package of the tomcat source. I did something similar to provide programmatic login, although I've somewhat abandoned that project. It's available at

Re: Session Attribute Management

2005-09-28 Thread Vernon
I already found the problem. It is about how a request shall be written in a JSP file: using c:url value=myRequest.html. Thanks --- Vernon [EMAIL PROTECTED] wrote: Hi, all, In my application, a session attribute is needed to let the application function properly. So, I have a filter to

Re: JMX Method to check JDBC connection acivity?

2005-09-28 Thread andy gordon
Edmon, Did you get an answer to your question? I found your question quite interesting. I ran some tests and received the same error (RMI permission) as you. I used JConsole as well as looked at JMXProxy and could not determine if my datasource (in this case MySQL) was running or not. The

custom session manager

2005-09-28 Thread Mark
After using tomcat since the 3.x days, I have been very impressed with the amount of flexibility and configuration options that I have available to me. One part of the tomcat design that I do not believe is very flexible is the ability to set up a custom session manager. So maybe I am missing

Re: Flexible way of defining application variables in text format?

2005-09-28 Thread matador
Leon Rosenberg [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: now how exactly writing a thread which polls the db is less messy, than writing a thread that polls a file? regards leon no need for threads with db. change the val in the db then the next time the page loads, the new

Re: Capturing User Passwords

2005-09-28 Thread Larry Meadors
Here is the code (this is for tomcat 4.1.x): if(log.isDebugEnabled()){ Principal principal = req.getUserPrincipal(); PropertyDescriptor[] pds; pds = PropertyUtils.getPropertyDescriptors(principal.getClass()); for(int i = 0; i pds.length; i++){

BASIC authentication SSO with a separate IIS application

2005-09-28 Thread Anderson, Stephen
I've been told our working application must coexist with other applications using BASIC authentication, the same domain name and a shared authentication store to achieve single sign on (SSO). Our application has been working fine without IIS or Apache sitting in front of it. The application

Jsps

2005-09-28 Thread Prema Kumar
Hi, I have an Application which is J2EE Architecture and working with Resin 2.1.6 Now we are trying to bring up my application using Tomcat. What necessary modifications needs to be done in Tomcat web.xml file and server.xml Prem

Running Servlet in Tomcat

2005-09-28 Thread Singh, VilishKumar
Hi all, I have compiled my servltet class and but hen I put the .class file into the webapps/ROOT/WEB-INF/classes folder And try to access it with http://hostname:port/servlet/servlet-name. Page not found error occurs. Where is the problem, please help Regards, Vilish -Original

Re: Running Servlet in Tomcat

2005-09-28 Thread sree kanth
Hi singh, try to put package declaration for the servlets and then redeploy.This may work. Regards, Sreekanth

Re: Re: Running Servlet in Tomcat

2005-09-28 Thread mail
We're sorry, you have reached an email address at YahooGropus, not YahooGroups. Your message has not been delivered to the Yahoo Group intended. Please re-send your email to the correct address. We apologize for the inconvenience. YahooGropus Staff

Re: Session sharing not working - Which is the best strategy?

2005-09-28 Thread sree kanth
Hi all, frankly saying, i too have never tried this but we can keep some information stored in a cookie and then we can have the other web application browse through the cookies and find if the cookie is the intended one and process the applciation logic. Regards, Sreekanth

Re: Re: Running Servlet in Tomcat

2005-09-28 Thread sree kanth
Sorry, icouldn't get u.Please help Regards, Sreekanth

RE: Running Servlet in Tomcat

2005-09-28 Thread Singh, VilishKumar
Hi Shashikant, I have done that. I have not used any package in my servlet. Can u describe the steps precisely to run the first servlet in tomcat thanks Regards, Vilish -Original Message- From: shashikant [mailto:[EMAIL PROTECTED] Sent: Thursday, 29 September 2005 11:05 AM

Webapp deploy on windows

2005-09-28 Thread Joakim Ahlén
Hi! For quite some time now we've had problems redeploying webapps on windows. The problem is that often, some .jar-files in the WEB-INF directory of a webapp is being in use by tomcat, and can therefore not be removed in order to hot-deploy this webapp without restarting tomcat. There are a