MISC; Tomcat Cluster Sesssion ID changing after one Node Failure

2009-10-20 Thread Imad Hachem
Dear Team, I am facing an issue in Tomcat 5.5.12 Cluster after one node Failure or shutdown: The Session ID is changing, is there any configuration to keep the same session ID? Kindly help. Imad Hachem | Asst.Product Development Manager e-Banking Department Path Solutions

RE: Tomcat is not getting shutdown

2009-10-20 Thread Suneel Saguturu
Hi Mark, Thank you, I got the thread dump, please find it below and suggest what could be the problem. Full thread dump Java HotSpot(TM) Server VM (11.2-b01 mixed mode): "DestroyJavaVM" prio=3 tid=0x00030c00 nid=0x2 waiting on condition [0x..0xfe4ffb58] java.lang.Threa

RE: Cannot set remote address in valve (Tomcat 5.5)

2009-10-20 Thread Elli Albek
A question: How do you know that a proxy is trusted? Is it by providing a list of trusted IPs in the configuration of the filter? Our load balancer is always adding the client IP as the first in the list, and it does not add its own IP to the list. The header has one IP +99% of the times, the ot

RE: Valves being converted to Filters?

2009-10-20 Thread Elli Albek
So is there still going to be an API to plug into the tomcat internals and do things that the servlet API does not support? E -Original Message- From: Cyrille Le Clerc [mailto:clecl...@xebia.fr] Sent: Tuesday, October 20, 2009 4:06 PM To: Tomcat Users List Subject: Re: Valves being conv

Re: Valves being converted to Filters?

2009-10-20 Thread Eric B.
"Mark Thomas" wrote in message news:200910202047470...@265006334... >> Although I love filters, I find that valves have a very specific need >> within >> the container as well; it allows you to configure the container >> independently of the application. If everything is moving to filters, >>

Re: doubts about tomcat form based authentication

2009-10-20 Thread Josh Gooding
The way I solved the issue was removing he user from the tomcat role table. Tomcat itself will then not allow you to login. I am using a Realm authentication as well. In the user table I specified what "role" the user had (either plain user, manager, admin, or a trainer), then based off of that,

RE: question about using tomcat on a remote machine

2009-10-20 Thread Caldarale, Charles R
> From: Matt Funk [mailto:maf...@nmsu.edu] > Subject: question about using tomcat on a remote machine > > netstat -nan finds: > tcp6 0 0 :::8080 :::* LISTEN That looks like it's listening *only* with IPv6. Since you used an IPv4 address on your browser, Tomcat never

Re: Valves being converted to Filters?

2009-10-20 Thread Mark Thomas
> From: "Eric B." > To: users@tomcat.apache.org > Sent: 20/10/09, 15:38:59 > Subject: Valves being converted to Filters? > Is this true? Is Tomcat moving away from valves and towards filters in the > next version(s)? Sort off. Ideally everywhere but I suspect some valves will remain. > Is the

Re: Tomcat 5 SSL keytool error: java.lang.Exception: Public key in reply and keystore don't match

2009-10-20 Thread Crypto Sal
Nicholas, You bring up a good point about the alias. It's what I feel most people mess up on when installing SSL Certificates to a keystore. If no alias is specified upon creation of the keystore, the alias is "mykey". You can import ANY certificate you want into the keystore. You don't need

Re: Tomcat 6.0.20 support for serving via http java pack 200 jars. How?

2009-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 10/19/2009 4:41 PM, Tony Anecito wrote: > Inside the gz file is a java jar file that was compressed using pack > 200 compression using an ant task. So all you should need to do is define a MIME type for .pack.gz. I suppose using "AddEncoding

Re: doubts about tomcat form based authentication

2009-10-20 Thread Nirvann
Sorry guys to have bothered you with my silly mistake. Actually, I had configured 403 error page in web.xml file but the page was not at proper location. Hence I was getting 404 file not found. Now I can access the role error page for authorization error. Thanks a lot for all your insights. regar

Re: Valves being converted to Filters?

2009-10-20 Thread Cyrille Le Clerc
   Hello Henri,    I was referring to public information such as : - Google Summer Of Code 2009, project "Convert current Tomcat valves to Servlet Filters" : http://wiki.apache.org/tomcat/SummerOfCode2009 and the various associated emails on Tomcat dev mailing list. - Mark Thomas post on Tomcat us

