Re: [ANNOUNCEMENT] Tomcat 3.3 Milestone 1 - OTHER CP PROBLEMS!!!
One thing related to this but not to Tomcat 3.3. I'm using Xerces and Xalan and I have to place the Xerces and Xalan jars in the tomcat.sh/bat classpath because Xerces has newer org.w3c.dom stuff in it. The old Tomcat 3.2.1 XML stuff (w3c.jar) misses some methods and stuff... This must be a well-known thing. I always thought the adaptive classloader would keep up different namespaces for me so the Tomcat system classloader doesn't interfere with the classloader of any webapp. But that doesn't seem to work. So now each time I'm deploying a webapplication that uses Xerces or Xalan I'll have to modify the tomcat.sh/bat. This is one thing I don't really like because I'm delivering a development CD with a .war file on it for deployment in any servlet environment. This one isn't just deployable, nooo you'll have to modify the .sh file... That's somehow kind of fucked. Does anyone have a solution for this or does it get any better in 3.3 Then the last problem. I tried to use Cocoon under tomcat 4b and it wouldn't work because of a sealing violation... Known to u guys??? Thnx in advance, Alef Arendsen - Original Message - From: "Ignacio J. Ortega" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 17, 2001 16:36 Subject: RE: [ANNOUNCEMENT] Tomcat 3.3 Milestone 1 > > > 3) The new class loader scheme in this release ignores your > > CLASSPATH setting. > > >Instead, you are expected to add needed jars to Tomcat's > > "lib", "lib/common", > > >and "lib/shared" directories. See the "README" file in > > Tomcat's "doc" > > >directory for details. > > > > This will probably stop me from ever going to Tomcat 3.3. Finding > > classes on the classpath is very convenient at development time. > > > > > Well not that hard, Tomcat 3.3 by itself dont tries to respect your > classpath, but because the tomcat.(sh|bat) simply cleans classpath env > var before starting ( and recall it when it ends ) tomcat.., but by > itself dont takes any internal measure to do so, you can i.e construct a > classpath and modify tomcat.(sh|bat) shell command to start command with > a classpath of your own... > > The thinking was "if you are someone that knows to have a classpath you > will knows too how modify tomcat.{sh|bat) to use it" to alleviate low > end user problems when first using Tomcat 3.3. > > Your opinion is took into account for the 3.3 release.. > > Thanks for the feedback. > > Saludos , > Ignacio J. Ortega > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Session Object Serailization
can't you make any object that you cannot make serializable just TRANSIENT so it won't cause any problems??? alef - Original Message - From: Sean Kroah To: [EMAIL PROTECTED] Sent: Tuesday, January 02, 2001 22:06 Subject: Re: Session Object Serailization I believe the servlet 2.2 spec requires that everything that is put into the session is serializable. If that's true I doubt that every servlet engine will require that. If they do then you'll need to make all of the objects that you put into the session serializable which could be a real pain and even impossible in some cases. You can't make your jdbc connection serializable for instance. There is an article at www.javageeks.com that shows one way to address this via a SerializableAdapter for your non serializable objects. It'd be cool if one of the tomcat guys could talk about whether, in the future, they will require all objects in a session to be serializable. Maybe it's been discussed to death already... Sean Kroah Shahed Ali wrote: Hi, Does tomcat seralize session objects ? 1. If it does, and I have non serializable objects like SQL Connections sitting in my session, then what should I do ? 2. If it does not, and I have a lot of sessions lying around, then will tomcat crash due to memory limitations ? ThanksShahed-- Sean Kroah T:503.222.9660 F:503.241.5682 WireX Communications, Inc. Software Engineer, [EMAIL PROTECTED]
Re: mailinglist vs newsgroup
Well, I totally agree to this suggestion. Whether or not the solution is to put everything in a newsgroup or to split up the mailinglist into several subjects, I don't know. I think several mailinglists could solve the problem, but maybe then people will be cross posting all the time... Well, anyway, if the amount of emails a day won't be decreasing within the month, I will be quitting anyway, because I cannot find any interesting stuff in the mess of classpath problems, questions that have already been asked a million times, etc... wow, this sounds like a threat... anyway, it isn't... grtz, Alef - Original Message - From: "Brian Engel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 02, 2001 22:36 Subject: Re: mailinglist vs newsgroup I agree I think this should be put into a newsgroup. Just today I have gotten 70 emails from this group! You can always browse the messages with Deja.com and you can post if you setup a free account with them. >>> [EMAIL PROTECTED] 01/02/01 04:00PM >>> As long as it were "attached" to deja, it would be fine, but my firewall blocks the news port, so I would be out of luck. Also, I think that mail serves a purpose that a newsgroup does not. It seems that it's easier to send a mail to a group for a configuration error, get an answer, and move on without having to subscribe to a list or service. "Jaap van der Molen" To: [EMAIL PROTECTED] <[EMAIL PROTECTED]cc: (bcc: Greyson Smith/CCMG/CVG) om> Subject: mailinglist vs newsgroup 02-01-01 12:15 PM Please respond to tomcat-user No offense, but has anyone ever considered to put this whole mailinglist into a newsgroup? We must be generating tons of traffic. Re Jaap -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat dies immediately under windows
There was a discussion on this a couple of days ago... what solved the problem was: http://www.geocities.com/jdrudnicki/ I think it had got something to do with environment space of command prompt on Win98 or something... Alef - Original Message - From: "Eric Armstrong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "me" <[EMAIL PROTECTED]> Sent: Monday, January 01, 2001 22:35 Subject: Re: Tomcat dies immediately under windows > More info: > "tomcat run" works fine. (runs in the same window) > "tomcat start" fails. (separate window dies) > > Some environment setting must be missing in the new > window. > > Eric Armstrong wrote: > > > > Note: Please use "reply all", as I am not > > subscribed at this address. > > > > Problem: > > * OS = Win98. > > * Tomcat startup announces "it is starting in a new > > window". > > * A window flashes up for an instant, and then > > disappears. > > * No LOGS directory was created. > > * After manually creating the directory, no log is > > written there after a retry. > > * The process list does not show any instance of > > tomcat running > > > > I've set up Tomcat successfully under Solaris, > > so I'm somewhat familiar with the process. Obviously, > > I have some setting wrong, but what? How can I find > > out, or has anyone experienced a similar problem? > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Initialization
Hi, How can I initialize Tomcat. That's the question. I have this application which has to check if some stuff is in place after it starts up. Also, it needs to cache a huge amount of data from a database. I don't want to use the thing in web.xml. I just want some extra init-class that will be run when I start the server. Anybody? thnx. ==== Alef Arendsen Java Developer SmartHaven +31 (0) 6 24649137 [EMAIL PROTECTED] BEGIN:VCARD VERSION:2.1 N:Arendsen;Alef FN:Alef Arendsen (E-mail) ORG:SmartHaven TITLE:Java Developer TEL;WORK;VOICE:+31 (0) 20 586 90 57 TEL;CELL;VOICE:+31 (0) 5 24 64 91 37 ADR;WORK:;;SmartHaven;Arlandaweg, 92;;1043 EX;Netherlands LABEL;WORK;ENCODING=QUOTED-PRINTABLE:SmartHaven=0D=0AArlandaweg, 92 1043 EX=0D=0ANetherlands EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:2818T074919Z END:VCARD