Log Tomcat 4.1

2002-10-18 Thread Lindomar
Hi everybody, i want to know how to write in log all values of parameters of requests. Is it possible? Thanks in advanced. Lindomar.

Re: Log Tomcat 4.1 - OK

2002-10-18 Thread Lindomar
is at: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Lindomar [mailto:lindomar.silva;bol.com.br] Sent: Thursday, October 17, 2002 9:41 AM To: Tomcat Users List Subject: Log Tomcat 4.1 Hi everybody, i

Re: asking for help

2002-10-24 Thread Lindomar
Hi Gloria. You put your classes in [yourapp] |_WEB-INF |_classes yourclass.class If your class is in package . For example: anything1.anything2.MyClass.class [yourapp] |_WEB-INF |_classes

Off-Topic: Runtime

2002-11-01 Thread Lindomar
Hi everybody!! Sorry, because i ask this question to you. But i have this code in my servlet: Process p=Runtime.getRuntime().exec(task1); ... Well, how can i do for servlet continue only after executing task1? Thanks in advanced.

J2EE Server - problem starting

2002-12-05 Thread Lindomar
Hi everybody! I'm reading about j2ee...yesterday i installed, did some tests, it was ok. But, when i try start today, this exception appears: J2EE server listen port: 1050 J2EE server startup error org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209 completed: No at

Re: J2EE Server - problem starting - sorry

2002-12-05 Thread Lindomar
Sorry people, it was a message off topic I'm testing J2EE Server, i really don't understand this error...yesterday it was works fine. - Original Message - Hi everybody! I'm reading about j2ee...yesterday i installed, did some tests, it was ok. But, when i try start today, this

web.xml

2002-09-19 Thread Lindomar
Hi everyone! I have a problem with mapping to my servlets. I have this structure in tomcat 4.1 myapp |_WEB-INF |_classes |_subdir1 |_subdir2 |_ myServlet.class I want to mapping this servlet this

Re: web.xml

2002-09-19 Thread Lindomar
problem isn't here. Does the Tomcat's examples run? Which error do you get? -Message d'origine- De : Lindomar [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 19 septembre 2002 15:14 À : Tomcat Users List Objet : web.xml Hi everyone! I have a problem with mapping to my servlets. I have this structure

Re: web.xml

2002-09-19 Thread Lindomar
I can't see file localhost_myapp_log, i only found localhost_examples_log, localhost_admin_log and localhost_log. I search something in localhost_log, but i don't find anything. Let me take a few of your time. Well, i created a new app (teste) : teste |_index.html |_WEB-INF

Re: web.xml

2002-09-20 Thread Lindomar
the HelloWorld servlet. If you enter on the code, to see what it really do ;-) you can see that it use a LocalString properties file. Your servlet cannot function because this file missing. That's all. By, Vincent. -Message d'origine- De : Lindomar [mailto:[EMAIL PROTECTED]] teste

web.xml its OK !

2002-09-21 Thread Lindomar
Hi everybody! Thanks for try to help me. I found what was wrong... My web.xml file was write wrong - Web.xml, not web.xml !! I copy some files from another computer then the name of some files was modified.!? Now i'm mapping my servlets. Thanks!!

Re: JSP working but Servlets not working

2002-09-22 Thread Lindomar
What Dave said is ok, but try: form action=/kithany/HelloWorldExample method=post Because your context /HelloWorldExample was configurate in your web.xml. It was work too. - Original Message - From: Dave Ford [EMAIL PROTECTED] form action=/kithany/servlet/HelloWorldExample

Re: JSP working but Servlets not working

2002-09-22 Thread Lindomar
, 2002 4:31 PM Subject: Re: JSP working but Servlets not working Quer ter seu próprio endereço na Internet? Garanta já o seu e ainda ganhe cinco e-mails personalizados. DomíniosBOL - http://dominios.bol.com.br Hi Mr Dave and Lindomar, THANKS for your reply. I tried to give actin as /kithany

classpath

2002-09-23 Thread Lindomar
Hi everybody! I have a problem with Tomcat4.1's classpath. I have a jar file, and i placed in common/lib, but tomcat doesn't find my classes! I put jar file in classpath on NT and run a test from dos prompt and it's ok. Anybody has any idea where i put my jar file? regards, Lindomar.