question about using tomcat on a remote machine

2009-10-20 Thread Matt Funk
Hi, i have a dedicated server running ubuntu 8.04. On it i have apache2, the firewall (ufw) and tomcat. I installed tomcat by hand (from the website, as opposed to via apt). My problem is that i cannot connect to it via a browser. I do http://X.X.X.X:8080 but it gives me 'X.X.X.X is not respon

RE: Problems with Manager

2009-10-20 Thread Caldarale, Charles R
> From: Valter Jorge [mailto:valter_...@hotmail.com] > Subject: RE: Problems with Manager > > - This is an ending comment marker, apparently without a beginning one. Strongly suggest you use an XML-aware editor, which will help show you any problems in the XML. You can also use any of the num

Valves being converted to Filters?

2009-10-20 Thread Eric B.
Hi, I was looking at Bug 47330 (https://issues.apache.org/bugzilla/show_bug.cgi?id=47330) which is a filter / valve implementation of a Httpd's mod_remoteip module. What concerned me is a comment by the submitter at the very bottom of the report: "... As Tomcat valves are currently being con

RE: Problems with Manager

2009-10-20 Thread Valter Jorge
Here is the tomcat-user.xml Sorry if it have errors, because I'm a newby "The code is commented to avoid server failures" thanks - - - --> > From: chuck.caldar...@unisys.com > To: users@tomcat.apache.org > Date: Tue, 20 Oct 2009 15:20:40 -0500 > Subject:

Re: Does Tomcat http support subdomains?

2009-10-20 Thread Tony Anecito
Perfect thanks for the example. -Tony --- On Tue, 10/20/09, Jonathan Mast wrote: > From: Jonathan Mast > Subject: Re: Does Tomcat http support subdomains? > To: "Tomcat Users List" > Date: Tuesday, October 20, 2009, 2:13 PM > If you by subdomains you mean > "foo.yoursite.com", "bar.yoursite.c

RE: Does Tomcat http support subdomains?

2009-10-20 Thread Tony Anecito
Many Thanks!! -Tony --- On Tue, 10/20/09, Caldarale, Charles R wrote: > From: Caldarale, Charles R > Subject: RE: Does Tomcat http support subdomains? > To: "Tomcat Users List" > Date: Tuesday, October 20, 2009, 2:11 PM > > From: Tony Anecito [mailto:adanec...@yahoo.com] > > Subject: RE: Does

RE: Problems with Manager

2009-10-20 Thread Caldarale, Charles R
> From: Valter Jorge [mailto:valter_...@hotmail.com] > Subject: Problems with Manager > > > Post your *entire* tomcat-users.xml. The usual mistake is to fail to remove the comment delimiters around the and section. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PRO

RE: Does Tomcat http support subdomains?

2009-10-20 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] > Subject: Re: Does Tomcat http support subdomains? > > In the server.xml file, add: > > > Please don't recommend placing elements in server.xml; it's an outdated practice that should be discouraged, not encouraged. Besides addit

Problems with Manager

2009-10-20 Thread Valter Jorge
Good afternoon, I'm trying to develop a work linked to a project at UFPE, for this I need to do the deploy some files in Tomcat. I'm using Tomcat 6.0.20, installed by binary, Ubuntu 9.04, the package docs, examples and manager are installed using the apt-get, but I can't access the manager, I

Re: Does Tomcat http support subdomains?

2009-10-20 Thread Jonathan Mast
If you by subdomains you mean "foo.yoursite.com", "bar.yoursite.com" and so on, then of course Tomcat supports that. In the server.xml file, add: On Tue, Oct 20, 2009 at 4:03 PM, Tony Anecito wrote: > Hi Chuck, > > I am still a newbe at this concept but here is a link that mentions A

RE: Does Tomcat http support subdomains?

2009-10-20 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: RE: Does Tomcat http support subdomains? > > I am not sure for Tomcat what would be needed to do this. Usually nothing, if you have only a single element. If you are using multiple elements in Tomcat (i.e., virtual hosts), you will

RE: Does Tomcat http support subdomains?

