RE: Automatically instantiate Servlet - solved :)
Thank you very much! Ralf, web.xml is the right place. You just have to put another entry in your desired servlet.../servlet section: servlet [...] load-on-startup1/load-on-startup /servlet The number specified determines the order the servlets are instantiated at startup (if you instantiante more than one). Greetings Andreas Mohrig -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 5:00 PM To: [EMAIL PROTECTED] Subject: Automatically instantiate Servlet Hi, usually Tomcat Servlets are instanciated after a webapplication is accessing its url first time. Is there a method of automatically do this? Can I tell Tomcat to instanciate a servlet directly after startup using a config file (web.xml, server.xml)? If the answer is yes, can anybody provide an example? Cheers, Ralf -- NEU FUR ALLE - GMX MediaCenter - fur Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse fur Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Information Push
Hi, Tomcat works over HTTP and therefore implement the HTTP request / response pattern which is like an information pull over the internet. For this I would for example have a JSP which is requested by a browser, these JSP is callign some java beans and the information output is put as a HTML and sent back to the browser. Fine! But... how can I implement information push? What do I have to do (methodological, technical) to let my Java software push a website to a browser? I know this is a very general description but I hope you understand what I mean. To be more specise, but I do not want to restrict your answer, I could also think of these variant. I JSP site is requested by a browser. Every few seconds, the Java bean is producing a new updated version of this output website. How would I do this? However if somebody know a more generic appraoch, please let me know? Is there a kind of architecture which supports this kind of programming? I think the main problem is HTTP since HTTP was not designed for this way of information provision. Any help, examples, links etc. would be highly appreciated, Ralf -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Information Push
Hi, thank you for that pointer. I will have a look and a test. I looks interesting :-) I guess the connection is needed otherwise it can not update the browser. If the client however is not a browser but just a software who understands HTTP and is able to reconnect on demand, then it could be solved with setting up a timeout in Tomcat. The timeout could be set to i.e. 1 seconds. then the client would need to connect again. ... Thank you, Ralf Ralf, Have a look at http://www.javaworld.com/jw-03-2000/jw-03-pushlet.html http://www.sourceforge.net/projects/pushlets This is a technology using servlets. I had a play with it and it works just fine. The only disadvantage is that it keeps connections open on your server. Which is ok for a few, but if it is to be used by the masses then it might not be. Regards, Cor. -Original Message- From: Ralf Bierig [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 10:47 To: [EMAIL PROTECTED] Subject: Information Push Hi, Tomcat works over HTTP and therefore implement the HTTP request / response pattern which is like an information pull over the internet. For this I would for example have a JSP which is requested by a browser, these JSP is callign some java beans and the information output is put as a HTML and sent back to the browser. Fine! But... how can I implement information push? What do I have to do (methodological, technical) to let my Java software push a website to a browser? I know this is a very general description but I hope you understand what I mean. To be more specise, but I do not want to restrict your answer, I could also think of these variant. I JSP site is requested by a browser. Every few seconds, the Java bean is producing a new updated version of this output website. How would I do this? However if somebody know a more generic appraoch, please let me know? Is there a kind of architecture which supports this kind of programming? I think the main problem is HTTP since HTTP was not designed for this way of information provision. Any help, examples, links etc. would be highly appreciated, Ralf -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - 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] -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Experience: Tomcat @ PDA @ PersonalJava 1.2 implementation
Hi, thanks for the hint to rise hope in me. Do you have any kind of link, name or further info to help searching for it? Cheers, Ralf -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat under Java 1.1 ?
Can I run Tomcat under Java SDK 1.1.8 ? If yes, which version is the best (= latest) version I can use? -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Logging of individual file access - How?
I would like to log every file access (defined by its URL) in Tomcat? Is there a standard way of doing that? I would like to have a log file which has one entry for each file access with timestamp and IP-address... -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat under Java 1.1 ?
Thank you for the info. Is there is list or something from which I can get definite info? I generally miss this for many Open Source projects... Last time I ran tomcat on jdk1.1 was 3.2.1 .. So I guess 3.3 should work. Was in the old macos days. Cheers Mark On Thursday, October 23, 2003, at 01:08 PM, Ralf Bierig wrote: Can I run Tomcat under Java SDK 1.1.8 ? If yes, which version is the best (= latest) version I can use? -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - 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] -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat under Java 1.1 ?
Thanks a lot! :-) Have a look at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/faq -Original Message- From: Ralf Bierig [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 2:30 PM To: Tomcat Users List Subject: Re: Tomcat under Java 1.1 ? Is there is list or something from which I can get definite info? I generally miss this for many Open Source projects... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Experience: Tomcat @ PDA @ PersonalJava 1.2 implementation
Does somebody has experience using Tomcat 3.3.x on a PDA with Personal Java 1.2 (i.e. Jode implementation) regarding compatiablity and performance? Any info will be appreciated, Ralf -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat under Java 1.1 ?
I would like to test it on a PDA. A have a Sharp Zaurus with PJava 1.2... Howdy, Out of curiosity, what's your reason for not using a later JDK? Yoav Shapira Millennium ChemInformatics -Original Message- From: Ralf Bierig [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 8:09 AM To: [EMAIL PROTECTED] Subject: Tomcat under Java 1.1 ? Can I run Tomcat under Java SDK 1.1.8 ? If yes, which version is the best (= latest) version I can use? -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business com munication, and may contain information that is confidential, propriet ary and/or privileged. This e-mail is intended only for the individua l(s) to whom it is addressed, and may not be saved, copied, printed, d isclosed or used by anyone else. If you are not the(an) intended reci pient, 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] -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]