Re: How to start a web app?

2004-07-09 Thread Michael Labhard
Right. So should we improve the documentation or improve all the readers of the documentation? Let's see ... Documentation, or all the readers of the those docs ... Improve the docs, or all the readers of the docs ... Hmmm ... What could the answer be? Boy! That's a tough one! On

Re: How to start a web app?

2004-07-09 Thread Michael Labhard
On Friday 09 July 2004 09:15 am, Mike Curwen wrote: The point I was attempting to make is that there is nothing wrong with the docs, Yes, I know. And the point that I am trying to make is that several readers of the documentation disagree with you on this point. And that is, in my opinion,

How to start a web app?

2004-07-08 Thread Michael Labhard
I installed a new, extremely simple application in $CATALINA_HOME/webapps/springapps/index.html. When I attempt to view this with http://localhost:8080/springapps/index.html I get Error: 404. The requested resource (/springapps/index.html) is not available. So I'm reading and it says that

Re: How to start a web app?

2004-07-08 Thread Michael Labhard
Mike: Thanks for the response. This application is slightly different but has the identical problem. Yes I have a web.xml. The directory structure for the app looks like this: === /opt/tomcat/webapps/springapps/: niagra2

Re: How to start a web app?

2004-07-08 Thread Michael Labhard
Long story short: Tomcat does not search the webapps directory recursively for webapps; it loads contexts that are immediate children of the webapps directory. -QM QM: Thank you. That was it. I thought I could create subfolders at will. I must put all apps only one folder below. Any

Re: How to start a web app?

2004-07-08 Thread Michael Labhard
On Thursday 08 July 2004 11:14 am, Andrew Janian wrote: You don't get a login screen, you get a login popup. Not getting that either? Nope, not getting that either. I did see it once, yesterday. Ever since, nothing. I have even reinstalled Tomcat without benefit. -- Michael

Re: How to start a web app?

2004-07-08 Thread Michael Labhard
On Thursday 08 July 2004 11:50 am, Andrew Janian wrote: Are you sure that Tomcat itself is running?   Would I not have trouble getting the Home page and logging into the Administration page were it not? Also, I can install, run and use JSP pages deployed to $CATALINA_HOME/webapps. I'm pretty

install task problem

2004-07-07 Thread Michael Labhard
I cannot figure out how to get the ant install task to work. I have a WAR file built in the main source directory ./myapp.war. Here is the relevant part of the build.xml: target name=install description=Install application in Tomcat depends=deploywar install

Re: install task problem

2004-07-07 Thread Michael Labhard
Addendum: The problem isn't specific to the install task. The list task yields this error: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/list If I enter http://localhost:8080; in my browser the main Tomcat page comes up. I can enter the

Re: I've officially decided that JSTL is one of the worst things to ever happen

2004-07-04 Thread Michael Labhard
This is like a painter blaming the paint because he cannot create as well as Rembrandt. Pick a language, any language. Now it's your job to make software that works with it. Nobody's going to buy the argument that you're a victim of the tools. On Sunday 04 July 2004 12:41 pm, Ivan Jouikov

javax.servlet.jsp.tagext package

2004-06-17 Thread Michael Labhard
I have spent considerable time searching for the package javax.servlet.jsp.tagext on Tomcat 5 (0.26) without finding it. Can anyone suggest where I might find it, please? Thank you. -- Michael - To unsubscribe, e-mail:

Re: javax.servlet.jsp.tagext package

2004-06-17 Thread Michael Labhard
On Thursday 17 June 2004 01:31 pm, Filip Hanik - Dev wrote: jakarta-servletapi-5 Thank you for pointing me here. I have built from source and the README.txt in the jakarta-servletapi-5 directory states that a servlet.jar file should be built from the classes. However it isn't and the

Re: Managing Session Objects - Preventing a Degredation in Performance

2004-05-29 Thread Michael Labhard
One more option, if you absolutely cannot control the lifetimes of the session objects because the user at the browser is in control and may or may not need the object for some time to come, create a caching system by writing the oldest, largest or least used objects to a database in such a

n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
How do I get jar files to work? Learning Tomcat I have a simple HelloServlet class. When compiled and the class file is inserted into the directory /opt/tomcat/webapps/test/WEB-INF/classes/example and the web.xml file given below is placed in

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
in a jar. Webapps/test/WEB-INF/lib is the right place to put that jar. What are tomcat:tomcat permissions? The permissions should be such that the server user can read the jar. Yoav Shapira Millennium Research Informatics -Original Message- From: Michael Labhard [mailto:[EMAIL PROTECTED

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
Yoav: I would except the machine I am working on is an amd64 Opteron processor and I doubt that the binaries would work. Gentoo built tomcat from the 5.0.18 source and that what I am working with. Any way to confirm that tomcat's classpath actually contains the jar file? -- Michael Hi,

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
Why do you doubt they'd work? I'd give them a shot if I were you -- after all, that IS on of the main points of Java ;) Oh, I see. It didn't occur to me that Tomcat was itself written in java. But, of course! So I downloaded the binaries and used them for the same tests just as you

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
On Thursday 27 May 2004 11:04 am, Parsons Technical Services wrote: Wonder if the manifest or index of the jar is not correct? That could cause problems. The jar manifest is empty: Manifest-Version: 1.0 Created-By: 1.4.2-rc1 (Blackdown Java-Linux Team) I think this is right.

Re: n00b cannot get jar files to work.

2004-05-27 Thread Michael Labhard
Yoav: As happens the realization of the solution came to me as a result of our exchanges. I had improperly built the jar file. The servlet was in a package example but the jar file did not contain a directory example that contained the class. It just contained the class. What I should have

n00b applet URI question

2004-05-27 Thread Michael Labhard
I have a simple project like this: -- /opt/tomcat/webapps/hello: HelloWorld.jsp META-INF WEB-INF /opt/tomcat/webapps/hello/META-INF: MANIFEST.MF /opt/tomcat/webapps/hello/WEB-INF: classes lib web.xml /opt/tomcat/webapps/hello/WEB-INF/classes/xptoolkit/web: