Re: [ANN] Site, service tools have moved to subversion
--- Mark Thomas [EMAIL PROTECTED] wrote: Phase 2 of the SVN migration is now complete. The main component of this phase is the Tomcat website. jakarta-tomcat-site has moved to http://svn.apache.org/repos/asf/tomcat/site and updated instructions for editing the website may be found at http://svn.apache.org/repos/asf/tomcat/site/trunk/README.txt The following little used modules have also moved: jakarta-tools has moved to http://svn.apache.org/repos/asf/tomcat/archive/tools jakarta-tomcat-service has moved to http://svn.apache.org/repos/asf/tomcat/archive/service When I try any of the following: svn checkout http://svn.apache.org/repos/asf/tomcat/site svn checkout http://svn.apache.org/repos/asf/tomcat/archive/tools svn checkout http://svn.apache.org/repos/asf/tomcat/archive/service I get the following error: svn: REPORT request failed on '/repos/asf/!svn/vcc/default' svn: REPORT of '/repos/asf/!svn/vcc/default': 400 Bad Request (http://svn.apache.org) Test environments: 1. Ubuntu 5.04 svn, version 1.1.1 (r11581) compiled Jan 10 2005, 10:09:19 2. Eclipse 3.1 on Windows XP -- Sriram __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Site, service tools have moved to subversion
--- Sriram N [EMAIL PROTECTED] wrote: --- Mark Thomas [EMAIL PROTECTED] wrote: Phase 2 of the SVN migration is now complete. The main component of this phase is the Tomcat website. jakarta-tomcat-site has moved to http://svn.apache.org/repos/asf/tomcat/site and updated instructions for editing the website may be found at http://svn.apache.org/repos/asf/tomcat/site/trunk/README.txt The following little used modules have also moved: jakarta-tools has moved to http://svn.apache.org/repos/asf/tomcat/archive/tools jakarta-tomcat-service has moved to http://svn.apache.org/repos/asf/tomcat/archive/service When I try any of the following: svn checkout http://svn.apache.org/repos/asf/tomcat/site svn checkout http://svn.apache.org/repos/asf/tomcat/archive/tools svn checkout http://svn.apache.org/repos/asf/tomcat/archive/service I get the following error: svn: REPORT request failed on '/repos/asf/!svn/vcc/default' svn: REPORT of '/repos/asf/!svn/vcc/default': 400 Bad Request (http://svn.apache.org) Test environments: 1. Ubuntu 5.04 svn, version 1.1.1 (r11581) compiled Jan 10 2005, 10:09:19 2. Eclipse 3.1 on Windows XP I get the same error when I try an svn checkout http://svn.apache.org/repos/asf/tomcat/site/trunk tomcat-site as per http://svn.apache.org/repos/asf/tomcat/site/trunk/README.txt -- Sriram __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Site, service tools have moved to subversion
--- Markus Schönhaber [EMAIL PROTECTED] wrote: [snip] Does your svn client connect via an HTTP-Proxy to the repository? I haven't been able to get squid to forward REPORT-requests. Maybe ist's the same problem for you. Thanks. I'd no clue that Squid would interfere. I disabled Squid on my IPCop firewall, and the svn checkout works just fine now. Perhaps we need to update the documentation to reflect this. BTW: I don't think ist's a problem on the side of svn.apache.org since I can checkout from the repositories without problems. Regards mks -- Sriram __ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Site, service tools have moved to subversion
--- Markus Schönhaber [EMAIL PROTECTED] wrote: [snip] OK, subversion via squid ist possible. One has just to tell squid about the request methods subversion uses. Add the following line to squid.conf: extension_methods REPORT MERGE MKACTIVITY CHECKOUT http://subversion.tigris.org/faq.html#proxy Thanks. I'm able to do an svn checkout of the Tomcat svn site via my Squid Proxy server. Regards mks -- Sriram Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Janino - an Alternative to the Eclipse Java compiler
Hi all: I got this link from the Geronimo-dev discussion list, but I haven't tried it out yet: http://www.janino.net/use.html#tomcat_compiler -- Sriram Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How about EclipseSVN and TortoiseSVN ? (Re: New tag ?)
--- Remy Maucherat [EMAIL PROTECTED] wrote: [snip] I have looked a little at the command line tool now. It's actually more like the regular svn log. It looks like the thing missing is good UI support. Have you tried TortoiseSVN for Windows, and the SVN Plugin for Eclipse ? I use both at work, and they meet my requirements. It indeed seems a bit sluggish overall, but it's very usable :) Rémy -- Sriram __ Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where shud i start from??
--- Gokul Jeyapaul [EMAIL PROTECTED] wrote: Respected Sirs, Im in the process of understanding the complete Tomcats source code so that i can write my own servlet container and JSP container. Is this some college project ? Tomcat is pretty vast, and it should take you about a months worth of serious reading to understand how it works. Where i shud i start from??I downloaded some source codes ..Whn i tried to go thro it i felt like im in a maze..I just didnt understand how things work? So please guide me thro this I wud be grateful Locate the architecture documents within the documentation and read them. Also, load the source within a good IDE like Eclipse, and start tracing Tomcat from the time it starts up. As an exercise, figure out how Tomcat starts. You'll discover that there's really no application such as Tomcat. It's a number of different components that are all assembled together to create a Servlet container that also bundles a JSP Engine. regds, Gokul Best of luck, -- Sriram __ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jasper-compiler woes
--- Laconia Data Systems [EMAIL PROTECTED] wrote: All- I cannot get jasper compiler to work from Ant has this been fixed with any version of Tomcat 5 jasper-compiler.jar? If so where is the patch? Here's how I have used Ant 1.6.x with the JDT compiler. ant -Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter -lib c:\eclipse\plugins\org.eclipse.jdt.core_3.0.0 (Assuming that ANT_HOME\bin is in the path, and Eclipse is installed at c:\eclipse). I also tried the following: 1. Copy jdtCompilerAdapter.jar from c:\eclipse\plugins\org.eclipse.jdt.core_3.0.0 to C:\jdtcompiler 2. Copy jasper-compiler-jdt.jar from C:\jakarta-tomcat-5.5.4\common\lib to c:\jdtcompiler 3. Run ant -Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter -lib c:\jdtcompiler Remy's extended the Eclipse JDT Compiler for JSP page compilation. This is the class org.apache.jasper.compiler.JDTCompiler. You might wish to try using this class name as the argument to Ant's build.compiler directive. Thanks, Martin- -- Sriram __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat featured in JDJ Editor's choice
Hi all: From: http://www.sys-con.com/story/?storyid=45506de=1 Tomcat 5.0 Tomcat is the servlet container that's used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process. jakarta.apache.org/tomcat/ Tomcat needs no introduction and is the well-respected workhorse of many Java application environments. The 5.0 release builds on that reputation with support for JavaServer Pages 2.0, the Java Servlet 2.4 API, and some nice performance improvements. If that wasn't reason enough to try the download, you can now monitor your faster servlets using JMX. -- Sriram __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Craig (Was: Re: TC evolment)
--- Craig McClanahan [EMAIL PROTECTED] wrote: wistful-smile And to think it was only a couple of years ago that I got thorougly chastised (by more than a few people participating in this thread :-) for suggesting that Tomcat standalone might actually be a viable production solution for some applications. /wistful-smile If it makes you feel good: I was a lurker on those old threads. I'm happy to say that I decided to go along with your judgement and use Tomcat for some solutions that we'd need to deliver. I'd used TC 4.0.1 way back then, and our apps are still running fine on the following configuration :Win98, Pentium 200MMX, 64 MB RAM, JDK 1.3.1. Craig McClanahan -- Sriram __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fwd: Re: Does Geronimo use tomcat?
--- n. alex rupp [EMAIL PROTECTED] wrote: From: n. alex rupp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Does Geronimo use tomcat? Date: Tue, 23 Mar 2004 20:39:35 -0600 It's true. Tomcat's 95% ready. It took me about a week to learn enough about GBeans and Catalina to get a bolt-on version of Tomcat running inside Geronimo, so we don't need a jumpstart. It isn't in the code base right now because there are some special build/maven-related parlour tricks that need to be performed in order to get it integrated with the normal build, and one Mr. Sundstrom has taken charge of that effort. Once he gets it integrated into the build, you'll be able to use Tomcat. I don't know if T5'll ship with the first version of Geronimo or not--I don't hear much from Dain or Jeremy these days. They're somewhere near London, probably pub crawling. However, I must warn you. Tomcat is not capable of being truly integrated into the Geronimo environment, because it does not use a componentized architectural style. Tomcat is very much an application, which can be bolted onto the side of Geronimo, but cannot be broken down and encapsulated into GBeans which are then able to be individually managed by the container. Believe me, I spent a month and a half researching the problem, and I did not arrive at this conclusion lightly. It isn't that Tomcat is designed poorly, just that it wasn't designed to be embedded. This poses problems if you're trying to use Tomcat's built-in JMX to connect with other GBeans. It also means you won't be able to take advantage of the distributed configurations, dependency management, application lifecycle, and all of the other things a real integration with a JSR-77 compliant container would buy you. I was not happy to make this realization, but it's given me a whole new appreciation for Jetty (not that I was really lacking in that department to begin with). This is why I'll be focusing my time and energy in the future on helping Greg, Jan and Jules with a true integration of Jetty, or some other solution that's amiable to them and the other project commiters. Hopefully, as more IoC-3 style constructor dependency injection containers (like the GBean / Plexus / Pico containers) start becoming available, our web server solutions will get more componentized. In the mean time we'll keep the Tomcat bolt-on available in case anyone desperately needs it, and give whatever constructive advice we can regarding the subject. If not here, then definitely on IRC. (as Greg and others have mentioned, if you stick to the specification then you've got nothing at all to worry about.) Cheers, hope you guys are all doing well : ) -- N. Alex Rupp - Original Message - From: Brendan W.McAdams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Tomcat Developers List [EMAIL PROTECTED] Sent: Thursday, March 18, 2004 11:57 AM Subject: Re: Does Geronimo use tomcat? N. Alex Rupps has been working on some Tomcat porting for Geronimo Integration. You can probably hit him up on irc://irc.freenode.net/#geronimo for more information. On Mar 18, 2004, at 12:48, Davanum Srinivas wrote: Yoav, 'senor srinivas' - That's me :) I was thinking about Jetty/Tomcat and ran across this article on O'Reilly (http://www.onjava.com/lpt/a/1547) and hence the question about updating maven repository to be able to hack something up using 5.0.18. However i have not been able to contribute my time to this effort and it would be GREAT if some tomcat-dev folks can give us a jump start. thanks, dims __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Geronimo using Jetty
--- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Why is Geronimo using Jetty (presumably for servlets and maybe for HTTP connector) instead of Tomcat? Maybe because their top committers work with coredevelopers.net, and the Jetty Release Manager is a coredeveloper himself Yoav Shapira Millennium Research Informatics 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] __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Geronimo using Jetty
Sorry, I forgot to post this link... http://jetty.mortbay.org/jetty/geronimo/index.html -- Sriram --- Sriram N [EMAIL PROTECTED] wrote: --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, Why is Geronimo using Jetty (presumably for servlets and maybe for HTTP connector) instead of Tomcat? Maybe because their top committers work with coredevelopers.net, and the Jetty Release Manager is a coredeveloper himself Yoav Shapira Millennium Research Informatics 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] __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Geronimo using Jetty
--- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, As an aside, every time I look at the Jetty web site I get annoyed at something else. Today's annoyance is the number of items on their powered by Jetty page (http://www.mortbay.com/mortbay/powered.html) that aren't powered by Jetty: Cactus? Cocoon? BrowserTunnel (decommissioned)? DieselPoint (mentions tomcat and other compatible servers, doesn't even mention Jetty)? The list goes on and on, I don't have time to get past D in the alphabet. And last time it was the 300K claim which they admitted on their list is false for any realistic context. I have to stop myself here, before I get too angry/frustrated. I just can't stand false advertising. They also use Jasper... http://jetty.mortbay.org/jetty/contributors.html Yoav Shapira - Sriram __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Geronimo using Jetty
--- Henri Gomez [EMAIL PROTECTED] wrote: jean-frederic clere wrote: Shapira, Yoav wrote: Hi, Why is Geronimo using Jetty (presumably for servlets and maybe for HTTP connector) instead of Tomcat? History? No politics reasons. Like JBoss hires our Remy and therefore Geronimo (coredeveloper-based) does not use Tomcat ? It's sad to see that ASF didn't use its own servlet engine for a new project like Geronimo. I'm no committer, but I dare say that there's nothing to stop Tomcat Developers from helping out with Geronimo tomcat integration.. I'm subscribed to the Geronimo-dev list. From what I see, they're still learning the Apache-way of doing things. There are often mails that I'd consider frivolous, but there's some degree of development taking place too. They'd greatly benefit from the maturity and experience of Tomcat developers. There's lots that everyone in other projects can learn fromthe way Tomcat developers work. And when you see that JBoss is using Tomcat I can sense some undercurrent and some resentment in the discussions over the past hour or so, I guess it's something to do with some ASF decisions. (MT seemed wild at them - to put it mildly). I request you all to exercise restraint before taking any hasty decisions - Jakarta has benefitted greatly from Tomcat. Tomcat is indeed known as ASF's Java server... -- SRiram __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Minimal HOWTO for jk2 2.0.4 - Was: [Fwd: Releasing JK 2.0.4]
--- Guenter Knauf [EMAIL PROTECTED] wrote: other content deleted I would like to see some feedback from those admins who have to install the connectors what they would prefer. A quick start covering: - What to download - What to compile - Compatible Apache versions - Which folder to copy files into - What entries does Apache expect - What workers and MPM are and how we can configure them thanks, Guenter. -- Sriram __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Problem
Hello: Please post queries related to Tomcat's usage to the Tomcat-user mailing list. You will have a bigger audience there to help you get started with Tomcat. 1. Have you read the application developer's guide ? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html It is also installed along with the tomcat that you are running as part of the tomcat documentation, accessible via http://localhost:8080/ Read this doc, and you will learn exactly where to place classes (e.g. not in the bin folder). 2. To get started quickly, I suggest you make a copy of the examples webapps, and start adding jsps there. 3. Does your bean belong to some package ? e.g. foo.bar.MyBean 4. Upper/lower case matters. Are you typing the class name in the correct case ? Post a snippet of how you are trying to include the Bean. -- Sriram --- ganeshprabhup [EMAIL PROTECTED] wrote: I am a java professsional new to Tomcat and JSP. I downloaded and installed successfully Jakarta-Tomcat 4.1.27. While I tried to run a jsp accessing a javabean, it gave an error saying 'Unable to compile class for JSP'. It was not able to locate the bean class. I put the bean class in all the 'classes' directries. I also created the jar file of the bean and put it in all the available 'bin' directories. Still the problem persisted. Please suggest a solution. Do I need to add any path or classpath in my environment? If so please show me how to write it. Thanks Ganesh Prabhu Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com Bid for Air Tickets on Air Sahara Flights. For Best Deals, log on to http://airsahara.indiatimes.com and Bid Now ! __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/net PoolTcpEndpoint.java
+1 on that. I'd rather that TC defaulted to safe values over my idotically low or even absent settings. -- Sriram --- Remy Maucherat [EMAIL PROTECTED] wrote: Tim Funk wrote: Could a simple compromise be - Die (with error message) if 2 - Warn if less than 10 (or ??). Letting the user be stupid, but warn them about it. I don't agree with that behavior. Why should we fail or (worse) allow bad values ? Good defaults and being tolerant is a quality of good software. Remy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Embedded Tomcat
Hi Robert, Congratulations on having Embedded Tomcat in your application. My apologies for not explaining a solution to your problem more clearly. The method we had discussed by private mail earlier today indeed works. I cannot give you actual source code, simply because I'm downloading Tomcat at the moment. The only part that you need to work on is the : MyApplication app = someway of getting access to the instantiated object; that you have mentioned below: Let's say your application (with all its parts) is represented by MyApplication. You could create the class along the lines of : public class MyApplication{ private static MyApplication currentInstance = null; private MyApplication(){ } public MyApplication getCurrentInstance(){ if (currentInstance==null){ currentInstance = new MyApplication(); initialize(); // some initialization work } return currentInstance; } } You should now be able to access MyApplication's object from within your web applications via MyApplication.getCurrentInstance(); In your care, you do not need JNDI. There is another means of sharing objects (via JMX) that I shall explore once this Tomcat download is completed. -- Sriram --- Robert Charbonneau [EMAIL PROTECTED] wrote: I've successfully embedded Tomcat into my application and have talked to a few people about how to shared objects between the application and the JSPs from the contexts I've defined. I've had a suggested to use JNDI but this seems a little more elaborate than I need, and someone else was talking about using ServletContext.setAttribute() and ServletContext.getAttribute() Is there a code example both application side and web side somewhere that could show me how to do this? I've been wrestling with this for a while and it's starting to irritate me. :) I've embedded Tomcat for the sole purpose of being able to create JSPs and Servlets that can examine the properties of the application and modify the properties as well. For example, I need to be able to do the following in my JSP. MyApplication app = someway of getting access to the instantiated object; Object obj = app.getSomeData(); obj.modifyInSomeWay(); app.setSomeData(obj); If anyone can provide an example for this, I would very much appreciate it. Thanks. -- Robert Charbonneau [EMAIL PROTECTED] -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Logs folder not present in 5.0.12 (Was: Re: New builds ?)
Remy: I downloaded 5.0.12 yesterday and tried it on Linux. I got the following error touch: creating `/root/jakarta-tomcat-5.0.12/logs/catalina.out': No such file or directory /root/jakarta-tomcat-5.0.12/bin/catalina.sh: line 231: /root/jakarta-tomcat-5.0.12/logs/catalina.out: No such file or directory I was able to remedy this by creating the logs folder myself. Could you fix this in the next release ? -- Sriram --- Remy Maucherat [EMAIL PROTECTED] wrote: David Rees wrote: Remy Maucherat wrote: So, what do we do with 4.1.28 ? AFAIK, no significant issue has been found with this build, with minor tweaks being made since then in the connectors. Is a 4.1.29 needed, or is it simply people forgot about that build ? Comments ? I've been using 4.1.29 for development without any issues for a few days now. Just one minor annoyance, I get this message twice when starting Tomcat up: CoyoteConnector Coyote can't register jmx for protocol Now that new versions of commons dbcp and pool have been released, upgrading to the latest may be a good idea and an excuse to retag 4.1.30. I don't think you'll get many testers until it's called beta, though. Other than that, looks good! Very good point. I'll tag new 4.1.30 and 5.0.14 builds tomorrow. Hopefully more people will vote next time :) Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how's the jsp page compile into servlet
Manish: Tomcat is actually made up of a number of different units of funtionality. The Tomcat that you see is actually made up of Catalina - provides the servlet services Jasper - the JSP Page compiler Conectors - provides HTTP services and integration with web servers such as IIS, Apache, etc. Valves - For other internal features and for implementing the Servlet API. If you check the default web.xml, you will find a servlet that handles requests for JSP pages. When you ask for a JSP Page a. The JSP servlet receives this request. b. It checks for a class corresponding to the JSP page. c. If such a class does not exists, the JSP page is converted in to Java source. (I think the JSP if first converted into XML, I'm not sure about this...) If the class exists, and it is older than the JSP Page, the JSP page is converted to Java source again. d. This Java source is then compiled to generate a .class file. you will find both the java source and the .class file in the work directory within tomcat. e. A Classloader for this specific JSP Class is created; It loads the JSP class and serves the request. I do not recall what exactly happens in case the JSP class is already present. I strongly urge you to download the tomcat source and explore it - you will learn a lot. I know that it has changed my life and how I look at Open source. -- Sriram Business Development. Object Edge Software India Pvt. Ltd. --- Schalk [EMAIL PROTECTED] wrote: Manish As far as I know, and anyone please correct me on this if I am wrong, this is handled by the internal compiler within Tomcat and the .class is placed within web application scope. You can register a .jsp to act as a servlet and call it as if it is one. For instance on our website we include our footer.jsp like this. First add the following code to your web.xml: servlet servlet-namefooter/servlet-name descriptionCopyright footer for www.volume4.co.za/description jsp-file/includes/footer.jsp/jsp-file /servlet You can now call it from anywhere within your webapps simply as /servlet/footer, for instance jsp:include page=/servlet/footer flush=true/ Hope this helps. Kind Regards Schalk Neethling Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za :: -Original Message- :: From: manish pandey [mailto:[EMAIL PROTECTED] :: Sent: Monday, September 01, 2003 9:28 AM :: To: [EMAIL PROTECTED] :: Subject: how's the jsp page compile into servlet :: :: hello sir , :: i am new in ur list. i would like to answer that :: how's a jsp page covert into a servlet and where is :: the .class file store in webapplication . and how a :: web.xml find these servlet name and servlet class name :: .plese :: tell me the internal details about application server :: :: wating ur :: reply :: manish :: :: :: __ :: Do you Yahoo!? :: Yahoo! SiteBuilder - Free, easy-to-use web site design software :: http://sitebuilder.yahoo.com :: :: - :: To unsubscribe, e-mail: [EMAIL PROTECTED] :: For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: urgent -reply
Hello, Please try using the latest stable release of Tomcat, which is 4.1.24 It is likely that such a bug might have been fixed in later releases. If you continue to face the same problem with 4.1.24, then reporting it would be more helpful. -- Sriram --- Ramakanth [EMAIL PROTECTED] wrote: Hi, I am facing a problem with tomcat 4.1.18 and HttpSessionBindingListener's valueUnbound() method. I am using an object which implements HttpSessionBindingListener. This object is kept in session. On session timeout, the object gets unbind from the session and hence the method valueUnbound should get called. But surprisingly, sometimes it is not getting called. Is it a bug in 4.1.18 or anything is missed here? please let me know your suggestion or experience regarding this. Thanks Regards, ramakanth __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Some documentation/FAQ entry requests (Was Re: Tomcat-user)
Hi Tim, Nice work at sourceforge. Quick comments: 1. Even though the 4.1 classloader tries to explain classloader hierarchies, not many are knowledgeable to understand that sometimes a jar in the parent classloader might have to be changed to load classes from child classloaders via Thread.getContextClassLoader().load(className). // I've probably got the API incorrect, but I've been spoilt by Visual Age and it's method lookups, and am at a cyber cafe right now. Please bear with me. Perhaps we could have a note somewhere that mentions how to tackle the ClassNotFound Exceptions ? e.g. if someone's got a mysql.jar in commons, then one will be able to store objects into blobs, but not retrieve blobs into objects, because of class visibility issues. At such a time, things get more confusing. If it could write data, w hy can it not read it back now !. 2. Embedding Tomcat. A quick 5-10 line note on what embedding involves, perhaps ? Tomcat's a great way to learn about web servers, and servlets, etc. Unfortunately, not all undre-grad students really understand OO right away. Perhaps, even a pointer to the Embedded class might help ? 3. A note that one should NOT use PkZip to uncompress tgz in windows. I've faced problems here. Sure, the download page does point out to separate links for Windows and Linux, but If PKZip opens the archive, then things must be OK, huh? Currently winzip seems be the only Archival tool that uncompresses the tgzs at jakarta-tomcat correctly. I'd spent three days hunting down virii and performing scandisks, because I had broken links in my download of the source. Not many beginners will really appreciate stuff like gnu extensions etc. If they see a smaller file, they download that. I can't submit anything myself right now, I'm travelling and can only send plain text files. Please let me know if someone is willing to patch these in. -- Sriram --- Tim Funk [EMAIL PROTECTED] wrote: I noticed there is a FAQ option for the user list if a message is sent to: [EMAIL PROTECTED] but there isn't a FAQ available. snip FAQ - Frequently asked questions of the [EMAIL PROTECTED] list. None available yet. /snip I am working on a (yet another) version of a FAQ (compared to jGuru) geared towards some of the common questions I see in the user list. http://tomcatfaq.sourceforge.net/ How does one maintain the information coming out of the response to [EMAIL PROTECTED] Would it be helpful to place information (FAQs, pointers to various documention, or other helpful sites) there? More importantly, would users read it? -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: MissingResourceException on ResourceBundle.getBundle()
--- Manveen Kaur [EMAIL PROTECTED] wrote: Hi, I have a web-app that looks up a properties file. I'm getting a java.util.MissingResourceException on ResourceBundle.getBundle(..); The jar containg the properties file is in WEB-INF/lib. Could you post the code snippet that tries to load this properties file ? I don't have access to my code right now, but I think I've written something like -- quote -- ResourceBundle.getBundle(dbconnection); -- end quote -- Is this a classpath issue? Is there a workaround? I don't think this is a classpath issue. I do this for two web-apps and it works just fine on Tomcat 4.1.12. Any help would be greatly appreciated. thanks Manveen -- Sriram __ 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]
Inputs from a Tomcat user.
Hello, I've been monitoring the minimal/servlets-only discussions ever since they started. As a user of servlets and JSPs, I prefer to have one tomcat that supports both. I'm convinced with Costin's idea of JMX/Classloaders based minimal that can be easily expanded to include other parts such as jasper. Also, I've always respected Pier's views on a number of topics, but I do feel that crap is a very flexible adjective. The users I help out with Tomcat are very pleased with the admin tool. It is usually convenient to use JSPs along with servlets. Until this discussion, I never really thought of Tomcat as anything more than a Servet Container with JSP support. I now know that Tomcat can be used for SOAP and that Velocity is an alternative to JSP. As an end user: 1. It would be great to download something that supports servlets at least. 2. I would like to add/enable support for JSP/Velocity etc in an easy an intuitive way. 3. I'd not want to have to download another distribution all over again just be cause the first one's cannot be expanded to include support for additional features. Tomcat has been a great product so far. -- Sriram __ 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: I am interested in developing the RedirectValve
Never submitted anything myself, but perhaps you could write something and submit a patch to the list. The committers would then review this patch, give feedback. If all goes well, the code could eb integrated. Sriram --- Geiglein, Gary [EMAIL PROTECTED] wrote: I am interested in developing the Redirect Valve. How do I get involved? -- 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]
Request for more events to the LifeCycle Re: [VOTE] Release Plan for Apache Tomcat 4.1
I've not accessed the latest Catalina source since 4.0.1, and I can't access this from where I'm working now. I've written a small server that makes use of catalina parts, and as I wrote this server, I wished that LifeCycle had 4 events instead of 2 (Starting, started, stopping, stopped). This lets one keep better track of what's going on. I'd wanted to post this request to Bugzilla today, but there's some problem with accessing that site. Thanks, Sriram Sriram __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Fwd: Request for more events to the LifeCycle Re: [VOTE] Release Plan for Apache Tomcat 4.1
Sorry, I hit the Send button accidently... Here's what I wanted to say: I've not accessed the Tomcat source since 4.0.1, and can't access it from where I'm working right now. I've used Tomcat 4 parts within a small server that I've written. I've also written a UI in Swing that listens to LifeCycle Events. I have the following questions : 1. Is it possible to have events such as starting, started, stopping, and stopped instead of the current two : starting and stopping ? 2. Are there any plans to include these events in future ? 3. Was there ever such an idea and was it voted against for some reason ? I was unable to access bugzilla, and therefore resorted to posting this request to the DEV list. Thanks, Sriram --- Sriram N [EMAIL PROTECTED] wrote: Reply-to: Tomcat Developers List [EMAIL PROTECTED] Date: Thu, 25 Apr 2002 08:02:46 -0700 (PDT) From: Sriram N [EMAIL PROTECTED] Subject: Request for more events to the LifeCycle Re: [VOTE] Release Plan for Apache Tomcat 4.1 To: Tomcat Developers List [EMAIL PROTECTED] I've not accessed the latest Catalina source since 4.0.1, and I can't access this from where I'm working now. I've written a small server that makes use of catalina parts, and as I wrote this server, I wished that LifeCycle had 4 events instead of 2 (Starting, started, stopping, stopped). This lets one keep better track of what's going on. I'd wanted to post this request to Bugzilla today, but there's some problem with accessing that site. Thanks, Sriram Sriram __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ClassNotFound Exception when loading Tomcat 4.0.1 via URLClassLoader
Hi all, I'm trying to write a java class that will load Tomcat 4.0.1 for me. My goal is: - Do not use the classpath. The CLASSPATH env variable's contents are clear be me first. - Use the URLClassLoader to get started. This technique works with Tomcat 3.3 With Tomcat 4.0.1 however, I get a ClassNotFoundException for org.apache.catalina.loader.Reloader which is in the same bootstrap.jar that is used to load org.apache.catalina.startup.Bootstrap However, when I stick to the batch file which adds bootstrap.jar to the system CLASSPATH, tomcat runs OK, as usual. Could some one point me to what I'm missing or doing wrong ? Thanks. Here's the code that I use to load Tomcat 4.0.1 -- begin code public class TCStart{ public static void main(String args[]){ try{ System.setProperty(catalina.home,f:/tc4.0.1/); System.setProperty(catalina.base,f:/tc4.0.1/); System.setProperty(java.class.path,); java.io.File file = new java.io.File(f:/tc4.0.1/bin/bootstrap.jar); java.net.URL[] urls = new java.net.URL[]{file.toURL()}; java.net.URLClassLoader loader = new java.net.URLClassLoader(urls); Class aClass = loader.loadClass(org.apache.catalina.startup.Bootstrap); String classLoaderName = aClass.getClassLoader().getClass().getName(); String className = aClass.getName(); System.out.println(ClassName + className); System.out.println(ClassLoader + classLoaderName); //Class aClass = Class.forName(org.apache.catalina.startup.Bootstrap); java.lang.reflect.Method method = null; Class[] argsClass = new Class[] { String[].class }; // get the main method for the org.apache.tomcat.shell.Startup class method = aClass.getMethod(main, argsClass); Object object = null; String filePath= -f conf/server.xml; Object[] arguments = new Object[] { new String[] {start}}; // now invoke the main method for the org.apache.tomcat.shell.Startup class method.invoke(object, arguments); }catch(Exception ex){ System.err.println(Ugh ! is all that I can say); ex.printStackTrace(System.err); } } } -- end code --- And here's the stack Trace that I get. begin stack trace dump --- ClassName org.apache.catalina.startup.Bootstrap ClassLoader java.net.URLClassLoader Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Exception during startup processing java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org /apache/catalina/loader/Reloader at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClas sLoader.java:671) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:1090) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas sLoader.java:989) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 313) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start(StandardHost.java:612) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307 ) at org.apache.catalina.core.StandardService.start(StandardService.java:3 88) at org.apache.catalina.core.StandardServer.start(StandardServer.java:505 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:776) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) 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:243) at java.lang.reflect.Method.invoke(Native Method) at TCStart.main(TCStart.java:25) end stack trace dump