Tomcat manager restriction question

2007-05-04 Thread Roamer
After reading and trying the setting from this page. I would like to ask some questions. http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html - In {Tomcat Home}\conf\server.xml, if I added these tags: Assume I gave them the same user name and password whic

Re: starting Tomcat from Java

2007-05-04 Thread Wendy Smoak
On 5/4/07, Paul Singleton <[EMAIL PROTECTED]> wrote: I (sometimes) want to start Tomcat (5.5 onwards) from Java, but I am not embedding: I just need to get the same effect as running bin/startup.bat but getting Tomcat to run in an existing JVM (so I can debug some other stuff). Not sure about t

RE: Tomcat randomly cannot connect to SMTP host

2007-05-04 Thread Caldarale, Charles R
> From: Raymond Holguin [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat randomly cannot connect to SMTP host > > As for wireshark, this is a production environment and im > not really supposed to be installing programs on the server. Try running it from your Tomcat box then. You won't get any

Re: Tomcat randomly cannot connect to SMTP host

2007-05-04 Thread Raymond Holguin
Thanks for the reply guys, But i don't think i quite understand what your getting at with the DNS stuff. The server is on my school's campus, and im using the campus SMTP server. Im able to send email using the same SMTP just fine from non-tomcat applications on the same server. I also do

RE: Tomcat randomly cannot connect to SMTP host

2007-05-04 Thread Caldarale, Charles R
> From: Johnny Kewl [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat randomly cannot connect to SMTP host > > Heres my theory check the DNS on "your" mail address I have a > feeling that if the mail server cannot resolve your mail > address "domain"... > it will refuse the connection on

RE: starting Tomcat from Java

2007-05-04 Thread Caldarale, Charles R
> From: Paul Singleton [mailto:[EMAIL PROTECTED] > Subject: starting Tomcat from Java > > I am considering translating startup.bat into Java: The resulting command line for 5.5 looks like this (spaces replaced by newlines for clarity): java -Djava.util.logging.manager=org.apache.juli.ClassLoade

Re: Tomcat randomly cannot connect to SMTP host

2007-05-04 Thread Johnny Kewl
Hi Raymond... going to have a wild guess... I dont think its tomcat... but for some reason the mail server is telling tomcat to get lost. Is it a microsoft mail server?. ha ha... no just kidding. Heres my theory check the DNS on "your" mail address I have a feeling that if the mail

Re: starting Tomcat from Java

2007-05-04 Thread Rashmi Rubdi
On 5/4/07, Paul Singleton <[EMAIL PROTECTED]> wrote: I (sometimes) want to start Tomcat (5.5 onwards) from Java, but I am not embedding: I just need to get the same effect as running bin/startup.bat but getting Tomcat to run in an existing JVM (so I can debug some other stuff). I am considering

starting Tomcat from Java

2007-05-04 Thread Paul Singleton
I (sometimes) want to start Tomcat (5.5 onwards) from Java, but I am not embedding: I just need to get the same effect as running bin/startup.bat but getting Tomcat to run in an existing JVM (so I can debug some other stuff). I am considering translating startup.bat into Java: has this already be

Tomcat randomly cannot connect to SMTP host

2007-05-04 Thread Raymond Holguin
Hello, I have tomcat 5.0.28 running on my Linux machine, and all my applications running under this tomcat experience the same problem at the same time which is why I believe it to be a tomcat issue. When my applications attempt to send out an email I get this error message (Mail server con

Re: problem with tomcat clusters sso with apache load balancer

2007-05-04 Thread Pid
Alejandro Fernandez wrote: Thank you for your answers. As a workarround (forgetting about clustering), can I use 2 tomcat instances with different WARs but both using sso? For instance: Machine 1 - tomcat #1 - a.war Machine 2 - tomcat #2 - b.war both with sso, so when I log-in in application

Re: problem with tomcat clusters sso with apache load balancer

2007-05-04 Thread Alejandro Fernandez
Thank you for your answers. As a workarround (forgetting about clustering), can I use 2 tomcat instances with different WARs but both using sso? For instance: Machine 1 - tomcat #1 - a.war Machine 2 - tomcat #2 - b.war both with sso, so when I log-in in application a I am also logged in applica

Re: [OT] User-password from the HttpServletRequest

2007-05-04 Thread sebbo
Thanks Chris, it helps a lot for me :-) Very useful informations. Original-Nachricht Datum: Thu, 03 May 2007 15:02:35 -0400 Von: Christopher Schultz <[EMAIL PROTECTED]> An: Tomcat Users List Betreff: Re: [OT] User-password from the HttpServletRequest > -BEGIN PGP SIGNED ME

Re: Tomcat deployment question

2007-05-04 Thread Rashmi Rubdi
Hi Lakshmi, I just wanted to let you know that in the most recent post on this thread, your problem was solved (even though I didn't give a complete answer) but after my post Chuck made some very good points which I didn't mention in my post. I hope you took a note of them. Especially this one:

Re: Tomcat 5.5.23 with Sun JDK 1.5.0_11 can't find the Apache Tomcat Native library

2007-05-04 Thread Rafael Caceres
Tried copying the 6 files (5 from ./native/libs, libtcnative-1a from ./native) to the $JAVA_HOME/jre/lib/i386/client directory. Did not set LD_LIBRARY_PATH on the startup script now. Yet the same message appears on the catalina.out log: INFO: The Apache Tomcat Native library which allows optimal pe

Single Sign On (SSO) across machines and domains

2007-05-04 Thread Johnny Kewl
== Copy to Tomcat User Group == Sorry it took so long in coming ... my 1 week turned into 2. You can get the SSO filter at http://coolese.100free.com/ It can SSO on say one machine at HQ.Myco.com and the user can move to another machine say at branchoffice.africa.co.nz and not have to sign on ag

RE: Tomcat deployment question

2007-05-04 Thread Caldarale, Charles R
> From: Andras Laczi [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat deployment question > > I dont really understand why manager can't rename the context.xml to > ROOT.xml if the path = "/" as the documentation says. I wonder how many times we have to repeat this: THE PATH ATTRIBUTE IS IRRELEV

RE: JDBCRealm

2007-05-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: JDBCRealm > > I believe the OP said he was running on TC 5.0. Actually, he didn't. He did refer to level 5.0.5 of the MySQL JDBC driver, and Martin gave a reference to 5.5 documentation. The OP has not explicitly stated what

SSL and Security Providers

2007-05-04 Thread Douglas Pace
So I'm worried this is just my fault and I haven't researched this enough or did something wrong, but I've been fighting a problem with Tomcat on Mac OSX. The problem seems to boil down to Security providers and tomcat seemingly modifying them. So I installed Tomcat and deployed a webapp to it

RE: JDBCRealm

2007-05-04 Thread Propes, Barry L
maybe I'm on such an old version, but I can't pass parameters thru my conn string like you have here. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 7:03 PM To: Tomcat Users List Subject: Re: JDBCRealm Murtuza here is server.xml example fr

Re: JDBCRealm

2007-05-04 Thread Murtuza
well I think it changed in tomcat 6.0, its now in catalina_home/lib. the stack trace was from log files, from the user side it just failes autherization. David Smith-2 wrote: > > tomcat/lib?? That directory doesn't exist in the default distribution > from tomcat. Can you offer some details

Re: Tomcat deployment question

2007-05-04 Thread Andras Laczi
Thats bad cause I need to upload newer releases very often, and trough manager was the fastest way to do this. I must rethink the way of development-deployment. I dont really understand why manager can't rename the context.xml to ROOT.xml if the path = "/" as the documentation says. Andras Mark

Re: JDBCRealm

2007-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: David Smith [mailto:[EMAIL PROTECTED] >> Subject: Re: JDBCRealm >> >> tomcat/lib?? That directory doesn't exist in the default >> distribution from tomcat. > > It does in the 6.0 versions of Tomcat, wher

RE: JDBCRealm

2007-05-04 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: JDBCRealm > > tomcat/lib?? That directory doesn't exist in the default > distribution from tomcat. It does in the 6.0 versions of Tomcat, where the classloader hierarchy has been greatly simplified. - Chuck THIS COMMUNICATION MAY

Session Lost Using HTTP Proxy

2007-05-04 Thread TAYLOR, TIM \(CONTRACTOR\)
My session attributes are getting trashed somehow. We are using Tomcat 5. I am using an Apache 2.2 HTTP server in front, and another Proxy HTTP Server in front of that. Could the proxy be causing this? Is there a workaround (directive config) to fix? regards, tt

SOLVED: Re: Tomcat as Service (WinXP): Automatic startup

2007-05-04 Thread Gregor Schneider
Ok, here we go: After installing the service, inside service.bat there are some more parameters set via //US// If I call NET START "Apache Tomcat" at the end of service.bat, it works :) Thanks again, your gave me a great starting-point! Cheers Greg -- what's puzzlin' you, is the nature of my

Re: Tomcat as Service (WinXP): Automatic startup

2007-05-04 Thread Gregor Schneider
Some more info from the log: [2007-05-04 16:04:59] [info] Service Tomcat5 name Apache Tomcat [2007-05-04 16:04:59] [info] Service Tomcat5 installed [2007-05-04 16:04:59] [info] Procrun finished. [2007-05-04 16:15:33] [info] Running Service... [2007-05-04 16:15:33] [info] Starting service... [2007

Re: Tomcat as Service (WinXP): Automatic startup

2007-05-04 Thread Gregor Schneider
Hi Dave, unfortunately this doesn't work: net start "Apache Tomcat" The Apache Tomcat service is starting. The Apache Tomcat service could not be started. A service specific error occurred: 0. Any ideas? Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3

Re: JDBCRealm

2007-05-04 Thread David Smith
tomcat/lib?? That directory doesn't exist in the default distribution from tomcat. Can you offer some details? In a normal distribution of tomcat, database drivers go in the common/lib directory under tomcat. Also it looks like the stack trace in your original message wasn't complete. Was

RE: Tomcat deployment question

2007-05-04 Thread Lakshmi Venkataraman
Andras, Please refer to the directory structure posted earlier in this thread. The only way I could get my application to work is to have a ROOT.xml inside ${catalina.home}/conf/localhost. docBase="C:\/app". This is outside the default appBase="webapps" specified in ${catalina.home}/conf/server

Re: JDBCRealm

2007-05-04 Thread Murtuza
thanks but i am already using it & thats wat i copied into my tomcat/lib directorythis jdbc driver works fine from my java class but not with tomcat jdbcrealm, i think its not picking up the mysql-jdbc.jar files from tomcat/lib dir. although i copied it there. Martin Gainty wrote: > > thi

Re: JDBCRealm

2007-05-04 Thread Murtuza
thanks but i am already using it & thats wat i copied into my tomcat/lib directorythis jdbc driver works fine from my java class but not with tomcat jdbcrealm, i think its not picking up the mysql-jdbc.jar files from tomcat/lib dir. although i copied it there. Martin Gainty wrote: > > thi

Re: JDBCRealm

2007-05-04 Thread Martin Gainty
this is a lightweight type 4 driver for MySQL which you can download at http://dev.mysql.com/downloads/connector/j/5.0.html Be sure to Read the GPL beforehand! M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this em

Re: JDBCRealm

2007-05-04 Thread Murtuza
doesn't work if I change the server.xml also, I am providing the same information ic context.xml. the same code works fine on my windows machine but not on linux. I think tomcat is not picking up the jdbc driver for mysql that I copied in the /catalina_home/lib directory, any one knows y its not p

Re: Tomcat as Service (WinXP): Automatic startup

2007-05-04 Thread David Kerber
If the user as appropriate permissions, they can just start it from the services control panel, or, as part of your script you can execute: net start "tomcat service name" Dave Gregor Schneider wrote: Hi list, I'm trying to install Tomcat 5.5.23 as a service in Windows XP, using the file

Tomcat as Service (WinXP): Automatic startup

2007-05-04 Thread Gregor Schneider
Hi list, I'm trying to install Tomcat 5.5.23 as a service in Windows XP, using the file $CATALINA_HOME/bin/service.bat with the parameter "install". So far, so good, however, I'd like to install it as a service which is automaticly loaded during windows-startup. Therefore I changed service.bat

[FUN] Re: Paul Lewandowski/Corp/Kohls is out of the office

2007-05-04 Thread David Delbecq
"If this is an emergency ... 262-951-1008" Other people all around the world with the same sadistic ideas as me? When it will be around 11:00 AM this sunday, while i will drink some nice coktail under the sun, it will be around 5:00 in new-york and 2:00 in Los Angeles I might give a call and s

Re: Tomcat deployment question

2007-05-04 Thread Mark Thomas
Andras Laczi wrote: > If someone succeed to deploy an web application trough manager on 5.5.23 > tomcat which path is "/" (root ) and the web application directory is not > ROOT please let me know. > It's making me crazy, i migrating from 5.0.16 with working configuration and > on 5.5.23 same conf

RE: Tomcat deployment question

2007-05-04 Thread Andras Laczi
If someone succeed to deploy an web application trough manager on 5.5.23 tomcat which path is "/" (root ) and the web application directory is not ROOT please let me know. It's making me crazy, i migrating from 5.0.16 with working configuration and on 5.5.23 same conf works a completely different

Re: comet: async close exceptions

2007-05-04 Thread Sebastiaan van Erk
Hi, I seemed to have forgotten to synchronize a single event.close() which triggered the problem (but only after yesterday's changes). It is actually working again now... Regards, Sebastiaan Sebastiaan van Erk wrote: Filip Hanik - Dev Lists wrote: Filip Hanik - Dev Lists wrote: Sebastiaan

Re: comet: async close exceptions

2007-05-04 Thread Sebastiaan van Erk
Filip Hanik - Dev Lists wrote: Filip Hanik - Dev Lists wrote: Sebastiaan van Erk wrote: Hi, Due to the latest changes (r535030) to the Comet code I'm getting the AsyncCloseExceptions again, meaning that my synchronization which worked before is not correct anymore. What I am doing is synch

Re: comet: async close exceptions

2007-05-04 Thread Filip Hanik - Dev Lists
Filip Hanik - Dev Lists wrote: Sebastiaan van Erk wrote: Hi, Due to the latest changes (r535030) to the Comet code I'm getting the AsyncCloseExceptions again, meaning that my synchronization which worked before is not correct anymore. What I am doing is synchronizing all access to the respo

RE: Comet and Async Servlets - Architecture Question

2007-05-04 Thread Praveen Balaji
Thanks Filip. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 6:39 PM To: Tomcat Users List Subject: Re: Comet and Async Servlets - Architecture Question Praveen Balaji wrote: > Thanks Sebastiaan. I came to about the same conclusion

Paul Lewandowski/Corp/Kohls is out of the office

2007-05-04 Thread Paul . Lewandowski
I will be out of the office starting 05/04/2007 and will not return until 05/07/2007. If you need any testing assistance please contact Tony Pladies at x1860. If this is an emergency, please contact me on my business cell phone at 262-951-1008. CONFIDENTIALITY NOTICE: This is a transmission fr

Re: comet: async close exceptions

2007-05-04 Thread Filip Hanik - Dev Lists
Sebastiaan van Erk wrote: Hi, Due to the latest changes (r535030) to the Comet code I'm getting the AsyncCloseExceptions again, meaning that my synchronization which worked before is not correct anymore. What I am doing is synchronizing all access to the response output stream and synchroni

comet: async close exceptions

2007-05-04 Thread Sebastiaan van Erk
Hi, Due to the latest changes (r535030) to the Comet code I'm getting the AsyncCloseExceptions again, meaning that my synchronization which worked before is not correct anymore. What I am doing is synchronizing all access to the response output stream and synchronizing with the same lock aro

Re: firewall setting for AJP1.3 connector

2007-05-04 Thread Rainer Jung
Error 54 translates to 10054 winsock error, which is "connection reset by peer". No, opening the port for TCP is enough. It looks like you might be connecting to something else. You should sniff on your tomcat server to check, if the request really reaches the tomcat machine. Regards, Rainer S