Re: Manager Doesn't Recognize context = "/"

2014-01-30 Thread Jerry Malcolm
ing up. On Thu, Jan 30, 2014 at 1:10 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jerry, > > On 1/30/14, 2:06 PM, Jerry Malcolm wrote: >> Hi Christopher, >> >> I don't use a WAR. Everything is static (folder structu

Re: Manager Doesn't Recognize context = "/"

2014-01-30 Thread Jerry Malcolm
- > Hash: SHA256 > > Jerry, > > On 1/30/14, 1:31 PM, Jerry Malcolm wrote: >> I have a virtual server that has one app (other than manager), and >> this app resides at the root of the domain. I know that is not the >> best practices recommended... but it is what it is,

Manager Doesn't Recognize context = "/"

2014-01-30 Thread Jerry Malcolm
I have a virtual server that has one app (other than manager), and this app resides at the root of the domain. I know that is not the best practices recommended... but it is what it is, and it works, at least other than with the manager. The manager lists the "/" context and tells me how many acti

JSTL XML Basic Question

2013-04-20 Thread Jerry Malcolm
I have been searching for several hours for a basic JSTL answer with no luck. From what I can tell, JSTL is under the umbrella of Tomcat. Hopefully someone can help me out. I simply want to use an existing already-parsed DOM (org.w3c.dom.Document variable) with JSTL XML tags. In other words, I w

Re: Removing Ref to YourKit in TC

2012-06-10 Thread Jerry Malcolm
Thanks, Kostantin, for the pointer. The fix was trivial. Open Regedit, search for the dll name which appeared in a Tomcat reg entry, delete the line in the reg key. On Sun, Jun 10, 2012 at 1:17 PM, Jerry Malcolm <2ndgenfi...@gmail.com>wrote: > Andre, I'm not yelling. I'

Re: Removing Ref to YourKit in TC

2012-06-10 Thread Jerry Malcolm
ast resort, I could have figured out to do that myself. Yes, I installed it. And I need help fixing it. Apparently, this is a figure-it-out-yourself forum. On Sun, Jun 10, 2012 at 1:01 PM, André Warnier wrote: > Jerry Malcolm wrote: > >> StdOut: 2012-06-10 09:07:04 Commons

Re: Removing Ref to YourKit in TC

2012-06-10 Thread Jerry Malcolm
n, Jun 10, 2012 at 9:21 AM, Konstantin Kolinko wrote: > 2012/6/10 Jerry Malcolm <2ndgenfi...@gmail.com>: > > I am using TC 7. A few months ago I installed YourKit profiler trial > > version due to a memory leak. The trial expired a long time ago, and > last > &g

Removing Ref to YourKit in TC

2012-06-10 Thread Jerry Malcolm
I am using TC 7. A few months ago I installed YourKit profiler trial version due to a memory leak. The trial expired a long time ago, and last night I uninstalled YourKit from my system. Apparently it left references to itself in TC. Now TC will not start saying it can't find some YourKit DLL.

Re: request.login() not persistent

2012-04-05 Thread Jerry Malcolm
7;m assuming the session wasn't dropped. It's like the logged on state was not saved in the session object. Questions: 1) The wrote: > 2012/4/5 Jerry Malcolm <2ndgenfi...@gmail.com>: > > I am using TC 7.0 on a couple of servers. I have id/pw fields and a > > 'l

Re: request.login() not persistent

2012-04-05 Thread Jerry Malcolm
Ok, finally located the zip in my downloads folder. I'm currently running 7.0.23. But I'm still curious about how to find out the version if I hadn't been able to locate the zip. Is the version buried somewhere in the install folder? Jerry On Wed, Apr 4, 2012 at 11:44 PM

Re: request.login() not persistent

2012-04-04 Thread Jerry Malcolm
On Wed, Apr 4, 2012 at 7:49 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jerry, > > On 4/4/12 5:31 PM, Jerry Malcolm wrote: > > I am using TC 7.0 on a couple of servers. > > 7.0.what? > > There

request.login() not persistent

