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

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

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

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.

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.

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

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

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

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

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 ---

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.

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

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

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-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
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

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: 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

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-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

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 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

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-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-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
? -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
: 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

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 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 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 --

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 session timeout with clustering

2016-07-21 Thread Alan Jechort
We just enabled clustering for our 3 tomcat servers, and now the sessions aren’t expiring. The TTL is negative and the inactive time is very high. We have this set as the default of 30 minutes. We are using Tomcat 7.0.51. Any ideas? Thanks Alan

Re: JNDI Feedback

2013-01-29 Thread alan . farroll
Hi, Thanks for feedback. If a SQLException can be returned then I could probably use that in the Java application to determine if an exception occurred. Can you provide any guidance? Thank you Regards Alan Farroll Analyst Programmer Finance and Corporate Services Renfrewshire House Cotton

Re: JNDI Feedback

2013-01-29 Thread alan . farroll
Hi, As requested, the resource tags from the Context file. Although I was asked by my boss to change password value to password and username value to username. Thank you Regards Alan Farroll Analyst Programmer Finance and Corporate Services Renfrewshire House Cotton Street Paisley

JNDI Feedback

2013-01-29 Thread alan . farroll
s. I want to set up validation queries on the JNDI's for SQL server and also have the JNDI provide feedback to the Java application if the database is down. Can you advise how to do this please? If not possible, then what is an alternative? Thank you in advance for any assistance. Reg

Problems trying to disable log rotation within Tomcat 6

2013-01-23 Thread Alan Worstell
lhost.2013-01-23.log Any assistance would be greatly appreciated. Thanks, -- Alan Worstell A1 Networks - Systems Administrator VTSP, dCAA, LPIC-1, Linux+, CLA, DCTS (707)570-2021 x204 For support issues please email supp...@a-1networks.com or call 707-703

Re: Question about config and correct start-up

2013-01-16 Thread Alan Findly
'm thinking now that the REAL problem is Windows XP.always been a dogI think it has something missing to purposely lock out cgi. I'm thinking i should just throw it away & migrate to a Linux box. Thanks Mark and Chuck for your help, and I'm still listening if someone

Re: Question about config and correct start-up

2013-01-16 Thread Alan Findly
That context statement is not correct syntax should be: ... On 1/14/2013 1:29 PM, Alan Findly wrote: Mark: Thanks for your quick response. Here are the items & issues: OKgot the servlet mapping uncommented. About the context the priviledged attribute must be added to

Re: Question about config and correct start-up

2013-01-14 Thread Alan Findly
is with tried & proven code, using the post methodscripts that have already worked on other servers. ... On 1/14/2013 12:30 AM, Mark Thomas wrote: On 14/01/2013 03:52, Alan Findly wrote: Forgot to mention version of tomcat .7.0.34 . on WindowsXP Original Messag

Re: Question about config and correct start-up

2013-01-13 Thread Alan Findly
Forgot to mention version of tomcat .7.0.34 . on WindowsXP Original Message Subject:Question about config and correct start-up Date: Sun, 13 Jan 2013 19:52:55 -0700 From: Alan Findly To: users@tomcat.apache.org Dear Tomcat user's group:

Question about config and correct start-up

2013-01-13 Thread Alan Findly
quot;Tomcat-users.xml" since the role of manager-gui does not seem to apply to cgi. But I've been wrong before! Thanks, Alan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Tomcat 4 question - is this a known bug and if so which version is it fixed in?

