Re: Unable to get a basic install working...

2007-08-28 Thread Hristian
Brian Munroe-2 wrote: > > On 8/17/07, Lizard Lizard <[EMAIL PROTECTED]> wrote:> > >> SEVERE: StandardServer.await: create[8005]: >> java.net.BindException: Address already in use: JVM_Bind > >> >> It claims the address is already in use, but netstat shows nothing on >> that address. Stopping

Re: Tomcat not starting properly.

2007-08-28 Thread Brian Munroe
On 8/28/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > The CLASSPATH environment variable should never be used when running > Tomcat. (For that matter, it shouldn't be used in any Java environment > these days.) > Chuck: I don't mean to hijack this thread with unrelated topics, but can

AW: Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread hans.mader
Hi Filip, we are using ANT script for deployment and the manager application. Here's the "redeploy" script (only the tc specific tasks): We copy the war and .xml to the server, perform deployment then, and delete after that. The deploy/undeploy will be done only by the manager app itself.

Re: Tomcat not starting properly.

2007-08-28 Thread Potri Raaja
Operating System : Suse Linux Enterprise Server 9. TOMCAT Version : jakarta-tomcat-5.0.28 HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $PATH /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/root/j2sdk1.4.2/bin:/usr/lib/ja

Authentication and authorization questions

2007-08-28 Thread lightbulb432
I have several questions about authentication and authorization in Tomcat below, so answer only what you can :) Thanks. Where does Tomcat authentication fit into the request processing lifecycle? Does it happen before even the very first filter gets called? What happens just before and just after

Re: digest ignored in Data source realm -> Success

2007-08-28 Thread Glenn McCall
Success! Thanks for your reply and suggestions Chris. I don't believe that any of your suggestions were applicable, but still greatly appreciated. I must admit I totally missed the "conf/[hostname]/yourappname.xml " check in my initial analysis. (Un)Fortunately that wasn't it. I was able to

tomcat hang/freeze under windows

2007-08-28 Thread Roger Parkinson
Sorry this is question is so terse, but general approach kind of help would be very welcome. I get to the login page every time, but after that there's no response. Seems to be nothing relevant in the logs. The machine is remote from me and in a 12 hours different timezone (yawn...zzz) so gett

Re: [mod_jk] problem serving URIs with 'special characters'

2007-08-28 Thread Rainer Jung
I agree with Christopher. If you feel totally uncomfortable with the idea of compiling yourself: there is a good chance, that the downloadable binary for 2.0.59 will work with your 2.0.52. You need to test and check the error log of apache for log lines indicating process crashes. Those would

Re: Apache --> Tomcat SSL via mod_jk

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Omar, Omar Nafees wrote: > 1) request.getRemoteUser() only works on the "entry-point" servlet (e.g. > index.jsp) - it doesn't work if you forward immediately to another page. > It seems strange that Tomcat doesn't keep remote user around for later > u

Apache --> Tomcat SSL via mod_jk

2007-08-28 Thread Omar Nafees
Hi, I recently posted under the thread "Apache authentication information (remoteuser) not visible in Tomcat" and I am grateful to all that responded with useful comments. I learned the following about how Tomcat treats authentication information received from Apache via AJP headers (mod_jk)

RE: Tomcat not starting properly.

2007-08-28 Thread Caldarale, Charles R
> From: Manivannan Palanichamy > [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat not starting properly. > > which tomcat version are you using? >From the shell prompts, it seems pretty obvious that it's 5.0.28. > can you also specify the value of PATH and CLASSPATH variables? The CLASSPATH en

Re: Tomcat not starting properly.

2007-08-28 Thread Manivannan Palanichamy
which tomcat version are you using? can you also specify the value of PATH and CLASSPATH variables? -- Manivannan Palanichamy http://mani.gw.googlepages.com/index.html On 8/28/07, Potri Raaja <[EMAIL PROTECTED]> wrote: > > > Hi, > > When I try to start my tomcat I am getting the following er

Re: 20 Tips for Using Tomcat in Production

2007-08-28 Thread Ole Ersoy
Chuck and Chris, Thank you for the tips! I'll probably code a little servlet that has a peak, but now that I'm aware of Lambda Probe, I just have to play with it :-) Extremely cool toy! Thanks again, - Ole Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sub

Re: I'm in a mess with Tomcat 5.5

2007-08-28 Thread Ole Ersoy
It looks like they are repackaging Tomcat to use an FHS layout for all the directories and files. You would place webapps in /var/lib/apace-tomcat/webapps and secure the directory correspondingly with the group as tomcat and the user as root, only giving root write permissions, etc. JPackage

Re: Tomcat looses POST parameters

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan, M4N - Arjan Tijms wrote: > Christopher Schultz wrote: > >> Uh, I'm not really sure what you're saying, here. TCs auth code /will/ >> run before any of your code if you are using it. >> > Of course, but that's exactly what I'm saying. If Tomcat

