Re: Tomcat getting insufficient POST data

2008-09-30 Thread Stephen Nelson-Smith
On Tue, Sep 30, 2008 at 8:12 PM, Stephen Nelson-Smith <[EMAIL PROTECTED]> wrote: > Testing: > > * Submitting straight to one of the new tomcat 6.0.16 machines, over > http, works without fail - the XML is parsed. Ok so now it transpires that actually direct http to Tomcat

Tomcat getting insufficient POST data

2008-09-30 Thread Stephen Nelson-Smith
I have an application that parses xml. I send it xml using another little app, which makes an http post. The averge size of a post is about 3000 characters. Here is the significant information: * I have a system which is being replaced, which consists of RHEL3, httpd 2.0, mod_jk and Tomcat 6.0.

Data Truncated when proxied from Apache

2008-09-30 Thread Stephen Nelson-Smith
Hi, I have an application which parses XML. It sits behind an Apache Httpd 2.2 server using mod_proxy_ajp. I am finding that if I POST more than about 1600 chars, the POST gets truncated, and I get an XML parse error. Httpd logs show: [Tue Sep 30 19:40:27 2008] [debug] mod_proxy_ajp.c(206): pr

Re: mod_ajp and Load-Balancing Issue

2008-09-22 Thread Stephen Nelson-Smith
On Mon, Sep 22, 2008 at 1:45 AM, Shaun Senecal <[EMAIL PROTECTED]> wrote: > Are you using the ClusterSingleSignOn Valve? I'm not, no. I have httpd 2.2 on the front-end, with a balancer pool thus: ProxyRequests Off ProxyVia Off ProxyPreserveHost On ProxyErrorOverride On ProxyTimeout 60 B

Re: mod_ajp and Load-Balancing Issue

2008-09-20 Thread Stephen Nelson-Smith
Good morning, > By "error", I just meant that I'd get redirected to the login page > instead of the expected page. Sorry to confuse. There are no error > pages, logs or messages. Just that I got switched to a different node. >> If you want to debug a little more: In Tomcat you can add a >> %S t

Re: Deploying a Java Web Application on / folder

2008-09-17 Thread Stephen Souness
You'll get better mileage as; ROOT.war - case sensitivity tends to matter for this sort of thing. -- Stephen Souness Martin Gainty wrote: deploy your application as root.war http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html M

Re: Preventing File Access

2008-09-10 Thread Stephen Caine
&w=2 Thank you for the reference. Stephen Caine CommonGround Softworks, Inc. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Preventing File Access

2008-09-09 Thread Stephen Caine
you, Stephen Caine CommonGround Softworks, Inc. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AJP Proxying

2008-08-13 Thread Stephen Nelson-Smith
On Tue, Aug 12, 2008 at 9:40 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> Stephen Nelson-Smith wrote: >> >> My server.xml was not originally written by me, and >> has been handed down and modified over the ages. It >> was originally from Tomcat 4.

Re: AJP Proxying

2008-08-13 Thread Stephen Nelson-Smith
Hi, > When you move Tomcat to another machine, no matches and you get a > 400 error. The problem was that I was hitting the loadbalancer with name lb1 or www.mysite.com. This was being proxied to machines called tomcat1, tomcat2 etc. Changing the alias to www.mysite.com seems to have fixed thi

Re: AJP Proxying

2008-08-12 Thread Stephen Nelson-Smith
content. 2) Move stock server.xml into place I get content. I have no idea what's going on there... any ideas / suggestions? S. On Tue, Aug 12, 2008 at 8:45 AM, Stephen Nelson-Smith <[EMAIL PROTECTED]> wrote: > I have a server running apache 2.2, configured to proxy to another &

AJP Proxying

2008-08-12 Thread Stephen Nelson-Smith
I have a server running apache 2.2, configured to proxy to another tomcat server, running 6.0.16. This works fine with the stock server.xml, and the webapps, but when I move my own server.xml into place, apache reports a 400, and I get no page. Some background: * The apache config works in produ