2009-10-20 Thread Tony Anecito
Hi Chuck, I am still a newbe at this concept but here is a link that mentions Apache Web Server setup in addition to DNS you mentioned. They do add Virtual Hosts setup to support and I am not sure for Tomcat what would be needed to do this. http://content.websitegear.com/article/subdomain_setup

RE: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread George Sexton
> -Original Message- > From: ULS Tech Support [mailto:tech_supp...@uls.com] > Sent: Tuesday, October 20, 2009 1:35 PM > To: Tomcat Users List > Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 > > > > -- > From: "Pid" > Sent: Tu

RE: Does Tomcat http support subdomains?

2009-10-20 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: Does Tomcat http support subdomains? > > Does anyone know if Tomcat supports subdomains for its or the APR http > function? I'm confused; what's there to support? The primary thing you need is DNS resolution of the different names, in

Does Tomcat http support subdomains?

2009-10-20 Thread Tony Anecito
Hi All, Does anyone know if Tomcat supports subdomains for its or the APR http function? The Apache Web server does. I am starting to see more and more use of subdomains for performance improvements by allowing more browser connections from the same browser. Here is an example link of what I a

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread ULS Tech Support
Found the thread from Mark... thank you for pointing me in that direction... -- From: "Pid" Sent: Tuesday, October 20, 2009 1:19 PM To: "Tomcat Users List" Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 On 20/10/2009 19:59, ULS Tech Sup

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread ULS Tech Support
-- From: "Pid" Sent: Tuesday, October 20, 2009 1:19 PM To: "Tomcat Users List" Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 1. Is there a particular barrier to using the official MS driver? (I am wincing as I ask). http://jtds.s

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread Pid
On 20/10/2009 19:59, ULS Tech Support wrote: No problem, thanks again David.. ...Robin -- From: "David kerber" Sent: Tuesday, October 20, 2009 12:54 PM To: "Tomcat Users List" Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 ULS Tech Su

Re: Hijacking

2009-10-20 Thread ULS Tech Support
Sorry, i'll remember this not just for you, but for everyone to specifically use new for new threads. -- From: "ULS Tech Support" Sent: Tuesday, October 20, 2009 1:13 PM To: "Tomcat Users List" ; Subject: Re: Hijacking Fair enough... I didn't

Re: Hijacking

2009-10-20 Thread ULS Tech Support
Fair enough... I didn't think it was a big deal to do that... clicking new instead of reply... But really, i am still asking a valid question and require help... Didn't realize that this thread hijacking was going to cause someone to tell me what i did wrong, when i still had a valid question

Hijacking

2009-10-20 Thread Pid
On 20/10/2009 19:02, ULS Tech Support wrote: Tell me how i hijacked my own thread? As I described. See? This is my own thread.. and i actually modified the last one i sent out, cleared everything and typed out brand new. Umm, yes, that would be what we call hijacking. You hijacked a thread

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread ULS Tech Support
No problem, thanks again David.. ...Robin -- From: "David kerber" Sent: Tuesday, October 20, 2009 12:54 PM To: "Tomcat Users List" Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 ULS Tech Support wrote: Hi David, ---

Re: How do I debug dispatching errors?

2009-10-20 Thread Pid
On 20/10/2009 17:50, Josh wrote: Hello, I have a rather small application using servlets. I am encountering a problem where the dispatching is not working properly. There is a 'web.xml' file that looks like the first listing below. "Like" or "is"? I have a debug statement set on the first li

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread David kerber
ULS Tech Support wrote: Hi David, -- From: "David kerber" Sent: Tuesday, October 20, 2009 12:34 PM To: "Tomcat Users List" Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 ... The majority of the other webpages are set up as a single

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread ULS Tech Support
Hi David, -- From: "David kerber" Sent: Tuesday, October 20, 2009 12:34 PM To: "Tomcat Users List" Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 ULS Tech Support wrote: Hi there, Let's try this again... I am using Tomcat 5.5.9, us

Testing Web Services Without a Client ?

