Re: why can't i login to tomcat7 status page from clean install zip

2018-12-17 Thread Bob Hall
Bo, On Monday, December 17, 2018, 9:49:34 PM PST, Bo wrote: >  > here is screenshot >  > I just tried again still no working\ >  >. https://i.imgur.com/8bQH2YB.png At the risk of stating the obvious, your screenshot shows: - a tomcat-users.xml file with three usernames: dog, god, and role1.

Re: [maybe OT] /dev/urandom [was : Re: Tomcat 8.5.23 Initialization PRNG/SSL]

2017-10-27 Thread Bob Hall
> On Friday, October 27, 2017, 2:32:50 PM PDT, André Warnier (tomcat) > wrote: >  >  > There seem to be a recrudescence of interventions on this list about >SSL/HTTPS, and > associated discussions about the usage of various randomness sources.> I > found this article interesting :> https:/

Re: Typo in my previous post, Re: Protecting files within a context

2017-08-24 Thread Bob Hall
On Thursday, August 24, 2017 5:48 PM, Bob Hall wrote: Yahoo auto-munged the URL, it should be: https://tomcat.apache.org/tomcat-8.0-doc/realm-howto.html - Bob  

Re: Typo in my previous post, Re: Protecting files within a context

2017-08-24 Thread Bob Hall
On Thursday, August 24, 2017 5:29 PM, James H. H. Lampert wrote: > Cache and cookies both cleared, all the way back, and the context > that theoretically should be presenting a sign-on dialog for the > forbidden pages still serves an immediate 403 page instead. I don't use Tomcat's Rea

Re: Typo in my previous post, Re: Protecting files within a context

2017-08-24 Thread Bob Hall
James, On Thursday, August 24, 2017 4:58 PM, James H. H. Lampert wrote: >> This is interesting: >> >> I added this (contents of web-resource-collection omitted) to the top of >> the context's web.inf, right below the "web-app" and "display-name" tags: >> >>>      >> . . . >>>      >>>   

Re: Protecting files within a context

2017-08-24 Thread Bob Hall
James, On Thursday, August 24, 2017 2:26 PM, James H. H. Lampert wrote: > Could you be a bit more specific on what edition of the servlet spec, and where I can find it? > The first one I grabbed ("Java Servlet Specification Version 2.4") is over a decade old, and doesn't *have* a secti

Re: [ANN] End of life for Apache Tomcat 8.0.x

2017-06-30 Thread Bob Hall
On Friday, June 30, 2017 2:32 PM, Mark Thomas wrote: The Apache Tomcat team announces that support for Apache Tomcat 8.0.xwill end on 30 June 2018. This means that after 30 June 2018:- releases from the 8.0.x branch are highly unlikely- bugs affecting only the 8.0.x branch will not be addre

Re: I'm using jdk1.6 + tomcat 7.0.23

2015-06-21 Thread Bob Hall
On Saturday, June 20, 2015 11:17 PM, hao huang wrote: >  Can you put my E-mail account deleted from the mailing list, thank you Hao, as indicated here:   Apache Tomcat - Mailing Lists you should send a blank email to users-unsubscr...@tomcat.apache.org to unsubscribe from the Tomcat users

Re: Anyway to enable just all TLS protocols in APR connector?

2014-10-17 Thread Bob Hall
On Friday, October 17, 2014 1:05 PM, Jeffrey Janner wrote: > With baited breath, but not holding it. Should be "bated breath". - Bob

Re: Help regarding CSRF Filter in Tomcat 7

2012-11-16 Thread Bob Hall
André, On 16/11/2012 14:39, André Warnier wrote: >  Response (to Mark and David) : I accept the verdict of the native > English-speakers. >  In my defense, I would say that to me, the word "useless" has more of a > negative connotation than what I wanted to express.  Using an expression >  suc

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Bob Hall
From:Brooke Hedrick Sent: Sunday, March 4, 2012 1:57 PM >> >> Have you tried defining views in the primary database based on the @otherdb >> queries? >> >> > Bob, > How will that help with the borrow query and not wanting to run extra queries > to the remote db when not necessary? It should e

Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-04 Thread Bob Hall
From: Brooke Hedrick To: Tomcat Users List Sent: Sunday, March 4, 2012 12:21 PM > On Mar 4, 2012, at 1:35 PM, Chema wrote: >  >>> We use Spring w/ Hibernate as I recall.  Yes, we have talked about that - a >>> ping query.  What we don't like about that is n

Re: Errors with NIO processor