2012-04-04 Thread Jerry Malcolm
I am using TC 7.0 on a couple of servers. I have id/pw fields and a 'login' button at the top of all guest pages on my site. If the user clicks the login, it goes to a guest page that does the request.login() method call and then redirects to a protected page. If the login fails, the normal j_se

Servlet Timer error

2012-02-27 Thread Jerry Malcolm
I have several tasks that needs to run periodically as part of an overall web application solution... some every few minutes and some once a day. I know it's technically not a requirement that it run in a web container. But it needs all off the resources and database connections, etc just like the

Re: connection autoReconnect?

2012-01-28 Thread Jerry Malcolm
Not good news. I changed every resource statement in server.xml to something like this: Zero change. I'm still getting the exact same error message telling me the connection has expired and I should use autoReconnect to fix it. First question... is the syntax above correct? (I saw some

Re: connection autoReconnect?

2012-01-26 Thread Jerry Malcolm
h when nobody can really explain the problem. I'll go ahead and try the new parameters just because I've got to work around this someway. But I'm sure hoping somebody can tell me what's really changed to break this. Thx again Jerry On Thu, Jan 26, 2012 at 11:45 AM, Danie

Re: Different session id per page

2011-12-31 Thread Jerry Malcolm
e sessions, Each one is named "xyz", but it's actually 'webapp1-xyz' and webapp2-xyz', etc.? I guess if it works, it works, and I shouldn't care what goes on under the hood. But every time I make that assumption, something jumps up and bites my. Thx.

Re: Different session id per page

2011-12-31 Thread Jerry Malcolm
/cart, /locateaccount, /checkout all use the /order cookie. How would that work? On Sat, Dec 31, 2011 at 11:37 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] > > Subject: Re: Different session id per page > > &g

Re: Different session id per page

2011-12-31 Thread Jerry Malcolm
Andre, That's good news. I know less than 1% of what I need to know about mod_rewrite. So that is definitely a possibility. I'll do some digging into that. Thanks so much. Jerry On Sat, Dec 31, 2011 at 11:19 AM, André Warnier wrote: > Jerry Malcolm wrote: > >>

Re: Different session id per page

2011-12-31 Thread Jerry Malcolm
e browser couldn't keep them separate if they were all mapped to "/", right? Bottom line... is the mapping above with a single session possible? Thx Jerry On Sat, Dec 31, 2011 at 1:28 AM, Tim Watts wrote: > On Sat, 2011-12-31 at 00:33 -0600, Jerry Malcolm wrote: > > I

Different session id per page

2011-12-30 Thread Jerry Malcolm
I have a web app that's worked for years. I had to go in and do some renovations on it due to a few new requirements. Now for some reason, I'm getting a new/different session id for each page. It's easy to see that's what happening since I use the sessionid for a log file name. Where I used to

Re: Security Constraints With URL Rewrite filter

2011-12-26 Thread Jerry Malcolm
lier, I have some dynamic database-related mappings. I know little about mod_rewrite. Is there any way to do Apache mod_rewrite with a java application? Thanks. Jerry On Mon, Dec 26, 2011 at 3:16 PM, Terence M. Bandoian wrote: > On 1:59 PM, Pid * wrote: > >> On 25 Dec 2011, at 22:03

Re: Security Constraints With URL Rewrite filter

2011-12-25 Thread Jerry Malcolm
o the protected page anyway. Ideas? Jerry On Sun, Dec 25, 2011 at 6:58 PM, Konstantin Kolinko wrote: > 2011/12/26 Jerry Malcolm <2ndgenfi...@gmail.com>: > > Konstantin, > > > > Thanks for the info. I think I'm getting close. As a test, I have > created >

Re: Security Constraints With URL Rewrite filter

2011-12-25 Thread Jerry Malcolm
Konstantin, Thanks for the info. I think I'm getting close. As a test, I have created a valve that just forces a redirect. It compiled fine. I registered it under the 'host' tag next to the other valves in server.xml. When I send a request in, my print statements write to System.out just as e

Re: Security Constraints With URL Rewrite filter

2011-12-25 Thread Jerry Malcolm
her Tomcat users have had this requirement...(?) Thx. Jerry On Thu, Dec 22, 2011 at 4:15 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jerry, > > On 12/21/11 3:55 PM, Jerry Malcolm wrote: > &

