Re: Securing Tomcat: HELP

2008-08-29 Thread Alex Mestiashvili
losintikfos wrote: Thanks for your reply Mark! unfurtunatly the url sent to me contains only language reference which i am not familier with. Do you know the original command and where to put, to enforce the security? I am using Tomcat 6 markt-2 wrote: losintikfos wrote: Hi

Re: Securing Tomcat: HELP

2008-08-29 Thread losintikfos
Hi Alex, I can't locate directory catalina in conf. I am using tomcat 6.0.18, is it something i should see? B Alex Mestiashvili wrote: losintikfos wrote: Thanks for your reply Mark! unfurtunatly the url sent to me contains only language reference which i am not familier with. Do you

Re: Issue in connecting to tomcat via Apache

2008-08-29 Thread Rainer Jung
Without any JkMount nothing will be sent to Tomcat. You need to keep e.g. JkMount /examples/* worker1 in you configuration. If you are using a virtual host in Apache, the JkMount must be inside the virtual host. Your mod_jk log file indicates, that during that test you didn't have any JkMount

Re: Issue in connecting to tomcat via Apache

2008-08-29 Thread Vasanth Kumar ravi
Rainer, I was able to resolve the issue...and the root cause was simple... it was my mistake... in the conf file I had mentioned /examples/* worker1 I was trying to access the link as http://localhost/examples which is supposed to be http://localhost/examples/ Cos of the / , I was not able to

War re-deployment

2008-08-29 Thread emerson cargnin
Hi, I'm using tomcat 5.5.26 and after having a look at the host application deployment ( http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment ) I still have a doubt: If tomcat is down and I change a war file in webapps, after restarting tomcat, is there

Re: Issue in connecting to tomcat via Apache

2008-08-29 Thread Rainer Jung
Vasanth Kumar ravi schrieb: Rainer, I was able to resolve the issue...and the root cause was simple... it was my mistake... in the conf file I had mentioned /examples/* worker1 I was trying to access the link as http://localhost/examples which is supposed to be http://localhost/examples/

Running tomcat as a service - problem with shared drives

2008-08-29 Thread Foley, Tara (Citco)
Hi I have written a java application which is deployed on tomcat on a windows machine. I created a special user account with full read/write access to a shared network drive. When tomcat is started from the console under this user account it is able to write to the shared drive. When

Re: War re-deployment

2008-08-29 Thread emerson cargnin
And what's the best/most reliable way to deploy applications on tomcat? Would be to expand directly inside the webapps? Wouldn't have any issue of while copying the files tomcat would try to start the incomplete app? What are your views on deploying applications on production in tomcat? Or maybe

Re: War re-deployment

2008-08-29 Thread bhooshanpandit
I think the best way is to use manager app to deploy the war file in tomcat. See http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html for more details. -Original Message- From: emerson cargnin [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Fri, 29 Aug

Re: Securing Tomcat: HELP

2008-08-29 Thread bhooshanpandit
Actually the context xml is present in CATALINA_HOME\webapps\manager\META-INF dir. You can edit it and add the valve and it should work: Context antiResourceLocking=false privileged=true Valve className=org.apache.catalina.valves.RemoteAddrValve ?allow=127.0.0.1/ /Context -Original

Jsessionid as path embed or query parameter.

2008-08-29 Thread Vinuth Madinur
Hi, There have been lots of questions related to jsessionid in the forum, but I couldn't find information about this. Currently tomcat adds jsessionid as a path parameter. But there are some http clients that do not understand such URLs. The VXML interpreter that is used in our company does not.

Re: Jsessionid as path embed or query parameter.

2008-08-29 Thread Mikolaj Rydzewski
Vinuth Madinur wrote: So, is there a way to manage jsessionid url rewrite to have something like below? As a path embed: http://domain/context/servlet/AEGH12SEWF33RFFSF?queryparam1=v1 Or as a query parameter: http://domain/context/servlet?jsessionid=AEGH12SEWF33RFFSFqueryparam1=v1 Is it

Re: War re-deployment

2008-08-29 Thread emerson cargnin
I'm actually using anthill (http://www.anthillpro.com) to do the deployment, which works basically copying the files to the server using an agent. emerson On 29/08/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think the best way is to use manager app to deploy the war file in tomcat.

Re: Securing Tomcat: HELP

2008-08-29 Thread losintikfos
I have done as said and restarted the server but still wont work for me! :-((. Alex Mestiashvili wrote: losintikfos wrote: Hi Alex, I can't locate directory catalina in conf. I am using tomcat 6.0.18, is it something i should see? B Hi , just create this dirs , and put

Re: Securing Tomcat: HELP

2008-08-29 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Actually the context xml is present in CATALINA_HOME\webapps\manager\META-INF dir. You can edit it and add the valve and it should work: Context antiResourceLocking=false privileged=true Valve className=org.apache.catalina.valves.RemoteAddrValve

Re: Securing Tomcat: HELP

2008-08-29 Thread losintikfos
Hi bhooshanpandit, I have tried the editing the context.xml in META-INF directory as specified and still wont work. mmm bit confused.:-( Do you knw whay this is the case? i suppose Operating system isn't the issue is it? i am running tomcat on RedHat. bhooshanpandit wrote: Actually the

Re: Securing Tomcat: HELP

2008-08-29 Thread losintikfos
Mark! i have tried this and still wont work. Was wondering if RedHat is goot something to do with ths configuration. Bit confused:-( markt-2 wrote: [EMAIL PROTECTED] wrote: Actually the context xml is present in CATALINA_HOME\webapps\manager\META-INF dir. You can edit it and add the

Monitor contanier

2008-08-29 Thread sam wun
Hi there, What can I use to monitor tomcat container? Thanks

Re: Monitor contanier

2008-08-29 Thread losintikfos
Create another thread with this question. This is a seperate question out of the blue. Use this to monitor the container if you running tomcat on linux. $CATALINA_HOME/logs/tail -f catalina.out sam wun-3 wrote: Hi there, What can I use to monitor tomcat container? Thanks

Re: Monitor contanier

2008-08-29 Thread Mark Thomas
sam wun wrote: Hi there, What can I use to monitor tomcat container? Please do not hijack threads. Mark Thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Balancing solution which allows graceful partial node migrations

2008-08-29 Thread Brantley Hobbs
Rainer Jung wrote: Nikola Milutinovic wrote: So, what are your thoughts on the subject? Ever seen something like that in the wild? Or at least in the lab? A balancer that can be reconfigured (almost) online and one that allows for requests to the node being evicted to finish, first. Both

Re: Securing Tomcat: HELP

2008-08-29 Thread losintikfos
Sorry mark did miss up something here! what did you mean by Those characters needs to be escaped? Are you saying i should do something like this: allow=127.\0.\0.\1 ? markt-2 wrote: [EMAIL PROTECTED] wrote: Actually the context xml is present in CATALINA_HOME\webapps\manager\META-INF

Re: Securing Tomcat: HELP

2008-08-29 Thread Mark Thomas
losintikfos wrote: Sorry mark did miss up something here! what did you mean by Those characters needs to be escaped? Are you saying i should do something like this: allow=127.\0.\0.\1 ? Yes. But it should be allow=127\.0\.0\.1 Mark markt-2 wrote: [EMAIL PROTECTED] wrote:

RE: Default application or HTML redirect

2008-08-29 Thread Mostafa Mossaad
Dear Sirs, I need to make my application the default application, how can I do that? I have an application (MyApp) deployed using a MyApp.war file inside the /webapp folder. So, the address is http://localhost/MyApp. I need that to be accessible via

secure parts of a web application with https

2008-08-29 Thread wmueller
Hello Everybody, I have a small web application. Some pages are free to visit for everyone but some other are only available after login (username/password). I try to make the login page and all other pages after the login to use https. you can think of a application structure like this:

Re: secure parts of a web application with https

2008-08-29 Thread Mikolaj Rydzewski
wmueller wrote: Hello Everybody, I have a small web application. Some pages are free to visit for everyone but some other are only available after login (username/password). I try to make the login page and all other pages after the login to use https.

RE: ERROR Starting 2nd instance of Tomcat

2008-08-29 Thread Eduardo Ponce de León
I'vedone that to start my second instance! Don’t I need a script to start it up? Eduardo Ponce de León Desarrollador   Latino Mobile  --- Moliere 450A-101, México D.F. (T) +5255 -   52 50 65 52 (M)+5255 -   55 06 37 16 (E)[EMAIL PROTECTED]

RE: ERROR Starting 2nd instance of Tomcat

2008-08-29 Thread Eduardo Ponce de León
It is not a tomcat script.. I've clearly stated that I've created that script to startup the 2nd instance!! Eduardo Ponce de León Desarrollador Latino Mobile --- Moliere 450A-101, México D.F. (T) +5255 - 52 50 65 52 (M)+5255 - 55 06 37 16

Re: secure parts of a web application with https

2008-08-29 Thread Juha Laiho
wmueller wrote: I have a small web application. Some pages are free to visit for everyone but some other are only available after login (username/password). I try to make the login page and all other pages after the login to use https. you can think of a application structure like this:

ERROR Starting 2nd instance of tomcat

2008-08-29 Thread Eduardo Ponce de Leon
I am trying to run a 2nd instace of tomcat. For this, ive duplicated the tomcat folder and modified the server.xml files with different ports. I've also created a startup script, but when I run the script I am getting this error... Can anyone help please!! [EMAIL PROTECTED] tomcat5-test]#

Re: Securing Tomcat: HELP

2008-08-29 Thread Alex Mestiashvili
losintikfos wrote: I have done as said and restarted the server but still wont work for me! :-((. and what do you have in logs/catalina.out ? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

RE: Why GlassFish

2008-08-29 Thread Martin Gainty
In the present TC implementation i've seen integration of modules into axis an intelligent and articulate response without necessarily going line item by line item is/are there specific JSRs or modularity the developer can benefit from ? Martin __

Re: Securing Tomcat: HELP

2008-08-29 Thread losintikfos
It works perfect now!:jumping: Thanks Guys you deserve a :drunk: Alex Mestiashvili wrote: losintikfos wrote: I have done as said and restarted the server but still wont work for me! :-((. and what do you have in logs/catalina.out ?

Re: ERROR Starting 2nd instance of tomcat

2008-08-29 Thread David Smith
Please stop reposting this. It's already in the archives for anyone who cares to go back and take a look at your original post. --David Eduardo Ponce de Leon wrote: I am trying to run a 2nd instace of tomcat. For this, ive duplicated the tomcat folder and modified the server.xml files with

Re: ERROR Starting 2nd instance of Tomcat

2008-08-29 Thread David Smith
I mean your command line for starting the second tomcat includes the phrase 'In the config file'. Why is that there? I doubt it's coincidence your error message contains the exact same phrase that you have on the command line. It's most likely the source of your problem. 'tomcat5-test start'

RE: ERROR Starting 2nd instance of tomcat

2008-08-29 Thread Eduardo Ponce de Leon
I reposted because I unsubscribe from my other email, only because of that!!! -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2008 10:04 AM To: Tomcat Users List Subject: Re: ERROR Starting 2nd instance of tomcat Please stop reposting this. It's

APR SSL not working

2008-08-29 Thread Gregor Schneider
Hi there, I'm about to give it up. One final question though: Anybody out there who has the following combination up running: - Linux (Debian preferred, other distributions also welcome) - Tomcat 5.5 - APR - SSL ? I'm sucessful getting Tomcat running together with the APR, however, when

RE: ERROR Starting 2nd instance of Tomcat

2008-08-29 Thread Eduardo Ponce de Leon
I dunno why it is there...this is in my script which calls that config file! # Get the tomcat config (use this for environment specific settings) TOMCAT_CFG=/etc/tomcat5-test/tomcat5.conf if [ -r $TOMCAT_CFG ]; then . ${TOMCAT_CFG} fi -Original Message- From: David Smith

Re: Tomcat 5.5.26 OutOfMemoryError -Xms -Xmx Set

2008-08-29 Thread Kees Jan Koster
Dear Tom, I'd like to confirm that I am trying the right things in fixing a memory error and discover what else I can do to resolve my problem. I realise this is a common problem as I have Googled, read the Tomcat memory FAQ and searched the mailing lists. I have tried looking at catalina.out

RE: APR SSL not working

2008-08-29 Thread Martin Gainty
gregor- i assume your implementation includes configuring AprLifecycleListener listener in server.xml Listener className=org.apache.catalina.core.AprLifecycleListener / ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and

Re: APR SSL not working

2008-08-29 Thread Markus Schönhaber
Gregor Schneider schrieb: Anybody out there who has the following combination up running: - Linux (Debian preferred, other distributions also welcome) - Tomcat 5.5 - APR - SSL Yes. into server.xml, Tomcat-startup hangs when initializing Coyote HTTP/1.1: 2008-08-29 17:15:31,722 INFO

Re: ClassNotFoundException when moving from Java 1.5 to 1.6

2008-08-29 Thread Jeff
On Thu, Aug 28, 2008 at 3:21 PM, Jeff [EMAIL PROTECTED] wrote: I have an app currently running on Tomcat 5.5.26/CentOS 4.6/jre1.5.0_16. This configuration is working just fine. But if I run Tomcat with jre1.6.0_07, my application gets a ClassNotFoundException when I try to use it. The

Re: Servlet Memory Leak

2008-08-29 Thread Nathan Thatcher
On Thu, Aug 28, 2008 at 10:37 PM, Juha Laiho [EMAIL PROTECTED] wrote: Nathan Thatcher wrote: I have a fairly small memory leak in a servlet (Tomcat 6.0) running on a Windows 2003 server. I have been looking into memory profiling to help me find the leak but nothing seems to be or do what I

Re: War re-deployment

2008-08-29 Thread Johnny Kewl
- Original Message - From: emerson cargnin [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, August 29, 2008 12:10 PM Subject: War re-deployment Hi, I'm using tomcat 5.5.26 and after having a look at the host application deployment (

Re: Servlet Memory Leak

2008-08-29 Thread Richard S. Huntrods
I have a fairly small memory leak in a servlet (Tomcat 6.0) running on a Windows 2003 server. I have been looking into memory profiling to help me find the leak but nothing seems to be or do what I need. Simply put I want a list of all of the objects/primitives (and if possible their values)

RE: ClassNotFoundException when moving from Java 1.5 to 1.6

2008-08-29 Thread Martin Gainty
Hi Jeff- from my experience ClassNot FoundException can happen when 1)the class is not found by any of the CL's on any CLASSPATH *not physically there* 2)You've come upon the dreaded class signature change e.g. void fu(bar) becomes bar fu(bar) OR void fu(void) becomes void fu(bar) from my

RE: Servlet Memory Leak

2008-08-29 Thread Martin Gainty
FYI you'll need to run JDK 6 for jmap Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse

Re: Servlet Memory Leak

2008-08-29 Thread Pierre Goupil
Hello, Interesting thread, indeed. But I've googled around and can't find JMap homepage, I'm afraid. It seems like some other programs has the same name. Even with the profiler keyword, it doesn't give the page I'm looking for. A clue, anyone, please ? Cheers, Pierre On Fri, Aug 29, 2008 at

Tomcat JNDI

2008-08-29 Thread felix l
First time posting on a mailing list, hope I am doing this right. I just need to register JNDI datasource to Tomcat 6 and I followed http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html. I just couldn't make it work if I put the Resource tag with my oracle connection info in

Re: Servlet Memory Leak

2008-08-29 Thread Ravi Sharma
try this http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html On Fri, Aug 29, 2008 at 6:56 PM, Pierre Goupil [EMAIL PROTECTED]wrote: Hello, Interesting thread, indeed. But I've googled around and can't find JMap homepage, I'm afraid. It seems like some other programs has the same name.

Re: Running tomcat as a service - problem with shared drives

2008-08-29 Thread Johnny Kewl
- Original Message - From: Foley, Tara (Citco) [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, August 29, 2008 12:20 PM Subject: Running tomcat as a service - problem with shared drives Hi I have written a java application which is deployed on tomcat on a windows

Re: Why GlassFish

2008-08-29 Thread Johnny Kewl
- Original Message - From: DIGLLOYD INC [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, August 29, 2008 7:35 AM Subject: Re: Why GlassFish Disclaimer: I am a Glassfish developer, working for Sun. So you can ignore whatever I say. :) I run Tomcat for

Re: Servlet Memory Leak

2008-08-29 Thread Felix Schumacher
Am Freitag, den 29.08.2008, 19:56 +0200 schrieb Pierre Goupil: Hello, Interesting thread, indeed. But I've googled around and can't find JMap homepage, I'm afraid. It seems like some other programs has the same name. Even with the profiler keyword, it doesn't give the page I'm looking for.

version 5.5 vs 6.0

2008-08-29 Thread Alex Howansky
Hello group, I'm wondering if you might be able to share a bit of your expertise with me. Is there any reason to choose 5.5 over 6.0 if you have no specific requirement to do so? I.e., if you were tasked with developing a completely new application from the ground up, and none of the

Re: version 5.5 vs 6.0

2008-08-29 Thread Mark Thomas
Alex Howansky wrote: Hello group, I'm wondering if you might be able to share a bit of your expertise with me. Is there any reason to choose 5.5 over 6.0 if you have no specific requirement to do so? I.e., if you were tasked with developing a completely new application from the ground up,

apparent problem with work/ directory

2008-08-29 Thread Jonathan Mast
I refactored the POJO side of a webapp I have. I basically moved some objects referenced by the JSPs into a new package. I updated the jsps accordingly, by importing the new package with the PAGE directive at the top. I deleted the old version of the webapp, rebuilt it, and restarted tomcat.

Re: version 5.5 vs 6.0

2008-08-29 Thread Leon Rosenberg
Keep in mind tomcat 6 has passed the magic version number of 16, so from now on, no need to use 5.x branch :-) Leon On Fri, Aug 29, 2008 at 11:43 PM, Alex Howansky [EMAIL PROTECTED] wrote: Hello group, I'm wondering if you might be able to share a bit of your expertise with me. Is there any

RE: version 5.5 vs 6.0

2008-08-29 Thread Mostafa Mossaad
, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Information from ESET NOD32 Antivirus, version of virus signature database 3400 (20080829) __ The message was checked by ESET NOD32 Antivirus

Tomcat connector receives 404, IIS logs 200

2008-08-29 Thread Karim Zaki
Hi all, I'm running a Windows Server 2003 machine with IIS 6 and version 1.2.26.0 of the connector. The back-end server is running Tomcat 5.0.28. When making a request to a URL that doesn't exist on the back-end, I see the following behavior: 1. The Tomcat access log shows a 404 response

Re: Default application or HTML redirect

2008-08-29 Thread Mark Thomas
Mostafa Mossaad wrote: I have an application (MyApp) deployed using a MyApp.war file inside the /webapp folder. I've tried a lot of things, like modifying the server.xml Bad idea. and web.xml file, and playing with the Welcome-File tags, Nope, not these

Re: apparent problem with work/ directory

2008-08-29 Thread Johnny Kewl
- Original Message - From: Jonathan Mast [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, August 29, 2008 11:00 PM Subject: apparent problem with work/ directory I refactored the POJO side of a webapp I have. I basically moved some objects referenced by

How to make to Apache-Tomcat 6.0.13 to support all of SSLv2/SSLv3 and TLS protocols

2008-08-29 Thread Suresh Kumar J
Hi! Am running the Apache Tomcat (v6.0.13) on Redhat Linux. Below is the snippet of the server.xml config: Connector port=443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=true clientAuth=false sslProtocol=TLS

Re: Migration from 4.1 to 6

2008-08-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jody, Jody Williams wrote: I need to migrate from tomcat 4.1 to 6. Are there any concerns I need to know about before starting? Are there any suggestions to make the transition easier? Whatever you do, don't try to re-use your server.xml from

Re: Tomcat JNDI

2008-08-29 Thread bhooshanpandit
I think you will need to configure realm in your server.xml. Plz refer http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html. -Original Message- From: felix l [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Fri, 29 Aug 2008 11:27 pm Subject: Tomcat JNDI First time