Re: Java FTP and Tomcat
Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === PiBEb2VzIGFueW9uZSBrbm93IGlmIHRoZXJlIGlzIGEgRlRQIGNvbm5lY3Rvcig/KSBmb3IgVG9t Y2F0Pw0KPiANCj4gSWYgbm90LCBpcyBpdCBzb21ldGhpbmcgdGhhdCdzIGRvYWJsZSB3aXRoIFRv bWNhdD8NCg0KRlRQLCBhcyBhIHByb3RvY29sLCBpcyBzdGF0ZWZ1bC4gSW4gb3RoZXIgd29yZHMs IHlvdSBsb2dpbiB0byB0aGUgc2VydmVyIGFuZCB1bnRpbCB5b3UgbG9nIG91dCwgeW91IGhhdmUg YW4gRlRQIHNlc3Npb24uIEhUVFAgaXMgc3RhdGVsZXNzLiBUaGVyZSBpcyBubyBsb2dpbi9sb2dv dXQuIFRoZXJlIGFyZSBlbXVsYXRpb25zIG9mIHRob3NlIGNvbmNlcHRzOiBhdXRoZW50aWNhdGlv biBhbmQgc2Vzc2lvbiBjcmVhdGlvbiwgYnV0IHRoZXkgYXJlIGltcGxlbWVudGVkIGVpdGhlciBw ZXIgcmVxdWVzdCAoYXV0aCBpbiBIVFRQIGhlYWRlcnMpIG9yIGEgc2ltdWxhdGlvbiAoc2Vzc2lv biBpbiBjb29raWVzIG9yIFVSTCByZXdyaXRpbmcpLg0KDQpUaGUgb25seSB0aGluZyB0aGF0IHdv dWxkIHNlYW0gZG9hYmxlIHdpdGggVG9tY2F0IGlzIHN1cHBvcnQgZm9yIEZUUCBVUkxzIHRocm91 Z2ggSFRUUCByZXF1ZXN0LCBzb21ldGhpbmcgbGlrZToNCg0KIkdFVCBmdHA6Ly9teS5ob3N0LmRv bWFpbi5jb20vcHViL2FwcHMvcGdzcWwuamFyIEhUVFAvMS4xIg0KDQpCVVQsIHRoZXJlIGlzIGEg cHJvYmxlbSB3aXRoIHRoaXMuIDotKSBSRkMgZXhwbGljaXRlbHkgc3RhdGVzIHRoYXQgYWxsIEhU VFAgMS4wIGFuZCAxLjEgY2xpZW50cyBzaG91bGQgaXNzdWUgYWJzb2x1dGUgVVJMcyBvbmx5IHdo ZW4gdGFsa2luZyB0byBhIHByb3h5LiBTbywgdGhlIGFuc3dlciBpcyBOTywgdW5sZXNzIHlvdSB3 YW50IHRvIGJlIGEgZ2VuZXJhbCBwdXJwb3NlIEZUUCBwcm94eS4NCg0KTml4Lg0K -- 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: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: Craig R. McClanahan [EMAIL PROTECTED] === On Tue, 27 Aug 2002, Randy Secrist wrote: Date: Tue, 27 Aug 2002 21:58:00 -0600 From: Randy Secrist [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: PropertyResourceBundle problems Lets try this route then: Is there ANY way to get the actual class path the TC class loader uses to load classes at runtime from within a servlet out of ANY context? No. The problem is that there *is* no such thing as a class path for the TC class class loader used to load classes at runtime from within a servlet. The classpath system property is global to the entire JVM that is running Tomcat, so it is (obviously) not capable of representing the set of classes available to each individual webapp. Class loaders only know what repositories they are loading classes (and static resources) from -- in the particular case of Tomcat, they are all subclasses of java.net.URLClassLoader so you can call getRepositories() -- but it won't help you much. See the following docs for more details: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html The real issue is that there's something you are doing wrong that nobody has been able to figure out yet. Thousands of apps all over the world (including every app running Struts) is able to load resources from /WEB-INF/classes or /WEB-INF/lib if they use the correct invocation. Note that if you really did copy your properties file to /web-inf/classes instead of /WEB-INF/classes, give up and start over -- pretty much everything about servlets and JSP pages is case sensitive. Craig This is obviously not stored in the System.properties - is it kept internally anywhere? Randy - Original Message - From: Randy Secrist [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:21 PM Subject: Re: PropertyResourceBundle problems I did copy the props file to the web-inf/classes - however TC still doesn't know what to do with it... - Original Message - From: randie ursal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:05 PM Subject: Re: PropertyResourceBundle problems i have that same problem, and i solve it through the efforts of some people on this list. i just place my property file on WEB-INF/classes of my web application...that's it everything works fine now. =)...no need to place it on other repositories. this is my code in reading the property file: ResourceBundle oRes = PropertyResourceBundle.getBundle(MyProperty); Randy Secrist wrote: Hello, This is probably a very simple question - but I want to have a servlet load a PropertyResourceBundle and am having problems getting TC to find the resource... I want to do this: props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); I have tried moving the properties file into the WEB-INF/classes, COMMON/classes, packaging it with my webapp.jar, and dropping it in COMMON/lib, and WEB-INF/lib... I even moved it into bootstrap.jar since that is apparently the System classpath TC uses. Still no luck... Everytime I get a java.util.MissingResourceException What am I doing wrong? Randy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Randie V. Ursal Design Engineering Department NEC Telecom Software Philippines, Inc. office : +63(032) 233-9142 (loc.3119) mobile : +63(0917) 467-8244 email : [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] -- 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] -- To unsubscribe, e-mail: mailto
Antw: JSP and MAC line breaks
Subject: Antw: JSP and MAC line breaks From: Andre Schild [EMAIL PROTECTED] === The following is a post from Larry Issacs re: TC 4.0.1 which had a bug in Jasper that was stripping the =22=5Cr=22 from the line terminator. Which version of TC are you having problems with? 4.0.3 is showing me this problem. In the 4.0.4 release notes, there is mentioned that this bug has been fixed.=20 So I will have to move to 4.0.4. Thanks for your help. Andr=E9 -- 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: Threads Question in Tomcat
Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === Pj4xLiBJcyBpdCB0cnVlIHRoYXQgcmVxdWVzdHMgZnJvbSB0aGUgU0FNRSBjbGllbnQNCj4+YWx3 YXlzIHNlcnZlZCBieSB0aGUgU0FNRSB0aHJlYWQ/DQo+DQo+Tm90IGFsd2F5cy4gIEV2ZW4gaWYg YSBzZXJ2bGV0IGltcGxlbWVudHMgU2luZ2xlVGhyZW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mb3J3YXJkcyBpdCB0byB0aGUgYXBwcm9wcmlhdGUgaGFuZGxlciwg ZmlsdGVyIG9yIGEgc2VydmxldC4NCg0KU28sIHRoZSBvbmx5IG9jY2FzaW9uIHdoZW4gdGhlIHNh bWUgdGhyZWFkIHdvdWxkIGhhbmRsZSBUV08gcmVxdWVzdHMsIHJlZ2FyZGxlcyBvZiB3aG8ncyB0 aGUgb3JpZ2luYXRpbmcgY2xpZW50LCB3b3VsZCBiZSB3aGVuIHRoZXJlIGlzIGEgdGhyZWFkLXBv b2wgYW5kIGZpcnN0IHJlcXVlc3QgZmluaXNoZXMgYW5kIHRoZSBhdmFpbGFibGUgdGhyZWFkIGZv ciB0aGUgb3RoZXIgcmVxdWVzdCBpcyB0aGUgb25lIHRoYXQgaGFuZGxlZCB0aGUgZmlyc3Qgb25l LiBUaGlzIGlzIGEgZ2FtZSBvZiBjaGFuY2UuIEFnYWluLCBJIGhhdmVuJ3QgbG9va2VkIGludG8g VG9tY2F0IGludGVybmFscywgYnV0IHRoaXMgaXMgaG93IEkgcGljdHVyZSBhbnkgc2VydmxldCBj b250YWluZXIgd291bGQgd29yay4NCg0KPj4yLiBXaGF0IGlmIHRoZSBTQU1FIGNsaWVudCBhY2Nl c3MgMiBkaWZmZXJlbnQgc2VydmxldHMNCj4+aW4gYSBzZXJ2bGV0IGNvbnRhaW5lcj8gSXMgaXQg c3RpbGwgc2VydmVkIGJ5IHRoZSBTQU1FDQo+PnRocmVhZD8NCj4NCj5Ob3QgYWx3YXlzLiAgDQoN CkhhcmRseSBldmVyLCBJTU8sIHNlZSBhYm92ZS4NCg0KTml4Lg0K -- 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: Java FTP and Tomcat
Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === PiBEb2VzIGFueW9uZSBrbm93IGlmIHRoZXJlIGlzIGEgRlRQIGNvbm5lY3Rvcig/KSBmb3IgVG9t Y2F0Pw0KPiANCj4gSWYgbm90LCBpcyBpdCBzb21ldGhpbmcgdGhhdCdzIGRvYWJsZSB3aXRoIFRv bWNhdD8NCg0KRlRQLCBhcyBhIHByb3RvY29sLCBpcyBzdGF0ZWZ1bC4gSW4gb3RoZXIgd29yZHMs IHlvdSBsb2dpbiB0byB0aGUgc2VydmVyIGFuZCB1bnRpbCB5b3UgbG9nIG91dCwgeW91IGhhdmUg YW4gRlRQIHNlc3Npb24uIEhUVFAgaXMgc3RhdGVsZXNzLiBUaGVyZSBpcyBubyBsb2dpbi9sb2dv dXQuIFRoZXJlIGFyZSBlbXVsYXRpb25zIG9mIHRob3NlIGNvbmNlcHRzOiBhdXRoZW50aWNhdGlv biBhbmQgc2Vzc2lvbiBjcmVhdGlvbiwgYnV0IHRoZXkgYXJlIGltcGxlbWVudGVkIGVpdGhlciBw ZXIgcmVxdWVzdCAoYXV0aCBpbiBIVFRQIGhlYWRlcnMpIG9yIGEgc2ltdWxhdGlvbiAoc2Vzc2lv biBpbiBjb29raWVzIG9yIFVSTCByZXdyaXRpbmcpLg0KDQpUaGUgb25seSB0aGluZyB0aGF0IHdv dWxkIHNlYW0gZG9hYmxlIHdpdGggVG9tY2F0IGlzIHN1cHBvcnQgZm9yIEZUUCBVUkxzIHRocm91 Z2ggSFRUUCByZXF1ZXN0LCBzb21ldGhpbmcgbGlrZToNCg0KIkdFVCBmdHA6Ly9teS5ob3N0LmRv bWFpbi5jb20vcHViL2FwcHMvcGdzcWwuamFyIEhUVFAvMS4xIg0KDQpCVVQsIHRoZXJlIGlzIGEg cHJvYmxlbSB3aXRoIHRoaXMuIDotKSBSRkMgZXhwbGljaXRlbHkgc3RhdGVzIHRoYXQgYWxsIEhU VFAgMS4wIGFuZCAxLjEgY2xpZW50cyBzaG91bGQgaXNzdWUgYWJzb2x1dGUgVVJMcyBvbmx5IHdo ZW4gdGFsa2luZyB0byBhIHByb3h5LiBTbywgdGhlIGFuc3dlciBpcyBOTywgdW5sZXNzIHlvdSB3 YW50IHRvIGJlIGEgZ2VuZXJhbCBwdXJwb3NlIEZUUCBwcm94eS4NCg0KTml4Lg0K -- 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: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: Craig R. McClanahan [EMAIL PROTECTED] === On Tue, 27 Aug 2002, Randy Secrist wrote: Date: Tue, 27 Aug 2002 21:58:00 -0600 From: Randy Secrist [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: PropertyResourceBundle problems Lets try this route then: Is there ANY way to get the actual class path the TC class loader uses to load classes at runtime from within a servlet out of ANY context? No. The problem is that there *is* no such thing as a class path for the TC class class loader used to load classes at runtime from within a servlet. The classpath system property is global to the entire JVM that is running Tomcat, so it is (obviously) not capable of representing the set of classes available to each individual webapp. Class loaders only know what repositories they are loading classes (and static resources) from -- in the particular case of Tomcat, they are all subclasses of java.net.URLClassLoader so you can call getRepositories() -- but it won't help you much. See the following docs for more details: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html The real issue is that there's something you are doing wrong that nobody has been able to figure out yet. Thousands of apps all over the world (including every app running Struts) is able to load resources from /WEB-INF/classes or /WEB-INF/lib if they use the correct invocation. Note that if you really did copy your properties file to /web-inf/classes instead of /WEB-INF/classes, give up and start over -- pretty much everything about servlets and JSP pages is case sensitive. Craig This is obviously not stored in the System.properties - is it kept internally anywhere? Randy - Original Message - From: Randy Secrist [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:21 PM Subject: Re: PropertyResourceBundle problems I did copy the props file to the web-inf/classes - however TC still doesn't know what to do with it... - Original Message - From: randie ursal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:05 PM Subject: Re: PropertyResourceBundle problems i have that same problem, and i solve it through the efforts of some people on this list. i just place my property file on WEB-INF/classes of my web application...that's it everything works fine now. =)...no need to place it on other repositories. this is my code in reading the property file: ResourceBundle oRes = PropertyResourceBundle.getBundle(MyProperty); Randy Secrist wrote: Hello, This is probably a very simple question - but I want to have a servlet load a PropertyResourceBundle and am having problems getting TC to find the resource... I want to do this: props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); I have tried moving the properties file into the WEB-INF/classes, COMMON/classes, packaging it with my webapp.jar, and dropping it in COMMON/lib, and WEB-INF/lib... I even moved it into bootstrap.jar since that is apparently the System classpath TC uses. Still no luck... Everytime I get a java.util.MissingResourceException What am I doing wrong? Randy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Randie V. Ursal Design Engineering Department NEC Telecom Software Philippines, Inc. office : +63(032) 233-9142 (loc.3119) mobile : +63(0917) 467-8244 email : [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] -- 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
Antw: JSP and MAC line breaks
Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: Andre Schild [EMAIL PROTECTED] === The following is a post from Larry Issacs re: TC 4.0.1 which had a bug in Jasper that was stripping the =22=5Cr=22 from the line terminator. Which version of TC are you having problems with? 4.0.3 is showing me this problem. In the 4.0.4 release notes, there is mentioned that this bug has been fixed.=20 So I will have to move to 4.0.4. Thanks for your help. Andr=E9 -- 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: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: Craig R. McClanahan [EMAIL PROTECTED] === On Tue, 27 Aug 2002, Randy Secrist wrote: Date: Tue, 27 Aug 2002 21:58:00 -0600 From: Randy Secrist [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: PropertyResourceBundle problems Lets try this route then: Is there ANY way to get the actual class path the TC class loader uses to load classes at runtime from within a servlet out of ANY context? No. The problem is that there *is* no such thing as a class path for the TC class class loader used to load classes at runtime from within a servlet. The classpath system property is global to the entire JVM that is running Tomcat, so it is (obviously) not capable of representing the set of classes available to each individual webapp. Class loaders only know what repositories they are loading classes (and static resources) from -- in the particular case of Tomcat, they are all subclasses of java.net.URLClassLoader so you can call getRepositories() -- but it won't help you much. See the following docs for more details: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html The real issue is that there's something you are doing wrong that nobody has been able to figure out yet. Thousands of apps all over the world (including every app running Struts) is able to load resources from /WEB-INF/classes or /WEB-INF/lib if they use the correct invocation. Note that if you really did copy your properties file to /web-inf/classes instead of /WEB-INF/classes, give up and start over -- pretty much everything about servlets and JSP pages is case sensitive. Craig This is obviously not stored in the System.properties - is it kept internally anywhere? Randy - Original Message - From: Randy Secrist [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:21 PM Subject: Re: PropertyResourceBundle problems I did copy the props file to the web-inf/classes - however TC still doesn't know what to do with it... - Original Message - From: randie ursal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:05 PM Subject: Re: PropertyResourceBundle problems i have that same problem, and i solve it through the efforts of some people on this list. i just place my property file on WEB-INF/classes of my web application...that's it everything works fine now. =)...no need to place it on other repositories. this is my code in reading the property file: ResourceBundle oRes = PropertyResourceBundle.getBundle(MyProperty); Randy Secrist wrote: Hello, This is probably a very simple question - but I want to have a servlet load a PropertyResourceBundle and am having problems getting TC to find the resource... I want to do this: props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); I have tried moving the properties file into the WEB-INF/classes, COMMON/classes, packaging it with my webapp.jar, and dropping it in COMMON/lib, and WEB-INF/lib... I even moved it into bootstrap.jar since that is apparently the System classpath TC uses. Still no luck... Everytime I get a java.util.MissingResourceException What am I doing wrong? Randy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Randie V. Ursal Design Engineering Department NEC Telecom Software Philippines, Inc. office : +63(032) 233-9142 (loc.3119) mobile : +63(0917) 467-8244 email : [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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail
Re: Threads Question in Tomcat
Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) ===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N CkhhcmRseSBldmVyLCBJTU8sIHNlZSBhYm92ZS4NCg0KTml4Lg0K -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Antw: JSP and MAC line breaks
Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: Andre Schild [EMAIL PROTECTED] === The following is a post from Larry Issacs re: TC 4.0.1 which had a bug in Jasper that was stripping the =22=5Cr=22 from the line terminator. Which version of TC are you having problems with? 4.0.3 is showing me this problem. In the 4.0.4 release notes, there is mentioned that this bug has been fixed.=20 So I will have to move to 4.0.4. Thanks for your help. Andr=E9 -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Java FTP and Tomcat
Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EM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VzIHRoYXQgYWxsIEhU VFAgMS4wIGFuZCAxLjEgY2xpZW50cyBzaG91bGQgaXNzdWUgYWJzb2x1dGUgVVJMcyBvbmx5IHdo ZW4gdGFsa2luZyB0byBhIHByb3h5LiBTbywgdGhlIGFuc3dlciBpcyBOTywgdW5sZXNzIHlvdSB3 YW50IHRvIGJlIGEgZ2VuZXJhbCBwdXJwb3NlIEZUUCBwcm94eS4NCg0KTml4Lg0K -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: Randy Secrist [EMAIL PROTECTED] === Still at it. getRepositories() won't help a bit since (like you said) that class loader doesn't keep track of the class path over the scope it presides over... My key question May I assume that if I can load a class from this JAR, and the ResourceBundle is in the same JAR - shouldn't I be able to get to it as well? If not - why would that be the case? Nonetheless - I've pulled it out of the JAR and into a */classes dir with no difference... I've read the docs, fought the fight - I'm going to bed. I'll try to provide a little more information below on every element pertaining to the web app - and maybe I'll get lucky tomorrow. :) I just can't think of what it was I may have done different than those millions of people out there. These are the worst because you know it is something SO small. That is why I wish I could verify this somehow. Here is what I have. JAR LOCATION: I have a .jar file with this structure: META-INF (dir) com (dir - all my classes / servlets) SystemConfig (my properties file) someClass.class someClass.java Thats it for the .jar. It has resided all over my catalina.home directory - any any WEB-INF/lib or WEB-INF/classes I can find. (WEB-INF) should be upper case correct? I have it as upper case at the moment. CONTEXT CONFIG: Tomcat version 4.0.4. Running out of the ROOT context within a multiple host / context environment - using a JNDIRealm. reloadable is set to false - however I restart the server after each new attempt. (old habits die hard) SERVLET CODE: My Servlet: makes this call in it's init method: (as a singleton) webProps = WebProperties.getInstance(); which in WebProperties singleton constructor calls: try { props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); System.out.println(WebProperties - Load Success!); this.init(); } catch (java.lang.Throwable e) { System.err.println(WebProperties - Load Failure!); throw new ResourceFailure(e); } The exception is ALWAYS thrown on the getBundle call. resulting in java.util.MissingResourceException: Can't find bundle for base name SystemConfig, locale en_US Anywho - thanks for your patience. Randy -- 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: Java FTP and Tomcat
Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === PiBEb2VzIGFueW9uZSBrbm93IGlmIHRoZXJlIGlzIGEgRlRQIGNvbm5lY3Rvcig/KSBmb3IgVG9t Y2F0Pw0KPiANCj4gSWYgbm90LCBpcyBpdCBzb21ldGhpbmcgdGhhdCdzIGRvYWJsZSB3aXRoIFRv bWNhdD8NCg0KRlRQLCBhcyBhIHByb3RvY29sLCBpcyBzdGF0ZWZ1bC4gSW4gb3RoZXIgd29yZHMs IHlvdSBsb2dpbiB0byB0aGUgc2VydmVyIGFuZCB1bnRpbCB5b3UgbG9nIG91dCwgeW91IGhhdmUg YW4gRlRQIHNlc3Npb24uIEhUVFAgaXMgc3RhdGVsZXNzLiBUaGVyZSBpcyBubyBsb2dpbi9sb2dv dXQuIFRoZXJlIGFyZSBlbXVsYXRpb25zIG9mIHRob3NlIGNvbmNlcHRzOiBhdXRoZW50aWNhdGlv biBhbmQgc2Vzc2lvbiBjcmVhdGlvbiwgYnV0IHRoZXkgYXJlIGltcGxlbWVudGVkIGVpdGhlciBw ZXIgcmVxdWVzdCAoYXV0aCBpbiBIVFRQIGhlYWRlcnMpIG9yIGEgc2ltdWxhdGlvbiAoc2Vzc2lv biBpbiBjb29raWVzIG9yIFVSTCByZXdyaXRpbmcpLg0KDQpUaGUgb25seSB0aGluZyB0aGF0IHdv dWxkIHNlYW0gZG9hYmxlIHdpdGggVG9tY2F0IGlzIHN1cHBvcnQgZm9yIEZUUCBVUkxzIHRocm91 Z2ggSFRUUCByZXF1ZXN0LCBzb21ldGhpbmcgbGlrZToNCg0KIkdFVCBmdHA6Ly9teS5ob3N0LmRv bWFpbi5jb20vcHViL2FwcHMvcGdzcWwuamFyIEhUVFAvMS4xIg0KDQpCVVQsIHRoZXJlIGlzIGEg cHJvYmxlbSB3aXRoIHRoaXMuIDotKSBSRkMgZXhwbGljaXRlbHkgc3RhdGVzIHRoYXQgYWxsIEhU VFAgMS4wIGFuZCAxLjEgY2xpZW50cyBzaG91bGQgaXNzdWUgYWJzb2x1dGUgVVJMcyBvbmx5IHdo ZW4gdGFsa2luZyB0byBhIHByb3h5LiBTbywgdGhlIGFuc3dlciBpcyBOTywgdW5sZXNzIHlvdSB3 YW50IHRvIGJlIGEgZ2VuZXJhbCBwdXJwb3NlIEZUUCBwcm94eS4NCg0KTml4Lg0K -- 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] -- 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: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: Craig R. McClanahan [EMAIL PROTECTED] === On Tue, 27 Aug 2002, Randy Secrist wrote: Date: Tue, 27 Aug 2002 21:58:00 -0600 From: Randy Secrist [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: PropertyResourceBundle problems Lets try this route then: Is there ANY way to get the actual class path the TC class loader uses to load classes at runtime from within a servlet out of ANY context? No. The problem is that there *is* no such thing as a class path for the TC class class loader used to load classes at runtime from within a servlet. The classpath system property is global to the entire JVM that is running Tomcat, so it is (obviously) not capable of representing the set of classes available to each individual webapp. Class loaders only know what repositories they are loading classes (and static resources) from -- in the particular case of Tomcat, they are all subclasses of java.net.URLClassLoader so you can call getRepositories() -- but it won't help you much. See the following docs for more details: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html The real issue is that there's something you are doing wrong that nobody has been able to figure out yet. Thousands of apps all over the world (including every app running Struts) is able to load resources from /WEB-INF/classes or /WEB-INF/lib if they use the correct invocation. Note that if you really did copy your properties file to /web-inf/classes instead of /WEB-INF/classes, give up and start over -- pretty much everything about servlets and JSP pages is case sensitive. Craig This is obviously not stored in the System.properties - is it kept internally anywhere? Randy - Original Message - From: Randy Secrist [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:21 PM Subject: Re: PropertyResourceBundle problems I did copy the props file to the web-inf/classes - however TC still doesn't know what to do with it... - Original Message - From: randie ursal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:05 PM Subject: Re: PropertyResourceBundle problems i have that same problem, and i solve it through the efforts of some people on this list. i just place my property file on WEB-INF/classes of my web application...that's it everything works fine now. =)...no need to place it on other repositories. this is my code in reading the property file: ResourceBundle oRes = PropertyResourceBundle.getBundle(MyProperty); Randy Secrist wrote: Hello, This is probably a very simple question - but I want to have a servlet load a PropertyResourceBundle and am having problems getting TC to find the resource... I want to do this: props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); I have tried moving the properties file into the WEB-INF/classes, COMMON/classes, packaging it with my webapp.jar, and dropping it in COMMON/lib, and WEB-INF/lib... I even moved it into bootstrap.jar since that is apparently the System classpath TC uses. Still no luck... Everytime I get a java.util.MissingResourceException What am I doing wrong? Randy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Randie V. Ursal Design Engineering Department NEC Telecom Software Philippines, Inc. office : +63(032) 233-9142 (loc.3119) mobile : +63(0917) 467-8244 email : [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] -- To unsubscribe, e-mail
Re: Threads Question in Tomcat
Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === Pj4xLiBJcyBpdCB0cnVlIHRoYXQgcmVxdWVzdHMgZnJvbSB0aGUgU0FNRSBjbGllbnQNCj4+YWx3 YXlzIHNlcnZlZCBieSB0aGUgU0FNRSB0aHJlYWQ/DQo+DQo+Tm90IGFsd2F5cy4gIEV2ZW4gaWYg YSBzZXJ2bGV0IGltcGxlbWVudHMgU2luZ2xlVGhyZWFkTW9kZWwsIHRoZQ0KPmNvbnRhaW5lciBt YXkgc3RpbGwga2VlcCBhIHBvb2wgb2YgaW5zdGFuY2VzIG9mIHRoaXMgc2VydmxldCBhbmQgaXNz dWUNCj5yZXF1ZXN0cyBhcyB0aGV5IGNvbWUgaW4sIGFzIGxvbmcgYXMgbm8gdHdvIHJlcXVlc3Rz IHNoYXJlIGFuIGluc3RhbmNlDQo+YXQgdGhlIHNhbWUgdGltZSAoaS5lLiB0aGV5J2xsIHByb2Nl c3Mgb25lIGF0IGEgdGltZSkuDQoNClRoaXMgaXMgdHJ1ZSBpbiBhIHZlcnkgcGFydGljdWxhciBz aXR1YXRpb24uIEJhc2ljYWxseSwgYSBzZXJ2bGV0IGNvbnRhaW5lciB3aWxsIGluc3RhbnRpYXRl IE9ORSBzZXJ2bGV0IGNsYXNzIGludG8gYW4gb2JqZWN0LiBFYWNoIHJlcXVlc3QgaXMgaGFuZGxl ZCB2a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gbG9va2VkIGludG8g VG9tY2F0IGludGVybmFscywgYnV0IHRoaXMgaXMgaG93IEkgcGljdHVyZSBhbnkgc2VydmxldCBj b250YWluZXIgd291bGQgd29yay4NCg0KPj4yLiBXaGF0IGlmIHRoZSBTQU1FIGNsaWVudCBhY2Nl c3MgMiBkaWZmZXJlbnQgc2VydmxldHMNCj4+aW4gYSBzZXJ2bGV0IGNvbnRhaW5lcj8gSXMgaXQg c3RpbGwgc2VydmVkIGJ5IHRoZSBTQU1FDQo+PnRocmVhZD8NCj4NCj5Ob3QgYWx3YXlzLiAgDQoN CkhhcmRseSBldmVyLCBJTU8sIHNlZSBhYm92ZS4NCg0KTml4Lg0K -- 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] -- 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]
Antw: JSP and MAC line breaks
Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: Andre Schild [EMAIL PROTECTED] === The following is a post from Larry Issacs re: TC 4.0.1 which had a bug in Jasper that was stripping the =22=5Cr=22 from the line terminator. Which version of TC are you having problems with? 4.0.3 is showing me this problem. In the 4.0.4 release notes, there is mentioned that this bug has been fixed.=20 So I will have to move to 4.0.4. Thanks for your help. Andr=E9 -- 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] -- 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]
jkmount possibilities
Subject: jkmount possibilities From: Chris Stokes [EMAIL PROTECTED] === Hi I was wondering if what I want to do is possible Tomcat 4.03 Apache 1.3.20 RHLinux 7.3 I have not defined any contexts in my server.xml I just want them auto = generated when I start tomcat4. To do this I tried a number of different = settings for jkmount and eventually settled on JkMount /*/servlet/* ajp13 This seemed to work as all my html and serlvets seemed to work fine. However - now I discover that Tomcat is serving all content ie. JkMount /*/servlet/* ajp13 Seems to work the same as JkMount /* ajp13 Is this the case? I only want tomcat to serve anything with servlet in the uri no matter = what precedes it eg http://server/context1/servlet/myservlet http://server/context2/servlet/myservlet This is in my httpd.conf LoadModule jk_module modules/mod_jk.so AddModule mod_jk.c IfModule mod_jk.c JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel error /IfModule NameVirtualHost 192.168.192.103 VirtualHost 192.168.192.103:80 ServerAdmin email@address DocumentRoot /home/bass/iAP21 ServerName server.name.com ErrorLog logs/ap21-error_log CustomLog logs/ap21-access_log common JkMount /*/servlet/* ajp13 /VirtualHost Chris Stokes Senior Systems Consultant Bass Software Pty Ltd [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: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: Randy Secrist [EMAIL PROTECTED] === Still at it. getRepositories() won't help a bit since (like you said) that class loader doesn't keep track of the class path over the scope it presides over... My key question May I assume that if I can load a class from this JAR, and the ResourceBundle is in the same JAR - shouldn't I be able to get to it as well? If not - why would that be the case? Nonetheless - I've pulled it out of the JAR and into a */classes dir with no difference... I've read the docs, fought the fight - I'm going to bed. I'll try to provide a little more information below on every element pertaining to the web app - and maybe I'll get lucky tomorrow. :) I just can't think of what it was I may have done different than those millions of people out there. These are the worst because you know it is something SO small. That is why I wish I could verify this somehow. Here is what I have. JAR LOCATION: I have a .jar file with this structure: META-INF (dir) com (dir - all my classes / servlets) SystemConfig (my properties file) someClass.class someClass.java Thats it for the .jar. It has resided all over my catalina.home directory - any any WEB-INF/lib or WEB-INF/classes I can find. (WEB-INF) should be upper case correct? I have it as upper case at the moment. CONTEXT CONFIG: Tomcat version 4.0.4. Running out of the ROOT context within a multiple host / context environment - using a JNDIRealm. reloadable is set to false - however I restart the server after each new attempt. (old habits die hard) SERVLET CODE: My Servlet: makes this call in it's init method: (as a singleton) webProps = WebProperties.getInstance(); which in WebProperties singleton constructor calls: try { props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); System.out.println(WebProperties - Load Success!); this.init(); } catch (java.lang.Throwable e) { System.err.println(WebProperties - Load Failure!); throw new ResourceFailure(e); } The exception is ALWAYS thrown on the getBundle call. resulting in java.util.MissingResourceException: Can't find bundle for base name SystemConfig, locale en_US Anywho - thanks for your patience. Randy -- 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: Java FTP and Tomcat
Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === PiBEb2VzIGFueW9uZSBrbm93IGlmIHRoZXJlIGlzIGEgRlRQIGNvbm5lY3Rvcig/KSBmb3IgVG9t Y2F0Pw0KPiANCj4gSWYgbm90LCBpcyBpdCBzb21ldGhpbmcgdGhhdCdzIGRvYWJsZSB3aXRoIFRv bWNhdD8NCg0KRlRQLCBhcyBhIHByb3RvY29sLCBpcyBzdGF0ZWZ1bC4gSW4gb3RoZXIgd29yZHMs IHlvdSBsb2dpbiB0byB0aGUgc2VydmVyIGFuZCB1bnRpbCB5b3UgbG9nIG91dCwgeW91IGhhdmUg YW4gRlRQIHNlc3Npb24uIEhUVFAgaXMgc3RhdGVsZXNzLiBUaGVyZSBpcyBubyBsb2dpbi9sb2dv dXQuIFRoZXJlIGFyZSBlbXVsYXRpb25zIG9mIHRob3NlIGNvbmNlcHRzOiBhdXRoZW50aWNhdGlv biBhbmQgc2Vzc2lvbiBjcmVhdGlvbiwgYnV0IHRoZXkgYXJlIGltcGxlbWVudGVkIGVpdGhlciBw ZXIgcmVxdWVzdCAoYXV0aCBpbiBIVFRQIGhlYWRlcnMpIG9yIGEgc2ltdWxhdGlvbiAoc2Vzc2lv biBpbiBjb29raWVzIG9yIFVSTCByZXdyaXRpbmcpLg0KDQpUaGUgb25seSB0aGluZyB0aGF0IHdv dWxkIHNlYW0gZG9hYmxlIHdpdGggVG9tY2F0IGlzIHN1cHBvcnQgZm9yIEZUUCBVUkxzIHRocm91 Z2ggSFRUUCByZXF1ZXN0LCBzb21ldGhpbmcgbGlrZToNCg0KIkdFVCBmdHA6Ly9teS5ob3N0LmRv bWFpbi5jb20vcHViL2FwcHMvcGdzcWwuamFyIEhUVFAvMS4xIg0KDQpCVVQsIHRoZXJlIGlzIGEg cHJvYmxlbSB3aXRoIHRoaXMuIDotKSBSRkMgZXhwbGljaXRlbHkgc3RhdGVzIHRoYXQgYWxsIEhU VFAgMS4wIGFuZCAxLjEgY2xpZW50cyBzaG91bGQgaXNzdWUgYWJzb2x1dGUgVVJMcyBvbmx5IHdo ZW4gdGFsa2luZyB0byBhIHByb3h5LiBTbywgdGhlIGFuc3dlciBpcyBOTywgdW5sZXNzIHlvdSB3 YW50IHRvIGJlIGEgZ2VuZXJhbCBwdXJwb3NlIEZUUCBwcm94eS4NCg0KTml4Lg0K -- 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] -- 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: Threads Question in Tomcat
Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Threads Question in Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === Pj4xLiBJcyBpdCB0cnVlIHRoYXQgcmVxdWVzdHMgZnJvbSB0aGUgU0FNRSBjbGllbnQNCj4+YWx3 YXlzIHNlcnZlZCBieSB0aGUgU0FNRSB0aHJlYWQ/DQo+DQo+Tm90IGFsd2F5cy4gIEV2ZW4gaWYg YSBzZXJ2bGV0IGltcGxlbWVudHMgU2luZ2xlVGhyZWFkTW9kZWwsIHRoZQ0KPmNvbnRhaW5lciBt YXkgc3RpbGwga2VlcCBhIHBvb2wgb2YgaW5zdGFuY2VzIG9mIHRoaXMgc2VydmxldCBhbmQgaXNz dWUNCj5yZXF1ZXN0cyBhcyB0aGV5IGNvbWUgaW4sIGFzIGxvbmcgYXMgbm8gdHdvIHJlcXVlc3Rz IHNoYXJlIGFuIGluc3RhbmNlDQo+YXQgdGhlIHNhbWUgdGltZSAoaS5lLiB0aGV5J2xsIHByb2Nl c3Mgb25lIGF0IGEgdGltZSkuDQoNClRoaXMgaXMgdHJ1ZSBpbiBhIHZlcnkgcGFydGljdWxhciBz aXR1YXRpb24uIEJhc2ljYWxseSwgYSBzZXJ2bGV0IGNvbnRhaW5lciB3aWxsIGluc3RhbnRpYXRl IE9ORSBzZXJ2bGV0IGNsYXNzIGludG8gYW4gb2JqZWN0LiBFYWNoIHJlcXVlc3QgaXMgaGFuZGxl ZCB2aWEgaXQncyBvd24gc2VwYXJhdGUgdGhyZWFkLiBVbmxlc3MgU2VydmxldCBpbXBsZW1lbnRz IFNpbmdsZVRocmVhZE1vZGVsLCBhbGwgd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ay4NCg0KPj4yLiBXaGF0IGlmIHRoZSBTQU1FIGNsaWVudCBhY2Nl c3MgMiBkaWZmZXJlbnQgc2VydmxldHMNCj4+aW4gYSBzZXJ2bGV0IGNvbnRhaW5lcj8gSXMgaXQg c3RpbGwgc2VydmVkIGJ5IHRoZSBTQU1FDQo+PnRocmVhZD8NCj4NCj5Ob3QgYWx3YXlzLiAgDQoN CkhhcmRseSBldmVyLCBJTU8sIHNlZSBhYm92ZS4NCg0KTml4Lg0K -- 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] -- 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]
Antw: JSP and MAC line breaks
Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Antw: JSP and MAC line breaks From: Andre Schild [EMAIL PROTECTED] === The following is a post from Larry Issacs re: TC 4.0.1 which had a bug in Jasper that was stripping the =22=5Cr=22 from the line terminator. Which version of TC are you having problems with? 4.0.3 is showing me this problem. In the 4.0.4 release notes, there is mentioned that this bug has been fixed.=20 So I will have to move to 4.0.4. Thanks for your help. Andr=E9 -- 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] -- 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: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: Craig R. McClanahan [EMAIL PROTECTED] === On Tue, 27 Aug 2002, Randy Secrist wrote: Date: Tue, 27 Aug 2002 21:58:00 -0600 From: Randy Secrist [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: PropertyResourceBundle problems Lets try this route then: Is there ANY way to get the actual class path the TC class loader uses to load classes at runtime from within a servlet out of ANY context? No. The problem is that there *is* no such thing as a class path for the TC class class loader used to load classes at runtime from within a servlet. The classpath system property is global to the entire JVM that is running Tomcat, so it is (obviously) not capable of representing the set of classes available to each individual webapp. Class loaders only know what repositories they are loading classes (and static resources) from -- in the particular case of Tomcat, they are all subclasses of java.net.URLClassLoader so you can call getRepositories() -- but it won't help you much. See the following docs for more details: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html The real issue is that there's something you are doing wrong that nobody has been able to figure out yet. Thousands of apps all over the world (including every app running Struts) is able to load resources from /WEB-INF/classes or /WEB-INF/lib if they use the correct invocation. Note that if you really did copy your properties file to /web-inf/classes instead of /WEB-INF/classes, give up and start over -- pretty much everything about servlets and JSP pages is case sensitive. Craig This is obviously not stored in the System.properties - is it kept internally anywhere? Randy - Original Message - From: Randy Secrist [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:21 PM Subject: Re: PropertyResourceBundle problems I did copy the props file to the web-inf/classes - however TC still doesn't know what to do with it... - Original Message - From: randie ursal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:05 PM Subject: Re: PropertyResourceBundle problems i have that same problem, and i solve it through the efforts of some people on this list. i just place my property file on WEB-INF/classes of my web application...that's it everything works fine now. =)...no need to place it on other repositories. this is my code in reading the property file: ResourceBundle oRes = PropertyResourceBundle.getBundle(MyProperty); Randy Secrist wrote: Hello, This is probably a very simple question - but I want to have a servlet load a PropertyResourceBundle and am having problems getting TC to find the resource... I want to do this: props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); I have tried moving the properties file into the WEB-INF/classes, COMMON/classes, packaging it with my webapp.jar, and dropping it in COMMON/lib, and WEB-INF/lib... I even moved it into bootstrap.jar since that is apparently the System classpath TC uses. Still no luck... Everytime I get a java.util.MissingResourceException What am I doing wrong? Randy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Randie V. Ursal Design Engineering Department NEC Telecom Software Philippines, Inc. office : +63(032) 233-9142 (loc.3119) mobile : +63(0917) 467-8244 email : [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
Re: Java FTP and Tomcat
Subject: Re: Java FTP and Tomcat From: Michael Delamere [EMAIL PROTECTED] === Hello??? - Original Message - From: Jakarta Tomcat Newsgroup (@Basebeans.com) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 9:10 AM Subject: Re: Java FTP and Tomcat Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: Java FTP and Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === PiBEb2VzIGFueW9uZSBrbm93IGlmIHRoZXJlIGlzIGEgRlRQIGNvbm5lY3Rvcig/KSBmb3IgVG9t Y2F0Pw0KPiANCj4gSWYgbm90LCBpcyBpdCBzb21ldGhpbmcgdGhhdCdzIGRvYWJsZSB3aXRoIFRv bWNhdD8NCg0KRlRQLCBhcyBhIHByb3RvY29sLCBpcyBzdGF0ZWZ1bC4gSW4gb3RoZXIgd29yZHMs IHlvdSBsb2dpbiB0byB0aGUgc2VydmVyIGFuZCB1bnRpbCB5b3UgbG9nIG91dCwgeW91IGhhdmUg YW4gRlRQIHNlc3Npb24uIEhUVFAgaXMgc3RhdGVsZXNzLiBUaGVyZSBpcyBubyBsb2dpbi9sb2dv dXQuIFRoZXJlIGFyZSBlbXVsYXRpb25zIG9mIHRob3NlIGNvbmNlcHRzOiBhdXRoZW50aWNhdGlv biBhbmQgc2Vzc2lvbiBjcmVhdGlvbiwgYnV0IHRoZXkgYXJlIGltcGxlbWVudGVkIGVpdGhlciBw ZXIgcmVxdWVzdCAoYXV0aCBpbiBIVFRQIGhlYWRlcnMpIG9yIGEgc2ltdWxhdGlvbiAoc2Vzc2lv biBpbiBjb29raWVzIG9yIFVSTCByZXdyaXRpbmcpLg0KDQpUaGUgb25seSB0aGluZyB0aGF0IHdv dWxkIHNlYW0gZG9hYmxlIHdpdGggVG9tY2F0IGlzIHN1cHBvcnQgZm9yIEZUUCBVUkxzIHRocm91 Z2ggSFRUUCByZXF1ZXN0LCBzb21ldGhpbmcgbGlrZToNCg0KIkdFVCBmdHA6Ly9teS5ob3N0LmRv bWFpbi5jb20vcHViL2FwcHMvcGdzcWwuamFyIEhUVFAvMS4xIg0KDQpCVVQsIHRoZXJlIGlzIGEg cHJvYmxlbSB3aXRoIHRoaXMuIDotKSBSRkMgZXhwbGljaXRlbHkgc3RhdGVzIHRoYXQgYWxsIEhU VFAgMS4wIGFuZCAxLjEgY2xpZW50cyBzaG91bGQgaXNzdWUgYWJzb2x1dGUgVVJMcyBvbmx5IHdo ZW4gdGFsa2luZyB0byBhIHByb3h5LiBTbywgdGhlIGFuc3dlciBpcyBOTywgdW5sZXNzIHlvdSB3 YW50IHRvIGJlIGEgZ2VuZXJhbCBwdXJwb3NlIEZUUCBwcm94eS4NCg0KTml4Lg0K -- 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] -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: Randy Secrist [EMAIL PROTECTED] === Still at it. getRepositories() won't help a bit since (like you said) that class loader doesn't keep track of the class path over the scope it presides over... My key question May I assume that if I can load a class from this JAR, and the ResourceBundle is in the same JAR - shouldn't I be able to get to it as well? If not - why would that be the case? Nonetheless - I've pulled it out of the JAR and into a */classes dir with no difference... I've read the docs, fought the fight - I'm going to bed. I'll try to provide a little more information below on every element pertaining to the web app - and maybe I'll get lucky tomorrow. :) I just can't think of what it was I may have done different than those millions of people out there. These are the worst because you know it is something SO small. That is why I wish I could verify this somehow. Here is what I have. JAR LOCATION: I have a .jar file with this structure: META-INF (dir) com (dir - all my classes / servlets) SystemConfig (my properties file) someClass.class someClass.java Thats it for the .jar. It has resided all over my catalina.home directory - any any WEB-INF/lib or WEB-INF/classes I can find. (WEB-INF) should be upper case correct? I have it as upper case at the moment. CONTEXT CONFIG: Tomcat version 4.0.4. Running out of the ROOT context within a multiple host / context environment - using a JNDIRealm. reloadable is set to false - however I restart the server after each new attempt. (old habits die hard) SERVLET CODE: My Servlet: makes this call in it's init method: (as a singleton) webProps = WebProperties.getInstance(); which in WebProperties singleton constructor calls: try { props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); System.out.println(WebProperties - Load Success!); this.init(); } catch (java.lang.Throwable e) { System.err.println(WebProperties - Load Failure!); throw new ResourceFailure(e); } The exception is ALWAYS thrown on the getBundle call. resulting in java.util.MissingResourceException: Can't find bundle for base name SystemConfig, locale en_US Anywho - thanks for your patience. Randy -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
jkmount possibilities
Subject: jkmount possibilities From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: jkmount possibilities From: Chris Stokes [EMAIL PROTECTED] === Hi I was wondering if what I want to do is possible Tomcat 4.03 Apache 1.3.20 RHLinux 7.3 I have not defined any contexts in my server.xml I just want them auto = generated when I start tomcat4. To do this I tried a number of different = settings for jkmount and eventually settled on JkMount /*/servlet/* ajp13 This seemed to work as all my html and serlvets seemed to work fine. However - now I discover that Tomcat is serving all content ie. JkMount /*/servlet/* ajp13 Seems to work the same as JkMount /* ajp13 Is this the case? I only want tomcat to serve anything with servlet in the uri no matter = what precedes it eg http://server/context1/servlet/myservlet http://server/context2/servlet/myservlet This is in my httpd.conf LoadModule jk_module modules/mod_jk.so AddModule mod_jk.c IfModule mod_jk.c JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel error /IfModule NameVirtualHost 192.168.192.103 VirtualHost 192.168.192.103:80 ServerAdmin email@address DocumentRoot /home/bass/iAP21 ServerName server.name.com ErrorLog logs/ap21-error_log CustomLog logs/ap21-access_log common JkMount /*/servlet/* ajp13 /VirtualHost Chris Stokes Senior Systems Consultant Bass Software Pty Ltd [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]
Re: JVM crashes when using JSSE
Subject: Re: JVM crashes when using JSSE From: Tim Koop [EMAIL PROTECTED] === In case you're curious, I tried it with Sun's Java SDK 1.4.1 and all works fine. Tim Koop www.timkoop.com - Original Message - From: Tim Koop [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 23, 2002 4:08 PM Subject: JVM crashes when using JSSE I have Tomcat working fine, but when I try to get the SSL working using JSSE, by uncommenting the lines in server.xml, Java crashes on me. I installed Tomcat 4.0.4 with the tomcat4-4.0.4-full.2jpp.noarch.rpm rpm. I installed Java SDK 1.3.1 with the IBMJava2-SDK-1.3.1-2.0.i386.rpm rpm. It all works fine till here. Then I found the following files and put them in /opt/IBMJava2-131/jre/lib/ext/ jcert.jar jnet.jar jsse.jar Then I ran the keytool, just like the instructions said and put the .keystore file in the tomcat4 directory. Then I uncommented the following lines in /var/tomcat4/conf/server.xml !-- Define an SSL HTTP/1.1 Connector on port 8443 -- Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS/ keystoreFile/var/tomcat4//keystoreFile /Connector When I restart at this point, I get the following error, which I concluded was a JVM core dump: stackpointer=0xbfffeda8 Writing Java core file Written Java core to /tmp/javacore9253.1030108102.txt I'm using a fresh install of Linux Red Hat 7.3 Can anyone give me any ideas on how to get this working? Thanks in advance. Tim Koop -- 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: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: Craig R. McClanahan [EMAIL PROTECTED] === On Tue, 27 Aug 2002, Randy Secrist wrote: Date: Tue, 27 Aug 2002 21:58:00 -0600 From: Randy Secrist [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: PropertyResourceBundle problems Lets try this route then: Is there ANY way to get the actual class path the TC class loader uses to load classes at runtime from within a servlet out of ANY context? No. The problem is that there *is* no such thing as a class path for the TC class class loader used to load classes at runtime from within a servlet. The classpath system property is global to the entire JVM that is running Tomcat, so it is (obviously) not capable of representing the set of classes available to each individual webapp. Class loaders only know what repositories they are loading classes (and static resources) from -- in the particular case of Tomcat, they are all subclasses of java.net.URLClassLoader so you can call getRepositories() -- but it won't help you much. See the following docs for more details: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html The real issue is that there's something you are doing wrong that nobody has been able to figure out yet. Thousands of apps all over the world (including every app running Struts) is able to load resources from /WEB-INF/classes or /WEB-INF/lib if they use the correct invocation. Note that if you really did copy your properties file to /web-inf/classes instead of /WEB-INF/classes, give up and start over -- pretty much everything about servlets and JSP pages is case sensitive. Craig This is obviously not stored in the System.properties - is it kept internally anywhere? Randy - Original Message - From: Randy Secrist [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:21 PM Subject: Re: PropertyResourceBundle problems I did copy the props file to the web-inf/classes - however TC still doesn't know what to do with it... - Original Message - From: randie ursal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:05 PM Subject: Re: PropertyResourceBundle problems i have that same problem, and i solve it through the efforts of some people on this list. i just place my property file on WEB-INF/classes of my web application...that's it everything works fine now. =)...no need to place it on other repositories. this is my code in reading the property file: ResourceBundle oRes = PropertyResourceBundle.getBundle(MyProperty); Randy Secrist wrote: Hello, This is probably a very simple question - but I want to have a servlet load a PropertyResourceBundle and am having problems getting TC to find the resource... I want to do this: props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); I have tried moving the properties file into the WEB-INF/classes, COMMON/classes, packaging it with my webapp.jar, and dropping it in COMMON/lib, and WEB-INF/lib... I even moved it into bootstrap.jar since that is apparently the System classpath TC uses. Still no luck... Everytime I get a java.util.MissingResourceException What am I doing wrong? Randy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Randie V. Ursal Design Engineering Department NEC Telecom Software Philippines, Inc. office : +63(032) 233-9142 (loc.3119) mobile : +63(0917) 467-8244 email : [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] -- 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: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: Craig R. McClanahan [EMAIL PROTECTED] === On Tue, 27 Aug 2002, Randy Secrist wrote: Date: Tue, 27 Aug 2002 21:58:00 -0600 From: Randy Secrist [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: PropertyResourceBundle problems Lets try this route then: Is there ANY way to get the actual class path the TC class loader uses to load classes at runtime from within a servlet out of ANY context? No. The problem is that there *is* no such thing as a class path for the TC class class loader used to load classes at runtime from within a servlet. The classpath system property is global to the entire JVM that is running Tomcat, so it is (obviously) not capable of representing the set of classes available to each individual webapp. Class loaders only know what repositories they are loading classes (and static resources) from -- in the particular case of Tomcat, they are all subclasses of java.net.URLClassLoader so you can call getRepositories() -- but it won't help you much. See the following docs for more details: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html The real issue is that there's something you are doing wrong that nobody has been able to figure out yet. Thousands of apps all over the world (including every app running Struts) is able to load resources from /WEB-INF/classes or /WEB-INF/lib if they use the correct invocation. Note that if you really did copy your properties file to /web-inf/classes instead of /WEB-INF/classes, give up and start over -- pretty much everything about servlets and JSP pages is case sensitive. Craig This is obviously not stored in the System.properties - is it kept internally anywhere? Randy - Original Message - From: Randy Secrist [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:21 PM Subject: Re: PropertyResourceBundle problems I did copy the props file to the web-inf/classes - however TC still doesn't know what to do with it... - Original Message - From: randie ursal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:05 PM Subject: Re: PropertyResourceBundle problems i have that same problem, and i solve it through the efforts of some people on this list. i just place my property file on WEB-INF/classes of my web application...that's it everything works fine now. =)...no need to place it on other repositories. this is my code in reading the property file: ResourceBundle oRes = PropertyResourceBundle.getBundle(MyProperty); Randy Secrist wrote: Hello, This is probably a very simple question - but I want to have a servlet load a PropertyResourceBundle and am having problems getting TC to find the resource... I want to do this: props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); I have tried moving the properties file into the WEB-INF/classes, COMMON/classes, packaging it with my webapp.jar, and dropping it in COMMON/lib, and WEB-INF/lib... I even moved it into bootstrap.jar since that is apparently the System classpath TC uses. Still no luck... Everytime I get a java.util.MissingResourceException What am I doing wrong? Randy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Randie V. Ursal Design Engineering Department NEC Telecom Software Philippines, Inc. office : +63(032) 233-9142 (loc.3119) mobile : +63(0917) 467-8244 email : [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] -- 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: Java FTP and Tomcat
Subject: Re: Java FTP and Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === PiBEb2VzIGFueW9uZSBrbm93IGlmIHRoZXJlIGlzIGEgRlRQIGNvbm5lY3Rvcig/KSBmb3IgVG9t Y2F0Pw0KPiANCj4gSWYgbm90LCBpcyBpdCBzb21ldGhpbmcgdGhhdCdzIGRvYWJsZSB3aXRoIFRv bWNhdD8NCg0KRlRQLCBhcyBhIHByb3RvY29sLCBpcyBzdGF0ZWZ1bC4gSW4gb3RoZXIgd29yZHMs IHlvdSBsb2dpbiB0byB0aGUgc2VydmVyIGFuZCB1bnRpbCB5b3UgbG9nIG91dCwgeW91IGhhdmUg YW4gRlRQIHNlc3Npb24uIEhUVFAgaXMgc3RhdGVsZXNzLiBUaGVyZSBpcyBubyBsb2dpbi9sb2dv dXQuIFRoZXJlIGFyZSBlbXVsYXRpb25zIG9mIHRob3NlIGNvbmNlcHRzOiBhdXRoZW50aWNhdGlv biBhbmQgc2Vzc2lvbiBjcmVhdGlvbiwgYnV0IHRoZXkgYXJlIGltcGxlbWVudGVkIGVpdGhlciBw ZXIgcmVxdWVzdCAoYXV0aCBpbiBIVFRQIGhlYWRlcnMpIG9yIGEgc2ltdWxhdGlvbiAoc2Vzc2lv biBpbiBjb29raWVzIG9yIFVSTCByZXdyaXRpbmcpLg0KDQpUaGUgb25seSB0aGluZyB0aGF0IHdv dWxkIHNlYW0gZG9hYmxlIHdpdGggVG9tY2F0IGlzIHN1cHBvcnQgZm9yIEZUUCBVUkxzIHRocm91 Z2ggSFRUUCByZXF1ZXN0LCBzb21ldGhpbmcgbGlrZToNCg0KIkdFVCBmdHA6Ly9teS5ob3N0LmRv bWFpbi5jb20vcHViL2FwcHMvcGdzcWwuamFyIEhUVFAvMS4xIg0KDQpCVVQsIHRoZXJlIGlzIGEg cHJvYmxlbSB3aXRoIHRoaXMuIDotKSBSRkMgZXhwbGljaXRlbHkgc3RhdGVzIHRoYXQgYWxsIEhU VFAgMS4wIGFuZCAxLjEgY2xpZW50cyBzaG91bGQgaXNzdWUgYWJzb2x1dGUgVVJMcyBvbmx5IHdo ZW4gdGFsa2luZyB0byBhIHByb3h5LiBTbywgdGhlIGFuc3dlciBpcyBOTywgdW5sZXNzIHlvdSB3 YW50IHRvIGJlIGEgZ2VuZXJhbCBwdXJwb3NlIEZUUCBwcm94eS4NCg0KTml4Lg0K -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Threads Question in Tomcat
Subject: Re: Threads Question in Tomcat From: Nikola Milutinovic [EMAIL PROTECTED] === Pj4xLiBJcyB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subscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: PropertyResourceBundle problems
Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: [EMAIL PROTECTED] (Jakarta Tomcat Newsgroup (@Basebeans.com)) === Subject: Re: PropertyResourceBundle problems From: Craig R. McClanahan [EMAIL PROTECTED] === On Tue, 27 Aug 2002, Randy Secrist wrote: Date: Tue, 27 Aug 2002 21:58:00 -0600 From: Randy Secrist [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: PropertyResourceBundle problems Lets try this route then: Is there ANY way to get the actual class path the TC class loader uses to load classes at runtime from within a servlet out of ANY context? No. The problem is that there *is* no such thing as a class path for the TC class class loader used to load classes at runtime from within a servlet. The classpath system property is global to the entire JVM that is running Tomcat, so it is (obviously) not capable of representing the set of classes available to each individual webapp. Class loaders only know what repositories they are loading classes (and static resources) from -- in the particular case of Tomcat, they are all subclasses of java.net.URLClassLoader so you can call getRepositories() -- but it won't help you much. See the following docs for more details: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html The real issue is that there's something you are doing wrong that nobody has been able to figure out yet. Thousands of apps all over the world (including every app running Struts) is able to load resources from /WEB-INF/classes or /WEB-INF/lib if they use the correct invocation. Note that if you really did copy your properties file to /web-inf/classes instead of /WEB-INF/classes, give up and start over -- pretty much everything about servlets and JSP pages is case sensitive. Craig This is obviously not stored in the System.properties - is it kept internally anywhere? Randy - Original Message - From: Randy Secrist [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:21 PM Subject: Re: PropertyResourceBundle problems I did copy the props file to the web-inf/classes - however TC still doesn't know what to do with it... - Original Message - From: randie ursal [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:05 PM Subject: Re: PropertyResourceBundle problems i have that same problem, and i solve it through the efforts of some people on this list. i just place my property file on WEB-INF/classes of my web application...that's it everything works fine now. =)...no need to place it on other repositories. this is my code in reading the property file: ResourceBundle oRes = PropertyResourceBundle.getBundle(MyProperty); Randy Secrist wrote: Hello, This is probably a very simple question - but I want to have a servlet load a PropertyResourceBundle and am having problems getting TC to find the resource... I want to do this: props = (PropertyResourceBundle) PropertyResourceBundle.getBundle(SystemConfig); I have tried moving the properties file into the WEB-INF/classes, COMMON/classes, packaging it with my webapp.jar, and dropping it in COMMON/lib, and WEB-INF/lib... I even moved it into bootstrap.jar since that is apparently the System classpath TC uses. Still no luck... Everytime I get a java.util.MissingResourceException What am I doing wrong? Randy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Randie V. Ursal Design Engineering Department NEC Telecom Software Philippines, Inc. office : +63(032) 233-9142 (loc.3119) mobile : +63(0917) 467-8244 email : [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] -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Threads Question in Tomcat
Subject: Re: Threads Question in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SBTQU1FDQo+PnRocmVhZD8NCj4NCj5Ob3QgYWx3YXlzLiAgDQoN CkhhcmRseSBldmVyLCBJTU8sIHNlZSBhYm92ZS4NCg0KTml4Lg0K -- 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]
Tomcat Manager App with Struts 1.1b2 - ClassCastException?
Subject: Tomcat Manager App with Struts 1.1b2 - ClassCastException? From: Andrej Sobkowski [EMAIL PROTECTED] === All, I'm using Struts 1.1b1 with Tomcat 4.0.4, using the manager app to dynamically stop/start my webapp. Everything works very well but I now need a few fixes from Struts 1.1b2 (note the '2'). I've therefore downloaded the b2 JAR files and copied them in my WEB-INF/lib directory (where they are supposed to be picked up by a separate class loader, if I'm not mistaken). When I re-deploy the webapp using the manager, I get a ClassCastException (reported below) from Tomcat. This doesn't happen if I restart the server (but I lose the dynamic deployment). I believe that it's a problem with the two versions of the struts.jar: one for the manager app and the new Struts 1.1b2 used by my webapp. Is this a known bug? Am I doing something wrong? Would migrating to 4.1.x solve the issue (I'll have to do it sometimes anyways)? Any help is appreciated. Thanks. Andrej PS. I haven't found an answer to this problem anywhere. Please send me a link to the solution message if I've missed it. java.lang.ClassCastException: org.apache.struts.action.RequestProcessor at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.jav a:803) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) 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.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) 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:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) 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:5 66) 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:484) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Can't get UserTransaction to work in Tomcat 4.0.4 on Mac OS X
Subject: Can't get UserTransaction to work in Tomcat 4.0.4 on Mac OS X From: Matt Raible [EMAIL PROTECTED] === I am trying to use the UserTransaction in a java class to manage a transaction manually. I've installed Tomcat 4.0.4 on Windows XP and Red Hat 7.2/7.3 and my code works fine. However, on Mac OS X, I got the following error: TyrexTransactionFactory: Cannot create Transaction, Exception java.lang.NoClassDefFoundError: org/omg/CosTransactions/Inactive at tyrex.server.TransactionServer.createTransactionDomain(TransactionServer.jav a:200) at tyrex.server.TransactionServer.getTransactionDomain(TransactionServer.java:1 83) at tyrex.tm.Tyrex.clinit(Tyrex.java:77) at org.apache.naming.factory.TyrexTransactionFactory.getObjectInstance(TyrexTra nsactionFactory.java:120) - So I found a download of the ots-jts_1.0.jar that should've supposedly help. Downloaded from: http://tyrex.exolab.org/cgi-bin/cvsweb.cgi/tyrex/lib/ots-jts_1.0.jar?cvsroot =tyrex It will help indicated from: http://www.apachelabs.org/tomcat-dev/200203.mbox/%3C320B11D7288DF64B8FAFE83E [EMAIL PROTECTED]%3E -- But now I get the following error - any ideas? javax.transaction.HeuristicRollbackException: [Missing message tyrex.tx.rolledback] at tyrex.tm.TransactionImpl.commit(TransactionImpl.java:724) at tyrex.tm.TransactionImpl.commit(TransactionImpl.java:648) at tyrex.tm.TransactionManagerImpl.commit(TransactionManagerImpl.java:222) at tyrex.tm.UserTransactionImpl.commit(UserTransactionImpl.java:105) at com.onpoint.webapp.action.TestSaveAction.add(TestSaveAction.java:336) 1. Why the difference on OS X? 2. How do I fix this? 3. Will TC 4.1.x ever be released, or is it better to wait for 5.x. Thanks, Matt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: IIS 5.0 Help
Subject: Re: IIS 5.0 Help From: Jean Fotovat [EMAIL PROTECTED] === hello michael, tell me please how do you use tomcat 3.2.1 and iis 5 under windows 2000. thank you jean Michael A. Plett [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] I have a windows 2000 server with IIS 5.0 on it. I have used tomcat 3.2 with no problem. When I try to install 4.0.3 on it I can not get it to work without having to append :8080 to the URL's. This works ok for my inside network but for the outside network you can not get to the URL's through :8080. What would be the problem? or does anyone know how to solve this? thanks ___ | | _ |Michael Plett | _ / )|Manager Application Engineering|( \ / / | MailTo: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | \ \ _( ( | _ _ | ) )_ (((\ \ |_/ )___( \_| / /))) (\\ \ \_/ / \ \_/ / file://) \ /Axis Technologies \ / \_/16633 Dallas Parkway Suite 600 \_/ / / Addison, TX 75001 \ \ /___/ (972) 588-1874 FAX: (972) 588-1876\___\ 1-888-324-2036 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
security filter Realm class file location
Subject: security filter Realm class file location From: Torgeir Veimo [EMAIL PROTECTED] === I'm working on a security filter that takes a tomcat Realm definition exactly as in server.xml. However, I'm facing the problem that the Realm RealmBase classes (which most realms subclass) is defined in server/lib/catalina.jar, which is not available to filters located within a webapp. Is my best option to include both Realm RealmBase classes in the filter jar itself, or are there better options? -- -Torgeir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
failed to enable SSL on Tomcat using a cert signed by using OpenSSL
Subject: failed to enable SSL on Tomcat using a cert signed by using OpenSSL From: tom [EMAIL PROTECTED] === I successfully enabled SSL on Tomcat 4.04 with using a Trail cert signed by the Verisign. Descrptions of the steps: 1. use c:\j2sdk1.4.0\bin\keytool to generate a key and a .keystore file 2. submit the key to verisign for a Trail certificate for testing purpose 3. import the CA ROOT cert 4 import and trust the signed cert 5. modify the server.xml to include the .keystore file However, I failed to enable SSL on Tomcat with using a cert signed by my University Descriptions of the steps 1. use c:\j2sdk1.4.0\bin\keytool to generate a key with the same options as above) 2. submit the key to my university's ca for applying a certificate for production purpose 3. import the CA ROOT cert and a Server cert which is a sub-node of of the CA ROOT 4 import and trust the signed cert (CAROOT - SERVER - MYCERT) 5. modify the server.xml to include the .keystore file 6 then I doubt checked the .keystore file which could print all information of the certs properly. But this time, the server has no reponse. What I know that my university uses OpenSSL to sign the cert Tom mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
failed to enable SSL on Tomcat 4.04
Subject: failed to enable SSL on Tomcat 4.04 From: tom [EMAIL PROTECTED] === I tried to enable SSL for 2 days but did not ever success. Environment: Windows 2000 Server JDK1.4.0.01 Tomcat 4.04 1 signed digital certificate Steps 1. run keytool -import -alias wisdom -file wisdom.crt -keystore c:\mydoc\.keystore to generate the .keystore file 2. modify server.xml as below Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS keystoreFile=c:\mydoc\.keystore keystorePass=changeit/ /Connector 3. run startup 4. load http://localhost:8443 The browser displays 4 strange squares, and no error message ever appears in the console Alternatively, I tried to following the doc http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html exactly. but still failed to enable SSL. 1. run keytool -genkey -alias tomcat -keyalg RSA -keystore c:\mydoc2\.keystore 2. modify the server.xml as below Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS keystoreFile=c:\mydoc2\.keystore keystorePass=changeit/ /Connector 3. run startup 4. load http://localhost:8443 The browser displays 3 strange symbols, and no error message ever appears in the console Help please. Tom mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: failed to enable SSL on Tomcat 4.04
Subject: Re: failed to enable SSL on Tomcat 4.04 From: tom [EMAIL PROTECTED] === Jurjan, Thanks for your reply, I got it, but it is only validate if using a dummy keystore created by the keytool. My problem is I have a signed certification issued by my univerity's ca, I tried to get the .keystore file but it seems that tomcat does not recognise it. Here is my implementation C:\jakarta-tomcat-4.0.4\binkeytool -import -alias root -keystore wisdom\.keystore -trustcacerts -file caroot.cer C:\jakarta-tomcat-4.0.4\binkeytool -import -alias wisdom -keystore wisdom\.keystore -trustcacerts -file 1061.crt server.xml configuration Connector className=org.apache.catalina.connector.http.HttpConnector port=443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS keystoreFile=c:\temp\wisdom\.keystore keystorePass=changeit/ /Connector Thank you very much. Tom [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Tom, I think you make one mistake you have to load https://localhost:8443, with https as your conection protocol not http. That will do I think, I had the same problem.If you load the url over http you only see 4 squares. Jurjan Subject: failed to enable SSL on Tomcat 4.04 From: tom [EMAIL PROTECTED] === I tried to enable SSL for 2 days but did not ever success. Environment: Windows 2000 Server JDK1.4.0.01 Tomcat 4.04 1 signed digital certificate Steps 1. run keytool -import -alias wisdom -file wisdom.crt -keystore c:\mydoc\.keystore to generate the .keystore file 2. modify server.xml as below Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS keystoreFile=c:\mydoc\.keystore keystorePass=changeit/ /Connector 3. run startup 4. load http://localhost:8443 The browser displays 4 strange squares, and no error message ever appears in the console Alternatively, I tried to following the doc http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html exactly. but still failed to enable SSL. 1. run keytool -genkey -alias tomcat -keyalg RSA -keystore c:\mydoc2\.keystore 2. modify the server.xml as below Connector className=org.apache.catalina.connector.http.HttpConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS keystoreFile=c:\mydoc2\.keystore keystorePass=changeit/ /Connector 3. run startup 4. load http://localhost:8443 The browser displays 3 strange symbols, and no error message ever appears in the console Help please. Tom 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Java servlets html escape codes.
Subject: Re: Java servlets html escape codes. From: Ron Jon [EMAIL PROTECTED] === that's one possible way to do conversion string--html: public static String ConvertString(String source){ if (source==null) return null; int length = source.length(); StringBuffer temp = new StringBuffer(2*length); for(int i=0;ilength;i++){ char c = source.charAt(i); if (c =='') temp.append(lt;); else if (c =='') temp.append(gt;); else if (c =='') temp.append(amp;); else if (c =='') temp.append(quot;); else if (c ==' ') temp.append(nbsp;); else temp.append(c); } return temp.toString(); } Anthony Geoghegan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Anyone know a low overhead class or method for converting text strings to html escape coded strings (and back again) for java Servlet implementation? i.e. -- amp; etc. Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. -- 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]
How can I let a JSP page show traditional-Chinese words correctly?
Subject: How can I let a JSP page show traditional-Chinese words correctly? From: news.basebeans.com [EMAIL PROTECTED] === Hi, I design a JSP page and I want the page to show traditional-Chinese words. I had tried to deploy the JSP page with many Chinese words on the Tomcat 3.x and I browser the page by IE. The Chinese words in the page were correctly showed. But I deploy the JSP page on the Tomcat (4.04/4.1.7) and used IE to browse the page. The Chinese Words in the JSP page were showed incorrectly. I had configured the page attribute¡Ð%@ page contentType=text/html;charset=big5%, and meta tage¡Ðmeta http-equiv=Content-Language content=zh-tw meta http-equiv=Content-Type content=text/html;charset=big5. These two configurations in the JSP pages deployed individually on the Tomcat 3.x and Tomcat 4.x are the same. Why did I upgrade my Tomcat from 3.x to 4.x and the problem happened. So How can I solve the charset problem in the Tomcat 4.x? I tried to change the different charset values, but the Chinese words was as bad as before. Judging -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: strange jsp compile error in tomcat4.1.8
Subject: Re: strange jsp compile error in tomcat4.1.8 From: Torgeir Veimo [EMAIL PROTECTED] === Bump! This is a real problem for me. Are there noone else who have seen this problem? Torgeir Veimo wrote: I see this strange compilation error when using struts nested tag libs and jsp:include on the latest tomcat test; org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file /usr/local/jakarta-tomcat-4.1.8-LE-jdk14/work/Standalone/localhost/main/publishing/desk/sectiontree_jsp.java:179: include(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean) in org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to (javax.servlet.http.HttpServletRequest,javax.servlet.ServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean) JspRuntimeLibrary.include(request, response, treenode.jsp, out, false); The code that triggers this is this jsp page; %@ page contentType=text/html;charset=utf-8 % %@ taglib uri=/WEB-INF/struts-nested.tld prefix=nested % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/tiles.tld prefix=tiles % html head html:base / link rel=stylesheet type=text/css href=../../style/default.css /head body nested:form action=/sectiontree.do bean:message key=desk/br table border=0 cellpadding=0 cellspacing=0 nested:nest property=tree %--tiles:insert page=treenode.jsp flush=false/--% jsp:include page=treenode.jsp flush=false / /nested:nest /table /nested:form /body /html For some reason, the compiler seems to get confused ServletResponse and HttpServletResponse. Do anyone have any clue why this doesn't work on 4.1.8 while it works on 4.0.2? Can the taglib be to blame? -- -Torgeir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_webapp vs Coyote JK 2
Subject: Re: mod_webapp vs Coyote JK 2 From: Ove [EMAIL PROTECTED] === Will mod_webapp be continued or is it dead? Ove [EMAIL PROTECTED] wrote in message news:ahp7u4$lbb$[EMAIL PROTECTED]... What is recommended to use on a Tomcat 4.x install with Apache. (Solaris) And what is the most important differences? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: strange jsp compile error in tomcat4.1.8
Subject: Re: strange jsp compile error in tomcat4.1.8 From: Torgeir Veimo [EMAIL PROTECTED] === Torgeir Veimo wrote: Bump! This is a real problem for me. Are there noone else who have seen this problem? Torgeir Veimo wrote: I see this strange compilation error when using struts nested tag libs and jsp:include on the latest tomcat test; org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file /usr/local/jakarta-tomcat-4.1.8-LE-jdk14/work/Standalone/localhost/main/publishing/desk/sectiontree_jsp.java:179: include(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean) in org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to (javax.servlet.http.HttpServletRequest,javax.servlet.ServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean) JspRuntimeLibrary.include(request, response, treenode.jsp, out, false); The code that triggers this is this jsp page; %@ page contentType=text/html;charset=utf-8 % %@ taglib uri=/WEB-INF/struts-nested.tld prefix=nested % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/tiles.tld prefix=tiles % html head html:base / link rel=stylesheet type=text/css href=../../style/default.css /head body nested:form action=/sectiontree.do bean:message key=desk/br table border=0 cellpadding=0 cellspacing=0 nested:nest property=tree %--tiles:insert page=treenode.jsp flush=false/--% jsp:include page=treenode.jsp flush=false / /nested:nest /table /nested:form /body /html For some reason, the compiler seems to get confused ServletResponse and HttpServletResponse. Do anyone have any clue why this doesn't work on 4.1.8 while it works on 4.0.2? Can the taglib be to blame? Hmm, seems to be bug; http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10949. Will the patch provided in that report be put into the tree anytime soon? -- -Torgeir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How can I setup a JSP page with traditional-Chinese words in Tomcat 4.x?
Subject: How can I setup a JSP page with traditional-Chinese words in Tomcat 4.x? From: news.basebeans.com [EMAIL PROTECTED] === Hi, I design a JSP page and I want the page to show traditional-Chinese words. After I wrote the correct Chinese words in the JSP page, I run the JSP page in Tomcat (4.04/4.1.7) and used IE to browse the page. The browser showed the JSP page with incorrect Chinese words. I also tried Tomcat 3.x and I couldn't find this problem. But I upgrade my Tomcat and the problem happened. So How can I setup Tomcat 4.x to solve this problem? Judging -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: architecting large sites
Subject: Re: architecting large sites From: Vic C [EMAIL PROTECTED] === I have done stress testing to 1000 users with a 2 cpu box quite nicely. So 2 boxes (each with 2 CPUs) and 1.5 gig ram at least would be a start. Also... JRockit VM and Tower J VM and IBM VM (in that order) should be used instead of the SUN VM. I assUme that you will stress test (I use MS stress test tool with 5 PCs w/ 512 meg each), so you can see which VM works for you and what tweaks to VM you need. GC could slow you down. V. J Doe wrote: Hello, I'm looking for pointers to docs/books on how to scale Tomcat. For simplicity, let's assume that there is a single webapp that is basically on the order of a Cocoon/Jetspeed application, with no DB connections per se, but pulling information from some other web sources (e.g. syndication). Suppose that a site needs to support 1500+ simultaneous users. (Quite large, yes). I'm no expert in web-site architecture, but it strikes me that there are 2 or 3 possibilities to this problem: (a) multiple machines, using a load-balancer, (b) multiple instances of Apache/Tomcat on a given machine(s), and (c) beefing up each machine with max memory and possibly more CPUs. Is there a ballpark estimate for the max number of simultaneous users for a single machine with Apache/Tomcat? I'm guessing this will be far less than 1500. Given that, what's the next-best way to boost that number? Would having multiple CPUs be effective? Can there actually be multiple instances of Tomcat on a single machine? If so, does that help address this issue? I realize these questions are vague and deal with a huge scope, but I'm looking for doc sources or best practices, rather than concrete answers. thanks, Mike ps. Does anyone know of some large sites that use Apache/Tomcat? I'm trying to get a sense if 1500+ is even possible, or if it has been attempted. __ 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: architecting large sites
Subject: Re: architecting large sites From: Vic C [EMAIL PROTECTED] === Oh and a ... sticky IP on CISCO Vic C wrote: I have done stress testing to 1000 users with a 2 cpu box quite nicely. So 2 boxes (each with 2 CPUs) and 1.5 gig ram at least would be a start. Also... JRockit VM and Tower J VM and IBM VM (in that order) should be used instead of the SUN VM. I assUme that you will stress test (I use MS stress test tool with 5 PCs w/ 512 meg each), so you can see which VM works for you and what tweaks to VM you need. GC could slow you down. V. J Doe wrote: Hello, I'm looking for pointers to docs/books on how to scale Tomcat. For simplicity, let's assume that there is a single webapp that is basically on the order of a Cocoon/Jetspeed application, with no DB connections per se, but pulling information from some other web sources (e.g. syndication). Suppose that a site needs to support 1500+ simultaneous users. (Quite large, yes). I'm no expert in web-site architecture, but it strikes me that there are 2 or 3 possibilities to this problem: (a) multiple machines, using a load-balancer, (b) multiple instances of Apache/Tomcat on a given machine(s), and (c) beefing up each machine with max memory and possibly more CPUs. Is there a ballpark estimate for the max number of simultaneous users for a single machine with Apache/Tomcat? I'm guessing this will be far less than 1500. Given that, what's the next-best way to boost that number? Would having multiple CPUs be effective? Can there actually be multiple instances of Tomcat on a single machine? If so, does that help address this issue? I realize these questions are vague and deal with a huge scope, but I'm looking for doc sources or best practices, rather than concrete answers. thanks, Mike ps. Does anyone know of some large sites that use Apache/Tomcat? I'm trying to get a sense if 1500+ is even possible, or if it has been attempted. __ 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading
Subject: Re: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading From: Torgeir Veimo [EMAIL PROTECTED] === Remy Maucherat wrote: Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading From: Torgeir Veimo [EMAIL PROTECTED] === I just moved to tomcat 4.1.8-LE-jdk14 on my linux development machine, and one Realm which worked flawlessly under tomcat 4.0.2 now gives an exception at startup. This Realm uses special class loading; the realm impl itself is in server/lib, while some classes it makes use of (which also need to be visible to webapps, lives in common/lib. Any clues on where to look for errors? You can't use custom components along with the JMX features (at least how they're implemented in 5.0). You can disable the ServerLifecycleListener to solve this. This is strange. specifying any of the included realm implementations does not give this error, only my own, which extends RealmBase. I do nothing in reference to JMX, I only triggers lifecycle events when my realm starts. Are you saying I shouldn't do this? -- -Torgeir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
strange jsp compile error in tomcat4.1.8
Subject: strange jsp compile error in tomcat4.1.8 From: Torgeir Veimo [EMAIL PROTECTED] === I see this strange compilation error when using struts nested tag libs and jsp:include on the latest tomcat test; org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file /usr/local/jakarta-tomcat-4.1.8-LE-jdk14/work/Standalone/localhost/main/publishing/desk/sectiontree_jsp.java:179: include(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean) in org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to (javax.servlet.http.HttpServletRequest,javax.servlet.ServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean) JspRuntimeLibrary.include(request, response, treenode.jsp, out, false); The code that triggers this is this jsp page; %@ page contentType=text/html;charset=utf-8 % %@ taglib uri=/WEB-INF/struts-nested.tld prefix=nested % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/tiles.tld prefix=tiles % html head html:base / link rel=stylesheet type=text/css href=../../style/default.css /head body nested:form action=/sectiontree.do bean:message key=desk/br table border=0 cellpadding=0 cellspacing=0 nested:nest property=tree %--tiles:insert page=treenode.jsp flush=false/--% jsp:include page=treenode.jsp flush=false / /nested:nest /table /nested:form /body /html For some reason, the compiler seems to get confused ServletResponse and HttpServletResponse. Do anyone have any clue why this doesn't work on 4.1.8 while it works on 4.0.2? Can the taglib be to blame? -- -Torgeir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
*FREE* slides of an upcoming web presendation : MVC+ STANDARD tags
Subject: *FREE* slides of an upcoming web presendation : MVC+ STANDARD tags From: Vic C. [EMAIL PROTECTED] === In order to facilitate discussion of the live web presentation (coming up in less than 24 hours) you can download the slides before the presentation; I have uploaded to basicportal.sourceforge.net. (Why attend the web presentation?: I have done more pubic and private hands on lab Struts training than all others combined When: tmrw at 8:30 am, it is only 20 minutes for those who know MVC already; register at www.proJ.com/webEx.jsp) You can post comments before or after to mvc-programmers mail group ( [EMAIL PROTECTED] is one place to join ) on basicPortal (aka: MVC+ STANDARD tags Vertical webApps good practices) Review the slides and ... download the application source code and maybe even deploy it. In case you do not know already, basicportal.sourceforge.net also has an open source download of sample web app using Struts + JSTL with DB CRUD (DB Insert, update, etc.) Also, *coming to a your city * -NYC 8/2 (Registration will close today) -Chicago 8/9 (Registration closes in a few days) -Atlanta 8/16 see www.basebeans.com/syllabus.jsp Also... web registration will close at 6PM Pacific time (today!) (like how I use the word FREE?, it's a big marketing word) Enjoy, Vic C. [EMAIL PROTECTED] - Phone 866-800-4503 Struts Mentor An engineer can show you how to do it faster and cheaper ps1: Web Open Standards news groups at http://news.netbean.net/cgi-bin/webnews.cgi ps2: Point you news reader, such as Outlook to news.baseBeans.com for Tomcat, Struts, JSTL, PostgreSQL, MySQL, Jakarta, etc. ps3: *FREE* Daily java news at http://www.baseBeans.com/dailyJava.jsp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_webapp vs Coyote JK 2
Subject: mod_webapp vs Coyote JK 2 From: Ove [EMAIL PROTECTED] === What is recommended to use on a Tomcat 4.x install with Apache. (Solaris) And what is the most important differences? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: More flexible JDBCRealm implementation ? (for ASP-style webapp)
Subject: Re: More flexible JDBCRealm implementation 1 2 3 4 5 6 7 8 9 (for ASP-style webapp) From: Vic C. [EMAIL PROTECTED] === If you use MVC (I use Struts) you tend to do everything in beans and actions. So you can have a bean that goes against a db(and can get other user info) and keep in session the organization_id. Then on updates and retrieves append in action the organization_id. I wish I could get more info about the virtual host in a standard way, not sure how. Anyway... good luck, I might be doing something like that for my pet project (basicportal on sourceforge.) Vic Soefara Redzuan wrote: Thank you for the reply Vic. From: Vic C. [EMAIL PROTECTED] That is a frequent need. What is needed is the concept of organization, a 3rd field in every db table. Yes, I've done something like that too. But have therefore found that the Tomcat out-the-box JDBCRealm setup (using server.xml, web.xml as I described below) is not flexible in any way. So it looks like I too will have to use a manual authentication which I had hoped to avoid in the name of standardization. Oh well. I know how to manualy code (using getuserpricipal and a bean) but nothing automatic I can think of. Why use getUserPrincipal ? I thought we were supposed to use request.getRemoteUser() ? Also, may I ask by what you mean a bean for this ? I really like to design code (including Javabeans) so that they will run in standalone applications, as well as in the servlet container environment. Is it possible to design an authentication mechanism that is not dependent upon the servlet container (eg. Tomcat) ? Soefara. Vic Soefara Redzuan wrote: I've setup a JDBCRealm for Tomcat using MySQL. It works OK but the database schema is not good for an ASP (application service provider) model. For example, I would like several companies to use the same webapp (each company should not know of the other's existence) and each should be able to create a user 'admin' and a user 'david' but in the way that JDBCRealm is currently configured only one instance of any user name is possible since it is the primary key in the users table. Is there a better way to do this ? I followed instructions found on many websites for setting up a JDBCRealm. The table schema is create table user_groups ( group_id int not null auto_increment, group_name char(24), parent_id int not null default -1, primary key(group_id) ); create table users ( user_name varchar(32) not null, user_pass varchar(32) not null, user_groupid int not null default -1, primary key(user_name) ); create table user_roles ( user_name varchar(15) not null, role_name varchar(15) not null, primary key (user_name, role_name) ); And in Tomcat's server.xml I have this in the appropriate context, Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://servername/databasename userTable=users userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name/ And finally this in the webapp's web.xml, security-constraint web-resource-collection web-resource-nameProtectedApp/web-resource-name url-pattern/*/url-pattern http-methodPOST/http-method http-methodGET/http-method /web-resource-collection auth-constraint descriptionname the security roles that are allowed to access/description role-nameadministrator/role-name role-nameuser/role-name /auth-constraint /security-constraint The alternative is to set up a separate webapp for each company that wishes to use our service but that really isn't scalable and doesn't allow for users to self-register and be up-and-running without administrator intervention. Has anybody solved this problem ? Thank you in advance, Soefara. _ 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: More JDBCRealm Questions
Subject: Re: More JDBCRealm Questions From: Vic C. [EMAIL PROTECTED] === Soefara Redzuan wrote: I have set up a JDBCRealm and am using it with form-based login to secure/protect my webapp. However, I have a few questions which I hope somebody could help me with, 1. The JDBCRealm is set up with the following in server.xml. Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://localhost/authentication userTable=users userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name/ However, I have noticed that this requires the password (stored in the user_pass column) to be clear text, which I really don't like doing. Is there any way to have store the passwords as hashes (ie. using the password() function in MySQL) ? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JDBCRealm plus ssl should work 2. I read that a call to j_security_check will be made by every attempt access your secured pages. Since I am protecting every page in my webapp, I'm wondering how efficient is j_security_check ? Does it simply look at the session, or does it make a database call on each and every request ? 3. How do you specify a page for authenticated users who do not have the correct permissions/roles ? At the moment, I have this in web.xml, login-config auth-methodFORM/auth-method form-login-config form-login-pagelogin.jsp/form-login-page form-error-pagelogin-error.jsp/form-error-page /form-login-config /login-config login.jsp is the form that shows when an authenticated user tries to access the site. login-error.jsp is displayed when an incorrect username/password is submitted. However, when a correct username/password is submitted but the user does not possess an adequate role, I see a default You are not authorized message. How can I customize the page that is shown in such circumstances ? 4. Is there a formal method to logging out, rather than calling invalidate() on the session ? 5. If your webapp's authentication works fine on Tomcat, would it then work on say BEAWeblogic or IBMWebsphere ? It should, but some of them claim to be servlet spec complaint and are not so you end up writing their support and asking for the complaince. (I find comerical support staffed by people who do not know servlet, so your job is realy hard) Sorry for so many questions but I can't find a comprehensive description of this anywhere. I've only found setup/configuration guides which deal with the simple issues. Soefara. _ 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]
tomcat 4.0.2 - 4.1.8test; problem with Realm not loading
Subject: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading From: Torgeir Veimo [EMAIL PROTECTED] === I just moved to tomcat 4.1.8-LE-jdk14 on my linux development machine, and one Realm which worked flawlessly under tomcat 4.0.2 now gives an exception at startup. This Realm uses special class loading; the realm impl itself is in server/lib, while some classes it makes use of (which also need to be visible to webapps, lives in common/lib. Any clues on where to look for errors? ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with LdapRealm at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:616) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:419) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:597) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:543) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:722) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:690) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecycleListener.java:329) at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLifecycleListener.java:206) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2181) at org.apache.catalina.startup.Catalina.start(Catalina.java:510) 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(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Starting service Tomcat-Standalone -- -Torgeir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: More flexible JDBCRealm implementation ? (for ASP-style webapp)
Subject: Re: More flexible JDBCRealm implementation 1 2 3 4 5 6 7 8 9 (for ASP-style webapp) From: Vic C. [EMAIL PROTECTED] === I was just thinking of a design I did for ASP model: Create a dispatch web app with single sign on (over multiple apps) Say you have 4 clients, that is 4 virtual hosts, plus one dispatch host. When people login in, they go to distpach and login in via JDBC relms to the dispatch web, they login with their e-mail or something. Once autethicated, you create a bean that find out what web app they should go to based org_id. And then each action (retrieve or update) appends org_id to db tables. It worked. So JAAS up front, and a bean and action in the back. I could write up an implementation. one day. Vic Soefara Redzuan wrote: Thank you for the reply Vic. From: Vic C. [EMAIL PROTECTED] That is a frequent need. What is needed is the concept of organization, a 3rd field in every db table. Yes, I've done something like that too. But have therefore found that the Tomcat out-the-box JDBCRealm setup (using server.xml, web.xml as I described below) is not flexible in any way. So it looks like I too will have to use a manual authentication which I had hoped to avoid in the name of standardization. Oh well. I know how to manualy code (using getuserpricipal and a bean) but nothing automatic I can think of. Why use getUserPrincipal ? I thought we were supposed to use request.getRemoteUser() ? Also, may I ask by what you mean a bean for this ? I really like to design code (including Javabeans) so that they will run in standalone applications, as well as in the servlet container environment. Is it possible to design an authentication mechanism that is not dependent upon the servlet container (eg. Tomcat) ? Soefara. Vic Soefara Redzuan wrote: I've setup a JDBCRealm for Tomcat using MySQL. It works OK but the database schema is not good for an ASP (application service provider) model. For example, I would like several companies to use the same webapp (each company should not know of the other's existence) and each should be able to create a user 'admin' and a user 'david' but in the way that JDBCRealm is currently configured only one instance of any user name is possible since it is the primary key in the users table. Is there a better way to do this ? I followed instructions found on many websites for setting up a JDBCRealm. The table schema is create table user_groups ( group_id int not null auto_increment, group_name char(24), parent_id int not null default -1, primary key(group_id) ); create table users ( user_name varchar(32) not null, user_pass varchar(32) not null, user_groupid int not null default -1, primary key(user_name) ); create table user_roles ( user_name varchar(15) not null, role_name varchar(15) not null, primary key (user_name, role_name) ); And in Tomcat's server.xml I have this in the appropriate context, Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://servername/databasename userTable=users userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name/ And finally this in the webapp's web.xml, security-constraint web-resource-collection web-resource-nameProtectedApp/web-resource-name url-pattern/*/url-pattern http-methodPOST/http-method http-methodGET/http-method /web-resource-collection auth-constraint descriptionname the security roles that are allowed to access/description role-nameadministrator/role-name role-nameuser/role-name /auth-constraint /security-constraint The alternative is to set up a separate webapp for each company that wishes to use our service but that really isn't scalable and doesn't allow for users to self-register and be up-and-running without administrator intervention. Has anybody solved this problem ? Thank you in advance, Soefara. _ 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]
Announce: JSTL (Standard Tags) + Struts (MVC) live web Demo
Subject: Announce: JSTL (Standard Tags) + Struts (MVC) live web Demo From: Vic C. [EMAIL PROTECTED] === If you are starting a Java Web, you should use MVC and Standard tags, this kit is a sample of best (at least good) practices. It is MVC (Struts/Tiles)+JSTL +XSLT+ DAO (Open Source Data Access Object w/ SQL) + DB CRUD (Create update delete and SQL DLL scripts)+ J2EE Security ( to make Tomcat run like Apache ) It is KISS (you'll see how simple and how very standard) , good practices Free Open Source Framework to develop any web app, with the aim of being 80% of any app, but done as simple as possible and easy to teach. Again, everything is standard and simple. And it is the fastest, most efficient way to develop maintainable code I know of. Samples include CMS (Authorize content, XSLT, CMS Comments, sinkable, single sign on, etc.), Issue tracking, + more coming. Please download and install and see if you want to attend. Details: http://basicportal.sourceforge.net I use it to teach Struts + JSTL public and private classes. I epically teach WHY you should want to do something in a certain way, not just how. To attend and see best practices http://www.basebeans.com/webEx.jsp The seminar requires you know servlets, jsp, SQL, JDBC, and at least some MVC. (a plus is if you have already deployed and MVC web app in the past) Oh...it is $10.00 ( but free to baseBeans clients and/or apache.org committers.) To keep in touch on this join MVC-Programmers mail list at http://www.netbean.net/mailman/listinfo/mvc-programmers To keep in touch with open source projects go to http://news.netbean.net/cgi-bin/webnews.cgi Future plans include more docs, Dream weaver support, mail client, RSS feeds, BLOG, Shopping Cart Store, etc. etc. Did I say everything is standard and as simple as possible? Vic Always code to the least amount of astonishment - Elements of Java Style If you want to build a ship, do not order your men to gather wood and nails, but teach them to yearn for the open sea -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: More flexible JDBCRealm implementation ? (for ASP-style webapp)
Subject: Re: More flexible JDBCRealm implementation 1 2 3 4 5 6 7 8 9 (for ASP-style webapp) From: Vic C. [EMAIL PROTECTED] === That is a frequent need. What is needed is the concept of organization, a 3rd field in every db table. I know how to manualy code (using getuserpricipal and a bean) but nothing automatic I can think of. Vic Soefara Redzuan wrote: I've setup a JDBCRealm for Tomcat using MySQL. It works OK but the database schema is not good for an ASP (application service provider) model. For example, I would like several companies to use the same webapp (each company should not know of the other's existence) and each should be able to create a user 'admin' and a user 'david' but in the way that JDBCRealm is currently configured only one instance of any user name is possible since it is the primary key in the users table. Is there a better way to do this ? I followed instructions found on many websites for setting up a JDBCRealm. The table schema is create table user_groups ( group_id int not null auto_increment, group_name char(24), parent_id int not null default -1, primary key(group_id) ); create table users ( user_name varchar(32) not null, user_pass varchar(32) not null, user_groupid int not null default -1, primary key(user_name) ); create table user_roles ( user_name varchar(15) not null, role_name varchar(15) not null, primary key (user_name, role_name) ); And in Tomcat's server.xml I have this in the appropriate context, Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://servername/databasename userTable=users userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name/ And finally this in the webapp's web.xml, security-constraint web-resource-collection web-resource-nameProtectedApp/web-resource-name url-pattern/*/url-pattern http-methodPOST/http-method http-methodGET/http-method /web-resource-collection auth-constraint descriptionname the security roles that are allowed to access/description role-nameadministrator/role-name role-nameuser/role-name /auth-constraint /security-constraint The alternative is to set up a separate webapp for each company that wishes to use our service but that really isn't scalable and doesn't allow for users to self-register and be up-and-running without administrator intervention. Has anybody solved this problem ? Thank you in advance, Soefara. _ Chat with friends online, try MSN Messenger: http://messenger.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: JDBCRealm Question
Subject: Re: JDBCRealm Question From: Vic C. [EMAIL PROTECTED] === Working sample showing JDBC relms and user table CRUD with SQL (in a single table like you want) is on sourceforge.com basicportal project. (It also has Struts MVC with JSTL) Vic Mete Kural wrote: Hello, My question is about how the user roles are deterermined in JDBCRealm. In the basic XML file configuration, the XML files has an element roles. All of the user's roles are provided in this element as a comma-seperated list. It seems to me that in JDBCRealm, this is not the case. User_role column of the User_Roles table only stores one user role at a time. For instance if somebody has both the roles user and admin, in the XML file this would be specified as user, admin inside the roles element. My understanding is that in JDBCRealm, you have to enter multiple records relating to the same user, i.e. username for each role that the user has. Is there a way to tweak JDBCRealm to read one comma-seperated list string from only one row instead of reading a row for each role that the user has. Why did I need this kind of functionality? Because I want to keep my user data including the user role all in one table and not deal with a seperate table for user_roles. Is what I want possible? Or do you have a suggestion on how to manage my user_roles data in the relational database? Thanks, Mete Kural __ 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tag Iterate and jsp:include
Subject: Tag Iterate and jsp:include From: Guido [EMAIL PROTECTED] === Hi all, i'm having the following error message with a jsp under Tomcat 4.0.1 : Illegal to flush within a custom tag. The code involved is : logic:iterate name=myBean id=my_id property=my_property type= jsp:include page=%=my_id.getJspName()% / /logic:iterate This error happens only in production environment, with all others installations ( 4 ) of tomcat it works fine. I'm very very sure the settings of the 5 environments are the same: Win2K + MicrosoftIIS + Tomcat 4.0.1. Has someone any idea about this ? Thank in advance, Guido Anselmi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
new MVC with Standard Tags and DB sample
Subject: new MVC with Standard Tags and DB sample From: Vic C. [EMAIL PROTECTED] === I have posted initial build of a new learning application on SourceForge basicPortal under CVS http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal It is using Struts with Standard Tags and X: Transform from DB, Realm base security, CURD, etc. etc. I have big plans for this, to be 20% of code that gets used 80% of time and faces and expression language compliant. (Err.. this build is not for newbies, but I will update it a lot and often.) To keep up on this and related topics, there is a mail list http://www.netbean.net/mailman/listinfo/mvc-programmers that also gets you password to other baseBeans.com features. and a newsgroups readers news.baseBeans.com. Hope you like, Vic C. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages
Subject: Re: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages From: Matt Raible [EMAIL PROTECTED] === I was able to get struts-example running just fine by expanding it in the webapps directory. I was just curious to why it didn't expand on it's own, when my server.xml has this line: Host name=localhost debug=0 appBase=webapps unpackWARs=true Irina Lishchenko [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I am not sure whether my information can help you but just today I have done similar action with upload.war from www.oreilly.com By the way I am running standalone tomcat 4.0.4 on SuSE Linux 7.3 (Apache 1.3.20) So I did everything in the next order: 1) Put upload.war to webapps folder 2) from the manager window made http://localhost:8080/manager/install?path=/uploadwar=jar:file:/path/to/upl oad.war!/ Here it has created folder with name upload itself and expanded file upload.war there 3) then I rebooted my tomcat and how it has been already said on this list the application upload has disappeared but folder upload with it's context remained in webapp 4) manually edited the server.xml file, add there something like Context path=/upload crossContext=true docBase=upload override=true reloadable=true debug=3 /Context 5) rebooted TC and the application upload runs perfectly May be this can help you ilis On Tuesday 16 July 2002 16:18, you wrote: I haven't been able to get that functionality to work myself :-( I think that's a long-standing TC bug you're running into. Someone said it would expand it when you created a folder for it, but I haven't even seen that. I'm glad you have webapps now thought ;-) Regards, Eddie Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Re: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages From: Matt Raible [EMAIL PROTECTED] === Eddie, I got the webapps RPM and sure nough - all the examples work now. However, I dropped struts-example.war into the webapps directory, and it doesn't get expanded. The server.xml looks fine like it should expand wars by default. Any ideas? Thanks, Matt -- 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]
download file
Subject: download file From: J. Jason Zhou [EMAIL PROTECTED] === I have both Tomcat and IIS running on two machines. But when I download a file (abc.xls) from Tomcat, the browser loads the binary content without prompting uisng the save/open dialog while IIS did prompt before the download. http://machine/myapp/abc.xls Can anybody tell me why? -- Best Regards, J. Jason Zhou Business Intelligence Platform Division (BIP), R D, SAS Institute, 100 SAS Campus Dr. Cary, North Carolina 27513-8617 Voice: 919-531-0568(O) Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages
Subject: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages From: Matt Raible [EMAIL PROTECTED] === I downloaded tomcat4-4.0.4-full.2jpp.noarch.rpm from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/ And I've installed it and can successfully start it. However, when I got to view a page (basically, the ROOT context), I get the following error: Apache Tomcat/4.0.4 - HTTP Status 500 - No Context configured to process this request type Status report message No Context configured to process this request description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request. So I did some checking and no webapps exist in $CATALINA_HOME/webapps. Is this as designed - is there a different RPM I should be downloading that contains all the default webapps - or at least ROOT? Thanks, Matt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages
Subject: Re: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages From: Steven Citron-Pousty [EMAIL PROTECTED] === Matt: IMHO the 4.0.4 RPM stinks. Better to go with a binary. I tried contacting the RPM contact on the bottom of the RPM download page and I posted messages here on the list and got no response (the direct message got bounced). Don't use the rpm. Steve Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages From: Matt Raible [EMAIL PROTECTED] === I downloaded tomcat4-4.0.4-full.2jpp.noarch.rpm from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/ And I've installed it and can successfully start it. However, when I got to view a page (basically, the ROOT context), I get the following error: Apache Tomcat/4.0.4 - HTTP Status 500 - No Context configured to process this request type Status report message No Context configured to process this request description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request. So I did some checking and no webapps exist in $CATALINA_HOME/webapps. Is this as designed - is there a different RPM I should be downloading that contains all the default webapps - or at least ROOT? Thanks, Matt -- 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: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages
Subject: Re: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages From: Matt Raible [EMAIL PROTECTED] === Eddie, I got the webapps RPM and sure nough - all the examples work now. However, I dropped struts-example.war into the webapps directory, and it doesn't get expanded. The server.xml looks fine like it should expand wars by default. Any ideas? Thanks, Matt Eddie Bush [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... LOL - I use it fine - no problems. Of course, I'm using the LE version - I don't think it would make a difference though. I'm sorry I didn't see either of your postings before now. To get the webapps you need the webapps RPM :-P It's right there in the same directory as the other RPMs. Go look again ;-) If you don't find it, post back here and I'll email it to you. How is that? Regards, Eddie Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages From: Matt Raible [EMAIL PROTECTED] === I downloaded tomcat4-4.0.4-full.2jpp.noarch.rpm from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/ And I've installed it and can successfully start it. However, when I got to view a page (basically, the ROOT context), I get the following error: Apache Tomcat/4.0.4 - HTTP Status 500 - No Context configured to process this request -- 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: JDBC OCI driver + Tomcat 4.04
Subject: Re: JDBC OCI driver + Tomcat 4.04 From: mark [EMAIL PROTECTED] === When using the OCI driver in a windows environment, we have found the following helps :- 1) Add references to classes12.zip and nls_charset12.zip to the classpath (eg in catalina.bat). 2) The reference should be to the installed location (eg c:\oracle\Ora81\jdbc\lib\classes12.zip or wherever the zip files are in your oracle installation is). Do not copy to another location or rename to classes12.zip. 3) Make sure the oracle path has been added to the PATH variable in windows (again you can add it in catalina.bat). The above steps dont seem necessary when using the Oracle thin driver and I'm not sure all of the above is required - it works for us though. Let us know if youre still having problems. HTH Mark James Ward [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... One note I forgot to mention about the OCI driver: You must set your ORACLE_HOME and LD_LIBRARY_PATH vars!!! In my server.sh I have these lines: ORACLE_HOME=/home/oracle/product/817 export ORACLE_HOME LD_LIBRARY_PATH=$ORACLE_HOME/lib export LD_LIBRARY_PATH If you do all that and you can do a tnsping, everything *should* work. -James -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat 4.0.4 rpm release 2
Subject: Re: tomcat 4.0.4 rpm release 2 From: Steven Citron-Pousty [EMAIL PROTECTED] === Hey Henri: Thanks so much for putting RPMs together but there are multiple problems with 4.0.4r2 (at least for me). 1) The conf files are hard links so I am not sure which one tomcat is looking to for starting. Soft links might be a better option. 2) The webapps folder is empty after installation so you get a: No Context configured to process this request description error 3) The moving of the work folder perhaps should be a symlink as well. Very confusing when trying to figure out where to look. It seems like anything moved out of tomcat standard locations should be soft symlinked from one of the locations. In this way it is easier for ppl to help each other out. Thanks again, Steve GOMEZ Henri wrote: Available at : http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/ More FHS compliant and misc fixes in spec files. Important change from previous version, is that the rpm didn't use no more IBM SDK 1.3.1 as default SDK. Read the following RPM info : --- Tomcat 4.0 RPM info the RPM will be named tomcat4 to allow coexistence with the actual tomcat 3.x RPM (3.2.x and 3.3) Here is the release notes for the tomcat4.0.x RPM builds. o Starting with Tomcat 4.0.4, there is 2 differents kind of rpm for tomcat4 which follow the 2 Tomcat 4 packages available at jakarta.apache.org - TOMCAT 4 LIGHT EDITION FOR JDK 1.4 This version is a minimal Tomcat 4.0 release with no support for javamail, tyrex extensions. So it didn't include activation, javamail, jdbc2ext, or tyrex. To meet RPM packaging policies, some required packages like jakarta-regexp 1.2, servlet API 2.3 and an XML parser (ie xerces 1.44), will be linked in tomcat4 directories at install time and as such, should be present in system before tomcat4. - TOMCAT 4 FULL EDITION This version include full support for javamail, jndi and tyrex datasources. The rpm include activation.jar, javamail.jar, jdbc2ext and tyrex 0.9.7.0. The rpm also include jndi.jar for JDK 1.2. It also include jakarta-regexp 1.2 and servlet 2.3 APIs, and xerces 1.44. o SSL support SSL support is compiled in, but due to crypto regulation, JSSE jars are not distributed with either version of Tomcat 4 rpm. To make use of SSL, you should have JDK 1.4 or JSSE 1.0.2 jars in CLASSPATH, or in server/lib. If you have JSSE jars on your system, jcert.jar, jsse.jar, jnet.jar, just define JSSE_HOME in /etc/tomcat4/conf/tomcat4.conf those JAR files will be added to thei system class path. o FHS layout Starting with Tomcat 4.O.4, rpm is more FHS compliant, configuration is on /etc/tomcat4/conf, log goes in /var/log/tomcat4, run files in /var/cache/tomcat4/work and temp files in /var/cache/tomcat4/temp. To make Tomcat 4 works, symlinks are made between real FHS location and basedir, /var/tomcat4, location o Java SDK used Starting with Tomcat 4.O.4 rpm release 2, SDK used is no more set by default to the IBM SDK 1.3.1 rpm location. You'll have to create a /etc/java.conf and set at least JAVA_HOME is it, ie : - /etc/java.conf - # Where your java installation lives # examples # Sun SDK 1.4.0_01 rpm # JAVA_HOME=/usr/java/j2sdk1.4.0_01 # Sun SDK 1.3.1_03 rpm # JAVA_HOME=/usr/java/jdk1.3.1_03 # IBM SDK 1.3.1 rpm JAVA_HOME=/opt/IBMJava2-131 o Tomcat 4 configuration A configuration file /etc/tomcat4/conf/tomcat4.conf is loaded before Tomcat or Jasper start and could be used to tuned JVM params o Tomcat 4 / Jasper 4 invocation Tomcat 4.0 invoker script is tomcat4, Jasper 4.0 is jasper4 Take a look at /etc/tomcat4/conf/tomcat4.conf for tuning o Running mode For security purposes tomcat4 will run as user tomcat4, which will be created by rpm at install time. Warning this user should have a login shell to be able to use the su exec command logs, work, temp and webapps are now owned by tomcat4:tomcat4 user at rpm install time o Listen ports Starting with Tomcat 4.0.4, Tomcat 4.0 will listen on standard ports, ie port 8080 (HTTP 1.1), 8081 (HTTP 1.0), 8443 (HTTP SSL), 8009 (AJP13), 8008 (WARP). To avoid collision with running TC 3.x, you could use the reloctomcat4 command which will change these ports to 8180, 8181, 8453 and 8109. -- 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]
Where can I find compiled mod_webapp.so for Windows?
Subject: Where can I find compiled mod_webapp.so for Windows? From: Christopher Cheng [EMAIL PROTECTED] === I was only able to get the source. Where can I find the latest version of mod_webapp.so for Windows? (I do not have a Windows C compiler installed) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
restarting tomcat without restarting ;)
Subject: restarting tomcat without restarting ;) From: David Chu [EMAIL PROTECTED] === Hello, I remember reading there was a way to force Tomcat 4.0 to use new versions of modified servlets w/o restarting the server, but I glossed over the details. I think it was just accessing some URL. Is there any such thing or am I confused? Thanks! -- -david -- David C. Chu America Online Network Tools Intern -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Announce: J2EE MVC training using Struts with Standard Tags (JSTL)
Subject: Announce: J2EE MVC training using Struts with Standard Tags (JSTL) From: Vic C. [EMAIL PROTECTED] === Standard J2EE MVC training using Struts with Standard Tags (JSTL) -We have done more Struts training than anyone. This class adds Standard Tag Libs (JSTL) with MVC and a portal discussion. Full Syllabus is at : http://www.basebeans.com/syllabus.jsp NYC on 8/2. *This is the last week to sign up* : http://www.basebeans.com/classReservation.jsp More dates(tentative): 8/9 - Chicago downtown Marriott 8/16 - Atlanta downtown Marriott 8/23 - Austin downtown Marriott To keep up on upcoming MVC training sign up at: http://www.basebeans.com:8081/mailman/listinfo/mvc-programmers Hope to see you, Thanks, Vic Ps. 1: Set your newsreader such as Outlook Express or Netscape to news.basebeans.com for Open Standard news groups like JDO, Apache, SOAP, etc. Ps 2: The sample app will be available end of next week at: http://www.basebeans.com/downloads.jsp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: WARP + SSL + request.isSecure() request.getScheme()
Subject: Re: WARP + SSL + request.isSecure() request.getScheme() From: Sebastian Millies [EMAIL PROTECTED] === If the problem is not a configuration mistake, but a connector bug (in that it is not passing the correct information to Tomcat), you could perhaps base all your decisions simply on the port number instead of the scheme? -- Sebastian zaid haque [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... Hi All, I have a problem of using request.isSecure() request.getScheme()with Apache connected to Tomcat through WARP Connection. Actually it doesn't work as it was intended. When I use request.isSecure() request.getScheme()in the servlet/JSP running under SSL, it suppose to give true https respectively for the statements. But it still gives as false http. I have given the correct config in WARP Connector for Appache in server.xml. Following is the Connector statement I gave in my server.xml file. !-- the connector for https traffic -- Connector className = org.apache.catalina.connector.warp.WarpConnector port=8007 minProcessors=5 maxProcessors=20 scheme=https secure=true enableLookups=true appBase=webapps acceptCount=10 debug=0/ scheme secure statements are accordingly given as Apache config documentation says. Does anyone have work around similar problem ? If you have, I would appreciate your help on the matter. Thanks in advance Zaid. -- 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]
Tyrex 1.0 and Getting a Connection Pool in 4.1.x
Subject: Tyrex 1.0 and Getting a Connection Pool in 4.1.x From: Matt Raible [EMAIL PROTECTED] === In Tomcat 4.0.x, I am able to get a database connection via JNDI using the following code: import tyrex.jdbc.xa.EnabledDataSource; public Connection getPooledConnection() throws ServiceLocatorException { try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); ds = (EnabledDataSource) envCtx.lookup(Constants.JNDI_DB); } catch (NamingException ex) { logCat.error(NamingException: + ex.getMessage()); throw new ServiceLocatorException(ex); } try { con = ds.getConnection(); } catch (SQLException ex) { logCat.error(SQLException: + ex.getMessage()); throw new ServiceLocatorException(ex); } return con; } What do I need to change for this to work in 4.1.x? Is there any way to make the changes backward compatible with 4.0.x? Thanks, Matt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Updating files without restarting Tomcat
Subject: Re: Updating files without restarting Tomcat From: Dan Paraschiv [EMAIL PROTECTED] === In my opinion you have a different problem here. Probably you read those properties files at some point in your application lifecycle. Suppose that point is your servlet init method (which is called only once in the servlet life). If you change the properties files it's your responsibility that you re-read those file and propagate the changes. You need to find a way to tell your application that something in it's environment changed and it has to reinitialize itself. Best regards, Dan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Impossible to calculate session duration ?
Subject: Re: Impossible to calculate session duration 1 2 3 4 5 6 7 8 9 From: Dan Paraschiv [EMAIL PROTECTED] === If you want to find out how long a session lives you could try this: 1. When you create the session store somewhere the creation time 2. Create an object that implements the interface HttpSessionBindingListener. 3. When the method valueUnbound(HttpSessionBindingEvent event) is called in your object you can calculate the life time. Check the Servlet API for details. I think that you can probably skip the first step and use HttpSession.getCreationTime() on your valueUnbound(HttpSessionBindingEvent event) method. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JSP Cache problem in tomcat
Subject: JSP Cache problem in tomcat From: Simon Li [EMAIL PROTECTED] === Dear all, i run JDk1.3.01 and tomcat 4.01 on http connector on port 8080. I have discovered a quite weird (?) behaviour of tomcat: Say, PageA is my JSp page classB is a class i will use in PageA . Observation if i modify my classB, w/o modify PageA, tomcat will use the cached version of PageA. (where the behaviour of classB is the behaviour of classB BEFORE the modify) Is it my fault, did anyone got this problem? Should i update my tomcat to lastest version? PS. I edit my JSP in Dreamweaver and save it using FTP. Simon. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.4 MyApp as default context - ClassNotFoundException: org.hsql.jdbcDriver
Subject: Re: Tomcat 4.0.4 MyApp as default context - ClassNotFoundException: org.hsql.jdbcDriver From: Matt Raible [EMAIL PROTECTED] === I've been using Tyrex on 4.0.1 for over 6 months, I was just making an attempt to make my application accessible from http://localhost/ rather than from http://localhost/myAppName. I was under the impression that the way to do this was to change the Context path to . Thanks, Matt Martin Jacobson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Tomcat 4.0.4 MyApp as default context - ClassNotFoundException: org.hsql.jdbcDriver From: Matt Raible [EMAIL PROTECTED] === I have an entry for my web-application in server.xml so I can use a JDBCRealm and a JNDI Datasource. When I change my context's path from Context path=/myAppName docBase=myAppName ... / to: Context path= docBase=myAppName .../ I get the following exception?! And I never even refer to this JDBC Driver. I did some browsing on the mailing lists, and this appears to be a well-known error, but I couldn't find the solution. TyrexDataSourceFactory: Cannot create DataSource, Exception java.lang.ClassNotFoundException: org.hsql.jdbcDriver at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader .java:1127) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader .java:992) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:115) at org.apache.naming.factory.TyrexDataSourceFactory.getObjectInstance(TyrexData SourceFactor .java:210) Thanks, I had this problem, and couldn't solve it using Tomcat 4.0 at all :-( It seems that Tyrex is broken (or, at least, cannot be successfully configured). Reading elsewhere, it seems that Tyrex doesn't provide any connection pooling, either, so it's a bit of a Waste of Space (IMHO). I 'solved' the problem by moving to Tomcat 4.1, which uses the Jakarta-commons dbcp. This works! This is the relevant part of my server.xml file: Resource name=jdbc/RadiationDB auth=Container type=javax.sql.DataSource / ResourceParams name=jdbc/RadiationDB parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter parameter namemaxActive/name value100/value /parameter parameter namemaxIdle/name value3/value /parameter parameter namemaxWait/name value100/value /parameter parameter nameusername/name valueme/value /parameter parameter namepassword/name valuemypassword/value /parameter parameter namedriverClassName/name valueorg.gjt.mm.mysql.Driver/value /parameter parameter nameurl/name valuejdbc:mysql://localhost/radiation/value /parameter /ResourceParams NOTE that the user is identified by username, and not user - this had me stuck for a while! Hope this helps, Martin -- 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]
Two questions !
Subject: Two questions ! From: Dan Paraschiv [EMAIL PROTECTED] === 1. How do I get from a servlet the path where is installed Tomcat (not the path of my web application) ? The solution could be specific to Tomcat, because I am sure that my application it will always run on Tomcat. 2. It is possible to find out (in Java) the value of a system variable like %CLASSPATH% or %CATALINA_HOME% ? Thanks and Best regards, Dan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.0.4 MyApp as default context - ClassNotFoundException: org.hsql.jdbcDriver
Subject: Tomcat 4.0.4 MyApp as default context - ClassNotFoundException: org.hsql.jdbcDriver From: Matt Raible [EMAIL PROTECTED] === I have an entry for my web-application in server.xml so I can use a JDBCRealm and a JNDI Datasource. When I change my context's path from Context path=/myAppName docBase=myAppName ... / to: Context path= docBase=myAppName .../ I get the following exception?! And I never even refer to this JDBC Driver. I did some browsing on the mailing lists, and this appears to be a well-known error, but I couldn't find the solution. TyrexDataSourceFactory: Cannot create DataSource, Exception java.lang.ClassNotFoundException: org.hsql.jdbcDriver at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader .java:1127) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader .java:992) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:115) at org.apache.naming.factory.TyrexDataSourceFactory.getObjectInstance(TyrexData SourceFactor .java:210) Thanks, Matt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: AJP vs WARP Connector
Subject: Re: AJP vs WARP Connector From: Bruno V [EMAIL PROTECTED] === It's true that there are few info. I wouldn't blame the developpers. But there could be just a word, like connectors for Tomcat 4 and Apache 2 are in beta or alpha stage ... . I tryed to reference all the howto and infos about Apache Tomcat integration. Obviously, everybody's having hard time to setup this. (Personnaly, my own HowTo will wait for better days.) Here is my reference page : http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html The Jakarta-Tomcat project lacks a good official KnowLedge Management tool. All we have is the online documentation and the newsgroup. PS: I still didn't find Nikola Milutinovic's HowTo's URL. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Authenticating against Microsoft ActiveDirectory
Subject: Re: Authenticating against Microsoft ActiveDirectory From: Vic C. [EMAIL PROTECTED] === Another way is to have create a view in MS SQL against the Active Directory. Then use that SQL table for JDBC relms. Vic Alberto Bolchini wrote: Me too I would really love to see a little more detail about how you did this if you don't mind. Much thanks, Michael Teter --- Don Sauer [EMAIL PROTECTED] wrote: You can script your JSP/servlets to do this with application code -- another way would be in the server.xml to configure the credentialInterpretor to make the LDAP link (this is a little more difficult)and I have got it to work consistently under high traffic -Original Message- From: Galbraith, Paul [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 2:49 PM To: Tomcat Users List Subject: RE: Authenticating against Microsoft ActiveDirectory Don, are you talking about application code to do this, or can Tomcat be configured to do this? -Original Message- From: Don Sauer [mailto:[EMAIL PROTECTED]] Sent: May 10, 2002 3:47 PM To: 'Tomcat Users List' Subject: RE: Authenticating against Microsoft ActiveDirectory Sure, the easiest way is to do a LDAP query to a DC -Original Message- From: Galbraith, Paul [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 2:35 PM To: [EMAIL PROTECTED] Subject: Authenticating against Microsoft ActiveDirectory Can anyone tell me if it's possible to configure tomcat to authenticate users against MS ActiveDirectory? Cheers, Paul -- 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: Announce: Upcoming Struts training in NYC on 8/2.
Subject: Re: Announce: Upcoming Struts training in NYC on 8/2. From: Vic C. [EMAIL PROTECTED] === Upcoming Struts training in NYC on 8/2. http://www.basebeans.com/classReservation.jsp More info on MVC-programmers mail list as the data approaches. August 2nd at 7:45 AM in NYC at the East Side Marriott we will have a 4 hour lecture on Best (good and bad) practices Struts for leads + example Portal application. We will cover MVC, CRUD, MasterDetail, Validation, Tiles, Security, Portal approval, DB, OS, Development Process, etc. As it gets closer we will provide more details. For location information click on Marriott, located at 525 Lexington. We will start at 7:45 and go till at lest noon. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Using catalina run fails...
Subject: Using catalina run fails... From: Kevin O'Connor [EMAIL PROTECTED] === Any suggestions on this... C:\Apache\Tomcat 4.0\bincatalina run Using CATALINA_BASE: C:\Apache\Tomcat 4.0\ Using CATALINA_HOME: C:\Apache\Tomcat 4.0\ Using CATALINA_TMPDIR: \C:\Apache\Tomcat 4.0\temp Using JAVA_HOME: c:\jdk1.3.1_02 Exception in thread main java.lang.NoClassDefFoundError: 4/0 Tomcat starts and runs fine using the startup.bat, but not this way. Thanks in advance, Kevin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: System.out.println
Subject: Re: System.out.println From: Simon [EMAIL PROTECTED] === The System.out.println should normal goes to catalina.out under tomcat/logs Simon. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat +/-
Subject: Tomcat +/- From: J Isv [EMAIL PROTECTED] === I've been looking everywhere on the net, but I am unable to find a list of advantages and disadvantages of using Tomcat in a production environment. I'd like to hear constructive comments from people who have experiences, both good and bad. Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat-apache with webapp connector
Subject: Re: tomcat-apache with webapp connector From: Bruno V [EMAIL PROTECTED] === You asked for pointer : here they are : http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html Good luck ! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk2/webapp source releases? recommendation?
Subject: Re: mod_jk2/webapp source releases? recommendation? From: Bruno V [EMAIL PROTECTED] === For the source, I think that you have to use the CVS link (in http://jakarta.apache.org/builds/jakarta-tomcat-connectors/) Many people complains for the lack of compiled connector and more generaly for an out of box Apache Tomcat integration. You can find more info in http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html otisg wrote: Hello, I would like to install the latest Tomcat (4.1.3 beta 2 or some such) and integrate it with Apache 2.0. Question #1: -- I'm not sure if I should go with mod_webapp or mod_jk2. Any recommendations? Do both work with Apache 2.0? I've been looking for mod_webapp and can't find the sources that I could compile into mod_webapp.so shared object. I have looked here: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ http://jakarta.apache.org/builds/jakarta-tomcat-connectors/webapp/releas e/v1.2.0/src/ (does not seem to include any *webapp* files, I grepped the archive) http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/l inux/i386/ (but this is for Tomcat 4.0.* and is precompiled). Question #2: - Where can I find mod_webapp source code that I can compile to build mod_webapp.so? Any help would be appreciated. Thank you, Otis P.S. People at Codesta have done a nice job at: http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.js p, however the above questions are not covered in their instructions. ___ Sign up for FREE iVillage newsletters http://s.ivillage.com/rd/16705 . From health and pregnancy to shopping and relationships, iVillage has the scoop on what matters most to you. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How can I disable authentication in Tomcat 4?
Subject: Re: How can I disable authentication in Tomcat 40 41 42 43 44 45 46 47 48 49 From: Chris Miller [EMAIL PROTECTED] === Look for a security-constraint tag and a login-config tag in your web.xml file. Removing them should solve the problem. Luca Ventura [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hello everybody! I have a great problem.:-( I have installed IIS as Web Server and Tomcat 4 as JSP/Servlet container: the problem is that when I connect to a site that must be redirected to Tomcat (because it contains JSP/servlets pages) the servlet container (i.e. Tomcat 4) asks me to authenticate (it asks me the login and the password)! I have searched in the Tomcat 4's documentation and on the Jakarta's site to avoid this problem but unsuccessfully.how can avoid that Tomcat ask me for authentication? Can someone help me, please? Thanks a lot! Luca -- 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: Configuration
Subject: Re: Configuration From: Bruno V [EMAIL PROTECTED] === There are some info on Jguru. Let me know if you find more pages. Check mod_jk (APJ13) by Detlev Beutner : http://www.acg-gmbh.de/mod_jk/solaris/index.htm http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Popular question
Subject: Re: Popular question From: Bruno V [EMAIL PROTECTED] === I know what you mean ... a start point could be http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html I would like to do more, but I have little time and I guess Tomcat peoples too. PS: if someone know where to find the Nikola Milutinovic's howto, please send the URL to me, I would like to add it to my references ! Hope it helps -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
running Tomcat on port 80 as non root
Subject: running Tomcat on port 80 as non root From: Aymeric Alibert [EMAIL PROTECTED] === I am trying to find a workaround to the fact that Tomcat cannot run as non-root on port 80 on UNIX. It seems that our firewall can redirect the request from port 80 to port 8080. This way, tomcat can run a non-root on port 8080. Does anybody kows if there are some problems with that configuration? Could this redirect confuse some proxy servers? (sending a request on 80 and getting a response from 8080). Thanks, Aymeric. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Translating Apache .conf command to Tomcat stand-alone
Subject: Translating Apache .conf command to Tomcat stand-alone From: Rob Storrs [EMAIL PROTECTED] === I'm trying to fix a problem we're having getting Tomcat to serve out a Flash *.swf over HTTPS to MSIE on Windows. What my research has led me to is trying to have Tomcat modify its response based on the User-Agent. In Apache, here is the command I'd use: SetEnvIf User-Agent .*MSIE* nokeepalive ssl-unclean-shutdown I don't know how to translate this into my Tomcat configuration. Thanks for any assistance. ~R Tomcat 4.0.2 RedHat Linux 7.0 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How can I use ConnectionPool
Subject: How can I use ConnectionPool From: bingo [EMAIL PROTECTED] === hi: I konw tomcat have a connection Pool. How use It. Thanks. bingo -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
javamail example in tomcat?
Subject: javamail example in tomcat? From: jambo [EMAIL PROTECTED] === Anyone know why I get this error. I'm just trying to run javamail wewb example but the I get a XML parsing exception. I've checked the dtd and it looks OK to me. Is there a bug in the parser? Apache Tomcat/4.0 PARSE error at line 38 column -1 org.xml.sax.SAXParseException: Element web-app does not allow servlet here. !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app servlet servlet-nameFilterServlet/servlet-name display-nameFilterServlet/display-name descriptionno description/description servlet-classFilterServlet/servlet-class /servlet servlet-mapping servlet-nameFilterServlet/servlet-name url-patterncompose/url-pattern /servlet-mapping servlet-mapping servlet-nameFilterServlet/servlet-name url-patternerrordetails/url-pattern /servlet-mapping servlet-mapping servlet-nameFilterServlet/servlet-name url-patternlogin/url-pattern /servlet-mapping servlet-mapping servlet-nameFilterServlet/servlet-name url-patternlogout/url-pattern /servlet-mapping servlet-mapping servlet-nameFilterServlet/servlet-name url-patternsend/url-pattern /servlet-mapping servlet-mapping servlet-nameFilterServlet/servlet-name url-patternmessageheaders/url-pattern /servlet-mapping servlet-mapping servlet-nameFilterServlet/servlet-name url-patternmessagecontent/url-pattern /servlet-mapping servlet servlet-nameAttachmentServlet/servlet-name display-nameAttachmentServlet/display-name descriptionno description/description servlet-classAttachmentServlet/servlet-class /servlet servlet-mapping servlet-nameAttachmentServlet/servlet-name url-patternattachment/url-pattern /servlet-mapping display-nameJspDemo/display-name descriptionno description/description taglib taglib-urihttp://java.sun.com/products/javamail/demo/webapp/taglib-uri taglib-locationlib/jtl.jar/taglib-location /taglib /web-app -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
jbuilder 5 and tomcat 4
Subject: jbuilder 5 and tomcat 4 From: Jean Fotovat [EMAIL PROTECTED] === hello community, i'd like to integrate tomcat 4 within jbuilder 5 quickly. when i try to change the servlet.jar (4 instead of 3.2), jbuilder does not like that ! thank you for your help jean fotovat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: PROPOSAL for Connectors
Subject: Re: PROPOSAL for Connectors From: Bruno V [EMAIL PROTECTED] === I really agree with that, we need to capitalise thoses informations to avoid all the mail about connector's problems. Somehow, I began with a page referencing Guides and howto. I saw that it makes about 250 hits per month. But I only get 2 mails about it. Besides, there are still mail about HowTo ... because people don't search the list before posting and even with the Howto, the Apache2 + Tomcat4 is still uneasy. But should I post the same info again and again ?? Don't hesitate to post me any new informations ! and fell free to copy/modify/enhance/comment my page anywhere if it can help. Bruno Vernay http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat Application CVS
Subject: Tomcat Application CVS From: Rohit Peyyeti [EMAIL PROTECTED] === Hello All: Can anybody tell me what would be the best way to create tomcat applications under CVS repository? Is there any standard way for managing tomcat applications under CVS? If so, why and what? Any help will be greatly appreciated! Regards, Rohit Peyyeti -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: 1 IP
Subject: Re: 1 IP From: Dan Paraschiv [EMAIL PROTECTED] === I think that for your problem the best answer is a valve component, for more details see: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html Good luck, Dan [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
A new version of a sample webApp with DB (using Struts)
Subject: A new version of a sample webApp with DB (using Struts) From: Vic C [EMAIL PROTECTED] === A new version of Struts/MVC webApp training up available for download on StrutsPLUS.com (also the host of news.baseBeans.com news groups suchs SOAP, JDO, SQL, Strtus, Jakarta, etc aka webPIM). The app uses new Struts jars, with patches to do Validation and multi row validation. This is the latest possible ALL inclusive Struts jars with working validation patches. Muti row updates and master detail processing is typically on any Web App.) The update is now fixed to automatically generate SQL update, insert, etc. string based on rows and columns, using meta data. It is a good DAO practice. As always it uses Struts Menu (navigation is the most often needed componetn) and Tiles (which demos how to use Layout), Options collection, MasterDetail, CRUD, etc. and most things needed to build a realistic webApp. This is the only Struts DB or a full working Struts 1.1 post beta sample I know of. It also includes the soft copy of the 9 month old FastTrack book which is no longer available. (I still own all the copyrights and you can't reproduce it or take it to Kinko's) This is (not the latest, I have to make a $ somehow) version I do my public training on (I have been booked solid for months doing Struts project recovery and mentoring, very cool) Next version will be private to http://www.basebeans.com:8081/mailman/listinfo/mvc-programmers and include http://edhill.its.uiowa.edu/display/ and demo of the drop down Struts menu, and other cool thing. This same list is where you can keep track of upcoming classes, like the one in Europe in mid June. You mised a NY and LA class already.) Nothing in this world can take the place of persistence. Talent will not; nothing is more common than unsuccessful people with talent. Genius will not; un-rewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Let me know if you have a question on a design I implemented or if you can't deploy it or have comments. Vic -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.1.0 nightly build - problem deploying
Subject: Tomcat 4.1.0 nightly build - problem deploying From: Chris Miller [EMAIL PROTECTED] === I'm trying to deploy an app on the latest nightly build of Tomcat 4.1. Several of the WEB-INF/lib/*.jar files are not being deployed, and the error is the same for each one (shown below). Any ideas what is causing this? I assume that there's something wrong with the jar file, but I have no idea what that something is... What is Tomcat actually doing with the jar file at this point? Any help greatly appreciated! Thanks, Chris 2002-05-23 14:04:45 WebappLoader[]: Deploy JAR /WEB-INF/lib/oscache.jar to C:\mydocs\deploy\swebcms\bin\..\webapps\swebcms\WEB-INF\lib\oscache.jar ... 2002-05-23 14:04:45 WebappLoader[]: Reloading checks are enabled for this Context 2002-05-23 14:04:47 ContextConfig[] Exception processing JAR at resource path /WEB-INF/lib/oscache.jar javax.servlet.ServletException: Exception processing JAR at resource path /WEB-INF/lib/oscache.jar at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source) at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source) at org.apache.catalina.startup.ContextConfig.start(Unknown Source) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown Source) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown Source) at org.apache.catalina.core.StandardContext.start(Unknown Source) at org.apache.catalina.core.ContainerBase.start(Unknown Source) at org.apache.catalina.core.StandardHost.start(Unknown Source) at org.apache.catalina.core.ContainerBase.start(Unknown Source) at org.apache.catalina.core.StandardEngine.start(Unknown Source) at org.apache.catalina.core.StandardService.start(Unknown Source) at org.apache.catalina.core.StandardServer.start(Unknown Source) at org.apache.catalina.startup.Catalina.start(Unknown Source) at org.apache.catalina.startup.Catalina.execute(Unknown Source) at org.apache.catalina.startup.Catalina.process(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Unknown Source) - Root Cause - java.io.IOException: The system cannot find the path specified at java.io.Win32FileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1162) at java.io.File.createTempFile(File.java:1247) at java.io.File.createTempFile(File.java:1284) at sun.net.www.protocol.jar.URLJarFile$1.run(URLJarFile.java:143) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:138) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:43) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:81) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:88) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:7 2) at org.apache.catalina.startup.ContextConfig.tldScanJar(Unknown Source) at org.apache.catalina.startup.ContextConfig.tldScan(Unknown Source) at org.apache.catalina.startup.ContextConfig.start(Unknown Source) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown Source) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown Source) at org.apache.catalina.core.StandardContext.start(Unknown Source) at org.apache.catalina.core.ContainerBase.start(Unknown Source) at org.apache.catalina.core.StandardHost.start(Unknown Source) at org.apache.catalina.core.ContainerBase.start(Unknown Source) at org.apache.catalina.core.StandardEngine.start(Unknown Source) at org.apache.catalina.core.StandardService.start(Unknown Source) at org.apache.catalina.core.StandardServer.start(Unknown Source) at org.apache.catalina.startup.Catalina.start(Unknown Source) at org.apache.catalina.startup.Catalina.execute(Unknown Source) at org.apache.catalina.startup.Catalina.process(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Unknown Source) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat 4.0 + apache 1.3 + mod_ssl
Subject: Re: tomcat 4.0 + apache 1.3 + mod_ssl From: Bruno V [EMAIL PROTECTED] === Here are some SSL explanations http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp and in http://www.galatea.com/flashguides/ too I will try to keep it up to date on http://bruno.vernay.free.fr/HowTo/Apache-tomcat/bWebServer/references.html I guess that there are better place for this kind of info, but didn't find it. Maybe it should be on the Tomcat site to avoid an explosion of the mailing list ? By the way, the mailing list should be separated by installation configuration and web application ... if possible ... It's amazing how often this question come to the list. I wonder if I am right to post my same response every time ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]