Re: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Jerry Malcolm
n you paste your server.xml conf ? Only realm parts (all), without > sensible data > > Good luck > > > > 2011/12/21 Jerry Malcolm <2ndgenfi...@gmail.com>: > > About a month ago, I upgraded two different servers from TC 5 to TC 7. > The > > migration went cleanly, a

Security Constraints With URL Rewrite filter

2011-12-21 Thread Jerry Malcolm
I structure my webapps with different JSP folders for different user role access, and define the folder patterns in web.xml for each role access. This has worked for many years in my webapps. But in the interest of getting cleaner URLs, I've written a URLRewrite filter. The rewrite filter is corr

Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Jerry Malcolm
About a month ago, I upgraded two different servers from TC 5 to TC 7. The migration went cleanly, and everything has been working fine with the exception of one thing. About 50% of the time, when I log in to the realm for my web app (form-based login), the login will fail. When I try again wit

stderr

2011-12-12 Thread Jerry Malcolm
I have converted all of my logging to JULI stuff. To meet my specific requirements for outputs, etc, I ended up creating Loggers on the fly and assigning handler file names as opposed to using logging.properties file. Everything works like I expected except for one thing. It appears that all outp

Detecting Mobile Device

2011-12-12 Thread Jerry Malcolm
What is the best/recommended way to determine if the request is coming from a mobile device? I have an alternate layout that I want to use for pages going to a smart phone, etc. I know there is client/browser info in the request. But it's more browser-specific info. Is there one specific string

Name comp is not bound in this Context

2011-12-04 Thread Jerry Malcolm
I'm currently migrating from Tomcat 5.5 to 7.0. I have everything pretty much running now. But I have one webapp that has run fine for years on 5.5, but will not run on 7.0. I get the following error message: javax.naming.NameNotFoundException: Name comp is not bound in this Context. It occurs

Disabling Apps in host root

2011-12-04 Thread Jerry Malcolm
When I start tomcat, it tries to start an app for every folder in the host root directory. Some folders are really apps (with WEB-INF), and some are folders that are not apps at all. It starts up the apps in folders with WEB-INF, but also shows other folders as apps in the manager. I would like

Re: Logging - including host name in log file?

2011-12-02 Thread Jerry Malcolm
er Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jerry, > > On 12/2/11 12:46 PM, Jerry Malcolm wrote: > > Ok, I'm digging into this. Slowly but surely Just to > > confirm... > > > > So if I have, sa

Re: Logging - including host name in log file?

2011-12-02 Thread Jerry Malcolm
files per webapp per host, right? Thanks. Jerry On Thu, Dec 1, 2011 at 8:50 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jerry, > > On 12/1/11 9:21 PM, Jerry Malcolm wrote: > > I'm trying

Re: Form-based Login question

2011-12-01 Thread Jerry Malcolm
P SIGNED MESSAGE- > Hash: SHA1 > > Jerry, > > On 12/1/11 9:30 PM, Jerry Malcolm wrote: > > I have been using form-based auth for several years. I understand > > the challenge concept where TC puts up the pre-defined login page > > when the first page requiring a

Re: Logging - including host name in log file?

2011-12-01 Thread Jerry Malcolm
t; ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jerry, > > On 12/1/11 9:21 PM, Jerry Malcolm wrote: > > I'm trying to get my hands around the whole tomcat logging system. > > I've read the docs, wikis, samples,

Form-based Login question

2011-12-01 Thread Jerry Malcolm
I have been using form-based auth for several years. I understand the challenge concept where TC puts up the pre-defined login page when the first page requiring auth is requested. But I have a slightly different situation. I want all of my non-protected pages (guest-level) to include the id/pw

Logging - including host name in log file?

2011-12-01 Thread Jerry Malcolm
I'm trying to get my hands around the whole tomcat logging system. I've read the docs, wikis, samples, etc. But I still struggling a bit. I've been just using System.out.println for years, and it's getting totally out of control. So time to learn tomcat logging. Basically, I host quite a few d

<    1   2   3