RE: RE: Problem with installing tomcat as NT service - spaces
Will the old c:\progra~1\applic~1\tomcat method work ? Damian -Original Message- From: DIEGO RODRIGO [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 9:14 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re:RE: Problem with installing tomcat as NT service - spaces Importance: High this is a known limitation, you can't use spaces in the wrapper path. d. Reply Separator Subject:RE: Problem with installing tomcat as NT service - spaces in Author: [EMAIL PROTECTED] Date: 30/01/2001 3:54 PM Hi, have you tried to enclose the whole path with double quotes, quotes or something in the style ?? wrapper.tomcat_home="C:\Program Files\Application Name\tomcat" Justa thought, I never tried to use it that way. Cheers -- Vctor A. Rodrguez ( http://www.bit-man.com.ar) Telefnica de Argentina - http://www.Telefonica.com.ar Tel. (54-11) 4333-7305 - Fax: (54-11) 4303-5586 int. 1680 -Mensaje original- De: Brian Radovich [mailto:[EMAIL PROTECTED]] Enviado el: Monday, January 29, 2001 20:42 Para: [EMAIL PROTECTED] Asunto: Problem with installing tomcat as NT service - spaces in path cause crash Howdy When I have my install program configure the wrapper.properties file, it can inset a line like wrapper.tomcat_home=C:\Program Files\Application Name\tomcat The service will not work... it only works when the path to tomcat has no spaces in it... I tried using double quotes and it didn't work. Is this a known bug or am I doing something wrong? TIA Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: OFFTOPIC - jsp hosting sites
http://www.aoindustries.com Comes highly recommended from my friend who hosts a site there, Tomcat, mySQL. PostGres, plenty of bandwidth all for an amazing $30 a month. Damian -Original Message- From: Darrell Porter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 3:18 PM To: '[EMAIL PROTECTED]' Subject: RE: OFFTOPIC - jsp hosting sites http://www.webappcabaret.com/ I'm not affiliated but it has a 4-star ating so... -Original Message- From: DIEGO RODRIGO [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 3:02 PM To: [EMAIL PROTECTED] Subject: OFFTOPIC - jsp hosting sites Hi, sorry for this off-topic posting. Anyone knows any *WORKING* jsp-enabled free hosting site ? thanks diego. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: HELP WITH FIRST APPLICATION............Anyone?.
Sounds as though you have covered everything, CVS is a source control system that you don't have to worry about, not sure what build.xml is but my apps are coming along fine and I've never touched it :) You may need a web.xml file in the web-inf dir, just copy one from the examples. Are you getting any specific errors ? Damian -Original Message- From: Michael Collins [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 20, 2001 9:29 AM To: [EMAIL PROTECTED] Subject: Fwd: HELP WITH FIRST APPLICATIONAnyone?. Hi all, Im new to tomcat and am unsure of a couple of things. I have installed some of the examples and they work away on httP:\\localhost8080 etc. I have started my own project for which I have developed all the HTML pages. I have converted the relevant pages to .jsp developed beans for one of the pages and compiled them to .class. I have gone over the documentation and just want to know how to structure the directories. Say I put everything into a folder called project right? This folder goes into the webapps folder right? Now inside in the project folder I have my web-inf folder, inside in that folder I have a classes folder and inside in that I have my beans (.java and .class) in there? I modify server.xml to look like this Context path="/project" docBase="c:/tomcat/webapps/project" debug="0" reloadable="true" trusted="false" /Context Is this all I have to do? I read the documentation and there is all other weird stuff that I dont understand. Whats the build.xml thing about and the cvs, do I have to do something with them? Could someone please just give me a step in the right direction, once I get one application working, Ill be delighted. A big thanks in advance, Michael _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: HELP WITH FIRST APPLICATION............Anyone?.
Okay well tomcat is working fine the problem lies in the code, have you imported the PriceHandler bean ? Does it have a getPrice method ? Is the method public ? Damian Error: 500 Location: /project/jsp/set_cost.jspInternal Servlet Error:org.apache.jasper.JasperException: Cannot find any information on property 'Price' in a bean of type 'Price.PriceHandler' at org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary.java, Compiled Code) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:101) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java, Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java, Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java:175) at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code) at java.lang.Thread.run(Thread.java:479) From: Damian Penney <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: HELP WITH FIRST APPLICATIONAnyone?. Date: Sat, 20 Jan 2001 09:40:36 -0800 Sounds as though you have covered everything, CVS is a source control system that you don't have to worry about, not sure what build.xml is but my apps are coming along fine and I've never touched it :) You may need a web.xml file in the web-inf dir, just copy one from the examples. Are you getting any specific errors ? Damian -Original Message- From: Michael Collins [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 20, 2001 9:29 AM To: [EMAIL PROTECTED] Subject: Fwd: HELP WITH FIRST APPLICATIONAnyone?. Hi all, Im new to tomcat and am unsure of a couple of things. I have installed some of the examples and they work away on httP:\\localhost8080 etc. I have started my own project for which I have developed all the HTML pages. I have converted the relevant pages to .jsp developed beans for one of the pages and compiled them to .class. I have gone over the documentation and just want to know how to structure the directories. Say I put everything into a folder called project right? This folder goes into the webapps folder right? Now inside in the project folder I have my web-inf folder, inside in that folder I have a classes folder and inside in that I have my beans (.java and .class) in there? I modify server.xml to look like this docBase="c:/tomcat/webapps/project" debug="0" reloadable="true" trusted="false" Is this all I have to do? I read the documentation and there is all other weird stuff that I dont understand. Whats the build.xml thing about and the cvs, do I have to do something with them? Could someone please just give me a step in the right direction, once I get one application working, Ill be delighted. A big thanks in advance, Michael _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: HELP WITH FIRST APPLICATION............Anyone?.
Are you passing in price on the url ? Using * means you need a parameter with the exact property name to be passed in. Does jsp:setProperty name="pricebean" property="price" value="myprice" / work ? Damian -Original Message-From: Michael Collins [mailto:[EMAIL PROTECTED]]Sent: Saturday, January 20, 2001 11:00 AMTo: [EMAIL PROTECTED]Subject: RE: HELP WITH FIRST APPLICATIONAnyone?. Here is the .java file (bean). There is a getPrice method and it is declared public. package Price; public class PriceHandler{ private String thePrice; public PriceHandler() { thePrice = null; }public void setPrice( String Price ) { thePrice = Price; } public String getPrice() { return thePrice; } } Here is what I have in the JSP file %@ page import="Price.PriceHandler" % jsp:useBean id="pricebean" scope="page" class="Price.PriceHandler" /jsp:setProperty name="pricebean" property="*" / ? From: Damian Penney <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: HELP WITH FIRST APPLICATIONAnyone?. Date: Sat, 20 Jan 2001 10:42:10 -0800 Okay well tomcat is working fine the problem lies in the code, have you imported the PriceHandler bean ? Does it have a getPrice method ? Is the method public ? Damian Error: 500 Location: /project/jsp/set_cost.jsp Internal Servlet Error: org.apache.jasper.JasperException: Cannot find any information on property 'Price' in a bean of type 'Price.PriceHandler' at org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary. java, Compiled Code) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato r.java:101) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J spParseEventListener.java, Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi stener.java, Compiled Code) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE ventListener.java:175) at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code) at java.lang.Thread.run(Thread.java:479) From: Damian Penney Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: HELP WITH FIRST APPLICATIONAnyone?. Date: Sat, 20 Jan 2001 09:40:36 -0800 Sounds as though you have covered everything, CVS is a source control system that you don't have to worry about, not sure what build.xml is but my apps are coming along fine and I've never touched it :) You may need a web.xml file in the web-inf dir, just copy one from the examples. Are you getting any specific errors ? Damian -Original Message- From: Michael Collins [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 20, 2001 9:29 AM To: [EMAIL PROTECTED] Subject: Fwd: HELP WITH FIRST APPLICATIONAnyone?. Hi all, Im new to tomcat and am unsure of a couple of things. I have installed some of the examples and they work away on httP:\\localhost8080 etc. I have started my own project for which I have developed all the HTML pages. I have converted the relevant pages
RE: So can no one help with my Socket Write Error Question ?
Thanks Hans, this seems to make the most sense. I was seeing this error on multiple images, not just those in the root, and it would produce errors like: Ctx( ): IOException in: R( + images/ + /tomcat-power.gif = + null) Connection aborted by peer: socket write error Haven't checked but these images were probably cached (and I was using IE5) Still annoying though, I'm wondering if I just use apache to serve all my images this issue will go away (using tomcat as a standalone right now) Again, thanks to all for their help. Damian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Hans Bergsten Sent: Wednesday, January 17, 2001 10:16 PM To: [EMAIL PROTECTED] Subject: Re: So can no one help with my Socket Write Error Question ? "Damian Penney" [EMAIL PROTECTED] wrote: Just in case you missed it the first time :) Can anyone tell me why I'm getting this error in the command prompt window ? The page seems to load ok though. I'm running W2K Advanced Server, and tomcat 3.2.1 2000-10-24 01:41:19 - Ctx( ): IOException in: R( + /tomcat-power.gif = + null) Connection aborted by peer: socket write error Thanks for your help, Damian I have seen this when using Internet Explorer (IE) and the resource is cached by IE. It seems like IE closes the connection before reading the complete response in this case, so Tomcat complains that it couldn't write the full response. I don't see a way to fix this at the Tomcat end. It's irritating but nothing bad happens, so just ignore it. Hans -- Hans Bergsten [EMAIL PROTECTED] Gefion Software http://www.gefionsoftware.com Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Socket Write Error Question
Can anyone tell me why I'm getting this error in the command prompt window ? The page seems to load ok though. I'm running W2K Advanced Server, and tomcat 3.2 2000-10-24 01:41:19 - Ctx( ): IOException in: R( + /tomcat-power.gif = + null) Connection aborted by peer: socket write error Thanks for your help, Damian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Default Apache-Tomcat homepage to a JSP file....
You need the welcome-file tag in the webapps web.xml (I just did this a few hours ago). welcome-file-list welcome-file app/default.jsp /welcome-file /welcome-file-list Damian -Original Message- From: James Morgenstein [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 3:36 PM To: [EMAIL PROTECTED] Subject: Default Apache-Tomcat homepage to a JSP file All- I am trying to configure my Apache-Tomcat configuration to use a JSP file in a subdirectory as the default page for a virtual host. In my httpd.conf file I have the following: VirtualHost 192.168.1.24 DocumentRoot /www/default #RedirectMatch /index.html http://192.168.1.24/rec/HomePage.jsp DirectoryIndex rec/HomePage.jsp /VirtualHost As you can see I've even tried doing this with a Redirect with no luck. I've also tried /rec/HomePage.jsp to no avail. FYI, I'm running Apache 1.3.14, Tomcat 3.2, and mod_jk using ajp12. Anyone had any experience with this problem? Thanks. James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
So can no one help with my Socket Write Error Question ?
Just in case you missed it the first time :) Can anyone tell me why I'm getting this error in the command prompt window ? The page seems to load ok though. I'm running W2K Advanced Server, and tomcat 3.2.1 2000-10-24 01:41:19 - Ctx( ): IOException in: R( + /tomcat-power.gif = + null) Connection aborted by peer: socket write error Thanks for your help, Damian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]