Hi everybody, i want to know how to write in log all values of parameters of requests.
Is it possible?
Thanks in advanced.
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
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
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.
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
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
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
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
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
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
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!!
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
, 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
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.
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
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.
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
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
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.
-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
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
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
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...
in advanced.
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
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(
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
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.
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,
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
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
Hi everybody!
Is it possible put on log what i write with System.out.println in my classes?
Thanks in advanced.
=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
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
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,
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
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
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.
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
) {
}
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
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
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,
: [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
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
44 matches
Mail list logo