ajp_get_reply, ajp_connection_tcp_get_message Errors

2007-05-16 Thread Alan
I have been trouble-shooting a problem that appears constantly in my mod_jk.log but is only visible intermittently to users for a few months now. Searching the web and this archive for similar error messages, I have found some solutions that have led me to better Apache and Tomcat setups, but hav

webapps examples and security manager

2009-09-22 Thread Alan
yPermission "java.vm.specification.name", "read"; permission java.util.PropertyPermission "java.vm.version", "read"; permission java.util.PropertyPermission "java.vm.vendor", "read"; permission java.util.PropertyPermission &q

Re: webapps examples and security manager

2009-09-22 Thread Alan
Thanks for your reply. Not yet, which one would suggest me please? Alan On Tue, Sep 22, 2009 at 17:27, Mark Thomas wrote: > Alan wrote: > >> Any help would be more than appreciated. > > And when you try with a more recent

Re: webapps examples and security manager

2009-09-23 Thread Alan
-tomcat-6.0.20% $CATALINA_HOME/bin/catalina.sh run -securityUsing CATALINA_BASE: /Users/alan/Programmes/apache-tomcat-6.0.20 Using CATALINA_HOME: /Users/alan/Programmes/apache-tomcat-6.0.20 Using CATALINA_TMPDIR: /Users/alan/Programmes/apache-tomcat-6.0.20/temp Using JRE_HOME: /System/Library/Frameworks

Re: webapps examples and security manager

2009-09-23 Thread Alan
Thanks Mark, let's deal by parts: On Wed, Sep 23, 2009 at 16:33, Mark Thomas wrote: > Alan wrote: >> Ok, I downloaded the latest and did: >> >> wget -c >> http://mirror.ox.ac.uk/sites/rsync.apache.org/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.tar.gz

Re: webapps examples and security manager

2009-09-23 Thread Alan
k). Thank you very much. Alan On Wed, Sep 23, 2009 at 21:42, Mark Thomas wrote: > Mark Thomas wrote: >> Mark Thomas wrote: >>> Alan wrote: >>>> Thanks Mark, let's deal by parts: >>> OK. I've reproduced it. It is happening with 1.6.0_14 and 1.6.0

Re: webapps examples and security manager

2009-09-24 Thread Alan
licy 2009-09-24 13:51:41.00000 +0100 +++ /Users/alan/SCRIPTS/catalina.policy 2009-09-24 13:50:24.0 +0100 @@ -66,7 +66,7 @@ }; // These permissions apply to the commons-logging API -grant codeBase "file:${catalina.home}/bin/commons-logging-api.jar" { +grant codeBase "file:

Re: webapps examples and security manager

2009-09-24 Thread Alan
n. Did it help? Alan On Thu, Sep 24, 2009 at 14:57, Pid wrote: > On 24/09/2009 14:11, Alan wrote: >> >> Hallelujah! >> >> I finally figured out what's going on with tomcat 5.5.26 when running >> webapps in security mode. >> >> In Ubuntu 9.04, wit

my webapps and security manager

2009-09-29 Thread Alan
323) [snip] Is not 'permission java.util.PropertyPermission "*", "read,write";' too lax? If so, how then can I find out what "java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write)" wants to tell me? Obviously I am doi

Fwd: NoClassDefFoundError: javax/mail/Authenticator

2024-10-24 Thread Alan Masters
I am attempting to send e-mail from Tomcat using an external mail host -  mail.btinternet.com. I have included javax.mail jar in my build path and can see javax.mail.Authenticator in this library. When trying to start up  apache-tomcat-9.0.91 I get IllegalStateException: Error starting child

Where do find debug logging

2023-09-12 Thread Alan F
We have some applications which are pushing out to their own applogs clearly showing 'Debug' on most lines with a large amount of data and CI. I would like to find out where the app team are setting this level, I have check in the obvious in the war files as it's a Spring Boot app in applicatio

Dealing with an insecure Struts application on Tomcat

2023-10-19 Thread Alan F
I am looking at security steps to mitigate issues with a 1.x Struts based app. I have recommended the following until an upgrade resource is available Remove application from current shared datasource Remediate high risk CVE scored vulnerabilities (x4 with high EPSS rating) Reduce exposure to int

Problem starting Tomcat localhost

2024-08-01 Thread Alan Masters
s is quite frustrating and makes using it for testing purposes difficult. Any suggestions would be welcome. Alan.

