Fwd: failure notice

2007-01-07 Thread andy gordon
by web36804.mail.mud.yahoo.com via HTTP; Sun, 07 Jan 2007 08:45:21 PST Date: Sun, 7 Jan 2007 08:45:21 -0800 (PST) From: andy gordon <[EMAIL PROTECTED]> Subject: [EMAIL PROTECTED] To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1986357998-116818

Re: Architecture question for all you gurus out there

2006-03-09 Thread andy gordon
Have you looked into aspect oriented programming? You should be able accomplish your objectives using it. One example open source effort is the Spring framework. Good luck. - andy John MccLain <[EMAIL PROTECTED]> wrote: We have a fairly large client/server app that we converted to a java

Re: 2nd Request: How do you programmatically determine Tomcat Version

2006-01-18 Thread andy gordon
thank you! Mark Thomas <[EMAIL PROTECTED]> wrote: Mark Thomas wrote: > 4.1.x - I'll take a look at porting the patch. If it is easy, then > I'll do it. I have just committed this to svn for 4.1.x Mark - To unsubscribe, e-m

Re: 2nd Request: How do you programmatically determine Tomcat Version

2006-01-18 Thread andy gordon
Peter, Thanks This is great! I am not sure of the policy but if you don't mind me asking, is there anyway to add this functionality to earlier releases of Tomca such as 5.5.x, 5.0x, or 4.x? Again Thank you , this is great. - andy Peter Rossbach <[EMAIL PROTECTED]> wrote: OK, this is

Re:2nd Request: How do you programmatically determine Tomcat Version

2006-01-17 Thread andy gordon
helpful? Thanks Andy Gordon andy gordon <[EMAIL PROTECTED]> wrote: All, Is there are way to determine the version of tomcat that is running from an application that is connecting to tomcat via JSR 160 on a local machine. I would like to be able to find the tomcat versio

Re: I can't install TomCat in my computer

2006-01-16 Thread andy gordon
and 5.* .I tried too a version without installer, that you have to go to dos prompt and type startup.bat in bin directory I guess it is 5.0.28 or something. I'm sorry but I'm a dummy in tomcat, what are you meaning when you said "What does the log say?"Thanks 2006/1/16, andy

How do you programmatically determine Tomcat Version

2006-01-16 Thread andy gordon
All, Is there are way to determine the version of tomcat that is running from an application that is connecting to tomcat via JSR 160 on a local machine. I would like to be able to find the tomcat version from an MBean if possible. Thank you - andy gordon

Re: I can't install TomCat in my computer

2006-01-16 Thread andy gordon
What does the log say? Which version are you running? Patricio Silva <[EMAIL PROTECTED]> wrote: Hi, I installed TomCat in my pc but it can't get started. I receive a message "TomCat started but stopped.Some services do it when they don't have anything to do in system" or something like that. May

Re: AW: Question configurung JBDCRealm (Tomcat 5.5.9)

