Need Help w. Servlet Images.
Can someone/somebody please tell me just how exactly I go about viewing an image using both of the FileInputStream and the FileOutputStream classes in connection with the method getRealPath()?? I have been failing to view the images due to always getting a java.lang.NullPointerException every time that I try to see the images in my browser. ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ROOT Problem
Shapira, how do you successfully use the autodeploy feature in tomcat version 5.5.1 anyway???!!! I have done the usual editing of the conf/server.xml file to specify ContextDefault reloadable=true /, but alas, after I did this, it won't re-start the context for me!!! Can you help please? Shapira, Yoav wrote: Hi, You have autoDeploy enabled (this is the default). Turn it off by modifying the Host element in your server.xml. Yoav Shapira Millennium Research Informatics -Original Message- From: e-Denton Subscriber [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:08 PM To: Tomcat Users List Subject: ROOT Problem Hi, I set my context to use my app as the default app: Context displayName=e-Denton Portal Application docBase=e-Denton path= reloadable=true useNaming=true debug=5 It does call my app with this URL http://127.0.0.1:8080/, but it also starts up the app in /e-Denton. In other words, it is running both as the default app and as its own app. What am I doing wrong? Thx. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ROOT Problem
Shapira, re. me not being heard from in a while in this group, I have actually been trying to get one of my posts seen for the past 1 -2 weeks, so it's really nice to FINALLY get a response from someone!! and then as to tomcat re-loading, I meant to say DefaultContext = ...!! So how DO you get tomcat v. 5.5.1 to reload???! Shapira, Yoav wrote: Hi, -Original Message- From: Steve R. Burrus [mailto:[EMAIL PROTECTED] It's been a while since I've seen you on this list ;) Shapira, how do you successfully use the autodeploy feature in tomcat version 5.5.1 anyway???!!! You download the distribution and unzip it. I have done the usual editing of the conf/server.xml file to specify ContextDefault reloadable=true /, You might want to RTFM. ContextDefault was never a valid Tomcat configuration element, DefaultContext was valid up to 5.0 but is invalid in 5.5. Yoav
How to get tomcat 5.5.1 to re-start
Can anyone/anybody please tell me just how exactly I can go about getting Tomcat version 5.5.1 to re-start it's context???!! It doesn't seem to wanna do it thru the old method of editing the server.xml file with DefaultContext reloadable=true /!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: jsp:useBean error
well khalid, u haven't seen fit to respond to me yet, so consider this to be yer "light a fire under you" email!!! Here again is the 505 server error page, as I saw it! And, I will also send you again the 2 files which I have been trying/attempting to work with in JBuilder 8 Enterprise Trial!! So here is the 505 error page and following that is one of the 2 files, the LDAPAuthBean.java javabean, and as a file attachment, the login.jsp file. Please try to respond to me with some useful advice about how I can successfully execute this JSP, because it doesn't look too much like anyoneelse in this newsgroup much feels like doing so, sad to say! Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Errortype Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.An error occurred at line: 2 in the jsp file: /login.jsp Generated servlet error:C:\Documents and Settings\Steven R. Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java:60: Class org.apache.jsp.LDAPAuthBean not found. LDAPAuthBean auth = null; ^ An error occurred at line: 2 in the jsp file: /login.jsp Generated servlet error:C:\Documents and Settings\Steven R. Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java:63: Class org.apache.jsp.LDAPAuthBean not found. auth= (LDAPAuthBean) ^ An error occurred at line: 2 in the jsp file: /login.jsp Generated servlet error:C:\Documents and Settings\Steven R. Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java:68: Class org.apache.jsp.LDAPAuthBean not found. auth = (LDAPAuthBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LDAPAuthBean"); ^Note: C:\Documents and Settings\Steven R. Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java uses or overrides a deprecated API. Recompile with "-deprecation" for details.3 errors, 2 warnings at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Er! rorDispatcherValve.java:170)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)at java.lang.Thread.run(Thread.java:536)What can you make of this anyway??? I have also included for your "edification" the 2 files which I have been working with in JBuilder 8. Thanx in advance for any help! import java.util.*; import javax.naming.*;
RE: jsp:useBean error
Hi Flip, it seems like I really don't get back to posting in this newsgroup of ours' before midnite :), but anyway, here is the particular war file which you went out yer way to request of me!! I think that there is something to the solution which I have received from at least 2 other people to put the class in question into some kind of a package!! The only thing is that, as I have already stated, I am trying/attempting to work in the JBuilder 8 Enterprise Trial app., and I am just wondering if there is something special that I have to do in that app. to do the job of packaging up the class, if you are yourself some kind of a semi-expert in using JBuilder I don'tknow. Well anyway, here is the war file attached to this that you wanted to see. Thank you. thirdjavaproj.war Description: thirdjavaproj.war - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsp:useBean error
Hi Khalid, I am having roughly the very same problem which u seem to be encountering right now w. your jsp!! I have login.jsp that uses a log-in authorization java bean to authenticate a user login! But, when I try to see the jsp in JBuilder 8 Enterprise, which I am using as my Java IDE, and using a version 4.0.6 of Tomcat to view it, all that I have gotten has been a 505 server error!! Either any commiseration for me OR maybe some useful help/advice?
RE: jsp:useBean error
well khalid, I don't know at all if u are still up as I write this to you, but in response to your question of me, here is a "screen dump" of the 505 server error page that i seem to consistently get when i try/attempt to view the login.jsp in question! Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Errortype Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 2 in the jsp file: /login.jsp Generated servlet error:C:\Documents and Settings\Steven R. Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java:60: Class org.apache.jsp.LDAPAuthBean not found. LDAPAuthBean auth = null; ^ An error occurred at line: 2 in the jsp file: /login.jsp Generated servlet error:C:\Documents and Settings\Steven R. Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java:63: Class org.apache.jsp.LDAPAuthBean not found. auth= (LDAPAuthBean) ^ An error occurred at line: 2 in the jsp file: /login.jsp Generated servlet error:C:\Documents and Settings\Steven R. Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java:68: Class org.apache.jsp.LDAPAuthBean not found. auth = (LDAPAuthBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "LDAPAuthBean"); ^Note: C:\Documents and Settings\Steven R. Burrus\jbproject\thirdjavaproj\Tomcat\work\login$jsp.java uses or overrides a deprecated API. Recompile with "-deprecation" for details.3 errors, 2 warnings at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)at java.lang.Thread.run(Thread.java:536)What can you make of this anyway??? I have also included for your "edification" the 2 files which I have been working with in JBuilder 8. Thanx in advance for any help! import java.util.*; import javax.naming.*; import javax.naming.directory.*; public class LDAPAuthBean { private static final String CTXINIT = com.sun.jndi.ldap.LdapCtxFactory; private static final String CTXURL = ldap://ldap.javadesktop.com:389;; private static final String CTXBASE = o=JavaDesktop; private static final String CTXAUTH = DIGEST-MD5
Re: troubleshooting web.xml
Hi Erik, I need some help w. the very same problem which you have seemed to encounter, that is my utter ability to see/view successfully a servlet in my web browser!!! Now, you say that u edit the various servlet tags in the web.xml file!! How do you go about editing the servlet name and servlet class tags anyway? Cannot do it!! __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Can't find servlet
David, how do you do that servlet mapping thing anyway???! I STILL haven't seen one servlet using Tomcat to view it with, sad to say!! And, while you are hopefully answering me, tell me just how exactly I edit the web.xml file for the servlet name and class tags please. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
What about the Context tag?
Hello there, newbie finds himself in some need of help with using the Context tag!! I happen to have a server-side Java programming book that tells the reader to edit this tag in the server.xml file with the specific context path for the servlet to be seen in the browser, HOWEVER I have noticed that some in this group have said that this whole file should just be left alone, that Tomcat could somehow magically find the correct path for the servlet! Who is right about this anyway?! __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: servlet with Tomcat
Hi Ralph, whoever the hell you are, or supposed to be! Why do you damned people always have such a holier-than-thou attitude towards people like myself who want nothing more or less than to have our questions answered!!! I'm quite sorry if I didn't seem to ask the questions just the way in which you wanted me to ask them!! You know what they say Different strokes for different folks!!! I wish that you could believe me when I say that I have tried to ask the quesions in the most civilized and dignified way possible, and I FEEL QUITE SORRY FOR YOU AND OTHERS if you cannot find it in yer heart to forgive me one more time! __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: servlet with Tomcat
Nicola, even though you seem to communicate in some broken English, I can still understand the gist of what you said in your post, that you are encountering some trouble/problems with trying to see either a servlet or a JSP in your web browser!! I wanna tell u that I am having the very same problems myself, and that I am also quite a newbie at trying to Tomcat to see the servlets/jsp's. Are you able to view any of the supplied examples successfully that came with the Tomcat installation of yours'???! I can see the code easily enough, BUT I cannot seem to see the actual servlets at all! Now whaup with that anyway? Can you please point me in the right direction as far as seeing these servlet examples goes? It would be like one newbie [you] helping out another newbie [me], but that's OK in the whole grand scheme of things :) And if you could also throw in, for my benefit, any advice that you might have on using the servlet-mapping tag that's in the web.xml file, as u know. I am still having all kinds of problems with editing that file. What should be specified for the servlet-name and the servlet-class tags? Thanx in advance. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: servlet with Tomcat
Nicole, that's really fine and good that you bothered to send me a web page that purportedly offers me some free advice on how the hell I go about seeing/viewing a compiled servlet, BUT I really thought that you could, if you would please, directly give some help on editing that web.xml file! __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: servlet with Tomcat
No, I am very definitely NOT a newbie to manners, whoever you are!! Are you a newbie to tomcat or a newbie to manners, Steve? I just simply wanted for someone to tell me how exactly I go about editing the web.xml file so I can then see/view a servlet in my browser! If that offends anyone (and I don't see how it possibly could), then I am sorry!! __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need help w. servlet mapping tag.
Hello all, I need help with setting the servlet tags as contained in the web.xml file to be able to FINALLY see/view either a JSP or a Servlet!! When I start up Tomcat, I seem to get this damn error msg. : SEVERE: Parse Error at line 14 column 46: The content of element type servlet-m apping is incomplete, it must match (servlet-name,url-pattern). org.xml.sax.SAXParseException: The content of element type servlet-mapping is incomplete, it must match (servlet-name,url-pattern). at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Er rorHandlerWrapper.java:232) at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper. java:173) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter. java:371) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter. java:305) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDVal idator.java:1918) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator .java:851) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( XMLDocumentFragmentScannerImpl.java:1008) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM LDocumentFragmentScannerImpl.java:329) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:525) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav a:581) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j ava:1175) at org.apache.commons.digester.Digester.parse(Digester.java:1495) at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo nfig.java:282) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63 9) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi g.java:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 567) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347 ) at org.apache.catalina.core.StandardService.start(StandardService.java:4 97) at org.apache.catalina.core.StandardServer.start(StandardServer.java:218 9) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Jan 10, 2003 8:42:08 PM org.apache.commons.digester.Digester endElement SEVERE: End event threw exception java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav a:228) at org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:49 1) at org.apache.commons.digester.Digester.endElement(Digester.java:1036) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXPar ser.java:585) at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBind er.java:647) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDVal idator.java:1937) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator .java:851) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( XMLDocumentFragmentScannerImpl.java:1008) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM LDocumentFragmentScannerImpl.java:329) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
Re: Need help w. servlet mapping tag.
Dear Shawn, Hi I have never heard from u ever before, but here in all of its' glory is the web.xml file in question. Happy Reading! __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameTomcat Examples/display-name description Tomcat Example servlets and JSP pages. /description !-- Define servlet-mapped and path-mapped example filters -- filter filter-nameServlet Mapped Filter/filter-name filter-classfilters.ExampleFilter/filter-class init-param param-nameattribute/param-name param-valuefilters.ExampleFilter.SERVLET_MAPPED/param-value /init-param /filter filter filter-namePath Mapped Filter/filter-name filter-classfilters.ExampleFilter/filter-class init-param param-nameattribute/param-name param-valuefilters.ExampleFilter.PATH_MAPPED/param-value /init-param /filter filter filter-nameRequest Dumper Filter/filter-name filter-classfilters.RequestDumperFilter/filter-class /filter !-- Example filter to set character encoding on each request -- filter filter-nameSet Character Encoding/filter-name filter-classfilters.SetCharacterEncodingFilter/filter-class init-param param-nameencoding/param-name param-valueEUC_JP/param-value /init-param /filter filter filter-nameCompression Filter/filter-name filter-classcompressionFilters.CompressionFilter/filter-class init-param param-namecompressionThreshold/param-name param-value10/param-value /init-param init-param param-namedebug/param-name param-value0/param-value /init-param /filter !-- Define filter mappings for the defined filters -- filter-mapping filter-nameServlet Mapped Filter/filter-name servlet-nameinvoker/servlet-name /filter-mapping filter-mapping filter-namePath Mapped Filter/filter-name url-pattern/servlet/*/url-pattern /filter-mapping !-- Example filter mapping to apply the Set Character Encoding filter to *all* requests processed by this web application -- !-- filter-mapping filter-nameSet Character Encoding/filter-name url-pattern/*/url-pattern /filter-mapping -- !-- filter-mapping filter-nameCompression Filter/filter-name url-pattern/CompressionTest/url-pattern /filter-mapping -- !-- filter-mapping filter-nameRequest Dumper Filter/filter-name url-pattern/*/url-pattern /filter-mapping -- !-- Define example application events listeners -- listener listener-classlisteners.ContextListener/listener-class /listener listener listener-classlisteners.SessionListener/listener-class /listener !-- Define servlets that are included in the example application -- servlet servlet-nameSendMailServlet/servlet-name servlet-classSendMailServlet/servlet-class /servlet servlet servlet-name snoop /servlet-name servlet-class SnoopServlet /servlet-class !-- init-param param-namefoo/param-name param-valuebar/param-value /init-param -- run-as descriptionSecurity role for anonymous access/description role-nametomcat/role-name /run-as /servlet servlet servlet-name servletToJsp /servlet-name servlet-class servletToJsp /servlet-class /servlet servlet servlet-name CompressionFilterTestServlet /servlet-name servlet-class compressionFilters.CompressionFilterTestServlet /servlet-class /servlet servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping servlet-mapping servlet-name CompressionFilterTestServlet /servlet-name url-pattern /CompressionTest /url-pattern /servlet-mapping servlet-mapping servlet-nameSendMailServlet/servlet-name url-pattern/SendMailServlet/url-pattern /servlet-mapping servlet-mapping servlet-name snoop /servlet-name url-pattern /snoop /url-pattern /servlet-mapping servlet-mapping servlet-name servletToJsp /servlet-name url-pattern /servletToJsp /url-pattern /servlet-mapping taglib taglib-uri http://jakarta.apache.org/tomcat/debug-taglib /taglib-uri
Re: Tomcat Still Doesn't Display Servlet!
Paul, just a quick note to you to tell u that the link that you supplied me with to go to the documentation for Tomcat doesn't work at all on my system with http://boats:8080 etc.!!! It's of course supposed to be http://localhost:8080 etc.!! Anyway, can you give me some guidance please on exactly you handle the servlet-mapping tag in the web.xml file, i.e., what you put in for the uri for the servlet. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat Still Doesn't Display Servlet!
Hello all, maybe I am beating a dead horse or something about trying/attempting to see or view a servlet/JSP in my favorite web browser, but I STILL CANNOT DO IT!!! Is it just me, am I the only one among all of the rest of you out there who just flat doesn't get it about being to see a servlet???!! I have tried to edit the C:\[TOMCAT-ROOT]\conf\server.xml file to enable me to do so, but so far, without any success whatsoever! I looked over the big old configuration file for the Context-Manager/Context-Manager tag where one book I have on server-side Java programming instructed me to put the context path for the servlet, but couldn't find it at all. I do remember one member of our group told me some time ago NOT to edit the server.xml, saying that Tomcat would somehow know how to handle this context path. Any last moment suggestions for me from anyone about this problem would be appreciated right before i abandon the idea forever of getting it right with this. It IS the server.xml file that I edit, and NOT the web.xml, right? I leave you with that softball quesion which anyone can answer, I'm sure. __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need help w. viewing Servlet!!
Hello everyone, I need some help/assistance with trying to see a Servlet in my Tomcat v. 4.1.16!!! It is a simple log on page with a text box for the user's name and also for the email addrr. When I click on the Submit button after filling in both fields, the next page indicates a damn server error, i.e., HTTP Server Errror 404, indicating that the requested resource was not found by the server!!! I think that it is saying that the required class bearing the particular name was not found, for some reason!! I have gone into the web.xml file to do some heavy [sic] editing of it, such as putting in the servlet name and the servlet class, but alas, to no avail so far! It is driving me absolutely crazy that I cannot seem to even be able to view this rather simple servlet. Then again, maybe it shouldn't, in that I am admittedly the very newest of the Newbies out there first trying to get involved with creating these components of the J2EE API like Servlets and Java Server Pages. And I will cut off anyone who suggests a good book on the J2EE to me because I really am NOT looking for a book to read to help me out with this problem. NO, I am looking for some hard and useful advice from someone. Capiche? ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!
Re: need help w. viewing servlet
Hello everyone, I need some help/assistance with trying to see a Servlet in my Tomcat v. 4.1.16!!! It is a simple log on page with a text box for the user's name and also for the email addrr. When I click on the Submit button after filling in both fields, the next page indicates a damn server error, i.e., HTTP Server Errror 404, indicating that the requested resource was not found by the server!!! I think that it is saying that the required class bearing the particular name was not found, for some reason!! I have gone into the web.xml file to do some heavy [sic] editing of it, such as putting in the servlet name and the servlet class, but alas, to no avail so far! It is driving me absolutely crazy that I cannot seem to even be able to view this rather simple servlet. Then again, maybe it shouldn't, in that I am admittedly the very newest of the Newbies out there first trying to get involved with creating these components of the J2EE API like Servlets and Java Server Pages. And I will cut off anyone who suggests a good book on the J2EE to me because I really am NOT looking for a book to read to help me out with this problem. NO, I am looking for some hard and useful advice from someone. Capiche? Oh, and if anyone has the book entitled Professional Java Server Programming J2EE Edition by a whole variety of authors by Wrox Publishing, I am referring to the GreetingServlet.java program in Chapter 7. Thank you. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: need help w. viewing servlet
Hello John, I will wisely ignore all of the damned admonitions that you saw fit to sort of dish out to me (stuff that you have certainly said to me before!)and acknowledge your Happy New Year wish you ended your email msg. on! Listen, there IS one, and just one criticsm of me that I will go along with, and that is that I just flat don't give enough detail of what the problem is exactly to everyone else in our newsgroup!! That's why I am including in this email message the html page that is the servlet in question, which as I have said before, is nothing but a logon page with 2 textboxes. One is for the user's name, and the other one is for the user's email address. I am quite sorry that I was not allowed/permitted to save the server error [the 404 server error] page for some reason. And I will try to include the so-called heavy editing that I mentioned in my first post of the web.xml file in a later posting to our little newsgroup because I really don't believe, in my subjective opinion, that it's all that important, to be frank and honest (which I am always am :) ). I mean, the little bit of editing of it that I have done with other JSP's/servlets in the past has not yielded any successful results at all. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: need help w. viewing servlet
Okay Noel, this posting of mine this time is for you. You said earlier that you didn't get the servlet page html file. Well, here it is again, and also it let me save the server error [html server 404] page for the GreetingServlet.java program, so I present that to you also! Listen, would you please, please go into more about editing the web.xml file??? i really am just a damned novice when it comes to trying to edit this file! And, I also take back my earlier pronouncement that this file wasn't really too important. Nothing can possibly be further away from the truth, I have come to realize. It is the very controlling file that gets either the Servlet or the Java Server Page to function or operate properly, at least while trying to use tomcat to see the JSP/Servlet. Would you kindly tell me a lot more about the servlet-mapping tag and how it should be used to its' full potential to see a servlet in my web browser. Yes, I will eat a lot of humble pie in backing down from my previous position that this file wasn't important. I am appealing to you now, Noel, because you seem to be such an expert on these matters. :) __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: need help w. viewing servlet
Hi Noel. I read your email message about what I should put into the web.xml file, specificly in the servlet-mapping tag, and I have a question for you, and that is you say that I could have a package org.burrus under the classes folder, and then in that package I could put the GreetingServlet servlet. What I actually have is, i.e., my path is: C:\jakarta-tomcat-4.1.16\webapps\greeting\Web-inf\classes\GreetingServlet.class. If there is something basicly wrong with this path, then would you please straighten me out about what it should be? Thanx in advance. __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Newbie: Java Mail Problem
David, u might call or label yourself a Newbie, but you got me beat on being able to connect Tomcat to the Apache Server!! How the hell do you do it?!! Incidentally, I have the version 4.1.16 of tomcat, and the version 2.04* of the Apache HTTP server FYI! __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to configure JNDI resource with connection pool?
Hello Puneet, aren't u a Christian??? What the hell do u mean anyway, Enjoy the day(Bara -Din) in a bindas style? I personally don't believe in taking even today off, lemme tell you. It's just another day in the year!! puneet sachar wrote: To All, Jai shri Ram, Merry christmax..to all. Enjoy the day(Bara -Din) in a bindas style and spread love and peace. Regards Puneet Sachar __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Y Haven't I Gotten Your Postings??
This is a mercifully brief/short msg. I was just wondering why in the hell am I not receiving your newsgroup postings recently?!! Has someone unsubscribed me from the group or something? :) __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HELP!! Tomcat crashes on me!
Hi Rasputin, lemme clue you in to the fact that I HAVE gotten Tomcat 4.1.16 [version] to run successfully/smoothly by now!!! I posted that fact to the newsgroup late last nite, guess that you just haven't seen it yet! And as for me abusing other people please try not to shout abuse at people who are trying to help you,..., I guess that I was yesterday on Micael's case about the way that I percived him to be all the time with other people in the newsgroup!!! I thought that he received my CONSTRUCTIVE CRITICISM rather well, wish that you could also take it that way. :) * wrote:From: Rasputin [mailto: [EMAIL PROTECTED]]To: [EMAIL PROTECTED]: Tue, 3 Dec 2002 12:20:10 +Subject: Re: HELP!! Tomcat crashes on me!* Steve R. Burrus [1201 05:01]: Kwok, the so-called crash is like it just flat disappearing on me!!! I mean, it's like puff, like up in smoke so to speak!! Right, and it's given you an error that explains your server.xml is invalid. Since it seems to work out of the box for many people, I'm guessing you've edited it. Why not try reinstalling, and this time, don't edit the server.xml file - as other people have mentioned, you shouldn't need to. If it doesn't work, then try examining the logs to see why, and post any errors you see there. And please try not to shout abuse at people who are trying to help you, it means people who could help you instead set their mailers to ignore you. Cheers. -- Rasputin :: Jack of All Trades - Master of Nuns -- To unsubscribe, e-mail: For additional commands, e-mail: ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!
Tomcat BOOK List Request
Hello, as Micael wanted me to do, I am making a formal request of the group of any and all good books on Tomcat technology! I want books specifically on the subject of deploying either JSP's and/or Servlets in the Tomcat container. I have gone WAY TOO DAMN LONG now with an utter inability to do this! __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HELP!! Tomcat crashes on me!
Micael, before I refer to my problem w. Tomcat NOT starting the correct/right way for me, I MUST point out something about u (And I frankly don't care at all if this observation of you gets my emails in the future filtered out of your inbox or not!!) and that is that you are WAY TOO DAMNED ABRUPT and almost demanding in the way that you seem to deal with everyone else in this newsgroup of ours!!! I mean, in your last posting dealing with my problem, you had to say that the problem was with the Context tag in the C:\jakarta-tomcat-4.1.12\conf\server.xml file, and to CLOSE IT!!! Do you really have to be so damned demanding of me?! I mean you don't even know me at all, so what gives you the right to talk to me--or enyone else--like that??? With having said that, lemme say that I was just now in that server.xml file, following up on the advice that a Bill Barker gave me, NOT any advice from Micael, and I couldn't readily find at what place exactly in the file I should do the editing to close the Context tag. There are 2 sections in it that refer to a context tag, for the ROOT or for the EXAMPLES. I put the context path in the ROOT section recently to try to view a JSP in my web browser, so maybe I messed up things in the file by doing that, I don't know. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
SUCCESS w. Tomcat execution!
Yes, SUCCESS is what I have finally met with in trying/attempting to get Tomcat activated!!! I make a thunderous declaration that I have finally done it, and of course I thank all those who helped me out, and that even includes Micael!! Now, I need some help with trying to see a JSP/Servlet in my browser, a long time problem with me!! I have just now installed Ant. Does that aid me in trying to get a JSP going or not? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
HELP!! Tomcat crashes on me!
Hello all. I need some help w. Tomcat 4.1.12 simply CRASHING ON ME when I try/attempt to activate the damned thing!!! Now, what in the hell could be possibly causing this anyway??!!! I WAS using the version 4.1.16 of Tomcat for a little while before it too started to crash on me. I might suggest a possible solution: delete and then write in again all of the environment variables in the System settings. Does that ring true with anyone out there or not? I mean, once I finally figured out how to do those variables the correct way, then everything sort of fell into place and I finally got Tomcat going, at least for while. Listen, this is a bit off topic, but I was also wondering if anyone out there knows anything about Macromedia's JRun Server or not and how to configure it to run properly? There are 3 kinds of servers for it, the Default, the Examples, and the Admin. I got the Default server up and running twice last nite, and the Admin server running once earlier today. The folders for the 3 kinds of servers are C:\JRun4\servers\[admin, examples, default], and if I could just go to work editing them the right way, then I could get JRun running. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HELP!! Tomcat crashes on me!
Kwok, the so-called crash is like it just flat disappearing on me!!! I mean, it's like puff, like up in smoke so to speak!! And, in response to a smurray, I already am and have been using the zip file version of Tomcat!! Is there some merit to what I suggested, namely that I delete and then turn around and set all of the environment variables for Tomcat in the System settings?! - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, December 01, 2002 6:04 PM Subject: Re: HELP!! Tomcat crashes on me! Seems to be ok for me , both zip exe. What's the crash like, I mean what errors were displayed? [EMAIL PROTECTED] wrote: one thing I have learned about running Tomcat on Windows: It works great if I just unzip the bin download file and set the catalina_home environment variable manually. It has problems if I download the installation executable and install it via the installer. just something I have noticed... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HELP!! Tomcat crashes on me!
Listen up, men, I just now got thru with trying/attempting to activate Tomcat on the command line, but WITHOUT SUCCESS!! In fact here, for your reading pleasure, is the DOS screen dump: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\srburrusCd C:\jakarta-tomcat-4.1.12\bin\ C:\jakarta-tomcat-4.1.12\binstartup Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.1_01\ C:\jakarta-tomcat-4.1.12\bin Now, there has to be something basicly unstable about my current installation of Tomcat, I just don't know what the hell it is!!! Is there possibly a problem lurking in my system or what? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HELP!! Tomcat crashes on me!
Bill, I am about to go to bed, but I couldn't help but displaying the screen dump to u from executing the catalina run command: C:\jakarta-tomcat-4.1.12\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.1_01\ Dec 2, 2002 1:21:41 AM org.apache.commons.modeler.Registry loadRegis INFO: Loading registry information Dec 2, 2002 1:21:42 AM org.apache.commons.modeler.Registry getRegist INFO: Creating new Registry instance Dec 2, 2002 1:21:43 AM org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer Dec 2, 2002 1:21:45 AM org.apache.commons.digester.Digester fatalErr SEVERE: Parse Fatal Error at line 369 column 14: The element type C be terminated by the matching end-tag /Context. org.xml.sax.SAXParseException: The element type Context must be te the matching end-tag /Context. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParse rorHandlerWrapper.java:232) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Err pper.java:213) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLEr java:366) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLEr java:296) at org.apache.xerces.impl.XMLScanner.reportFatalError(XMLSca 69) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.han t(XMLDocumentFragmentScannerImpl.java:1133) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.sca XMLDocumentFragmentScannerImpl.java:987) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fra Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.sca LDocumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfi a:524) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfi a:580) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java: at org.apache.xerces.parsers.AbstractSAXParser.parse(Abstrac ava:1169) at org.apache.commons.digester.Digester.parse(Digester.java: at org.apache.catalina.startup.Catalina.start(Catalina.java: at org.apache.catalina.startup.Catalina.execute(Catalina.jav at org.apache.catalina.startup.Catalina.process(Catalina.jav at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java Catalina.start: org.xml.sax.SAXParseException: The element type Con e terminated by the matching end-tag /Context. org.xml.sax.SAXParseException: The element type Context must be te the matching end-tag /Context. at org.apache.xerces.parsers.AbstractSAXParser.parse(Abstrac ava:1183) at org.apache.commons.digester.Digester.parse(Digester.java: at org.apache.catalina.startup.Catalina.start(Catalina.java: at org.apache.catalina.startup.Catalina.execute(Catalina.jav at org.apache.catalina.startup.Catalina.process(Catalina.jav at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java C:\jakarta-tomcat-4.1.12\bin I DEFY you to make any kind of rhyme or reason out of this error message! What does all of this mean? __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How to add a servlet to a new Webapp
Hello David Brown, I am getting the very same 404 server error msg. when I try to run/execute a VERY BASIC JSP, for the current date and time!!! I need some special guidance from u re. how to edit the web.xml file to set the context variable!! And, would you also tell me how to write the and the settings in the server.xml file?! ** On Thu 11/28, David Brown wrote:From: David Brown [mailto: [EMAIL PROTECTED]]To: [EMAIL PROTECTED]: Thu, 28 Nov 2002 12:49:01 -0500Subject: Re: How to add a servlet to a new WebappCurley, Thomas writes: Hi All, Using Tomcat 4.1.12 on Win 2K I am getting a 404 error when I try to create a new webapp and add a very basic servlet. The servlet works if I create the package structure within the examples WEB-INF/classes. Here are the steps: 1.created webapps/study 2.created .../study/WEB-INF/classes/com/wrox/projsp/ch03/TestServlet.java and compiled [ok] 3.added the following line to server.xml after the examples 4.just copied the examples web.xml to study/WEB-INF and added the following lines TestServlet com.wrox.projsp.ch03.TestServlet TestServlet /TestServlet 5.restart tomcat RESULT - The requested resource (/study/servlet/TestServlet) is not available. Can anyone see what I am missing ? thanks Thomas -- To unsubscribe, e-mail: For additional commands, e-mail: Hello Thomas, i see this all the time on this ml. i don't know what folks' fascination is w/ server.xml and a basic application. yes, this is working 4 u because web.xml is already defined for the webapp /examples. look closer at how the tc folks do it, namely, using the ant build and allowing tc to do its job by creating a .war/.jar combo and letting the tc server (when bounced, autoreload or using the webapp /manager) expand the .war into its very own: $CATALINA_HOME/webapps//WEB-INF/web.xml and $CATALINA_HOME/webapps//classes//So meServletUbuild.class. pls allow me recommend u look into ant and build.xml. it's worth the trouble if u r serious about tc learning and dev. trying to build anything structured by hand is not recommended. even seasoned vets don't do this because they r the ones that invented this stuff. using ide's r ok (especially when employers require ide use) but i use 3 or 4 tc tools to develop anything i want w/ ease because the chore of structured compilation and deployment is pretty much automatic. hope this help, david. -- To unsubscribe, e-mail: For additional commands, e-mail: ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!
Should I get the nightly build?
Hello, I was just wondering if I should EVER try/attempt to get the Nightly Build version of Tomcat or not???!! I just last nite downloaded/installed the version 4.1.16 of Tomcat without any problem at all, but I was wondering if I am possibly an advanced enough user of Tomcat by now to try to get the nighly build version given that I read on the web page that these are extremely unstable, i.e., like playing with dynamite, in a sense! ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!
Re: Can't start tomcat
Hello there, you sound like you r definitely the newest of all of the various newbies out there!!! :) Have you yet made sure/certain that you have written all of the environmental variables in the System settings that you ought to have done?!!! These variables are: (1)JAVA_HOME [the main install folder for your version of the JDK] (2)TOMCAT_HOME [the main install folder for your Tomcat installation] (3) J2EE_HOME [the main folder containing your installation of the J2EE API] (4)PATH [the path to BOTH your JDK and your J2EE installations]. Hope that helps you out! I very recently had to have someone else more knowledgeable about installing Tomcat 4.* than myself throw me a lifeline, so to speak, to get ME to successfully and then get running Tomcat!! What I am struggling with is just how exactly you go about creating servlets and/or JSP's to my satisfaction. That seems to be a hard nut to crack, and leads to endless hours of sheer frustration on my part, lemme tell you. So, you really don't have it that damned bad at all right now, just trying to figure out to get Tomcat running to your satisfaction. Contact me if it still fails on you, thru email. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
Ya, Christopher Balz is right on the money with his solid judgement that all of the various slashes in BOTH the path and the classpath env. variables should definitely point in just one direction only!!! Listen, can someone please tell me how I start to package up a WAR file and then in what folder I stick it to run a JSP/Servlet??! __ Do you Yahoo!? Yahoo! Mail Plus – Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problems running Tomcat from command line
Steve, are you typing (literally) startup.bat at the DOS command line to start Tomcat?? If so, you should just type in startup--one word--and that should quickly activate it to your satisfaction!! If it still doesn't, get back to me at the speed of light and I will go on with trying to help you! * On Mon 11/25, Steve Russell wrote:From: Steve Russell [mailto: [EMAIL PROTECTED]]To: [EMAIL PROTECTED]: Mon, 25 Nov 2002 16:18:37 -0500Subject: Re: Problems running Tomcat from command lineAt 12:41 PM 11/25/2002 -0800, you wrote: Ya, Christopher Balz is right on the money with his solid judgement that all of the various slashes in BOTH the path and the classpath env. variables should definitely point in just one direction only!!! This isn't an issue. As I wrote in my post I had two sets of output. One I got when trying to run tomcat from dos which only gave me bad command or file name. The second set of output is from cygwin, a unix emulator that mixes up/ takes care of slashes of different directions. I included that output because it gave a little bit more information. My apologies if it gave anyone the mistaken impression that I had mixed slash types in my Windows 2000 environmental variables. I could still use some help. Clicking on startup.bat gets tomcat running. typing startup.bat at a dos prompt in C:\TOMCAT\bin does nothing. Here are the enviromental variables for Windows 2000 I set under system: CLASSPATH: ..;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes;C:\TOMCAT\lib\servlet.jar PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C:JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PROGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN; JAVA_HOME: C:\JDK TOMCAT_HOME C:\TOMCAT Any ideas? Please? :) Steve Steve Russell Applications Developer 301-251-1161 x 275 [EMAIL PROTECTED] Emmes Corporation 401 N. Washington Street, Suite 700 Rockville, MD 20850 - 1785 -- To unsubscribe, e-mail: For additional commands, e-mail: ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!
Re: Over-aged Newbie needs some help
hi Michele, this is the over-aged Newbie!!! I like the way that you put things, incidentally! I was just wondering if anyone could sort of start to point me in the right/correct direction when it comes to creating JSP's and Servlets in the Tomcat container!! That's all that I am asking for, frankly!! Do I possibly have to create some kind of a context or just what exactly do I have to do?? And also, I might throw in this pertinent question: How do I see a JSP/Servlet using the Visual Cafe application ? * On Sat 11/23, Michele Emmi wrote:From: Michele Emmi [mailto: [EMAIL PROTECTED]]To: [EMAIL PROTECTED]: Sat, 23 Nov 2002 21:26:58 -0500Subject: Re: Over-aged Newbie needs some helpBut if he is an over-aged newbie he might prefer book over reading off a computer screengod knows this over-aged newbie does! I am reading: Apache Jarkart-Tomcat by Goodwill Sun one programming by Mogha and Bhargava Michele From: Craig R. McClanahan Reply-To: Tomcat Users List To: Tomcat Users List Subject: Re: Over-aged Newbie needs some help Date: Sat, 23 Nov 2002 16:20:05 -0800 (PST) On Sat, 23 Nov 2002, Steve R Burrus wrote: Hi, I need some degree of help/assistance from someone re. just how exactly you go about starting to build or create JSP's or Servlets in the Tomcat container!!! Do you first establish a context or something??! And, then if that's the case, where do you go from there anyway? Incidentally, I am still basking in the afterglow of just being able to install Tomcat!!! One useful starting point is packaged with Tomcat itself -- the Application Developer's Guide. If you've installed a default Tomcat, it will be available at: http://localhost:8080/tomcat-docs/appdev/ or online at: http://jakarta.apache.org:8080/tomcat/tomcat-4.1-doc/appdev/ For more background on servlet and JSP concepts and development, I recommend the Java Web Services Tutorial, which has many chapters on the web technologies that Tomcat implements: http://java.sun.com/webservices/docs/1.0/tutorial/index.html Craig -- To unsubscribe, e-mail: For additional commands, e-mail: _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: For additional commands, e-mail: ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!
Re: Over-aged Newbie needs some help
Hi paul. I am most interested in the part of the whole process that dictates that a WAR file be deployed!!! Now, would u please tell me just how exactly I package up this WAR, and then when I am thru with doing that to which folder/directory do I deploy it to?! Agh!!! Too damned many questions, and too few answers, so far!! :) __ Do you Yahoo!? Yahoo! Mail Plus – Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Over-aged Newbie needs some help
Hi, I need some degree of help/assistance from someone re. just how exactly you go about starting to build or create JSP's or Servlets in the Tomcat container!!! Do you first establish a context or something??! And, then if that's the case, where do you go from there anyway? Incidentally, I am still basking in the afterglow of just being able to install Tomcat!!! __ Do you Yahoo!? Yahoo! Mail Plus – Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: is there a free ide that gets along well with tomcat?
Hi Jennifer, this is steve burrus, and I am most curious about u apparently stating that the Sun One Studio (aka Forte) is irritating so you chose/decided to uninstall it unceremoniously :)!! How do you find it to be irritating because I also have certain issues with it, namely that I have to WAIT FOREVER for my PC's processor to be able to do the next operation in the application!!! I await breathlessly for your response. S.R.B. __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: is there a free ide that gets along well with tomcat?
John, how about either Visual Cafe, formerly put out by the Webgain Corp., OR Borland's JBuilder?! I have found both apps to be excellent developer tools in doing pure Java coding! HOWEVER, there might be some features found in both that might inhibit their usage with the Tomcat server. __ Do you Yahoo!? Yahoo! Mail Plus – Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
SUCCESSFUL Tomcat Install!
Well, I really haven't bothered to post to this newsgroup in quite some time, but I just had to proudly announce to anyone interested that I HAVE SUCCESSFULLY INSTALLED TOMCAT!!! This is the 4.1.12 version that I am now talking about! Any possible signs of appreciation from anyone in this newsgroup to that dramatic news [-sic] would be greatly welcomed by myself!!! Well, with that said, I would like to know just how exactly I start to go about creating the components of the J2EE API, i.e., Servlets and Java Server Pages in the Tomcat web container?! I would bet--if I were a betting man--that it's a rather tricky proposition to do so!! Am I wrong? I just know that someone out there in this newsgroup will send me the hyperlink to access all of the relevant information that I need to learn about to create these. I developed the thought some time ago in my mind to start to develop the components of server-side Java programming as a real career for myself. Am I just flat deluding myself into thinking that I can possibly make a go of it with trying/attempting to dabble with such high technology as a basis for a career? Please give some feedback about this. __ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AccessControlException - java.io.FilePermission
Pae Choi, u absolutely don't know me from Adam, but I was kinda curious about the subject of your posting Re:AccessControlException - java.io.FilePermission!! Now, this is EXACTLY what the Java exception is that's thrown when I try/attempt to see a swing applet in my web browser all the time!! I have tried in the past to edit the java.policy file (or should it be the java.security file that I edit?), but alas, without any success whatsoever!!! Now, I don't know at all--not knowing you,as I alluded to earlier--how much Java programming that you happen to have under your belt, but I was just wondering if you could give me a clue about how you go about seeing a swing applet in the browser?! I have been struggling with this damned problem for a long time. In fact, it seems like most of my life, although I know that that is some kind of an exaggeration. Even though I don't know you at all, you could become a friend of mine for life if you could only help me out of this dire problem of mine. And, I also welcome anyone else in the newsgroup who thinks that they can help with this quite aggravating problem. Please restore some sanity to me by helping me. Sincerely Yours, Steve Burrus [EMAIL PROTECTED] --- On Sun 11/03, Pae Choi wrote: From: Pae Choi [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Sat, 2 Nov 2002 23:10:14 -0800 Subject: Re: AccessControlException - java.io.FilePermission You do not have access to log files, but do have access the security policy file? Wow! what kinda IT policy is that? Anyhow, have you tried AllPermission for debug purpose as follows: grant codeBase file:/home/.sites/5/site513/web/- { permission java.security.AllPermission; } Let us know how it goes. We can go from there. Pae Hello All, I hope someone can help ... you are my last chance as I have posted on tek-tips forums, the sun.java.com developers forum, read the tomcat documentation, read this address's mail archives, contacted my web host, and still no joy ! I have recently bought some web hosting space, and when testing that all works, I get this error, when invoking a servlet from a jsp page : java.security.AccessControlException: access denied (java.io.FilePermission /home/.sites/5/site513/web/WEB-INF/classes read) This is what the TOMCAT_HOME/conf/tomcat.policy looks like (relative snippet) grant codeBase file:/home/.sites/5/site513/web/- { permission SocketPermission localhost:1024-, listen,connect,resolve; permission java.util.PropertyPermission *, read,write; permission java.io.FilePermission /home/.sites/5/site513/-, read,write,delete; permission java.lang.RuntimePermission accessClassInPackage.sun.io; }; and this is what the server.xml looks like (snippet) site513 -- docBase=/home/.sites/5/site513/web debug=0/ I have checked the OS file permissions also, which are : drwxrwsr-x To me it all looks well ??!! I believe they are running 3.2.3 on a Linux Cobalt server. The problem is is that I can't run tomcat in debug or security mode because its a web hosting company, and they are being less than helpful about the matter ! Neither can I gain access to the tomcat log directory. Any ideas ? Thanks for your time, Regards Ben _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!
RE: How come no one's is replying
John, you admonished me some time ago about the particular way in which you think that you percieved my posting to the newsgroup, if you remember!! I don't know this Lior guy from Adam, but I DO think that he has something when he accuses u of seeming to want things your way in this newsgroup all the time!! Are you some kind of a perfectionist, and want everyone else to be that way also??? *** --- Turner, John [EMAIL PROTECTED] wrote: Thanks for your comments. You might take the URL that George Sexton posted seriously. You'd be amazed at the quality, free support you can get when you aren't so petulant and demanding. Have a great day! John -Original Message- From: Lior Shliechkorn [mailto:liorshliech;yahoo.com] Sent: Thursday, October 17, 2002 3:09 PM To: Tomcat Users List Subject: RE: How come no one's is replying John, John, We don't need to get into this again...I understand your need to have everything your way and it's not that I don't appreciate what people had done to assist (or try to assist). However, I'm not asking the same complex questions that I see others ask, being that I am very new to this and don't understand much of the complexities and strict rules that Tomcat requires. In order not to hear from you the way I usually do I even included my code with the e-mail...and being that I am a nice person I will refrain from using certain words which I am sure you can sense are underlying much of what I'm saying. So if you feel the need to skip over my inquiries feel free to do so. Take care, and thanks for your efforts of trying to moderate posts to your liking. Turner, John [EMAIL PROTECTED] wrote: Now come on, are we going to have this conversation again? As I recall, several people, me included, spent a considerable amount of time answering your questions earlier this week. Did you ever consider that perhaps people don't have the answer, and don't want to waste your time (or their's) sending you on a wild goose chase? John -Original Message- From: Lior Shliechkorn [mailto:liorshliech;yahoo.com] Sent: Thursday, October 17, 2002 2:38 PM To: Tomcat Subject: How come no one's is replying I've been posting messages and I see other people picking up other people's requests for help and no one pays any attention to mine. - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: How come no one's is replying
Hi John, this is steve burrus, and I just couldn't help but reply/respond back to you! I totally agreee with u that communication between people is certainly a 2-way street, and I THOUGHT that every time that I have sought help in the past I have suppled every single bit of info to inform anyone in our group enough to make a decision as to what advice would be the best to offer to me to get me over a particular problem!!! And, as to if I have yet gotten Tomcat up and running: So, that said, Steve, how are you doing with Tomcat? Did you get it installed and running? I am afraid that the direct answer would be a NO!! Any more tips which you could possibly offer me to get Tomcat going? Thank you very much in advance John re. to your complaint Yet, NOT ONCE, have you ever posted a message that said Thanks for the help, it worked and I am making progress ** --- Turner, John [EMAIL PROTECTED] wrote: Thanks for your comments, Steve. I am not a perfectionist. It was irritating when, after spending a significant amount of time and effort helping Lior at the beginning of the week, he chooses to make disparaging comments about how everyone else seems to be getting help when he isn't. I read every post on the list. I only reply when I think I might be able to help. In the case of Lior's second request for help, I had nothing to add, and thus I didn't reply. I think it's poor manners for someone to assume at that point that I want to help some people but not others. Posting wrong answers doesn't help anyone. I think even you, Steve Burrus, can admit that asking questions the right way will typically get you your answer faster. The right way not being my way, but simply the way that provides the most information to the person trying to help. Don't you agree that it is much easier to help someone if they give you all the information you need up front? Having to ask many questions just to get basic information that should have been supplied in the first place only slows everything down, and keeps the person looking for an answer from getting one quickly. For example, Steve, at least a dozen people, including me, have helped you in the past. People have provided you with detailed, step-by-step instructions to help you with problems that you've posted. Yet, NOT ONCE, have you ever posted a message that said Thanks for the help, it worked and I am making progress or similar messages to let the people who helped you know if what they did made a difference. Communication is a two-way street. If you want people to communicate an answer to you quickly and efficiently, you have to communicate to them quickly and efficiently. You also need to complete the communication. So, that said, Steve, how are you doing with Tomcat? Did you get it installed and running? I'm sure the people who have helped you in the past are wondering, and would like to know. In any case, have a great weekend! John -Original Message- From: Steve R Burrus [mailto:burrus21;yahoo.com] Sent: Thursday, October 17, 2002 4:08 PM To: Tomcat Users List Subject: RE: How come no one's is replying John, you admonished me some time ago about the particular way in which you think that you percieved my posting to the newsgroup, if you remember!! I don't know this Lior guy from Adam, but I DO think that he has something when he accuses u of seeming to want things your way in this newsgroup all the time!! Are you some kind of a perfectionist, and want everyone else to be that way also??? ** * --- Turner, John [EMAIL PROTECTED] wrote: Thanks for your comments. You might take the URL that George Sexton posted seriously. You'd be amazed at the quality, free support you can get when you aren't so petulant and demanding. Have a great day! John -Original Message- From: Lior Shliechkorn [mailto:liorshliech;yahoo.com] Sent: Thursday, October 17, 2002 3:09 PM To: Tomcat Users List Subject: RE: How come no one's is replying John, John, We don't need to get into this again...I understand your need to have everything your way and it's not that I don't appreciate what people had done to assist (or try to assist). However, I'm not asking the same complex questions that I see others ask, being that I am very new to this and don't understand much of the complexities and strict rules that Tomcat requires. In order not to hear from you the way I usually do I even included my code with the e-mail...and being that I am a nice person I will refrain from using certain words which I am sure you can sense are underlying much of what I'm saying. So if you feel
OT: Does anyone recognize this cra........?
Hello all, Does anyone recognize this crap???!!! At least I personally think that it is because I know for a fact that I have seen this before, maybe some months ago! Is it some kind of a scam or what? I would really like to know before I invest my hard earned $$$ in this! __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL need help w. Tomcat installation!!
Hello Micael, I appreciate the useful [-sic]advice which you offered to me re. setting the system variables for the Tomcat installation, however I really don't appreciate at all you inferring that I am DELIBERATELY trying to make it harder for both you and everyone else to help me just because I INADVERTENTLY left out the info. on what my platform is! --- On Wed 08/28, micael wrote: From: micael [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Wed, 28 Aug 2002 12:39:02 -0700 Subject: Re: STILL need help w. Tomcat installation!! Do you know how to set your environmental variables on XP? If not, go to Start, Settings, Control Panel (in classic view), System, Advanced (tab), Environmental Variables (button), where you will see lots of neat stuff that is fairly intuitive. If you don't have the paths set, set them. You will need, for example, ANT_HOMEc:\ant CATALINA_HOME c:\tomcat CLASSPATH c:\jdk;c:\tomcat;c:\junit or whatever JAVA_HOME c:\jdk PATH %JAVA_HOME%\bin;%ANT_HOME%\bin or whatever. If you want to create a new system variable, hit New. If you want to edit an old one, hit Edit. Probably should avoid Delete for the time being. If you want to hard code these values in configurations of your application, that is something different. That is possible too. But, I think this is your easiest start. I recommend you read something like second chapter of Component Development for the Java Platform, by Stuart Dabbs Halloway to get acquainted with what this all really is doing. There is a paucity of literature on the subject. Lesson One: Saying what platform you are working on helps people who really would like to help you if you don't make it too hard to help. Sorry if that sounds too smug, but you seem not to be into helping us help you. Hope this did. Have fun! Micael At 11:39 AM 8/28/2002 -0700, you wrote: You are in luck, my good friend Jakob, I am using the Windows XP Operating System, so you can certainly help me out! --- Jacob Kjome wrote: Hello STEVE, I forget what OS you are using. Can you state that? If you are using Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. Let me know. Jake Wednesday, August 28, 2002, 12:04:12 PM, you wrote: SRB I STILL find myself in some degree of need from someone in this newsgroup SRB concerning the Tomcat install!!! I THINK that I got everything alright with SRB setting the environment variables in the System applet, but alas, when I tried SRB again to activate Tomcat, I STILL received the error msg. saying something about SRB the JAVA_HOME variable was not properly set or missing!! Should I type into the SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com SRB -- SRB To unsubscribe, e-mail: SRB For additional commands, e-mail: -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: For additional commands, e-mail: __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: Changed your e-mail? Keep your contacts! Use this free e-mail change of address service from Return Path. Register now!
DOS Error Msg.
Hello all, I need some degree of immediate help/assistance w. installing the Tomcat server! After I THINK that I have gotten all of the various components in place needed for the installation, and set the environment variables correctly, when I try to activate Tomcat, I seem to always get a DOS error message saying that the JAVA_HOME variable wasn't set properly!! Here is a dump from the entire message for your inspection. Please help! C:\jakarta-tomcat-4.0.4\binstartup The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program The system cannot find the batch label specified - end Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.1_01; Incidentally, I am using the Win XP Home platform. __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
STILL need help w. Tomcat installation!!
I STILL find myself in some degree of need from someone in this newsgroup concerning the Tomcat install!!! I THINK that I got everything alright with setting the environment variables in the System applet, but alas, when I tried again to activate Tomcat, I STILL received the error msg. saying something about the JAVA_HOME variable was not properly set or missing!! Should I type into the DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: STILL need help w. Tomcat installation!!
You are in luck, my good friend Jakob, I am using the Windows XP Operating System, so you can certainly help me out! --- Jacob Kjome [EMAIL PROTECTED] wrote: Hello STEVE, I forget what OS you are using. Can you state that? If you are using Windows NT/2000/XP and not Windows 95/98/Millenium I can help you. Let me know. Jake Wednesday, August 28, 2002, 12:04:12 PM, you wrote: SRB I STILL find myself in some degree of need from someone in this newsgroup SRB concerning the Tomcat install!!! I THINK that I got everything alright with SRB setting the environment variables in the System applet, but alas, when I tried SRB again to activate Tomcat, I STILL received the error msg. saying something about SRB the JAVA_HOME variable was not properly set or missing!! Should I type into the SRB DOS command line set JAVA_HOME=j2sdk* or not to maybe correct this? SRB __ SRB Do You Yahoo!? SRB Yahoo! Finance - Get real-time stock quotes SRB http://finance.yahoo.com SRB -- SRB To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] SRB For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: running JWSDP-TOMCAT from an IDE
Hello there, Skraatch, I was just a little bit curious as to where exactly you got the JWSDP from?? The java.sun.com site? * --- skraaatch [EMAIL PROTECTED] wrote: hi all, i get the following output when trying to run tomcat4 that comes with jwsdp 1.0. if anyone knows what the problem might be or what classes / endorsed dirs, etc. to include in order to run this thing from an IDE (I'm using intellij 2.5.2), please help! (/conf IS included in the classpath running standalone tomcat4 from my IDE works ok) [INFO] Registry - -Loading registry information [INFO] Registry - -Creating new Registry instance [INFO] Registry - -Creating MBeanServer [INFO] Http11Protocol - -Attribute port: 8081 [INFO] Http11Protocol - -Attribute maxThreads: 75 [INFO] Http11Protocol - -Attribute backlog: 10 [INFO] Http11Protocol - -Attribute tcpNoDelay: true [INFO] Http11Protocol - -Attribute soTimeout: 6 [INFO] Http11Protocol - -Attribute timeout: 6 [INFO] Http11Protocol - -Attribute secure: false [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 protocol handler on port 8081 [INFO] Http11Protocol - -Attribute port: 8080 [INFO] Http11Protocol - -Attribute maxThreads: 75 [INFO] Http11Protocol - -Attribute backlog: 10 [INFO] Http11Protocol - -Attribute tcpNoDelay: true [INFO] Http11Protocol - -Attribute soTimeout: 6 [INFO] Http11Protocol - -Attribute timeout: 6 [INFO] Http11Protocol - -Attribute secure: false [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 protocol handler on port 8080 javax.naming.NameNotFoundException: Name java: is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:811) at org.apache.naming.NamingContext.lookup(NamingContext.java:194) at javax.naming.InitialContext.lookup(InitialContext.java:350) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(Glo balResourcesLifecycleListener.java:167) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(G lobalResourcesLifecycleListener.java:147) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2180) at org.apache.catalina.startup.Catalina.start(Catalina.java:504) at org.apache.catalina.startup.Catalina.execute(Catalina.java:399) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) java.lang.IllegalStateException: No global naming context defined for server at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(Glo balResourcesLifecycleListener.java:170) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(G lobalResourcesLifecycleListener.java:147) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2180) at org.apache.catalina.startup.Catalina.start(Catalina.java:504) at org.apache.catalina.startup.Catalina.execute(Catalina.java:399) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Process terminated with exit code 0 the full classpath was: C:\jdk1.3.1\jre\lib\rt.jar C:\jdk1.3.1\lib\tools.jar everything below: C:\jwsdp-1_0\bin\ everything below: C:\jwsdp-1_0\common\ everything below: C:\jwsdp-1_0\server\ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
STILL Need Help w. Tomcat Install
This is Steve Burrus again, and I am damned sorry to have to post my plea for help/assistance again, but everyday when I first access my email there are literally 100's of postings from other members of the Tomcat newsgroup, and my original post--and any response--is VERY DIFFICULT to locate, so here it is again: How exactly does one go about installing the Tomcat 4.0.* correctly??? I have racked my brain in trying to figure out how to do this, but I simply cannot do it myself, I am afraid to say! Thanx in advance to anyone who can help me! __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Yes, we are receiving you.
Mike Armstrong responded back to your query, Neal, affirmatively when you asked (apparently in some state of mental agony/anguish) if anybody in the tomcat users newsgroup was hearing u or not!!! i wanna ask you what question and/or problem that you might have using tomcat you need help with??! I am right here to help you out of any problem!! ** --- Michael Armstrong [EMAIL PROTECTED] wrote: Yes. - Original Message - From: neal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, August 18, 2002 12:09 PM Subject: anyone recieve this email? Can anyone hear me? Is anyone recieving this email? Please respond. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need help w. Tomcat Installation
Hello all, this is steve burrus.I am an admitted Tomcat newbie user, and I find myself in need again of some advice from someone/somebody about just how the hell do you first install tomcat??! I am trying to install Tomcat 4.0.4, and I get everything alright EXCEPT for getting an error msg. in DOS when I try to start it up saying that the JAVA-HOME environment isn't properly set!!! I know that I have set it in the System applet correctly!! I am using Win XP. Oh, and one more thing: Is there any new version of tomcat beyond v. 4.0.4? __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: STEVE BURRUS PAY ATTENTION (was mod_jk.c not compatible with Apache 2.0.39)
Dear JOHN TURNER, Hi, this is Steve Burrus, and I am damn sorry if I happened to have offended u with my incessantly posting the same question about where exactly one could access the mod_jk file which allows for the smooth connection between Tomcat and the Apache Server!! *** --- Turner, John [EMAIL PROTECTED] wrote: STEVE R BURRUS, PLEASE PAY ATTENTION Several people have posted the link to the file you keep requesting. I have posted it myself. Please pay attention, and remember to use a search engine or search the list archives. Your questions are often answered soon after you post them, yet you keep asking them. This doesn't help anyone. The link to the file you want is HERE: http://www.acg-gmbh.de/mod_jk/ John Turner [EMAIL PROTECTED] -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 21, 2002 6:24 PM To: Tomcat Users List Subject: Re: mod_jk.c not compatible with Apache 2.0.39 Greetings Eric, this is steve burrus, you don't seem to know me at all, but I was just wondering if u could possibly send me the link to download the mod_jk file which facilitates the integration of Tomcat with the Apache HTTP Server?? Sorry that I cannot help u with your problem, but I FEEL YOUR PAIN!!! :) *** --- eric [EMAIL PROTECTED] wrote: Greetings! Spent the day trying to get Apache 2.0.39 to coexist with Tomcat 4.0.4. Seems as if every article/how to/etc has something different. Downloaded Ant 1.5 and I get compile errors when I try to compile connectors-4.0.4 :-(( I've downloaded mod_jk-3.3-ap20.so My workers.properties file is: workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4 workers.java_home=$(JAVA_HOME) ps=/ worker.list=ajp13, ajp14 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.ajp14.port=8010 worker.ajp14.host=localhost worker.ajp14.type=ajp14 worker.ajp14.secretkey=secret worker.ajp14.credentials=myveryrandomentropy worker.ajp14.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p s)libjvm.so worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr At the end of httpd.conf I put: Include /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf JkWorkersFile /usr/local/jakarta-tomcat-4.0.4/conf/jk/workers.properties JkLogFile /usr/local/jakarta-tomcat-4.0.4/logs/mod_jk.log JkLogLevel debug JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /jk ajp13 JkMount /jk/* ajp13 JkMount /cocoon ajp13 JkMount /cocoon/* ajp13 When I run apachectl configtest I get httpd: module mod_jk.c is not compatible with this version of Apache. Please contact the vendor for the correct version. Ok, where is the correct version? I wish there was a search capability on the jakarta.apache.org website. Eric -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk.c not compatible with Apache 2.0.39
Greetings Eric, this is steve burrus, you don't seem to know me at all, but I was just wondering if u could possibly send me the link to download the mod_jk file which facilitates the integration of Tomcat with the Apache HTTP Server?? Sorry that I cannot help u with your problem, but I FEEL YOUR PAIN!!! :) *** --- eric [EMAIL PROTECTED] wrote: Greetings! Spent the day trying to get Apache 2.0.39 to coexist with Tomcat 4.0.4. Seems as if every article/how to/etc has something different. Downloaded Ant 1.5 and I get compile errors when I try to compile connectors-4.0.4 :-(( I've downloaded mod_jk-3.3-ap20.so My workers.properties file is: workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4 workers.java_home=$(JAVA_HOME) ps=/ worker.list=ajp13, ajp14 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.ajp14.port=8010 worker.ajp14.host=localhost worker.ajp14.type=ajp14 worker.ajp14.secretkey=secret worker.ajp14.credentials=myveryrandomentropy worker.ajp14.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)libjvm.so worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr At the end of httpd.conf I put: Include /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf JkWorkersFile /usr/local/jakarta-tomcat-4.0.4/conf/jk/workers.properties JkLogFile /usr/local/jakarta-tomcat-4.0.4/logs/mod_jk.log JkLogLevel debug JkMount /examples ajp13 JkMount /examples/* ajp13 JkMount /jk ajp13 JkMount /jk/* ajp13 JkMount /cocoon ajp13 JkMount /cocoon/* ajp13 When I run apachectl configtest I get httpd: module mod_jk.c is not compatible with this version of Apache. Please contact the vendor for the correct version. Ok, where is the correct version? I wish there was a search capability on the jakarta.apache.org website. Eric -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HTTP/1.1 standard/coyote performance
Hello, can anyone/anybody tell me what the link is to access the mod_jdk.dll file that, I have heard, will allow one to sort of connect the Apache HTTP Server with the well-known Tomcat 4.0.* Web Server???! I have been going quite crazy in trying to do this!!Thanks, Steve Burrus *** --- David Butterworth [EMAIL PROTECTED] wrote: Hi again, I am currently running tomcat 4.0.4 with sun jdk 1.4 and linux 2.4. java options: -server -Xms64m -Xmx512m I am currently running the org.apache.catalina.connector.http.HttpConnector with maxProcessors=400. This number of connectors is too small for the load placed onto tomcat. When I scale up the number of maxProcessors=1000 tomcat spits the dummy a boot time. I understand I could also try the coyote connector as an alternative. Does anyone know what is the maximum no. of threads I can run in tomcat (standard or coyote connector) that will allow it to handle this load ? Thanks David Butterworth -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS and tomcat (was HTTP/1.1 standard/coyote performance)
Hi, John, this is steve burrus, and in direct response to your question of me, I am trying to use the 2.0.39 version of Apache, and I am on Win XP. --- Turner, John [EMAIL PROTECTED] wrote: Hello, Steve Burrus, which Apache HTTP Server are you using and on what platform? John Turner -Original Message- From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 3:52 PM To: Tomcat Users List Subject: Re: HTTP/1.1 standard/coyote performance Hello, can anyone/anybody tell me what the link is to access the mod_jdk.dll file that, I have heard, will allow one to sort of connect the Apache HTTP Server with the well-known Tomcat 4.0.* Web Server???! I have been going quite crazy in trying to do this!!Thanks, Steve Burrus *** --- David Butterworth [EMAIL PROTECTED] wrote: Hi again, I am currently running tomcat 4.0.4 with sun jdk 1.4 and linux 2.4. java options: -server -Xms64m -Xmx512m I am currently running the org.apache.catalina.connector.http.HttpConnector with maxProcessors=400. This number of connectors is too small for the load placed onto tomcat. When I scale up the number of maxProcessors=1000 tomcat spits the dummy a boot time. I understand I could also try the coyote connector as an alternative. Does anyone know what is the maximum no. of threads I can run in tomcat (standard or coyote connector) that will allow it to handle this load ? Thanks David Butterworth -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Port 8080
Liam, this is steve Burrus, and I posted yesterday to the newsgroup asking someone (I forgot who it was that I emailed!!!) to please send me the link to access the mod_jk.dll file to connect the Tomcat Server with the Apache Server, but I just now downloaded some 126 messsages from the newsgroup and I really don't wanna have to scan thru ALL of them to look out for the response, so I am appealing to u to send me the link! Thank You. *** --- Liam Morley [EMAIL PROTECTED] wrote: Bryan, The link Eddie included will more than likely help fix your problem. However, I would highly recommend the AJP (mod_jk) connector over the WARP (mod_webapp) connector... it seems more mature, and also supports load balancing (a useful thing if you still want to use Apache, which it seems that you do). Liam Morley Eddie Bush wrote: http://www.codesta.com/knowledge/technical/tomcat_warp_apache/index.jsp Check that out. Bryan Zimmer wrote: Greetings, I am running Tomcat version 4.0.4 with Apache 1.3.26. Before I installed version 4.0.4, I had no trouble accessing my tomcat applications, by saying, for example: mozilla http://my.server.name/examples This would bring up the $CATALINA_HOME/webapps/examples application directory, from which I could choose JSP examples or servlets. I could also do the same with my self-written JSP's, which resided in the directory $CATALINA_HOME/webapps/baz-jsp. In that case I could say: netscape http://my.server.name/baz-jsp and get to the index.html of that directory. Now, and perhaps I've installed correctly because this was supposed to work before, and didn't: mozilla (or netscape or whatever) http://my.server.name:8080/baz-jsp (or http://my.server.name:8080/examples) My question is, how can I get regular port 80 access so the client doesn't need to specify port 8080 and tomcat is integrated seamlessly with Apache? Is it something simple, like jus adjusting the port number in server.xml? I have had some many configuration trials I haven't even tried this. I don't want to mess up Tomcat-Apache. Can anyone tell me how to do this? Any advice much appreciated. I am running with mod_webapp.so, by the way. Thanks, Bryan A. Zimmer [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk problem
Hello, I am Steve Burrus and I am 1 of your fellow Tomcat Server users, and I was wondering if you would kindly email me the link to access the mod_jk.dll file which allows one to connect the Apache 2.* HTTP Server with the Tomcat 4.* Server. And, in your response to me, you might also throw in some info on how you use the directives in Apache's configuration file!! *** --- Eddie Bush [EMAIL PROTECTED] wrote: Considering the possibility you are setup like me (httpd config in /etc/httpd/conf - modules in /etc/httpd/modules), I suggest you change your LoadModule line to: LoadModule jk_module modules/mod_jk.so All the docs talk about libexec - but all of my other modules are loaded from modules/mod_* - and this is true for mod_jk too - works like a charm! HTH, Eddie COLLINEAU Franck FTRD/DMI/TAM wrote: Greetings, i try to start apache with mod_jk. I compiled mod_jk using the source-dist and copy mod_jk.so to APACHE/libexec. The lines in my httpd.conf are: LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c when i try to start apache i got this error: ./bin/apachectl start Syntax error on line 207 of /usr/local/apache/conf/httpd.conf: Can't locate API module structure `jk_module=B4 in file /usr/local/apache/libexec/mod_jk.so: /usr/local/apache/libexec/mod_jk.so: undefined symbol: jk_module ./bin/apachectl start: httpd could not be started Line 207 is the LoadModule Line above. thanks in advance Franck -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Apache plugin for Tomcat 4.0.3 for Windows 2000
David, you probably don't know me at all, (I am Steve Burrus!) but I was wondering if you could either supply me with the hyperlink to access any info on using the numerous directives with Apache 2 OR tell me about all of the more important directives that I should know about to get going with it!! *** --- David Kavanagh [EMAIL PROTECTED] wrote: oops, I should have mentioned, I'm using apache 1.3.x. Not 2.0.x. Might be a different story there... Jamal Najmi wrote: Hi, I am new to Apache and Tomcat. I I have recently installed Apache HTTP Server 2.0.39 and Tomcat 4.0.3 on my Win 2000. I need to connect them so that Apache HTTP server forwards servlet and JSP requests to Tomcat. I have been trying to find the documentation on Apache plugin for Tomcat 4.0.3, but noluck. I can find instruction and mod_jk for Tomcat 3.3.x but not for Tomcat 4.0.3. I will really appreciate if someone can direct to where the software and instructions are. Thanks Jamal - Do You Yahoo!? New! SBC Yahoo! Dial - 1st Month Free unlimited access -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: MOD_JK Problem ?
Jerry, this is steve burruS, and even though you don't know me from Adam, I thought that you could possibly help me with this damn problem I have which is: I last nite downloaded/installed v. 4.0.4 of Tomcat, but I did NOT first disinstall v. 4.0.3 of Tomcat!! Is this harmful? Should I have first disinstalled 4.0.3 before then installing 4.0.4???! *** --- Jerry Jalenak [EMAIL PROTECTED] wrote: Sounds like I need to back off from 4.1.3beta and go back to the last 4.0.x build. Thanks! Jerry Jalenak -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 7:58 AM To: 'Tomcat Users List' Subject: RE: MOD_JK Problem ? According to this thread, there seems to be a problem with mod_jk and the latest apache (2.0.39): http://mailman.real-time.com/pipermail/tomcat-users/2002-June/069534.html John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 7:50 PM To: '[EMAIL PROTECTED]' Subject: MOD_JK Problem ? All, I've been trying to get the following configuration to work. Windows NT Apache 2.0.39 Tomcat 4.1.3 beta Separately, I can see the Apache default 'Welcome' by going to http://localhost; in a similar vein I can see Tomcat's default 'Welcome' by going to http://localhost:8080/index.jsp. What I can't make work is seeing Tomcat's 'Welcome' page by going to http://localhost/index.jsp (or any other path for that matter!). I've rebuilt the connectors for Tomcat, download the mod_jk.dll from www.acg-gmbh.de/mod_jk, and set up my workers.properties and mod_jk.conf files (similar to what I used under Tomcat 3.3.1 - maybe the problem?) Does anyone have any ideas why I can't see my JSP pages without needing to specify the port? Thanks in advance! Jerry This transmission (and any information attached to it) may be confidential and is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient or the person responsible for delivering the transmission to the intended recipient, be advised that you have received this transmission in error and that any use, dissemination, forwarding, printing, or copying of this information is strictly prohibited. If you have received this transmission in error, please immediately notify LabOne at (800)388-4675. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need help with Tomcat on Apache on Windows 2000
Joey, this is Steve Burrus, and I believe that this is the FIRST time that I have bothered to try/attempt to electronically reach u!! (Incidentally, you spell it e-v-e-r-y-t-h-i-n-g, not the way that you did!) Listen, in direct response to your query to the group, I wold first try port 80, then if that doesn't work, try port 8080, if that doesn't work, try . But, if that still doesn't work for you, then give up and start to pray that someone else in the tomcat users newsgroup would know what the correct is!! :) *** Joey Kovacs wrote: I get a the requested operation failed as soon as I add in the Include statement. My computer just dosent like that what ports should everyhting be on? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Mailing List Load.... Forum???
Hello there, Milton, this is Steve Burrus again, and since you didn't see fit to respond back to my email message to u last nite, I thought that I would give you another electronic shout right now! Listen, I think that the proposal to create a comp.lang.java-server-side new newsgroup is A WONDERFUL IDEA!!!I simply cannot stress/emphasize this enough, as far as I am personally concerned!!! I mean, I have looked around ALL of the available newsgroups for some time now and found nothing at all in the way of a newsgroup that even remotely dealt with the server-side of Java Programming!! And, I will admit just to u that I am now actively studying to create a career for myself of being some kind of a server-side Java programmer! I was wondering why the hell is there not already a server-side Java Programming newsgroup floating around cyberspace?? Well Milt, will you please try to do a better job of responding back to me than the poor job that you apparently did last nite? Yours Truly, Steve R. Burrus --- Milt Epstein [EMAIL PROTECTED] wrote: On Thu, 27 Jun 2002, Steve Russell wrote: I think this list would make an excellent usenet group ( comp.lang.java.server-side ? ). I read the documents that you need to read before writing a usenet new newsgroup proposal. Those docs said it was VITAL to have good justifications for your proposed group in your proposal. According to the docs about the only universally accepted justification for a new usenetgroup would be a mailing list under HEAVY, HEAVY traffic. Thats this list. If the owners of the list are interested in working with me I'll pitch in some work in creating a proposal for a comp.lang.java-server-side There was a similar proposal done some time back. It failed -- barely -- not that there were a lot of dissenting votes, just not enough assenting ones. I don't recall how long ago that vote was, but I think it's been longer than the six month moratorium before you can retry it. If you're really interested in this, you should contact the person that tried it back then, and see what his plans are, whether he plans to retry with all the wisdom gained from that experience. If so, maybe you can join efforts. Even if he isn't planning on doing that, it'd probably be very useful to talk to him. You can search at groups.google.com to find out all about it. Milt Epstein Research Programmer Systems and Technology Services (STS) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi Rory, this is ........
Rory, u don't know me at all--just your good luck right?? :)--I am Steve Burrus, and I was just now reading your msg. in which you mentioned the Apache 2.0.39 HTTP Server! I downloaded/installed just yesterday Apache, and was just wondering how you go about integrating it with Tomcat?!!! I looked at the main configuration file for Apache, but saw no guidance there for how you do this!! *** --- Douglas, Rory [EMAIL PROTECTED] wrote: Hello all I have a working binary of mod_jk2.dll (working with Apache 2.0.39 on Win2k Server) if anyone would like to try it out. No guarantees though! You can get it here -- http://www.mycgiserver.com/~worrel cheers Rory Douglas Sun Chemical Corporation (201) 224-4600 x133 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How do you edit the conf file for Apache???
Rory, I emailed you earlier today, but YOU HAVE NOT SEEN FIT to respond back to me yet, so I thought that I would give you another electronic shout again now. I installed Apache just last nite, so I was at least trying to edit the conf file, but not at all successfully!! Can you help me please?SRB *** --- Douglas, Rory [EMAIL PROTECTED] wrote: Just sending this again to see if I can get #@!!***$ Outlook NOT to send HTML mail! I haven't set-up anything really complex but the following setup should work. I haven't got around to trying load-balancing, if anyone does that and gets it working, please share! --- in HTTPD.CONF (in Apache2\conf) --- LoadModule jk2_module modules/mod_jk2.dll - in JK2.PROPERTIES (in Tomcat4.1\conf) - I just commented out everything. Note that if you are using an AJP connector with port other than the default of 8009 you should specify here (where it says channelSocket.port). If you comment everything out JK seems to default to 8009 (and then 8010, 8011 and so on if you have more than one connector). If you want need specific ports for multiple connectors then specify channelSocket.port multiple times e.g channelSocket.port=8014 channelSocket.port=8018 if you have two AJP connectors specified in server.xml with port numbers 8014 and 8018. -- in WORKERS2.PROPERTIES -- I just copied this file from tomcat4.1\jtc-src\jk\conf into Apache2\conf and edited it a bit. The really important bits seem to be: [channel.socket:localhost:8009] info=Ajp13 forwarding over socket debug=20 tomcatId=Tomcat-Standalone that actually sets up a worker. I understand that you can specify group=someGroupName and create groups of workers for load-balancing. I also believe that every worker created without specfiying a group is in the default group (I think it is lb). To map contexts use [uri:] blocks like so: [uri:/test] info=Test context mapping debug=20 context=/test Again, here you can specify which workers serve that context by specifying group=groupName It's a good idea to keep these parts around too: [status:] info=Status worker, displays runtime informations [uri:/jkstatus/*] info=Display status information and checks the config file for changes. group=status: you can then hit http://yourapacheserver/jkstatus and get a loads of jk info that might help you catch config errors There are some docs in tomcat4.1\jtc-src\jk\doc\jk2 that might help (but they're not great). Hope this is useful to someone cheers Rory Rory Douglas Sun Chemical Corporation (201) 224-4600 x133 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Craig, how do I .......
Craig, how do I go about starting to work with Java Servlets and Java Server Pages in Tomcat's Web Container context?! You seem to be pretty damn knowledgeable about all aspects of Tomcat--just going by the answers which I have seen you supply to various users questions--so I REALLY THOUGHT that you could answer my query too. ** --- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Mon, 24 Jun 2002, Jacob Kjome wrote: Date: Mon, 24 Jun 2002 18:30:02 -0500 From: Jacob Kjome [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], Jacob Kjome [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: question about hot deployment and manager app Hi, I've been using the ant tasks for the manager app and they are really slick. Makes testing much easier. However, how does one dynamically install an application when one has to specify context stuff in the server.xml or in a standalone [myapp].xml (using Tomcat 4.1.3)? I do this by using the install task that installs a context configuration file. What's that, you might ask? It's simply an XML file that contains the Context element for your webapp, including all of its nested tags for the custom configuration you need. Something like this: target name=install depends=main install url=${url} username=${username} password=${password} path=/myapp war=file://${build.home}/myapp.xml/ In later versions (starting with 4.1.5 I think) you can also use this kind of thing with the deploy command -- simply put a META-INF/context.xml file in your WAR file that is uploaded. I'd like to run my builds from anywhere and not have Tomcat attempt to load the app up at startup. I need to specify the context in the [myapp].xml because I have Reource and ResourceParams for JDBC connection pooling. Is this impossible or am I just missing something? Yep ... it is definitely possible, and very handy. -- Best regards, Jacob mailto:[EMAIL PROTECTED] Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: problem with 4.0.4 JSP pages first install
Clay, I just now used the JSP example that you supplied a link to, and it worked just fine!! --- Clay Graham [EMAIL PROTECTED] wrote: followup: I found this error in the log file: java.lang.NoClassDefFoundError: sun/tools/javac/Main so it seems jasper is failing, because...I installed JRE, not JDK, which I have now done and it works fine sorry clay -Original Message- From: Clay Graham [SMTP:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 9:07 PM To: 'Tomcat Users List' Subject: problem with 4.0.4 JSP pages first install Ok, so I gave up trying to get JRE 1.3 and tomcat 4.0.3 working, it just wouldn't work. nobody helped me so i just moved on, I know a brick wall when I see it, and hate a bloody forehead. I now have JRE 1.4 and tomcat 4.0.4 installed, and the servlet examples are working. The problem is the JSP examples aren't. Here's an example... from:http://localhost:8080/examples/jsp/num/numguess.jsp Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) any ideas where my install went wrong? Clay -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
John-Paul, Can You Help Me? This Is .....
hello there John-Paul, Can You Help Me? This Is Steve Burrus, and I read your little response back to a Milt concerning Servlet Programming, so I thought that you could help me out with this problem which I have encountered about how you go about starting to create Servlets and also Java Server Pages in the Tomcat Web Container. A prompt response from u would be greatly appreciated!! ** --- john-paul delaney [EMAIL PROTECTED] wrote: Thanks Milt... yes I'm reading servlet programming by the same author, he'd written a servlet example that reads and writes a counter to an external file resource but it seems the file location varies depending on the container implementation - I was trying to understand how to determine an exact location of a resource for reading from, and writing to. Any further advice gratefully accepted. /j-p. On Sat, 22 Jun 2002, Milt Epstein wrote: Well, I've never tried it before, but what you've got is pretty much as described in an old Jason Hunter article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi-p3.html I don't know if things have changed since then. Of course, another issue is whether the user that the servlet is running as has the appropriate permissions to write into that file/directory. Milt Epstein Research Programmer Systems and Technology Services (STS) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] --- JUSTATEST Art Online www.justatest.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: SEEKING URGENT ASSISTANCE
Sir: I don't know at all who the hell you are, but why in the hell did you respond back to a Thomas Savimbi with the cute little phrase Kiss My Ass?!! ** --- William Gustave [EMAIL PROTECTED] wrote: Kiss My Ass -Original Message- From: savimbi thomas [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 22, 2002 6:59 AM To: [EMAIL PROTECTED] Subject: SEEKING URGENT ASSISTANCE URGENT BUSINESS PROPOSAL Dear sir , My name is Thomas Savimbi, I am the eldest son of Jonas Savimbi, the leader UNITA of Angola. You may know that my father was recently killed in a battle with the federal troops of Angola, led by President Dos Santos, who has been my late father's rival for years. Now the liberation of Angola, for which my father has been fighting for since 1966 has no future. President Dos Santos, remains a colossal failure since he assumed office. He is running a government of greed and gross marginalisation. The United States of America, the United Kingdom and other Western powers, are aware of this glaring fact, and have done nothing about it. It is most unfortunate and disheartening that my father has died. Now UNITA is like a herd of cattle without shepherd. Prominent members are now lobbying to assume office as leader to enrich themselves and some of them who see me as a threat to their ambitions, are even plotting to kill me. However, I am a young man who has ambitions and is not in any way interested in wars. I write to seek for your urgent help in respect to safe keeping of some of my father's money(US$25.4Million) that arose from Diamonds sales. This money(US$25.4Million) was already on its way to my father's Swiss bank account and is in transit with a safe deposit company in Amsterdam, Netherlands. We used major part of our money in prosecuting the war. It is very clear with the way things are now, that President Dos Santos will freeze my father's assests and accounts in this country to ground UNITA. I wish to use this money to safeguard my future. It is paramount that you understand that the kind of trust and confidence being reposed in you is extraordinary, and that this is an act of desperation. ALSO, THIS CONTACT WITH YOU SHUOLD BE TREATED WITH UTMOST SECRECY AND CONFIDENTIALITY. The help I need from you is clearing the money which is deposited with a security company in Amsterdam, after which, a professional banker, who is an attachi of IMF will join you and assist in depositing the money and lodging into an account in your name. The money shall remain in your custody till I decide to leave Angola. In the interim, the money can be invested into riskfree profitable ventures, and there will an agreement by my lawyer to protect my interest. I have all the documents that will enable you claim the consignment from the security company. I will reward you with 20% of the money. I to thank you in advance in anticipation for your assistance in enabling me achieve this goal. Please contact me whether or not you are interested in assisting me. This will enable me scout for another partner in the event of noninterest on your part. With best regards, Mr.Thomas Savimbi. _ Communicate with others using Lycos Mail for FREE! http://mail.lycos.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]