Re: Servlet.jar

2008-07-14 Thread Stephen Nelson-Smith
> It is lib/servlet-api.jar Thank you - perfect. S. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Servlet.jar

2008-07-14 Thread Stephen Nelson-Smith
Hi, I have an application which makes use of servlet.jar, as found in the tomcat 4 release. Under tomcat 6 this isn't anywhere to be found, so my app doesn't work unless I copy the tomcat 4 jar over. Is there a tomcat 6 equivalent? S. --

Re: Nginx Front End

2008-06-24 Thread Stephen Nelson-Smith
Hi, > If Nginx can do HTTP proxying, you can use that instead of ajp13 if you > wish. It certainly can - and very fast indeed. So would I then be reconfiguring Tomcat to use its own http server? At present apache serves http and passes the ajp stuff to tomcat. S. -

Nginx Front End

2008-06-23 Thread Stephen Nelson-Smith
Hello, I'm currently using Apache 2.2 and mod_proxy_ajp to load balance across 3 tomcat servers. I'm considering looking at nginx as Apache seems somewhat resource intensive. Has anyone on the list tried this? Does nginx support (or need to support) ajp13? S. -

Re: JAASRealm problem moving from 5.5.23 -> 5.5.26

2008-06-19 Thread Stephen More
>> > > Take out the path attribute; it's not allowed unless the element is > in server.xml (where it should never be, these days). It should be ignored, > but... Done. >> ... >> useContextClassLoader="false" /> > > Just for grins, what happens if you set useContextClassloader to

Re: JAASRealm problem moving from 5.5.23 -> 5.5.26

2008-06-18 Thread Stephen More
On Wed, Jun 18, 2008 at 2:10 PM, Caldarale, Charles R > Just to verify, your declaration is within the webapp's , > correct? > Could you post the element for the webapp? I'd like to see if > there's anything odd in it. My declaration is stored in META-INF/context.xml of the war.

Re: JAASRealm problem moving from 5.5.23 -> 5.5.26

2008-06-18 Thread Stephen More
>> This setup has worked out of the box on both 5.5.23 and 6.0.16 without >> any changes to my CLASSPATH environment variable. > > Do you have anything in CLASSPATH? You shouldn't. Nope. CLASSPATH is empty. >> If I need to run multiple versions of a realm am I now forced >> to run multiple insta

Re: JAASRealm problem moving from 5.5.23 -> 5.5.26

2008-06-18 Thread Stephen More
>> Just after that I am seeing a SEVERE message that it can not find my >> classes where I extend javax.security.Principal. These classes can be >> found in the deployed war file. > > Which is not where they're supposed to be. To quote from the doc: "Place > the compiled classes on > Tomcat's cl

JAASRealm problem moving from 5.5.23 -> 5.5.26

2008-06-18 Thread Stephen More
I have been using 5.5.23 with a JAASRealm for some time now. In trying to upgrade to 5.5.26 I am now seeing a new log entry in catalina.out Jun 18, 2008 8:40:09 AM org.apache.catalina.realm.JAASRealm parseClassNames Just after that I am seeing a SEVERE message that it can not find my classes whe

RE: installing Tomcat Container