Re: classpath

2002-09-23 Thread Lindomar
file on [TOMCAT_HOME]\webapps\project\WEB-INF\lib, it's work. Saludos, Patricio Vera S. - Original Message - From: Lindomar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 23, 2002 10:55 AM Subject: classpath Hi everybody! I have a problem

reloadable=true

2002-09-27 Thread Lindomar
Hi everybody! I set this property(reloadable=true) on my context in server.xml, but don´t works?! When i change any class, tomcat don't work until i restart it. Any idea about this problem? Thanks in advanced.

Re: reloadable=true

2002-09-27 Thread Lindomar
I tried the Manager app, updating and deleting and adding the new one, none works; but the exception is generated : No driver suitable ?! Regards, Lindomar. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, September 27

Datasource

2002-09-30 Thread Lindomar
Hi everybody! I'm using this code for connect my app in tomcat 4.1: ... Connection conn = null; InitialContext ic = new InitialContext(); DataSource ds = (DataSource)ic.lookup(myjndi) conn = ds.getConnection(); ... $ I configurate my connection in Adminitration Tool

reloadable=true its OK

2002-09-30 Thread Lindomar
For somebody that was the same problem, i'll check the problem... I placed my driver in /WEB-INF/lib and /shared/lib, then, when i changed some class, my application didn´t connect with my database again. If you only place in /shared/lib, works! That´s all folks.

Re: Datasource

2002-09-30 Thread Lindomar
-namemyjndi/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref Regards. -Mensaje original- De: Lindomar [mailto:[EMAIL PROTECTED]] Enviado el: domingo, 29 de septiembre de 2002 20:41 Para: Tomcat Users List Asunto: Datasource Hi

Re: Cannot get Tomcat to do reloadable=true

2002-10-02 Thread Lindomar
Adam, if your application name is brooklyn... Try to write docBase=brooklyn or docBase=c:\tomcatpath\webapps\brooklyn Good luck. - Original Message - From: Adam Greene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 30, 2002 4:43 PM Subject: Cannot get

Re: reload objects...