2009-10-20 Thread caho
Hi I´m doing some hello world stuff with java web services. I´m wondering if it´s is possible to test a Web Service in Tomcat6 without a client. Like in glassfish, where you can go localhost:8080/webservice/service?tester (or something). Thanks Carsten -- View this message in context: http://ww

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread David kerber
ULS Tech Support wrote: Hi there, Let's try this again... I am using Tomcat 5.5.9, using jTDS, with SQL Server 2005 i am getting this issue. 2009/10/16 10:47:15 - sql exception:java.sql.SQLException: No current row in the ResultSet. This issue doesn't happen with TWFreeTDS (in fact, when i

Re: Tomcat not displaying images

2009-10-20 Thread ankush2kn
Found the problem - I had copied the build process from another project. Unknowingly that process was adding an unmount for all gifs/jpgs etc in another config file included in the end. I took it out now and it works. Sorry guys for wasting your time, and thanks for trying to help. -- View thi

Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread ULS Tech Support
Hi there, Let's try this again... I am using Tomcat 5.5.9, using jTDS, with SQL Server 2005 i am getting this issue. 2009/10/16 10:47:15 - sql exception:java.sql.SQLException: No current row in the ResultSet. This issue doesn't happen with TWFreeTDS (in fact, when i switch to twfreetds it wo

Re: Tomcat not displaying images

2009-10-20 Thread ankush2kn
Adding another tiny detail - Requests for /myapp/xyz.htm is handled by tomcat (shows tomcat error) requests for /myapp/pqr.html is handled by apache (shows apache error) I checked my mime.types file (apache) and web.xml (tomcat) too. It does contain all mime types. -- View this message in

Re: Another issue, jTDS with Tomcat 5.5.9

2009-10-20 Thread ULS Tech Support
Tell me how i hijacked my own thread? This is my own thread.. and i actually modified the last one i sent out, cleared everything and typed out brand new. Thanks for the help. -- From: "Pid" Sent: Tuesday, October 20, 2009 6:11 AM To: Subjec

Re: Tomcat wait to start

2009-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 NabiL, On 10/20/2009 7:57 AM, NabiL wrote: > I use Tomcat 6.x running on server A (Linux redhat 5). i deployed a AMQ war > file. This application is waiting to acquire a lock because i run > successfully the same application on another server B (Linux

Re: Another issue, jTDS with Tomcat 5.5.9

2009-10-20 Thread Pid
On 16/10/2009 22:04, ULS Tech Support wrote: Hi there, Please start a completely new email for each thread. Replacing the subject line doesn't count, it's called thread hijacking. p Tomcat 5.5.9, using jTDS, with SQL Server 2005 i am getting this issue. 2009/10/16 10:47:15 - sql excepti

Re: Tomcat wait to start

2009-10-20 Thread Peter Crowther
2009/10/20 NabiL : > There is no bug tomcat side. ActiveMQ is configured with Master/Slave. > Tomca's logs indicates that ActiveMQ attempts to acquire the lock, this is > why tomcat can't start after ActiveMQ start. Then I would ask on an ActiveMQ list - I doubt anyone here will be able to help yo

Re: Tomcat wait to start

2009-10-20 Thread NabiL
Hi Peter, There is no bug tomcat side. ActiveMQ is configured with Master/Slave. Tomca's logs indicates that ActiveMQ attempts to acquire the lock, this is why tomcat can't start after ActiveMQ start. Peter Crowther wrote: > > 2009/10/20 NabiL : >> I use ActiveMQ5.3 with shared database Mysq

Re: doubts about tomcat form based authentication

2009-10-20 Thread Curtis Garman
On Tue, Oct 20, 2009 at 10:55 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nirvann, > > On 10/20/2009 2:50 AM, Nirvann wrote: >> The first thing is what mechanism can be used to handle authorization >> errors. For authentication we have control of jsp pages

Re: Best Tomcat O.S. and Server Configuration

2009-10-20 Thread beppe_c
giuseppe.ca...@calbisolutions.com Peter Crowther wrote: > > I'll use my usual quote: "It depends on what you're trying to do". > How heavy is the traffic to your machine? Why do you want the > boundaries you have drawn - what is the benefit to you of each of > those boundaries? > > Unless you

RE: Questions on "Single Sign On"?

2009-10-20 Thread Martin Gainty
a usecase would be Jetspeed JSR-168 portal manager which handles org.apache.jetspeed.ehcache.group.ttl time factor for each new user session as described at http://portals.apache.org/jetspeed-2/deployguide/jetspeed-properties.html other examples? Martin Gainty _

How do I debug dispatching errors?

2009-10-20 Thread Josh
Hello, I have a rather small application using servlets. I am encountering a problem where the dispatching is not working properly. There is a 'web.xml' file that looks like the first listing below. I have a debug statement set on the first line in the constructor of com.mycorp.referral.se

Re: Tomcat 5 SSL keytool error: java.lang.Exception: Public key in reply and keystore don't match

2009-10-20 Thread Nicholas Sushkin
Miguel, I just installed a cert using our own CA, had a bit of trouble myself, but it worked in the end. I found comodo's and Herong Yang's instructions useful. See http://www.herongyang.com/crypto/OpenSSL_Signing_keytool_CSR.html and https://support.comodo.com/index.php?_m=knowledgebase&_a=vie

Re: Best Tomcat O.S. and Server Configuration

2009-10-20 Thread Peter Crowther
2009/10/20 beppe_c : > I've just bought a dedicated server, and I'm looking 4 the best > configuration. I need to run Java (Struts2-hibernate+mysql) applications > through Tomcat. > > Motherboard supports till 8GB RAM > CPU Intel 2,6GHz Pentium Dual Core > 4GB RAM DDR2 667 MHz That's not large for

Re: Best Tomcat O.S. and Server Configuration

2009-10-20 Thread Jonathan Mast
so which linux distro should you use? that question has no right or wrong answer ;) i don't know much about virtualization, but if I had 4 (or 5) servers to do those things, here's what i would use: 1) CENTOS: SVN & MySQL 2) Slackware: Tomcat & Trac (if if runs inside of Tomcat) 3) Slackware: Tomc