2011-11-15 Thread Bob Hall
Matt, Did the testing include load testing?  Have you checked the "open file limit" values? If not, you may be running into an "open file limit" for the OS and/or user that is running Tomcat. - Bob From: Matthew Tyson To: Tomcat Users List Sent: Tuesday, No

Re: JSP Exception object arriving null at error handler

2011-09-11 Thread Bob Hall
From: Nadav Katz To: Tomcat Users List Sent: Sunday, September 11, 2011 2:11 AM Subject: JSP Exception object arriving null at error handler Hi, I seem to be having a problem with the exception object attribute arriving null at the error handeling jsp. Si

Re: Save session information in Memory database

2011-09-09 Thread Bob Hall
From: Ashish Kulkarni To: Tomcat Users List Sent: Friday, September 9, 2011 11:38 AM Subject: Re: Save session information in Memory database Hi I have inherited this application, and it was developed this way, i dont have time and resources to analyze this appl

Re: recovering connections on jdbc connection pool

2011-05-08 Thread Bob Hall
> try { > while (it.hasNext()) { > c1 = getConnection(); You should move getConnection() outside of the while() block. - Bob - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: Tomcat for Mac

2011-04-22 Thread Bob Hall
--- On Fri, 4/22/11 at 1:34 AM, Brajesh Patel wrote: > Hello All, > I have Mac book and want to run tomcat on it so please > provide steps or > documentation it will great help. > > -- > Thanks > Brajesh Patel > http://lmgtfy.com/?q=tomcat+install+mac - Bob -

Re: [OT] servlet-specific error pages

2011-04-14 Thread Bob Hall
Chris, --- On Wed, 4/13/11 at 1:11 PM, Christopher Schultz wrote: > Basically, I want two defaults. > > If the servlet spec allowed for to > include a > filter, that's what I would use. But it doesn't :( > Would an Exception marker interface help to differentiate Servlet and other Excepti

Re: JSP class size increase in Tomcat 7

2011-03-10 Thread Bob Hall
--- On Thu, 3/10/11 at 8:43 PM, Jess Holle wrote: > >> Yes, both Java 6 Update 24. > > Just to verify, are both instances Tomcat running in > the same JVM mode (-client or -server)?  (That > shouldn't affect the .class file size, but just > checking...) > Yes. > Have you compared the size of .

Re: JSP class size increase in Tomcat 7

2011-03-10 Thread Bob Hall
Jess, --- On Thu, 3/10/11 at 7:10 PM, Jess Holle wrote: > P.S. This was with Tomcat 7.0.10. > > On 3/10/2011 9:10 PM, Jess Holle wrote: > > I've been looking at moving to Tomcat 7 from Tomcat > 6. > > > > Most things look good. > > > > I have been surprised by one thing, however: Tomcat 7 > p

Re: Servlet mapping doesn't work after upgrading from Tomcat 5 to 6

2011-03-09 Thread Bob Hall
Dharamshila, --- On Tue, 3/8/11 at 7:35 PM, Dharamshila Khandelwal wrote: Thanks for your response Christopher! I have structs.jar in WEB-INF/lib. I even tried putting it in CATALINA_HOME/lib, but it didn't work. I have attached the log files as you had requested. As Chris already mentioned,

RE: localhost

2011-03-06 Thread Bob Hall
Ken, --- On Sun, 3/6/11 at 6:49 PM, ken dias wrote: > I am running Tomcat 6.0.024 server. This server is always > on. Java  6 is used. > Checked task manager and could not find pid 1908. Did find > the vertical line on my keyboard. > > Ken http://localhost:8080 - Bob

Re: connection Pooling in tomcat 6

2010-11-03 Thread Bob Hall
--- On Wed, 11/3/10 at 10:30 PM, mike houston wrote: > Can you please explain to me in > detail. > > Thanks, > M http://lmgtfy.com/?q=tomcat+6+dbcp&l=1 - Bob - To unsubscribe, e-mail: users-unsubscr...@tomcat.apach

RE: Tomcat ldap authentication with 403 Forbidden error

2010-09-27 Thread Bob Hall
Oops, just saw the [solved] msg... --- On Mon, 9/27/10 at 7:55 PM, Bob Hall wrote: > --- On Mon, 9/27/10 at 11:24 AM, Caldarale, Charles R > > wrote: > > > > The security-role is right below the > > security-constraint > > > closing tag and

RE: Tomcat ldap authentication with 403 Forbidden error

2010-09-27 Thread Bob Hall
Julio, --- On Mon, 9/27/10 at 11:24 AM, Caldarale, Charles R wrote: > > The security-role is right below the > security-constraint > > closing tag and above the login-config opening tag. > > Sorry, I missed it.  However, the > element normally comes /after/ > ; not sure if that's required by

Re: [OT] Mike Wilde is out of the office

2010-08-04 Thread Bob Hall
--- On Wed, 8/4/10 at 9:48 AM, Christopher Schultz wrote: > Mike, > > You sure seem to be out of the office a lot. > > Are they paying you well over there? > > Also, it seems you have returned (today is 2010-08-04, at > least in > Washington, DC): you should either disable your > out-of-off

Re: WebApp not recognised when having context.xml

2010-07-15 Thread Bob Hall
--- On Thu, 7/15/10 at 2:56 PM, bugger wrote: > Found the problem. must be written with > capital letter at the > beginning. > -- Which Chuck pointed out earlier; about 50 minutes before you "found" it. - Bob - To

Re: jsre_home is null

2010-07-14 Thread Bob Hall
--- On Wed, 7/14/10 at 10:08 AM, testwreq wreq wrote: > catalina logs are showing jre_home as > null. Any ideas how to set it? > Earlier, in a separate thread, you indicated that java 1.6 was installed. At the command prompt type: $ which java which should display something like: /usr/loc

Re: weird bug?

2010-07-13 Thread Bob Hall
--- On Tue, 7/13/10 at 2:50 PM, michel wrote: > You could have just answered my > question, instead of making such a snarky reply. > Perhaps this will help: http://en.wikipedia.org/wiki/User:DonDiego/Thread_hijacking - Bob --

Re: Error on startup catalina

2010-06-02 Thread Bob Hall
Sondro, --- On Wed, 6/2/10 at 2:57 PM, Sandro Gallo wrote: > TOMCAT version: 6.0.26. > > java -version > java version "1.6.0_17" > Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248) > Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, > mixed mode) > The version of Java is already on

Re: stuck confused an need help please

2010-05-25 Thread Bob Hall
--- On Tue, 5/25/10 at 12:20 AM, Yucca Nel wrote: > I know what the exception is saying but I can only swear > that I am providing correct credentials. > Did you notice: > There is leading white space in the user name: ' yucca123_tom'. - Bob ---

Re: stuck confused an need help please

2010-05-25 Thread Bob Hall
--- On Mon, 5/24/10 at 11:52 PM, Yucca Nel wrote: > Could someone please help me understand what thia stack > trace is saying? > > catalina.log > File Type: ASCII English text, with very long lines > > INFO main org.apache.catalina.startup.Catalina - > Initialization processed in 875 ms > INF

Re: Help need for implementing Custom Login Module

2010-05-05 Thread Bob Hall
Srinivas, --- On Wed, 5/5/10 at 5:05 PM, Srinivasa Rao.Kandula wrote: > Well, I know how to implement > form-based authentication. Here the requirement is to access > ServletRequest/HttpSession from the login module. Thanks for > you inputs though. > You could implement a Filter that extract

Re: FW: General / Special cause under which TOMCAT Crash been noticed

2010-04-29 Thread Bob Hall
Karthik, --- On Thu, 4/29/10 at 11:02 PM, Karthik Nanjangude wrote: > > This is in referral to one of the form topics raised some > day's ago > > For JVM  to restart Tomcat in 1 case  when > OnOutOfMemoryError > > was raised > > URL http://marc.info/?l=tomcat-user&m=127119151302985&w=2 > >

Re: getting servlet context in JSF?

2010-04-28 Thread Bob Hall
Yucca, --- On Wed, 4/28/10 at 11:34 PM, Yucca Nel wrote: > Hello, is it possible to gain access > to servletcontext  from JSP using faces or servlet EL? Yes. Using your subject line in a google search, third result: http://www.mail-archive.com/u...@shale.apache.org/msg01707.html - Bob

Re: EE application server

2010-04-26 Thread Bob Hall
Navid, --- On Tue, 4/27/10 at 12:38 AM, Navid Esfahani wrote: I want to know is this possible to use apache tomcat application server for Enterprise Application(EAR)?   No. Is there two version for web-server and EE applications server? No. how can I download EE application server? http

Re: SV: set time out based on userInRole

2010-04-19 Thread Bob Hall
Soren, --- On Mon, 4/19/10 at 5:01 AM, Søren Blidorf wrote: > Fx if you are admin no connectionTimeout and if you are > user > connectionTimeout 20 min > session.setMaxInactiveInterval() - Bob - To unsubscribe, e-mail: use

Re: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-13 Thread Bob Hall
Godmar, --- On Tue, 4/13/10 at 9:22 PM, Godmar Back wrote: > > What API function can be used to notify my application that > it is about to > be shut down, so that the thread in question can exit? > > First, is there a standard API that would work also in > other J2EE containers > besides Tomc

Re: The question of automatic restart Tomcat

2010-04-13 Thread Bob Hall
Gregor, --- On Tue, 4/13/10 at 1:19 PM, Gregor Schneider wrote: > > > > -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver > > > I'm not aware of that option within my standard sun jdk > 1.6.x - what > Java-version are you running offering this really useful > feature? > I wasn't aware of it ei

Re: Session Timeout - Filter Not Called

2010-04-12 Thread Bob Hall
Paul, --- On Mon, 4/12/10 at 7:21 AM, Paul Carroll wrote: > That works in that my filter is > called when the session times out and the user is redirected > to the login page.  However, the Referer header makes > no indication that the user is logging in. What does the referrer header contain?

Re: Session Timeout - Filter Not Called

2010-04-11 Thread Bob Hall
Paul, --- On Sun, 4/11/10, Paul Carroll wrote: > I am using Tomcat 6.0 on Windows > Server 2003.  It seems that when my session expires I > am redirected to the login page which I would expect.  > However, my filter is not called when I am redirected to the > login page.  When I used Jetty as my

Re: Tomcat scalability setting - need help please

2010-04-09 Thread Bob Hall
Rendra, --- On Thu, 4/8/10 at 5:28 PM, cinl...@gmail.com wrote: > > Do you have better way as how to transport this result to > jsp? Please enlighten me. > If you *really* need to serve _millions_ of rows of data to a user you will need to implement some form of "paging" - the query results

Re: Why cant I access a folder at root level which contains Java Script

2010-04-03 Thread Bob Hall
--- On Sat, 4/3/10 at 5:07 PM, Hassan Schroeder wrote: > To: "Tomcat Users List" > Date: Saturday, April 3, 2010, 5:07 PM > On Sat, Apr 3, 2010 at 1:57 PM, > nzindian > wrote: > > > Im trying to use a javascript WYSIWYG editor in a JSP > page. > > > The JSP contains the following code to i

RE: RemoteHostValve for infinite domains?

2010-04-01 Thread Bob Hall
--- On Thu, 4/1/10 at 5:52 AM, Caldarale, Charles R wrote: > > Please explain how that parses, since the allow string uses > regular expression syntax, not wildcards (hence the need for > the \. to match a period). > I can't, since it doesn't. - Bob

Re: RemoteHostValve for infinite domains?

2010-03-31 Thread Bob Hall
Dean, --- On Wed, 3/31/10 at 10:53 PM, Dean Hiller wrote: >             >    allow=".*\.dev\.premonitionx\.com"/> > I haven't used this TC feature but it wouldn't hurt to try: allow="*\.dev\.premonitionx\.com" /> - Bob

Re: Submitting a patch

2010-03-31 Thread Bob Hall
--- On Tue, 3/30/10 at 11:54 PM, ntwrkd wrote: > I appreciate the ltmgtfy, but the > search results actually didn't > address my question. The 1st Google hit, http://tomcat.apache.org/bugreport.html seems to cover it: " Bug Fix Patch - A patch created using diff -u or svn diff which fixes the

Re: Submitting a patch

2010-03-30 Thread Bob Hall
--- On Tue, 3/30/10 at 9:56 PM, ntwrkd wrote: > Is the a HOWTO located somewhere on > the best way to submit a patch? > http://www.lmgtfy.com/?q=tomcat+patch+submit - Bob - To unsubscribe, e-mail: users-unsubscr...@t

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Bob Hall
--- On Thu, 3/18/10 at 3:07 PM, Propes, Barry L wrote: > Yes, it should be. > > Not sure how that got jumbled as such but what I did have > was: > > Connection connection = null; > Context initCtx = new InitialContext(); > Context envCtx = (Context) > initCtx.lookup("java:comp/env"); > DataSour

Re: DB connection error -Tomcat 6 config

2010-03-18 Thread Bob Hall
--- On Thu, 3/18/10 at 3:02 PM, Pid wrote: > >   Context envCtx = initCtx.lookup("java:comp/env"); >   DataSource ds = initCtx.lookup("jdbc/myoracle"); > > should be: > >   Context envCtx = initCtx.lookup("java:comp/env"); >   DataSource ds = envCtx.lookup("jdbc/myoracle"); > > no? > I w

RE: DB connection error -Tomcat 6 config

2010-03-18 Thread Bob Hall
--- On Thu, 3/18/10 at 1:56 PM, Caldarale, Charles R wrote: > If you can, move up to 6.0.26 so we can all be looking at > the same release. >From one of the OP's earlier messages: > An error occurred at line: 68 in the jsp file: /chngctrl/chgctrl_details.jsp > Type mismatch: cannot convert fro

RE: DB connection error -Tomcat 6 config

2010-03-02 Thread Bob Hall
--- On Tue, 3/2/10 at 3:39 PM, Propes, Barry L wrote: > Then that should work...are you using > DBCP with it? > > > I wonder now...should I perhaps be using this jar?   > ojdbc6.jar  ? > > > > Has anyone upgraded their Oracle drivers that's using > TC 6 and JDK 1.6? > > > > If anyone has used th

Re: Tomcat context startup failed

2010-02-17 Thread Bob Hall
Andre, --- On Wed, 2/17/10 at 1:06 AM, André Warnier wrote: > > The obvious error displayed from log is " > java.lang.NoClassDefFoundError: > org/apache/xerces/util/EncodingMap". First check whether the > xerces jar containing mentioned class is in place. Try > downloading new jar and again rest

Re: Tomcat 5.5 org.apache.naming.ResourceRef cannot be cast to javax.sql.DataSource

2010-01-25 Thread Bob Hall
Steve, --- On Mon, 1/25/10 at 10:50 PM, Steve Ryder wrote: > I understand what you mean by don't > use, but "I" am not using it. > What do I need to change so that it is not used? > How might I track down the offending library? What do you get when you type the following commands: $ java -ver

Re: Polling and session timeout

2010-01-21 Thread Bob Hall
--- On Thu, 1/21/10 at 7:26 AM, Christopher Schultz wrote: > > If you access the session at all, it counts as a "touch", > thereby > extending the life of the session. It's not possible to > "peek" at the > session without "touching" it AFAICT. The Session timeout can be set when the response

RE: Comet and thread binding

2010-01-07 Thread Bob Hall
--- On Thu, 1/7/10 at 12:02 AM, tbee wrote: > > Yes. But the problem with comet is that it may switch > threads "mid request"; > a request can be suspended, the thread freed up, and after > a while the > request is resumed, but by probably a different thread. So > I cannot bind the > request t

RE: Comet and thread binding

2010-01-06 Thread Bob Hall
--- On Wed, 1/6/10 at 10:18 PM, tbee wrote: > > The issue is not the storage, but access to the storage. > How would I, at any > place in the execution, access it, without passing the > context to each > method. Have you considered using ThreadLocal? - Bob -

Re: Load balancing questions

2010-01-06 Thread Bob Hall
--- On Wed, 1/6/10 at 7:54 AM, assan alhamoud wrote: > any suggestion ? > Upgrade to a more recent version of JBoss/Tomcat, like JBoss 5.1.0. - Bob - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For add

Re: Load balancing questions

2010-01-04 Thread Bob Hall
--- On Mon, 1/4/10 at 1:34 AM, Mark Thomas wrote: > On 03/01/2010 11:09, assan alhamoud > wrote: > > Happy new year to all , > > > > I am using tomcat and JBoss. > > You'll need to explain that further. Why would you use > Tomcat and JBoss > for the same app. I would expect one or the other.

Re: Connection Pool Exhausted

2009-08-17 Thread Bob Hall
--- On Mon, 8/17/09 at 11:38 AM, Kristen Walker wrote: > We had some help debugging the connection pool exhausted issue over the > weekend and for now it seems that changing jdbcUsePool=true to > jdbcUsePool=false stops the site from crashing due to connection pool > issues.  We are going to inve

Re: All threads (200) are currently busy

2008-11-02 Thread Bob Hall
--- On Sun, 11/2/08 at 1:23 AM, Juha Laiho <[EMAIL PROTECTED]> wrote: > > What kind of situation did you have when you took the > thread dump in > the original request? Could you take a thread dump at a > such point in > time where you are actually waiting for a request to > complete? That > way,

Re: file upload servlet

2008-02-27 Thread Bob Hall
--- 10:07PM Wed 27 Feb 2008 Kimberly Begley <[EMAIL PROTECTED]> wrote: > Hi - I'm trying to compile come java code to upload > a file but am getting > errors - it looks like it can't find the > javax.servlet stuff to import and > from what I've read online everyone talks about > having the direct

Re: Session expiration and AJAX issues

2008-02-25 Thread Bob Hall
--- 2:09PM Mon 25 Feb 2008 Adam Gordon <[EMAIL PROTECTED]> wrote: > Adding a time decay in our timer task is an > interesting idea and were it > not for IE's JavaScript counting ineptness, that'd > probably work. > The server could track the requests and provide an updated delay time for the t

Re: Session expiration and AJAX issues

2008-02-25 Thread Bob Hall
--- 10:10AM Mon 25 Feb 2008, Adam Gordon <[EMAIL PROTECTED]> wrote: > Storing the date/time a user logs in on > the session is > probably useful, but our problem is that we want to > forcefully log the > user out if there's no human present at the computer > and the AJAX tasks > keep a user's

RE: TOMCAT 5.0.28 stability

2007-03-27 Thread Bob Hall
--- Dwight Farris <[EMAIL PROTECTED]> wrote: > Thanks for your response; I will look into the SQL > code > > Dwight > > -Original Message- > From: gb1071nx > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 27, 2007 9:47 AM > To: Tomcat Users List > Subject: RE: TOMCAT 5.0.28 stability

RE: FW: TOMCAT 5.0.28 stability

2007-03-27 Thread Bob Hall
--- Dwight Farris <[EMAIL PROTECTED]> wrote: > Thanks for responding; I see the following lines > recurring often in the > Catalina_out file: > > 372yes > In the for loop on myUsers2 variables in for loop: > 374yes In ctx == null > BEFORE THE QUERY IN Cohorts getName > > JVM version - 1.4.2_04

Re: FW: TOMCAT 5.0.28 stability

2007-03-26 Thread Bob Hall
--- Dwight Farris <[EMAIL PROTECTED]> wrote: > Quick question about memory allocation - could the > issue described below be > a product of the settings in the following startup > allocation: > > > > CATALINA_OPTS="$CATALINA_OPTS -Xms256m > -Xmx1024m" > A couple of questions:

Re: connection pool

2007-03-22 Thread Bob Hall
--- "Gioia, Michael" <[EMAIL PROTECTED]> wrote: > Almost every weekend the database gets bumped and > the java app that were > running needs to have tomcat restarted to reconnect > to the database thru > the connection pool. When we come in on Monday > tomcat and the database > are up and runnin

Re: can a web app discover its Service?

2007-03-21 Thread Bob Hall
--- Paul Singleton <[EMAIL PROTECTED]> wrote: > >> I want to deploy the same war into different > (5.5) > >> Services (e.g. "test" and "live"), and want it > to > >> discover where it is and behave differently. > > I didn't explain *why* we want to do this, because I > don't want to spend tim

Re: Please Help: Tomcat 5.5.17 SSL Help

2007-02-22 Thread Bob Hall
--- Blake Smith <[EMAIL PROTECTED]> wrote: > I have uncommented the > section within server.xml > and pointed it to the location of the keystore, and > it's password. I even > changed the port from 8443 to 443 and the > corresponding forwarding value for > 8080. Is Tomcat listening on port 443?

Re: how to make a scheduled event on tomcat

2007-02-01 Thread Bob Hall
--- Gaurav Kushwaha <[EMAIL PROTECTED]> wrote: > I would like to have a method that will run > every-so-often. Lets say once in > 2 weeks. How do I do that in Tomcat ? > > Thanks, > Gaurav Singh Kushwaha Gaurav, Take a look at quartz: "Quartz is an open source, job scheduler for integration w

Re: Daylight Savings 2007

2007-01-18 Thread Bob Hall
--- John Flores <[EMAIL PROTECTED]> wrote: > Do you know where I can find some documentation on > this subject? > > John, On the JRE side, see: -Bob

Re: [OT] a Collection of beans to store sql data

2007-01-10 Thread Bob Hall
Mike, You missed the essence of Chris's suggestion: "3. Throw an exception in your catch(SQLException) block." In other words, your catch block would "swallow" the SQLException should one occur. As written, the code cannot be compiled because there is no explicit return statement in the catch{}

Re: urgent : unsubscribe please

2007-01-09 Thread Bob Hall
Christian, To unsubscribe, e-mail: [EMAIL PROTECTED] which is included (near the end) in every message from the list. -Bob - Original Message From: Christian Mennequin <[EMAIL PROTECTED]> To: Tomcat Users List ; [EMAIL PROTECTED] Cc: Tomcat Users List ; [EMAIL PROTECTED] Sent: Tuesday,

Re: Is Tomcat still the reference implementation for Servlets and JSP?

2007-01-09 Thread Bob Hall
With regard to Servlet spec 2.5 see: -Bob --- Tim Funk <[EMAIL PROTECTED]> wrote: > Tomcat isn't used in the RI for 2.5. > > Glassfish is a fork of tomcat. So you'll notice many > things the same. > > -Tim > > Jon Miller wrote: > > Hi all,

Re: What a wonderfull world ..

2006-12-31 Thread Bob Hall
And thanks to George Weiss & Bob Thiele for writing it and and to Louis 'Satchmo' Armstrong for performing it. -Bob - Original Message From: Almir Kazazic <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Saturday, December 30, 2006 11:16:04 AM Subjec

Re: New session PER REQUEST

2006-09-24 Thread Bob Hall
> authorization. Note that going from http to https, the same session is > persisted, going the other way, one cannot rely on this - an artifact of > the security specification in J2EE). > > Maurice Yarrow Maurice, thanks for the concientous effort

RE: New session PER REQUEST

2006-09-22 Thread Bob Hall
--- Darren Hall <[EMAIL PROTECTED]> wrote: > Peter, > You are correct. When hitting Tomcat directly, the > session remains intact. > When using mod_proxy to forward requests to Apache > the session is lost. > Is this a common issue? How can I go about > correcting this? > > Thanks > - D I don't

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Bob Hall
--- Darren Hall <[EMAIL PROTECTED]> wrote: > Further progress... > When I connect to the database directly (not using a > connection pool) and > specify the same username and password below, the > code executes fine. When I > try to do the context lookup and connect to the > database via the conne

Re: How to disable search machines?

2006-09-11 Thread Bob Hall
--- Zsolt <[EMAIL PROTECTED]> wrote: > Hi, > > I see that google and msn searches on our pages > (tomcat-5.5.17). How can I > disable that? > > Zsolt > Zsolt, See "go away" example on - Bob __ Do Y

Re: Does using Kerberos with Tomcat reduce my security?

2006-08-25 Thread Bob Hall
--- "P. Douglas Reeder" <[EMAIL PROTECTED]> wrote: > After some effort, I've managed to set up a > JAASRealm that draws its > account information from our Kerberos server > (Krb5LoginModule, > connecting to Open Directory on OS X Server 10.3.9). > > One of the key security properties of Kerberos

Re: [OT] how to over come toomanyconnection error when communicatingMYSQL

2006-08-11 Thread Bob Hall
--- prakash shanmugam <[EMAIL PROTECTED]> wrote: > hai all, > i have one major issue in my project.. > My project is developed using jsp,servlets in > Tomcat5 with MySql as > database.. i am using type1 driver > My project is now used by end users in intranet.. > When multiple users are accessing

Re: [OT] decompile java class

2006-07-26 Thread Bob Hall
"Tomcat" wrote: --- Tomcat <[EMAIL PROTECTED]> wrote: > Thanks Mohsen for your reply, but I can not download > and use jad or > other decompilers, please let me know if you know > how to decompile > the java class that contains another class. > > Thanks $ javap -help $ javap -classpath And a p

Re: Tomcat Crashing -- how do I read the resulting hs_err_pid11598.log?

2006-07-21 Thread Bob Hall
--- Kim Albee <[EMAIL PROTECTED]> wrote: > That's all interesting, but we're not running Fedora > Core 4 -- we are > running Fedora Core 3. Secondly, I've got this > identical environment > running in production without incident. This > environment on this server > "used" to run without incident

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-21 Thread Bob Hall
--- Arunan Kannan <[EMAIL PROTECTED]> wrote: > I have found the solution to this problem. > The problem is when we start a tomcat in solaris > from a user shell (like > telnet) , then when the shell quits, the tomcat > might get stopped. > The bourne shell gives the shutdown signal when the > shel

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Bob Hall
Cameron, > For some reason tomcat can't connect to the database > and create a > connection pool, even though a normal client can > connect just fine. I > even wrote a small java program to connect using > JDBC, in case that > was the problem. I used the same parameters given to > tomcat and again

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-19 Thread Bob Hall
Cameron, You wrote: > I have a newly installed and configured Ubuntu > server running > Tomcat5.5 and Mysql 5.0. This server was created in > an attempt to > migrate from a Red Hat server in a similar > configuration, running the > exact same webapp. Most of the > configuration/classpath differen

Re: log4j in webapp hanging Tomcat?

2006-07-01 Thread Bob Hall
--- Bob Hall <[EMAIL PROTECTED]> wrote: > --- Avi Deitcher <[EMAIL PROTECTED]> wrote: > > > The simple classes (a JSF backing bean and a > filter) > > are set to use > > either commons-logging or log4j directly (I tried > > both). In either case, >

Re: log4j in webapp hanging Tomcat?

2006-07-01 Thread Bob Hall
--- Avi Deitcher <[EMAIL PROTECTED]> wrote: > The simple classes (a JSF backing bean and a filter) > are set to use > either commons-logging or log4j directly (I tried > both). In either case, > the moment that I uncomment any category line and > one of my classes (the > filter or the bean) calls

Re: Programmatic Security

2006-07-01 Thread Bob Hall
--- John Caron <[EMAIL PROTECTED]> wrote: > I guess im fishing around for anyone who has thought > about or > implemented "programmatic security" instead of / in > addition to > "container managed security". > > Thanks for your time. > John, You might want to consider Turbine instead of "ro

Re: job offering for a web application developer in switzerland

2006-06-23 Thread Bob Hall
--- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > and what exactly is ment by "leistungsbezogene > Entlöhnung" ? > > leon > According to Babblefish: achievement-referred remuneration -Bob __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the bes

Re: Running Multiple Jboss Instance on a single Windows Box

2006-06-12 Thread Bob Hall
--- "Sanjeev Kumar Bhat, Noida" <[EMAIL PROTECTED]> wrote: > Is it possible to run multiple instances of Jboss > Server on a single win2k box? > > Thanks > > Sanjeev > Yes. You should use server/service-bindings.xml to orchestrate port # assignment. -Bob

Re: Urgent...

2006-06-05 Thread Bob Hall
--- Christian Jean <[EMAIL PROTECTED]> wrote: > I've been successfully using various version of > Tomcat for serveral years > with the same certificate... all worked well. > > I wanted to test the stability of Tomcat 5.5.17, so > I installed in on the > same server but renamed all the 8XXX ports

Re: Retrieve certain session data inside a servlet

2006-06-02 Thread Bob Hall
Carlos, The javadoc indicates that the methods are deprecated, but it looks like you could use: HttpSession mySess = request.getSession(); // getSessionContext() is deprecated HttpSessionContext sessCtx = mySess.getSessionContext(); // getSession(String) is deprecated HttpSession otherSess = se

Re: Retrieve certain session data inside a servlet

2006-06-02 Thread Bob Hall
--- Carlos Alonso Vega <[EMAIL PROTECTED]> wrote: > > I am trying to obtain data about a session inside a > servlet, the code > seems to be simple as > > localSession = > Ctx.getManager().findSession(sessionId); > > My problem is that I do not know how to obtain the > Ctx object from a > requ

Re: Changing tomcat's group

2006-04-28 Thread Bob Hall
--- Aria Bamdad <[EMAIL PROTECTED]> wrote: > > Solved!!! > > The solution is to use the linux group sticky bit to > force any files > created in a directory (and subdirectories) to have > the same group > as the parent. For example let's say there are two > applications, > one for accounting

Re: Changing tomcat's group [OT]

2006-04-28 Thread Bob Hall
--- Aria Bamdad <[EMAIL PROTECTED]> wrote: > On Thu, 27 Apr 2006 20:09:44 -0700 (PDT) Bob Hall > said: > > > >How about making each application owner a member > >of the 'tomcat' group. > > Bob, making each app owner a member of the tomcat > group

Re: Changing tomcat's group [OT]

2006-04-27 Thread Bob Hall
--- Eric Haszlakiewicz <[EMAIL PROTECTED]> wrote: > On Thu, Apr 27, 2006 at 04:55:40PM -0400, Aria > Bamdad wrote: > > I have several applications running in different > directories. Each > > application is owned by a different linux > owner/group. In order for > > Tomcat to be able to read th

Re: index.jsp not showing after successful installation

2006-04-10 Thread Bob Hall
--- balaraju mandala <[EMAIL PROTECTED]> wrote: > Bob, > > The ending messages in catalina.out are --> > > Apr 10, 2006 1:48:20 AM > org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Apr 10, 2006 1:48:20 AM > org.apache.jk.common.ChannelSocket init >

Re: index.jsp not showing after successful installation

2006-04-10 Thread Bob Hall
--- balaraju mandala <[EMAIL PROTECTED]> wrote: > Hi Bob, > > Thanks for your response. > > catalina.out file is not ending with any error > messages. It is showing that, > Tomcat started successfully with some millesecond > time. I am using 8080 port > for Tomcat. I am entering http://myip:8080

Re: index.jsp not showing after successful installation

2006-04-08 Thread Bob Hall
--- balaraju mandala <[EMAIL PROTECTED]> wrote: > Hi Nic, > > Its me again, You suggested to check weather Tomcat > was started as service, > i am starting Tomcat by issuing a command at SSH > (tomcat/bin/./startup.sh). > Is this is correct one to start Tomcat as service or > i have to do another

  1   2   >