Re: Manager app authentication not working with JDBCRealm

2008-03-20 Thread Mark Leone
I noticed that the prompt for my credentials says "Enter username and password for 'Tomcat Manager Application'". That prompt comes from the 401.jsp file in the manager webapp, not the in the web.xml file; I don't think the is actually used anywhere. But why does my custom app disp

RE: Manager app authentication not working with JDBCRealm

2008-03-20 Thread Caldarale, Charles R
> From: Mark Leone [mailto:[EMAIL PROTECTED] > Subject: Re: Manager app authentication not working with JDBCRealm > > Implementing a JAASRealm sounds easy enough I wasn't suggesting that you convert to a JAASRealm, but just providing evidence that the manager webapp is not tied to the UserDataba

Re: Manager app authentication not working with JDBCRealm

2008-03-20 Thread Mark Leone
Caldarale, Charles R wrote: I wonder if the use of the UserDatabase resource is hard-wired into the manager app somehow. It's not; we use a JAASRealm for Tomcat 6.0.16 production, and the manager app quite happily authenticates with that. All we changed in server.xml and the manager's we

Re: Having problem deploy a simple webapp

2008-03-20 Thread Guest1234
You were right, the problem occured because Tomcat couldn't find WSServletContextListener. I checked and the above class comes with "Sun Java Server" which I don't have. Does Tomcat comes with a listener that supports the Annotations API (the @WebService and @WebMethod)? If so what is the name of

Re: Is it possible to force application shutdown through the manager?

2008-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Patti wrote: | When I use tomcat:redeploy it just reloads, you're right. When I issue a | tomcat:stop or tomcat:start it *does* attempt to shutdown or startup (Just | the app). I think I'm missing something. Issuing a STOP /does/ stop

Re: Tomcat to Apache connection dies

2008-03-20 Thread Rainer Jung
John Moore schrieb: Caldarale, Charles R wrote: From: John Moore [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat to Apache connection dies Ok, I assume you mean the APR connector is the mod_jk.so which is on the Apache side only.. ? No - the APR connector is a replacement for the pure Ja

Re: Tomcat to Apache connection dies

2008-03-20 Thread John Moore
Caldarale, Charles R wrote: From: John Moore [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat to Apache connection dies Ok, I assume you mean the APR connector is the mod_jk.so which is on the Apache side only.. ? No - the APR connector is a replacement for the pure Java HTTP/AJP ones on t

Re: Is it possible to force application shutdown through the manager?

2008-03-20 Thread Chris Patti
On Thu, Mar 20, 2008 at 2:16 PM, Christopher Schultz < [EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chris, > > Chris Patti wrote: > | For whatever reason, our rather large in house application refuses to > shut > | down when the STOP command is issued, so trying

Re: Tomcat Session Replication problem

2008-03-20 Thread Mc210274
I forgot to state that I am running tomcat 5.5 -- View this message in context: http://www.nabble.com/Tomcat-Session-Replication-problem-tp16185824p16185828.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Tomcat Session Replication problem

2008-03-20 Thread Mc210274
Hello, I have a problem with getting session replication to work in tomcat. I have two tomat servers running on Windows Server 2003. I have replication work to the point where the user sessions get replicated when the tomcat servers startup. What i mean by this is that lets say tomcat2 is runni

Re: Is it possible to force application shutdown through the manager?

2008-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Patti wrote: | For whatever reason, our rather large in house application refuses to shut | down when the STOP command is issued, so trying to redeploy the app yields | an OK message from the manager but when the webapps/squid (Our app i

Re: Running out of memory too easily in Tomcat 6.0.16

2008-03-20 Thread antwake
I have the same problem as Scott. And I'm with Netbeans VWP . It appeared when I moved from Netbeans 6.0 and my own Tomcat instance (5.5.17) to Netbeans 6.1Beta with embedded Tomcat (6.0.16) so it's more related to the efficiency of Tomcat than a web app problem. mgainty wrote: > > yes providi

Re: OT - .jsp recommended practices

2008-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: | My question is: would it be better practice to put the rest of the | generation lines into the java class, or is it better form to | leave it the way it is. I realize there's no functional difference; I'm | just wonder

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-03-20 Thread Filip Hanik - Dev Lists
It's expected behavior, sessions will always expire on the local node during a graceful shutdown. expireSessionsOnShutdown="false" simply means that we don't expire sessions in the remote nodes Filip Ronald Klop wrote: Hello, When I shutdown a node in my cluster (tomcat 5.5.26) sessionDes

Is it possible to force application shutdown through the manager?

2008-03-20 Thread Chris Patti
Folks; I am trying to leverage the Tomcat manager's capability for remote deployment (e.g. Maven2 build running on host A, deploying to Tomcat on host B via the maven-tomcat-plugin which uses the Tomcat manager). For whatever reason, our rather large in house application refuses to shut down when

Re: how: this configuration for linux

2008-03-20 Thread Hassan Schroeder
On Thu, Mar 20, 2008 at 8:20 AM, dr_pompeii <[EMAIL PROTECTED]> wrote: > i saw in catalina.sh these variables, but wondered what would be the > difference between them (only the word stop for JAVA_OPTS ) > > # CATALINA_OPTS (Optional) Java runtime options used when the "start", > #

RE: Overriding Password in JDBC Realm

2008-03-20 Thread Emsley, I (Iain)
Emsley, I (Iain) wrote: >> I'm trying to implement a JDBC realm to compare a cookie against a >> database to authenticate an identity but my current application falls >> over trying to get a password where one doesn't exist (they are >> checked earlier on in the cycle in another section of th

Re: how: this configuration for linux

2008-03-20 Thread dr_pompeii
Hi Hassan thanks again for your time i saw in catalina.sh these variables, but wondered what would be the difference between them (only the word stop for JAVA_OPTS ) # CATALINA_OPTS (Optional) Java runtime options used when the "start", # or "run" command

OT - .jsp recommended practices

2008-03-20 Thread David kerber
This is more of a programming style question than it tomcat-specific, but it's running on tomcat 5.5, so here goes: I have a .jsp where, right now, I have part of the page generation is done in the .jsp, and the part with proprietary logic is done in a java class behind it. What I'm wondering

RE: forwarding a post

2008-03-20 Thread Martin Gainty
Hi JohnI've seen SOAP handle security via rampart but was wondering if the google code accomodate security considerations such as-authentication-encryption/decryption(feel free to ping me offline as this is O/T)ThanksMartin__Disclaimer and confidentia

RE: Manager app authentication not working with JDBCRealm

2008-03-20 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Manager app authentication not working with JDBCRealm > > Note that we left the for > org.apache.catalina.UserDatabase alone. Also, we did not change the under in the manager web.xml file, although I don't think that will make a difference. - Chu

Happy Holi

2008-03-20 Thread Laxmilal Menaria
HAPPY HOLI -- Thanks, Laxmilal menaria http://www.chambal.com/ http://www.minalyzer.com/ http://www.bucketexplorer.com/

Re: forwarding a post

2008-03-20 Thread David Fisher
Hi, PayPal has free solutions that work: https://www.paypal.com/us/cgi-bin/webscr?cmd=_profile-comparison I use "Website Payments Standard" with an IPN back-end without trouble for over 5 years on Tomcat 4s, no trouble with recent upgrade to 5.5/ We save the shopping cart on the server si

Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon

2008-03-20 Thread Markus Schönhaber
Caldarale, Charles R wrote: > I don't know what the "w" was intended to mean My WAG would be that the meaning of the "w" is taken from java.exe/javaw.exe of the Sun JRE where it seems to indicate whether the binary is linked for the console or the windows subsystem. I. e. while java.exe will disp

RE: Manager app authentication not working with JDBCRealm

2008-03-20 Thread Caldarale, Charles R
> From: Mark Leone [mailto:[EMAIL PROTECTED] > Subject: Re: Manager app authentication not working with JDBCRealm > > I wonder if the use of the UserDatabase resource is > hard-wired into the manager app somehow. It's not; we use a JAASRealm for Tomcat 6.0.16 production, and the manager app qui

Re: forwarding a post

2008-03-20 Thread John Pedersen
Hi, At least with Google checkout, I have found a better solution. I have a form with just their button image as a submit, and in my handler I do: String xmlCart = cart.createXML(); MerchantInfo mi = GoogleMerchantInfoFactory.createMerchantInfo( EnvironmentType.Sandbox); CheckoutShoppingCartReq

Re: Tomcat hangs on SATA Linux server

2008-03-20 Thread Mark Deneen
How much memory is on the server? Your file buffer may be too large and your disks can not keep up. I think the default is 10% of memory, so if you can fill that up faster than the disks can write it it will hang until the buffer is emptied. I doubt you are doing that much file i/o through a

Re: Running out of memory too easily in Tomcat 6.0.16

2008-03-20 Thread Mark Deneen
Caldarale, Charles R wrote: From: Scott Mueller [mailto:[EMAIL PROTECTED] Subject: Re: Running out of memory too easily in Tomcat 6.0.16 Charles, where's the proper place to put the heap/permgen allocation settings in tomcat's scripts? You don't modify the scripts themselves. Set whatev

Re: forwarding a post

2008-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Pedersen wrote: | Can anyone suggest how I can forward a post using servlets? [snip] | Then, depending on which button the user clicks, I want to forward the user | on to google/paypal using POST, adding the parameters such as cart, | si

sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-03-20 Thread Ronald Klop
Hello, When I shutdown a node in my cluster (tomcat 5.5.26) sessionDestroyed is called on all SessionListeners on that node. But I'm running a cluster, so one node stopping doesn't mean the session is destroyed. My understanding is that expireSessionsOnShutdown="false" by default and I don't

Re: IE and Mozilla issue with Cookies with setVersion(1)

2008-03-20 Thread Ronald Klop
On Thu Mar 20 14:00:55 CET 2008 Tomcat Users List wrote: Ronald Klop wrote: > On Wed Mar 19 23:13:33 CET 2008 Tomcat Users List > wrote: >> Rajeev Angal wrote: >> > I misspoke - this is happening on Tomcat 6.0.16 only . >> > 6.0.10 is working fine on all browsers. >> > > Any pointers highly

Re: Manager app authentication not working with JDBCRealm

2008-03-20 Thread Mark Leone
O.k., I think that will break the world. As far as I know, you may have only one inside a given container (, , ); a at a lower level overrides any at a higher one. If you want all apps to use your JDBCRealm, you have to remove (or comment out) the default one for the . I commented out t

Re: IE and Mozilla issue with Cookies with setVersion(1)

2008-03-20 Thread Mark Thomas
Ronald Klop wrote: On Wed Mar 19 23:13:33 CET 2008 Tomcat Users List wrote: Rajeev Angal wrote: > I misspoke - this is happening on Tomcat 6.0.16 only . > 6.0.10 is working fine on all browsers. > > Any pointers highly appreciated. It is a known issue in 6.0.16. A patch is currently under cons

Re: Overriding Password in JDBC Realm

2008-03-20 Thread Pid
Emsley, I (Iain) wrote: I'm trying to implement a JDBC realm to compare a cookie against a database to authenticate an identity but my current application falls over trying to get a password where one doesn't exist (they are checked earlier on in the cycle in another section of the programme).

Tomcat 6 / Apache 2.2 integration problem (no images, no css loaded)

2008-03-20 Thread Andreas Schneider
Hi, I am trying to use my tomcat 6 over Apache 2.2. I have deployed a war called sw-builder.war into the webapps folder of the tomcat instance. After restarting tomcat and apache Tomcat extracts the war into the webapps folder and into the temp folder (temp/0-sw-builder). The directory structur

Re: IE and Mozilla issue with Cookies with setVersion(1)

2008-03-20 Thread Ronald Klop
On Wed Mar 19 23:13:33 CET 2008 Tomcat Users List wrote: Rajeev Angal wrote: > I misspoke - this is happening on Tomcat 6.0.16 only . > 6.0.10 is working fine on all browsers. > > Any pointers highly appreciated. It is a known issue in 6.0.16. A patch is currently under consideration. Mark

Overriding Password in JDBC Realm

2008-03-20 Thread Emsley, I (Iain)
I'm trying to implement a JDBC realm to compare a cookie against a database to authenticate an identity but my current application falls over trying to get a password where one doesn't exist (they are checked earlier on in the cycle in another section of the programme). Is there a way of overrid

Re: Tomcat hangs on SATA Linux server

2008-03-20 Thread Sameer Acharya
Is this just with Tomcat or does it happen with other apps too ? Chances are that your device driver may be having issues and hence slowing down the system in between. -Sameer --- Rick Fincher <[EMAIL PROTECTED]> wrote: > Hi All, > > We have a web app running on Tomcat that accesses > Oracle v

semi-OT: lambdaprobe and logging on tc6?

2008-03-20 Thread Kristian Rink
Folks; earlier some kind souls on this list recommended me to check out lambdaprobe.org to fulfil my tomcat management and monitoring needs which has worked out rather well ever since. So far however, it seems something got more or less broken in course of migrating our systems from tc5.5 to tc6.

Web WIFI application

2008-03-20 Thread karthikn
Hi Thnx for the initial Reply The Life Cycle for the WIFI custom web application for AAA is as follows. 1) User Types "www.xyz.com" 2) CISCO ROUTER Intercepts this requests and reroutes to a WEB container as http://: or http:// Only for AAA to be processed. [ Note: CISCO Router

Re: Error Page Question

2008-03-20 Thread Peter Stavrinides
oh no! even more work for me now... thanks anyway for your help guys! Len Popp wrote: You can't override the 503 error page using an declaration. :-( The only way I know of to change it is to replace org.apache.catalina.valves.ErrorReportValve with your own version, which you specify in the "e

Re: Manager app authentication not working with JDBCRealm

2008-03-20 Thread Mark Thomas
Mark Leone wrote: Tomcat 6 still has the html page for the admin app that says it can be downloaded if desired, so I assumed it was still supported for 6.0. This should be fixed (ie removed) by the next release. Mark - To st

Tomcat 5.0.28 to Tomcat 6.0.14

2008-03-20 Thread Bobby Quninne
I seem to be experiencing some issues with this migration I am attempting. I have read through some of the threads that pertain to this issue, however I am still encountering problems. The following is used in this webapp : jstl 1.1.2 jspx I am receiving the following exception : javax.servle

Re: Web WIFI application

2008-03-20 Thread Rainer Jung
Hi Karthik, karthikn wrote: Hi We have been Developing a Web WIFI application that acts as a AAA processor for ROUTER [ CISCO ] for provision of Internet Access. The application is HOSTED as ROOT in Tomcat 5523 web server Reason : CISCO ROUTER uses IP /Port Only to identify and route the