Re: Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread Filip Hanik - Dev Lists
[EMAIL PROTECTED] wrote: Hello, if I reload a context, all sessions are going to be serialized and deserialized automatically. Is the same possible at undeploy / deploy? yes, works the same way The problem is, that all users are thrown out of their apps if we "redeploy" under production.

Re: Tomcat 6 and log4j for a web application

2007-08-28 Thread Filip Hanik - Dev Lists
you need to use log4j in your hello.jsp, and not the log(String) method Filip fredk2 wrote: Many thanks for the response. For some reasons I did not see it over the (hot and humid) weekend. yes - I did those steps and it does work well ... although in my case I cannot use TC_HOME (read-only)

RE: Tomcat (javac)compilation arguments

2007-08-28 Thread Caldarale, Charles R
> From: Brian Munroe [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat (javac)compilation arguments > > In the OP, what I found interesting was that the default heap size > wasn't enough to start Tomcat? According to SUN, the default is > around 83 MB for 64-bit JVMs [1]. That's the minimum value

Re: Tomcat looses POST parameters

2007-08-28 Thread M4N - Arjan Tijms
Christopher Schultz wrote: Uh, I'm not really sure what you're saying, here. TCs auth code /will/ run before any of your code if you are using it. Of course, but that's exactly what I'm saying. If Tomcat's auth code runs first, than the possible error would be in Tomcat's code. Do you imple

RE: URL context mapping

2007-08-28 Thread Caldarale, Charles R
> From: Jon Wanlass [mailto:[EMAIL PROTECTED] > Subject: URL context mapping > > We have 100+ clients all with their own **identical** context > in the webapps dir. We would like to merge all contexts into > one in order to soften memory requirements and make it more > manageable. This sound

Re: URL context mapping

2007-08-28 Thread Tobias Barth
Hi, Put Apache and mod_rewrite in front of Tomcat. *Tobias Barth* Dipl. Informatiker Senior Webentwickler *Web Arts AG* Ferdinandstraße 18 61348 Bad Homburg v. d. Höhe http://www.web-arts.com Tel.: +49.6172.68097-28 Fax: +49.6172.68097-77 [EMAIL PROTECTED] *Sitz der

Re: [OT] Session replication vs stateless

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lb, lightbulb432 wrote: > >> Don't forget that you can't be stateless if you >> need logins of some type (unless you use BASIC auth, which looks ugly >> from a user point of view). > > Why is this? Others who answered to this thread and discussions

URL context mapping

2007-08-28 Thread Jon Wanlass
Hello List – We have 100+ clients all with their own **identical** context in the webapps dir. We would like to merge all contexts into one in order to soften memory requirements and make it more manageable. We have tried using the docbase attribute in the context.xml but found that it st

Re: SSL and non-secure items

2007-08-28 Thread Paul Singleton
is_maximum wrote: Hi experts, I have a web application configured to be secured by ssl, the problem is at some pages the browser displays a dialog box as a warning that says, this page contains both secure and non-secure items do you want to display non-secure items? and the user has two options

Re: Problem with Tomcat memory and poi library

2007-08-28 Thread ovidiu asiminei
Hi Alberto, You're out of memory ? - add more to your heap. First look at java -X to determine what parameters to set. Then you can set them via the environment variable JAVA_OPTS. Eg: JAVA_OPTS="-Xms128M -Xmx512M" Regards, Ovidiu On 8/28/07, Alberto Pedrera <[EMAIL PROTECTED]

Re: [OT] Session replication vs stateless

2007-08-28 Thread lightbulb432
That sounds about right. Don't forget that you can't be stateless if you > need logins of some type (unless you use BASIC auth, which looks ugly > from a user point of view). Why is this? Others who answered to this thread and discussions in general around web applications describe statelessness

Re: Tomcat (javac)compilation arguments

2007-08-28 Thread Brian Munroe
On 8/27/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > I'm really curious about one thing: if the OP has a 64-bit environment, > why is he being so stingy with heap space? > In the OP, what I found interesting was that the default heap size wasn't enough to start Tomcat? According to S

Re: Problem with Tomcat memory and poi library

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alberto, Alberto Pedrera wrote: > Hi, my application continues to work well but if I create many excel files i > will obtain a OutOfMemory exceptions. It does not seem that it's a bug into > poi library. Could you post a part of your code to the list

RE: 20 Tips for Using Tomcat in Production

2007-08-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: 20 Tips for Using Tomcat in Production > > Or just look at the value for the system property "java.vm.name". Yes, that's exactly what both JConsole and Lambda Probe do; I was just trying to suggest a mechanism that didn't requi

Re: [mod_jk] problem serving URIs with 'special characters'

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guy, Guy Katz wrote: > Hi; > Sorry for the beginner's question but does this means that I need to > compile mod_jk1.2.25 against my apache 2.0.52? Or can I still use the > 1.2.25 from the tomcat connector downloads page as a drop-in > replacement. IM

Re: 20 Tips for Using Tomcat in Production

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck and Ole, Caldarale, Charles R wrote: >> From: Ole Ersoy [mailto:[EMAIL PROTECTED] >> Subject: Re: 20 Tips for Using Tomcat in Production >> >> Anyone know if there is a way to verify that the >> jvm is running in server mode? > > Enable JMX a

Re: Tomcat looses POST parameters

2007-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan, M4N - Arjan Tijms wrote: > Christopher Schultz wrote: >> No, your filter will only be executed after the login has been handled, >> since Tomcat's authentication is done using a valve, which is processed >> before any filters. > > I see. The th

Tomcat not starting properly.

2007-08-28 Thread Potri Raaja
Hi, When I try to start my tomcat I am getting the following error, it is not getting started properly. HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh Using CATALINA_BASE: /root/jakarta-tomcat-5.0.28 Using CATALINA_HOME: /root/jakarta-tomcat-5.0.28 Using CATALINA_TMPDIR: /root/jak

Re: Tomcat Feature List

2007-08-28 Thread Mark H. Wood
I take it that you found http://tomcat.apache.org ? In what way does it not answer your question? Your question is rather vague -- the answer depends on what you consider to be a "feature". What do you expect to find? -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a

Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread hans.mader
Hello, if I reload a context, all sessions are going to be serialized and deserialized automatically. Is the same possible at undeploy / deploy? The problem is, that all users are thrown out of their apps if we "redeploy" under production. (I know thats not recommended, but sometimes its really

JNDI caching

2007-08-28 Thread David Delbecq
Hello, we have several tools here that access a common JNDI structure for user listing / authentification / authorization. There is a LDAP tomcat realm + 2 tools that request direct access to List and properties of users/groups. Our problem is as follow 1) if the LDAP server change, we need to c

RE: Tomcat Feature List

2007-08-28 Thread Sachin Mehrotra
Not able to find out much from the JSRs, actually I looking for the feature list from HTTP Specification point of view means what are the features tomcat provide for the HTTP. Thanks, Sachin -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 28, 2007

How to profile Tomcat with Rational Purify

2007-08-28 Thread Hitesh Raghav
Hi, What are the steps for profiling a web server (i.e. Tomcat)? We have Tomcat with our some custom implementations. I've to do Tomcat profiling with Rational Purify. Thanks, -Hitesh - To start a new topic, e-mail: users@tomc

Re: Tomcat Feature List

2007-08-28 Thread Leon Rosenberg
how about reading the JSRs? On 8/28/07, Sachin Mehrotra <[EMAIL PROTECTED]> wrote: > Hi, > > Yes, that's correct, I have searched the Net but somehow I am not able > to find out this, also I had looked at the tomcat site but not able to > find out, that's why I dropped a mail on this group. > > Th

RE: Tomcat Feature List

2007-08-28 Thread Sachin Mehrotra
Hi, Yes, that's correct, I have searched the Net but somehow I am not able to find out this, also I had looked at the tomcat site but not able to find out, that's why I dropped a mail on this group. Thanks, Sachin -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: T

Re: Tomcat Feature List

2007-08-28 Thread Leon Rosenberg
Since you are working for an internation software company and are probably supposed to perform some research in your paid time, i think its fair to point you to the fact that our time is unpaid, so ... use google. Leon On 8/28/07, Sachin Mehrotra <[EMAIL PROTECTED]> wrote: > Hi, > > > > I want to

Re: Problem with Tomcat memory and poi library

2007-08-28 Thread Alberto Pedrera
Hi, my application continues to work well but if I create many excel files i will obtain a OutOfMemory exceptions. It does not seem that it's a bug into poi library. Jérôme Etévé-2 wrote: > > Hi . Do you have OutOfMemory exceptions or does your application > continues to work well ? > Do you h

Re: Problem with Tomcat memory and poi library

2007-08-28 Thread Jérôme Etévé
Hi . Do you have OutOfMemory exceptions or does your application continues to work well ? Do you have circular referenced structures in your application ? Perhaps it's a bug into your excel file generating library ? On 8/28/07, Alberto Pedrera <[EMAIL PROTECTED]> wrote: > > Sorry by my poor leve

Re: SSL and non-secure items

2007-08-28 Thread Jérôme Etévé
Hi ! To avoid having that message (which can make your users insecure), all the resources you use in your page must be served by the securized server. This includes css, javascript, images , etc. Go through your code and you might find some resources which uses full unsecure http:// urls. I don

SSL and non-secure items

2007-08-28 Thread is_maximum
Hi experts, I have a web application configured to be secured by ssl, the problem is at some pages the browser displays a dialog box as a warning that says, this page contains both secure and non-secure items do you want to display non-secure items? and the user has two options yes and no. actua

Problem with Tomcat memory and poi library

2007-08-28 Thread Alberto Pedrera
Sorry by my poor level of English. I have an application J2EE that uses the libs toi and tomcat 5. It uses a great amount of data. When I create a file excel the amount of memory that uses tomcat increases and this memory is never liberate. I have closed the connections with the data base, I have