Tomcat 6 Admin Application

2007-09-18 Thread Fredy Provoste
Hi there, i want to know if there's any admin application (like in Tomcat 5)
for Tomcat 6 available??, i've lookin in tomcat 6 source code with no luck

Thanks


Re: Tomcat 6 Exception Language

2007-09-18 Thread Fredy Provoste
jojoo yes, the apache service manager has options to configure it, sorry,
and thanks

2007/9/18, David Delbecq [EMAIL PROTECTED]:

 To pass parameter to tomcat service and configure it:

 http://www.google.be/search?q=tomcat6+service+parameters


 Fredy Provoste a écrit :
  Thak you so much Christopher, see that your information is for a Linux
  Enviromente, i'm working in windows, and i have tomcat installed as
 service,
  so the scripts shutdown and startup aren't here, i've tried to set the
  enviroment variable
 
  JAVA_OPTS=-Duser.language=en -Duser.country=US
 
  in windows, but still exceptions come in spanish language, thank you
 again
 
  Fredy
 
  2007/9/17, Christopher Schultz [EMAIL PROTECTED]:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Fredy,
 
  Fredy Provoste wrote:
 
  the exceptions that server
  throws is in Spanish language; I wish this exception were in English
 
  You need to change the value of the system property 'user.language' to
  'en'. You should be able to do it like this:
 
  $ $CATALINA_HOME/bin/shutdown.sh
  $ export JAVA_OPTS=-Duser.language=en -Duser.country=US
  $ $CATALINA_HOME/bin/startup.sh
 
  Note that I also set the country; I'm not sure what the JVM would do
  with a Locale of en_ES, so it's better to use en_US (or even en_GB).
 
  - -chris
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.7 (MingW32)
  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
  iD8DBQFG7rh79CaO5/Lv0PARAk3VAJ43y/edZNjMotvZAkwPZgjsFcQUQQCeMmbo
  G2bKfzYMtbteMVYiBIZgomk=
  =CwHK
  -END PGP SIGNATURE-
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Question about JNDI + Connection Pool + Mysql (Tomcat 6)

2007-09-18 Thread Fredy Provoste
Hi again, i've been deployed a webapp called libreria in Tomcat 6, i tried
to configure a mysql connection pool, so in the path

libreria
.
.  META-INF/context.xml

put the lines

Context path=/libreria docBase=libreria  debug=5 privileged=true
reloadable=true

Resource name=jdbc/basededatos auth=Container type=
com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
factory=com.mysql.jdbc.jdbc2.optional.MysqlDataSourceFactory
driverClassName=com.mysql.jdbc.Driver  username=usuarioweb
password=usuarioweb
url=jdbc:mysql://localhost:3306/prueba1?autoReconnect=true/

/Context



in  the path

libreria
.
WEB-INF/web.xml

the lines to use the JNDI resource


resource-ref
  description
Pool a la Base de Datos
  /description
  res-ref-name
jdbc/basededatos
  /res-ref-name
  res-type
com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
  /res-type
  res-auth
Container
  /res-auth
  /resource-ref


so trying using JSTL, and pure JSP to access the pool, i get the next
message

ERROR java.sql.SQLException: Access denied for user ''@'localhost' (using
password: YES)
seems like tomcat ignores my user i've created in mysql server (I verify the
connection through dreamweaver conection feature and it works)

thanks for any help

Fredy


Tomcat 6 Exception Language

2007-09-17 Thread Fredy Provoste
Hi, i'm new in Tomcat 6, i've installed JSTL, and the exceptions thatserver
throws is in spanish language, i wish this exception were in english
language, so i can go to google searching for the answers to that
exceptions, ehhh i've looking in google about this topic, and i've found
nothinh so, here i am, asking for your help, thank you so much (and sorry
for my english..:)

Fredy