2002-10-07 Thread Lindomar
set reloadable=true on your context in server.xml - Original Message - From: Padhu Vinirs [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 07, 2002 11:14 AM Subject: reload objects... When I recompile a servlet with changes, and call the servlet, the

Re: reloading of jsp page...

2002-10-10 Thread Lindomar
Try in your page: meta http-equiv=Pragma content=no-cache meta http-equiv=expires content=0 body ... - Original Message - From: Padhu Vinirs [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 12:19 Subject: Re: reloading of jsp page...

[off topic] classpath on linux

2002-10-16 Thread Lindomar
in advanced. Lindomar.

Re: [off topic] classpath on linux

2002-10-16 Thread Lindomar
cinco e-mails personalizados. DomíniosBOL - http://dominios.bol.com.br Try this: JAVA_HOME=/usr/java/j2sdk1.4.1 CLASSPATH=your/class/path PATH=${PATH}:${JAVA_HOME}/bin/ export PATH CLASSPATH JAVA_HOME Lindomar wrote: Hi everybody! I'm trying using java on Red Hat 7.1. It´s install

Re: JNDI Data Source

2002-10-17 Thread Lindomar
I changed Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds = (DataSource)envCtx.lookup(jdbc/auctionDB); for Context initCtx = new InitialContext(); DataSource ds = (DataSource)initCtx.lookup(

Re: Tomcat port number

2002-12-12 Thread Lindomar
Search for 8080 in server.xml You'll find this connector : Connector className=org.apache.coyote.tomcat4.CoyoteConnector ... Finally change the number 8080. - Original Message - From: Laxmikanth M.S. [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December

Session timeout

2002-12-16 Thread Lindomar
Hi everybody! How can i create a process exactly after session timeout or user invalidate the session? Is it possible? I think yes, but i didn't find how do it yet... Can anybody give me any idea ? Thanks in advanced.

performance

2002-12-16 Thread Lindomar
First, i would like to say thanks for all the people that help in this user list. Thanks Michael for your help on e-mail: session timeout. Well, i have more one question... :-) How can i compare the performance of tomcat with another containers jsp? For example tomcat and resin, tomcat and Blazix,

Tags

2002-12-23 Thread Lindomar
I don't know if this question is off-topic...but... I'm looking for a simple example of tag in jsp, for example hello World, today is ... But i can't find this, i found complex examles that works fine, but i don't understand yet, so i need get a simple example for understand the behavior this

Re: with the URL Re: Tags

2002-12-23 Thread Lindomar
Ok, thanks for all the messages!! Lindomar. - Original Message - From: Paul Campbell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 23, 2002 15:55 Subject: with the URL Re: Tags Venha para a VilaBOL! O melhor lugar para você construir seu site

Log on Tomcat

2003-01-08 Thread Lindomar
Hi everybody! Is it possible put on log what i write with System.out.println in my classes? Thanks in advanced.

Re: Log on Tomcat

2003-01-09 Thread Lindomar
=org.apache.catalina.logger.SystemErrLogger / Logger className=org.apache.catalina.logger.SystemOutLogger / ~Sumit -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:44 AM To: Tomcat Users List Subject: Log on Tomcat Hi everybody! Is it possible put on log what i write

Logs - Logger

2003-01-10 Thread Lindomar
Well, here i´m again... How was explain to me, and i see after on tomcat's docs, if i want to save all my System.out.println on log file, is necessary i place on server.xml, as following: Context ... ... !-- don't work this two lines-- Logger

Re: web.xml servlet and resources

2003-01-30 Thread Lindomar
Hi Richard, if i didn't understand wrong If you want put a image using relative path, the source of your image must be src=/yourApp/images/logo.gif, for example. Good luck! - Original Message - From: Richard Wallace [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 29,

Datasource and connection

2003-02-03 Thread Lindomar
Hi everybody! I'm using datasource of tomcat for get connection. Well, when i do this: ... DataSource ds = (DataSource)ctx.lookup( java:comp/env/jdbc/Anything); if (ds != null) connection = ds.getConnection(); ... In the next time, will give tomcat to me a new connection or the same? I

Error 500

2003-02-03 Thread Lindomar
Sometime appears this exception: HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server

Re: Error 500

2003-02-03 Thread Lindomar
First, thanks for all messages. Well, i'm using j2sdk 1.4, Tomcat 4.1.1, Win NT 4, my app access DB2. I searched anything in log, but don't have anything write about this error. LoginCommand and AdminServlet, as showing in error message, are my class, they are controls for beans and jsp.

Re: DataSource.getConnection() hangs

2003-02-03 Thread Lindomar
Put this: == resource-ref descriptionany description/description res-ref-namejdbc/BooksDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref == In web.xml of your application. See too

Re: Datasource and connection

2003-02-03 Thread Lindomar
) { } finally { if(rs != null) rs.close(); if(stmt != null) stmt.close(); if(conn != null) conn.close(); } } What exactly are you THINKING of doing? -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003

Re: Error 500 - OK

2003-02-04 Thread Lindomar
a relevant snippet) we can't help you much. -Original Message- From: Lindomar [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 6:03 PM To: Tomcat Users List Subject: Re: Error 500 First, thanks for all messages. Well, i'm using j2sdk 1.4, Tomcat 4.1.1, Win NT 4, my app access

Re: Tomcat won't startup

2003-02-12 Thread Lindomar
Yakov, this class, JndiPermission.class, isn't in your classpath, search the respective jar file and put in /lib of your webapp. Good Luck. - Original Message - From: Yakov Belov [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, February 12,

Re: PLEASE HELP - Tomcat list - How to unregister

2003-02-25 Thread Lindomar
: [EMAIL PROTECTED] - Original Message - From: Manuel Soto [EMAIL PROTECTED] To: tomcap-user [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 09:45 Subject: PLEASE HELP - Tomcat list - How to unregister Please, Does any body know how to unsubscribe from this list Thanks in

Re: include a class

2003-02-28 Thread Lindomar
Kris, first, does your webapp started fine? If yes, we can have some situations for one class works in jsp files using tomcat: 1- webapp |_WEB-INF |_classes |_yourclass - if your class doesn't have a package 2- webapp |_WEB-INF