Re: Tomcat not displaying images

2009-10-20 Thread ankush2kn
-- Here's the configuration in my httpd.conf # Mod_jk settings # Load mod_jk module LoadModulejk_module modules/mod_jk.so # Where to find workers.properties JkWorkersFile /etc/tomcat6/workers.properties # Where to put jk shared memory JkShmFile /var/log/tomcat6/mod_jk.shm # Where to put

Re: doubts about tomcat form based authentication

2009-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nirvann, On 10/20/2009 2:50 AM, Nirvann wrote: > The first thing is what mechanism can be used to handle authorization > errors. For authentication we have control of jsp pages (Login and Login > error pages). But there is nothing to let users know th

Best Tomcat O.S. and Server Configuration

2009-10-20 Thread beppe_c
Hi all, I've just bought a dedicated server, and I'm looking 4 the best configuration. I need to run Java (Struts2-hibernate+mysql) applications through Tomcat. Motherboard supports till 8GB RAM CPU Intel 2,6GHz Pentium Dual Core 4GB RAM DDR2 667 MHz 2HD SATA 500GB 7200rpm in RAID 1 software I

Re: Questions on "Single Sign On"?

2009-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/20/2009 11:22 AM, André Warnier wrote: > Now, how would a user in this case try to login a second time, when they > are already authenticated ? I think he's talking about a second login using the same credentials from another terminal.

Re: Tomcat not displaying images

2009-10-20 Thread André Warnier
ankush2kn wrote: Hi, I am using apache & Tomcat with mod_jk. When i point my browser to "www.mycompany.com/myapp", myapp works fine and displays index.jsp. However, none of the images in my jsp show up. In fact, all JSPs & HTMLs in myapp load fine, but none of the images (gif/jpg) or the scrip

Re: Tomcat wait to start

2009-10-20 Thread Peter Crowther
2009/10/20 NabiL : > I use ActiveMQ5.3 with shared database Mysql. 2 instances shared the same > DB. OK. Do you have a stack trace, or otherwise know which part of whose code is waiting to acquire the lock? There could be at least four places: 1) Tomcat; 2) MySQL; 3) ActiveMQ; 4) Your code. Wh

Re: Tomcat not displaying images

2009-10-20 Thread Hassan Schroeder
On Tue, Oct 20, 2009 at 8:14 AM, ankush2kn wrote: > > Looks like the 404 is generated by Httpd. Then it sounds like your configuration isn't forwarding requests for images to Tomcat. I haven't used mod_jk in forever, but maybe if you post the relevant part of your config file here someone will s

Re: Questions on "Single Sign On"?