2008-06-03 Thread Stephen Wick
Yeah, replace with whatever version you wish. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 5:03 PM To: Tomcat Users List Subject: RE: installing Tomcat Container > From: Stephen Wick [mailto:[EMAIL PROTECTED] > Subje

RE: installing Tomcat Container

2008-06-02 Thread Stephen Wick
I would suggest that you download apache-tomcat-5.5.26-bin.tar.gz, unzip it into your /usr/local folder as /usr/local/apache-tomcat-5.5.16, create a symbolic link in /usr/local from apache-tomcat-5.5.16 to 'tomcat' with 'ln -s apache-tomcat-5.5.16 tomcat', then 'cd /usr/local/tomcat', modify the co

Unable to Start Tomcat 6 with Catalina Base Set

2008-06-02 Thread Stephen Wick
s > conf/context.xml > conf/logging.properties > conf/web.xml > logs > shared > shared/classes > shared/lib > temp > work > > I am executing CATALINA_BASE/bin/startup.sh as root. When I execute > CATALINA_HOME/bi

Re: Shared Javascript, CSS, and Image Files

2008-05-15 Thread Stephen Souness
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen Souness wrote: | The symbolic link solution should be fine as long as you configure | Tomcat to follow symbolic links (see Steve O's response in this thread). | | Having a "shared webapp"

Re: Save POJO Application Server Definition

2008-05-14 Thread Stephen Souness
I'm with you David, I don't visit these groups to see spam thinly disguised as Tomcat-related messages. -- Stephen Souness David Fisher wrote: We know you think your stuff is so kewl, but would you please stop leading all your email with an evangelical tag line. That would be

Re: Shared Javascript, CSS, and Image Files

2008-05-14 Thread Stephen Souness
y cookies were involved. -- Stephen Souness Johnny Kewl wrote: - Original Message - From: "John Buchholz" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 14, 2008 1:21 AM Subject: Shared Javascript, CSS, and Image Files Hi, I am looking for the recommended sol

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
On Mon, May 12, 2008 at 4:56 PM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > > UPDATE currencies SET symbol = '£' WHERE ISO_CODE = 'GBP'; > > Ah! A good, soft solution! I hope there was

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
Hi... > Changing the encoding in the first. You want to change the second. I changed the second. > If they're writing XHTML rather than HTML, I'm not sure that entity exists - > they need to check. That may be why they're writing the value directly, > although £ would also do the job. UP

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
Hi... > What encoding are you using? The config files all used UTF-8. I've changed them to ISO8859-1 and restarted Tomcat, but I see the same behaviour. > You can go hunting for all the places in which the encoding could be > specified At the Tomcat level? > or you can tell the developers

Re: Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
Hello, On Mon, May 12, 2008 at 3:30 PM, Yuval Perlov <[EMAIL PROTECTED]> wrote: > Probably the encoding has changed Which encoding? I don't believe the source code has changed. How would I test and/or change this? Where? S.

Unable to display UK Pound Sign

2008-05-12 Thread Stephen Nelson-Smith
I've just upgraded from 4.1.37 to 6.0.16. My app works, but where my code usually displays a British Pound sign, I get an odd char - a ? in a diamond on Linux, an empty box on Windows. Here's the html that the app produces, shown in hexl-mode in emacs: 5860: 223e 4361 7368 2050 7269 6365 20a

Re: URL Import Question

2008-04-29 Thread Stephen Caine
Mark, On Apr 29, 2008, at 2:29 AM, Mark Thomas wrote: Stephen Caine wrote: We are using a c:import url tag. Under most circumstances this works just fine, but when it is iterated hundreds of times within the same page, it causes the java process to quickly exhaust threads. This is on a

URL Import Question

2008-04-28 Thread Stephen Caine
large. Thank you, Stephen Caine Soft Breeze Systems, LLC - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: URL Import Question

2008-04-28 Thread Stephen Caine
Mark, The correct procedure is to create a new message with a new subject. This will start a new thread. Actually, this is what I thought I did. My sincere apologies. Would it be better for me to start a new thread or should I just let this go? Stephen

URL Import Question

2008-04-28 Thread Stephen Caine
large. Thank you, Stephen Caine Soft Breeze Systems, LLC - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Fwd: Solution for hosting multiple secure, certified domains at one Tomcat instance

2008-04-09 Thread Stephen Francis
-- Forwarded message -- From: Stephen Francis <[EMAIL PROTECTED]> Date: 3 Apr 2008 19:53 Subject: Solution for hosting multiple secure, certified domains at one Tomcat instance To: [EMAIL PROTECTED] Is this worth posting in your FAQ? The solution works, but the technical la

Re: Threads

2008-04-03 Thread Stephen Caine
Yong, Add to here: export JAVA_OPTS="-d64 -Xms1024m -Xmx1024m -XX:+MaxFDLimit -server - Djava.awt.headless=false" Thank you. Stephen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-ma

Re: Threads

2008-04-03 Thread Stephen Caine
suggested. I posted a response and hopefully I will get some good advice. increasing the size of the heap (from 1 to 1 gigs). That's not much of an increase... True enough. I meant to say, 1 to 2 gigs (but I bet you knew that). St

Re: Threads

2008-04-03 Thread Stephen Caine
" cd "$CATALINA_HOME" cd bin ./startup.sh Where (and how) is the 64 bit flag set? Thank you for your assistance. Stephen Caine Soft Breeze Systems, LLC - To start a new topic, e-mail: users@tomcat.apache.org To unsubsc

Re: Threads

2008-04-03 Thread Stephen Caine
he size of the heap (from 1 to 1 gigs). Thanks, Stephen Caine Soft Breeze Systems, LLC - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Threads

2008-04-03 Thread Stephen Caine
threads? Any advice will be appreciated. Stephen Caine Soft Breeze Systems, LLC - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Making the most of 8G of RAM

2008-03-17 Thread Stephen Nelson-Smith
On Mon, Mar 17, 2008 at 11:21 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > How about running eg 3 x xen vms? The machine seems rarely pushed for > > CPU, and with 3 vms I could load balance across th

Re: Making the most of 8G of RAM

2008-03-17 Thread Stephen Nelson-Smith
On Mon, Mar 17, 2008 at 10:53 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > but so far I've not seen memory usage go over 1G. > > There is (or at least was) a bug in the Sun 1.4.2 JVM that didn't do the > arithmetic right when heap sizes were over 2GB due to treating some > unsigned

Making the most of 8G of RAM

2008-03-17 Thread Stephen Nelson-Smith
Hi, I have a new machine with 8G of RAM, running a 32 bit 2.6 kernel (CentOS 5). It is running an application inside 4.1.37 with Java 1.4.2. Given that we only have a 32 bit address space, is it fair to say that I can't use more than 2G of RAM for my Java virtual machine? I tried to prove this

Global Naming Resources

2008-03-17 Thread Stephen Nelson-Smith
Hello, What is this for: factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml It seems to provide the user database used by the web-based admin tools. I don't use there, and

Re: Many Java Processes

2008-03-17 Thread Stephen Nelson-Smith
On Thu, Mar 13, 2008 at 1:02 PM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Stephen, > > > Stephen Nelson-Smith wrote: > | I've noticed on one machine (4.1.31 / RHEL 3) as soon as I start Java > |

Re: 64 bit questions

2008-03-13 Thread Stephen Nelson-Smith
On Thu, Mar 13, 2008 at 10:13 AM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > > Operating system? > > > > RHEL 5. > > http://java.sun.com/javase/6/webnotes/install/system-configurations.html

Many Java Processes

2008-03-13 Thread Stephen Nelson-Smith
Hi, I've noticed on one machine (4.1.31 / RHEL 3) as soon as I start Java I see many Java processes: $ pgrep -l java 1783 java 1844 java 1848 java 1849 java 1880 java 1881 java 1882 java 1883 java 1885 java 1886 java 1887 java 1888 java 1889 java 1890 java 1891 java 1892 java 1893 java 1894 java

Re: 64 bit questions

2008-03-13 Thread Stephen Nelson-Smith
On Thu, Mar 13, 2008 at 9:29 AM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] > > > I have a machine with 2 x Intel(R) Xeon(R) CPU E5430 @ > > 2.66GHz and 8G of RAM. > > > > If I want to make best use o

64 bit questions

2008-03-13 Thread Stephen Nelson-Smith
Hi, I have a machine with 2 x Intel(R) Xeon(R) CPU E5430 @ 2.66GHz and 8G of RAM. If I want to make best use of this RAM, should I run this in 64 bit (48 bit hack) mode? If so are there any gotchas with JDKs, 64 bit Tomcat etc? Also we use some specific libraries - ojdbc14, bfopdf, ojdbc14 for

Re: ProxyPaths and mod_proxy_ajp

2008-03-09 Thread Stephen Nelson-Smith
On Wed, Mar 5, 2008 at 4:00 PM, Jim Jagielski <[EMAIL PROTECTED]> wrote: > Seems to me you are using Apache as a front-end to > TC. In which case you are telling Apache that whatever is > under /examples should be handled by TC, everything else > is local... Right so far? Yes in this case. In

Re: Support and development of versions

2008-02-28 Thread Stephen Nelson-Smith
On Thu, Feb 28, 2008 at 6:15 PM, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Stephen Nelson-Smith wrote: > > On Thu, Feb 28, 2008 at 2:37 PM, David kerber <[EMAIL PROTECTED]> wrote: > >> 4.1.37 is probably your best short-term solution, and work toward 6

Re: Support and development of versions

2008-02-28 Thread Stephen Nelson-Smith
On Thu, Feb 28, 2008 at 2:37 PM, David kerber <[EMAIL PROTECTED]> wrote: > 4.1.37 is probably your best short-term solution, and work toward 6.x in > the mid-to-long term. That was my gut feeling. Could you explain why that is? Is 5.5 a wasteland? I'll need to understand the rationale behind

Support and development of versions

2008-02-28 Thread Stephen Nelson-Smith
Hi, So, I'm running an app which the development house say *has* to run on 4.1.31. I'm not especially happy about this, and will try running it under 4.1.37, but the developers say they *might* be able to get it to run under 5.5. I seem to recall a conversation in which I was told that 5.5 isn't

Re: Strange Redirection

2008-02-28 Thread Stephen Nelson-Smith
On Thu, Feb 28, 2008 at 12:38 PM, Pid <[EMAIL PROTECTED]> wrote: > Stephen Nelson-Smith wrote: > > I have deployed an application under Tomcat, fronted by Apache. I am > > experiencing what looks like strange redirects when I try to use the > > application. > &g

Strange Redirection

2008-02-28 Thread Stephen Nelson-Smith
I have deployed an application under Tomcat, fronted by Apache. I am experiencing what looks like strange redirects when I try to use the application. The front page is a login screen, but if I try to login, Tomcat attempts to locate a resource called /Login.jsp, which doesn't exist. The page sh

ProxyPaths and mod_proxy_ajp

2008-02-27 Thread Stephen Nelson-Smith
Hi, I have an application which, due to restrictions by third party developers must run on Tomcat 4.1.31 with Java version 1.4.2_11. I am deploying this on a new RHEL 5 machine, with httpd-2.2.3-11.el5_1.3. From my reading, it appears that mod_proxy_ajp is the way to go, and I aim to loadbalance

Re: access Connector Address from within war file

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 12:26 PM, Caldarale, Charles R wrote: > > From within a war file, I need to access the Connector Address. > > Why don't you tell us what you're really trying to do, and what Tomcat > level you're trying to do it on. > > It's not at all clear what you mean by "Connector

access Connector Address from within war file

2008-02-27 Thread Stephen More
>From within a war file, I need to access the Connector Address. Currently I am doing this by: javax.management.MBeanServer mBeanServer = org.apache.commons.modeler.Registry.getRegistry( null, null ).getMBeanServer(); javax.management.ObjectName identifier = new javax.management.ObjectName( "Cata

Re: Tomcat 6.0 and JSF 1.2

2008-02-27 Thread Stephen More
On Fri, Feb 22, 2008 at 11:04 AM, wrote: > I would like to work with JSF 1.2 embedded in Tomcat 6.0 > Where can I find an "How-to" ? Give this a try: http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.html Once you get a handle on JSF, then I would suggest looking into facelets. http:

Re: How do I make a redirection?

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 2:24 AM, nkarytia wrote: > every time the user types in http://mysite.com/hello in the address bar of > his browser it gets redirected to another site like hello.newsite.com. Is > this possible? Is mysite.com running Tomcat, httpd, or something else ? This can be done

Re: Tomcat Server output console cannot view fully

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 6:40 AM, tlgkumar wrote: > using this i can create the project and got output nicely, > but my problem is i cannot view the server output cosole printouts, > in my project i am using lots of print statements, In general you should move away from print statements and

Re: Storing sessions to disk like Apache HTTP server

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 9:41 AM, Andrew R Feller wrote: > Is there any way to store sessions to disk like Apache HTTP server? Can I ask why do you want to ? -Steve More - To start a new topic, e-mail: users@tomcat.apache.org To

Re: NIO connector in Tomcat 6.0.14

2008-02-25 Thread Stephen More
On Thu, Oct 25, 2007 at 12:19 PM, Filip Hanik - Dev Lists wrote: > browser don't work the way you might it expect to, firefox for example, > will not display anything until the entire request is complete. so the > chat example is no good that way. > write a client application for your comet, to

Re: NIO Java or TC - What are u using it 4?

2008-02-23 Thread Stephen More
On Fri, Feb 22, 2008 at 10:58 PM, Bill Barker wrote: > Well, you need it for Comet Is there a way you can deploy Comet applications to tomcat 5.5 or do you have to upgrade to 6.0 ? -Steve More - To start a new topic, e-mail: us

mod_jk + HTTP Push problems

2008-02-22 Thread Stephen More
I have created a Servlet that uses multipart/x-mixed-replace to push out data. ( See: http://www.servlets.com/jservlet2/examples/ch06/#ex06_13 ) This works perfectly fine between tomcat 5.5 and Firefox. When tomcat is front-ended with httpd + mod_jk, the live push no longer works. Is this a know

Why doesn't SSL fire up (Tomcat 6.0.14), Java 1.5 (jsse)

2008-01-31 Thread Alpert, Stephen R (GE Healthcare)
I create the keystore per instructions. My server.xml was modified thusly: When I make a connection to https://localhost:8443/ my browser just sits and spins. I see the message sent from the browser but I don't get either a reply or an error. thanks, /steveA

error page for ViewExpiredException using JSF-RI 1.2

2008-01-22 Thread Stephen More
I am currently using JSF-RI 1.2_07, facelets 1.1.13 and tomcat 5.5.23 Within my web.xml the following works as expected: java.lang.Exception /redirect.jsp The following is NOT working: javax.faces.application.ViewExpiredException /redirect.jsp

Re: Trying to Map a web application to "/" in tomcat 5.5

2007-12-17 Thread Stephen Souness
webapps - restart Tomcat The war is exploded into a directory named root - lowercase, and is only accessible under the http://host/root URL. The joys of Windoze? -- Stephen Martin Gainty wrote: I was curious what happened if I followed stephen's advice environment: TC 5.5.17 und

Re: Trying to Map a web application to "/" in tomcat 5.5

2007-12-17 Thread Stephen Souness
root application. Having incorrect case in the filename root.war would result in the application under, using the OP's example, http://hostname:6293/root -- Stephen http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html Does this help? Martin-- - Original Message -

Re: Tomcat native lib on OS X

2007-11-08 Thread Stephen Caine
Lorenzo, We use Tomcat on OS X 10.5 and not only does it run great, the improvements in memory management (true 64 bit) are impressive. Stephen Caine Soft Breeze Systems, LLC Isn't there anyone who got the native stuff working on a Mac? I followed all the steps. I compiled the s

Re: application-managed security model and isUserInRole getRemoteUser

2007-10-23 Thread Stephen More
On 10/12/07, Christopher Schultz wrote: > Yes, this is how to do it. If you don't want to do it yourself, you can > use securityfilter (http://securityfilter.sourceforge.net), which has > already been written. Thanks, securityfilter is a great example. > > ?? - stick with container-based securit

Re: Certificates, CLIENT-CERT Authentication and Authorization

2007-10-22 Thread Stephen More
There seems to be good documentation for configuring Realms. I currently have a JAASRealm working by implementing a javax.security.auth.spi.LoginModule I have found very little documentation for custom Authenticators. Your _outline_ is helpful, but I am still struggling. My class which extends o

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
rk in a cluster with session replication" ? If anyone has any insights feel free to post. -Thanks Steve More On 10/19/07, Stephen More wrote: > I thought I would try this on a off the shelf apache-tomcat-6.0.14: > > > > receiver.tcpListenPort="9074"

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
" and DeltaManager does implement the ClusterManager interface. I must be missing something, but what ? -Steve More On 10/19/07, Stephen More <[EMAIL PROTECTED]> wrote: > I am trying to setup a tomcat cluster on 1 box with mod_jk, > > >

Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
I am trying to setup a tomcat cluster on 1 box with mod_jk, my web.xml has session data is NOT getting replicated. My logs are showing: DEBUG TP-Processor1 org.apache.catalina.cluster.tcp.ReplicationValve - Context /tomcatTest: Found session 73F82C596FCE430AB6B7208B03E58BB4.worker6 but i

application-managed security model and isUserInRole getRemoteUser

2007-10-12 Thread Stephen More
If I implement application-managed security ( I need to use cookies for "Remember Me" ), is there a way to make it such that HttpServletRequest.getRemoteUser() and HttpServletRequest.isUserInRole(java.lang.String role) will respond with values from the actual logged in user ? I see an old thread

Re: How to increase Tomcat webserver speed?

2007-10-05 Thread Stephen Caine
memory and CPU processing speed, Tomcat is very fast. Stephen Caine Soft Breeze Systems, LLC - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Removal from mailing list

2007-10-02 Thread Stephen . Morris
Please remove me from the mailing list. Thankyou. Stephen Morris Security Technician, IT Security Access Management Technology Security & Risk, National Australia Bank Level 8, 800 Bourke St, Melbourne VIC 3000 Tel: +61 (0) 3 8634 1755 | Mob: 0438 537 569 Email: [EMAIL PROTE

Stephen Morris is out of the office.

2007-09-21 Thread Stephen . Morris
I will be out of the office starting 21/09/2007 and will not return until 01/10/2007. I will respond to your message when I return. National Australia Bank Ltd - ABN 12 004 044 937 This email may contain confidential information. If you are not the intended recipient, please immediately notify

Tomcat 6 Installation Path

2007-09-07 Thread Stephen Caine
above). Can anybody offer a suggestion as to why this is occurring and what approach we might use to rectify this problem. Thank you in advance. Stephen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

Re: JDBCRealm + Expired Passwords

2007-08-22 Thread Stephen More
On 8/22/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > 1. Checks to see if the Session exists and has a Principal. > 2. Checks to see if the Session contains my "User" object. >If not, it loads the User object and performs the "real" login >(as opposed to the basic authentication prov

Re: JDBCRealm + Expired Passwords

2007-08-22 Thread Stephen More
rt of extension or customization > to Tomcat is required. > > Peter > > Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Stephen, > > > > Stephen More wrote: > > > >> Has anyone written or kn

Re: JDBCRealm + Expired Passwords

2007-08-21 Thread Stephen More
On 8/21/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > Stephen More wrote: > > Has anyone written or know of a JDBCRealm that supports an expired password > > ? > > Do you mean that you want expired-password-users to be forced to change > their password be

JDBCRealm + Expired Passwords

2007-08-21 Thread Stephen More
Has anyone written or know of a JDBCRealm that supports an expired password ? -Thanks Steve More - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: SSL port number

2007-08-20 Thread Stephen Caine
Markus, Stephen Caine wrote: A simple way to restart Tomcat from a non-root user would be nice. Interesting wish. A non-root user with the right to control my system services is approximately the last thing I would want to see. Well, if you can set a 'user' option for startu

Re: SSL port number

2007-08-20 Thread Stephen Caine
); but i'm always interested in improving our installations A simple way to restart Tomcat from a non-root user would be nice. Stephen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [

Re: SSL port number (was: Re: Tomcat SSL/HTTPS Performance vs Apache)

2007-08-20 Thread Stephen Caine
Markus, I previously posted a question about port redirection which was answered. I was referring to that previous post. Stephen We use Tomcat SSL without Apache and it has been very stable. The only issue has been the using port 8443 as some firewalls block access. Why don'

Re: Tomcat SSL/HTTPS Performance vs Apache

2007-08-20 Thread Stephen Caine
only issue has been the using port 8443 as some firewalls block access. Stephen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Installing APR on Fedora

2007-08-15 Thread Stephen . Morris
mcat all that may be necessary is to copy the .so files that provide the apr api's into the appropriate Tomcat lib directory depending on which version of Tomcat you are trying to use. Stephen Morris Security Technician, IT Security Access Management Technology Security & Risk, National

Re: Removing the port identifier

2007-08-15 Thread Stephen Caine
Matthew, Thank you for your response. Apart from using iptables (which may or may not work in OS X), the Tomcat setup link, "http:// tomcat.apache.org/tomcat-6.0-doc/setup.html", seems to be the best way to go. the only way to get rid of the port number is to have something listening on

Re: Removing the port identifier

2007-08-15 Thread Stephen Caine
Hassan, I appreciate the link. Stephen Nope; see the reference to jsvc here: <http://tomcat.apache.org/tomcat-6.0-doc/setup.html> - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: Removing the port identifier

2007-08-15 Thread Stephen Caine
Chris, Thank you for the suggestion. I will investigate. Stephen Tomcat does not require you to run it as root in order to use port 443. There are various techniques, including using a web server such as Apache httpd to front Tomcat, iptables (or similar) tricks to re-route ports, or

Removing the port identifier

2007-08-14 Thread Stephen Caine
system is Mac OS X. Thanks, Stephen - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat5.5 and mysql5 permission problem on Ubuntu 7.04 (Fiesty)

2007-08-07 Thread Stephen Pegg
Smith <[EMAIL PROTECTED]> wrote: > > So what does your 50user.policy show now? What you posted below grants > all permissions to both your webapp and the mysql driver jar file. > > --David > > Stephen Pegg wrote: > > >David, > > > >I can verif

Re: tomcat5.5 and mysql5 permission problem on Ubuntu 7.04 (Fiesty)

2007-08-07 Thread Stephen Pegg
calhost to 127.0.0.1. Stephen On 07/08/07, David Smith <[EMAIL PROTECTED]> wrote: > > The problem is most definitely in the security manager configuration. > I'm not familiar with 50user.policy though -- this must be a Ubuntu > thing. Can you verify this is really the security po

tomcat5.5 and mysql5 permission problem on Ubuntu 7.04 (Fiesty)

2007-08-07 Thread Stephen Pegg
net.SocketPermission "localhost:3306", "connect,resolve"; permission java.security.AllPermission ; }; I have tried a number of variations of the permissions below. None worked. Can somebody please help? I can provide more information if needed. Thanks in advance, Stephen

tomcat5.5 and mysql5 permission problem on Ubuntu 7.04 (Fiesty)

2007-08-07 Thread Stephen Pegg
net.SocketPermission "localhost:3306", "connect,resolve"; permission java.security.AllPermission ; }; I have tried a number of variations of the permissions below. None worked. Can somebody please help? I can provide more information if needed. Thanks in advance, Stephen

Make the tomcat wiki more prominent?

2007-07-22 Thread Stephen Schaub
ling Lists. I would send a note to the webmaster of the Tomcat site, but couldn't find a reference to one. The 'Contact us' link simply mentions the mailing lists. So, here's my $.02. If this is the wrong place to post it, I would appreciate someone pointing me to the ri

<    1   2   3   >