[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems with SVNClient / JavaHL bindings under Tomcat5

From: Anthony Wong <anthony_at_ypwong.org>
Date: 2004-08-29 20:30:57 CEST

We have met a similar situation before and the solution is to define the
java.library.path system property to point it to the directory where
libsvnjavahl.so resides (we are on Linux and Tomcat 4.1.30). We do this
by defining JAVA_OPTS=-Djava.library.path=<dir> before running tomcat.
You can see bug ID 4225434 at bugs.sun.com for the details.


Nikita Zhuk wrote:

> Dunno if this question should go to dev list, but I'll try asking here
> first.
> I'm having some problems with SVNClient class, which I use in my
> webapp under Tomcat 5. My problem seems to be similar to one described
> in this post:
> http://www.contactor.se/~dast/svn/archive-2004-03/1235.shtml :
> - When Tomcat 5 is restarted and webapp is run for the first time,
> everything goes fine and I can create SVNClient instance and connect
> to SVN repository
> - If I try to use that webapp again (without restarting tomcat or
> redeploying webapp), I don't get any errors, however, the whole webapp
> seems to hang on line:
> SVNClient svnClient = new SVNClient();
> - If I restart tomcat, everything works fine again, but only for that
> first run.
> I have placed svn-javahl.jar library into Tomcat's /shared/lib folder
> (I also tried to unpack the jar and place all classes under
> /shared/classes, but I got same problems). I'm using JDK 1.4.2 under
> FreeBSD 5.2.1.
> This looks like some classloader problem, but I just can't find a
> solution. Any help would be greatly appreciated.
> --
> Nikita Zhuk
> Mac OS & Web Developer
> http://www.nikitazhuk.net
> nikita@nikitazhuk.net

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 29 21:56:35 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.