Re: how to run apache tomcat from a flash memory?

2006-02-10 Thread Petr Hadraba
Hi! Run cmd, "cd" to the bin directory of the Tomcat directory structure and type the following command: java -jar bootstrap.jar When you want to stop Tomcat, simply press Ctrl+C... Or download installer-less binary distribution of the Tomcat and use provided .cmd files in the same directory...

Re: Catalina vs. jsvc stand alone daemon

2006-02-06 Thread Petr Hadraba
My notes for Eclipse: Eclipse is using some piece of code for compiling. I didn't assembly it, but I think, there is in the J2SE JRE, in the standard Java library several classes they provide compiling. This means, you DON'T NEED J2SE SDK or Java 5 JDK. I'm using this "feature" on windoze machine

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-02-05 Thread Petr Hadraba
Hi, here is some more informations about JNDI, PostgreSQL, etc: I wrote, I had the same problem, and here is my solution: Create in your development environment (Eclipse, NetBeans, Midnight Commander...) the META-INF/context.xml with the following content: Add to your WEB-INF/web.xml the

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-01-31 Thread Petr Hadraba
Hi, I have the following problem. I found this solution: There is in the server.xml the Resource tag describing your dataSource. Move this element into the Context element in the same xml file (at the bottom). See http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html section `JDBC Da

Re: Download file Problem - 404 error

2006-01-30 Thread Petr Hadraba
Deepa, The java.lang.NoClassDefFoundError: com/deepa/servlet/DownloadFiles (wrong name: DownloadFiles) error message means that you have class DownloadFiles in the package directory structure com.deepa.servlet.DownloadFiles, but you ommit the package directive in the source code, OR you have corre

Re: (newb) Tomcat servlet mapping problem

2006-01-23 Thread Petr Hadraba
test it! Thank you very much! PETR On 1/23/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Petr Hadraba [mailto:[EMAIL PROTECTED] > > Subject: Re: (newb) Tomcat servlet mapping problem > > > > How can I ommit the servlet name in the URL? > > Your

Re: (newb) Tomcat servlet mapping problem

2006-01-23 Thread Petr Hadraba
:8080/path_in_the_servlet_and arguments I will run under Tomcat only one servlet; and I want to handle all the domain. To override "DefaultServlet" is, I think, not so good solution, isn't it? Thank you very much for your tips. PETR On 1/23/06, Petr Hadraba <[EMAIL PROTECTED]> wrote: >

Re: (newb) Tomcat servlet mapping problem

2006-01-23 Thread Petr Hadraba
Hi, sorry for my question, but I'm googling, reading manuals and still no answer... So. The question si very simple: How can I ommit the servlet name in the URL? Ex.: I have http://localhost:8080/ServletTest/path_in_the_servlet_and arguments and I need http://localhost:8080/path_in_the_servlet