Re: RPM for tomcat 3.2.2-1 : any problems reported?

2001-06-21 Thread Geir Magnusson Jr.

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?

2001-06-21 Thread Reilly, John



 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



RPM for tomcat 3.2.2-1 : any problems reported?

2001-06-20 Thread Geir Magnusson Jr.

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!