where is a text/html;charset= ?
Hi everybody, How can I see the complete output stream for each http request? I tried: -- $telnet localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / htmlheadtitleHello Test4/title/headbody/body/html - Where is a text/html;charset=...? or I'm missing something? Thanks, Mark. __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where is a text/html;charset= ?
You need to submit a valid HTTP request. Yours doesn't have the version at the end of the request line. Try: GET / HTTP/1.0 (Thats a two linefeeds: one marking the end of the request line and one blank line indiating the end of the http headers) You should then see the HTTP response, headers and all. If you want to submit HTTP/1.1 requests you need to submit some mandatory headers (Host and maybe Date) otherwise you get a 400 back. $ telnet telnet open localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / HTTP/1.1 HTTP/1.1 400 Bad Request Transfer-Encoding: chunked Date: Wed, 12 Oct 2005 17:26:36 GMT Server: Apache-Coyote/1.1 Connection: close 0 Alternatively you can use plug-ins for Mozilla/Firefox and IE which allow you to see the raw response: http://livehttpheaders.mozdev.org/ http://www.blunck.info/iehttpheaders.html HTH, Jon Mark wrote: Hi everybody, How can I see the complete output stream for each http request? I tried: -- $telnet localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / htmlheadtitleHello Test4/title/headbody/body/html - Where is a text/html;charset=...? or I'm missing something? Thanks, Mark. __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where is a text/html;charset= ?
Thanks Jon, text/html;charset= is not there yet... Here what I've got: HTTP/1.1 200 OK Set-Cookie: JSESSIONID=95EA4260325D4C1FCBF8196773A4BED3; Path=/ Content-Length: 478 Date: Wed, 12 Oct 2005 20:34:37 GMT Server: Apache-Coyote/1.1 Connection: close htmlheadtitleHello Test4/title Mark. --- Jon Wingfield [EMAIL PROTECTED] wrote: You need to submit a valid HTTP request. Yours doesn't have the version at the end of the request line. Try: GET / HTTP/1.0 (Thats a two linefeeds: one marking the end of the request line and one blank line indiating the end of the http headers) You should then see the HTTP response, headers and all. If you want to submit HTTP/1.1 requests you need to submit some mandatory headers (Host and maybe Date) otherwise you get a 400 back. $ telnet telnet open localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / HTTP/1.1 HTTP/1.1 400 Bad Request Transfer-Encoding: chunked Date: Wed, 12 Oct 2005 17:26:36 GMT Server: Apache-Coyote/1.1 Connection: close 0 Alternatively you can use plug-ins for Mozilla/Firefox and IE which allow you to see the raw response: http://livehttpheaders.mozdev.org/ http://www.blunck.info/iehttpheaders.html HTH, Jon Mark wrote: Hi everybody, How can I see the complete output stream for each http request? I tried: -- $telnet localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / htmlheadtitleHello Test4/title/headbody/body/html - Where is a text/html;charset=...? or I'm missing something? Thanks, Mark. __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where does tomcat loads classes from? Mysterious classes loaded....
Hi, to be short, tomcat send me an error in console for my webapp in classes which simply are not supposed to exist: xalan classes. Linux debian computer, here is what i do: [EMAIL PROTECTED]:~/tomcat/jakarta-tomcat-5.5.7$ find * -iname '*xalan*' [EMAIL PROTECTED]:~/tomcat/jakarta-tomcat-5.5.7$ grep -i -R xalan . | grep -v catalina.out ./webapps/tomcat-docs/printer/class-loader-howto.html:liemorg.apache.xalan.*/em/li ./webapps/tomcat-docs/class-loader-howto.html:liemorg.apache.xalan.*/em/li Fichier binaire ./webapps/intranet/WEB-INF/lib/oscore-2.2.2.jar concorde Fichier binaire ./webapps/RMI_intranet/WEB-INF/lib/oscore-2.2.2.jar concorde ok, so 2 .jar contains references to xalan, here is the entry in those jar conatining string xalan: com/opensymphony/provider/xmlprinter/XalanXMLPrinterProvider$1.class com/opensymphony/provider/xmlprinter/XalanXMLPrinterProvider.class com/opensymphony/provider/xpath/XalanXpathProvider.class Now, as you see, no track of any org.apache.xalan classes. And for a good reason, i replaced xalan by saxon in my webapp. Now, here is where the fun starts: using an xsl 2.0 in my webapp, supported by saxon but not by xalan, i get this: javax.xml.transform.TransformerException: Impossible de trouver la fonction : matches at org.apache.xpath.compiler.XPathParser.error(XPathParser.java:649) at org.apache.xpath.compiler.XPathParser.FunctionCall(XPathParser.java:1496) at org.apache.xpath.compiler.XPathParser.PrimaryExpr(XPathParser.java:1435) at org.apache.xpath.compiler.XPathParser.FilterExpr(XPathParser.java:1334) at org.apache.xpath.compiler.XPathParser.PathExpr(XPathParser.java:1267) at org.apache.xpath.compiler.XPathParser.UnionExpr(XPathParser.java:1225) at org.apache.xpath.compiler.XPathParser.UnaryExpr(XPathParser.java:1131) at org.apache.xpath.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:1052) at org.apache.xpath.compiler.XPathParser.AdditiveExpr(XPathParser.java:994) at org.apache.xpath.compiler.XPathParser.RelationalExpr(XPathParser.java:919) at org.apache.xpath.compiler.XPathParser.EqualityExpr(XPathParser.java:859) at org.apache.xpath.compiler.XPathParser.AndExpr(XPathParser.java:823) at org.apache.xpath.compiler.XPathParser.OrExpr(XPathParser.java:796) at org.apache.xpath.compiler.XPathParser.Expr(XPathParser.java:779) at org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:172) at org.apache.xpath.XPath.init(XPath.java:202) at org.apache.xalan.processor.StylesheetHandler.createXPath(StylesheetHandler.java:199) at org.apache.xalan.processor.XSLTAttributeDef.processEXPR(XSLTAttributeDef.java:796) at org.apache.xalan.processor.XSLTAttributeDef.processValue(XSLTAttributeDef.java:1398) at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1589) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:381) at org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:312) at org.apache.xalan.processor.ProcessorTemplateElem.startElement(ProcessorTemplateElem.java:122) at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:668) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:972) at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:788) at be.dissco.slide.SlideFopDriver.run(SlideFopDriver.java:158) at be.dissco.slide.SlideFopDriver.run(SlideFopDriver.java:136) at be.rmi.intranet.workflow.FOPHelper.createDocument(FOPHelper.java:107) at be.rmi.intranet.workflow.FOPHelper.createDocument(FOPHelper.java:83) at be.rmi.intranet.workflow.FOPHelper.createDocument(FOPHelper.java:80) at be.rmi.intranet.workflow.function.BuildPDF.execute(BuildPDF.java:67) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1229) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1268
Where to place a common jar file?
Hi; If I have a jar file used by multiple servlets, should I put it in ${catalina}/common/lib or in ${catalina}/webapps/${each_app}/WEB-INF/lib? I ask because I have seen various warnings that most jar files need to be placed in each webapp and not in common (like struts). ??? - thanks - dave
Re: Where to place a common jar file?
Shared jars can be placed in common/lib, but keep in mind that all your webapps will be locked to the same version of the jar. It's better to have a copy in the webapp instead where you'll have more version independence between wepapps. --David David Thielen wrote: Hi; If I have a jar file used by multiple servlets, should I put it in ${catalina}/common/lib or in ${catalina}/webapps/${each_app}/WEB-INF/lib? I ask because I have seen various warnings that most jar files need to be placed in each webapp and not in common (like struts). ??? - thanks - dave -- === David Smith Network Operations Supervisor Department of Entomology College of Agriculture Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to place a common jar file?
From the Tomcat documetation: http://localhost:8080/tomcat-docs/class-loader-howto.html * For classes and resources specific to a particular web application, place unpacked classes and resources under /WEB-INF/classes of your web application archive, or place JAR files containing those classes and resources under /WEB-INF/lib of your web application archive. * For classes and resources that must be shared across all web applications, place unpacked classes and resources under $CATALINA_BASE/shared/classes, or place JAR files containing those classes and resources under $CATALINA_BASE/shared/lib. Further on down the page: Common - This class loader contains additional classes that are made visible to both Tomcat internal classes and to all web applications. Normally, application classes should NOT be placed here. /mde/ --- David Smith [EMAIL PROTECTED] wrote: Shared jars can be placed in common/lib, but keep in mind that all your webapps will be locked to the same version of the jar. It's better to have a copy in the webapp instead where you'll have more version independence between wepapps. --David David Thielen wrote: Hi; If I have a jar file used by multiple servlets, should I put it in ${catalina}/common/lib or in ${catalina}/webapps/${each_app}/WEB-INF/lib? __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to place a common jar file?
Sorry - you're right on the shared vs common. I put the jdbc drivers in common/lib as I access them via Tomcat's jndi - so Tomcat uses them. Is that correct for them Thanks - dave -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Monday, September 19, 2005 4:19 PM To: Tomcat Users List Subject: Re: Where to place a common jar file? From the Tomcat documetation: http://localhost:8080/tomcat-docs/class-loader-howto.html * For classes and resources specific to a particular web application, place unpacked classes and resources under /WEB-INF/classes of your web application archive, or place JAR files containing those classes and resources under /WEB-INF/lib of your web application archive. * For classes and resources that must be shared across all web applications, place unpacked classes and resources under $CATALINA_BASE/shared/classes, or place JAR files containing those classes and resources under $CATALINA_BASE/shared/lib. Further on down the page: Common - This class loader contains additional classes that are made visible to both Tomcat internal classes and to all web applications. Normally, application classes should NOT be placed here. /mde/ --- David Smith [EMAIL PROTECTED] wrote: Shared jars can be placed in common/lib, but keep in mind that all your webapps will be locked to the same version of the jar. It's better to have a copy in the webapp instead where you'll have more version independence between wepapps. --David David Thielen wrote: Hi; If I have a jar file used by multiple servlets, should I put it in ${catalina}/common/lib or in ${catalina}/webapps/${each_app}/WEB-INF/lib? __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to place a common jar file?
I think so. If you use global naming resources and a resource link (accessing your jdbc database via jndi), then you might only need to place the jdbc drivers in server/lib. Reading some other online documentation, this appears to be the preferred method. /mde/ --- David Thielen [EMAIL PROTECTED] wrote: Sorry - you're right on the shared vs common. I put the jdbc drivers in common/lib as I access them via Tomcat's jndi - so Tomcat uses them. Is that correct for them Thanks - dave __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where to put context.xml?
This is probably an obvious question to most but I am new with tomcat 5.5 so I am still trying to figure things out. I want to create a web project with the document base in /home/tomcat/applications as opposed to the normal webapps folder. This is what I have in my server.xml: Server port=8005 shutdown=SHUTDOWN GlobalNamingResources !-- Used by Manager webapp -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources Service name=Catalina Connector port=8081 / Engine name=Catalina defaultHost=localhost !-- Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase / -- Host name=localhost debug=0 Context path= docBase=/home/tomcat/applications/ debug=0 reloadable=true / /Host /Engine /Service /Server It works when I point my browser to http://www.myhost.com:8081/ and it shows a customized welcome page from my index.jsp. However, as I understand it, Context should now be in its own xml file. I extracted the Context content and placed it in context.xml. I placed context.xml in $CATALINA_HOME/conf/Catalina/localhost, restarted tomcat but now the browser shows nothing. I also tried placing it in the conf/ folder but that doesn't work either. Where does the file go? Thanks for any help in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to put context.xml?
Nearly. Rename your file ROOT.xml and a path of /ROOT and you're away. The other alternative is create in your web application folder META-INF/context.xml Allistair -Original Message- From: Michael Lai [mailto:[EMAIL PROTECTED] Sent: 13 September 2005 10:07 To: tomcat-user@jakarta.apache.org Subject: Where to put context.xml? This is probably an obvious question to most but I am new with tomcat 5.5 so I am still trying to figure things out. I want to create a web project with the document base in /home/tomcat/applications as opposed to the normal webapps folder. This is what I have in my server.xml: Server port=8005 shutdown=SHUTDOWN GlobalNamingResources !-- Used by Manager webapp -- Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources Service name=Catalina Connector port=8081 / Engine name=Catalina defaultHost=localhost !-- Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase / -- Host name=localhost debug=0 Context path= docBase=/home/tomcat/applications/ debug=0 reloadable=true / /Host /Engine /Service /Server It works when I point my browser to http://www.myhost.com:8081/ and it shows a customized welcome page from my index.jsp. However, as I understand it, Context should now be in its own xml file. I extracted the Context content and placed it in context.xml. I placed context.xml in $CATALINA_HOME/conf/Catalina/localhost, restarted tomcat but now the browser shows nothing. I also tried placing it in the conf/ folder but that doesn't work either. Where does the file go? Thanks for any help in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLACK Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protect its information, its interests and its reputation. Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee that attachments are virus free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put context.xml?
Allistair Crossley wrote: Nearly. Rename your file ROOT.xml and a path of /ROOT and you're away. The other alternative is create in your web application folder META-INF/context.xml Allistair Thank you for your prompt replay, Allistair. I choosed the second option and created the META folder. So I now have: /home/tomcat/applications/META-INF/context.xml And my context.xml shows: Context path= docBase=/home/tomcat/applications/ debug=0 reloadable=true /Context I restarted tomcat but with the same effect. Is there some other configuration that I have to modify to inform tomcat that I have a project in this folder? Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to put context.xml?
Hi, The docBase is just the folder where your web applications are located. You need to have a folder in applications for your web application. For the empty path application this is /ROOT. Thus Context path=/ROOT docBase=/home/tomcat/applications/ debug=0 reloadable=true /Context Means a folder at /home/tomcat/applications/ROOT/META-INF/context.xml applications -Original Message- From: Michael Lai [mailto:[EMAIL PROTECTED] Sent: 13 September 2005 10:21 To: Tomcat Users List Subject: Re: Where to put context.xml? Allistair Crossley wrote: Nearly. Rename your file ROOT.xml and a path of /ROOT and you're away. The other alternative is create in your web application folder META-INF/context.xml Allistair Thank you for your prompt replay, Allistair. I choosed the second option and created the META folder. So I now have: /home/tomcat/applications/META-INF/context.xml And my context.xml shows: Context path= docBase=/home/tomcat/applications/ debug=0 reloadable=true /Context I restarted tomcat but with the same effect. Is there some other configuration that I have to modify to inform tomcat that I have a project in this folder? Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLACK Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protect its information, its interests and its reputation. Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee that attachments are virus free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to put context.xml?
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: Where to put context.xml? Context path=/ROOT docBase=/home/tomcat/applications/ debug=0 reloadable=true /Context To again quote from the Tomcat doc for the path attribute of the Context element: The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered [sic] from the filenames used for either the .xml context file or the docBase. Also note that placing Context tags is server.xml is strongly discouraged. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where to put context.xml?
Hi, Thanks. I am pretty sure that earlier 5.5 implementations needed /ROOT specified for the older 5.0 empty path. Looks like it's either changed back to 5.0's method or I read something incorrectly, Thanks in either case, Allistair. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 13 September 2005 14:25 To: Tomcat Users List Subject: RE: Where to put context.xml? From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: Where to put context.xml? Context path=/ROOT docBase=/home/tomcat/applications/ debug=0 reloadable=true /Context To again quote from the Tomcat doc for the path attribute of the Context element: The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered [sic] from the filenames used for either the .xml context file or the docBase. Also note that placing Context tags is server.xml is strongly discouraged. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLACK Disclaimer: The information contained within this e-mail is confidential and may be privileged. This email is intended solely for the named recipient only; if you are not authorised you must not disclose, copy, distribute, or retain this message or any part of it. If you have received this message in error please contact the sender at once so that we may take the appropriate action and avoid troubling you further. Any views expressed in this message are those of the individual sender. QAS Limited has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as QAS Limited deems to be necessary in order to protect its information, its interests and its reputation. Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee that attachments are virus free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced. /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put context.xml?
Allistair Crossley wrote: Hi, The docBase is just the folder where your web applications are located. You need to have a folder in applications for your web application. For the empty path application this is /ROOT. Thus Context path=/ROOT docBase=/home/tomcat/applications/ debug=0 reloadable=true /Context Means a folder at /home/tomcat/applications/ROOT/META-INF/context.xml Thanks, it works now. I used your first method instead. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put context.xml?
Caldarale, Charles R wrote: To again quote from the Tomcat doc for the path attribute of the Context element: The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered [sic] from the filenames used for either the .xml context file or the docBase. Also note that placing Context tags is server.xml is strongly discouraged. OK, I took out /ROOT from the path field and it still works. But the context file must still be named ROOT.xml. The application fails to work with any other filename. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: where to place the /META-INF/context.xml file?
Hi, The META-INF/context.xml is one way in which a *web application context* can be configured, not Tomcat itself per se, although it is an instruction on behalf of the web application *to* Tomcat about what *it* needs Tomcat to setup for itself, e.g database pools, environment vars or whatever. Yes /MyWebApp/META-INF would be correct, as per the servlet spec for web application structure. Allistair. -Original Message- From: Ben Wong [mailto:[EMAIL PROTECTED] Sent: 09 September 2005 05:26 To: tomcat-user@jakarta.apache.org Subject: where to place the /META-INF/context.xml file? Hi, Apologies, but this is a newbie question. In the tomcat docs, it states that A /META-INF/context.xml file can be used to define Tomcat specific configuration... Could you please tell me where /META-INF/context.xml should be placed relative to the web application root? In other words, if I have a web application in a directory /MyWebApp, should the /META-INF be at /MyWebApp/META-INF or should it be under /WEB-INF? Thanks. FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to place the /META-INF/context.xml file?
Ben Wong wrote: A /META-INF/context.xml file can be used to define Tomcat specific configuration... MyWebApp/META-INF/context.xml or inside your MyWebApp.war as: META-INF/context.xml -- Darryl L. Miles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
where to place the /META-INF/context.xml file?
Hi, Apologies, but this is a newbie question. In the tomcat docs, it states that A /META-INF/context.xml file can be used to define Tomcat specific configuration... Could you please tell me where /META-INF/context.xml should be placed relative to the web application root? In other words, if I have a web application in a directory /MyWebApp, should the /META-INF be at /MyWebApp/META-INF or should it be under /WEB-INF? Thanks.
where to deploy my .war and how ? help needed please!
good morning list, (sorry for the long mail) im running Tomcat behind an apache Server using mod_jk2 everything seems to be working fine but im really confused about one thing where to deploy my .war files to??? OS Suse Linux 9.1 java version 1.4.2_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) tomcat is at - /usr/share/tomcat webapps is at /srv/www/tomcat/base/webapps my server.xml : == Server port=8005 shutdown=SHUTDOWN debug=9 Service name=Tomcat-Apache !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=9 connectionTimeout=2 useURIValidationHack=true protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- While starting off, leave debugging high for help in diagn. -- !-- When done, turn it back to 0 -- Engine name=DoApache defaultHost=do-web.de debug=9 Logger className=org.apache.catalina.logger.FileLogger prefix=doweb_fileloger. suffix=.log timestamp=true/ !-- Access log processes all requests for this virtual host. -- !-- Leave pattern=combined for the most comprehensive logging -- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=doweb_accesslogV. suffix=.log pattern=combined resolveHosts=false/ Host name=DoDemo debug=0 appBase=/srv/www/demo unpackWARs=true autoDeploy=true Context path= docBase=/srv/www/demo debug=0/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=demo_accesslogV. suffix=.log pattern=combined resolveHosts=false/ /Host Host name=doweb.de debug=9 appBase=/srv/www/htdocs unpackWARs=true autoDeploy=true Context path= docBase=/srv/www/htdocs debug=9/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=dom_access. suffix=.log pattern=combined resolveHosts=false/ /Host /Engine /Service /Server startup log from catalina.out : === Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1288 ms Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardService start INFO: Starting service Tomcat-Apache Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.19 Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.ContextConfig applicationConfig INFO: Missing application web.xml, using defaults only StandardEngine[DOMApache].StandardHost[domdemo].StandardContext[] Sep 7, 2005 8:05:30 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) Sep 7, 2005 8:05:30 AM org.apache.catalina.startup.HostConfig deployWARs WARNING: Exception while expanding web application archive BMIWizardDe.war Sep 7, 2005 8:05:30 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Sep 7, 2005 8:05:30 AM org.apache.catalina.startup.ContextConfig applicationConfig
RE: where to deploy my .war and how ? help needed please!
put it under your webapps and put a context elements with all its sub elements to configure the app in the server.xml file in the tomcat conf directory. -Original Message- From: Yassine ELassad [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 10:01 AM To: tomcat-user@jakarta.apache.org Subject: where to deploy my .war and how ? help needed please! good morning list, (sorry for the long mail) im running Tomcat behind an apache Server using mod_jk2 everything seems to be working fine but im really confused about one thing where to deploy my .war files to??? OS Suse Linux 9.1 java version 1.4.2_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) tomcat is at - /usr/share/tomcat webapps is at /srv/www/tomcat/base/webapps my server.xml : == Server port=8005 shutdown=SHUTDOWN debug=9 Service name=Tomcat-Apache !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=9 connectionTimeout=2 useURIValidationHack=true protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- While starting off, leave debugging high for help in diagn. -- !-- When done, turn it back to 0 -- Engine name=DoApache defaultHost=do-web.de debug=9 Logger className=org.apache.catalina.logger.FileLogger prefix=doweb_fileloger. suffix=.log timestamp=true/ !-- Access log processes all requests for this virtual host. -- !-- Leave pattern=combined for the most comprehensive logging -- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=doweb_accesslogV. suffix=.log pattern=combined resolveHosts=false/ Host name=DoDemo debug=0 appBase=/srv/www/demo unpackWARs=true autoDeploy=true Context path= docBase=/srv/www/demo debug=0/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=demo_accesslogV. suffix=.log pattern=combined resolveHosts=false/ /Host Host name=doweb.de debug=9 appBase=/srv/www/htdocs unpackWARs=true autoDeploy=true Context path= docBase=/srv/www/htdocs debug=9/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=dom_access. suffix=.log pattern=combined resolveHosts=false/ /Host /Engine /Service /Server startup log from catalina.out : === Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1288 ms Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardService start INFO: Starting service Tomcat-Apache Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.19 Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.ContextConfig applicationConfig INFO: Missing application web.xml, using defaults only StandardEngine[DOMApache].StandardHost[domdemo].StandardContext[] Sep 7, 2005 8:05:30 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create
RE: where to deploy my .war and how ? help needed please!
I'm no expert, but isnt' the docbase of a context evaluated relative to the HOST's appbase? so I guess your docBase path should not contain /srv/www/htdocs. Am Mittwoch, den 07.09.2005, 10:04 +0300 schrieb Guy Katz: Context path= docBase=/srv/www/htdocs debug=9/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to deploy my .war and how ? help needed please!
Hey Yassine, You should deploy your codes under webapps. I am using tomcats manager to deploy my war files i recommend it to you. http://localhost:8080/manager/html u can give your war file to it and deploy with out any problems.. Yassine ELassad wrote: good morning list, (sorry for the long mail) im running Tomcat behind an apache Server using mod_jk2 everything seems to be working fine but im really confused about one thing where to deploy my .war files to??? OS Suse Linux 9.1 java version 1.4.2_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) tomcat is at - /usr/share/tomcat webapps is at /srv/www/tomcat/base/webapps my server.xml : == Server port=8005 shutdown=SHUTDOWN debug=9 Service name=Tomcat-Apache !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=9 connectionTimeout=2 useURIValidationHack=true protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- While starting off, leave debugging high for help in diagn. -- !-- When done, turn it back to 0 -- Engine name=DoApache defaultHost=do-web.de debug=9 Logger className=org.apache.catalina.logger.FileLogger prefix=doweb_fileloger. suffix=.log timestamp=true/ !-- Access log processes all requests for this virtual host. -- !-- Leave pattern=combined for the most comprehensive logging -- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=doweb_accesslogV. suffix=.log pattern=combined resolveHosts=false/ Host name=DoDemo debug=0 appBase=/srv/www/demo unpackWARs=true autoDeploy=true Context path= docBase=/srv/www/demo debug=0/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=demo_accesslogV. suffix=.log pattern=combined resolveHosts=false/ /Host Host name=doweb.de debug=9 appBase=/srv/www/htdocs unpackWARs=true autoDeploy=true Context path= docBase=/srv/www/htdocs debug=9/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=dom_access. suffix=.log pattern=combined resolveHosts=false/ /Host /Engine /Service /Server startup log from catalina.out : === Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1288 ms Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardService start INFO: Starting service Tomcat-Apache Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.19 Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.ContextConfig applicationConfig INFO: Missing application web.xml, using defaults only StandardEngine[DOMApache].StandardHost[domdemo].StandardContext[] Sep 7, 2005 8:05:30 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) Sep 7, 2005 8:05:30 AM org.apache.catalina.startup.HostConfig deployWARs WARNING: Exception while expanding
Re: RE: where to deploy my .war and how ? help needed please!
Dear Guy, well i have added a context element into my host and its now looking like this : = Host name=do-web.de debug=9 appBase=/srv/www/tomcat/base unpackWARs=true autoDeploy=true Context path= docBase=webapps debug=9/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=dom_access. suffix=.log pattern=combined resolveHosts=false/ Context path=/MartialArts docBase=/MartialArts debug=8 privileged=true/ /Host == i also considered sonja's suggestion that the docbase of a context is evaluated relative to the HOST's appbase and have changed it now i have quite strange problem after specifying webapps as appbase for my Vhost as you can see in the cofig above and rying to deploy my test servlet into it i have a strange log message : == 2005-09-07 11:47:07 StandardContext[]default: DefaultServlet.init: input buffer size=2048, output buffer size=2048 2005-09-07 11:47:07 NamingContextListener[/DOMApache/do-web.de]: Resource parameters for UserTransaction = null 2005-09-07 11:47:07 StandardContext[]default: DefaultServlet.init: input buffer size=2048, output buffer size=2048 2005-09-07 11:47:07 EngineConfig: EngineConfig: Processing START === in addition to this i observed that my .war file is not decompressed and since i did specify Context path=/MartialArts docBase=/MartialArts debug=8 privileged=true/ i observed that under /var/cach/tomcat/DOMApache/do-web.de/MartialArts has been Created but its contains nothing at all i m really confused about this :s i hope you guys can give me a clue what's going wrong here thanks in advance Greetings Yassine ELassad Cologne directBOX Reply --- From: Guy Katz ([EMAIL PROTECTED]) To: Tomcat Users List (tomcat-user@jakarta.apache.org) Date: 07.09.2005 09:03:07 put it under your webapps and put a context elements with all its sub elements to configure the app in the server.xml file in the tomcat conf directory. -Original Message- From: Yassine ELassad [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 10:01 AM To: tomcat-user@jakarta.apache.org Subject: where to deploy my .war and how ? help needed please! good morning list, (sorry for the long mail) im running Tomcat behind an apache Server using mod_jk2 everything seems to be working fine but im really confused about one thing where to deploy my .war files to??? OS Suse Linux 9.1 java version 1.4.2_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) tomcat is at - /usr/share/tomcat webapps is at /srv/www/tomcat/base/webapps my server.xml : == Server port=8005 shutdown=SHUTDOWN debug=9 Service name=Tomcat-Apache !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=9 connectionTimeout=2 useURIValidationHack=true protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- While starting off, leave debugging high for help in diagn. -- !-- When done, turn it back to 0 -- Engine name=DoApache defaultHost=do-web.de debug=9 Logger className=org.apache.catalina.logger.FileLogger prefix=doweb_fileloger. suffix=.log timestamp=true/ !-- Access log processes all requests for this virtual host. -- !-- Leave pattern=combined for the most comprehensive logging -- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs
Re: Re: where to deploy my .war and how ? help needed please!
Dear Eren, unfortunatly iam not using tomcat's manager admin modules since iam using tomcat only kind of plugin for apache so i can#t use there resources provided by tomcat Thanks directBOX Reply --- From: Mert Eren ÜSTÜNKAYA ([EMAIL PROTECTED]) To: TomcatUsersList (tomcat-user@jakarta.apache.org) Date: 07.09.2005 11:56:35 Hey Yassine, You should deploy your codes under webapps. I am using tomcats manager to deploy my war files i recommend it to you. http://localhost:8080/manager/html u can give your war file to it and deploy with out any problems.. Yassine ELassad wrote: good morning list, (sorry for the long mail) im running Tomcat behind an apache Server using mod_jk2 everything seems to be working fine but im really confused about one thing where to deploy my .war files to??? OS Suse Linux 9.1 java version 1.4.2_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) tomcat is at - /usr/share/tomcat webapps is at /srv/www/tomcat/base/webapps my server.xml : == Server port=8005 shutdown=SHUTDOWN debug=9 Service name=Tomcat-Apache !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=9 connectionTimeout=2 useURIValidationHack=true protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ !-- While starting off, leave debugging high for help in diagn. -- !-- When done, turn it back to 0 -- Engine name=DoApache defaultHost=do-web.de debug=9 Logger className=org.apache.catalina.logger.FileLogger prefix=doweb_fileloger. suffix=.log timestamp=true/ !-- Access log processes all requests for this virtual host. -- !-- Leave pattern=combined for the most comprehensive logging -- Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=doweb_accesslogV. suffix=.log pattern=combined resolveHosts=false/ Host name=DoDemo debug=0 appBase=/srv/www/demo unpackWARs=true autoDeploy=true Context path= docBase=/srv/www/demo debug=0/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=demo_accesslogV. suffix=.log pattern=combined resolveHosts=false/ /Host Host name=doweb.de debug=9 appBase=/srv/www/htdocs unpackWARs=true autoDeploy=true Context path= docBase=/srv/www/htdocs debug=9/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=dom_access. suffix=.log pattern=combined resolveHosts=false/ /Host /Engine /Service /Server startup log from catalina.out : === Sep 7, 2005 8:05:29 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1288 ms Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardService start INFO: Starting service Tomcat-Apache Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.19 Sep 7, 2005 8:05:29 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Sep 7, 2005 8:05:29 AM
Re: RE: where to deploy my .war and how ? help needed please!
No, docBase=webapps is not good ;-) I have everything under the localhost default Host with appBase=webapps, so that the Context element can indeed be Context path= debug=5 reloadable=true docBase=/var/www/japplicoon/myApp So, if you already specify that /srv/www/tomcat/base as appBase, the docBase should be ... the empty String? Don't know wheter this is valid. Perhaps you just cut off the last directory form the appBase Host name=do-web.de debug=9 appBase=/srv/www/tomcat unpackWARs=true autoDeploy=true Context path= docBase=base debug=9/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=dom_access. suffix=.log pattern=combined resolveHosts=false/ Context path=/MartialArts docBase=MartialArts debug=8 privileged=true/ /Host docBase is: - A path totally different from appBase if it is an absolute path - A path under the appBase if it is a relative one. I hope that helps a bit. Good luck! sonja Am Mittwoch, den 07.09.2005, 12:06 +0200 schrieb Yassine ELassad: Dear Guy, well i have added a context element into my host and its now looking like this : = Host name=do-web.de debug=9 appBase=/srv/www/tomcat/base unpackWARs=true autoDeploy=true Context path= docBase=webapps debug=9/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=dom_access. suffix=.log pattern=combined resolveHosts=false/ Context path=/MartialArts docBase=/MartialArts debug=8 privileged=true/ /Host == i also considered sonja's suggestion that the docbase of a context is evaluated relative to the HOST's appbase and have changed it now i have quite strange problem after specifying webapps as appbase for my Vhost as you can see in the cofig above and rying to deploy my test servlet into it i have a strange log message : == 2005-09-07 11:47:07 StandardContext[]default: DefaultServlet.init: input buffer size=2048, output buffer size=2048 2005-09-07 11:47:07 NamingContextListener[/DOMApache/do-web.de]: Resource parameters for UserTransaction = null 2005-09-07 11:47:07 StandardContext[]default: DefaultServlet.init: input buffer size=2048, output buffer size=2048 2005-09-07 11:47:07 EngineConfig: EngineConfig: Processing START === in addition to this i observed that my .war file is not decompressed and since i did specify Context path=/MartialArts docBase=/MartialArts debug=8 privileged=true/ i observed that under /var/cach/tomcat/DOMApache/do-web.de/MartialArts has been Created but its contains nothing at all i m really confused about this :s i hope you guys can give me a clue what's going wrong here thanks in advance Greetings Yassine ELassad Cologne directBOX Reply --- From: Guy Katz ([EMAIL PROTECTED]) To: Tomcat Users List (tomcat-user@jakarta.apache.org) Date: 07.09.2005 09:03:07 put it under your webapps and put a context elements with all its sub elements to configure the app in the server.xml file in the tomcat conf directory. -Original Message- From: Yassine ELassad [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 07, 2005 10:01 AM To: tomcat-user@jakarta.apache.org Subject: where to deploy my .war and how ? help needed please! good morning list, (sorry for the long mail) im running Tomcat behind an apache Server using mod_jk2 everything seems to be working fine but im really confused about one thing where to deploy my .war files to??? OS Suse Linux 9.1 java version 1.4.2_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) tomcat is at - /usr/share/tomcat webapps is at /srv/www/tomcat/base/webapps my server.xml : == Server port=8005 shutdown=SHUTDOWN debug=9 Service name=Tomcat-Apache !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443
Where can I get isapi.dll?
Hi; I downloaded and installed 5.5 for windows on my system. Tomcat runs fine but I can't find isapi_redirector.dll anywhere in my install or on the jakarta site? Does anyone know where I can download it? (the 5.5 version.) Also, are there complete instructions anywhere for workers.properties? (and while uriworkermap.properties seems simple enough, if there are docs for that too can someone give me a url?) Thanks - dave David Thielen 303-499-2544 www.windwardreports.com http://www.windwardreports.com/
Re: Where can I get isapi.dll?
h I think you were thinking about this http://www.popularshareware.com/JspISAPI-download-11630.html jmail Wiadomość Oryginalna Od: David Thielen [EMAIL PROTECTED] Do: tomcat-user@jakarta.apache.org Data: Sat, 3 Sep 2005 15:29:11 -0600 Temat: Where can I get isapi.dll? Hi; I downloaded and installed 5.5 for windows on my system. Tomcat runs fine but I can't find isapi_redirector.dll anywhere in my install or on the jakarta site? Does anyone know where I can download it? (the 5.5 version.) Also, are there complete instructions anywhere for workers.properties? (and while uriworkermap.properties seems simple enough, if there are docs for that too can someone give me a url?) Thanks - dave David Thielen 303-499-2544 www.windwardreports.com http://www.windwardreports.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where can I get isapi.dll?
Tomcat itself has this - but all I can find is the source, not the compiled dll. Also the popularshareware is for 4.0 from the looks of it. Thanks - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: jmail [mailto:[EMAIL PROTECTED] Sent: Saturday, September 03, 2005 3:36 PM To: Tomcat Users List Subject: Re: Where can I get isapi.dll? h I think you were thinking about this http://www.popularshareware.com/JspISAPI-download-11630.html jmail Wiadomość Oryginalna Od: David Thielen [EMAIL PROTECTED] Do: tomcat-user@jakarta.apache.org Data: Sat, 3 Sep 2005 15:29:11 -0600 Temat: Where can I get isapi.dll? Hi; I downloaded and installed 5.5 for windows on my system. Tomcat runs fine but I can't find isapi_redirector.dll anywhere in my install or on the jakarta site? Does anyone know where I can download it? (the 5.5 version.) Also, are there complete instructions anywhere for workers.properties? (and while uriworkermap.properties seems simple enough, if there are docs for that too can someone give me a url?) Thanks - dave David Thielen 303-499-2544 www.windwardreports.com http://www.windwardreports.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5 where is a hard-copy dtd reference?
Hello, Is there a quick reference, or somewhere one can go to get a listing of the element order for the 2.4 dtd? I already have a bunch of elements in my web.xml and I want to add a listener but I forgot where it goes and I can't seem to google it up today? Anyone know? Thanks, Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5 where is a hard-copy dtd reference?
2.4 doesn't use a DTD -- it uses a schema so order doesn't matter anymore. --David Scott Purcell wrote: Hello, Is there a quick reference, or somewhere one can go to get a listing of the element order for the 2.4 dtd? I already have a bunch of elements in my web.xml and I want to add a listener but I forgot where it goes and I can't seem to google it up today? Anyone know? Thanks, Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === David Smith Network Operations Supervisor Department of Entomology College of Agriculture Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5 where is a hard-copy dtd reference?
David Smith wrote: 2.4 doesn't use a DTD -- it uses a schema so order doesn't matter anymore. Using the schema does not necessarily mean order is not important. It is just the way it was designed. One thing that is strange is that the key/keyref constraints for servlet/filter names for definitions and mappings have been removed (they were there in earlier versions (though the version has not changed)). Anybody know why you can have a servlet or filter name in a mapping that has not been defined and yet have a valid web.xml? best, -Rob --David Scott Purcell wrote: Hello, Is there a quick reference, or somewhere one can go to get a listing of the element order for the 2.4 dtd? I already have a bunch of elements in my web.xml and I want to add a listener but I forgot where it goes and I can't seem to google it up today? Anyone know? Thanks, Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where can I find specs for ALL the xml tags that can be used in server.xml.
On Monday 29 Aug 2005 06:03, Anto Paul wrote: On 8/29/05, Alan Chandler [EMAIL PROTECTED] wrote: Where can I find specs for all the tags in server.xml I use these pages. it explains the elements used in the server.xml. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html No it doesn't it only describes SOME of them. I must admin not really searching 5.5 docs, because I am using 4.1, but I can't find the Resource tag described aywhere. It is important to get it right (basically because blindly following someone's recipe has not worked - so I need to understand the reasoning behind their recipe and correct it for my situation). In particular what do the attributes mean I have a similar issue with web.xml although at least there is a dtd for that which is reasonably well commented. Its just that some of the elements (like security-constraint are not well documented. -- Alan Chandler http://www.chandlerfamily.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where can I find specs for ALL the xml tags that can be used in server.xml.
From: Alan Chandler [mailto:[EMAIL PROTECTED] Subject: Re: Where can I find specs for ALL the xml tags that can be used in server.xml. I must admin not really searching 5.5 docs, because I am using 4.1, but I can't find the Resource tag described aywhere. Then you certainly should be looking at the 4.1 docs, since 5.5 configuration is noticeably different. The pages of interest for 4.1 include; http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.htm l http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html The Resource tag is fully described in the first link above. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where can I find specs for ALL the xml tags that can be used in server.xml.
On Monday 29 Aug 2005 14:55, Caldarale, Charles R wrote: From: Alan Chandler [mailto:[EMAIL PROTECTED] Subject: Re: Where can I find specs for ALL the xml tags that can be used in server.xml. Then you certainly should be looking at the 4.1 docs, since 5.5 configuration is noticeably different. The pages of interest for 4.1 include; http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.htm Thank you - I had scanned that document, but missed the reference to the resource tag. Unfortunately, it still doesn't specify what the auth=Container attribute means. -- Alan Chandler http://www.chandlerfamily.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where can I find specs for ALL the xml tags that can be used in server.xml.
From: Alan Chandler [mailto:[EMAIL PROTECTED] Subject: Re: Where can I find specs for ALL the xml tags that can be used in server.xml. Unfortunately, it still doesn't specify what the auth=Container attribute means. This is pretty clear to me: Specify whether the web Application code signs on to the corresponding resource manager programatically, or whether the Container will sign on to the resource manager on behalf of the application. It's a two-state flag indicating whether the application or Tomcat (the Container) is responsible for establishing a connection to the resource. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where can I find specs for ALL the xml tags that can be used in server.xml.
Where can I find specs for all the tags in server.xml In particular, trying to find out why I used to be able to access a JNDI datasource and now can't. All I did was move the resource ... tag from the local Context ... to the GlobalNamingResources. Move it back and it starts working again. -- Alan Chandler http://www.chandlerfamily.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where can I find specs for ALL the xml tags that can be used in server.xml.
On 8/29/05, Alan Chandler [EMAIL PROTECTED] wrote: Where can I find specs for all the tags in server.xml I use these pages. it explains the elements used in the server.xml. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html -- rgds Anto Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where Is A ...
Where is a exact example of how to do the jndi, jdbc datasource, and the reseorce ref necessary to get a database connection to a Oracle9i database from Tomcat 5.0.28? Gene [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where Is A ...
Le Vendredi 26 Août 2005 03:08, Eugene Poole a écrit : Where is a exact example of how to do the jndi, jdbc datasource, and the reseorce ref necessary to get a database connection to a Oracle9i database from Tomcat 5.0.28? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations section Oracle 8i juste below MYsql should fit your needs. Gene [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where Is A ...
Thanks, that's just what I needed. Gene [EMAIL PROTECTED] David Delbecq wrote: Le Vendredi 26 Août 2005 03:08, Eugene Poole a écrit : Where is a exact example of how to do the jndi, jdbc datasource, and the reseorce ref necessary to get a database connection to a Oracle9i database from Tomcat 5.0.28? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations section Oracle 8i juste below MYsql should fit your needs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Anyone familiar where SavedRequest class can be found?
server/lib/catalina.jar -Tim Mark Goking wrote: Anyone know which jar file this belongs? I found this article, and this could be the solution to retaining request parameters after logging in http://sourceforge.net/tracker/?group_id=59484atid=491164func=detaila id=766413 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Anyone familiar where SavedRequest class can be found?
Anyone know which jar file this belongs? I found this article, and this could be the solution to retaining request parameters after logging in http://sourceforge.net/tracker/?group_id=59484atid=491164func=detaila id=766413 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where do I put certs and keys
Where do certificates and keys go in Tomcat? I'm developing a Tomcat application that uses certificates and keys for authentication. Right now they are simply files that I have put in C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin so that they are found. This works, but I'm sure there is a better location to put them. Where are they supposed to go, where do you guys put them? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where to beging with secure mail
Can anyone tell me how to get my app, which uses java mail to get a secure session with my smtp resource as defined in my context file. Resource name=mail/Session auth=Container type=javax.mail.Session/ ResourceParams name=mail/Session parameternamemail.smtp.host/name value192.168.100.24/value/parameter parameternamemail.smtp.socketFactory.class/name valuejavax.net.ssl.SSLSocketFactory/value/parameter parameternamemail.smtp.socketFactory.fallback/name valuefalse/value/parameter parameternamemail.smtp.socketFactory.port/name value465/value/parameter /ResourceParams I get an error that my smtp is not communicating via SSL. Its an IIS box, but ill also need to do this on linux running sendmail in the near future. What I dont understand is the key generation process and how to configure ssl on the mail side. Any help or ref docs would be a great help. THanks -B
Re: Where is default logon.jsp for Tomcat Admin webapp?
CATALINA_BASE\server\webapps\admin\login.jsp ohaya wrote: Hi, When connecting to the Tomcat Admin webapp, a forms-based login page appears. The web.xml for admin has a login-config section that indicates that the login page is /login.jsp. However, I've looked all over my hard drive, and especially in the admin directory, and I can't find any such file. If I change the login-config section to /jimlogin.jsp, Tomcat seems to look for jimlogin.jsp in the admin directory, but does anyone know where the default login.jsp is located? Thanks, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where is default logon.jsp for Tomcat Admin webapp?
Mark, As I indicated in my original msg, on my installation of Tomcat (5.0.27), there is no login.jsp file in that location, or anywhere else on my hard drive. And yet, if I leave the login-config section of web.xml to the default, which is login.jsp, everything STILL seems to work. I've checked for hidden files, etc., but login.jsp just isn't there. That is why I'm asking my question... Jim Mark Thomas wrote: CATALINA_BASE\server\webapps\admin\login.jsp ohaya wrote: Hi, When connecting to the Tomcat Admin webapp, a forms-based login page appears. The web.xml for admin has a login-config section that indicates that the login page is /login.jsp. However, I've looked all over my hard drive, and especially in the admin directory, and I can't find any such file. If I change the login-config section to /jimlogin.jsp, Tomcat seems to look for jimlogin.jsp in the admin directory, but does anyone know where the default login.jsp is located? Thanks, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where is default logon.jsp for Tomcat Admin webapp?
From: ohaya [mailto:[EMAIL PROTECTED] Subject: Re: Where is default logon.jsp for Tomcat Admin webapp? As I indicated in my original msg, on my installation of Tomcat (5.0.27), there is no login.jsp file in that location, or anywhere else on my hard drive. For the admin app, jsps are pre-compiled. The class of interest is inside catalina-admin.jar, called login_jsp.class. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where is default logon.jsp for Tomcat Admin webapp?
Caldarale, Charles R wrote: From: ohaya [mailto:[EMAIL PROTECTED] Subject: Re: Where is default logon.jsp for Tomcat Admin webapp? As I indicated in my original msg, on my installation of Tomcat (5.0.27), there is no login.jsp file in that location, or anywhere else on my hard drive. For the admin app, jsps are pre-compiled. The class of interest is inside catalina-admin.jar, called login_jsp.class. Charles, AHHH! Mystery solved :)! Ok, that explains things... I've been able to enable my own replacement login page for admin (just for testing) by changing the name in login-config to say jimlogin.jsp and making my own jimlogin.jsp, and that works. If I don't want to use a different name for the login page (i.e., I still want to use login.jsp as the login page for admin, but use my own page, can I just put my own login.jsp in the admin directory and will my login.jsp then override the pre-compiled CLASS file? Thanks again! Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where is default logon.jsp for Tomcat Admin webapp?
Hi, When connecting to the Tomcat Admin webapp, a forms-based login page appears. The web.xml for admin has a login-config section that indicates that the login page is /login.jsp. However, I've looked all over my hard drive, and especially in the admin directory, and I can't find any such file. If I change the login-config section to /jimlogin.jsp, Tomcat seems to look for jimlogin.jsp in the admin directory, but does anyone know where the default login.jsp is located? Thanks, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where are my tomcat icons in Eclipse 3.1? How to use Tomcat with Maven and Eclipse 3.1?
Is there a more appropriate place to ask questions on tomcat and eclipse? I googled for some eclipse forums and found some, but they would not let me post to them. Anyway, I noticed that eclipse 3.0.1 has some nice little icons for starting and stopping eclipse. Under preferences it also has an entry for tomcat. Both these icons/buttons and the tree control entry under preferences are missing in Eclipse 3.1. This makes it very difficult to follow the tutorial on using maven with eclipse at http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIn tegration.html . Can anyone tell me how to get these features in eclipse 3.1? Thanks, Siegfried
Re: Where are my tomcat icons in Eclipse 3.1? How to use Tomcat with Maven and Eclipse 3.1?
Are you referring to the Sysdeo Tomcat launcher? This is an external plugin, not part of a fresh Eclise install, you have to install it manually. Otherwise: the tutorial is about the WTP. Have you installed it properly with all dependencies? In that case you can start your project with the projects context menu: run on server (or something like this. I don't have WTP here) hth Christoph Siegfried Heintze wrote: Is there a more appropriate place to ask questions on tomcat and eclipse? I googled for some eclipse forums and found some, but they would not let me post to them. Anyway, I noticed that eclipse 3.0.1 has some nice little icons for starting and stopping eclipse. Under preferences it also has an entry for tomcat. Both these icons/buttons and the tree control entry under preferences are missing in Eclipse 3.1. This makes it very difficult to follow the tutorial on using maven with eclipse at http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/MavenEclipseIn tegration.html . Can anyone tell me how to get these features in eclipse 3.1? Thanks, Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where can i see log trace logAbandoned
*bump*... I too would love someone to shed some light on this subject. Cheers, PST On 6/19/05, Anand Vijay [EMAIL PROTECTED] wrote: hi all When i say logAbandoned = true in data-source of struts-config.xml , it still does',nt trace abandoned connection .How can i achieve this and where can i see the log? Thanks Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
where can i see log trace logAbandoned
hi all When i say logAbandoned = true in data-source of struts-config.xml , it still does',nt trace abandoned connection .How can i achieve this and where can i see the log? Thanks Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where is Admintool?
Hi, Can someone help me. I am searching for the admintool and cannot find a download for it. Please help. HEB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where is Admintool?
http://apache.intissite.com/jakarta/tomcat-5/v5.5.9/bin/jakarta-tomcat-5.5.9-admin.tar.gz Look on this page under 5.5.9 the ninth bullet down has 5.5.9 Admin tar.gz The 10th one is the zip version. http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Doug - Original Message - From: Hugh Barrett [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Saturday, June 18, 2005 8:31 PM Subject: Where is Admintool? Hi, Can someone help me. I am searching for the admintool and cannot find a download for it. Please help. HEB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where do i place log4j
Marius Scurtescu wrote: teknokrat wrote: Normally I place log4j.jar with my webapp. However, I have a number of libraries that need to be shared across various webapps. These need to do logging as well. should i place a version of log4j in shared/lib? Should I still keep the versions in each WEB-INF/lib too? Where do i place the log4j.properties file for the shared libraries? Place it as usual in WEB-INF/classes. It doesn't matter where the library (jar) is loaded from as long as the code is executed by your web app. thanks Marius If there are multiple webapps with their own properties fiesl , will they interfere with one another? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where do i place log4j
On 6/13/05, teknokrat [EMAIL PROTECTED] wrote: Marius Scurtescu wrote: teknokrat wrote: Place it as usual in WEB-INF/classes. It doesn't matter where the library (jar) is loaded from as long as the code is executed by your web app. If there are multiple webapps with their own properties fiesl , will they interfere with one another? No, each app can have a different configuration in its own WEB-INF/classes/log4j.properties Guillaume - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the UNIX-type scripts?
OK, I think I found out why or at least how it happens and repeatedly reproduced it step-by-step. If you use knoppix + Konqueror, and open the .gz file directly as you downloaded with 'ark', it shows you repeated windows .bat files instead of the .sh ones. Maybe it is a 'knoppix + Konqueror + ark' issue and it does not apparently happen with the .zip version of the file. This is a weird one and I am curious as t what the heck could be possibly going on Albretch Quoting Mark Thomas [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. This is all I see: [EMAIL PROTECTED] bin]$ ls -l total 500 snip So, where are the UNIX-type scripts? I have just downloaded jakarta-tomcat-5.5.9.tar.gz and confirmed the *.sh files are all present in the tar ball. Did you use GNU tar to extract the files? Some verisons of tar do not do extract all of the files. I think there is some issue to do with path length. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where are the UNIX-type scripts?
Here are the savesets I used and I have all the scripts: jakarta-tomcat-5.5.9.tar.gz jakarta-tomcat-5.5.9-compat.tar.gz These files I grabbed were a binary distribution - already compiled and built. I'll bet the difference is, you built yours from source. Here are the files I have. I set this up on a Linux FC3 host: [EMAIL PROTECTED] bin]# cd $CATALINA_HOME/bin [EMAIL PROTECTED] bin]# ls -la total 1072 drwxr-xr-x 3 root root 4096 May 17 17:56 . drwxr-xr-x 11 root root 4096 May 17 17:56 .. -rw-r--r-- 1 root root 22547 Mar 26 13:22 bootstrap.jar -rw-r--r-- 1 root root 7684 Mar 26 13:22 catalina.bat -rwxr-xr-x 1 root root 10921 Mar 26 13:22 catalina.sh -rw-r--r-- 1 root root 9386 Mar 26 13:22 commons-daemon.jar -rw-r--r-- 1 root root 26202 Mar 26 13:22 commons-logging-api.jar -rw-r--r-- 1 root root511 Mar 26 13:22 cpappend.bat -rw-r--r-- 1 root root 1284 Mar 26 13:22 digest.bat -rwxr-xr-x 1 root root848 Mar 26 13:22 digest.sh -rw-r--r-- 1 root root 408051 Mar 26 13:22 jmx.jar -rwxr-xr-x 1 root root 76244 May 17 17:33 jsvc drwxr-xr-x 5 root root 4096 May 17 17:33 jsvc-src -rw-r--r-- 1 root root 73008 Mar 26 13:22 jsvc.tar.gz -rw-r--r-- 1 root root 3956 Mar 26 13:22 service.bat -rw-r--r-- 1 root root 2013 Mar 26 13:22 setclasspath.bat -rwxr-xr-x 1 root root 2788 Mar 26 13:22 setclasspath.sh -rw-r--r-- 1 root root 1273 Mar 26 13:22 shutdown.bat -rwxr-xr-x 1 root root787 Mar 26 13:22 shutdown.sh -rw-r--r-- 1 root root 1274 Mar 26 13:22 startup.bat -rwxr-xr-x 1 root root 1141 Mar 26 13:22 startup.sh -rw-r--r-- 1 root root 102400 Mar 26 13:23 tomcat5.exe -rw-r--r-- 1 root root 131072 Mar 26 13:23 tomcat5w.exe -rw-r--r-- 1 root root 12104 Mar 26 13:22 tomcat-juli.jar -rw-r--r-- 1 root root 2235 Mar 26 13:22 tool-wrapper.bat -rwxr-xr-x 1 root root 2549 Mar 26 13:22 tool-wrapper.sh -rw-r--r-- 1 root root 1280 Mar 26 13:22 version.bat -rw-r--r-- 1 root root790 Mar 26 13:22 version.sh [EMAIL PROTECTED] bin]# - Greg Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 11, 2005 4:23 PM To: Tomcat Users List Subject: Where are the UNIX-type scripts? I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. This is all I see: [EMAIL PROTECTED] bin]$ ls -l total 500 -rw-r--r-- 1 tcbox00 tcbox00 22547 Jun 11 09:10 bootstrap.jar -rw-r--r-- 1 tcbox00 tcbox00 7684 Jun 11 09:10 catalina.bat -rw-r--r-- 1 tcbox00 tcbox00 9386 Jun 11 09:10 commons-daemon.jar -rw-r--r-- 1 tcbox00 tcbox00 26202 Jun 11 09:10 commons-logging-api.jar -rw-r--r-- 1 tcbox00 tcbox00511 Jun 11 09:10 cpappend.bat -rw-r--r-- 1 tcbox00 tcbox00 1284 Jun 11 09:10 digest.bat -rw-r--r-- 1 tcbox00 tcbox00 73008 Jun 11 09:10 jsvc.tar.gz -rw-r--r-- 1 tcbox00 tcbox00 3956 Jun 11 09:10 service.bat -rw-r--r-- 1 tcbox00 tcbox00 2013 Jun 11 09:10 setclasspath.bat -rw-r--r-- 1 tcbox00 tcbox00 1273 Jun 11 09:10 shutdown.bat -rw-r--r-- 1 tcbox00 tcbox00 1274 Jun 11 09:10 startup.bat -rw-r--r-- 1 tcbox00 tcbox00 102400 Jun 11 09:10 tomcat5.exe -rw-r--r-- 1 tcbox00 tcbox00 131072 Jun 11 09:10 tomcat5w.exe -rw-r--r-- 1 tcbox00 tcbox00 12104 Jun 11 09:10 tomcat-juli.jar -rw-r--r-- 1 tcbox00 tcbox00 2235 Jun 11 09:10 tool-wrapper.bat -rw-r--r-- 1 tcbox00 tcbox00 1280 Jun 11 09:10 version.bat -rwxr-xr-x 1 tcbox00 tcbox00790 Jun 11 09:10 version.sh So, where are the UNIX-type scripts? Thanks Albretch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the UNIX-type scripts?
Let's try this again. I don't know why the list bounced my reply... - Greg Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 12, 2005 3:35 AM To: Greg Scott Subject: failure delivery Unable to deliver message to the following address(es) Tomcat Users List tomcat-user@jakarta.apache.org. Remote host said: 554 delivery error: This user doesn't have an account --- Original message follows. Here are the savesets I used and I have all the scripts: jakarta-tomcat-5.5.9.tar.gz jakarta-tomcat-5.5.9-compat.tar.gz These files I grabbed were a binary distribution - already compiled and built. I'll bet the difference is, you built yours from source. Here are the files I have. I set this up on a Linux FC3 host: [EMAIL PROTECTED] bin]# cd $CATALINA_HOME/bin [EMAIL PROTECTED] bin]# ls -la total 1072 drwxr-xr-x 3 root root 4096 May 17 17:56 . drwxr-xr-x 11 root root 4096 May 17 17:56 .. -rw-r--r-- 1 root root 22547 Mar 26 13:22 bootstrap.jar -rw-r--r-- 1 root root 7684 Mar 26 13:22 catalina.bat -rwxr-xr-x 1 root root 10921 Mar 26 13:22 catalina.sh -rw-r--r-- 1 root root 9386 Mar 26 13:22 commons-daemon.jar -rw-r--r-- 1 root root 26202 Mar 26 13:22 commons-logging-api.jar -rw-r--r-- 1 root root511 Mar 26 13:22 cpappend.bat -rw-r--r-- 1 root root 1284 Mar 26 13:22 digest.bat -rwxr-xr-x 1 root root848 Mar 26 13:22 digest.sh -rw-r--r-- 1 root root 408051 Mar 26 13:22 jmx.jar -rwxr-xr-x 1 root root 76244 May 17 17:33 jsvc drwxr-xr-x 5 root root 4096 May 17 17:33 jsvc-src -rw-r--r-- 1 root root 73008 Mar 26 13:22 jsvc.tar.gz -rw-r--r-- 1 root root 3956 Mar 26 13:22 service.bat -rw-r--r-- 1 root root 2013 Mar 26 13:22 setclasspath.bat -rwxr-xr-x 1 root root 2788 Mar 26 13:22 setclasspath.sh -rw-r--r-- 1 root root 1273 Mar 26 13:22 shutdown.bat -rwxr-xr-x 1 root root787 Mar 26 13:22 shutdown.sh -rw-r--r-- 1 root root 1274 Mar 26 13:22 startup.bat -rwxr-xr-x 1 root root 1141 Mar 26 13:22 startup.sh -rw-r--r-- 1 root root 102400 Mar 26 13:23 tomcat5.exe -rw-r--r-- 1 root root 131072 Mar 26 13:23 tomcat5w.exe -rw-r--r-- 1 root root 12104 Mar 26 13:22 tomcat-juli.jar -rw-r--r-- 1 root root 2235 Mar 26 13:22 tool-wrapper.bat -rwxr-xr-x 1 root root 2549 Mar 26 13:22 tool-wrapper.sh -rw-r--r-- 1 root root 1280 Mar 26 13:22 version.bat -rw-r--r-- 1 root root790 Mar 26 13:22 version.sh [EMAIL PROTECTED] bin]# - Greg Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 11, 2005 4:23 PM To: Tomcat Users List Subject: Where are the UNIX-type scripts? I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the UNIX-type scripts?
Its not the list bouncing your mail as I did get your mail as well as you would have. just ignore it and dont resend --- Greg Scott [EMAIL PROTECTED] wrote: Let's try this again. I don't know why the list bounced my reply... - Greg Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 12, 2005 3:35 AM To: Greg Scott Subject: failure delivery Unable to deliver message to the following address(es) Tomcat Users List tomcat-user@jakarta.apache.org. Remote host said: 554 delivery error: This user doesn't have an account --- Original message follows. Here are the savesets I used and I have all the scripts: jakarta-tomcat-5.5.9.tar.gz jakarta-tomcat-5.5.9-compat.tar.gz These files I grabbed were a binary distribution - already compiled and built. I'll bet the difference is, you built yours from source. Here are the files I have. I set this up on a Linux FC3 host: [EMAIL PROTECTED] bin]# cd $CATALINA_HOME/bin [EMAIL PROTECTED] bin]# ls -la total 1072 drwxr-xr-x 3 root root 4096 May 17 17:56 . drwxr-xr-x 11 root root 4096 May 17 17:56 .. -rw-r--r-- 1 root root 22547 Mar 26 13:22 bootstrap.jar -rw-r--r-- 1 root root 7684 Mar 26 13:22 catalina.bat -rwxr-xr-x 1 root root 10921 Mar 26 13:22 catalina.sh -rw-r--r-- 1 root root 9386 Mar 26 13:22 commons-daemon.jar -rw-r--r-- 1 root root 26202 Mar 26 13:22 commons-logging-api.jar -rw-r--r-- 1 root root511 Mar 26 13:22 cpappend.bat -rw-r--r-- 1 root root 1284 Mar 26 13:22 digest.bat -rwxr-xr-x 1 root root848 Mar 26 13:22 digest.sh -rw-r--r-- 1 root root 408051 Mar 26 13:22 jmx.jar -rwxr-xr-x 1 root root 76244 May 17 17:33 jsvc drwxr-xr-x 5 root root 4096 May 17 17:33 jsvc-src -rw-r--r-- 1 root root 73008 Mar 26 13:22 jsvc.tar.gz -rw-r--r-- 1 root root 3956 Mar 26 13:22 service.bat -rw-r--r-- 1 root root 2013 Mar 26 13:22 setclasspath.bat -rwxr-xr-x 1 root root 2788 Mar 26 13:22 setclasspath.sh -rw-r--r-- 1 root root 1273 Mar 26 13:22 shutdown.bat -rwxr-xr-x 1 root root787 Mar 26 13:22 shutdown.sh -rw-r--r-- 1 root root 1274 Mar 26 13:22 startup.bat -rwxr-xr-x 1 root root 1141 Mar 26 13:22 startup.sh -rw-r--r-- 1 root root 102400 Mar 26 13:23 tomcat5.exe -rw-r--r-- 1 root root 131072 Mar 26 13:23 tomcat5w.exe -rw-r--r-- 1 root root 12104 Mar 26 13:22 tomcat-juli.jar -rw-r--r-- 1 root root 2235 Mar 26 13:22 tool-wrapper.bat -rwxr-xr-x 1 root root 2549 Mar 26 13:22 tool-wrapper.sh -rw-r--r-- 1 root root 1280 Mar 26 13:22 version.bat -rw-r--r-- 1 root root790 Mar 26 13:22 version.sh [EMAIL PROTECTED] bin]# - Greg Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 11, 2005 4:23 PM To: Tomcat Users List Subject: Where are the UNIX-type scripts? I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Send instant messages to your online friends http://uk.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where are the UNIX-type scripts?
FYI. I didn't build mine from source Thanks Quoting Greg Scott [EMAIL PROTECTED]: Here are the savesets I used and I have all the scripts: jakarta-tomcat-5.5.9.tar.gz jakarta-tomcat-5.5.9-compat.tar.gz These files I grabbed were a binary distribution - already compiled and built. I'll bet the difference is, you built yours from source. Here are the files I have. I set this up on a Linux FC3 host: [EMAIL PROTECTED] bin]# cd $CATALINA_HOME/bin [EMAIL PROTECTED] bin]# ls -la total 1072 drwxr-xr-x 3 root root 4096 May 17 17:56 . drwxr-xr-x 11 root root 4096 May 17 17:56 .. -rw-r--r-- 1 root root 22547 Mar 26 13:22 bootstrap.jar -rw-r--r-- 1 root root 7684 Mar 26 13:22 catalina.bat -rwxr-xr-x 1 root root 10921 Mar 26 13:22 catalina.sh -rw-r--r-- 1 root root 9386 Mar 26 13:22 commons-daemon.jar -rw-r--r-- 1 root root 26202 Mar 26 13:22 commons-logging-api.jar -rw-r--r-- 1 root root511 Mar 26 13:22 cpappend.bat -rw-r--r-- 1 root root 1284 Mar 26 13:22 digest.bat -rwxr-xr-x 1 root root848 Mar 26 13:22 digest.sh -rw-r--r-- 1 root root 408051 Mar 26 13:22 jmx.jar -rwxr-xr-x 1 root root 76244 May 17 17:33 jsvc drwxr-xr-x 5 root root 4096 May 17 17:33 jsvc-src -rw-r--r-- 1 root root 73008 Mar 26 13:22 jsvc.tar.gz -rw-r--r-- 1 root root 3956 Mar 26 13:22 service.bat -rw-r--r-- 1 root root 2013 Mar 26 13:22 setclasspath.bat -rwxr-xr-x 1 root root 2788 Mar 26 13:22 setclasspath.sh -rw-r--r-- 1 root root 1273 Mar 26 13:22 shutdown.bat -rwxr-xr-x 1 root root787 Mar 26 13:22 shutdown.sh -rw-r--r-- 1 root root 1274 Mar 26 13:22 startup.bat -rwxr-xr-x 1 root root 1141 Mar 26 13:22 startup.sh -rw-r--r-- 1 root root 102400 Mar 26 13:23 tomcat5.exe -rw-r--r-- 1 root root 131072 Mar 26 13:23 tomcat5w.exe -rw-r--r-- 1 root root 12104 Mar 26 13:22 tomcat-juli.jar -rw-r--r-- 1 root root 2235 Mar 26 13:22 tool-wrapper.bat -rwxr-xr-x 1 root root 2549 Mar 26 13:22 tool-wrapper.sh -rw-r--r-- 1 root root 1280 Mar 26 13:22 version.bat -rw-r--r-- 1 root root790 Mar 26 13:22 version.sh [EMAIL PROTECTED] bin]# - Greg Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, June 11, 2005 4:23 PM To: Tomcat Users List Subject: Where are the UNIX-type scripts? I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. This is all I see: [EMAIL PROTECTED] bin]$ ls -l total 500 -rw-r--r-- 1 tcbox00 tcbox00 22547 Jun 11 09:10 bootstrap.jar -rw-r--r-- 1 tcbox00 tcbox00 7684 Jun 11 09:10 catalina.bat -rw-r--r-- 1 tcbox00 tcbox00 9386 Jun 11 09:10 commons-daemon.jar -rw-r--r-- 1 tcbox00 tcbox00 26202 Jun 11 09:10 commons-logging-api.jar -rw-r--r-- 1 tcbox00 tcbox00511 Jun 11 09:10 cpappend.bat -rw-r--r-- 1 tcbox00 tcbox00 1284 Jun 11 09:10 digest.bat -rw-r--r-- 1 tcbox00 tcbox00 73008 Jun 11 09:10 jsvc.tar.gz -rw-r--r-- 1 tcbox00 tcbox00 3956 Jun 11 09:10 service.bat -rw-r--r-- 1 tcbox00 tcbox00 2013 Jun 11 09:10 setclasspath.bat -rw-r--r-- 1 tcbox00 tcbox00 1273 Jun 11 09:10 shutdown.bat -rw-r--r-- 1 tcbox00 tcbox00 1274 Jun 11 09:10 startup.bat -rw-r--r-- 1 tcbox00 tcbox00 102400 Jun 11 09:10 tomcat5.exe -rw-r--r-- 1 tcbox00 tcbox00 131072 Jun 11 09:10 tomcat5w.exe -rw-r--r-- 1 tcbox00 tcbox00 12104 Jun 11 09:10 tomcat-juli.jar -rw-r--r-- 1 tcbox00 tcbox00 2235 Jun 11 09:10 tool-wrapper.bat -rw-r--r-- 1 tcbox00 tcbox00 1280 Jun 11 09:10 version.bat -rwxr-xr-x 1 tcbox00 tcbox00790 Jun 11 09:10 version.sh So, where are the UNIX-type scripts? Thanks Albretch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where are the UNIX-type scripts?
But the dates on your files are June 11 and the dates on mine are March 26. I don't have the exact URL where I downloaded mine, just navigated there from the Jakarta home page. - Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 12, 2005 1:39 PM To: Tomcat Users List Subject: RE: Where are the UNIX-type scripts? FYI. I didn't build mine from source Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the UNIX-type scripts?
[EMAIL PROTECTED] wrote: I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. This is all I see: [EMAIL PROTECTED] bin]$ ls -l total 500 snip So, where are the UNIX-type scripts? I have just downloaded jakarta-tomcat-5.5.9.tar.gz and confirmed the *.sh files are all present in the tar ball. Did you use GNU tar to extract the files? Some verisons of tar do not do extract all of the files. I think there is some issue to do with path length. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where are the UNIX-type scripts?
I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. This is all I see: [EMAIL PROTECTED] bin]$ ls -l total 500 -rw-r--r-- 1 tcbox00 tcbox00 22547 Jun 11 09:10 bootstrap.jar -rw-r--r-- 1 tcbox00 tcbox00 7684 Jun 11 09:10 catalina.bat -rw-r--r-- 1 tcbox00 tcbox00 9386 Jun 11 09:10 commons-daemon.jar -rw-r--r-- 1 tcbox00 tcbox00 26202 Jun 11 09:10 commons-logging-api.jar -rw-r--r-- 1 tcbox00 tcbox00511 Jun 11 09:10 cpappend.bat -rw-r--r-- 1 tcbox00 tcbox00 1284 Jun 11 09:10 digest.bat -rw-r--r-- 1 tcbox00 tcbox00 73008 Jun 11 09:10 jsvc.tar.gz -rw-r--r-- 1 tcbox00 tcbox00 3956 Jun 11 09:10 service.bat -rw-r--r-- 1 tcbox00 tcbox00 2013 Jun 11 09:10 setclasspath.bat -rw-r--r-- 1 tcbox00 tcbox00 1273 Jun 11 09:10 shutdown.bat -rw-r--r-- 1 tcbox00 tcbox00 1274 Jun 11 09:10 startup.bat -rw-r--r-- 1 tcbox00 tcbox00 102400 Jun 11 09:10 tomcat5.exe -rw-r--r-- 1 tcbox00 tcbox00 131072 Jun 11 09:10 tomcat5w.exe -rw-r--r-- 1 tcbox00 tcbox00 12104 Jun 11 09:10 tomcat-juli.jar -rw-r--r-- 1 tcbox00 tcbox00 2235 Jun 11 09:10 tool-wrapper.bat -rw-r--r-- 1 tcbox00 tcbox00 1280 Jun 11 09:10 version.bat -rwxr-xr-x 1 tcbox00 tcbox00790 Jun 11 09:10 version.sh So, where are the UNIX-type scripts? Thanks Albretch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the UNIX-type scripts?
Also if I try the only unix-like script, namely, version.sh, it looks for the other ones: [EMAIL PROTECTED] bin]$ ./version.sh Cannot find ./catalina.sh Albretch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the UNIX-type scripts?
Hi, 11Jun2005 @ 17:22 [EMAIL PROTECTED] thusly spake I recently downloaded the latest jakarta-tomcat-5.5.9.tar.gz installation files and set them up, but I can not find the startup.sh, catalina.sh, ... file. This is all I see: [EMAIL PROTECTED] bin]$ ls -l total 500 -rw-r--r-- 1 tcbox00 tcbox00 22547 Jun 11 09:10 bootstrap.jar -rw-r--r-- 1 tcbox00 tcbox00 7684 Jun 11 09:10 catalina.bat -rw-r--r-- 1 tcbox00 tcbox00 9386 Jun 11 09:10 commons-daemon.jar -rw-r--r-- 1 tcbox00 tcbox00 26202 Jun 11 09:10 commons-logging-api.jar -rw-r--r-- 1 tcbox00 tcbox00511 Jun 11 09:10 cpappend.bat -rw-r--r-- 1 tcbox00 tcbox00 1284 Jun 11 09:10 digest.bat -rw-r--r-- 1 tcbox00 tcbox00 73008 Jun 11 09:10 jsvc.tar.gz -rw-r--r-- 1 tcbox00 tcbox00 3956 Jun 11 09:10 service.bat -rw-r--r-- 1 tcbox00 tcbox00 2013 Jun 11 09:10 setclasspath.bat -rw-r--r-- 1 tcbox00 tcbox00 1273 Jun 11 09:10 shutdown.bat -rw-r--r-- 1 tcbox00 tcbox00 1274 Jun 11 09:10 startup.bat -rw-r--r-- 1 tcbox00 tcbox00 102400 Jun 11 09:10 tomcat5.exe -rw-r--r-- 1 tcbox00 tcbox00 131072 Jun 11 09:10 tomcat5w.exe -rw-r--r-- 1 tcbox00 tcbox00 12104 Jun 11 09:10 tomcat-juli.jar -rw-r--r-- 1 tcbox00 tcbox00 2235 Jun 11 09:10 tool-wrapper.bat -rw-r--r-- 1 tcbox00 tcbox00 1280 Jun 11 09:10 version.bat -rwxr-xr-x 1 tcbox00 tcbox00790 Jun 11 09:10 version.sh that's weird, I'd download it again and be sure you have the right tar.gz file. this is my bin directory: /~~~ 10:32:18|luke @bench [bin] ls -l total 452 -rw-r--r-- 1 luke luke 22547 Mar 27 04:52 bootstrap.jar -rwxr-xr-x 1 luke luke 2667 May 11 12:58 catalina.bat -rwxr-xr-x 1 luke luke 2311 May 11 12:58 catalina.sh -rw-r--r-- 1 luke luke 9386 Mar 27 04:52 commons-daemon.jar -rw-r--r-- 1 luke luke 26202 Mar 27 04:52 commons-logging-api.jar -rwxr-xr-x 1 luke luke511 Mar 27 04:52 cpappend.bat -rwxr-xr-x 1 luke luke 1284 Mar 27 04:52 digest.bat -rwxr-xr-x 1 luke luke848 Mar 27 04:52 digest.sh -rw-r--r-- 1 luke luke 73008 Mar 27 04:52 jsvc.tar.gz -rwxr-xr-x 1 luke luke 3956 Mar 27 04:52 service.bat -rwxr-xr-x 1 luke luke 2013 Mar 27 04:52 setclasspath.bat -rwxr-xr-x 1 luke luke 2788 Mar 27 04:52 setclasspath.sh -rwxr-xr-x 1 luke luke 1273 Mar 27 04:52 shutdown.bat -rwxr-xr-x 1 luke luke787 Mar 27 04:52 shutdown.sh -rwxr-xr-x 1 luke luke 1274 Mar 27 04:52 startup.bat -rwxr-xr-x 1 luke luke 1141 Mar 27 04:52 startup.sh -rw-r--r-- 1 luke luke 102400 Mar 27 04:53 tomcat5.exe -rw-r--r-- 1 luke luke 131072 Mar 27 04:53 tomcat5w.exe -rw-r--r-- 1 luke luke 12104 Mar 27 04:52 tomcat-juli.jar -rwxr-xr-x 1 luke luke 2235 Mar 27 04:52 tool-wrapper.bat -rwxr-xr-x 1 luke luke 2549 Mar 27 04:52 tool-wrapper.sh -rwxr-xr-x 1 luke luke 1280 Mar 27 04:52 version.bat -rwxr-xr-x 1 luke luke790 Mar 27 04:52 version.sh \ kind regards, Luke -- ._.. .| .| |.|/.|_ . .|__.|_|.|\.|_ . :61 421 276 282: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
where do i place log4j
Normally I place log4j.jar with my webapp. However, I have a number of libraries that need to be shared across various webapps. These need to do logging as well. should i place a version of log4j in shared/lib? Should I still keep the versions in each WEB-INF/lib too? Where do i place the log4j.properties file for the shared libraries? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where do i place log4j
hi, You would normally place any shared libraries (JARs) in the shared/lib folder only. If you also place it in your app/WEB-INF/lib then tomcat would complain. (wierd exceptions etc..) HTH, Anoop On 6/10/05, teknokrat [EMAIL PROTECTED] wrote: Normally I place log4j.jar with my webapp. However, I have a number of libraries that need to be shared across various webapps. These need to do logging as well. should i place a version of log4j in shared/lib? Should I still keep the versions in each WEB-INF/lib too? Where do i place the log4j.properties file for the shared libraries? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks and best regards, Anoop
Re: where do i place log4j
teknokrat wrote: Normally I place log4j.jar with my webapp. However, I have a number of libraries that need to be shared across various webapps. These need to do logging as well. should i place a version of log4j in shared/lib? Should I still keep the versions in each WEB-INF/lib too? Where do i place the log4j.properties file for the shared libraries? Place it as usual in WEB-INF/classes. It doesn't matter where the library (jar) is loaded from as long as the code is executed by your web app. thanks Marius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where is the compatibility package to download?
Hello, I'm trying to get Tomcat 5.5 running and I need to use Java 1.4.2. It seems I require the 'compatibility package' to make this happen. Exactly where is this available to download, i can't seem to find it. Thanks Dave
RE: Where is the compatibility package to download?
Main downloads page http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi See links at bottom of 5.5.9 section -Original Message- From: Dave Guzda [mailto:[EMAIL PROTECTED] Sent: Tuesday 31 May 2005 15:42 To: tomcat-user@jakarta.apache.org Subject: Where is the compatibility package to download? Hello, I'm trying to get Tomcat 5.5 running and I need to use Java 1.4.2. It seems I require the 'compatibility package' to make this happen. Exactly where is this available to download, i can't seem to find it. Thanks Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where can I download the admin package?
Hi, there, I got a message below so I just want to know where can I download the admin package. Suppose it's a java package? Or a standard .exe file need to run? == dump == Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. == dump == Besides, I also want to know if tomcat include apache httpd already so that I needn't to install another apache server, right? Thanks. Calvin _ Do You Yahoo!? http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where can I download the admin package?
I'm trying to beat Steve Kirk to the punch! There is an admin package .zip or tar.gz for the 5.x series available from a link on the following page: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Tomcat doesn't include apache. On 31 May 2005, Yuhui Liu wrote: Hi, there, I got a message below so I just want to know where can I download the admin package. Suppose it's a java package? Or a standard .exe file need to run? == dump == Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. == dump == Besides, I also want to know if tomcat include apache httpd already so that I needn't to install another apache server, right? Thanks. Calvin _ Do You Yahoo!? ÏÓÓÊÏä̫С£¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡ http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m. ht ml - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where can I download the admin package?
Although Tomcat doesn't include the httpd server it can itself display web pages so depending on what you are doing it may be enough. Ta Matt -Original Message- From: egan0019 [mailto:[EMAIL PROTECTED] Sent: 31 May 2005 16:30 To: Tomcat Users List Subject: Re: Where can I download the admin package? I'm trying to beat Steve Kirk to the punch! There is an admin package .zip or tar.gz for the 5.x series available from a link on the following page: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Tomcat doesn't include apache. On 31 May 2005, Yuhui Liu wrote: Hi, there, I got a message below so I just want to know where can I download the admin package. Suppose it's a java package? Or a standard .exe file need to run? == dump == Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. == dump == Besides, I also want to know if tomcat include apache httpd already so that I needn't to install another apache server, right? Thanks. Calvin _ Do You Yahoo!? ÏÓÓÊÏä̫С£¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡ http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m. ht ml - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where is the compatibility package to download?
Hi Dave, I've got it and will send it to you if you contact me directly. Dave -Original Message- From: Dave Guzda [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 31, 2005 7:42 AM To: tomcat-user@jakarta.apache.org Subject: Where is the compatibility package to download? Hello, I'm trying to get Tomcat 5.5 running and I need to use Java 1.4.2. It seems I require the 'compatibility package' to make this happen. Exactly where is this available to download, i can't seem to find it. Thanks Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where is the compatibility package to download?
Thanks Dave, but I found it... I had 'compatibility' in my mind and overlooked 'compat'. :) Now to get it working... Thanks for the quick replies - always impressive for a noob to the list ;) Dave - Original Message - From: David Short [EMAIL PROTECTED] To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Sent: Tuesday, May 31, 2005 11:49 AM Subject: RE: Where is the compatibility package to download? Hi Dave, I've got it and will send it to you if you contact me directly. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where can I download the admin package?
Yes it's there. I'm too careless. Thanks for help. Calvin egan0019 [EMAIL PROTECTED] : I'm trying to beat Steve Kirk to the punch! There is an admin package .zip or tar.gz for the 5.x series available from a link on the following page: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Tomcat doesn't include apache. On 31 May 2005, Yuhui Liu wrote: Hi, there, I got a message below so I just want to know where can I download the admin package. Suppose it's a java package? Or a standard .exe file need to run? == dump == Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. == dump == Besides, I also want to know if tomcat include apache httpd already so that I needn't to install another apache server, right? Thanks. Calvin _ Do You Yahoo!? http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m. ht ml - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do You Yahoo!?
Where are the results of a System.out.println command ?
I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28. That servlet has a System.out.println(userAgent ** : +userAgent); command. On my PC i found the result of the same command (and other) in the DOS window that logs the tomcat's processes (serving the same servlet). On the Mac i can't find any log ... I send the requests to the servlet with a browser, the parameters are in the URL (GET method). Thanks. -- Jean-Luc Douville GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the results of a System.out.println command ?
In general prefer the use of a logging system in your code (commons-logging or log4j for example). Concerning System.out, i guess for linux it's the same as for Mac, the System.out is redirected to the log file (logs/catalina.out by default) Le Lundi 30 Mai 2005 10:39, Jean-Luc Douville a écrit : I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28. That servlet has a System.out.println(userAgent ** : +userAgent); command. On my PC i found the result of the same command (and other) in the DOS window that logs the tomcat's processes (serving the same servlet). On the Mac i can't find any log ... I send the requests to the servlet with a browser, the parameters are in the URL (GET method). Thanks. -- Jean-Luc Douville GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the results of a System.out.println command ?
On May 30, 2005, at 10:53 AM, delbd wrote: In general prefer the use of a logging system in your code (commons-logging or log4j for example). Concerning System.out, i guess for linux it's the same as for Mac, the System.out is redirected to the log file (logs/catalina.out by default) Yes ... i didn't search correctly. Thank you ! Le Lundi 30 Mai 2005 10:39, Jean-Luc Douville a écrit : I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28. That servlet has a System.out.println(userAgent ** : +userAgent); command. On my PC i found the result of the same command (and other) in the DOS window that logs the tomcat's processes (serving the same servlet). On the Mac i can't find any log ... I send the requests to the servlet with a browser, the parameters are in the URL (GET method). Thanks. -- Jean-Luc Douville GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jean-Luc Douville GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the results of a System.out.println command ?
Jean-Luc Douville said: I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28. That servlet has a System.out.println(userAgent ** : +userAgent); command. On my PC i found the result of the same command (and other) in the DOS window that logs the tomcat's processes (serving the same servlet). On the Mac i can't find any log ... Doesn't System.out usually go to catalina.out in Tomcat's logs directory? I send the requests to the servlet with a browser, the parameters are in the URL (GET method). Thanks. -- Jean-Luc Douville GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where are the results of a System.out.println command ?
The results of System.out.println() are written to a file called catalina.out which you should find in your tomcat/logs directory. Rhino - Original Message - From: Jean-Luc Douville [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Monday, May 30, 2005 4:39 AM Subject: Where are the results of a System.out.println command ? I am running a servlet under Mac Os X Tomcat jakarta-tomcat-5.0.28. That servlet has a System.out.println(userAgent ** : +userAgent); command. On my PC i found the result of the same command (and other) in the DOS window that logs the tomcat's processes (serving the same servlet). On the Mac i can't find any log ... I send the requests to the servlet with a browser, the parameters are in the URL (GET method). Thanks. -- Jean-Luc Douville GRAVIR/iMAGIS,INRIA,ave de l'Europe, Montbonnot 38334 Saint Ismier Cedex Tel: (+33) 4.76.61.54.28 -- Fax: (+33) 4.76.61.54.40 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.2.0 - Release Date: 27/05/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.3.0 - Release Date: 30/05/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?
I am running out of memory when running some imaging ops with Tomcat 5.0.28 and need to set the java command with the attributes -Xms32m, -Xmx256m, and -Xrs. However, danged if I can figure out how to do that. I am using the simple startup.bat and shutdown.bat. Where is the place I plugin with those values? Thanks? -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?
Hi Jack, The answer is CATALINA_HOME/bin/catalina.sh CATALINA_OPTS=-Xmx512m -Xss1024k -XX:+PrintGCDetails -server ... Mit freundlichem Gruß / kind regards SBS ORS GD AHS OA42 Otto-Hahn-Ring 6 D - 81739 München Tel. (089) 636-41024 Fax (089) 636-49347 Dr. Aliye Edao mailto:[EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Dakota Jack [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Mai 2005 08:48 An: Tomcat Users List Betreff: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? I am running out of memory when running some imaging ops with Tomcat 5.0.28 and need to set the java command with the attributes -Xms32m, -Xmx256m, and -Xrs. However, danged if I can figure out how to do that. I am using the simple startup.bat and shutdown.bat. Where is the place I plugin with those values? Thanks? -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?
Jack, To use the batch files you need to set it as an Environment Variable. The catalina.bat file will the pick it up and add it to command line. If you are wanting to do some quick testing, I think you MAY be able to include it on the command line with startup.bat. I don't run on Windows so I can't test it. If you look in the catalina.bat you will see the comments at the top talking about the variables. If you look in startup.bat you will see where it picks up the command line variables. The .sh files are the nix OS equivalent to the Windows .bat files. Doug - Original Message - From: Edao, Aliye [EMAIL PROTECTED] To: Dakota Jack [EMAIL PROTECTED] Cc: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, May 23, 2005 2:57 AM Subject: AW: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? Hi Jack, The answer is CATALINA_HOME/bin/catalina.sh CATALINA_OPTS=-Xmx512m -Xss1024k -XX:+PrintGCDetails -server ... Mit freundlichem Gruß / kind regards SBS ORS GD AHS OA42 Otto-Hahn-Ring 6 D - 81739 München Tel. (089) 636-41024 Fax (089) 636-49347 Dr. Aliye Edao mailto:[EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Dakota Jack [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Mai 2005 08:48 An: Tomcat Users List Betreff: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? I am running out of memory when running some imaging ops with Tomcat 5.0.28 and need to set the java command with the attributes -Xms32m, -Xmx256m, and -Xrs. However, danged if I can figure out how to do that. I am using the simple startup.bat and shutdown.bat. Where is the place I plugin with those values? Thanks? -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?
Thanks for the assistance. I finally figured this out, for future people trying to find the same answer. The environmental variables at the top of catalina.bat can be set there. So, I added: SET CATALINA_OPTS=-Xms512m -Xmx512m -Xrs after rem rem CATALINA_OPTS (Optional) Java runtime options used when the start, rem stop, or run command is executed. rem in catalina.bat. On 5/23/05, Parsons Technical Services [EMAIL PROTECTED] wrote: Jack, To use the batch files you need to set it as an Environment Variable. The catalina.bat file will the pick it up and add it to command line. If you are wanting to do some quick testing, I think you MAY be able to include it on the command line with startup.bat. I don't run on Windows so I can't test it. If you look in the catalina.bat you will see the comments at the top talking about the variables. If you look in startup.bat you will see where it picks up the command line variables. The .sh files are the nix OS equivalent to the Windows .bat files. Doug - Original Message - From: Edao, Aliye [EMAIL PROTECTED] To: Dakota Jack [EMAIL PROTECTED] Cc: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, May 23, 2005 2:57 AM Subject: AW: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? Hi Jack, The answer is CATALINA_HOME/bin/catalina.sh CATALINA_OPTS=-Xmx512m -Xss1024k -XX:+PrintGCDetails -server ... Mit freundlichem Gruß / kind regards SBS ORS GD AHS OA42 Otto-Hahn-Ring 6 D - 81739 München Tel. (089) 636-41024 Fax (089) 636-49347 Dr. Aliye Edao mailto:[EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Dakota Jack [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Mai 2005 08:48 An: Tomcat Users List Betreff: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? I am running out of memory when running some imaging ops with Tomcat 5.0.28 and need to set the java command with the attributes -Xms32m, -Xmx256m, and -Xrs. However, danged if I can figure out how to do that. I am using the simple startup.bat and shutdown.bat. Where is the place I plugin with those values? Thanks? -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?
And just to let you know, should you ever need/want to run Tomcat as a service, it's a different story at that point. At least on Windows, those settings are stored in the registry. If you ever need to go down that road, I highly suggest a look at Tomcat Service Manager: http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=overview Of course, if your not on Windows or not running as a service, you already have your answer :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 23, 2005 10:11 am, Dakota Jack said: Thanks for the assistance. I finally figured this out, for future people trying to find the same answer. The environmental variables at the top of catalina.bat can be set there. So, I added: SET CATALINA_OPTS=-Xms512m -Xmx512m -Xrs after rem rem CATALINA_OPTS (Optional) Java runtime options used when the start, rem stop, or run command is executed. rem in catalina.bat. On 5/23/05, Parsons Technical Services [EMAIL PROTECTED] wrote: Jack, To use the batch files you need to set it as an Environment Variable. The catalina.bat file will the pick it up and add it to command line. If you are wanting to do some quick testing, I think you MAY be able to include it on the command line with startup.bat. I don't run on Windows so I can't test it. If you look in the catalina.bat you will see the comments at the top talking about the variables. If you look in startup.bat you will see where it picks up the command line variables. The .sh files are the nix OS equivalent to the Windows .bat files. Doug - Original Message - From: Edao, Aliye [EMAIL PROTECTED] To: Dakota Jack [EMAIL PROTECTED] Cc: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, May 23, 2005 2:57 AM Subject: AW: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? Hi Jack, The answer is CATALINA_HOME/bin/catalina.sh CATALINA_OPTS=-Xmx512m -Xss1024k -XX:+PrintGCDetails -server ... Mit freundlichem Gruß / kind regards SBS ORS GD AHS OA42 Otto-Hahn-Ring 6 D - 81739 München Tel. (089) 636-41024 Fax (089) 636-49347 Dr. Aliye Edao mailto:[EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Dakota Jack [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Mai 2005 08:48 An: Tomcat Users List Betreff: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? I am running out of memory when running some imaging ops with Tomcat 5.0.28 and need to set the java command with the attributes -Xms32m, -Xmx256m, and -Xrs. However, danged if I can figure out how to do that. I am using the simple startup.bat and shutdown.bat. Where is the place I plugin with those values? Thanks? -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?
Hi, again, Frank, Where can I get a copy of the code/binaries for Java Service Manager (the update of Tomcat Service Manager)? I went to this site but there seems to be no reference to any downloads. On 5/23/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: And just to let you know, should you ever need/want to run Tomcat as a service, it's a different story at that point. At least on Windows, those settings are stored in the registry. If you ever need to go down that road, I highly suggest a look at Tomcat Service Manager: http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=overview Of course, if your not on Windows or not running as a service, you already have your answer :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 23, 2005 10:11 am, Dakota Jack said: Thanks for the assistance. I finally figured this out, for future people trying to find the same answer. The environmental variables at the top of catalina.bat can be set there. So, I added: SET CATALINA_OPTS=-Xms512m -Xmx512m -Xrs after rem rem CATALINA_OPTS (Optional) Java runtime options used when the start, rem stop, or run command is executed. rem in catalina.bat. On 5/23/05, Parsons Technical Services [EMAIL PROTECTED] wrote: Jack, To use the batch files you need to set it as an Environment Variable. The catalina.bat file will the pick it up and add it to command line. If you are wanting to do some quick testing, I think you MAY be able to include it on the command line with startup.bat. I don't run on Windows so I can't test it. If you look in the catalina.bat you will see the comments at the top talking about the variables. If you look in startup.bat you will see where it picks up the command line variables. The .sh files are the nix OS equivalent to the Windows .bat files. Doug - Original Message - From: Edao, Aliye [EMAIL PROTECTED] To: Dakota Jack [EMAIL PROTECTED] Cc: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, May 23, 2005 2:57 AM Subject: AW: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? Hi Jack, The answer is CATALINA_HOME/bin/catalina.sh CATALINA_OPTS=-Xmx512m -Xss1024k -XX:+PrintGCDetails -server ... Mit freundlichem Gruß / kind regards SBS ORS GD AHS OA42 Otto-Hahn-Ring 6 D - 81739 München Tel. (089) 636-41024 Fax (089) 636-49347 Dr. Aliye Edao mailto:[EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Dakota Jack [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Mai 2005 08:48 An: Tomcat Users List Betreff: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? I am running out of memory when running some imaging ops with Tomcat 5.0.28 and need to set the java command with the attributes -Xms32m, -Xmx256m, and -Xrs. However, danged if I can figure out how to do that. I am using the simple startup.bat and shutdown.bat. Where is the place I plugin with those values? Thanks? -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files?
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=downloads -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 23, 2005 10:56 am, Dakota Jack said: Hi, again, Frank, Where can I get a copy of the code/binaries for Java Service Manager (the update of Tomcat Service Manager)? I went to this site but there seems to be no reference to any downloads. On 5/23/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: And just to let you know, should you ever need/want to run Tomcat as a service, it's a different story at that point. At least on Windows, those settings are stored in the registry. If you ever need to go down that road, I highly suggest a look at Tomcat Service Manager: http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=overview Of course, if your not on Windows or not running as a service, you already have your answer :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 23, 2005 10:11 am, Dakota Jack said: Thanks for the assistance. I finally figured this out, for future people trying to find the same answer. The environmental variables at the top of catalina.bat can be set there. So, I added: SET CATALINA_OPTS=-Xms512m -Xmx512m -Xrs after rem rem CATALINA_OPTS (Optional) Java runtime options used when the start, rem stop, or run command is executed. rem in catalina.bat. On 5/23/05, Parsons Technical Services [EMAIL PROTECTED] wrote: Jack, To use the batch files you need to set it as an Environment Variable. The catalina.bat file will the pick it up and add it to command line. If you are wanting to do some quick testing, I think you MAY be able to include it on the command line with startup.bat. I don't run on Windows so I can't test it. If you look in the catalina.bat you will see the comments at the top talking about the variables. If you look in startup.bat you will see where it picks up the command line variables. The .sh files are the nix OS equivalent to the Windows .bat files. Doug - Original Message - From: Edao, Aliye [EMAIL PROTECTED] To: Dakota Jack [EMAIL PROTECTED] Cc: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, May 23, 2005 2:57 AM Subject: AW: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? Hi Jack, The answer is CATALINA_HOME/bin/catalina.sh CATALINA_OPTS=-Xmx512m -Xss1024k -XX:+PrintGCDetails -server ... Mit freundlichem Gruß / kind regards SBS ORS GD AHS OA42 Otto-Hahn-Ring 6 D - 81739 München Tel. (089) 636-41024 Fax (089) 636-49347 Dr. Aliye Edao mailto:[EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Dakota Jack [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Mai 2005 08:48 An: Tomcat Users List Betreff: Where do -Xms32m, -Xmx256m, and -Xrs go in the Tomcat 5.0.28 batch files? I am running out of memory when running some imaging ops with Tomcat 5.0.28 and need to set the java command with the attributes -Xms32m, -Xmx256m, and -Xrs. However, danged if I can figure out how to do that. I am using the simple startup.bat and shutdown.bat. Where is the place I plugin with those values? Thanks? -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
where to change the webapp/ROOT setting?
Hello there, I've installed Apache2 and Tomcat5 on my PC (XP), and seperately they work fine. Then I installed JK2 to let Apache run JSPs, and there is the problem. Everything works fine, in the sense that I can run html files and Apache can run Tomcat, as I choose a .jsp to run, I get the error screen of Tomcat, saying that _The requested resource (/Time.jsp) is not available._ That file is in the server directory sth/html for Apache. If I copy that file in $TOMCAT_ROOT/webapps/ROOT/, then I can load it succesfully. So jsp pages are search for in that directory. Which setting in which file do I need to change so the Apache server directory is used instead of the tomcat one for JSP pages? Thanks, Bart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
off topic: Where to get a good tutorial about JSP.
Hello, where to get a good tutorial about JSP, please? TIA, Vinicius. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: off topic: Where to get a good tutorial about JSP.
Visit http://www.tucows.com/preview/350876.html Click on the link labeled "Free Eclipse JSP Editor". You will be taken toa webpage where you can download a copy (free license) of"NitroX JSP Editor - Professional Source Visual JSP Editor" = Developing JavaServer Pages ; Contributed by Joel Murach ; 2004-05-12 In this excerpt from chapter 4 of Joel Murach's Java Servlets and JSP,you'll learn how to develop a web application that consists of HTML pagesand JavaServer Pages (JSPs). As you will see, JSPs work fine as long as theamount of processing that's required for each page is limited. When youcomplete this chapter, you should be able to use JSPs to develop simple webapplications of your own. http://www.devshed.com/c/a/Java/Developing-JavaServer-Pages/ = Java Servlet and JSP Cookbook http://www.artima.com/chapters/book.jsp?num=92561 = JSP best practices* Follow these tips for reusable and easily maintainable JavaServer Pages http://www.javaworld.com/javaworld/jw-11-2001/jw-1130-jsp.html? = Javalobby - Sun Java, JSP and J2EE technology programming forums, software downloads, jobs and tutorials http://www.javalobby.org/ = Java Server Pages (JSP) Resources - Java Server Pages tutorials, books, articles and more. http://www.freeprogrammingresources.com/freejsp.html = JSP Insider - Online resource for JavaServer Pages (JSP), Servlets, and J2EE http://www.jspinsider.com/content/jspbuzz/2000-10-03.jsp = Free Programming Resources (Note: includes JSP resources) http://www.siliconbeachtraining.co.uk/resources/programming_resources.htm = javacoder.net( Discussions about server-side development including JSP and Servlet technology ) http://www.javacoder.net/forum/forum.jsp?forum=6 = JavaRanch(includes forum on JSP) http://www.javaranch.com = jGuru: Your view of the Java universe http://www.jguru.com = JSP, Servlets, Struts, and JSF Programming Resources http://resources.corejsp.com/ = * Barry KimelmanToronto, Ontario, Canada ---Original Message--- From: Vinicius Date: 05/13/05 19:18:33 To: Tomcat Users List Subject: off topic: Where to get a good tutorial about JSP. Hello, where to get a good tutorial about JSP, please? TIA, Vinicius. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: off topic: Where to get a good tutorial about JSP.
Hi, 13May2005 @ 20:18 Vinicius thusly spake where to get a good tutorial about JSP, please? Download the j2ee tutorial from sun, then from chapter 12 onwards. http://java.sun.com/j2ee/1.4/download-docs.html hth, Luke -- ._.. .| .| |.|/.|_ . .|__.|_|.|\.|_ . :61 421 276 282: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: off topic: Where to get a good tutorial about JSP.
I liked http://www.jspbook.com/index.jsp - There is a free download of this entire book on http://www.theserverside.com, you have to register to get it ( it's free ). It's not the most up_to_date book out there, but it helped me out when I was learning. On 5/13/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, 13May2005 @ 20:18 Vinicius thusly spake where to get a good tutorial about JSP, please? Download the j2ee tutorial from sun, then from chapter 12 onwards. http://java.sun.com/j2ee/1.4/download-docs.html hth, Luke -- ._.. .| .| |.|/.|_ . .|__.|_|.|\.|_ . :61 421 276 282: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put version information in war file?
On Wed, 11 May 2005 15:03:37 -0400 Henri Dupre [EMAIL PROTECTED] wrote: I was wondering what is the best place to put version information in a war file? I'd like to put a build version and date at built time to my application and have a way to retrieve them from the servlets. I'm used to add the META-INF Implementation-version tag with jar files but with Tomcat war files it doesn't work. Are there other standard places where to put version information? Henri. Hi, I use this mecanism and it works. I put version information in the META-INF/MANIFEST.MF of the war, then thanks to getServletContext().getResource(/META-INF/MANIFEST.MF), you can get this file and parse it. Regards. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Where to put version information in war file?
I was wondering what is the best place to put version information in a war file? I'd like to put a build version and date at built time to my application and have a way to retrieve them from the servlets. I'm used to add the META-INF Implementation-version tag with jar files but with Tomcat war files it doesn't work. Are there other standard places where to put version information? Henri. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where to put version information in war file?
Henri Dupre wrote: I was wondering what is the best place to put version information in a war file? I'd like to put a build version and date at built time to my application and have a way to retrieve them from the servlets. I'm used to add the META-INF Implementation-version tag with jar files but with Tomcat war files it doesn't work. Are there other standard places where to put version information? Henri. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] context-param is easy to access. You could put them in your web.xml file and access them from Servlets and JSPs. I'm not sure if there are any best pratices for it. Wade - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]