2005-12-21 Thread andy gordon
I tried several combinations of tables/columnnames in my realm config, but none worked. Thanks Peter -Ursprüngliche Nachricht- Von: andy gordon [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 21. Dezember 2005 12:51 An: Tomcat Users List Betreff: Re: Question configurung JBDCRealm (Tomcat 5.5.9) P

Re: Question configurung JBDCRealm (Tomcat 5.5.9)

2005-12-21 Thread andy gordon
Peter, If I understand what you described, it looks like your database is ok but your specification to tomcat is ever so slightly off. Change your server.xml in a way so that the role elements reference the role table and not users table. HTH - andy [EMAIL PROTECTED] wrote:

RE: Re: starting and stopping Tomcat from Java code

2005-12-15 Thread andy gordon
Oleg, Have you looked into managing the tomcat instance with MBeans. All you need to do is establish a connection to the other JVM with an MBeanServerConnection instance. This does require a port to be exposed from Tomcat for remote monitoring. But once you have the connection you can do

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread andy gordon
There is an MBean for the Server and I believe that you can specify the command there. Oleg Lebedev <[EMAIL PROTECTED]> wrote: Great, sending that shutdown command to a Tomcat server started with server.xml file on the disk worked. But how can I specify what the server shutdown command is when

RE: How to access webapps class path as env variable.

2005-12-14 Thread andy gordon
If you need more than Chuck's suggestion, all the configuration information about webapps (i.e. directories where classes, files, and and documents live) is already available via Tomcat MBeans. This will eliminate the need for an environment variable and create flexibility. You can use JConsole

Re: Newbie install & run question

2005-12-06 Thread andy gordon
try going to the bin directory in tomcat and executing STARTUP.SH Mário Gamito <[EMAIL PROTECTED]> wrote: Hi, I've just installed Tomcat 5.5 for Linux following the instructions on its web page: 1) downloaded and installed apache-ant; 2) downloaded the Tomcat tarball, uncompressed it and on the

RE: How to test connection pooling

2005-11-29 Thread andy gordon
Show Processlist will show the number of initial connections at start but does it show what subsystem a connection is bound to? what if there are multiple tomcat's connected to one database. How do you differentiate? "Lucuk, Pete" <[EMAIL PROTECTED]> wrote: Manisha, I do not know how you chec

Re: RE: admin module for Tomcat 5

2005-11-23 Thread andy gordon
In addition, The admin app needs to be placed into the same directory as the manager app. i.e. C:\Apache\Tomcat 5.5\server\webapps Hope this helps, andy gordon [EMAIL PROTECTED] wrote: Ah. Unzip it into the same folder into which you've installed Tomcat. You

Re: Accessing context info for other running apps?

2005-11-21 Thread andy gordon
Good Response! I add to that, that if its needed programmatically, you do this programmatically using JMX. The JMXPROXY servlet could be your guide. Martin Gainty <[EMAIL PROTECTED]> wrote: Good Afternoon check out http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html#List%20OS%20and%20J

Re: tomcat 5.5 logging

2005-11-03 Thread andy gordon
in web-inf/classes and still keep the 2 jars in my webapp lib only, is the log.debug() prints message in tomcat log dir? thanks On 11/3/05, andy gordon wrote: > > Placing the jars in the common/lib directory makes them available for all > web apps and catalina itself. Placing log4j pr

Re: tomcat 5.5 logging

2005-11-02 Thread andy gordon
Placing the jars in the common/lib directory makes them available for all web apps and catalina itself. Placing log4j properties in the common/classes lib defines log4j behavior for all web apps (cross context). Placing log4j properties in web-inf/classes overrides cross context log4j properties

Re: FileLogger setting in server.xml?

2005-10-29 Thread andy gordon
http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html Setting it up according to your requirements in 5.5 is easy as Tomcat has moved ahead and uses log4J. If yours is a new installation, any reason why you aren't using 5.5.x? Satish Talim <[EMAIL PROTECTED]> wrote: I am a newbie and my f

Re: Tomcat Startup

2005-10-28 Thread andy gordon
I am wondering about that extra slash for your temp directory. could the slash at the end of your base and home be causing tomcat to look for the CONF/server xml in a non-existent place. hope this helps - andy feilong <[EMAIL PROTECTED]> wrote: Hi, My Catalina_Home: C:\Programme\jakarta-tom

Re: how to empty tomcat cache ?

2005-10-25 Thread andy gordon
Which cache are you referring to? Frederic D <[EMAIL PROTECTED]> wrote:Hi ! Is it possible to empty tomcat cache without restarting tomcat ? Thanks. Frederic ___ Appel audio GRATUIT partout dans le monde avec le nouve

RE: Undeploy/Deploy problem

2005-10-24 Thread andy gordon
Alllistair, If you don't mind providing a clarifcation, becuase when I looked at the definition of antijarlocking there is another attribute called antiResourceLocking whose definition is as follows and seems to be exactly the problem Jan is experiencing. antiResourceLocking definition from

Re: Unable to open Tomcat Manager?

2005-10-21 Thread andy gordon
Confine to a certain directory: yes since that is a context. i noticed the connection url you are using is different than mine. Mine is from the 5.5. doc and includes the password and user name in it.I am presuming the database with your users and users_roles tables is named ERP. I am also pr

Re: Unable to open Tomcat Manager?

2005-10-21 Thread andy gordon
Just a couple of other thoughts... I presume you are using tomcat 5.5x THere is a default resource definition under global naming resources for an in memory database that points to conf/tomcat-users.xml. Without having testing myself, if it still exists in you server.xml file i am wondering

Re: Unable to open Tomcat Manager?

2005-10-20 Thread andy gordon
hi, If you are intending on using MySQL and a JDBC Realm for access control, then the Tomcat-users.xml file is not used. I am wondering if in your role table you have two rows for user name admin? if not then this could be your problem as there has to be one row for each role a specific user

Re: where is "catalina.out" defined and enabled?

2005-10-15 Thread andy gordon
Philip, Great Question! Go look at http://tomcat.apache.org/tomcat-5.5-doc/logging.html This should help. The Tomcat folks have implemented log4j which you can use to redirect the output from the CMD window to a log file. Give this a try. Its easy to set up. There may be others ways to accom