Re: Tomcat cannot find subclass
In message [EMAIL PROTECTED], Bill Barker said: Unlike Tomcat 4, Tomcat 3 uses a delegating ClassLoader. This means that jars in lib/apps can't see classes in WEB-INF/classes. Also, as long as the jar is in lib/apps, Tomcat 3 will load classes from there in preference to the same jar in WEB-INF/lib. That was the problem. Thank you for the help. -- Jim McMaster mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat cannot find subclass
I am having a problem with Tomcat 3.3, running on Solaris 8. I have written a framework for asking questions and getting responses through a browser. The package is called com.stortek.ilm.userresponse. The classes live in a .jar file which resides in $TOMCAT_HOME/lib/apps. One of the classes in that package, ServletSelectAnswerFormatter, generates an HTML select. I get the options by invoking a method designed to be overridden in a subclass. My current project has such a subclass, CountryServletSelectAnswerFormatter, which resides in WEB-INF/classes/com/stortek/ilm/userresponse for the correct context. When the servlet runs, I get a ClassNotFoundException: Class not found: com.stortek.ilm.userresponse.CountrySelectServletAnswerFormat ter Does anyone know what is wrong? Is it possible to subclass part of a framework, and store the subclass and its parent this way? Thank you for any help you can provide. -- Jim McMaster mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat cannot find subclass
Yes, the jar was in WEB-INF/lib, and I took it out in case that was a problem. There was no change in the result when I did. I also suspect a ClassLoader issue. What I would like to know is why? When I subclass a member of a framework, do I have to put my project-unique subclass in the same jar as the common classes? If so, that really sucks. -- Jim McMaster mailto:[EMAIL PROTECTED] In message [EMAIL PROTECTED], Mike Curwen said: Have you tried placing your library in WEB-INF/lib? There is probably a classloader issue at work. -Original Message- From: James C. McMaster (Jim) [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 4:23 PM To: [EMAIL PROTECTED] Subject: Tomcat cannot find subclass I am having a problem with Tomcat 3.3, running on Solaris 8. I have written a framework for asking questions and getting responses through a browser. The package is called com.stortek.ilm.userresponse. The classes live in a .jar file which resides in $TOMCAT_HOME/lib/apps. One of the classes in that package, ServletSelectAnswerFormatter, generates an HTML select. I get the options by invoking a method designed to be overridden in a subclass. My current project has such a subclass, CountryServletSelectAnswerFormatter, which resides in WEB-INF/classes/com/stortek/ilm/userresponse for the correct context. When the servlet runs, I get a ClassNotFoundException: Class not found: com.stortek.ilm.userresponse.CountrySelectServletAnswerFormat ter Does anyone know what is wrong? Is it possible to subclass part of a framework, and store the subclass and its parent this way? Thank you for any help you can provide. -- Jim McMaster mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: request / suggestion
I disagree...Please *DO NOT* mangle Subject to include any extra garbage. Screen real-estate is valuable, and there are other ways to filter messages. -- Jim McMaster mailto:[EMAIL PROTECTED] In message [EMAIL PROTECTED], Jas on Pyeron said: please have the list server put the list name in the subject, example: -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Where the heck is jakarta-tomcat-jasper source?
I am trying to build tomcat 4.1.12 on Solaris 8. I have downloaded everything called for in BUILDING.txt, and modified build.properties to point to the right places. ant detect shows: flags.display: [echo] --- Build environment for Tomcat Server Configuration Application --- [echo] If ${property_name} is displayed, then the property is not set) [echo] --- Build options --- [echo] full.dist=on [echo] build.sysclasspath=${build.sysclasspath} [echo] compile.debug=on [echo] compile.deprecation=off [echo] compile.optimize=on [echo] --- Ant Flags --- [echo] style task available (required)=true [echo] --- JDK --- [echo] jdk.1.2.present=true [echo] jdk.1.3.present=true [echo] jdk.1.4.present=true [echo] --- Required Libraries --- [echo] jaxp.present=true [echo] jmx.present=true [echo] modeler.present=true [echo] servlet.present=true [echo] --- Required JARs --- [echo] jmx.jar.present=true [echo] modeler.jar.present=true [echo] servlet.jar.present=true [echo] struts.jar.present=true [echo] beanutils.jar.present=true [echo] --- Optional JARs --- [echo] --- Conditional compilation flags --- [echo] compile.admin=true [echo] --- Distribution flags --- [echo] copy.struts.jar=true ant dist produces: deploy: [echo] Target: Jasper - Deploy ... BUILD FAILED file:/export/home/local/downloads/jakarta-tomcat-4.1.12-src/build.xml:67: Basedir /export/home/local/downloads/jakarta-tomcat-jasper/jasper2 does not exist ant seems to expect this in: jasper.home=../jakarta-tomcat-jasper/jasper2 This suggests I should download source from the jakarta-tomcat-jasper project, but there does not seem to be listed on the jakarta home page, nor on the tomcat project page. I also can't find it in http://jakarta.apache.org/builds/ or http://jakarta.apache.org/builds/jakarta- tomcat-4.0/release/v4.1.12/src/ I cannot get to cvs through our firewall, so how do I get this beast? -- Jim McMaster mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Valid values for Factory 'protocol'???
You absolute moron. Instructions for unsubscribing are at the bottom of each message to which you responded with your idiotic request, if you could be troubled to READ. You are sending your requests to a robot mailer that just blasts them out to several hundred people, none of whom can unsubscribe you, even if we cared whether you get unsubscribed or not. If you are too stupid to use a computer, don't use one. -- Jim McMaster mailto:[EMAIL PROTECTED] In message 000601c20c9f$c9761e50$a9740c44@cx2417397b, anette mysel said: Please delete me from your mailing list. I do not know who you are. Thank you... - Original Message - From: Steve D George [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 05, 2002 9:29 AM Subject: Valid values for Factory 'protocol'??? Hi, can someone tell me what the alternative values are for the 'protocol' attribute of the Factory element please? The default is TLS and the HOW TO SSL docs say not to change the default but I'm not sure if this means don't make the default in the source code anything but 'TLS' or whether it means not to change this value at all in the server.xml file, in which case, why is it there for you to change in the first place? ;o) Thanks, Steve. -- 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: JSP/Servlet Hosting
In message 036701c1aadf$4b616eb0$[EMAIL PROTECTED], Andrew Bruno sai d: Hello All, I am looking for a JSP/Servlet provider that offers: servlets.com offers a list of servlet ISPs at: http://www.servlets.com/isps/servlet/ISPViewAll -- Jim McMaster mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: PORT 80 tomcat/Apache??
It is not possible for any two applications to share a port. You would need either (a) apache to pass through to tomcat or (b) a front-end app to pass requests to both apache and tomcat. Sorry. -- Jim McMaster mailto:[EMAIL PROTECTED] In message [EMAIL PROTECTED], Brett O' Malley said: Is it possible for me to run tomcat and apache both on the same port of 80? tomcat 4.0.1 apache 1.3.22 latest JDK mysql all is setup properly - just need to put tomcat on port 80 also for internal reasons any help and suggestions would be appreciated.. Thanks guys! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]