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

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 > > Than

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, Februa

Re: Error 500 - OK

2003-02-04 Thread Lindomar
thout the source of that class (or at least 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

Re: Datasource and connection

2003-02-03 Thread Lindomar
gt; ResultSet rs = null; > > try { > conn = ds.getConnection(); > > stmt = ... > > rs = ... > } > catch(SQLException esql) { > } > finally { > if(rs != null) > rs.close(); > > if(stmt != null) > stmt.close(); > &g

Re: DataSource.getConnection() hangs

2003-02-03 Thread Lindomar
Put this: == any description jdbc/BooksDB javax.sql.DataSource Container == In web.xml of your application. See too http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html Ok. - Original Message - From: "Maris Orbidans" <[EMAIL PRO

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. LoginCo

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 Error)

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

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, Janu

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: ... But i see nothing on logs that contains what i see on DOS Prompt (the System.out.println). I

Re: Log on Tomcat

2003-01-09 Thread Lindomar
bject: RE: Log on Tomcat > > > > Yes add these loggers > > > > ~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 every

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: 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! >

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 ki

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

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.

Re: Tomcat port number

2002-12-12 Thread Lindomar
Search for 8080 in server.xml You'll find this connector : Finally change the number 8080. - Original Message - From: "Laxmikanth M.S." <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 10:58 Subject: Tomcat port number > Venha para a V

Re: Where to put JSP files?

2002-12-06 Thread Lindomar
You can put in: webapps |_your app <- yoiu can put here (1) |_ (2) Option 1: http://localhost:8080/yourapp/yourfile.jsp Option 2: http://localhost:8080/yourapp/yournewfolder/yourfile.jsp I hope help you. - Original Message - From: "Peter Lee" <[EMAIL PROTECTED]> To: <[EMAIL

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 excepti

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 com.sun.cor

RE: To use certificates

2002-11-13 Thread Lindomar
certificates > Encontre sempre uma linha desocupada com o Discador BOL! > http://sac.bol.com.br/discador.html > Ainda não tem AcessoBOL? Assine já! http://sac.bol.com.br > > RTFM > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html > > John > &g

To use certificates

2002-11-12 Thread Lindomar
Hi everybody! How can i install or create a sample of certificate? I need to do some tests(https) on tomcat. Thanks in advanced. -- To unsubscribe, e-mail: For additional commands, e-mail:

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.

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 |_a

Re: Log Tomcat 4.1 - OK

2002-10-18 Thread Lindomar
try in your server.xml. Documentation 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 Us

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: 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( "java:co

Re: [off topic] classpath on linux

2002-10-16 Thread Lindomar
o na Internet? > Garanta já o seu e ainda ganhe 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 >

[off topic] classpath on linux

2002-10-16 Thread Lindomar
ore idea. Thanks in advanced. Lindomar.

Re: reloading of jsp page...

2002-10-10 Thread Lindomar
Try in your page: ... - 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... > > Reloading of jsp works if I start a new browser window. But on same > win

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 serv

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:

Re: Datasource

2002-09-30 Thread Lindomar
> You must define the DataSource in your web.xml too. For example: > > > My datasource > myjndi > javax.sql.DataSource > Container > > > Regards. > > -Mensaje original- > De: Lindomar [mailto:[EMAIL PROTECTED]] > Enviado el: domi

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.

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

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'&qu

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: classpath

2002-09-23 Thread Lindomar
ath > For my jsp project I put my jar 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"

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: JSP working but Servlets not working

2002-09-22 Thread Lindomar
MAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 22, 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

Re: JSP working but Servlets not working

2002-09-22 Thread Lindomar
What Dave said is ok, but try: Because your context /HelloWorldExample was configurate in your web.xml. It was work too. - Original Message - From: "Dave Ford" <[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: For additional commands, e-mail:

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: web.xml

2002-09-20 Thread Lindomar
ect! The error became from 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 : L

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-19 Thread Lindomar
othing's missing. Your 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 proble

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 w