Re: cannot setup JNDI with MySQL

2005-10-06 Thread andy gordon
John, Possibly the following will help as it is listed in the 5.5 JDBC DataSource html page in the User guide: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html Please note that JNDI resource configuration has changed somewhat between Tomcat 5.0.x and

Re: cannot setup JNDI with MySQL

2005-10-06 Thread andy gordon
One more thing and i may have missed it in your note: Did you say you placed mysql's jar file in the common\lib directory ? John Cherouvim [EMAIL PROTECTED] wrote:Hello I've been trying to setup a mysql connection pool using JNDI as shown in

Re: Setting environment variables in server.xml.

2005-10-04 Thread andy gordon
David, Just in case you haven't done this yet, have you checked to see if the environment variable shows up as a catalina:type=Environment MBean? if so you should be able to access it. Hope this helps. - andy gordon David Kerber [EMAIL PROTECTED] wrote: If I'm reading it correctly

Re: Setting environment variables in server.xml.

2005-10-04 Thread andy gordon
if you are using 5.5x you can look at the mbean with jmxproxy which is part of the manager app. David Kerber [EMAIL PROTECTED] wrote:Nope, never heard of that one. I'll see if I can figure out how to get at that type. andy gordon wrote: David, Just in case you haven't done this yet, have

Re: JMX Method to check JDBC connection acivity?

2005-09-28 Thread andy gordon
or not. The informatio available via JMX was the same whether MySQL was started or not. I am wondering if creating your own MBean is the appropriate way to test the connection. Let me know how this comes out. - Andy Gordon Edmon Begoli [EMAIL PROTECTED] wrote: Is there a handy MBean in Tomcat

Re: How to configure a single JDBC connection via Tomcat's JDBC JNDI configurations for Oracle

2005-09-27 Thread andy gordon
-datasource-examples-howto.html good luck - andy gordon Edmon Begoli [EMAIL PROTECTED] wrote: Anyone, I want to configure Tomcat 5.5.x to access each database in the Oracle cluster, and not using the pool. This configuration is for database diagnostic puproses, so I need to create a single connection

Re: someone familar with this error?

2005-09-22 Thread andy gordon
Leon, Not sure if this will help, but it looks like there was an error when registering MBeans. Did make any modifications with the Coyote Connnector? This is the connector that integrates with Apachr or IIS for example. - andy Leon Rosenberg [EMAIL PROTECTED] wrote: starting tomcat:

Re: Asking again: index.jsp and virtual directories

2005-09-22 Thread andy gordon
David, Have you looked at setting up virtual hosts in tomcat as this seems to be what you are looking for. - andy gordon David Thielen [EMAIL PROTECTED] wrote: Hi; I am running on Windows 2003/IIS 6.0 tomcat. I have a single IP address for all of my websites (I have several) and then use

Re: ACCESSING TOMCAT JMX SUPPORT REMORTELY VIA THE RMI CONNECTOR

2005-09-21 Thread andy gordon
Dirk is correct you need to check out the doc in order to understand your options. To add a little specificity to your challenge, you need to do at least the following to get going: 1) set remote monitoring options when you are starting the JVM. This can be accomplished multiple ways. One

Re: conf/tomcat-users.xml syntax and semantics

2005-09-21 Thread andy gordon
A realm, in this case the UserDatabase realm is simply a collection of users, passwords, and roles. You could also think of a role as a group. It identifies valid users of a web application (or set of web applications), plus an enumeration of the list of roles associated with each valid user.

Re: Unable to login Tomcat Manager?

2005-09-21 Thread andy gordon
if you enable the jdbc realm then authentication and authorizaiton comes from a jdbc datasource not the tomcat.uses.xml file. This is why tomcat keeps asking you for a user name and password. I suggest you read the realm how to on the tomcat website so you can correct your problem. - andy

Re: Unable to login Tomcat Manager?

2005-09-21 Thread andy gordon
tables Username to Username/Role I think you are close but off just a bit. again follow the quick start guide in the documentation and you should have it. good luck, Andy Gordon ±ç¬±³õ [EMAIL PROTECTED] wrote: However I go into http://localhost:8080/erp It is ok. I have added record

Re: jdbc driver

2005-09-19 Thread andy gordon
is the MySQL Connector Jar file in the $CATALINA_HOME/common/lib directory? Kito Holliday [EMAIL PROTECTED] wrote:Attempting to use connector-java-3.3.10 with tomcat 4.0 and mysql and servlets. The Java code: InitialContext ctx = new InitialContext(); DataSource ds =

mysql, Tomcat and Connector/mxj

2005-08-19 Thread andy gordon
All, Has anyone successfully run Connector MXJ successfully with Tomcat, Standalone, or with JBoss? Connector MXJ allows you to manage MySQL databases through JDBC or JMX MBeans. - andy - Start your day with Yahoo! - make it your home page

How do you set up JMX remote for Tomcat 5.5.9?

2005-07-07 Thread andy gordon
Help, How do you set up JMX remote for Tomcat 5.5.9? For instance where do you specify the JVM startup option -Dcom.sun.management.jmxremote.port=9998 that enables remote monitoring and management? THank you - andy - Sell on

Re: How do you set up JMX remote for Tomcat 5.5.9?

2005-07-07 Thread andy gordon
have not done anything else at this point with respect to enabling JMX remote. Thank you - andy Tim Funk [EMAIL PROTECTED] wrote: http://jakarta.apache.org/tomcat/faq/misc.html#properties -Tim andy gordon wrote: Help, How do you set up JMX remote for Tomcat 5.5.9? For instance