2009-10-20 Thread André Warnier
Josh Gooding wrote: Andre, I am using a realm for this. I decided that the best route to go on this is if a user is actively logged in and tries to log in again (while already authenticated) to invalidate the 'other' session and continue on, that way of the browser dies, they can still get in.

Re: Questions on "Single Sign On"?

2009-10-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 10/20/2009 9:19 AM, Josh Gooding wrote: > I am using a realm for this. I decided that the best route to go on this is > if a user is actively logged in and tries to log in again (while already > authenticated) to invalidate the 'other' sessi

Re: Tomcat not displaying images

2009-10-20 Thread ankush2kn
Looks like the 404 is generated by Httpd. I think so because when i type in a bad JSP url, i get my applications 'page-not-found' error page. But for gif/jpg, i get -- Not Found The requested URL /nuride/images/amazon.jpg was not found on this server. Hassan Schroeder-2 wrote: > > On Tue, Oc

Tomcat 5 SSL keytool error: java.lang.Exception: Public key in reply and keystore don't match

2009-10-20 Thread Miguel Ortiz
I have a tomcat 5 web server setup on CentOS, I am currently working on installing a SSL cert but don't seem to be having any luck. I get the following error: keytool error: java.lang.Exception: Public key in reply and keystore don't match I have reissued the cert through Network Solutions and fo

Re: Tomcat wait to start

2009-10-20 Thread NabiL
Hi again, I use ActiveMQ5.3 with shared database Mysql. 2 instances shared the same DB. Peter Crowther wrote: > > 2009/10/20 NabiL : >> I use Tomcat 6.x running on server A (Linux redhat 5). i deployed a AMQ >> war >> file. This application is waiting to acquire a lock because i run >> success

Re: Tomcat not displaying images

2009-10-20 Thread Hassan Schroeder
On Tue, Oct 20, 2009 at 8:02 AM, ankush2kn wrote: > I am using apache & Tomcat with mod_jk. > > When i point my browser to "www.mycompany.com/myapp",  myapp works fine and > displays index.jsp. However, none of the images in my jsp show up. In fact, > all JSPs & HTMLs in myapp load fine, but none

Re: Multiple Instance of Tomcat 5 on Centos 5

2009-10-20 Thread homerlex
Thanks for the reply. The reason we wanted multiple instances was that hot deploy fails from time to time so we need to restart TC. We want to be able to modify 1 app without affecting the other. Anyway, we've decide to just go with a separate VM for now :-) Thanks again. awarnier wrote:

Tomcat not displaying images

2009-10-20 Thread ankush2kn
Hi, I am using apache & Tomcat with mod_jk. When i point my browser to "www.mycompany.com/myapp", myapp works fine and displays index.jsp. However, none of the images in my jsp show up. In fact, all JSPs & HTMLs in myapp load fine, but none of the images (gif/jpg) or the scripts (.js files) loa

Re: doubts about tomcat form based authentication

2009-10-20 Thread Curtis Garman
I would also google "making internet explorer display your error page" ...this is something I learned in the "apache cookbook"...IE will display it's own error message if your error page isn't at least 512 bytes...anyway you might want to research this a little Did you define a custom 403 page? Ar

apache/tomcat/modjk URL path question

2009-10-20 Thread 1world1love
I know that there is probably an easy solution to this, but all the posts I have found relating to this don't seem to match my scenario, and most of them I frankly don't get. My issue is this: I have a server running apache and tomcat. The server is behind a load balancer and firewall that manage

Re: doubts about tomcat form based authentication

2009-10-20 Thread Markus Schönhaber
Nirvann: > I mean't authorization. Consider a scenario as follows. There are two users, > admin and user. Consider two pages adminPage.jsp and userPage.jsp. Admin has > rights to both the pages but user can access only userPage.jsp. Lets assume > that the user logs in as user (not admin) and acces

Re: Tomcat wait to start

2009-10-20 Thread NabiL
Any help !! NabiL wrote: > > Hi, > > I use Tomcat 6.x running on server A (Linux redhat 5). i deployed a AMQ > war file. This application is waiting to acquire a lock because i run > successfully the same application on another server B (Linux + Tomcat 6). > Now if i try to restart tomcat A,

Tomcat 5 SSL keytool error: java.lang.Exception: Public key in reply and keystore don't match

