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 larrydlefe...@gmail.comwrote: I just killed most of the afternoon trying (and failing) to get Tomcat 5.5

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

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

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 cut Do you have access to IE on windows for this? If you do, it will be much quicker, and

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...@pdinc.us]

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.puglia.it]

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

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 thing with IE and in

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] Da:

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

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

Re: Tomcat wait to start

2009-10-20 Thread Peter Crowther
2009/10/20 NabiL elaomari.na...@gmail.com: 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

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: Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on/ Perhaps the

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

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

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

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

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?

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 mean

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

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

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, it

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 accesses

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

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? Are

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) load.

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:

Re: Tomcat not displaying images

2009-10-20 Thread Hassan Schroeder
On Tue, Oct 20, 2009 at 8:02 AM, ankush2kn ankush...@yahoo.com 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

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 elaomari.na...@gmail.com: 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

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

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, Oct

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' session

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: Tomcat not displaying images

2009-10-20 Thread Hassan Schroeder
On Tue, Oct 20, 2009 at 8:14 AM, ankush2kn ankush...@yahoo.com 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

Re: Tomcat wait to start

2009-10-20 Thread Peter Crowther
2009/10/20 NabiL elaomari.na...@gmail.com: 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)

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 scripts

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.

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

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 that

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: 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:

Re: Best Tomcat O.S. and Server Configuration

2009-10-20 Thread Peter Crowther
2009/10/20 beppe_c giuseppe.ca...@calbisolutions.com: 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

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

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

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

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 have

Re: doubts about tomcat form based authentication

2009-10-20 Thread Curtis Garman
On Tue, Oct 20, 2009 at 10:55 AM, Christopher Schultz ch...@christopherschultz.net 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

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 elaomari.na...@gmail.com: I use ActiveMQ5.3 with

Re: Tomcat wait to start

2009-10-20 Thread Peter Crowther
2009/10/20 NabiL elaomari.na...@gmail.com: 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

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

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 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 p...@pidster.com Sent: Tuesday, October 20, 2009 6:11

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

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

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

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

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:

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread ULS Tech Support
Hi David, -- From: David kerber dcker...@verizon.net Sent: Tuesday, October 20, 2009 12:34 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 ULS Tech Support wrote: Hi there, Let's try

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 dcker...@verizon.net Sent: Tuesday, October 20, 2009 12:34 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 ... The majority of

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 line

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 dcker...@verizon.net Sent: Tuesday, October 20, 2009 12:54 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 ULS Tech Support

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

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

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 tech_supp...@uls.com Sent: Tuesday, October 20, 2009 1:13 PM To: Tomcat Users List users@tomcat.apache.org;

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 dcker...@verizon.net Sent: Tuesday, October 20, 2009 12:54 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.59 with

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread ULS Tech Support
-- From: Pid p...@pidster.com Sent: Tuesday, October 20, 2009 1:19 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005 1. Is there a particular barrier to using the official MS driver? (I

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 p...@pidster.com Sent: Tuesday, October 20, 2009 1:19 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005

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

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,

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 p...@pidster.com

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.

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 Host element. If you are using multiple Host elements in Tomcat (i.e., virtual hosts), you

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: Host name=foo.yoursite.com Context path= docBase=/your/path/here/foo_site / /Host On Tue, Oct 20, 2009 at 4:03 PM, Tony Anecito

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,

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: Host name=foo.yoursite.com Context path= docBase=/your/path/here/foo_site / /Host Please don't recommend placing Context elements in server.xml; it's

RE: Problems with Manager

2009-10-20 Thread Caldarale, Charles R
From: Valter Jorge [mailto:valter_...@hotmail.com] Subject: Problems with Manager role rolename= manager/ user username= tomcat password= catalina roles=manager/ Post your *entire* tomcat-users.xml. The usual mistake is to fail to remove the comment delimiters around the role and user

RE: Does Tomcat http support subdomains?

2009-10-20 Thread Tony Anecito
Many Thanks!! -Tony --- On Tue, 10/20/09, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R chuck.caldar...@unisys.com Subject: RE: Does Tomcat http support subdomains? To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, October 20, 2009, 2:11 PM

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 jhmast.develo...@gmail.com wrote: From: Jonathan Mast jhmast.develo...@gmail.com Subject: Re: Does Tomcat http support subdomains? To: Tomcat Users List users@tomcat.apache.org Date: Tuesday, October 20, 2009, 2:13 PM

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 ?xml version=1.0 encoding=utf-8 ? - !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file

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

RE: Problems with Manager

2009-10-20 Thread Caldarale, Charles R
From: Valter Jorge [mailto:valter_...@hotmail.com] Subject: RE: Problems with Manager - !-- Licensed to the Apache Software Foundation (ASF) under one or more Why is there a leading dash on the above line? - tomcat-users Same question. - role rolename=tomcat/ Same question. --

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

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

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.

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: 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: Valves being converted to Filters?

2009-10-20 Thread Mark Thomas
From: Eric B. ebe...@hotmail.com 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.

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 gets

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: Valves being converted to Filters?

2009-10-20 Thread Eric B.
Mark Thomas ma...@apache.org 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

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

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

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]