How to Call a Java Class in JSP

2024-08-03 Thread Alan Masters
question, but I would be very grateful for some simple guidance. Alan.

Re: How to Call a Java Class in JSP

2024-08-03 Thread Alan Masters
Deployment of web application archive [C:\Program Files\apache-tomcat-9.0.91\apache-tomcat-9.0.91\webapps\CalculatorJSP.war] has finished in [43] ms On 03/08/2024 16:55, Sebastian Trost wrote: Alan, On 03.08.2024 17:33, Alan Masters wrote: Hello, I am attempting to revise on JSP which I

Re: How to Call a Java Class in JSP

2024-08-04 Thread Alan Masters
Many thanks Sebastian, I was over-complicating what appears to be a fairly straightforward matter. Alan. On 03/08/2024 17:51, Sebastian Trost wrote: Alan, On 03.08.2024 18:19, Alan Masters wrote: This is the extract from the logs:     03-Aug-2024 15:15:16.500 SEVERE [http-nio-8080-exec

Tomcat Unable to Read JNDI xml file

2021-09-16 Thread Alan Tham
h DOCTYPE root "null". I think there is something wrong with the DOCTYPE. How should I specify it? Please help. Thanks. Alan CONFIDENTIALITY CAUTION: This message is intended only for the use of the individual or entity to whom it is addressed and is privileged and confidential

Tomcat 9 Encrpytion of JDBC

2022-01-14 Thread Alan F
All, Interested to know your best practices on securing jdbc plain text passwords, in my last place they used a mechanism to encrypt all passwords. Is this the best method as I read some people don't recommend this. Any details or procs on best practice appreciated. Thanks Ken --

RE: Tomcat 9 Encrpytion of JDBC

2022-01-14 Thread Alan F
OK thanks Bill! -Original Message- From: Bill Stewart Sent: 14 January 2022 19:02 To: Tomcat Users List Subject: Re: Tomcat 9 Encrpytion of JDBC On Fri, Jan 14, 2022 at 10:25 AM Alan F wrote: > Interested to know your best practices on securing jdbc plain text > passwords,

Tomcat jdbc connections

2022-01-20 Thread Alan F
I have an issue with connections on Tomcat9 Oracle showing connections made for about 2seconds then dropped again. Is this normal when the server is not being used? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org F

RE: Tomcat jdbc connections

2022-01-21 Thread Alan F
: users@tomcat.apache.org Subject: Re: Tomcat jdbc connections Alan, On 1/20/22 09:33, Alan F wrote: > I have an issue with connections on Tomcat9 Oracle showing connections > made for about 2seconds then dropped again. Is this normal when the > server is not being used? You mean like

RE: Tomcat jdbc connections

2022-01-21 Thread Alan F
? -Original Message- From: john.e.gr...@wellsfargo.com.INVALID Sent: 21 January 2022 14:50 To: users@tomcat.apache.org Subject: RE: Tomcat jdbc connections Alan, > -Original Message- > From: Alan F > Sent: Friday, January 21, 2022 6:53 AM > To: Tomcat Users List &

RE: Tomcat jdbc connections

2022-01-21 Thread Alan F
inutes! And diff is identical apart from Cluster ips. -Original Message- From: Phil Steitz Sent: 21 January 2022 16:10 To: users@tomcat.apache.org Subject: Re: Tomcat jdbc connections On 1/21/22 8:19 AM, Alan F wrote: > Thanks John, > > Here is an exampl

RE: Tomcat jdbc connections

2022-01-21 Thread Alan F
Thanks for your input Phil! Arghh will keep looking. -Original Message- From: Phil Steitz Sent: 21 January 2022 17:50 To: users@tomcat.apache.org Subject: Re: Tomcat jdbc connections On 1/21/22 9:28 AM, Alan F wrote: > Ok thanks Phil ok I checked other connections in the same h

RE: Tomcat jdbc connections

2022-01-23 Thread Alan F
ogging via Catalina.out? Or can it be. -Original Message- From: Phil Steitz Sent: 21 January 2022 17:50 To: users@tomcat.apache.org Subject: Re: Tomcat jdbc connections On 1/21/22 9:28 AM, Alan F wrote: > Ok thanks Phil ok I checked other connections in the same host and see

RE: Tomcat jdbc connections

2022-01-25 Thread Alan F
s due to connections being used! -Original Message- From: Christopher Schultz Sent: 24 January 2022 22:42 To: users@tomcat.apache.org Subject: Re: Tomcat jdbc connections Alan, On 1/23/22 09:17, Alan F wrote: > Can I just follow up here what would be the next steps how would I go

Tomcat 9 Session replication

2022-01-28 Thread Alan F
We are currently getting traffic from all cluster members in other environments using .staticmember opposed to multicast can I confirm why this is see below. What do we need to set here for a clustered pair to make them unique and talk to eachother only without seeing traffic from other members

RE: Tomcat 9 Session replication

2022-01-30 Thread Alan F
users@tomcat.apache.org Subject: Re: Tomcat 9 Session replication On 28/01/2022 17:05, Alan F wrote: > We are currently getting traffic from all cluster members in other > environments using .staticmember opposed to multicast can I confirm why this > is see below. > > What do we need to set

RE: Tomcat 9 Session replication

2022-01-31 Thread Alan F
to be that the membership should remain static and therefore no membership comms shuould be required. Are those important to ensure that the cluster members (through static) are actually present during operation? -chris > 2022年1月31日(月) 16:47 Alan F : > >> OK with your advice I tri

RE: Tomcat 9 Session replication

2022-02-01 Thread Alan F
Many thanks Mark! -Original Message- From: Mark Thomas Sent: 01 February 2022 09:25 To: users@tomcat.apache.org Subject: Re: Tomcat 9 Session replication On 31/01/2022 14:54, Alan F wrote: > Many thanks Chris, > > Don't laugh I was looking at those values after

help with high cpu usage

2022-02-03 Thread Alan F
Had some issues today with one prod host. One is fine the other has stuck around 80%Cpu. Ive taken a thread dump from both hosts and would appreciate someone give a once over what it may be before I kill and restart. They are clustered nodes so running identical apps and loadbalanced by a hardw

RE: help with high cpu usage

2022-02-03 Thread Alan F
pu usage Alan, > -Original Message----- > From: Alan F > Sent: Thursday, February 03, 2022 12:19 PM > To: Tomcat Users List > Subject: help with high cpu usage > > Had some issues today with one prod host. One is fine the other has > stuck around 80%Cpu. > Ive take

RE: help with high cpu usage

2022-02-03 Thread Alan F
sp?p=c2hhcmVkLzIwMjIvMDIvMy8tLWFwaS00NTE3MWUxNy1jYWRiLTRkY2UtODBlNS1lMDk0YTJjNTg1OGEudHh0&; -Original Message- From: john.e.gr...@wellsfargo.com.INVALID Sent: 03 February 2022 19:33 To: users@tomcat.apache.org Subject: RE: help with high cpu usage Alan, > -Original Message----- > From: Alan F > Sent: Thursday, February 03, 2022 12:1

Re: help with high cpu usage

2022-02-03 Thread Alan F
John thanks so much !! Will pass this on tomorrow. Cheers. From: john.e.gr...@wellsfargo.com.INVALID Sent: 03 February 2022 22:45 To: users@tomcat.apache.org Subject: RE: help with high cpu usage Alan, > -Original Message- > From: Alan F

RE: help with high cpu usage

2022-02-04 Thread Alan F
Hello Thomas, Thanks for your input here, what's your weapon of choice to identify this thread bar thread dump? I just downloaded jvmtop from github but that didn't seem to give me any clue at all about independent threads. Cheers Alan -Original Message- From: Thoma

403 whilst reading from ROOT

2022-03-04 Thread Alan F
Im trying to read robots.txt from '/' on a few tomcat servers to block web search engines. Obviously placed the txt file in ./webapps/ROOT/ Works fine on a few tomcat hosts that have identical server.xml / web.xml so im puzzled as to why these two Tomcat servers are blocking requests, obviously

Constant errors in Tomcat logs

2022-06-06 Thread Alan F
HI I have a Tomcat clustered pair running, I see this 3 times a minute in the logs. I don't see this IP in server.xml I do have a DEV Tomcat pair is this somehow interfering? 06-Jun-2022 11:15:18.836 WARNING [Catalina-utility-2] org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.

tomcat logging

2022-06-09 Thread Alan F
Tomcat logging I would like to add a delimiter or characters " " around {user-agent} for logging, I wanted it in double quotes for example "Mozilla 5.0.." but can't seem to make it work. Or even adding a # symbol before would help any ideas? Thanks ---

Tomcat Deployment scripts

2023-06-28 Thread Alan F
Anyone have an example deployment script or method used to deploy a simple war and context root, also with rollback preferably. Thanks

RE: Tomcat Deployment scripts

2023-06-30 Thread Alan F
Users List Subject: AW: Tomcat Deployment scripts Hello Alan, > Von: Alan F > Gesendet: Mittwoch, 28. Juni 2023 18:24 > An: users@tomcat.apache.org > Betreff: Tomcat Deployment scripts > > Anyone have an example deployment script or method used to deploy a simple > war and c

Re: Tomcat on a server

2006-07-17 Thread Alan Meyer
wn stack for automatically allocated variables and objects. Depending upon how your program is written however, it is possible for the threads to interfere with each other if they use any static variables - so you must use synchronization if it is required. Alan Alan Meyer [EMA

Re: multiple t hreads

2006-07-17 Thread Alan Meyer
You can exec "java classname" or exec a shell script or batch file that starts the JVM. See: http://www.apl.jhu.edu/~hall/java/Exec.html Alan Alan Meyer [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam

Re: multiple t hreads

2006-07-17 Thread Alan Meyer
ve used it on other projects but, alas, the sys admins hated the idea of running another daemon and I didn't want to fight with them. > This is all academic, since I think the original question was > something along the lines of "Does Tomcat actually work like an > app server should? w

Struggling with basic database connection

2006-09-23 Thread Alan Chandler
s variables in the above code snippet to understand how far I have got -- Alan Chandler http://www.chandlerfamily.org.uk - 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: Struggling with basic database connection

2006-09-23 Thread Alan Chandler
it puts I tried with context.xml in the directory you mentioned and it said it couldn't find the webapp "context", so I renamed it to my application and tried again. But it didn't work. So still stumped -- Alan Chandler http://www.chandlerfamily.org.uk ---

Re: Struggling with basic database connection

2006-09-23 Thread Alan Chandler
etc under eclipse's (probably WTP plugin's) server configuration, but it doesn't publish that to the conf directory inside it's CATALINA_HOME. So still not sure how to proceed. -- Alan Chandler http://ww

Re: Struggling with basic database connection

2006-09-24 Thread Alan Chandler
ing in conf/server.xml - but I have had success with putting the context in conf/Catalina/localhost/akcmoney.xml -- Alan Chandler http://www.chandlerfamily.org.uk - To start a new topic, e-mail: users@tomcat.apache.org To unsubscr

Re: Struggling with basic database connection

2006-10-01 Thread Alan Chandler
On Sunday 01 October 2006 17:27, John Najarian wrote: > Alan, > > Did you ever resolve this? I don't have enough > information here to help you. ... Sort of ... The WTP plugin for eclipse copies what is in META-INF/context.xml and writes it into CATALINA_BASE/conf/se

Max Memory Reading

2006-10-13 Thread Alan Flisch
Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents cont

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
eres any value. > > > On 10/13/06, Alan Flisch <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > I was having some problems with perm gen space on one of our tomcat > > instances and decided to increase the perm gen size and review the > &

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
Good idea, but nothing set there either. The fact it's such an odd number is another perplexing issue. On Fri, 2006-10-13 at 09:36 +0200, Pascal Alberty wrote: > /etc/init.d/tomcat5 ? > Check for -Xms and -Xmm options > > On 10/13/06, Alan Flisch <[EMAIL PROTECTED]>

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
mber it is independent of the max heap size. Any thoughts on this? Regards, Alan On Fri, 2006-10-13 at 12:28 +0200, Leon Rosenberg wrote: > The default memory values depends on your machine (processor speed and > count, total amount of memory) and are guessed by the vm (if not > explicit

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
Thanks. Found a reference too: http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html Going to set the following... -server -Xmx2000m -XX:MaxPermSize=256m On Fri, 2006-10-13 at 12:38 +0200, Leon Rosenberg wrote: > def perm size is 64Mb > > On 10/13/06, Alan Flisc

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
I thought you were safe up to 4000m (in practice a little lower) for the 32 bit VM. Regards, Alan On Fri, 2006-10-13 at 13:04 +0200, Leon Rosenberg wrote: > just as note Xmx2000m works on 64bit vm only > and you can use g instead of 1000m -> -Xmx2g > > regards > Leon >

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
he server isn't hammered but hosts quite a few apps and that is why the demands on the perm gen space are higher than is typical. Regards, Alan On Fri, 2006-10-13 at 15:03 +0200, Leon Rosenberg wrote: > Hmm, > I'm not familiar with limitations on solaris. On linux 32bit VM can >

RE: Max Memory Reading

2006-10-13 Thread Alan Flisch
ed this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECT

RE: Max Memory Reading

2006-10-13 Thread Alan Flisch
The document Leon thought was outdated was this one - http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.%20Total% 20Heap%7Coutline - which also relates to 5.0! I'm guessing from the evidence that this doc is simply wrong. Regards, Alan On Fri, 2006-10-13 at 09:41

Authentication when Tomcat is fronted by Apache

2005-10-31 Thread Alan Chandler
seen. How do I do this? [PS if I could use apache to authenticate before even getting as far as tomcat that would be better, but as far as I can see it only works if the url is translated into a an actual location and not passed on] -- Alan Chandler http://www.chandlerfamily.org.uk Open Source

Still failing authentication - need help on how to Debug

2005-11-01 Thread Alan Chandler
Famtree Application /* family BASIC Family Member family -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It

Re: Still failing authentication - need help on how to Debug

2005-11-01 Thread Alan Chandler
On Tuesday 01 Nov 2005 20:26, Andoni wrote: > Hi Alan, > > Show us the relevant section of your server.xml. > > Are you using a view in your database? > > What the authenticator is doing is basically two select statements on your > database to find the usernames and passw

How do you debug Authentication Problems

2006-01-13 Thread Alan Chandler
have overcome them. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

What is the correct way to install a new version of a war

2006-01-14 Thread Alan Chandler
) seemed to have a problem with re-initiallising my connection to the database (which is using the built in Tomcat pooling). In the end I had to shutdown and restart the server. Is there a recommended step by step approach to doing this safely? -- Alan Chandler http://www.chandlerfamily.org.uk

question regarding jdk log in Tomcat

2006-02-01 Thread Alan Honczar
little bit trapped here, as I do not know how to redirect the log of the instances of hibernate and struts to the log of my context of tomcat. I appreciate very much any suggestions. TIA, Alan Honczar AVISO LEGAL - Esta mensagem e seu conteúdo - inclusive anexos - são para uso exclusivo

need suggestion about jdk 1.4 logging in Tomcat

2006-02-03 Thread Alan Honczar
little bit trapped here, as I do not know how to redirect the log of the instances of hibernate and struts to the log of my context of tomcat. I appreciate very much any suggestions. TIA, Alan Honczar AVISO LEGAL - Esta mensagem e seu conteúdo - inclusive anexos - são para uso

RES: need suggestion about jdk 1.4 logging in Tomcat

2006-02-03 Thread Alan Honczar
PROTECTED] Enviada em: sexta-feira, 3 de fevereiro de 2006 13:02 Para: Tomcat Users List Assunto: RE: need suggestion about jdk 1.4 logging in Tomcat > From: Alan Honczar [mailto:[EMAIL PROTECTED] > Subject: need suggestion about jdk 1.4 logging in Tomcat > > I need a suggestio

RES: need suggestion about jdk 1.4 logging in Tomcat

2006-02-03 Thread Alan Honczar
any standard or possibility of standard for this behavior of logging in contexts? Thanks again. Alan Honczar -Mensagem original- De: Alan Honczar [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 3 de fevereiro de 2006 15:04 Para: Tomcat Users List Assunto: RES: need suggestion about

Trouble understanding security constraints

2006-02-08 Thread Alan Chandler
s it any other significance, and am I limited to only one user prompt for both security constraints? Finally, what does security role mean within there. ie do I need the following Site administrator admin and what does it acutally mean? -- Alan Chandler http://www.chandl

Re: Trouble understanding security constraints

2006-02-08 Thread Alan Chandler
On Thursday 09 February 2006 04:05, Bill Barker wrote: > "Alan Chandler" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] ... > This works correctly in TC 5.x. You need to reverse the order for TC 4.1.x > (this is due to a change in the respective version

Setting up a parallel test environment on the same machine as main server

2006-02-12 Thread Alan Chandler
file you define the host for a given instance of a worker. Therefore, how to the workers get mapped on to the virtual hosts? In otherwords, in order to separate namespaces for my apache virtual hosts' connection to tomcat do I need one or two stanza's mapped to one or two sepa

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
On Sunday 12 February 2006 17:07, Alan Chandler wrote: ... > Unless anyone here can suggest a better way, I would like to move the > JkMountFile directive from global scope to virtual host scope and have two > separate files urimap files so that I can map different things dependent o

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
you are reluctant to try it on > you production host. > > HTH, > Tim > > > -Original Message- > From: Alan Chandler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 14, 2006 3:50 AM > To: users@tomcat.apache.org > Subject: Re: Setting up a parallel test environ

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
close to production environment as possible in a test environment before switching it to live. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's the difference between trust and antitrust. - To unsubscribe, e-ma

Re: Setting up a parallel test environment on the same machine as main server

2006-02-14 Thread Alan Chandler
.home. If I understand you correctly you would advocate creating additional elements of my server.xml file with names of www.chandlerfamily.org.uk and test.home (I presume I have to keep default host of appserv.home just so that tomcat knows which ip address to listen on). If I do that how do I pick up traffic to mo

Re: error in tomcat

2006-03-10 Thread Alan Chaney
2:03:42 PM org.apache.catalina.startup.ContextConfig start SEVERE: Marking this application unavailable due to previous error(s) Does 'line 43 column 15' refer to something relevant in web.xml? Regards Alan - To unsubscribe, e-mail: [

Re: how can I run normal web sites using Tomcat?

2006-03-13 Thread Alan Chaney
don't need to serve Java applications at all, then you probably don't need Tomcat! Regards Alan Chaney Andrew E. Davidson wrote: Hello Does anyone one know how I can run normal web sites on Tomcat? By normal I mean sites that are produced using a tool like Microsoft's front

question regarding alias for context

2006-03-20 Thread Alan Honczar
application. I´d like to kill the ctxA making the clients access ctxB in a transparent way. I am trying to find a way of removing the webapp ctxA and configure the string "ctxA" as an alias to the context ctxB. Anyone could give me directions? Thank you very much. Alan AVISO LE

RES: question regarding alias for context

2006-03-23 Thread Alan Honczar
, and thanks in advance... Alan -Mensagem original- De: Alan Honczar [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 20 de março de 2006 19:26 Para: Tomcat Users List Assunto: question regarding alias for context Hi, Maybe I will ask a stupid question but I did not found how to do it

RES: question regarding alias for context

2006-03-23 Thread Alan Honczar
thought some Apache [RewriteRule]s would do the trick. Do you use an Apache web server in front of Tomcat (you seem to suggest so with (c)) Allistair -Original Message- From: Alan Honczar [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 14:06 To: Tomcat Users List Subject: RES: question regarding

RES: RES: question regarding alias for context

2006-03-23 Thread Alan Honczar
(affecting the next gets and posts). That would force the app to download the newer version. After verified that all the clients have migrated, I could rm the ctx A. I think that it will be the way, because mod_rewrite is available for Apache2 and latest... Thank you very much! Best regards, Alan

problem building tcnative

2006-05-31 Thread Alan Chandler
e fails make[1]: Entering directory `/home/alan/dev/tomcat-native-1.1.3/jni/native' /bin/sh /usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -pipe -Wall -g -O2 -pthread -pipe -Wall -g -O2 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O

Changing defaultHost from localhost to a FQDN

2006-10-26 Thread Alan Burlison
ven permissions to access that port, and it worked fine on port 80 before I changed the hostname from localhost. Any and all suggestions (including RTFMs) gratefully received - I'm at my wits end with this! --

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
:-( > I realize the protocol attribute is supposed to default to "HTTP/1.1", but just for grins, you might try setting it. The odd thing is that it does appear to be serving *html* from under the web application directory, just not JSPs. If I put an index.html under webapps/ROOT

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
if you need to make other changes when you change the host name, they should really be called out in the docs. -- Alan Burlison -- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
correct port number as in http://host:Port I have. It doesn't work. Alan are you by chance related to Don? Not as far as I know... -- Alan Burlison -- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscri

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
ocBase it works fine. If I move it to "meshcms" (the WAR file name) and modify docRoot to match, it doesn't. It serves the JSP but all the links in the page (e.g. to the stylesheets) are wrong. Looks like there is

Running tomcat on port 80 on Solaris 10 or above

2006-10-27 Thread Alan Burlison
the duration of startup.sh. I'm mentioning this here because I haven't seen it documented anywhere - hopefully people will be able to find it in the archives in future ;-) -- Alan Burlison -- - To start a new topic, e-mail: u

Re: Changing defaultHost from localhost to a FQDN

2006-10-27 Thread Alan Burlison
to be the default application? Thanks, -- Alan Burlison -- - 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: Changing defaultHost from localhost to a FQDN

2006-10-29 Thread Alan Burlison
at's an excellent, clear, summary - I haven't been able to find anything else that explains the three cases you outline above. Hopefully it might make its way into the official documentation at some point ;-) Many thanks! -- Alan Burlison -- -

Deploying war files to subdir contexts through web Manager

2006-12-18 Thread Alan Cooper
Hi, I would like to deploy war files through the Manager application but I am having difficulty setting a COntext path that is not in the root folder. E.g., I have a war file called monitoring.war - I can deploy this as "http://servername.com/monitoring"; no problem, but as I'm using

Replace SSLServerSocketFactory?

2007-01-22 Thread Alan Marcinkowski
er doable (also noticing that the element is gone from the XML server configuration file. Does anyone know a way to provide a custom SSL implementation in 5.5 without rebuilding / rewriting the actual Catalina code? TIA, Alan

Tomcat not reading context path directive

2007-01-29 Thread Alan Cooper
HI there, I'm running Tomcat 5.5.12 (Red Hat Enterprise Linux stock packages). I am trying to set a Context path directive for /ejava/appname Tomcat is ignoring the Context path and instead taking the context from the xml file name (so it's reading the file and the docBase directive). The ser

File permission problem not understood

2007-02-05 Thread Alan Chandler
/webapps/blog/WEB-INF/classes/META-INF/hivemodule.xml gives -rw-r--r-- 1 tomcat55 nogroup  1035 2006-01-26 19:13 hivemodule.xml so I puzzled as what I need to do to fix it. Can anyone help please -- Alan Chandler http://www.chandlerfamily.org.uk

Re: File permission problem not understood

2007-02-06 Thread Alan Chandler
On Tuesday 06 February 2007 09:57, Pid wrote: > Do you have a SecurityManager running? > > Alan Chandler wrote: > > I have just upgraded my Debian Etch system from tomcat5 to > > tomcat5.5 Yes - that was the issue - I had turned it off on tomcat5 Thanks -

context placement

2007-02-06 Thread Alan Chandler
message Cause: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' I am interpreting this as the JDNI resource has not been recognised. Do I have the right interpretation? Have I misunderstood how tomcat can find the contexts

Re: context placement

2007-02-06 Thread Alan Chandler
On Tuesday 06 February 2007 20:03, Alan Chandler wrote: > > I am getting symptoms (I think) of my JDNI resource having not been > set up properly I forgot to say that I have this working under eclipse on a development system, but it seems (as part of the Web App plugin) to copy the co

Re: context placement

2007-02-06 Thread Alan Chandler
On Tuesday 06 February 2007 20:34, Pid wrote: > Alan Chandler wrote: > > On Tuesday 06 February 2007 20:03, Alan Chandler wrote: > >> I am getting symptoms (I think) of my JDNI resource having not > >> been set up properly > Context first: Yeh just took that ou

[SOLVED] Re: context placement

2007-02-06 Thread Alan Chandler
On Tuesday 06 February 2007 20:46, Alan Chandler wrote: > On Tuesday 06 February 2007 20:34, Pid wrote: > > Alan Chandler wrote: > > > On Tuesday 06 February 2007 20:03, Alan Chandler wrote: > > >> I am getting symptoms (I think) of my JDNI resource having n

Re: Programmatically detecting login or logout events

2008-07-28 Thread Alan Chaney
g in event, detect navigation events and detect either manual logout or session timeout and it works fine. It is driven entirely from looking at the state of 'getRemoteUser' and the session timeout event. Regards Alan Chaney

Re: Committing sendRedirect()

2008-07-29 Thread Alan Chaney
you are trying to achieve would require you to create some mechanism where the lucene query results are processed in a separate thread and your application makes TWO requests - one for the first set of results and then one for the final set of results. There are far too many different ways

Re: Intgrate Tomcat and PHP in winxp

2008-08-18 Thread Alan Chaney
'step by step', IMHO this is an 'advanced' task and you should not be undertaking it until you fully understand all the implications for performance and security. As Tommy suggests, read and understand the documentation first. Regards Alan Chaney Radhakrishnavangara wrote:

  1   2   3   >