2009-10-20 Thread Miguel Ortiz
I have a tomcat 5 web server setup on CentOS, I am currently working on installing a SSL cert but don't seem to be having any luck. I get the following error: keytool error: java.lang.Exception: Public key in reply and keystore don't match I have reissued the cert through Network Solutions and fo

Re: Multiple Instance of Tomcat 5 on Centos 5

2009-10-20 Thread André Warnier
homerlex wrote: I have Centos 5 on which I yum installed Tomcat5. Does anyone have tips for setting up multiple instances of TC in this configuration? I have seen some how-tos with other flavors of Linux. Its it going to be a matter of copying some files around and customizing the /etc/init.d/

Re: doubts about tomcat form based authentication

2009-10-20 Thread Nirvann
Curtis Garman wrote: > > I'm interested in what others have to say about this too...for > instance there is no provision for disabling an account either...if > the account exists you can login with it. > > I'm not sure I understand the second part of your question about > authorization...do yo

Multiple Instance of Tomcat 5 on Centos 5

2009-10-20 Thread homerlex
I have Centos 5 on which I yum installed Tomcat5. Does anyone have tips for setting up multiple instances of TC in this configuration? I have seen some how-tos with other flavors of Linux. Its it going to be a matter of copying some files around and customizing the /etc/init.d/tomcat5 script?

InterruptedIOException when loading pre-compiled JSP

2009-10-20 Thread Eric Dalquist
I'm using Tomcat 6.0.20 on Solaris 10 and JDK 1.6.0_16 I have a webapp that seemingly randomly fails to work due do a NoClassDefFoundError. The .tag files and JSPs are being pre-compiled and the webapp's web.xml is modified to reference the pre-compiled classes. My application code fails with

Implementing custom authentication on Tomcat 6.x

2009-10-20 Thread Johan Thorselius
I have an issue with finding a proper custom authentication mechanism with Tomcat (6.x). Currently I have a Tomcat 6.0.20 setup with the standard org.apache.catalina.realm.JAASRealm. The http-header is populated on an outside authentication server so the user is considered already authenticated wh

Re: Questions on "Single Sign On"?

2009-10-20 Thread Josh Gooding
Andre, I am using a realm for this. I decided that the best route to go on this is if a user is actively logged in and tries to log in again (while already authenticated) to invalidate the 'other' session and continue on, that way of the browser dies, they can still get in. I have however not cl

Re: doubts about tomcat form based authentication

2009-10-20 Thread Curtis Garman
I'm interested in what others have to say about this too...for instance there is no provision for disabling an account either...if the account exists you can login with it. I'm not sure I understand the second part of your question about authorization...do yo mean authorization or authentication?.

RE: Tomcat + APR: 'Invalid Server SSL Protocol' (was 'Tomcat + APR .. Socket bind failed')

2009-10-20 Thread Caldarale, Charles R
> From: Ken Johanson [mailto:tomcat-u...@kensystem.com] > Subject: Re: Tomcat + APR: 'Invalid Server SSL Protocol' (was 'Tomcat + > APR .. Socket bind failed') > > the solution to this was to add the element: > SSLEngine="on"/> Perhaps the statement should be "do not remove the element", since i

Re: Tomcat wait to start

2009-10-20 Thread Peter Crowther
2009/10/20 NabiL : > I use Tomcat 6.x running on server A (Linux redhat 5). i deployed a AMQ war > file. This application is waiting to acquire a lock because i run > successfully the same application on another server B (Linux + Tomcat 6). We will need more information in order to solve this. Wh

RE: clent authentication using a smard card

2009-10-20 Thread Jason Pyeron
> -Original Message- > From: Marcello Marangio [mailto:m.maran...@innova.puglia.it] > > -Messaggio originale- > > Da: Jason Pyeron [mailto:jpye...@pdinc.us] > > > -Original Message- > > > From: Marcello Marangio [mailto:m.maran...@innova.puglia.it] > > > > Da: Jason Pyeron

AbandonedObjectPool is used error

2009-10-20 Thread VijayKS
Hi Any one help me out this problem . I am using jstl tags to access database. I am getting the following error AbandonedObjectPool is used (org.apache.commons.dbcp.abandonedobjectp...@16eb6bc) LogAbandoned: true RemoveAbandoned: true RemoveAbandonedTimeout: 300 -- View this message i