2010-11-08 Thread Alan Williams
suspect Tomcat 4 or mod_jk is because it appears that the POST parameters from 2 different requests have been mixed up. This has been recreated internally by a script which was firing requests for a JSP page Welcome.jsp every 30 seconds with the same set of POST parameters ALAN=WILLIAMS&TEST=1 (le

NewBie! Need Help to configure FTP/Domain...

2010-06-17 Thread Alan Coyne
lder. I've been searching and digging but am a bit lost at this stage. If anyone can point me in the right direction it would be great. Thanks Alan

Re: Understanding the error cause

2009-12-26 Thread Alan Chandler
Konstantin Kolinko wrote: 2009/12/26 Alan Chandler : I am moving an application I have had running under tomcat5.5 to tomcat6 on another computer. I placed my war file in the webapps directory and tomcat duly automatically deployed it. But as soon as I try to access it, it throws an exception

Understanding the error cause

2009-12-26 Thread Alan Chandler
understand what is wrong. Can someone give me some advice as to how to understand the problem. -- Alan Chandler http://www.chandlerfamily.org.uk - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands

Re: Tomcat not listing on ipv4

2009-12-20 Thread Alan Chandler
André Warnier wrote: Alan Chandler wrote: I have just upgraded my Debian server to unstable, and now find that attempt to connect to my tomcat via ajp fails. It appears from netstat is tomcat is listing on 8009 but only on ipv6 I have been unable to find out how to change this. Can someone

Tomcat not listing on ipv4

2009-12-20 Thread Alan Chandler
I have just upgraded my Debian server to unstable, and now find that attempt to connect to my tomcat via ajp fails. It appears from netstat is tomcat is listing on 8009 but only on ipv6 I have been unable to find out how to change this. Can someone give me a clue. -- Alan Chandler http

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-28 Thread Alan Kennedy
[Alan] >>> I need to find out what is the difference between running Tomcat 6 as >>> a Windows Service and running it from the command line. >>> >>> The reason is that I'm getting a bizarre bug when a jython based >>> servlet is run under Tomcat

Re: What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Alan Kennedy
[Alan] >> I need to find out what is the difference between running Tomcat 6 as >> a Windows Service and running it from the command line. >> >> The reason is that I'm getting a bizarre bug when a jython based >> servlet is run under Tomcat6-as-Service. But the b

What is the difference between running Tomcat 6 as a Windows Service vs. running from the command line?

2009-10-19 Thread Alan Kennedy
n.org/issue1489 Can anyone point me to documentation which describes the differences between the two operating modes? Regards, Alan Kennedy. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

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

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

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-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-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
-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-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

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: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-23 Thread Alan Chaney
t JVM see http://java.sun.com/docs/hotspot/HotSpotFAQ.html#64bit_heap Apparently RHEL 4 x64 supports up to 16GB and RHEL 5 claims 'unlimited' but I'll bet no-one has actually tried it with 16 TB. Regards Alan Chaney Li,Henry wrote: My Tomcat is running on 32-bit Red Hat 4 (2.6

Re: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-23 Thread Alan Chaney
PAE enabled) - of course this may not work in your application (you'd have to have two Tomcat instances.) 2. Your other 'workaround' is to install a 64 bit OS and a 64 bit JVM. Then you can have 7G+ for the JVM. Regards Alan Chaney Li,Henry wrote: My Tomcat is running

Re: The best place for implementing context specific behavior?

2009-06-25 Thread Alan Chaney
e object by using the host name as the key, do whatever host specific processing you need. You can add a ContextListener in web.xml will will allow you to do any servlet startup/shutdown operations. There are other ways, but the above should work. Regards Alan Chaney ---

Re: Reading POSTed data

2009-06-19 Thread Alan Chaney
still be available to the servet via the request object's input stream." I don't want to appear picky, but that doesn't actually seem that problematic. If you don't set the content type as application/x-ww-form-urlencoded then you should be able to read it via th

RE: how to setup Tomcat 6.x fixes

2009-06-04 Thread Meline, Kirk Alan. (ARC)[PEROT SYSTEMS]
Thank you Mark. I appreciate it. Kirk -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, June 04, 2009 4:24 AM To: Tomcat Users List Subject: Re: how to setup Tomcat 6.x fixes Meline, Kirk Alan. (ARC)[PEROT SYSTEMS] wrote: > Hi > > Where

RE: how to setup Tomcat 6.x fixes

2009-06-04 Thread Meline, Kirk Alan. (ARC)[PEROT SYSTEMS]
: how to setup Tomcat 6.x fixes > From: Meline, Kirk Alan. (ARC)[PEROT SYSTEMS] > [mailto:kirk.mel...@nasa.gov] > Subject: RE: how to setup Tomcat 6.x fixes > > I have download all the files from the windows section of > http://tomcat.apache.org/download-60.cgi#6.0.20 O.

RE: how to setup Tomcat 6.x fixes

2009-06-03 Thread Meline, Kirk Alan. (ARC)[PEROT SYSTEMS]
-7 Moffett Field, CA 94035-1000 1-(650) 604-6868 Office -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, June 03, 2009 3:24 PM To: Tomcat Users List Subject: RE: how to setup Tomcat 6.x fixes > From: Meline, Kirk Alan. (ARC)[PEROT SYST

how to setup Tomcat 6.x fixes

2009-06-03 Thread Meline, Kirk Alan. (ARC)[PEROT SYSTEMS]
Hi Where can I get instructions on setting up our Tomcat server with the new fixes? I have downloaded the new fixes but cannot see any instructions on the web site. Thanks Kirk Kirk Meline Systems Administrator NASA Ames Research Center Mail Stop 213-7 Moffett Field, CA 94035-1000 1-(65

Re: new installation uid / pwd problem

2009-04-09 Thread Alan Chaney
it that file and then restart tomcat. You will also need to read (most) of the documents carefully. I guess you've got the linux distro because it would be much better to start with the currrent release version (6.0) than 5.5 HTH Alan Chaney --

Re: apache/tomcat communication issues (502 response)

2009-04-08 Thread Alan Chaney
.) I suspect that your observations may be affected by "local conditions" eg one application is badly written but represents a lot of your network activity, so its behavior is predominant in conditioning your thinking. Or not! :) regards Alan Chaney But anyway, it indicates a problem

Re: Can only view pages on localhost

2009-03-26 Thread Alan Chaney
operating system, tomcat version, jdk version - all of which would make it easier to help you. However, one wild guess is that you have a firewall which is preventing the other networked machine(s) from accessing the tomcat instance. HTH A

Re: not valid Tomcat installation

2009-03-21 Thread Alan Chaney
Actually I missed the final step!! Right click in the Servers panel and New->Server will let you add the server. Then you can add web projects as required. Regards Alan Alan Chaney wrote: Sergey (and FYI Andre) For each server Eclipse uses, you must create a new entry in the '

Re: not valid Tomcat installation

2009-03-21 Thread Alan Chaney
Eclipse with. For example, I start and run eclipse with a JDK1.5 but compile and run my applications with JRE from the 1.6 JDK. You can have more than one tomcat server defined in eclipse. Its up to you to configure them using the Server properties page to ensure that they use different port

Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Alan Chaney
Chris Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 3/17/2009 4:18 AM, Rainer Frey (Inxmail GmbH) wrote: On Monday 16 March 2009 22:42:27 Christopher Schultz wrote: Can you clarify this a bit? There is no special management instance. VMWare Server is an

Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-16 Thread Alan Chaney
ble. I hunted through all the available configuration files but the values must be hard-coded. So it seems that you must reconfigure any other local tomcat(s) on the same machine to use (a) different startup port(s). Hope that someone, someday, finds this helpful.

Re: help again... what means these errors?

2009-03-01 Thread Alan Chaney
Sorry, didn't see the end! Alan André Warnier wrote: Alan Chaney wrote: Hi Andre Totally agree with your comments with respect to the OP's first exception. However, they actually had two exceptions in their original email with completely different time stamps. The 2nd excepti

Re: help again... what means these errors?

2009-03-01 Thread Alan Chaney
directly connected with Tomcat - more likely the application or the system configuration. Regards Alan André Warnier wrote: Laura Bartolomé wrote: Hi again... We are going on findind errors and problems... and we wanna cry... We certainly would not want that to happen, because then your mess

Re: error while building tomcat 5.5

2009-02-28 Thread Alan Chaney
Do you have write permission to the following directory as the user you are using to do the build? You may have to 'su' or 'sudo' or change the access permissions on /usr/share/java to allow the build script to write to it. Regards Alan Chaney h iroshan wrote: /u

Re: Fwd: J2EE on Mac

2009-02-23 Thread Alan Chaney
o download a tomcat release, configure that as a Server and then create a Dynamic Web Project. See the tutorials in the eclipse help. Works for Mac, PC, Linux, Solaris. Regards Alan Chaney ( a long time eclipse user with a major love-hate relat

Re: J2EE on Mac

2009-02-23 Thread Alan Chaney
han a binary tomcat, eclipse and then, within that, eclipse WST (or the combined package in the first place.) Let me just add that the above is an abridged summary to try to get the OP on the right path, not to start a long flame about the advantages and disadvantages of eclipse!

Re: Authenticating Users

2009-02-22 Thread Alan Chaney
w. As I use 6.0.18 I can easily test it by just patching in the .class file for DataSourceRealm on my dev. system. Regards Alan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Authenticating Users

2009-02-22 Thread Alan Chaney
I think that the ability to extend the login system to use either a user name or an email address would probably be useful for other people. I'll give it some thought. Regards Alan Rgds Gregor

Re: How to close open connections after application stop?

2009-02-22 Thread Alan Chaney
eep a list of ALL the connections you use and then shut them down at the end. This is fraught with difficulty. Regards Alan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Authenticating Users

2009-02-22 Thread Alan Chaney
avoid this, now matter what your solution is. In this specific case at the moment we aren't hashing them, but you raise a good general point about hashing which I'll have to think about. Regards Alan - To unsubscr

Re: Authenticating Users

2009-02-21 Thread Alan Chaney
Make case sensitivity configurable and contribute your patch back to the ASF. Providing it is database neutral, there is a good chance it will be accepted for Tomcat 7 and maybe back-ported to Tomcat 6. Mark Ok Mark I'll have a go at 5. and 6. I'll report back in a few days. Regar

Authenticating Users

2009-02-21 Thread Alan Chaney
requirement of username/email and password case insensitive but case preserving without additional code for Acegi either. Obviously I can take that issue to the acegi/spring forums if acegi is the only solution (that is 1, 3, and 4. above won't work - 2. is out) Thanks in advance Alan C

Re: [OT] Apache Tom Cat in a VM as VMWARE or Red Hat Virtualization

2009-02-19 Thread Alan Chaney
are's t/o, though. ($1,9B) Alan Chaney - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Apache Tom Cat in a VM as VMWARE or Red Hat Virtualization

2009-02-18 Thread Alan Chaney
important for tomcat. (See vmxnet) YMMV. Regards Alan Chaney Jorge Medina wrote: There are no issues on running Tomcat in a VM. Tomcat is unaware of where it is running. Performance depends on the host running your VM. If you compare a VM running application A on host H compared to

Re: [OT] of the different methods to get a user-id

2009-02-16 Thread Alan Chaney
but reading and trying to understand something a few weeks/months/years later is always fraught with difficulties. The main problem with perl is that I can never remember exactly what #...@!$% means whereas something like getUserPrincipal() works for me! Regards Alan Chaney Christophe

Re: Tomcat Internal Buffering with Jython

2009-02-15 Thread Alan Chaney
saving this file in the tomcat home directory doesn't seem particularly elegant. You could use the default work directory. I doubt that has any relevance to the problem HTH Alan Prashant Golash wrote: Hi Alan, Below are the details for the versions and OS: Tomcat Version : 6.0 OS : W

Re: Tomcat Internal Buffering with Jython

2009-02-15 Thread Alan Chaney
save the file locally? Regards Alan Chaney Prashant Golash wrote: Hi Tomcat-Apache Gurus, I have a web application where from the front end user loads a file and gives it as input to Java classes.The file is given as input to a python script which converts it into some other format. Here I

Re: starting and stoppping tomcat

2009-02-14 Thread Alan Chaney
olean flag - a state variable to your servlet. You can set or clear this flag with your page button. Use this flag to condition your database access - so when the timer event fires, it checks the state flag and then accesses the database. Regards Alan paybackorfail wrote: Hi, thank

Re: starting and stoppping tomcat

2009-02-14 Thread Alan Chaney
have state which can be controlled by the request. This shouldn't normally affect tomcat's normal operation. HTH Alan Chaney paybackorfail wrote: That's a good point, what if it was just an html page? Mark Thomas-18 wrote: paybackorfail wrote: Hi, I have written a we

Re: Fun with the JVM crashing.

2009-02-06 Thread Alan Chaney
xample, I was going to see if Eclipse 3.4 was better than 3.3. I tried b4 thru b16 and it seems to have made no difference. No real answer here, just me giving you some more background data. Regards Alan Chaney Bill Davidson wrote: I've submitted this to Sun a few times. No response.

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-19 Thread Alan Chaney
a et.al and 'happens before' . Personally, I feel that the correct solution is to synchronize access to the connection object when it is retrieved and closed. I have to go out now and I don't have any more time to consider this today, but I'd be interested to hear other p

Re: Random Connection Closed Exceptions - Question to the code example

2009-01-19 Thread Alan Chaney
Hi Stefan You don't need to repeat the stmt.close();conn.close() etc in the 'try' body. The 'finally' by definition is ALWAYS called and that is where you should do the tidy up... Alan Chaney Stefan Riegel wrote: I guess I understood the point with the

Re: PostgreSQL vs MySQL with Tomcat

2009-01-19 Thread Alan Chaney
ibernate. MySQL 5 now has better transactional support than 4 - although I am personally sceptical of their reliance on 'atomic' locking - I don't quite see how that would work with long transactions and an optimistic locking strategy. So, in the end "you pays your money

Re: Tomcat Beginner - Step 2!

2009-01-17 Thread Alan Chaney
ally in one of the bottom panes) Find the tomcat server - right click on in and select 'Clean' and then 'Refresh' This will rebuild the internal copy. Try starting it again. If this still doesn't work, then please provide the following: The FULL startup display from the &#

Re: Retrieve User Role

2009-01-08 Thread Alan Chaney
User} /// I think... you may need to check. and use as you see fit... Alan Ben Tomlinson wrote: I have set up login security for some of the pages in my website. I have a JDBCRealm setup and working correctly. But now I want to change the layout of my pages (all jsp pages) according to the us

Re: File upload fails

2009-01-08 Thread Alan Chaney
ing to check. I will look into wireshark. Having a monitor on the connection will be useful. You should be able to install wireshark from your distro. I assume that as you are using MSIE then your dev. system is a PC? I develop on linux and don't know of any particular network monitor

Re: File upload fails

2009-01-08 Thread Alan Chaney
e to fault-find? Also, you may want to watch the upload with something like wireshark to see exactly what is happening and when. Regards Alan Chaney javacle wrote: We have a customer who uploads a file on a daily basis. Usually it works, but about once every two weeks it fails with this error

Re: Single WAR to update multiple contexts

2009-01-07 Thread Alan Chaney
f the database? Regards Alan Chaney Sean W wrote: Greetings! I have a single war packaged application that needs to have about 200 unique context paths running (200 copies of the application running - each uses a different database based on the context name). I know how to deploy 1 context

  1   2   3   >