RE: RPM for tomcat 3.2.2-1 : any problems reported?
>> Just a quick recall of build of rpms. >> >> There are built under Redhat 6.2 / Redhat 7.1 (validation) >> >> - using latest jikes 1.14 >> - using latest IBM SDK 1.3 (javadoc) >> - with latest ant 1.3, xerces-j 1.4, xalan-j 2.1.0 >> >> I encounter rare problems when building with jikes, >> at least one with a previous release of TC 4.0 >> >> Also my RPM, install the current jaxp.jar and parser.jar. >> May be fine to switch now to jaxp/crimson or xerces-j ? >> >> I've asked sometimes ago on how to build a crimson RPM >> (ie where to get the latest sources) but I still wait >> for replies. >> > >Thanks for the reponse. I just installed the RPM, and saw that it >*didn't* seem to exhibit the same problems on my machine as it did on >the user's that report the problem. I may revisit. It was a >very wierd >problem - Velocity seemed to work fine when the user was loading >templates from files using our 'FileResourceLoader', but when the user >switch to loading templates from a jar placed in WEB-INF/lib using the >'ClasspathResourceLoader', which just uses getResourceAsStream() it >stopped working. And as I said, the user installed the tgz distro of >3.2.2, moved his webapp over (not rebuild - move), and >restarted tomcat, >and it worked... I don't know if it was some kind of classpath issue. The problem could come from a RPM upgrade :! For example the RPM NEVER replace the conf files (confdir). Also the RPM know only about webapp in .war. When first launch webapp are expanded and you could have previous webapp allready presents ! >I have a few comments from the RPM : > >- would it be possible to add the basic startup/shutdown scripts in a >bin/ under /var/tomcat ? The reason I ask is that it might be >convenient for people to have available the same scripts uses by other >tomcat users, so if someone provides instructions to do something, they >can be followed exactly to the letter, which can be important >for new or >unconfident users. In the FHS you shouldn't have executable under /var/xxx. That's why I moved the tomcat.sh in /usr/bin. And there I just couldn't put the startup.sh/shutdown.sh (too generic). But users could still does tomcat start, tomcat stop, tomcat run. >- it automatically overrides things like JAVA_HOME with a new value. I >know that it's noted on when the rpm is installed, but its a little >presumptive. yes, in /etc/rc.d/init.d/tomcat script, at init time you have NO information on JAVA_HOME since you're not really a user. These kind of informations are usually set in (.profile, .login). But if someone could send me a JAVA configuration detection stuff, I'll set the init JAVA_HOME at INSTALL TIME :=) >Thanks for the reply. > >geir > >-- >Geir Magnusson Jr. [EMAIL PROTECTED] >System and Software Consulting >Developing for the web? See http://jakarta.apache.org/velocity/ >You have a genius for suggesting things I've come a cropper with! >
RE: RPM for tomcat 3.2.2-1 : any problems reported?
> Just a quick recall of build of rpms. > > There are built under Redhat 6.2 / Redhat 7.1 (validation) > > - using latest jikes 1.14 > - using latest IBM SDK 1.3 (javadoc) > - with latest ant 1.3, xerces-j 1.4, xalan-j 2.1.0 > > I encounter rare problems when building with jikes, > at least one with a previous release of TC 4.0 One of the guys here came across a problem using jikes 1.13-1 Doing an intern on two strings and checking for equality failed in cases where it should have worked. jr
Re: RPM for tomcat 3.2.2-1 : any problems reported?
GOMEZ Henri wrote: > > Just a quick recall of build of rpms. > > There are built under Redhat 6.2 / Redhat 7.1 (validation) > > - using latest jikes 1.14 > - using latest IBM SDK 1.3 (javadoc) > - with latest ant 1.3, xerces-j 1.4, xalan-j 2.1.0 > > I encounter rare problems when building with jikes, > at least one with a previous release of TC 4.0 > > Also my RPM, install the current jaxp.jar and parser.jar. > May be fine to switch now to jaxp/crimson or xerces-j ? > > I've asked sometimes ago on how to build a crimson RPM > (ie where to get the latest sources) but I still wait > for replies. > Thanks for the reponse. I just installed the RPM, and saw that it *didn't* seem to exhibit the same problems on my machine as it did on the user's that report the problem. I may revisit. It was a very wierd problem - Velocity seemed to work fine when the user was loading templates from files using our 'FileResourceLoader', but when the user switch to loading templates from a jar placed in WEB-INF/lib using the 'ClasspathResourceLoader', which just uses getResourceAsStream() it stopped working. And as I said, the user installed the tgz distro of 3.2.2, moved his webapp over (not rebuild - move), and restarted tomcat, and it worked... I don't know if it was some kind of classpath issue. I have a few comments from the RPM : - would it be possible to add the basic startup/shutdown scripts in a bin/ under /var/tomcat ? The reason I ask is that it might be convenient for people to have available the same scripts uses by other tomcat users, so if someone provides instructions to do something, they can be followed exactly to the letter, which can be important for new or unconfident users. - it automatically overrides things like JAVA_HOME with a new value. I know that it's noted on when the rpm is installed, but its a little presumptive. Thanks for the reply. geir -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting Developing for the web? See http://jakarta.apache.org/velocity/ You have a genius for suggesting things I've come a cropper with!
RE: RPM for tomcat 3.2.2-1 : any problems reported?
Just a quick recall of build of rpms. There are built under Redhat 6.2 / Redhat 7.1 (validation) - using latest jikes 1.14 - using latest IBM SDK 1.3 (javadoc) - with latest ant 1.3, xerces-j 1.4, xalan-j 2.1.0 I encounter rare problems when building with jikes, at least one with a previous release of TC 4.0 Also my RPM, install the current jaxp.jar and parser.jar. May be fine to switch now to jaxp/crimson or xerces-j ? I've asked sometimes ago on how to build a crimson RPM (ie where to get the latest sources) but I still wait for replies. - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-Original Message- >From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED]] >Sent: Thursday, June 21, 2001 4:24 AM >To: [EMAIL PROTECTED] >Subject: Re: RPM for tomcat 3.2.2-1 : any problems reported? > > >I tested against the current rpm for 3.2.2-1, and all is fine.Never >mind :) > >I guess I should have emphasized 'seems' in my first sentence below. > >geir > >"Geir Magnusson Jr." wrote: >> >> We just discovered a classloader-related problem with >Velocity when used >> in Tomcat 3.2.2 that seems to have come from the 3.2.2-1 RPM. >> >> I have not verified the problem myself. Before I install the RPM and >> dive in, I wanted to check if there are any known issues >with this RPM. >> >> The problem is related to classloading - it seems that >resources living >> in a jar in WEB-INF/lib can't be found via >> >> ClassLoader classLoader = this.getClass().getClassLoader(); >> result= classLoader.getResourceAsStream( name ); >> >> where 'this' is something is an instance of something found only in a >> jar in WEB-INF/lib. >> >> When the user switched to 3.2.2 from the tgz distro, all worked fine. >> >> I am going to look into this tonight, so if anyone has any >information >> that can help or spare me this, I would appreciate it. >> >> Thanks >> >> geir >> >> -- >> Geir Magnusson Jr. [EMAIL PROTECTED] >> System and Software Consulting >> Developing for the web? See http://jakarta.apache.org/velocity/ >> You have a genius for suggesting things I've come a cropper with! > >-- >Geir Magnusson Jr. [EMAIL PROTECTED] >System and Software Consulting >Developing for the web? See http://jakarta.apache.org/velocity/ >You have a genius for suggesting things I've come a cropper with! >
Re: RPM for tomcat 3.2.2-1 : any problems reported?
I tested against the current rpm for 3.2.2-1, and all is fine.Never mind :) I guess I should have emphasized 'seems' in my first sentence below. geir "Geir Magnusson Jr." wrote: > > We just discovered a classloader-related problem with Velocity when used > in Tomcat 3.2.2 that seems to have come from the 3.2.2-1 RPM. > > I have not verified the problem myself. Before I install the RPM and > dive in, I wanted to check if there are any known issues with this RPM. > > The problem is related to classloading - it seems that resources living > in a jar in WEB-INF/lib can't be found via > > ClassLoader classLoader = this.getClass().getClassLoader(); > result= classLoader.getResourceAsStream( name ); > > where 'this' is something is an instance of something found only in a > jar in WEB-INF/lib. > > When the user switched to 3.2.2 from the tgz distro, all worked fine. > > I am going to look into this tonight, so if anyone has any information > that can help or spare me this, I would appreciate it. > > Thanks > > geir > > -- > Geir Magnusson Jr. [EMAIL PROTECTED] > System and Software Consulting > Developing for the web? See http://jakarta.apache.org/velocity/ > You have a genius for suggesting things I've come a cropper with! -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting Developing for the web? See http://jakarta.apache.org/velocity/ You have a genius for suggesting things I've come a cropper with!