Tomcat wait to start

2009-10-20 Thread NabiL
Hi, I use Tomcat 6.x running on server A (Linux redhat 5). i deployed a AMQ war file. This application is waiting to acquire a lock because i run successfully the same application on another server B (Linux + Tomcat 6). Now if i try to restart tomcat A, it can't start because attempts to acquire

R: clent authentication using a smard card

2009-10-20 Thread Marcello Marangio
> -Messaggio originale- > Da: Jason Pyeron [mailto:jpye...@pdinc.us] > Inviato: martedì 20 ottobre 2009 13.03 > A: 'Tomcat Users List' > Oggetto: RE: clent authentication using a smard card > > > -Original Message- > > From: Marcello Marangio [mailto:m.maran...@innova.puglia.it]

RE: clent authentication using a smard card

2009-10-20 Thread Jason Pyeron
> -Original Message- > From: Marcello Marangio [mailto:m.maran...@innova.puglia.it] > > Da: Jason Pyeron [mailto:jpye...@pdinc.us] > > > From: Marcello Marangio [mailto:m.maran...@innova.puglia.it] > > > > Da: Jason Pyeron [mailto:jpye...@pdinc.us] > > > > > > Ok. > > > I made the same thi

Unable to get the free endpoint for worker AG2 from 10 slots in IIS7 with JBOSS430

2009-10-20 Thread ramkmpaa2
Hi all I have configured the JBOSS 430 with IIS7 for a single node as per the guide available in the location http://www.scribd.com/doc/20684887/IIS7-with-JBOSS-430. I have used isapi_redirect1.2.28.dll in IIS configuration. After sometime accessing the application, I can see the following in th

R: clent authentication using a smard card

2009-10-20 Thread Marcello Marangio
> -Messaggio originale- > Da: Jason Pyeron [mailto:jpye...@pdinc.us] > Inviato: martedì 20 ottobre 2009 12.13 > A: 'Tomcat Users List' > Oggetto: RE: clent authentication using a smard card > > > > > > -Original Message- > > From: Marcello Marangio [mailto:m.maran...@innova.pu

RE: clent authentication using a smard card

2009-10-20 Thread Jason Pyeron
> -Original Message- > From: Marcello Marangio [mailto:m.maran...@innova.puglia.it] > Sent: Tuesday, October 20, 2009 5:10 > To: 'Tomcat Users List' > Subject: R: clent authentication using a smard card > > > > > -Messaggio originale- > > Da: Jason Pyeron [mailto:jpye...@pdi

R: clent authentication using a smard card

2009-10-20 Thread Marcello Marangio
> -Messaggio originale- > Da: Jason Pyeron [mailto:jpye...@pdinc.us] > Inviato: lunedì 19 ottobre 2009 20.21 > A: 'Tomcat Users List' > Oggetto: RE: clent authentication using a smard card > > > > > > > Do you have access to IE on windows for this? If you do, it will be much > quicker,

Windows 2008 Server (x64) IIS7 to Tomcat 6.0 32-bit with Java 32-bit isapi_redirect 1.2.28 connector problem

2009-10-20 Thread Terekhov Artyom (ADV)
Hello, I have a problem. I allowed 32-bit applications to run in application pool configuration in IIS7. I tried 64-bit versions of isapi_redirect.dll both for x64 and ia64.They gave error (error loading library). When I tried 32-bit version of isapi_redirect.dll with registry entries beyon

FW: MISC; Tomcat-5.5.12 Cluster giving Severe Error in ReplicationListener

2009-10-20 Thread Imad Hachem
Dear all, I am using Tomcat-5.5.12 installed on Separate machines and configured as Clustered Session Replication. After stopping one of the Nodes, my Session Replication is not working very fine between nodes and I am getting the below error: INFO: Pausing Coyote HTTP/1.1 on http-80

Re: Tomcat 5.5 logging-config elegant? Not so much, I think.

2009-10-20 Thread Tsirkin Evgeny
I didn't get it : Are you trying to get tomcat internal log to be logged somewhere or are we talking about your application's logs? Evgeny On Tue, Oct 20, 2009 at 12:42 AM, larrydlefever wrote: > > I just killed most of the afternoon trying (and failing) to get Tomcat 5.5 > logging configured for